Tracking progress of Solve()

Would it be possible to provide a mechanism to track the progress of the Solve() method?
The purpose is to allow callers to gain greater visibility on the performance and work done. With that, we could show a progress bar to the end user.
Something like the following:
IProgress<int> p = new Progress<int>(i => progressBar1.Value = i);
var solution = Zen.And(constraints).Solve(progress: p);

In combination with #87 , this allows end-users to see the progress, and even cancel the execution (if he deems it will take too long)

Hi Itay, this feature would be nice, but I'm not sure how one would implement it.
Zen is generating constraints for solvers like Z3 when you call the Solve method. Unfortunately, these solvers provide no mechanism to track their progress that we can leverage to provide feedback.
The underlying algorithm in Z3 for instance is the DPLL(T) algorithm, which is a fancy kind of backtracking search with a learning/state space pruning mechanism. It's not clear how one would modify this algorithm to estimate progress since no matter how close it may think it is to a solution, it may still have to completely backtrack if its current solution does not pan out.


Add docs hbar digits between API responses

Web3 EVM developers are used to having 18 decimal places for the native currency of the network. It won’t be a deal-breaker for developers if the decimal places are not 18, however, in the Hedera network, it is not simply the case that decimal places are 8. The answer to the question “how many decimal places are there in HBARs” is “it depends” and that's the problem.
HAPI (Crypto + SCS Service (msg.value)) → 8 decimals
JSON RPC Relay (passed as arguments) → 8 decimals
Hedera SCS (EVM) → 8 decimals
JSON RPC Relay (msg.value) → 18 decimals
As a side effect of this, gasPrice uses 18 decimal places since it is utilised only from the JSON RPC Relay

Added HBAR decimal place documentation.


CLOUD-751 Corrected typos in module / package names

@martonsereg @doktoric please check it

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1141/


Incorrect yAxis labels after configured the customized scale setting

See below chart, it is generated by the setting:
{'scaleStartValue': 0, 'scaleSteps':scaleSteps, 'scaleOverride':true, 'scaleStepWidth': 0.065};

The first label should be 0.065, but not 0.
After I update the code in chart.min.js, it seems it goes to correct.
calculatedScale.labels.push(tmpl(labelTemplateString,{value:(config.scaleStartValue + (config.scaleStepWidth * i)).toFixed(getDecimalPlaces (config.scaleStepWidth))}));
to
calculatedScale.labels.push(tmpl(labelTemplateString,{value:(config.scaleStartValue + (config.scaleStepWidth * (i+1))).toFixed(getDecimalPlaces (config.scaleStepWidth))}));

need a test case to get anywhere with this issue, closing unresponsive

@BeamLiu Huzzah! The first alpha of Chart.js 2.0 has landed and should fix this issue. Check out the release and try it out! We've got a lot of momentum right now, so please help us test so we can launch 2.0 Gold by the end of the month.
https://github.com/nnnick/Chart.js/releases/tag/v2.0-alpha
I'm closing this issue for now, but if you have implementation questions or find bugs, please create a jsfiddle and post the link here and we'll reopen this issue and get it fixed.


[AutoPR eventgrid/resource-manager] EventGrid Py conf to 1.0.0

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2956

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/1710


Could there be a logical error in the function plotting. plot_top_bottom_quantile_turnover ?

I just came across the Lecture 38: Factor Analysis and felt confused by first line in Turnover section.

Since factor_data is a dataframe with columns [1, 5, 10, 'factor', 'group', 'factor_quantile'],
    max_quantile = quantile_turnover.columns.max()
    min_quantile = quantile_turnover.columns.min()

what is the logic of extracting the max and min value from this list with the code in the original script like above?
Question: Is the code in the jupyter notebook in the lecture incorrect? If not, could you illustrate a bit how to use this function? Big thanks!
Below is the code for entire function.
def plot_top_bottom_quantile_turnover(quantile_turnover, period=1, ax=None):
    """
    Plots period wise top and bottom quantile factor turnover.
    Parameters
    ----------
    quantile_turnover: pd.Dataframe
        Quantile turnover (each DataFrame column a quantile).
    period: int, optional
        Period over which to calculate the turnover
    ax : matplotlib.Axes, optional
        Axes upon which to plot.
    Returns
    -------
    ax : matplotlib.Axes
        The axes that were plotted on.
    """
    if ax is None:
        f, ax = plt.subplots(1, 1, figsize=(18, 6))

    max_quantile = quantile_turnover.columns.max()
    min_quantile = quantile_turnover.columns.min()
    turnover = pd.DataFrame()
    turnover['top quantile turnover'] = quantile_turnover[max_quantile]
    turnover['bottom quantile turnover'] = quantile_turnover[min_quantile]
    turnover.plot(title='{} Period Top and Bottom Quantile Turnover'
                  .format(period), ax=ax, alpha=0.6, lw=0.8)
    ax.set(ylabel='Proportion Of Names New To Quantile', xlabel="")

    return ax

if you look at the tear function that calls plot_top_bottom_quantile_turnover it'll clarify what's going on: it is not factor_data  that is passed to plot_top_bottom_quantile_turnover but quantile_turnover[period] variable, which is generated by perf.quantile_turnover
Hope this helps.

@Gabrielvon I now understand what you meant, disregard my previous comment, sorry. I believe you are right, the lecture 38 has a mistake.
Please report the error to Quantopian support as the Quantopian lectures are not developed as part of Alphalens project, so we (the community, which is not Quantopian employees only) cannot make change to the Lectures material, only Quantopian can.

@luca-s Understood. Thanks!

Thanks to you @Gabrielvon

I have added the correction here: https://github.com/quantopian/research_public/pull/223. Thanks, @Gabrielvon.


Projects task1 hblife1234

Create a project with log message

Please assign the task to do.

Please assign the task


Fix #23 - Query parameter not sent

After vue-resource update the query parameter was not sent.
This is a simple fix.

Thanks!


Refactor SSL/SASL admin integration tests to not use a custom authorizer

This makes the test simpler to enable KRaft later.
It's unclear why a custom authoriser had to be used in the first place based on the commit made this change and tests seem to work without it. The initial ACLs required by the tests are created with a super admin client instead of AclAuthorizationAdmin which is part of the custom authorizer.
IDEMPOTENT_WRITE was added to the initial ACLs created in the SASL setup, because SSL and BaseAdmin tests that being extended or extending this class do not override the configuredClusterPermissions method therefore end up not matching the expected permissions set on the cluster initially. Overriding this method does not seem necessary otherwise.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@mimaison thank you so much for reviewing the PR again. I think I have addressed the comments now.


Update README.md

Added SonarCube status to the readme file

No need to add SonarCloud run job to the main.yml, as the Automatic Analysis is already enabled and runs every time there is a Pull request (see above the Sonar Bot message)
"ERROR: You are running CI analysis while Automatic Analysis is enabled. Please consider disabling one or the other."


added documentation for popover-class

added documentation for popover-class, kindly review and accept changes.

Thanks, landed as 7671bd6


Project status?

What exactly does this mean:
"Since original plugin is back on rails, this plugin won't be maintained anymore."
Where can I download the latest stable version that is being maintained?

Here https://redmine.ociotec.com/projects/advanced-roadmap/files
I think


Update pybind to v2.6.0

Motivation and Context

This allows us to support Python 3.9 and also has some good additional code correctness checks that are pretty useful. Also PyBind now properly supports CMAKE level LTO hints are other features.

It did also require a minor refactor of magnum-bindings to support it. Thanks so much @mosra for the help there.

[X] Dependency upgrade

Checklist

[X] I have read the CONTRIBUTING document.
[X] I have completed my CLA (see CONTRIBUTING)
[X] All new and existing tests passed.

I was once again amazed at how slow the build of pybind11 bindings was. The resulting binaries were slightly smaller with 2.6, but the build time at least feels slower to me. Did you experience the same thing or it's just my feeling?

@mosra Yeah PyBind11 can be really slow to compile. @mosra one thing that could have slowed down build time is that a bunch of pybind specific options were changed to respect CMAKE defaults (like respecting the CMAKE INTERPROCEDURAL_OPTIMIZATION and CMAKE_CXX_STANDARD properties).
I didn't experience it locally because I was running an IO Bound training job on my machine so the file system was already super slow. :P We can check the circleci build times if its a concern.

(Should have probably noted that I didn't see any regressions in any of the magnum-bindings tests, so I assume it'll be probably a painless upgrade here as well.)


JRTB-2: Add telegram bot to the project

Create stub telegram-bot for the project.
Acceptance criteria:

stub answer via telegram-bot added to the project

added #15 pull-request


Identify theta cycles in real data

Given input LFP data, output iv with nice theta cycles
Possible workflow:

Filter LFP in theta band (FilterLFP())
Obtain power of signal
Threshold LFP to include only data with larger than some threshold theta power
Get theta cycle times

May be helpful to restrict data by running speed also -- only include data when animal is running so that we exclude SWRs and other things that have theta power in the LFP

What would be a reasonable of threshold to include/exclude? Do we need to z-score?

I would determine this by looking at the data: maybe the restrict to running data and nMinNeurons gives nice theta and we don’t need this. But it’s good to have the possibility. Keep in mind that z-scoring can be sensitive to large artifacts if any are present in the data!
On Aug 13, 2019, at 8:41 PM, Hung-Tu Chen <notifications<EMAIL_ADDRESS>wrote:
What would be a reasonable of threshold to include/exclude? Do we need to z-score?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftransedward%2Fhc_replay%2Fissues%2F9%3Femail_source%3Dnotifications%26email_token%3DAAOVOPXGCP6HTG5TNLGZ6O3QENICLA5CNFSM4IK5FRDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4HL6NI%23issuecomment-521060149&data=02|01|Matthijs.van.der.Meer%40dartmouth.edu|a6bf60ea509f4a82c85208d720501a8b|995b093648d640e5a31ebf689ec9446f|0|0|637013400729213599&sdata=EfmUvt4dXWgWr6U0nZnCe%2B8zvFErJzV4TwdBlVWoPgg%3D&reserved=0, or mute the threadhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAOVOPXKFURJWPDNASZJ3HDQENICLANCNFSM4IK5FRDA&data=02|01|Matthijs.van.der.Meer%40dartmouth.edu|a6bf60ea509f4a82c85208d720501a8b|995b093648d640e5a31ebf689ec9446f|0|0|637013400729218587&sdata=Ev%2BBWQLtam7cZLAHckxiiae2N565dzbkLuXxGtdXoww%3D&reserved=0.


Include "EnableProxyProtocol" parameter to private-link-service create and update

Resource Provider
What is the Azure resource provider your feature is part of?
Network Resource Provider
Description of Feature or Work Requested
Provide a brief description of the feature or work requested. A link to conceptual documentation may be helpful too.
Include "EnableProxyProtocol" parameter to private-link-service create and update
https://docs.microsoft.com/en-us/cli/azure/network/private-link-service?view=azure-cli-latest#az-network-private-link-service-create
https://docs.microsoft.com/en-us/cli/azure/network/private-link-service?view=azure-cli-latest#az-network-private-link-service-update
Minimum API Version Required
What is the minimum API version of your service required to implement your feature?
Latest
Swagger Link
Provide a link to the location of your feature(s) in the REST API specs repo. If your feature(s) has corresponding commit or pull request in the REST API specs repo, provide them. This should be on the master branch of the REST API specs repo.
https://docs.microsoft.com/en-us/rest/api/virtualnetwork/privatelinkservices/createorupdate
Also reach out to Bo Wen for any more information
Target Date
If you have a target date for release of this feature/work, please provide it. While we can't guarantee these dates, it will help us prioritize your request against other requests.
2/14 is GA date. this needs to be included and published before 2/14.

Hi @MyronFanQiu , could you please help take a look at this ?

@sumeetmittal Hello. This has been down in this PR. https://github.com/Azure/azure-cli/pull/12021 thanks.


ST Sensors: Driver factorization

As discussed in #6420, several sensors reuse the same bits and drivers that get them working could be optimized taking this fact into account.
Raise a dedicated topic to keep the discussion going on

@avisconti , @ydamigos , let's continue the discussion here.

I would like to restart this discussion as I feel it is time to make some progress on the ST sensor support in zephyr. The aim is to reorganise the drivers in order to reuse as match as possible the s/w: this will help in both maintainance as well as support of new sensors (infact, some new sensors are just combos of already existing ones or with same interface).
Let's say that a given device usually has a who_am_i registers with a value that is unique for that particular device. This value represent a sort of given register i/f to the s/w.
It may happen, though, that two device with same who_am_i value (which means that have same register i/f) require a little different implementation because the mem sensor has some difference. But this case is rare and in any case may be handled thru ifdefs.
I would like to re-organize the drivers on the base of the who_am_i value.
Current situation (including wai):

HTS221 (0xBC)
LIS2DH (0x33)
LIS3DH (0x33)
LIS2MDL (0x40)
LIS3MDL (0x3D)
LPS22HB (0xB1)
LPS25HB (0xBD)
LSM303DLHC (accel: 0x33, mag: 0x3C)
LSM6DS0 (0x68)
LSM6DSL (0x6A)
LSM9DS0 (mfd: 0x49, gyro: 0xD4)

As you can see there are 3 devices with same wai (0x33): lis2dh/lis3dh/LSM303DLHC_accel.
They can share same driver.
Moreover we should be able with little effort to add support for other sensors too.
For example:

LSM9DS1 (0x68 + 0x3D) (both wai already present)
LSM303AGR (0x33 + 0x40) (both wai already present)

I'm studying a way to reuse the drivers in a smart way.
In linux this is done using multiple 'compatible' strings in the common drivers.

STEP1: Use same driver for all devices using 0x33 wai reg_if.
For common driver name we have at least two possibilities:

using name of the most used device (i.e. lis3dh)
use a name that makes clear that 0x33 is the reg_if.

The latter not always work and sometimes is not liked by marketing, but for the 0x33 case this is what we have in linux and I would suggest to use it. (linux: st_acc33_xxx.c).
Then I will use the most complete one and best written driver among the 3 existing ones as a common driver. I will delete the other two.
In the common driver I will specifiy in the Kconfig that the driver is used for all 3 devices (i.e. lis2dh, lis3dh, lsm303dlhc_accel). This will be the only place where it is documented the re-use.
From dts point of view there will be something like that:
lis3dh@19 {
compatible = "st,acc33";
reg = <0x19>;
label = "LIS3DH";
};
What do you think?
I'm a little bit worried about the amount of work. Maybe it is not that much.
Also if someone can help me out in testing as more boards as possible would be great!

Hi,
Did this effort stop, as I am looking at the Nano33 Sense and its sensors? The LSM9DS1 driver would be useful.
Billy..

Hi,
Did this effort stop, as I am looking at the Nano33 Sense and its sensors? The LSM9DS1 driver would be useful.
Billy..

@WilliamGFish
The LSM9DS1 sensor is covered by this two drivers together:
LSM6DS0 + LIS3MDL
Yo can watch https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/shields/x_nucleo_iks01a1/x_nucleo_iks01a1.overlay DT as an example.

Hi,
Did this effort stop, as I am looking at the Nano33 Sense and its sensors? The LSM9DS1 driver would be useful.
Billy..

@WilliamGFish The LSM9DS1 sensor is covered by this two drivers together: LSM6DS0 + LIS3MDL
You can watch https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/shields/x_nucleo_iks01a1/x_nucleo_iks01a1.overlay DT as an example.
On the iks01a1 shields there are two separated devices, but if you have them combined together in LSM9DS1 device then DT would look exactly the same.

Thanks for this!

@o7-machinehum hello,did your get the right data from LSM9DS1 on Nano 33 sense?i get the error "[00:00:00.524,902]  LSM6DS0: lsm6ds0_init_chip: failed to reboot device
[00:00:00.532,714]  LSM6DS0: lsm6ds0_init: failed to initialize chip"


Wrong text order during init

Codecov Report

Merging #332 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #332      +/-   ##
==========================================
- Coverage   32.89%   32.87%   -0.02%
==========================================
  Files          87       87
  Lines        2493     2494       +1
  Branches       10       10
==========================================
  Hits          820      820
- Misses       1672     1673       +1
  Partials        1        1


Build failure with MSAN

This started recently:
https://source.cloud.google.com/results/invocations/bb59c9cc-4757-4b1c-8388-609e08ec5916/details
ERROR: /v/google/cloud/spanner/BUILD:73:9: Couldn't build file google/cloud/spanner/_objs/database_admin_connection_test/database_admin_connection_test.pic.o: undeclared inclusion(s) in rule '//google/cloud/spanner:database_admin_connection_test':
this rule is missing dependency declarations for the following files included by 'google/cloud/spanner/database_admin_connection_test.cc':
  '/usr/lib64/clang/10.0.1/share/msan_blacklist.txt'
  '/usr/lib64/clang/10.0.1/include/stddef.h'
  '/usr/lib64/clang/10.0.1/include/__stddef_max_align_t.h'
  '/usr/lib64/clang/10.0.1/include/stdint.h'
  '/usr/lib64/clang/10.0.1/include/stdarg.h'
  '/usr/lib64/clang/10.0.1/include/limits.h'
  '/usr/lib64/clang/10.0.1/include/float.h'

Fixed by clearing some stale cache files.

I noticed this in the log:
2020-09-22T04:11:04Z: Downloading build cache cache-ci-fedora-libcxx-msan-32-msan.tar.gz from cloud-cpp-kokoro-results/build-cache/google-cloud-cpp
ERROR: gcloud crashed (TokenRevokeError): invalid_request

does that result in a corrupt/truncated tarball? I don't see any errors related to untarring it so could be a red herring.
also, I wonder if we should set -x in all our shell scripts (prints commands being executed)... unsure if it would be helpful in debugging or just noise.

The error in the log is unrelated to downloading the tarball and/or extracting it.

This was probably fixed by https://github.com/googleapis/google-cloud-cpp/pull/5108

@coryan sounds like a vote for set -x to me?

@mr-salty I can see the argument for set -x, OTOH I like the cleaner logs. Send a PR and we can see if the logs are tolerable, or file a bug if you don't have the time right now.

@devjgm yes, this might be fixed, I want to see a few more PRs + full builds, I declared victory too early yesterday.

I think this is really fixed now (famous last words).
FWIW, the PR builds are taking 10-15m (I am sure you can find/create outliers, just change "version.h" or something), and the full builds are taking about 20-25m.


Test Istio with a grpc service.

Istio alpha should work with a grpc service.
We should document which Istio features work and which ones do not.

completed long time ago


Add image encoder

Pull Request Template
script name - decode_img.py encode_img.py
Brief about script
App to encode image to base64 and vise versa
Issue no.(must) - #516
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me.
[x] One Change in one Pull Request
[x] My file is in proper folder (Name of folder should be in lowercase with no space in between) (E.g. meet_schedular)
[x] I am following clean code and Documentation and my code is well linted with flake8.
[x] I have added README.md and requirements.txt (Include version numbers too e.g. pandas==0.0.1) with my script
[x] Just including required dependencies in requirements.txt (Don't include Python version too)

If issue was not assigned to you Please don't make a PR. It will marked as invalid.

Hey fix the linting


[hotfix] Fix incorrect sql_url in jdbc.yml.

@leonardBang would you mind taking a look at this? Thanks~

Thanks for the review, merged.


Raise hand not working, also can't get invite to speak

Describe the bug
When I click on raise hand the moderator doesn't get a notification
Also when he send me an invite to speak I don't get a notification, and when I refresh I'm not added to speakers list
**
Screenshots

.
Smartphone (please complete the following information):

Device: [e.g. Google Pixel]
OS: [e.g. Android 11]
Version [e.g. 1.0.7]

Additional context
Add any other context about the problem here.

I have the same problem with and maybe I'll experiment tomorrow with one of my friends being a moderator of a room and see what he gets.

These are some observations

moderator accepts me but my Avatar doesn't go to speakers area
there is no mic icon next to the hand
when I come out of the room (not leaving) and enter again I see muted icon next to my Avatar

I think raise hand is working, then the moderator invites you to speak, then you should refresh and accept the request somewhat but the issue is we do not get a request

It is a network issue in Egypt, you need to use a VPN to be able to accept invites and go to the speakers area

Thank you I'll try itSent from my Huawei phone-------- Original message --------From: Muhammad El Zahlan<EMAIL_ADDRESS>Wed, Feb 24, 2021, 6:04 PMTo: grishka/Houseclub<EMAIL_ADDRESS>adnantawakol<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Re: [grishka/Houseclub] Raise hand not working, also can't get invite to speak (#134)
It is a network issue in Egypt, you need to use a VPN to be able to accept invites and go to the speakers area
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

It is a network issue in Egypt, you need to use a VPN to be able to accept invites and go to the speakers area

I do not get prompt to accept the invitation.
Today, my friend (iPhone user) and I made a room. I could speak and mute my mic, yet when he removed me from the speaker area, he couldn't bring me back.

It worked for me using VPN

which vpn did you use?

Not an app issue.


error of recursive backward rule

{{:x :y :z} <= {:a :b :c}} <= {:d :e :f}.
The simple one line code above give me error:
** ERROR ** gre ** error(permission_error(modify,static_procedure,(:-)/2),context(system:assertz/1,_5794))
Or maybe this test case could be more simplified:
{:x <= :y} <= :z. #same error

This is indeed one of the limitations of backward rules.
Other limitations are that their conclusion can't be false or a conjunction

Thank you.
by the way, what I want to do is like this:
{?x => ?y} <= {?SCOPE e:call ?y}.
{?y <= ?x} <= {?SCOPE e:call ?y}.  #error above
{?x => ?y} <= {?SCOPE e:fail ?x. ?SCOPE e:fail ?y }.
{?y <= ?x} <= {?SCOPE e:fail ?x. ?SCOPE e:fail ?y}.   #error above

Which mimic the behavior of material implication, add some additional semantics to log:imply and "<=", so I can place them inside the premise of other rules, in a recursive style.
But now I have found a better way to do this ...
Anyway thanks !


upgrade atbash-cipher test suite  to spec of 1.2.0 version

test set is replenished according to the specification

LGFM :)


Documentation request

I have some troubles understanding how this code works, could you add some documentation?
Laso I've a question Is this final build, visible on the website?

Unfortunately I don't have the time to add any documentation to this project; the code is provided here as-is for reference. Unless I am mistaken, I'm pretty sure this repository reflects the most up-to-date version available on the website.

Ok, thanks for reply. I've got only few questions about this project. I will somehow eventually figure out how to add panorama to this project but I need anwear How can I add custom map for this project? and If You can answer me, Is the extension .scss and reference in the code .css fine or I need to change it?
And if you have time, What files do I need to add to get this working. I guess locations.json and panorama .jpg files with names for example "Frostwhisper Gorge" to image folder, right?


Translate combining operations through the Runner API.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @vikkyrk

Coverage remained the same at 70.516% when pulling 9d34084d0d6a4887f04aefad7d2316d192d778d8 on robertwb:runner-api-combine into 71196ec9cab9f393a73d068dd3ecbc255352dd0e on apache:master.

Coverage increased (+0.07%) to 70.583% when pulling f371b51afd4ca506988e59a6e61816e71b65c85a on robertwb:runner-api-combine into 71196ec9cab9f393a73d068dd3ecbc255352dd0e on apache:master.


Long term pollster error across cycles

We have information about pollster bias across many cycles. This can be used to inform poll level priors by running a model that fixes the random walk to the observed outcome on day $d=D$. Pollster, mode, etc. bias can then be given as a random walk over the observed cycles.
See, for example, the last paragraph in section 3.2 in Linzer, 2013

This methodology can also be used to set better priors whole-cloth. If parameters change from cycle to cycle (e.g., avg polling error, scale of sampling methodology, etc.), then I should think of them as a random walk over each cycle & use the output to set 2028 priors


Methodology link missing on dashboard page

Description
We have a page dedicated to the methodology of how the test that are shown on the dashboard are run the link to the webpage is : smp-spec.io/dashboard/methodology. Currently we don't have a way to go to this page from the dashboard page.
Expected Behavior
Add a way to go to this link from the dashboard. We can add a heading on the vertical menu shown below, that links to the methodology page
Screenshots

Enviroment:

OS: [e.g. Ubuntu]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 22]
Device: [e.g. laptop, iPhone 8]

[Optional] To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

[Optional] Additional Context
Add any other context about the problem here.
Contributor Resources
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
See Meshery site designs in this Figma designfile. Fill-in the Layer5 Community Member Form and join the Layer5 Community Slack for access.

Hey, wanted to work on this


Cleanup and write tests for clifford.cga

This doesn't attempt to fix any bugs, but at least converts unknown bugs into known bugs. The bugs this exposed are:

#100
#180
#181
#182
#184
#185

Travis passes, coverage increased, and there are open issues for all the xfailing tests. If the tests seem like nonsense, we can fix them in a follow-up / discuss in the open bugs

nice job on this.


Export User Profile page to teleportHQ

Target date: July 22, 2022 (along with #411 )

@vpchung Do you plan to export the page at once or component by component? The later may contribute to make PRs smaller and easier to review.

I exported all of the pages as a single app and was going to dump them into the project for @rrchai once I finished configuring them in teleportHQ.

Back to contributing to the web app after a few weeks in the Underworld (aka backend)! Got the user profile page up and running (nx serve challenge-registry). Can't wait to see the page after your makeover @vpchung @rrchai !

@vpchung Thanks for exporting the pages. I see you are configuring the entire project. If it will take a lot of your time, you could dump raw styling files to me with an example how to configure on a single page. I might be able to help on the configuration on other pages. Feel free to export page by page if this is easier than exporting entire project.

@rrchai many, many, MANY apologies for the delay!!! Finally had time to configure and export the pages out to the web app.  All of the raw HTML and SCSS can be found under /libs/challenge-registry/user-profile.
In addition to the pages, I also configured some parts of the template into components, including:

basic-stats
challenge-card
organization-card

These can be found under /libs/challenge-registry/user-profile/components.

Extended target deadline is now July 29, 2022.

The export TO teleportHQ is actually done. :)


[ENH] Uniform Continuous distribution

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Implemented Uniform Continuous Probability Distribution
Does your contribution introduce a new dependency? If yes, which one?
No

What should a reviewer concentrate their feedback on?
Testing the distribution

Did you add any tests for the change?
No

Any other comments?

PR checklist

For all contributions

[ ] I've added myself to the list of contributors with any new badges I've earned :-)
How to: add yourself to the all-contributors file in the skpro root directory (not the CONTRIBUTORS.md). Common badges: code - fixing a bug, or adding code logic. doc - writing or improving documentation or docstrings. bug - reporting or diagnosing a bug (get this plus code if you also fixed the bug in the PR).maintenance - CI, test framework, release.
See here for full badge reference
[X] The PR title starts with either [ENH], [MNT], [DOC], or [BUG]. [BUG] - bugfix, [MNT] - CI, test framework, [ENH] - adding or improving code, [DOC] - writing or improving documentation or docstrings.

For new estimators

[ ] I've added the estimator to the API reference - in docs/source/api_reference/taskname.rst, follow the pattern.
[ ] I've added one or more illustrative usage examples to the docstring, in a pydocstyle compliant Examples section.
[ ] If the estimator relies on a soft dependency, I've set the python_dependencies tag and ensured
dependency isolation, see the estimator dependencies guide.

you said you had some questions in 22 - what do you need help with?

Its showing Read the Docs build failed. How can it be solved?

Its showing Read the Docs build failed. How can it be solved?

That look new - a syntax error in one of the json files related to docs.

I am suspecting switcher.json, but why would that start breaking now?

failures are due to bugs fixed in https://github.com/sktime/skpro/pull/281, that should be merged first and tests re-run


Error on npm install: npm ERR! cb() never called!

Current behavior
npm install
npm ERR! cb() never called!

Other information
Modify dependencies for working install:
"angular2": "2.0.0-beta.14",
"rxjs": "5.0.0-beta.2",

Related: https://github.com/angular/angular/issues/8053

It only happens with 5.9.x
Upgrade node to fix.


Spacebar to preview

What's the Problem?
Really love the app. The only thing I'm missing is spacebar to preview files, or support for the QuickLook application (see: https://www.microsoft.com/en-us/p/quicklook/9nv4bs3l1h4s)
Solution/Idea
Adding support for QuickLook or create a similar solution within the app itself.
Alternatives
Switching back to the default file explorer
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

Files Version
latest
Windows Version
Windows 11 pro 21H2
Comments
No response

@jimmydeanhartog QuickLook is already supported, can you try restarting Windows to see if that helps?

Hey @yaichenbaum, thanks for your quick reply. I've just restarted, and it doesn't seem to help. So this might be a bug or something. I've also tried to reinstall Quicklook and that didn't do anything. It is working in the default file explorer. Let me know if you have any other ideas or possible solutions! :)

@jimmydeanhartog can you upload the log files?

Not working for me either. I'm not sure but it might have stopped working after upgrading to Windows 11. Works as expected on another Windows 10 PC.

I created an Issue in the QuickLook repo.


Version 3.1.0

Features:

[ ] #4

Added:

[x] Documentation dictating the syntax tree structure generated

Changes:

[x] Updates to test case logging
[x] New internal string parsing method
[x] Rearranged documentation
[x] Runtime type check on Compile for non TS users
[x] Restructured output Syntax tree to make the layout more stable over BNF changes.

Skipped implementing #4 as it is not ready for this new version


Supports for Custom DateFormat / DateTimeFormat

Presently when trying to use custom MAT_DATE_FORMATS as documented in angular material reference, , I'm still unable to have the date displayed properly...
I'm using following import
import {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE, MatDatepickerModule, MomentDateModule, MomentDateAdapter} from '@coachcare/datepicker';
As well as following Config
export` const MY_FORMATS = {
    parse: {
        dateInput: 'DD.MM.YYYY',
    },
    display: {
        dateInput: 'DD.MM.YYYY',
        monthYearLabel: 'MM YYYY',
        dateA11yLabel: 'DD.MM.YYYY',
        monthYearA11yLabel: 'MM YYYY',
    },
};

And following Providers
providers: [
      {provide: MAT_DATE_LOCALE, useValue: 'de'},
      {provide: DateAdapter, useClass: MomentDateAdapter, deps: [MAT_DATE_LOCALE]},
      {provide: MAT_DATE_FORMATS, useValue: MY_FORMATS},
],

Might be related to an issue in angular material itself (see stackoverlow https://stackoverflow.com/questions/51019574/angular-material-datepicker-dd-mm-yyyy)

@f-aubert I needed to add more formats for the timepicker, so please adjust MY_FORMATS to this:
https://github.com/selvera/npm-datepicker/blob/master/datepicker/src/lib/moment-adapter/moment-date-formats.ts#L11 and tell me if it works!

Thank you very much for your answer (and for your datepicker as well!!!). I managed it. I think there still might be a small issue, as in french (locale = fr), with the following,
export const MY_FORMATS: MatDateFormats = {
    parse: {
        datetime: 'DD.MM.YYYY HH:mm',
        date: 'DD.MM.YYYY',
        time: 'HH:mm'
    },
    display: {
        datetime: 'DD.MM.YYYY HH:mm',
        date: 'DD.MM.YYYY',
        time: 'HH:mm',
        monthDayLabel: 'MMMM D',
        monthDayA11yLabel: 'MMMM D',
        monthYearLabel: 'MMMM YYYY',
        monthYearA11yLabel: 'MMMM YYYY',
        dateA11yLabel: 'LLLL',
        timeLabel: 'HH:mm'
    },
};

I still don't see the full date left in white in the blue section properly. Shouldn't it be formatted using 'dateA11yLabel' referring to the locale as defined in momentjs? To me it seems to be something like 'dddd, MMM D' instead,

@f-aubert I went deep into the dateFormats and now I fixed the issues.
I didn't know that parse and display needed to be "equal" to not have problems between the input and the datepicker. Now that I understand the issue, I got them working in 0.9.3 :)
About the "left date" I guess you mean the controls?
Following the Material Design Guidelines:

these have a fixed format and the styles are adjusted to not break, so I'm afraid they are not customizable.
I added some lines to the README. Enjoy! :)

@f-aubert you can customize the "Apr 13" with monthDayLabel which is MMM D :)

I am not able to change format.
I can use whatever in DateFormats and there is not change in format.
import { MatDateFormats } from "@coachcare/datepicker";

export const CW_DATE_FORMATS: MatDateFormats  = {
	parse: {
		datetime: 'DD.MM.YYYY HH:mm',
		date: 'DD.MM.YYYY',
		time: 'HH:mm'
	},
	display: {
		datetime: 'DD.MM.YYYY HH:mm',
		date: 'DD.MM.YYYY',
		time: 'HH:mm',
		monthDayLabel: 'YYYYMMDD',
		monthDayA11yLabel: 'YYYYMMDD',
		monthYearLabel: 'YYYYMMDD',
		monthYearA11yLabel: 'YYYYMMDD',
		dateA11yLabel: 'YYYYMMDD',
		timeLabel: 'HH:mm'
	},
};

providers: [
		{ provide: DateAdapter, useClass: MomentUtcDateAdapter, deps: [MAT_DATE_LOCALE] },
		{ provide: MAT_DATE_FORMATS, useValue: CW_DATE_FORMATS },
	],

Format is not changed:

What is wrong with my code?

@MichalK6677 where is your MomentUtcDateAdapter from?
that class may follow another set of formats.
I see it mentioned here https://stackoverflow.com/questions/48710053/day-incorrect-in-angular-material-datepicker

@matheo yes. That's the class I used from stackoverflow. It just extends MomentDateAdapter and override createDate

I can use native MomentDateAdapter but formats is still not changed. Do you have an example where it works?

@MichalK6677 are you using the official Adapter of the one imported from @coachcare/datepicker? I've tested our adapter and it shows the formats correctly.

@matheo now it works. Yes I forgot to change one import :) thanks. Great job this datetimepicker


how to copy data from old version db to new

i am using sqliteasset helper library.using this,i created a tutorial app with 500 questions n answers. and also their is a fav table in which i m saving user inputs.
now i want to add new question in tables other than fav table. but when user will update the app. i dont want to loose the fav tablr data that is user data.so how can i write script for this.? means i want my latest db with user data from old db.
i tried everything.but nothing helps. in some cases i got user data.but the app uses old db.
plz help.i alreadg wasted my 8 hours for this

and plznote that, i dont to change schema of any table.i just want to update my db withnew rows. and those rows are a bunch of 100-200 records. so i  write insert query through script.
i have already created new updated db file. just tell me, how can i use new db. with old db.fav table. i just want that fav table from old db. all other tables are from new db

As I understand it, you just need to follow the standard instructions in the documentation for this library on how to use it as normal; create an upgrade script and set a new version number on the DB to have it be applied. And in that script, put your INSERT commands. (There or more details, but they're all covered in the main documentation.)
You say "you've tried everything" but don't list what those attempts were. What did you try that isn't working with that process?

Thanx for reply sir,
let say i have 2 tables in my pld version db.
1)tutorial table
2)favourite table
in which, favourite table is for local storage, means it will contain user data.
so after upgrade i want to keep all data that is present in that table.
and the tutorial table is the one, in which i am proving questions,
so now with the new version i want to provide bunch of 500 new questions in it.
so i cant include those insert queries through script upgrade scrfipt . right? coz it will be headache.
so, now
1)i have updated the version number.
2)created the updated .db file with sqlite db browser.
3)added this db file in assets/databases folder with original db name.
4)now my upgrade script looks like this,
//just add one more table with default value 0 into favourite table.
ALTER TABLE "favourites" ADD "updateDb1" INT NOT NULL DEFAULT 0;
ALTER TABLE "tutorial" RENAME TO "temp";
CREATE TABLE "tutorial" (
"Id"	INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
"question"	TEXT NOT NULL,
"answer"	TEXT NOT NULL,
"status"	TEXT NOT NULL DEFAULT 'unfav'
);
INSERT INTO "tutorial" ("Id","question","answer","status") SELECT "Id","question","answer","status" FROM "temp";
DROP TABLE "temp";
============
is it correct format of upgrade script?
i saved it as, tutorial.db_upgrade_1-2.sql
actually i didnt understand how to write insert command in it.
because how it works? i dont know.
which table should i rename? the table which available in the user's phone?
or the table that is i am providing through newly updated file in assets folder?
and which record should be copied from and where?
i just want to achive is,
my new updated tables that are available in assets should be updated in user's phone,
but the favourite table shold be used from user's old db., not from db
sorry for confusion, but i will be thankful to you if you help me.
plz.see my upgrade script and just give me one example so that i can understand.

and when i run the app with above script , android studio throws exception...like cant upgrade read only database from version one to two.

and when i run the app with above script , android studio throws exception...like cant upgrade read only database from version one to two.

What is the exact error message and stack you get about "can't upgrade read only database"?
Regarding your other questions, this library only deals with running the script at the appropriate times for you. If you need general help on how to write SQL commands, there are lots of sites, tutorials, and guides available elsewhere on general SQL programming.

right now i dont have my laptol with me, but will you plz explain, how can i differentiate beetween old db and new db table while writing insert query. have you seen my script? is it written in right way?

right now i am not able to show you my exact error but below i am showing the example (i copied and pasted from google)
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.calvert.adam.lolinformer/com.calvert.adam.lolinformer.championsActivity}: android.database.sqlite.SQLiteException: Can't upgrade read-only database from version 1 to 2: /data/data/com.calvert.adam.lolinformer/databases/champions.db
I am getting error similar to this.

That error doesn't have to do with this library. You might be opening it with getReadableDatabase or you have CREATE commands where you shouldn't, etc. Unfortunately, we can't help you with Android SQL issues here. Just if you have problems with this library not running the scripts at the right time.

means you are saying my script is written in right format?

butcan you explain? when wewrite insert query in script... then insert into tablename... here in this line first table nae reffers to which table? and following select from tablename refers to which table? old or newdb? how this library works in upgrading?

The "format" is just SQL commands. Nothing special about them. So yeah, SQL command, semi-colon, line break, and repeat, is fine. Like any other SQL script. All this library does is break them up by semi-colon, then pass them as regular, raw SQL commands to the engine.

no i am not getting how it works... i have confusion in how to refer correct table in query

can i use getWritableDatabase with this library?

yes finally got solution to my problem.on google o found somewhere that this library currently doesnt support feature of coppying data from new db to old db.so i need to add every new insert statement in upgrade script

please if possible add new feature for this, its just a suggestion because on google their are lots of people who are finding solution for this

The way I do a partial upgrade is have two databases. One for the bundled
data, the other for user data. Then use this library to handle the data
updates by using setForcedUpgrade which overwrites the old database with
the new one. It won't work with your current solution so you may need to
change it if you want. Took a while to work out how to connect the two
(ATTACH DATABASE command) but it's doable and has been in production for
4 years!
On Thu, 23 Feb 2017, 06:17 VarshaAv<EMAIL_ADDRESS>wrote:

Closed #110
https://github.com/jgilfelt/android-sqlite-asset-helper/issues/110.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jgilfelt/android-sqlite-asset-helper/issues/110#event-973845681,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADF-6EmDQHLxXdC6QyOOaLaLSzpP_pUhks5rfSRcgaJpZM4MIZJO
.


Dockerfile contains code

Line 1 of Dockerfile has code and is causing problems during deployment. Please fix this at the earliest.

This was honestly a deal-breaker for me.
Think I found a permanent solution for this pesky bug, let's see if this almost day-zero bug will be rectified.

It is a pity to see such a serious problem in such a beautiful project. I'd love to upgrade once the problem is fixed.


Hyperlink broken

"OnLaunched" link is broken in the "OnLaunched" paragraph.

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

ID: c683f28d-2b9c-0641-3781-4fe778715757
Version Independent ID: 5ed66529-4e1d-a4b5-4f13-278ed139ff07
Content: Window Class (Microsoft.UI.Xaml) - WinUI
Content Source: winui-api-build/xml/Microsoft.UI.Xaml/Window.xml
Product: reunion
Technology: winui-reference
GitHub Login: @Karl-Bridge-Microsoft
Microsoft Alias: kbridge

Thanks for reporting this issue. The link to OnLaunched has been fixed.


目前发现最好用的OC生成UML工具

很棒的工具，推荐给各位想要梳理OC代码结构的同学

Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.1
warning: 'drafter': the target name drafter has different case on the filesystem and the Package.swift manifest file
Building for production...
error: -static-stdlib is no longer supported for Apple platforms
error: -static-stdlib is no longer supported for Apple platforms
Archive:  ./Template/template.zip
creating: ./Template/drafter/template/
inflating: ./Template/drafter/template/index.html
inflating: ./Template/drafter/template/bundle.js
/bin/sh: line 16: cd: .build/release: No such file or directory


Sufficient description is missing for text present in the tips provided

Description
The text of each tip uses content like "click here to do this" along with an arrow pointing to the relevant menu item. This is not sufficient for a screen reader user because the screen reader does not indicate that there is an arrow present that is pointing to a menu item.
To Reproduce
Steps to reproduce the behavior:

Open the URL https://main--franklinsidekickrepo--puja-iaccessible.hlx.page/
Press Alt key to go to the chrome menu and press tab to go to the sidekick extension
3.Notice the text of tips

Expected behavior
The tip text should instead be more descriptive, for example: 'Click on the Edit button of the sidekick extension toolbar to edit this page". This will sufficiently describe to a screen reader user, the information provided in this tip.
Screenshots
Attached are the screenshots.

Additional context
https://www.w3.org/TR/WCAG21/#sensory-characteristics
When the text alone is unclear, sighted users can examine the surrounding context for clues about the text purpose. Assistive technologies can similarly help non-sighted users by the clear description.

@puja-iaccessible this is fixed. See here for updated help texts:
https://www.hlx.live/tools/sidekick/help.json?sheet=help-steps


Ideology image alert error

Describe the bug
Having Ideology, Hugslib and this mod it creates a flurry of errors whenever hovering over the "ideology image" desired alert.
Steps to reproduce the behavior (VERY IMPORTANT)

Hover over the "Ideology image" when starting a new game.

Error Logs
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.IdeoBuildingPresenceDemand.get_RoomRequirementsInfo () [0x00091] in <0449c5e9b8de427094b45999bcad39f5>:0
at RimWorld.Alert_IdeoBuildingMissing.GetExplanation () [0x0004e] in <0449c5e9b8de427094b45999bcad39f5>:0
at RimWorld.Alert.DrawInfoPane () [0x00023] in <0449c5e9b8de427094b45999bcad39f5>:0
at (wrapper dynamic-method) RimWorld.AlertsReadout.RimWorld.AlertsReadout.AlertsReadoutOnGUI_Patch1(RimWorld.AlertsReadout)
at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch1(RimWorld.UIRoot_Play)
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)(edited)
Player.log
https://ghostbin.com/sseVQ
HugsLib log
https://gist.github.com/33fdd01695b2f1a526f7a55bcb303c0c
Save file
Just make a new save with alerts and an ideology which requires an image.
Screenshots

Mod list (For vanilla report, it has to be same as below list.)

Harmony
Core
Royalty (Optional)
Ideology (Optional)
HugsLib
RimThreaded

Note that this only works on the default archotech ideology grand sculpture image, that is the wooden grand sculpture named "Archotech Image." This error also spams upon hovering the item in the ideology customize ideologion menu before starting the game. I can give an example partial screen recording tomorrow.

I was unable to get any errors with the info provided, possible because this is fixed in 2.5.16

Its fixed, I hover over it and on the latest version from the discord server, nothing happens. I have made alot of new colonies for testing and have an image, and none had errors from hovering over a persistent letter.


Move DNS jolokia.org to a more neutral account

Currently, jolokia.org is still registered in my private name, but I think it would be nice to move to a more neutral location, like a Red Hat account.
wdyt ?
(I just paid it for the next year, so there is no time pressure)

cc: @lhein

I got the pointer by @lhein so that I know how to transfer. Thanks!


How to use?

Hi, Just discovered this repo after dusting off my old Sphere 2.0 and wanted to give it a try but failing.  I ran python /main.py from the main directory but receive an error of file not found. Any pointers would be grateful.

This library is still in-development and only supports limited toys (namely R2D2 and R2Q5). Other toys are not supported yet.
I will leave this issue open until we have implemented methods for sphero 2.0

By the way, what operating system are you using

Thanks for the reply, I’m on macOS.

I just implemented methods for Sphero 2.0, you can check it out. Make sure to first uninstall old version of libraries.


💡[FEATURE]: NetFlix Stock Prediction using Regression  algorithm

Is your feature request related to a problem? Please describe.
This project aims to predict the stock prices of Netflix using various machine learning techniques. Historical stock data is utilized to train models that can forecast future stock prices.
Describe the solution you'd like
Models Used
Various machine learning models are explored for stock prediction, including:

Linear Regression
Support Vector Machines (SVM)
Random Forest
Gradient Boosting

Each model is evaluated based on its performance metrics and suitability for the stock prediction task.
Evaluation Metrics
The models are evaluated using metrics such as:

Mean Squared Error (MSE)
Root Mean Squared Error (RMSE)
Mean Absolute Error (MAE)
R-squared (R²) score

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@Akshat111111 pls assign it me i want to work on it
I'm Gssoc'24 contributor


Submit autofill feedback report

Task/Issue URL: https://app.asana.com/0/488551667048375/1207769724660967/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#4763  👈
#4741
#4740
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CDRussell and the rest of your teammates on  Graphite

Merge activity

Jul 24, 5:55 PM EDT: @CDRussell started a stack merge that includes this pull request via Graphite.


refactor: Remove http kernel listener and replace response formatter …

…with Problem normalizers

Update composer packages
remove unused registered services
Fix php-cs-fixer file name that makes not running configuration by default

Not accepted by maintainer


Simple OAuth2 Facebook authentication freezing UIWebView

##Issue Defniniton
Creating a new single view Xamarin.iOS application and adding the following code will hang the UIWebView right after inputting username and password (on page asking for permissions):
##Steps to replicate

go to https://developers.facebook.com/
Create a New app
Copy Client ID
Use following code with newly create Client ID

var auth = new OAuth2Authenticator(
clientId: "REPLACE WITH CLIENT ID",
scope: "",
authorizeUrl: new Uri("https://m.facebook.com/dialog/oauth/"),
redirectUrl: new Uri("http://www.facebook.com/connect/login_success.html"));
        auth.AllowCancel = true;
        auth.Completed += Auth_Completed;
        PresentViewController(auth.GetUI(), true, null);

Was just following exactly how it was being setup using the "Getting Started" page. The authenticator will run as expected however as soon as pressing the login button and the next page appears as so: http://imgur.com/a/ptxg3
The UIWebView will become unresponsive not allowing any sort of interaction. However canceling still works.
The same login is being used on Android with no issues at all. Tested on physical device as well.
##Version Info
Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01586
Xamarin   <IP_ADDRESS> (00fa5cc)
Xamarin.iOS   <IP_ADDRESS> (7beaef4)

Just found issue #108 and was wondering if this also applies for this error? Although It is working for Android. Do I need to use the Facebook SDK for Xamarin.iOS apps?

@ammarMheir  Item no. 2 of https://developers.facebook.com/policy/#login

Android apps should use the default login behavior defined by the SDK, which may use the web-view Login dialog. On iOS, only kiosk apps may use a web-view Login dialog.

You will be told by Facebook that your app is not in compliance with Facebook's login requirements when going through their login approval process if you are using Xamarin.Auth on iOS... for right now Android-based WebView is still allowed, but there are rumors that Chrome CustomTabs will be a future requirement (just a rumor right now, they could require using their native Android SDK instead...) I went native SDK on both platforms for multiple apps now and Facebook has never "rejected" any permissions that we have requested.
Personally, I dropped usage of Xamarin.Auth as it is does not support iOS' SFSafariViewController and Android Chrome CustomTabs. Starting next month (3/17) Google will start rejecting apps that do not support using Chrome CustomTabs for Google logins on devices that support an alternative to WebView (basically any device that ships with a version of Chrome pre-installed, which now including almost all devices in the USA, Canada, most countries in Europe, etc... China is one of the few areas that Chrome is not included in the ROM as the user preferences lean toward in-country browser's such as Baidu Explorer and using a Google login is not high on their login requirements.... ;-)

@ammarMheir
i am experiencing the same issue.  What I noticed is that after entering user name and password it will say "Continue as [Name]" but the button is not clickable.  I noticed that only after I log into the mobile app does the button become enabled.  Strange behavior.  I cannot guarantee that my users are using the mobile app.  This is occuring on iOS6.  However, in debug mode using the iPhone Simulator I am able to authenticate properly.    Does this sound similar to what you're experiencing?

@leongaines Same thing I have seen as well. Everyone now and then it would work and then break again. One time I changed the return URL and it started working but eventually broke again. Like sushihangover said, Facebook no longer wants apps using a WebView for logging in. You could try sushihangover's suggestion but I might try using the native Facebook app (if it is available) by following the link below. Just need to find some time to try it out!
https://forums.xamarin.com/discussion/31928/xamarin-forms-facebook-login-native-login-page-android

@leongaines
Indeed this is the exact same thing that is happening with me. What @sushihangover is correct and it seems that not just Facebook are doing this but also Google+ (pretty soon). Embedded WebViews apparently have some security issues and will not work well in authenticating with these social media providers.
However what I found is that if you download the "portable-bait-and-switch" branch from GitHub, it has an updated version of the authenticator on iOS that uses the SFSafariViewController rather than a UIWebView. Which is essentially opening the web browser to do the authentication on top of the app and it seems to be working fine using the browser rather than the WebView. Although this works, i still think it might be best to go with the Facebook SDK as it might provide more stability in the long run.
Thanks @sushihangover and @hvaughan3 for the info on this.

@ammarMheir One more thing I would say, the link I posted in the previous message will actually fallback to using SFSafariViewController if the user does not have the Facebook app installed on their device. Facebook also suggests doing this type of fallback so, at least in the near future, I think using the SFSafariViewController is a good approach... until they change everything on us again -.-

@ammarMheir  @hvaughan3 ,
Here is what i've come up with.  If you use the native app for authentication, but the user has never logged in with a native app you will still have the same issue.  Try it.  for the account that you're having trouble with, log into the native app with it, then try your web view.  It works in my case every time.   The problem isn't necessarily the webview.  It's a business decision by Facebook that if authentication is via a mobile app then the user must have used their Facebook mobile app.  Keep in mind, iOS, your Facebook account is tightly tethered to your iPhone (Settings: Facebook: Settings : account).
Bottom line, mobile apps that require FB authentication needs to have logged into the mobile app to be provisioned.

Hi
[Chrome] Custom Tabs and SFSafariViewController are under heavy development.
For more details please check https://github.com/xamarin/Xamarin.Auth/issues/150

@moljac Very exciting, thank you!

@moljac Just an FYI, Google has already started blocking new apps that are only providing a WebView OAuth2 option as the primary browser option. This is ahead of their originally 3/17/2017 ban/deadline, but after talking to support about one of my client's apps, they pointed out that October 20, 2016 was the initial offcut for new clients not supporting Chrome CustomTabs and the "updated" April 20, 2017 date is the official ban date for all clients using WebView only on Android....

@sushihangover
The official announcement was given 2016-08-22
https://developers.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html
Personally I experienced "problems" with new Apps on 2016-10-28 and preventing for new apps started on 2016-10-20.  After that we received several bugreports and issues regarding new apps and Xamarin.Auth.  I recall that I was a bit surprised with ban in October, but could not recall 2017-03-17. This is the reason I got caught off guard with this.

The answer is to use Xamarin.Social framework!

Hi,
I have an app experience this problem.  Should I use Xamarin.Soclal from now on?   What is the official work-around.  Stop using this component?
thanks!

@sinclas Update above version 1.5.0 and set isUsingNativeUI  to true

How do I eliminate the schema warning?   I remeber finding some references to that issue in Git but can’t find it.  I have the isUsingNativeUI set to true.
-Thanks!
Steve

On Oct 17, 2017, at 8:13 AM, Hines Vaughan<EMAIL_ADDRESS>wrote:
@sinclas https://github.com/sinclas Update above version 1.5.0 and set isUsingNativeUI to true
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/xamarin/Xamarin.Auth/issues/144#issuecomment-337226932, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPzdIlOrpZZ4rBW_nlO2jYwESStT51Qks5stKf6gaJpZM4MEws1.

@sinclas
Nullify it:
https://github.com/xamarin/Xamarin.Auth/blob/master/samples/Traditional.Standard/Providers/Xamarin.Auth.Sample.XamarinAndroid/MainActivity.cs#L125-L127

So guys, we are stuck at the "Authenticate" web view (i.e., FB consent screen) once the user successfully logs in. I am now aware that FB is inhibiting auth via WebView. But what workaround does Xamarin offer?
All help and references are appreciated!
TIA
_

‾‾

@ammarMheir @sushihangover @sinclas @hvaughan3 @leongaines can you check to see if this is still happening in the latest version.
Regards

no response after two weeks closing


MELPA ?

Hello !
I used your package to build a little utility (to have the list of issues when we type "Fixes #" in a commit message https://gitlab.com/emacs-stuff/git-commit-insert-issue).
I included a copy of github-issues in it because it isn't available as a package. Would you like to publish it on MELPA or sthg ?

The recipe has been merged !


✨[feature Request]: Booknow page enhancement

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I want to enhance the booknow page by adding a beautiful color palette which enhances the users readability and also I have changed the alignment of the items present in the gallery by making sure that all the images are of the  same size.These provide a better layout , alignment for the look of the webpage which give out a retro theme to the web page and I have also changed the colors of the hover effect .This is the change I have made
Use Case
I have improved the "Book Now" page by incorporating a beautiful color palette that enhances user readability. The thoughtful selection of colors not only makes the text more legible but also creates a more inviting atmosphere for users, encouraging them to explore the options available.
In addition, I have adjusted the alignment of the items in the gallery by ensuring that all images are of the same size. This change provides a cohesive layout and improved visual alignment, enhancing the overall aesthetics of the webpage. The consistent image sizing contributes to a cleaner, more organized look, which significantly enhances the user experience.
To further enrich the page's appeal, I have also updated the colors of the hover effect. These changes contribute to a retro theme, creating a nostalgic vibe that resonates with users and adds character to the webpage.
Overall, these enhancements not only improve the visual quality of the "Book Now" page but also facilitate better navigation and interaction, leading to a more enjoyable experience for users.
Benefits
This enhances the readability of the webpage
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

@Ananya-vastare already assigned

May I please know whether it will be merged or not @Anjaliavv51

@Ananya-vastare Mention the PR number

I will send it to you before 4 pm @Ananya-vastare if that's fine

c84b6db  is the pr number


Activities tab shows transaction as queued even after they have been mined

This is on testnet
Environment: Windows 10, Brave browser. Opening the wallet (version 2.19.2) in a new tab and doing a hard refresh made no difference.

I think the queued instances in the overview should go away ounce they are confirmed/failed which all these transactions have been.
the address: https://explorer.stacks.co/address/ST2PBEZB3ZPHJE1XJHFQKGF6E08SV29K96WCRJA13?chain=testnet
transactions with nonce 11, 12, 13
I will post here if I see this again to get an idea of how it can be reproduced.

Thanks for the report! We'll investigate.

This transaction was queued at first because it could not be found in the mempool but now that it is in the mempool and shown as such should it still be up there as queued, this looks redundant and I think this is not how it was intended.

All transactions (both failed and successful) that took place since yesterday morning are queued, been more than 24 hours and the situation is the same. Is this expected?


Add section to the docs about ecosystem / ASGI integration?

I know it's still early days for Xpresso, but how about an ecosystem page in the docs?
I know Piccolo is compatible, and there's bound to be other generic ASGI middleware etc which is known to work.
Just an idea.

Yup that's a good idea! I'll use this issue as a reminder 😄


Getting Raw Html to work..

Hey,
I am trying to get Razor support happening in https://github.com/JakeGinnivan/pretzel
Here is my Linqpad script against 3.0.8 (latest nuget package)
void Main()
{
    try
    {
        var config = new FluentTemplateServiceConfiguration(c=>c.EncodeUsing<MvcHtmlStringFactory>());
        new TemplateService(config).Parse("
@(new RazorEngine.Text.HtmlEncodedString(\"Bold!\"))
").Dump();

    }
    catch (TemplateCompilationException ex)
    {
    ex.Errors.Dump();
        ex.Dump();
    }
}
public class MvcHtmlStringFactory : IEncodedStringFactory
{
public IEncodedString CreateEncodedString(string rawString)
{
    return new HtmlEncodedString(rawString);
}

public IEncodedString CreateEncodedString(object obj)
{
obj.Dump();
    if (obj == null)
    return new HtmlEncodedString(string.Empty);

    var htmlString = obj as HtmlEncodedString;
    if (htmlString != null)
    return htmlString;

    return new HtmlEncodedString(obj.ToString());
}
}

The output is:

<strong>Bold!</strong>

I have tried a heap of combinations and I just cannot get a Raw Html string outputted. Please point me in the right direction...

Well, the problem you've got, is that you're creating a new instance of HtmlEncodedString in your template, and then passing in html, so the HtmlEncodedString encodes the html before returning via ToString(). You can do either:
@(new RawString("Bold!"))

Or, just use:
@Raw("Bold!")

Awesomeness.. I couldnt find how to do the Raw anywhere :P That sorted me out, appreciate the quick response
Pretzel might be a cool example project for you as well :)

Thank you! Your suggestions helped me.

How does this work with MVC 5?

new RawString() helped me, but is there any answer for why Raw() doesn't seem to exist while its documented everywhere?  Are we missing a using?


Increased parallelism

As you mentioned in #13 you'll be re-writing the code to support showing the URL's that secrets are found from. Is it possible to also increase the parallelism of this script?
When running this to scan 100~ url's it takes hours. I created a quick wrapper in golang to have an instance of the script run on all of my cpu's cores and it finished in 15 minutes so there are definitely some bottlenecks in the code slowing it down that could likely be threaded.
Thanks for making this amazing tool!
func SubDomainizer(dir string) {
	println("starting SubDomainizer")

	if _, err := os.Stat(dir + "/" + date + "/" + "subdomainizer/domains"); os.IsNotExist(err) {
		os.MkdirAll(dir+"/"+date+"/"+"subdomainizer/domains", os.ModePerm)
	}
	if _, err := os.Stat(dir + "/" + date + "/" + "subdomainizer/cloud"); os.IsNotExist(err) {
		os.MkdirAll(dir+"/"+date+"/"+"subdomainizer/cloud", os.ModePerm)
	}
	if _, err := os.Stat(dir + "/" + date + "/" + "subdomainizer/secrets"); os.IsNotExist(err) {
		os.MkdirAll(dir+"/"+date+"/"+"subdomainizer/secrets", os.ModePerm)
	}

	var wg = sync.WaitGroup{}
	maxGoroutines := 10
	guard := make(chan struct{}, maxGoroutines)

	domains := ReadFile(dir + "[redacted]")
	for _, domain := range domains {
		guard <- struct{}{}
		wg.Add(1)
		go func(dir string, date string, domain string) {
			hash := GenerateRandomString()

			cmd := exec.Command("python3", "[redacted]]tools/SubDomainizer/SubDomainizer.py", "-u", domain,
				"-o", dir+"/"+date+"/subdomainizer/domains/"+hash+"_domains.txt", "-cop", dir+"/"+date+"/subdomainizer/cloud/"+hash+"_cloud.txt", "-sop", dir+"/"+date+"/subdomainizer/secrets/"+hash+"_secrets.txt",
				"-g", "-gt", "[redacted]")

			println(cmd.String())
			cmd.Start()
			cmd.Wait()
			<-guard
			wg.Done()
		}(dir, date, domain)

	}
	wg.Wait()

}

Got it. I will add theading to the given list of URLs.

I imagine that this could be because of Python's GIL - Global Interpreter Lock - and how it denies multiple threads from running at once across multiple cores. You could switch to using processes instead which would mean some significant changes to the code. Or wrap the tool as exemplified above. Thanks for making this tool!


Investigate if creation of custom services after upgrades with the same name should be allowed

Context.
I created in v.1.3.0 a custom service named mycustom-service and bound to an app testapp . The hash for this version is x5dc8835923fe6cac2053d8aa18b1-mysql
I upgrade to v.1.4.0 and create the same service with hash for v.1.4.0: x8e5ee833a0f2faebaf5c4171baca-mysql
When I try to bump a second app, testapp2 it is bound to both services:
🚢  Listing configurations
Namespace: workspace

✔  Epinio Configurations:
|                NAME                 |            CREATED            |  TYPE   |      ORIGIN      |   APPLICATIONS    |
|-------------------------------------|-------------------------------|---------|------------------|-------------------|
| x5dc8835923fe6cac2053d8aa18b1-mysql | 2022-11-10 09:03:51 +0100 CET | service | mycustom-service | testapp, testapp2 |
| x8e5ee833a0f2faebaf5c4171baca-mysql | 2022-11-10 10:04:21 +0100 CET | service | mycustom-service | testapp2          |
➜  epinio git:(main) epinio service list

🚢  Listing Services...
Namespace: workspace

✔  Details:
|       NAME       |            CREATED            | CATALOG SERVICE | VERSION |  STATUS  |   APPLICATIONS    |
|------------------|-------------------------------|-----------------|---------|----------|-------------------|
| mycustom-service | 2022-11-10 10:04:19 +0100 CET | mysql-dev       | 8.0.29  | deployed | testapp, testapp2 |
| mycustom-service | 2022-11-10 09:03:46 +0100 CET | mysql-dev       | 8.0.29  | deployed | testapp, testapp2 |

Thanks. Confirmed, without having to bind the services to applications.
Just creating them with 1.3.0 and 1.4.0 is enough.
The 1.3.0 service consists of an helm chart spec in the epinio namespace, and a helm release in the target space.
Trying to create two services of the same name fail on the duplicate helm chart spec
The 1.4.0 service consists of a secret in the target namespace, and a helm release in the same. With a different derivation of the name.
Trying to create two services of the same name fail on the duplicate secret.
Doing a two services with 1.3.0, and 1.4.0 they pass each other on the first (spec vs secret) and the helm release have different names due to the different derivations, so no clash there either.
The 1.4.0 validation of services has to be changed to properly recognize 1.3.0 services as well.
And better do it explicitly instead of having a creation op fail on the lower-level resource (helm chart spec, secret).


gbc fails to run on mono under linux

Using Bond.CSharp.5.2.0 fails to run GBC when compiling under Ubuntu 16.04 / Mono 4.6.2. The project is a VS 14 sln, and bond is installed via nuget. The first issue I had was permission denied for gbc.exe, which was an easy fix by adding execute permissions to gbc.exe. Unsure if that's an issue with the package or nuget it's self, but it's an easy fix. Now it's failing with the error message run-detectors: unable to find an interpreter for {{path}}/gbc.exe. I believe I should be able to build gbc locally and replace gbc in the package cache to get it to work, but I'm not a fan of that as I'll have to re-run that every time I upgrade bond or restore packages on a fresh environment. Any thoughts?

The NuGet package contains a Windows x64 executable. At the moment, you will need to build gbc from source, as we don't provide a pre-compiled version of gbc for any other platform. (Maybe Wine will work. Not sure.)

And, after building gbc, you don't have to modify the NuGet package. Put the gbc somewhere accessible and in your csproj, before importing the Bond.CSharp.props file, set the property BOND_COMPILER_PATH to point to the directory containing gbc. Then, the codegen targets will invoke that gbc. (If BOND_COMPILER_PATH is unset, it defaults to the location inside the package, which works for most of the consumers of C# Bond, who are on Windows.)

Did you get a chance to try setting BOND_COMPILER_PATH?

Having heard nothing more, closing this issue. Feel free to re-open.


ota failed with siliconlabs efr32mg board-brd4187c

Problem
Hi,
I test fota with efr32mg24 in brd4187c according the url https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/silabs_efr32_software_update.md, but the efr32mg24 node always fail in find the ota-provider.
<what's wrong or missing, please include any applicable:

expected behavior
------ota success
actual behavior
------cannot start ota process in device find

steps to reproduce
----follow the url  https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/silabs_efr32_software_update.md  and use the prebuild  bootloaderfile

system configuration
screenshots, images, logs, etc.

 [DMG] Received command for Endpoint=1 Cluster=0x0000_0006 Command=0x0000_0002
 [ZCL] On/Off set value: 1 2
 [ZCL] Toggle on/off from 1 to 0
 [ZCL] Off Command - OnTime :  0
 [DMG] Endpoint 1, Cluster 0x0000_0006 update version to 3d3f63b9
 [ZCL] Cluster callback: 0x0000_0006
 [DMG] Endpoint 1, Cluster 0x0000_0006 update version to 3d3f63ba
 [ZCL] Cluster callback: 0x0000_0006
 Turning light Off
 Light OFF
 [IN] UDP Message Received packet nb : 14 SrcAddr : fd92:c8ce:db14:1:9477:e3af:d9f2:5bf7[40582] DestAddr : fd92:c8ce:db14:1:2a93:e1f0:bac1:c15a[5540] Payload  [DMG] Command handler moving to [ Preparing]
 [DMG] Command handler moving to [AddingComm]
 [DMG] Command handler moving to [AddedComma]
 [DMG] Decreasing reference count for CommandHandler, remaining 0
 [EM] Piggybacking Ack for MessageCounter:2446002 on exchange: 37755r
 [IN] Prepared secure message 0x2001edc4 to 0x000000000001B669 (1)  of type 0x9 and protocolId (0, 1) on exchange 37755r with MessageCounter:56906613.
 [IN] Sending encrypted msg 0x2001edc4 with MessageCounter:56906613 to 0x000000000001B669 (1) at monotonic time:<PHONE_NUMBER>00935B msec
 [DMG] Command handler moving to [CommandSen]
 [DMG] Command handler moving to [AwaitingDe]
 [EM] Received message of type 0x10 with protocolId (0, 0) and MessageCounter:169266623 on excha [IN] UDP Message Received packet nb : 15 SrcAddr : fd92:c8ce:db14:1:9477:e3af:d9f2:5bf7[40582] DestAddr : fd92:c8ce:db14:1:2a93:e1f0:bac1:c15a[5540] Payload Length 34
 [EM] Received message of type 0x10 with protocolId (0, 0) and MessageCounter:2446003 on exchange 37755r
 [EM] Found matching exchange: 37755r, Delegate: 0
 [EM] Rxd Ack; Removing MessageCounter:56906613 from Retrans Table on exchange 37755r
 [EM] Removed CHIP MessageCounter:56906613 from RetransTable on exchange 37755r
 [IN] UDP Message Received packet nb : 16 SrcAddr : fd92:c8ce:db14:1:9477:e3af:d9f2:5bf7[59312] DestAddr : fd92:c8ce:db14:1:2a93:e1f0:bac1:c15a[5540] Payload Length 177
 [EM] Received message of type 0x30 with protocolId (0, 0) and MessageCounter:158534876 on exchange 44080r
 [EM] Handling via exchange: 44080r, Delegate: 0x2001d9f8
 [IN] CASE Server received Sigma1 message. Starting handshake. EC 0x2001e738
 [IN] CASE Server disabling CASE session setups
 [EM] Sending Standalone Ack for MessageCounter:158534876 on exchange 44080r
 [IN] Prepared unauthenticated message 0x200166f4 to 0x0000000000000000 (0)  of type 0x10 and protocolId (0, 0) on exchange 44080r with MessageCounter:30756970.
 [IN] Sending unauthenticated msg 0x200166f4 with MessageCounter:30756970 to 0x0000000000000000 at monotonic time:<PHONE_NUMBER>012BAD msec
 [EM] Flushed pending ack for MessageCounter:158534876 on exchange 44080r
 [SC] Received Sigma1 msg
 [IN] UDP Message Received packet nb : 17 SrcAddr : fd92:c8ce:db14:1:9477:e3af:d9f2:5bf7[59312] DestAddr : fd92:c8ce:db14:1:2a93:e1f0:bac1:c15a[5540] Payload Length 598
 [EM] Received message of type 0x32 with protocolId (0, 0) and MessageCounter:158534877 on exchange 44080r
 [EM] Found matching exchange: 44080r, Delegate: 0x2001da14
 [EM] Rxd Ack; Removing MessageCounter:30756971 from Retrans Table on exchange 44080r
 [EM] Removed CHIP MessageCounter:30756971 from RetransTable on exchange 44080r
 [EM] Sending Standalone Ack for MessageCounter:158534877 on exchange 44080r
 [IN] Prepared unauthenticated message 0x200166e4 to 0x0000000000000000 (0)  of type 0x10 and protocolId (0, 0) on exchange 44080r with MessageCounter:30756972.
 [IN] Sending unauthenticated msg 0x200166e4 with MessageCounter:30756972 to 0x0000000000000000 at monotonic time:<PHONE_NUMBER>012D44 msec
 [EM] Flushed pending ack for MessageCounter:158534877 on exchange [IN] UDP Message Received packet nb : 18 SrcAddr : fd92:c8ce:db14:1:9477:e3af:d9f2:5bf7[59312] DestAddr : fd92:c8ce:db14:1:2a93:e1f0:bac1:c15a[5540] Payload Length 71
 [EM] Received message of type 0x8 with protocolId (0, 1) and MessageCounter:101179939 on exchange 44081r
 [EM] Handling via exchange: 44081r, Delegate: 0x2000a894
 [DMG] Received command for Endpoint=0 Cluster=0x0000_002A Command=0x0000_0000
 [SWU] OTA Requestor received AnnounceOTAProvider
 [SWU]   FabricIndex: 1
 [SWU]   ProviderNodeID: 0x0000000000000001
 [SWU]   VendorID: 0x0
 [SWU]   AnnouncementReason: 0
 [SWU]   Endpoint: 0
 [DMG] Command handler moving to [ Preparing]
 [DMG] Command handler moving to [AddingComm]
 [DMG] Command handler moving to [AddedComma]
 [DMG] Decreasing reference count for CommandHandler, remaining 0
 [EM] Piggybacking Ack for MessageCounter:101179939 on exchange: 44081r
 [IN] UDP Message Received packet nb : 19 SrcAddr : fd92:c8ce:db14:1:9477:e3af:d9f2:5bf7[59312] DestAddr : fd92:c8ce:db14:1:2a93:e1f0:bac1:c15a[5540] Payload Length 26
 [EM] Received message of type 0x10 with protocolId (0, 0) and MessageCounter:158534878 on exchange 44080r
 [EM] Found matching exchange: 44080r, Delegate: 0
 [EM] Rxd Ack; Removing MessageCounter:30756973 from Retrans Table on exchange 44080r
 [EM] Removed CHIP MessageCounter:30756973 from RetransTable on exchange 44080r
 [IN] UDP Message Received packet nb : 20 SrcAddr : fd92:c8ce:db14:1:9477:e3af:d9f2:5bf7[59312] DestAddr : fd92:c8ce:db14:1:2a93:e1f0:bac1:c15a[5540] Payload Length 34
 [EM] Received message of type 0x10 with protocolId (0, 0) and MessageCounter:101179940 on exchange 44081r
 [EM] Found matching exchange: 44081r, Delegate: 0
 [EM] Rxd Ack; Removing MessageCounter:10318284 from Retrans Table on exchange 44081r
 [EM] Removed CHIP MessageCoun [DIS] Checking node lookup status after 200 ms
 [DIS] Node ID resolved for 03B67BB7E69B873D:0000000000000001
 [DIS]   Hostname: DCA632AB97FF0000
 [DIS]   IP Address #1: 0:0:0:0:0:0:0:0
 [DIS]   Port: 5540
 [DIS]   Mrp Interval idle: 5000 ms
 [DIS]   Mrp Interval active: 2000 ms
 [DIS]   TCP Supported: 1
 [DIS] Skipping IPv4 address during operational resolve.
 [DIS] Checking node lookup status after 5209 ms
 [DL] _OnPlatformEvent default:  event->Type = 32777
 [DL] OpenThread State Changed (Flags: 0x00000064)
 [DL]    Device Role: ROUTER
 [DIS] Checking node lookup status after 15000 ms
 [DIS] OperationalSessionSetup[1:0000000000000001]: operational discovery failed: 32
 [SWU] Failed to connect to node 0x0000000000000001: 32
 [EVL] LogEvent event number: 0x0000000000040004 priority: 1, endpoint id:  0x0 cluster id: 0x0000_002A event id: 0x2 Epoch timestamp: 0x000000DC6AD11448
 [DMG] Endpoint 0, Cluster 0x0000_002A update version to 9e76efe9
 [ZCL] Cluster callback: 0x0000_002A
 [EVL] LogEvent event number: 0x0000000000040005 priority: 1, endpoint id:  0x0 cluster id: 0x0000_002A event id: 0x0 Epoch timestamp: 0x000000DC6AD11448
 [SWU] Unknown idle state reason so set the periodic timer for a next attempt
 [SWU] Stopping the watchdog timer
 [SWU] Starting the periodic query timer, timeout: 86400 seconds
Proposed Solution
<suggested fix, suggested enhancement>

@iot-lorawan Have you tried this again with the newest release (0.4.0)?

If you need further assistance, please open a ticket on the community here.


fix: windows build

Signed-off-by: Javier López Barba<EMAIL_ADDRESS>Windows adds CRLF at the end of the files making docker container unable to get the mvnw script to work.
This PR removes the \r character injected by windows and adds permissions to run the script before running it

is sed -i cross platform?


Run Time Error 7m** FATAL ERROR value too large

link to .pklz
Standard Error Output:
160807-20:48:40,166 interface INFO:
stderr 2016-08-07T20:48:39.992265:++ Oblique dataset:/Volumes/Archive.ADS/ADS/analysis/qap/werk/C70550/w1/GoNoGo_2/func_slice_time_correction/EP-ep2d_3.nii.gz is 8.499994 degrees from plumb.
160807-20:48:40,166 interface INFO:
stderr 2016-08-07T20:48:39.992265:** FATAL ERROR: -ignore value 0 is too large
160807-20:48:40,167 interface INFO:
stderr 2016-08-07T20:48:39.992265:** Program compile date = Aug  2 2016
160807-20:48:40,670 workflow ERROR:
['Node func_slice_time_correction failed to run on host trash-can.local.']
160807-20:48:40,671 workflow INFO:
Saving crash info to /Volumes/Archive.ADS/ADS/analysis/qap/crash-20160807-204840-shad-func_slice_time_correction-b20c6ded-e1a8-45c6-bf31-9852d310a44c.pklz
160807-20:48:40,672 workflow INFO:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nipype/pipeline/plugins/linear.py", line 39, in run
node.run(updatehash=updatehash)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 394, in run
self._run_interface()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 504, in _run_interface
self._result = self._run_command(execute)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 630, in _run_command
result = self._interface.run()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nipype/interfaces/base.py", line 1043, in run
runtime = self._run_wrapper(runtime)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nipype/interfaces/base.py", line 1660, in _run_wrapper
runtime = self._run_interface(runtime)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nipype/interfaces/afni/base.py", line 128, in _run_interface
return super(AFNICommandBase, self)._run_interface(runtime)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nipype/interfaces/base.py", line 1694, in _run_interface
self.raise_exception(runtime)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nipype/interfaces/base.py", line 1618, in raise_exception
raise RuntimeError(message)
RuntimeError: Command:
3dTshift -prefix EP-ep2d_3_tshift.nii.gz /Volumes/Archive.ADS/ADS/analysis/qap/werk/C70550/w1/GoNoGo_2/func_slice_time_correction/EP-ep2d_3.nii.gz
Standard output:
Standard error:
++ 3dTshift: AFNI version=AFNI_16.2.07 (Aug  2 2016) [64-bit]
*+ WARNING:   If you are performing spatial transformations on an oblique dset,
such as /Volumes/Archive.ADS/ADS/analysis/qap/werk/C70550/w1/GoNoGo_2/func_slice_time_correction/EP-ep2d_3.nii.gz,
or viewing/combining it with volumes of differing obliquity,
you should consider running:
3dWarp -deoblique
on this and  other oblique datasets in the same session.
See 3dWarp -help for details.
++ Oblique dataset:/Volumes/Archive.ADS/ADS/analysis/qap/werk/C70550/w1/GoNoGo_2/func_slice_time_correction/EP-ep2d_3.nii.gz is 8.499994 degrees from plumb.
** FATAL ERROR: -ignore value 0 is too large
** Program compile date = Aug  2 2016
Return code: 1
Interface TShift failed to run.
160807-20:48:40,686 workflow INFO:
***********************************
160807-20:48:40,687 workflow ERROR:
could not run node: GoNoGo_2.func_slice_time_correction
160807-20:48:40,687 workflow INFO:
crashfile: /Volumes/Archive.ADS/ADS/analysis/qap/crash-20160807-204840-shad-func_slice_time_correction-b20c6ded-e1a8-45c6-bf31-9852d310a44c.pklz
160807-20:48:40,688 workflow INFO:
***********************************
Traceback (most recent call last):
File "/Users/shad/quality-assessment-protocol/scripts/qap_functional_spatial.py", line 10, in
obj.run()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/qap/cli.py", line 244, in run
results = self._run_here(run_name)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/qap/cli.py", line 187, in _run_here
results = pool.map(_run_workflow, wfargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/pool.py", line 251, in map
return self.map_async(func, iterable, chunksize).get()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/pool.py", line 567, in get
raise self._value
AttributeError: 'exceptions.RuntimeError' object has no attribute 'msg'

Hi Seldamat,
Can you re-run this with "write_all_outputs" set to True until it crashes again? I'd like for us to take a look at one of the intermediary files that is one step before 3dTshift.

Sure! I'll rerun it this afternoon and update this post.  Which file would you like to see? There is also a .pklz file that is produced.

I was thinking of trying this command again, from command line:
3dTshift -prefix EP-ep2d_3_tshift.nii.gz /Volumes/Archive.ADS/ADS/analysis/qap/werk/C70550/w1/GoNoGo_2/func_slice_time_correction/EP-ep2d_3.nii.gz
You would need that "func_slice_time_correction" intermediary file in order to do so. Note, if you try to run 1.0.6_dev_parallel like I mentioned in the other issue, this intermediary step will no longer be there, so I am not sure if you would still see this issue.

Ok, I am running on 1.0.6_dev_parallel -- I'll let you know if this issue comes up again.  I tried rerunning but the pipeline crashed out at PDF writing (accidentally left it at True)

Hi seldamat,
If you re-install QAP one more time (from 1.0.6_dev_parallel), and re-run, let me know if you still get the PDF crashes. And if you do, what the error is.
Thank you!

Ok I will try this again -- I think I ran into some other issues but I haven't had a chance to follow up with it.  I will post back here once the run is complete.

Hi sgiavasis -- I've reinstalled and tried to test the PDF crashes however I keep getting a type error that disallows me to do any testing of this bug report

Can you send me what the crash says?

@jpellman We should do some final runs/checks on this to make extra sure it's not still happening.


[Feature] [CLI] Add -uuid option

Feature request:
Please expose an optional CLI uuid (or deviceId)-option to start a test for a specific xcrun simctl uuid.
For example: maestro test --uuid B7E847F7-0EB9-499C-B738-9F5A5B5271AE ./pathToYaml
Context:
I've written a pretty elaborate maestro lane for testflight, which – in theory – should allow maestro tests to run on multiple devices in parallel. However, once multiple iOS simulators are running and I'm trying to start tests via maestro test … the shell displays this non-interactive / broken prompt
[19:48:37]: ▸ iOS
[19:48:37]: ▸ iOS
[19:48:37]: ▸ [1] iPhone SE (3rd generation) - iOS 16.2 - 4DDAF6CA-C130-46D2-AD67-60E23C7C0D97
[19:48:37]: ▸ [2] iPhone 14 Pro Max - iOS 16.2 - B7E847F7-0EB9-499C-B738-9F5A5B5271AE
[19:48:37]: ▸ Multiple running devices detected. Choose a device to run on.
[19:48:37]: ▸ Enter a number from the list above:
[19:48:37]: ▸ [1] iPhone SE (3rd generation) - iOS 16.2 - 4DDAF6CA-C130-46D2-AD67-60E23C7C0D97
[19:48:37]: ▸ [2] iPhone 14 Pro Max - iOS 16.2 - B7E847F7-0EB9-499C-B738-9F5A5B5271AE
[19:48:37]: ▸ Multiple running devices detected. Choose a device to run on.
[19:48:37]: ▸ Enter a number from the list above:

(Note: Duplicates are a result of running two threads in parallel)
I've just scanned over idb's and Maestro's code and I think parallelism should technically be supported by both frameworks once an -uuid option is passed to the appropriate methods. Unfortunately I wasn't able to pin-point it down, yet.
Maybe you guys could look into it? Thanks!

Oh snap, thanks! I was looking up the meastro test command all the time, that's why I couldn't find it 🙈


No 'Access-Control-Allow-Origin' header is present on the requested resource.

How can I use ziplocate.us service with that?

It seems that this issue has popped back up again. I am trying to use your api via an asynchronous ajax request on codepen.io.


GEE C++ code should be build-able without the use of gnu extensions

Currently the std parameter to the compiler needs to be std=gnu++98 or soon will need to be std=gnu++11 (see #774).  GEE code should compile without the need of gnu extensions.  If the gnu extensions are needed for a third party library to build and there isn't a newer version or an alternate library we can use then we should isolate the need for the gnu extensions to only that library (and maybe a small wrapper library) and this requirement should not 'bleed over' to the rest of the code base so as much code as possible can build without gun extensions.

@tst-rwildes can this be closed? It has a PR. The only place I see gnu++ still being used is in the portable build.


IS it working with game pass version ?

When i run Snowrunner tool, it says there is no save yet, even though I have a save on Gamepass.

Hi,sorry, the tool does not work with the Xbox version of the game.Am 05.11.2023 18:58 schrieb Etshy @.***>:
When i run Snowrunner tool, it says there is no save yet, even though I have a save on Gamepass.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


Add support for yaml-patch

It would be cool if the tool would support patching the YAML data using yaml-patch.
A good example would be adding an annotation to all resources, like github.com/patrickdappollonio/kubectl-slice: "true":
$ cat input.yaml
apiVersion: v1
kind: Pod
metadata:
  name: nginx-ingress
---
apiVersion: v1
kind: Namespace
metadata:
  name: production

$ cat patch.yaml
- op: add
  path: /metadata/annotations
  value: {}
- op: add
  path: /metadata/annotations/github.com~1patrickdappollonio~1kubectl-slice
  value: "true"

Then running kubectl-slice will render the files:
apiVersion: v1
kind: Pod
metadata:
  annotations:
    github.com/patrickdappollonio/kubectl-slice: "true"
  name: nginx-ingress

apiVersion: v1
kind: Namespace
metadata:
  annotations:
    github.com/patrickdappollonio/kubectl-slice: "true"
  name: production

Some unknowns though:
FIRST. If patching fails, do we error out? Do we warn and continue? A good example above is that our patch first needed to add the annotation otherwise it would've failed if we try to add the annotation directly, without creating the node first:
yamlpatch add operation does not apply: doc is missing path: /metadata/annotations/github.com~1patrickdappollonio~1kubectl-slice

SECOND. Do we apply filters before or after patching? For example, you could have a resource that doesn't have a kind: Foo but a patch that adds it. If you use --include-kind Foo then this resource would be added only after the patch is executed. So we need to decide if we patch-then-filter or filter-then-patch.

As a feedback for the second point, I think it would be good if you filter-then-patch. The argument could be that you don't call kubectl-slice wanting to patch resources. You could pre-patch using other tools, pipe to kubectl-slice, then patch after filtering.
That, or I add a --prepatch and/or --postpatch. 😋

Another thought: in order to be able to process multiple resources, rather than simply providing the patch, we should provide something similar to kustomize YAML:
- patches:
  - op: <op>
    path: <json-path>
    value: <object>
  target:
    kind: <optional kind>
    name: <optional name>

For example, to rename the ingress-nginx above and add the annotation:
$ cat pod.yaml
apiVersion: v1
kind: Pod
metadata:
  name: nginx-ingress

$ cat patch.yaml
- patches:
  - op: replace
    path: /metadata/name
    value: new-ingress-nginx
  - op: add
    path: /metadata/annotations
    value: {}
  - op: add
    path: /metadata/annotations/github.com~1patrickdappollonio~1kubectl-slice
    value: "true"
  target:
    kind: Pod
    name: ingress-nginx

If you would rather still target all objects, you could do (note the lack of a target):
- patches:
  - op: add
    path: /metadata/annotations
    value: {}
  - op: add
    path: /metadata/annotations/github.com~1patrickdappollonio~1kubectl-slice
    value: "true"

I think this is a good though, but an extension of the tool I wouldn't use, as this patch is not a k8s resource explicitly (thus making an edge case for it)
I am not sure how it would be best to fail over if this happens..
I feel having it not return anything but the error is the path I would take as it forces the user to understand the error and not allow to continue with a broken config

True! Additionally, one of the main benefits of this tool is that it preserves the original YAML as much as possible, comments and all. Adding patch support means we need to parse the YAML to Go, apply the patch, then convert it back to YAML, which will make it lose any comments, for example.
Still need to think about the best approach for it.

To wrap this discussion, I think we'll keep kubectl-slice true to its nature, of slicing files. Perhaps I can create another software whose sole purpose is to apply patches.


Cubic Bézier easing?

See mbostock/d3#1982. The only problem is that it’s kind of a pain to evaluate a cubic Bézier for y given x (rather than t), so it probably requires a numerical solution.

I've implemented a new function here https://observablehq.com/d/e7d4fef33e304f2b
Compared to a reference implementation: unless I'm mistaken, we get the same speed, and our results are more accurate for the limiting cases of x1=0 and y1=1.


Also search .window.js, .worker.js and .any.js

It looks like this tool limits results to .html files, but tests can also use  .window.js, .worker.js and .any.js, see http://web-platform-tests.org/writing-tests/testharness.html
A slight complication is that on wpt.fyi the paths for those tests are not the same as the filename, and .any.js usually maps to more than one test. Maybe you could output the path and use the filname (without .js) in q= e.g. https://wpt.fyi/results/animation-worklet?label=master&label=experimental&aligned&q=idlharness.any
(Tests can also use basically any file extension, but at least .xhtml is also somewhat common.)

I guess more fundamentally you could either have a "files" view or a "tests" view, and getting the latter right is more complex. Also note that .html files could be "helper" files i.e. not tests.
Use wpt manifest to create a manifest of all tests. See https://web-platform-tests.org/search.html?q=manifest

@zcorpan Solid idea! Would you mind opening a PR for that? If not, I can try to get to that next week.
Thanks for contributing!

I don't have the bandwidth currently :)


New App Submission - WATT ME

App Logo (Required)

App Details (Required)
Type: Wallet
Name: WATT ME
Description: WATT.ME more than just a wallet Multifunctional app for storing, buying and professional crypto currency trading as well as NFT-tokens storing.
Homepage Url: https://watt.me/
Chains supported: ETH, Polygon, BSC
Versions supported: 1
App Url (Required - at least one)
Browser Url: https://watt.me/
iOS Url: https://apps.apple.com/ru/app/watt-me/id1594847330
Android Url: https://play.google.com/store/apps/details?id=watt.wallet&hl=ru&gl=US
Mac Url: -
Windows Url: -
Linux Url: -
Mobile Linking (Optional)
Deep Link: wattwallet://wallet-connect/
Universal Link: -
Desktop Linking (Optional)
Deep Link: wattwallet://wallet-connect/
Universal Link: -
Metadata (Optional)
Short Name: WATT ME
Primary Color: #F5EB51
Secondary Color: #282828

Added to the cloud registry