all files contains my dart code in android studio change to this code if i leave the project for some days

Hi @MahmoudElbokl
I'm not sure how this issue is related to flutter;
can you please provide your flutter doctor -v
and describe the issue in details?
Also, to better address the issue, would be helpful
if you could post  a minimal code sample
or the steps to reproduce the problem.
Thank you

Flutter Doctor
C:\src\flutter\bin\flutter.bat doctor --verbose
[√] Flutter (Channel stable, v1.12.13+hotfix.5, on Microsoft Windows [Version 6.3.9600], locale en-US)
• Flutter version 1.12.13+hotfix.5 at C:\src\flutter
• Framework revision 27321ebbad (2 weeks ago), 2019-12-10 18:15:01 -0800
• Engine revision 2994f7e1e6
• Dart version 2.7.0
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\M\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
• All Android licenses accepted.
[√] Android Studio (version 3.5)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 42.1.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
[√] VS Code (version 1.41.1)
• VS Code at C:\Users\M\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.7.1
[!] Connected device
! No devices available
! Doctor found issues in 1 category.
Process finished with exit code 0

the issue is the project when i use it work with me no problems in it when i stop and return to it after some days i found it the code change to this code like the picture and i found some files code change like this
/// Builds indication marks for PageView from any Widget and/or Animation.
library page_view_indicator;
import 'dart:math';
import 'package:flutter/material.dart';
import 'package:page_view_indicator/src/indicator.dart';
export 'src/circle.dart';
typedef Widget IndicatorBuilder(AnimationController controller, int index);
/// The Indicator Widget, you would likely put it next to your PageView.
class PageViewIndicator extends StatefulWidget {
/// [pageIndexNotifier] is how we can properly handle page changes.
/// [length] is how much pages there is in the [PageView].
/// [normalBuilder] is how we should build the Indicator at its normal state.
/// [highlightedBuilder] is how we should build the Indicator at its highlighted state.
/// [currentPage] gives you the ability to star the Indicator at a given index.
/// [indicatorPadding] space around each Indicator.
PageViewIndicator
(
{
Key
key
,
@required
this
  .

pageIndexNotifier
,
@required
this
  .

length
,
@required
this
  .

normalBuilder
,
@required
this
  .

highlightedBuilder
,
this
  .

currentPage
=
0
,

Hi @MahmoudElbokl
could it be that you updated flutter in the meantime?
Could you please run
flutter clean
flutter pub cache repair
let me know if the issue persists
thank you

thank you for your answer


arm64 support gicv2m for pci irq

Summary
Impact
Testing

[Experimental Bot, please feedback here]
I need the content of the PR to assess if it meets the requirements. Please provide the following:

The actual PR content:  This includes the PR description, code changes, and any relevant comments.
Links to any related issues or PRs: This will help me understand the context of the changes.

Once I have this information, I can provide a concise analysis of whether the PR meets NuttX requirements.


Update log-analytics-log-search-transition.md

fixed typo about iif

@kongou-ae : Thanks for your contribution! The author, @bwren, has been notified to review your proposed change.

Sorry, I obviously missed this one.  This article has since been retired.

#please-close


LocalAsyncWorkerRef throw NullPointerException

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[1] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
What the reason about this exception and how to resolve ?

Bug

Which version of SkyWalking, OS and JRE?
skywalking 5.0
os linux
jre 1.8

Which company or project?
guazi.com
maodou.com

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

NPEs happen in alarm module. Some have been fixed in RC2, and one in this PR, https://github.com/apache/incubator-skywalking/pull/1661


Fix minor issue at problem #30

Hey Riccardo,
Good day. When slicing the original array, index should be one more.
Cheers

Thank you man :) Well spotted. Merging.


Logo design contribution

Hall0 @JakeWharton
Interesting about your this projects.i am a designer want to make a logo for this projects if you have any requirements then let me know.its free for any open source projects
Thank you

A logo was already contributed by a designer which I'm quite happy with, so I don't need a new one designed at this time. You can find it here: https://github.com/JakeWharton/SdkSearch/tree/master/art. Thanks for offering, though!

its ok


pip install tasklib seems to get the version wrong.

The current version that pip seems to pick up from pypi seems off in a couple of places.
Currently the pyproject.toml file (in the tar.gz from pypi - not on github) has version 1.30 and refers to older versions of pytz and tzlocal.
I find fewer issues when I replace pyproject.toml versions (not in github) with this:
[tool.poetry]
...
version = "2.1.1"
...
[tool.poetry.dependencies]
pytz = "2020.1"
tzlocal = "2.1"
...
A better workaround may be to remove it entirely or use git+https://github.com/robgolding/tasklib but figured you might want to know.

Hey @sridhars, thanks for the report! Turns out that file was included in the distribution by accident, but I think it should not affect the project in any way.
If so I can publish a new version without the pyproject.toml in there!

Yes. I tested it with a modified tar.gz file to confirm. Having the file (as it is currently) pins the version of pytz and tzlocal to older versions. Thanks!

I had the same problem, tasklib installed with version 1.3.0 for me and didn't want to use any newer version - thus I encountered https://github.com/robgolding/tasklib/issues/38

❯ sudo pip3 install tasklib
Collecting tasklib
  Downloading tasklib-2.1.1.tar.gz (23 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Requirement already satisfied: pytz==2019.3 in /usr/local/lib/python3.8/dist-packages (from tasklib) (2019.3)
Requirement already satisfied: six==1.14.0 in /usr/local/lib/python3.8/dist-packages (from tasklib) (1.14.0)
Requirement already satisfied: tzlocal==2.0.0 in /usr/local/lib/python3.8/dist-packages (from tasklib) (2.0.0)
Building wheels for collected packages: tasklib
  Building wheel for tasklib (PEP 517) ... done
  Created wheel for tasklib: filename=tasklib-1.3.0-py2.py3-none-any.whl size=24177 sha256=47867ec25fd8f5be7a9414b08a2a857635ae08b9c2dd211c76439d7536f9ea82
  Stored in directory: /tmp/pip-ephem-wheel-cache-fkz4qfrg/wheels/8e/f1/e4/366adb442f7ef514874f484fa32435e50b0f6a5ed03f5d81da
Successfully built tasklib
Installing collected packages: tasklib
Successfully installed tasklib-1.3.0

wait what?
It collected the 2.1.1 but the result was 1.3.0?

And https://github.com/robgolding/tasklib/issues/38 stays broken for me...

Okay, I got #38 wrong - the issue I have is not addressed yet. just successfully installed the latest version via
pip install git+https://github.com/robgolding/tasklib
and my actual issue (tag format - https://github.com/tbabej/taskpirate/issues/11) is still not solved

Just ran into the same problem. @robgolding would you accept a pull request to fix the issue (assuming it can be fixed this way) , so we can get a correct version on pypi?

Sorry about this folks, I've released a new version 2.2.0 which resolves the issue: https://pypi.org/project/tasklib/2.2.0/.
rob@boron:~/src
$ pip install --no-cache-dir tasklib==2.2.0
Collecting tasklib==2.2.0
  Downloading tasklib-2.2.0.tar.gz (23 kB)
Collecting pytz
  Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB)
     |████████████████████████████████| 510 kB 3.7 MB/s
Collecting tzlocal
  Downloading tzlocal-2.1-py2.py3-none-any.whl (16 kB)
Using legacy 'setup.py install' for tasklib, since package 'wheel' is not installed.
Installing collected packages: pytz, tzlocal, tasklib
    Running setup.py install for tasklib ... done
Successfully installed pytz-2020.1 tasklib-2.2.0 tzlocal-2.1


doc: Update README.md

Basic spelling and grammar changes, and also updated away from "standard readme" in the contributing section.

Thanks! But the commit message  needs to be modified. You can take a look at this Conventional:  https://www.conventionalcommits.org/en/v1.0.0/#summary

Done.

Thanks!


adjust python3.6

adjust python 3.6

I was not aware of typing_extensions
Thank you for contributing @xiashuqin89!


v2.4.0 added breaking change now requiring a configuration file.

This has always been defined as an optional file and environment overrides were fine.
Upgrading from 2.3.2 to 2.4 is hard failure in all of my deployments.
https://github.com/mailgun/gubernator/commit/452c5b5e102c740f2f404007a343f1811d713637#diff-906dccb3a093f9867818c8b4ded48155bae5a39d40f0c408869e8b0820b8e60dR79

@pbennett thank you for reporting this, I have a PR with a fix and added a test for this regression.


3 existing FileCatalog cmdlet tests fail when running in PowerShell Core on the AppVeyor build VM (Windows Server 2012R2)

Note that all tests pass in PowerShell Core on Windows 10 machine. However, 3 of them fail on the AppVeyor build VM, which is Windows Server 2012R2. These 3 tests are disabled for now.
Steps to reproduce
powershell\test\powershell\Modules\Microsoft.PowerShell.Security> Invoke-Pester .\FileCatalog.Tests.ps1

Expected behavior
All tests pass
Actual behavior
3 tests fail on the AppVeyor build VM (windows 2012R2)

NewFileCatalogWithMutipleFoldersAndFiles
Expected: {AFEB46104F506FC64CAB4B0B2A9C6C50622B487A}
But was:  {ECEE0E902E1392D02D17B1A0C553925D365048EF}
NewFileCatalogVersion2WithMutipleFoldersAndFiles
Expected: {6591FE02528D7FB66F00E09D7F1A025D5D5BAF30A49C5FF1EC562FAE39B38F43}
But was:  {F699D4CA967D1CC303E6AEE4B213646298D11890DB3241439C4232A5353A76CC}
NewFileCatalogWithUnicodeCharactersInFileNames
Expected: {6591FE02528D7FB66F00E09D7F1A025D5D5BAF30A49C5FF1EC562FAE39B38F43}
But was:  {F699D4CA967D1CC303E6AEE4B213646298D11890DB3241439C4232A5353A76CC}

Environment data

> $PSVersionTable

Name                           Value
----                           -----
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
GitCommitId                    v0.5.0-271-g32e74b8a6380fc1e95e737ff93244b788f7eac33
BuildVersion                   <IP_ADDRESS>
PSRemotingProtocolVersion      2.3
PSVersion                      5.1.10032.0
PSEdition                      Core
CLRVersion
WSManStackVersion              3.0
SerializationVersion           <IP_ADDRESS>

@daxian-dbw is this still an issue? It looks like two of the tests have been removed and the third is not commented out.


Snowflake - HenHen

Hello there! I made some art for Blot for arcade. It's been really fun and a good programming challenge. It's a new snowflake everytime just like in real life.

Thanks for the submission! I think this piece is a bit too simple. While not a perfect measure aim for at least  150 lines of code.

I'm going to close this for housekeeping but please submit again later.


Request Authorize Page, SIGN IN button disabled

I've making "Dropbox App Type" using this SDK
and its work when authorize, delete file, create folder, download and upload.
But today my login page Login Button Disabled.

I'm using WebBrowser Component form Visual Studio 2015.
IE version 11

Upload, Delete work normal. Just Sign In button disabled.
Test on IE using the authorizeUri link, its work normal.
Thanks for advice.

Thanks for the report. We've looked into this, and unfortunately it seems that the "WebBrowser Component" is actually using an older version of Internet Explorer (effectively IE 9), even though a newer one (IE 11) is installed on the system.
The older version (IE 9) isn't officially supported by dropbox.com though, so it's not guaranteed to work there.
That being the case, we recommend upgrading the browser control if possible, or more ideally, using the system browser instead of an embedded browser. The latter is our current guidance, per the OAuth 2 /authorize documentation.
(Otherwise, users using the Google Sign In flow may not be able to use your app in the future anyway.)

Thanks. Solved.
https://stackoverflow.com/questions/17922308/use-latest-version-of-internet-explorer-in-the-webbrowser-control

For reference, this should be working again now. We still recommend using the system browser though for the best compatibility.


Citations

When I want to add a citation, and click the "search PubMed" button, I see a pop-up menu, which appears after some seconds, but I don't see if the search worked. Maybe displaying another pop-up menu stating: "citation found for (ID user added)", would help users to understand the search actually worked (you would normally see that when all field were filled in). Also, what happens if the search doesn't work? I tried to search for PubMed ID "1", the same thing as a above happened, only when I clicked "Ok", I got a warning message (meaning the search didn't retrieve any results I assume). I would think that a second pop-up, stating "your search with PMID (IS users added) did not retrieve any results" would again be very useful.

This error message is not what you want people to do, right (I searched for PMID 1, again)? As in, when I fill in an ID which doesn't retrieve results, I want people to actually fix the ID, not add a database and be able to add the citation anyway (see second printscreen)

I can add DOIs as PubMed, and vice versa (I think checking for the content of the ID shouldn't be difficult right? a DOI always contains a / I believe, while a PMID has a specific length and should only be numeric); and also, we don't want people to put in PubMed central IDs iso PMID, right?

Why do we actually still have a "Query Pubmed" button? Is this there to check if the ID is valid? Since the additional info regarding the citation is not stored in GPML2021 anymore, right?

Why do we actually still have a "Query Pubmed" button?

I looked into a "Query Crossref" (for DOIs) before and will not hard to add.

I agree about the "Query Pubmed" button. That can be removed. And some basic checking of the pattern is a good idea.

A counter argument that came up yesterday is that the button is a way for the user to check if the have the correct identifier. Better see that while the dialog is open, then after.

Yes, it's very relevant for users to check.... but, if there's a button that you click which doesn't show any output, it's a bit confusing. Having a pop-up that shows the "retrieved" data from pubmed/DOI, with a button in the pop-up saying "accept reference" or decline", that would be really useful for data curation.


avx512vl.h: Add SSE2 fallback to simde_mm_mask_mov_epi8.

I think this is likely to be heavily used (indirectly).
So add an SSE2 fallback for systems without SSE4.1.

I tried to rebase onto the current master.
But this seems to have doubled the commit :-(

Looks good, thanks!

I tried to rebase onto the current master.
But this seems to have doubled the commit :-(

It looks like you did a merge not a rebase.  No worries, a quick rebase is still al it needed.  It's going through CI, I'll merge it into master as soon as it's done.
FWIW, all I had to do was git rebase origin/master.  I actually edited the commit message a bit too to add the issue number, but that's not necessary; I only bother with that if I'm already rebasing or editing the commit… it's just nice to be able to quickly find the relevant PR in case there is additional discussion, but for this PR it's probably a waste since no discussion is necessary.


Update app demo link

Codecov Report
All modified lines are covered by tests :white_check_mark:
see 1 file with indirect coverage changes
:loudspeaker: Thoughts on this report? Let us know!.


Debugging broken for imported PowerShell modules

VSCode Version: 1.31.0
OS Version: Server 2012 R2

Since upgrading to 1.31.0 I am no longer able to step-through imported modules in PowerShell.  Previous behavior was that I would set a breakpoint on the call to the module in question and when "stepping into" the call (using F11) the module source would be loaded and I could step through.  New behavior is that I can use F11 to step through the module code but I am doing so "blind", the module source isn't opened, if I opened it previously it is not given focus, if I manually give it focus there is no highlight of the current line and when I hit F11 again the main script window is given focus again.
Setting breakpoints in the open module window doesn't change anything.
I'm using the integrate PowerShell terminal

When this happens could you please open the "Dev Tools" with the "Toggle Developer Tools" action and see whether there are any errors in the console.

I've never used the Dev Tools before so hopefully I did it correctly, this is all I see in the Console tab;
[Extension Host] debugger listening on port 4614
extensionHost.ts:231 Extension Host
extensionHost.ts:232 Debugger listening on ws://<IP_ADDRESS>:4614/33fc9633-232d-4004-818d-e91f2fc619d8
For help, see: https://nodejs.org/en/docs/inspector
log.ts:161  INFO no standard startup: not a new window

Most likely this is a duplicate of https://github.com/PowerShell/vscode-powershell/issues/1750 which happens to be a duplicate of https://github.com/Microsoft/vscode/issues/68616.

/duplicate #68616


Router Prefix doesn't work for report screenshots

Describe the bug
When running the following command:
pnpx @unlighthouse/cli --debug --output-path ./tmp --site devminer.xyz --build-static --router-prefix /reports/mobile --mobile

the generated files will contain the /reports/mobile prefix for all files EXCEPT for the preview screenshots.

Reproduction
No response
System / Nuxt Info
System:
    OS: Linux 6.5 Alpine Linux
    CPU: (48) x64 Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
    Memory: 144.39 GB / 204.49 GB
    Container: Yes
    Shell: 1.36.1 - /bin/ash
  Binaries:
    Node: 20.11.1 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.4 - /usr/local/bin/npm
  Browsers:
    Chromium: 121.0.6167.184

Never mind, apparently this was an issue with my webserver and how it handles a having a trailing slash vs not having one.


Missing attachment parameter documentation

Hi,
the documentation link for how to specify attachments seems to point to an API that is different from the actually working attachment API.
Using the documented API results in missing attachments (there should be an error message for attachments that are not correctly specified, but there isn't. Always sanitize your input arguments! :) )
This is working for me:
attachments: [{
  fileName: "my-file.jpg",
  filePath: 'https://s3…/my-file.jpg',
  contentType: 'jpg'
}]

Not working for me:
attachments: [{
  filename: 'license.txt',
  path: 'https://raw.github.com/andris9/Nodemailer/master/LICENSE'
}],

Note the different case fileName vs. filename and filePath vs. path here.
I couldn't find out when the API exactly changed, but did this write-up so hopefully it helps somebody who needs to get attachments working with meteor-emails.
Thanks for your otherwise awesome package!

Hi there!
Thanks for reporting in. What a mass, the official Meteor docs points to this: https://github.com/nodemailer/mailcomposer/blob/7c0422b2de2dc61a60ba27cfa3353472f662aeb5/README.md#add-attachments which is inconsistent with the main, master README in the MailComposer repo .. The options described in the link matches the ones in your successful test above.
Since I pass this option on to Meteor's Email module, I feel it's not up to this package to validate the keys inside of an attachment array. But I'll update the README with the correct info.

Added docs in https://github.com/lookback/meteor-emails/commit/69d6b0e0836cf236517377402203bafbd27a42cc.

The sanitizing reminder was a general thing and not directed at you ;) Thanks for your effort!

No worries! Do the changes in the commit above work well now, you think?

Yes! :+1:

Sweet! Thanks again.


Goal Recalculate issue

I have the latest version of the tools installed.
I have created a workflow that triggers a Goal Recalculate after certain conditions are met on a Case entity.
The workflow triggers ok and even shows the correct Last Rollup date in the relevant Goal entity, however the rollups associated with the goal do not actually roll-up. When I use the manual Goal recalculate button however - it does rollup as you would expect.
For some reason the Goal Recalculate workflow updates the Last Rollup date correctly, but does not rollup the goals associated rollup fields.
I have set both the Goal name and the new Goal GUIDS correctly. Any ideas? Could it possibly be related to the other users rollup issue just added?
many thanks,
Sipowers

Hi Sipowers,
I'm not sure to undestand your issue, can you share some screenshots about your goal, and your Workflow params?
Are you talking that the Parent Goal y updated ok, but the child Goals are not updated? When you click on the "Recalculate" button in Goal form, it recalculates the parent Goal and the child ones (the whole tree), but my Action only recalculate the Goal with the "Guid" you passed as parameter.
regards!

Hi, its the Parent goal - I have no child goals. Your workflow is triggered and runs fine - last rollup date on the goal shows the date/time it ran - again fine. But... the rollups (Actuals etc.) associated with the goal - have not 'rolled up' the data. When I click the Manual 'Recalculate' on the goal, everything rolls up as normal. Hope that helps.

Hi,  sharw with me ypur example with screenshots,  and I'll reproduce the same behavior to identify and fix the issue.
Thanks

Ok will do, thanks Demian

Seems to be working now! Many thanks.

Thanks for your feedback!


Positional parameters

My use case is that I use the elixir client with a read-only CH user that caches the result, so here I would trade some performance for cleaner code.
I see that you removed the ?<number> in https://github.com/appodeal/clickhouse_ecto/pull/7
My queries require a lot of repeating parameters, so I forked the repo and fixed some issues https://github.com/santiment/clickhouse_ecto/pull/1.
Are you planing to go forward without supporting positional parameters at all? Or maybe implement both? In case you are interested I would try to find some free time to work in that direction and try to improve the performance as well.

@IvanIvanoff could you provide a code example for ecto query with multiple params with the same ?1 placeholder? I couldn't think of such cases in our code, that's why I though it will be safe to remove positional arguments. (like in mysql adapter)

@scarfacedeb For one of my use cases I'm writing plain sql and execute it with ClickhouseRepo.query.
Example is to fill gaps when bucketing into time intervals see this code:
query = """
    SELECT SUM(value), time
    FROM (
      SELECT
        toDateTime(intDiv(toUInt32(?4 + number * ?1), ?1) * ?1) as time,
        toFloat64(0) AS value
      FROM numbers(?2)
      UNION ALL
      SELECT toDateTime(intDiv(toUInt32(dt), ?1) * ?1) as time, sum(value) as value
      FROM transfers
      PREWHERE from IN (?3) AND NOT to IN (?3)
      AND dt >= toDateTime(?4)
      AND dt <= toDateTime(?5)
      GROUP BY time
      ORDER BY time
    )
    GROUP BY time
    ORDER BY time
    """
    args = [
      interval,
      span,
      wallets,
      from_datetime_unix,
      to_datetime_unix
    ]

On second thought, clickhouse itself doesn't support any placeholder params at all.
Therefore any params-related features will be implemented in the clickhousex only, without the db support.
On the one hand, It gives certain flexibility to the implementation. On the other hand, it means extra support for that feature.
In contrast to postgres that supports ordered params out of the box, and therefore it makes sense to use them in postgrex.
I guess only the maintainer can tell if it's worth pursuing.

@scarfacedeb I'm still not convinced where it should be handled. clickhouse_ecto translates the query from containing ?<num> to plain query containing plain ? and updates the argument list accordingly. In my opinion clickhousex should implement only syntax that ClickHouse understands.
Are you aware of any such situation in other adapters and how they handle it?
Now when I think about it I'm also not sure if adding features not supported by ClickHouse brings more benefit or more harm.

@IvanIvanoff

Now when I think about it I'm also not sure if adding features not supported by ClickHouse brings more benefit or more harm.

yep, that's exactly what I was thinking in the message above :)

Are you aware of any such situation in other adapters and how they handle it?

As far as my understanding goes,
postgrex supports positional params, because postgres itself supports them (see: https://github.com/elixir-ecto/postgrex/blob/43aa6b964043dd8726dba363245aebd3734bde47/lib/postgrex/messages.ex#L289)
Ecto.Adapters.Mysql only supports ? params. (and it looks like mariaex sends those params directly: https://github.com/xerions/mariaex/blob/16d8abcfe479005651bd11050303382448664e6a/lib/mariaex/protocol.ex#L487)

@scarfacedeb

what do you think?
I think that you were right when said that clickhouse itself doesn't support any placeholder params at all. And also, as @IvanIvanoff said:
Now when I think about it I'm also not sure if adding features not supported by ClickHouse brings more benefit or more harm.
:)


Fix code scanning alert - SQL query built from user-controlled sources

Tracking issue for:

[ ] https://github.com/martinyy108/CodeQL/security/code-scanning/2

fixed the sql bug


Fix namespace

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Fixed issues
Wrong namespace

Thanks.


RooBernsteinFast doesn't work like RooBernstein

This is not a huge issue (I hope), but I am currently looking for any ROOT.RooBernstein replacements since ROOT.RooBernstein doesn't play nice with combine's MultiPdf, as mentioned in the reply of this CMS Talk post. I am hoping that comebine's RooBernsteinFast function would work, so I tried to use in in pyROOT as shown below:
import ROOT as rt

name ="coeff"
BernCoeff_list = rt.RooArgList(
    rt.RooRealVar(name,name, 1.0,-2.0, 2.0)
)
mass_name = "dimuon_mass"
mass =  rt.RooRealVar(mass_name,mass_name,120,110,150)
name = "bern model"
bern_model = rt.RooBernsteinFast(name, name, mass, BernCoeff_list)

and it gives me this error:
Traceback (most recent call last):

  File [/depot/cms/kernels/root632/lib/python3.12/site-packages/IPython/core/interactiveshell.py:3577](https://cms.geddes.rcac.purdue.edu/depot/cms/kernels/root632/lib/python3.12/site-packages/IPython/core/interactiveshell.py#line=3576) in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)

  Cell In[3], line 8
    bern_model = rt.RooBernsteinFast(name, name, mass, BernCoeff_list)

  File [/depot/cms/kernels/root632/lib/python3.12/site-packages/cppyy/_cpython_cppyy.py:143](https://cms.geddes.rcac.purdue.edu/depot/cms/kernels/root632/lib/python3.12/site-packages/cppyy/_cpython_cppyy.py#line=142) in __call__
    return self.__getitem__(*args)

  File [/depot/cms/kernels/root632/lib/python3.12/site-packages/cppyy/_cpython_cppyy.py:88](https://cms.geddes.rcac.purdue.edu/depot/cms/kernels/root632/lib/python3.12/site-packages/cppyy/_cpython_cppyy.py#line=87) in __getitem__
    pyclass = _backend.MakeCppTemplateClass(*newargs)

  File <string>
SyntaxError: could not construct C++ name from provided template argument.

my pyROOT version is 6.32.00, and combine version is  v10.0.1. Thank you in advance!

Hi, RooBernsteinFast is a template class on the order. You need to specify the template both in C++ and python.
IIRC, this berstein implementation solves an intrinsic degeneracy (remember that we need a separate normalization term) in the definition that in the past was present in the RooBerstein, by setting the first coefficient to 1. This is correct for falling spectra or for spectra that do not start from 0.
In python you can do something like:
bern = ROOT.RooBernsteinFast(order)("pdf_bern_cat","bernstein",mmm, coeff)

Thank you for the prompt response; I really appreciate it. I have updated my reproducer code in this manner :
import ROOT as rt
import numpy as np
import awkward as ak

name ="coeff"
BernCoeff_list = rt.RooArgList(
    rt.RooRealVar(name,name, 0.25,0, 2.0),
    rt.RooRealVar(name,name, 0.25,0, 2.0)
)

mass_name = "dimuon_mass"
mass =  rt.RooRealVar(mass_name,mass_name,0.5,0.0,1.0)
# mass =  rt.RooRealVar(mass_name,mass_name,125,110,150)
mass.setBins(80)

# generate exp decay data
mass_arr = np.random.uniform(size=100)
mass_arr = np.exp(-100 * mass_arr)
roo_dataset = rt.RooDataSet.from_numpy({mass_name: mass_arr}, [mass])
roo_hist = rt.RooDataHist("data_hist","data_hist", rt.RooArgSet(mass), roo_dataset)

name = "bern model"

order = 3
bern_model =  rt.RooBernsteinFast(order)("pdf_bern_cat","bernstein",mass, BernCoeff_list)
rt.EnableImplicitMT()
bern_model.fitTo(roo_hist, EvalBackend="cpu", Save=True)

Running this script still returns this Segfault:
 *** Break *** segmentation violation
 Generating stack trace...
 0x00007f18c39d205e in RooAbsCollection::insert(RooAbsArg*) + 0xae from /depot/cms/kernels/root632/lib/libRooFitCore.so.6.32.00
 0x00007f18c39d2418 in RooAbsCollection::add(RooAbsArg const&, bool) + 0x38 from /depot/cms/kernels/root632/lib/libRooFitCore.so.6.32.00
 0x00007f18c39990e5 in <unknown> from /depot/cms/kernels/root632/lib/libRooFitCore.so.6.32.00
 0x00007f18be71faa4 in <unknown function>
 0x00007f18be71f255 in <unknown function>
 0x00007f18be71f077 in <unknown function>
 0x00007f1d20a01bfe in <unknown> from /depot/cms/kernels/root632/lib/python3.12/lib-dynload/../../libcppyy_backend.so
 0x00007f1d20a026dc in Cppyy::CallConstructor(long, unsigned long, unsigned long, void*) + 0x2c from /depot/cms/kernels/root632/lib/python3.12/lib-dynload/../../libcppyy_backend.so
 0x00007f1d00203e2a in <unknown> from /depot/cms/kernels/root632/lib/python3.12/site-packages/libcppyy.so
 0x00007f1d00204196 in CPyCppyy::CPPMethod::Execute(void*, long, CPyCppyy::CallContext*) + 0x56 from /depot/cms/kernels/root632/lib/python3.12/site-packages/libcppyy.so
 0x00007f1d001f6594 in CPyCppyy::CPPConstructor::Call(CPyCppyy::CPPInstance*&, _object* const*, unsigned long, _object*, CPyCppyy::CallContext*) + 0x364 from /depot/cms/kernels/root632/lib/python3.12/site-packages/libcppyy.so
 0x00007f1d0020b963 in <unknown> from /depot/cms/kernels/root632/lib/python3.12/site-packages/libcppyy.so
 0x000056477d47780d in _PyObject_FastCallDictTstate + 0x2ed from python
 0x000056477d4a2c53 in <unknown> from python
 0x000056477d474d5c in _PyObject_MakeTpCall + 0x2bc from python
 0x000056477d37bf20 in <unknown> from python
 0x000056477d52f6fe in PyEval_EvalCode + 0xae from python
 0x000056477d5537ba in <unknown> from python
 0x000056477d54ea9b in <unknown> from python
 0x000056477d5677b0 in <unknown> from python
 0x000056477d5672fe in _PyRun_SimpleFileObject + 0x1be from python
 0x000056477d566a44 in _PyRun_AnyFileObject + 0x44 from python
 0x000056477d55f1e2 in Py_RunMain + 0x2f2 from python
 0x000056477d517fa7 in Py_BytesMain + 0x37 from python
 0x00007f1d213277e5 in __libc_start_main + 0xe5 from /lib64/libc.so.6
 0x000056477d517e21 in <unknown> from python
 *** Break *** segmentation violation
 Generating stack trace...
 0x00007f18c39d205e in RooAbsCollection::insert(RooAbsArg*) + 0xae from /depot/cms/kernels/root632/lib/libRooFitCore.so.6.32.00
 0x00007f18c39d2418 in RooAbsCollection::add(RooAbsArg const&, bool) + 0x38 from /depot/cms/kernels/root632/lib/libRooFitCore.so.6.32.00
 0x00007f18c39990e5 in <unknown> from /depot/cms/kernels/root632/lib/libRooFitCore.so.6.32.00
 0x00007f18be71faa4 in <unknown function>
 0x00007f18be71f255 in <unknown function>
 0x00007f18be71f077 in <unknown function>
 0x00007f1d20a01bfe in <unknown> from /depot/cms/kernels/root632/lib/python3.12/lib-dynload/../../libcppyy_backend.so
 0x00007f1d20a026dc in Cppyy::CallConstructor(long, unsigned long, unsigned long, void*) + 0x2c from /depot/cms/kernels/root632/lib/python3.12/lib-dynload/../../libcppyy_backend.so
 0x00007f1d00203e2a in <unknown> from /depot/cms/kernels/root632/lib/python3.12/site-packages/libcppyy.so
 0x00007f1d00204196 in CPyCppyy::CPPMethod::Execute(void*, long, CPyCppyy::CallContext*) + 0x56 from /depot/cms/kernels/root632/lib/python3.12/site-packages/libcppyy.so
 0x00007f1d001f6594 in CPyCppyy::CPPConstructor::Call(CPyCppyy::CPPInstance*&, _object* const*, unsigned long, _object*, CPyCppyy::CallContext*) + 0x364 from /depot/cms/kernels/root632/lib/python3.12/site-packages/libcppyy.so
 0x00007f1d0020b963 in <unknown> from /depot/cms/kernels/root632/lib/python3.12/site-packages/libcppyy.so
 0x000056477d47780d in _PyObject_FastCallDictTstate + 0x2ed from python
 0x000056477d4a2c53 in <unknown> from python
 0x000056477d474d5c in _PyObject_MakeTpCall + 0x2bc from python
 0x000056477d37bf20 in <unknown> from python
 0x000056477d52f6fe in PyEval_EvalCode + 0xae from python
 0x000056477d5537ba in <unknown> from python
 0x000056477d54ea9b in <unknown> from python
 0x000056477d5677b0 in <unknown> from python
 0x000056477d5672fe in _PyRun_SimpleFileObject + 0x1be from python
 0x000056477d566a44 in _PyRun_AnyFileObject + 0x44 from python
 0x000056477d55f1e2 in Py_RunMain + 0x2f2 from python
 0x000056477d517fa7 in Py_BytesMain + 0x37 from python
 0x00007f1d213277e5 in __libc_start_main + 0xe5 from /lib64/libc.so.6
 0x000056477d517e21 in <unknown> from python

Is there something that I have missed? Thank you in advance!

Pay attention to the python-root interaction through the gc, and to the number of coefficients you put:
import ROOT as rt
import numpy as np
import awkward as ak

name ="coeff"

b1 = rt.RooRealVar(name + '_1',name, 0.25,0, 2.0)
b2 = rt.RooRealVar(name + '_2',name, 0.25,0, 2.0)
b3 = rt.RooRealVar(name + '_3',name, 0.25,0, 2.0)
BernCoeff_list = rt.RooArgList()
BernCoeff_list.add(b1)
BernCoeff_list.add(b2)
BernCoeff_list.add(b3)

mass_name = "dimuon_mass"
mass =  rt.RooRealVar(mass_name,mass_name,0.5,0.0,1.0)
# mass =  rt.RooRealVar(mass_name,mass_name,125,110,150)
mass.setBins(80)

# generate exp decay data
mass_arr = np.random.uniform(size=100)
mass_arr = np.exp(-100 * mass_arr)
roo_dataset = rt.RooDataSet.from_numpy({mass_name: mass_arr}, [mass])
roo_hist = rt.RooDataHist("data_hist","data_hist", rt.RooArgSet(mass), roo_dataset)

name = "bern model"

order = 3
bern_model =  rt.RooBernsteinFast(order)("pdf_bern_cat","bernstein",mass, BernCoeff_list)
rt.EnableImplicitMT()
bern_model.fitTo(roo_hist, EvalBackend="cpu", Save=True)


First Character of Label Text Gets Drawn in the Middle of the Screen

Godot version
Godot Engine v4.0.stable.official.92bee43ad
System information
Windows 10 Vulkan API 1.2.154 - Forward Mobile - Using Vulkan Device #0: Intel - Intel(R) Iris(R) Plus Graphics 655
Issue description
This issue happens on an Intel i5-8279U mini-pc. It does not occur on my Ryzen 5 5500U laptop.
Both the Mobile and Forward+ renderers give the same bugged result. The compatibility renderer does not have this issue.
Here is the minimal project and issue in one picture:

It seems that the "A" is drawn at the top left corner based on the location of the root node before the camera view is taken into account, then the rest of the text is drawn at the correct location.
Steps to reproduce
(Pictured above)
There are no scripts involved. All I did was add the "ACB..." text to the Label and change the font color to red for better visibility, as well as the Godot icon to the Sprite2D. All other parameters are at default values.
The issue does not occur without both the Sprite2D and the Camera2D present in the Player node.
edit: the Player node is not needed. Sprite2D and Camera2D can just be children of Main.
Minimal reproduction project
LabelTest.zip

@mice-k I'm almost sure this is related to:
https://github.com/godotengine/godot/issues/71027
https://github.com/godotengine/godot/issues/59802
https://github.com/godotengine/godot/issues/58314
Please test MRPs from mentioned issues.

Had the same issue, after updating the 'Intel® 6th-10th Gen Processor Graphics' driver the issue was resolved.


Add section about changing RMW API to developer guide

Open to suggestions if there is a more appropriate place for this.

Technically we only require the RMW impl. from the Tier 1 platforms to be fully implemented.
In the current case I think we should still implement the proposed changes for all RMW impl. listed in this PR.

Technically we only require the RMW impl. from the Tier 1 platforms to be fully implemented.

@dirk-thomas What is considered a "Tier 1" platform? Is this referring to the Level 1 packages defined at the bottom of the doc?

What is considered a "Tier 1" platform?

The REP update for Crystal (ros-infrastructure/rep#177) defines different support levels called tiers.

The current information is inconsistent since the REP draft doesn't list these for RMW impl. under Tier 1.
While we require contributions to update all Tier 1 impl we request that other impl are also considered when realistic (depending on the size of the change).

Bump @jacobperron. Now that https://github.com/ros-infrastructure/rep/pull/177 is merged, we can update this PR and merge it.

@hidmic Thanks, I've added a link to the REP and reworded.


hiddenClass not working in 1.2.0

Prerequisites

[X] I am running the latest version
[X] I checked the documentation and found no answer
[X] I checked to make sure that this issue has not already been filed
[X] I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior
hiddenClass not working properly in 1.2.0
Should allow me to change class, but nothing changes. Surprisingly, hidenClass still works even though it's deprecated.
Current Behavior
Unchanged selectors.
What is the current behavior?
Nothing changes and options not working properly.
Steps to Reproduce
Step 1:
I changed my JS file to read:
hidenClass: 'is-hidden'

Hidden class becomes .is-hidden - which is good.
Step 2:
I changed my JS file to read:
hiddenClass: 'is-hidden'

Hidden class reverts to default -ba-is-hidden - which is bad.
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Operating System: MacOS
Browser/s & version/s: Chrome Version 71.0.3578.98
NPM version: 6.4.0
Node version: v10.8.0

Hi @ evandiamond,
Thanks for raising such a detailed ticket. I have made a fix to this now in version 1.2.1 so you can now update the hidden class using the setting hiddenClass: 'your-hidden-class'.
I'll close this issue but let me know if you have any more issues with this bug.
Thanks,
Stuart

Perfect and thank you so much! Really appreciate the fast response.

Awesome, glad I could fix it.

Oh and if you use the accordion on any project you'd be happy sharing I'd love be to see it! I'd like to get together a "Badger Accordion Hall Of Fame"

@stuartjnelson
I think the typo still exists: https://github.com/stuartjnelson/badger-accordion/blob/master/src/js/badger-accordion.js#L33


Turn on 2FA for k8s-merge-robot

k8s-merge-robot needs to be an admin for https://github.com/kubernetes/contrib/pull/2121 to work correctly.

2fa is on now.

What does the bot need to be an admin of?

Thanks!
Needs to be an admin for every repo it runs on, if we want to sync the required statuses while still allowing the mergebot to merge without those statuses (for e.g. the CLA status throwing an error, but the bot still being allowed to merge because the cla:human approved label is set. I'm not sure if we want to set the linuxfoundation/cla status as a "required" status though.

OK, it's an admin of kubernetes, contrib, and kubernetes.github.io.


How to get the attribute value of an element?

Hi guys,
I've been using appium-mac2-driver + Python + selenium and impossible to get the value of an element's attribute. It showed an error that said the method is not implemented (see the attached screenshot).
As far as I know that the error is very clear and we have not supported it yet. A current solution from me is that I get page source and then find the element with all attributes. Could you please advise on another way to get the value of an element's attribute from a WebElement object?
Thank you so much.

Please attach the full server log

[Appium] Appium v1.21.0 creating new Mac2Driver (v0.13.0) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver]   "alwaysMatch": {
[debug] [BaseDriver]     "platformName": "mac",
[debug] [BaseDriver]     "appium:automationName": "mac2",
[debug] [BaseDriver]     "appium:newCommandTimeout": 30000,
[debug] [BaseDriver]     "appium:bundleId": "com.mycompany"
[debug] [BaseDriver]   },
[debug] [BaseDriver]   "firstMatch": [
[debug] [BaseDriver]     {}
[debug] [BaseDriver]   ]
[debug] [BaseDriver] }
[BaseDriver] Session created with session id: ce5828fe-6b7f-48d7-812d-a2a372b6d683
[debug] [WebDriverAgentMac] Using bootstrap root: /usr/local/lib/node_modules/appium/node_modules/appium-mac2-driver/WebDriverAgentMac
[debug] [WebDriverAgentMac] Using xcodebuild binary at '/usr/bin/xcodebuild'
[WebDriverAgentMac] WebDriverAgent sources are up to date<PHONE_NUMBER>669 >=<PHONE_NUMBER>669)
[debug] [WebDriverAgentMac] Using <IP_ADDRESS> as server host
[debug] [WebDriverAgentMac] Using port 10100
[WebDriverAgentMac] The port #10100 at <IP_ADDRESS> is busy. Assuming it is an obsolete WDA server instance and trying to terminate it in order to start a new one
[WebDriverAgentMac] The previously running WDA server has been successfully terminated after 519ms
[WebDriverAgentMac] Mac2Driver host process logging is disabled. All the xcodebuild output is going to be suppressed. Set the 'showServerLogs' capability to 'true' if this is an undesired behavior
[WebDriverAgentMac] Starting Mac2Driver host process: xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-mac2-driver/WebDriverAgentMac/WebDriverAgentMac.xcodeproj -scheme WebDriverAgentRunner COMPILER_INDEX_STORE_ENABLE=NO
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://<IP_ADDRESS>:10100/status] with no body
[WD Proxy] connect ECONNREFUSED <IP_ADDRESS>:10100
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://<IP_ADDRESS>:10100/status] with no body
[WD Proxy] connect ECONNREFUSED <IP_ADDRESS>:10100
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://<IP_ADDRESS>:10100/status] with no body
[WD Proxy] connect ECONNREFUSED <IP_ADDRESS>:10100
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://<IP_ADDRESS>:10100/status] with no body
[debug] [WD Proxy] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"version":"Version 10.15.7 (Build 19H114)"},"ready":true,"build":{"time":"Aug 13 2021 12:08:35"}},"sessionId":null}
[WebDriverAgentMac] The host process is ready within 3120ms
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://<IP_ADDRESS>:10100/session] with body: {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"mac","automationName":"mac2","newCommandTimeout":30000,"bundleId":"com.mycompany"}}}
[debug] [WD Proxy] Got response with status 200: {"value":{"sessionId":"D7CD1D6A-188F-4AB3-BB05-8A5A55614BC7","capabilities":{"CFBundleIdentifier":"com.mycompany"}},"sessionId":"D7CD1D6A-188F-4AB3-BB05-8A5A55614BC7"}
[WD Proxy] Determined the downstream protocol as 'W3C'
[Appium] New Mac2Driver session created successfully, session ce5828fe-6b7f-48d7-812d-a2a372b6d683 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at<PHONE_NUMBER>699 (23:37:31 GMT+0700 (Indochina Time))
[debug] [W3C (ce5828fe)] Cached the protocol value 'W3C' for the new session ce5828fe-6b7f-48d7-812d-a2a372b6d683
[debug] [W3C (ce5828fe)] Responding to client with driver.createSession() result: {"capabilities":{"platformName":"mac","automationName":"mac2","newCommandTimeout":30000,"bundleId":"com.mycompany"}}
[HTTP] <-- POST /wd/hub/session 200 4807 ms - 182
[HTTP]
[HTTP] --> POST /wd/hub/session/ce5828fe-6b7f-48d7-812d-a2a372b6d683/element
[HTTP] {"using":"xpath","value":"//XCUIElementTypeStaticText[@value="Sign Up"]"}
[debug] [W3C (ce5828fe)] Calling AppiumDriver.findElement() with args: ["xpath","//XCUIElementTypeStaticText[@value="Sign Up"]","ce5828fe-6b7f-48d7-812d-a2a372b6d683"]
[debug] [BaseDriver] Valid locator strategies for this request: id, name, accessibility id, xpath, class name, -ios predicate string, predicate string, -ios class chain, class chain
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] Proxying [POST /element] to [POST http://<IP_ADDRESS>:10100/session/D7CD1D6A-188F-4AB3-BB05-8A5A55614BC7/element] with body: {"using":"xpath","value":"//XCUIElementTypeStaticText[@value="Sign Up"]"}
[debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"D377D916-3244-46D3-ACF4-71D15EA0FDF5","element-6066-11e4-a52e-4f735466cecf":"D377D916-3244-46D3-ACF4-71D15EA0FDF5"},"sessionId":"D7CD1D6A-188F-4AB3-BB05-8A5A55614BC7"}
[debug] [W3C (ce5828fe)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"D377D916-3244-46D3-ACF4-71D15EA0FDF5","ELEMENT":"D377D916-3244-46D3-ACF4-71D15EA0FDF5"}
[HTTP] <-- POST /wd/hub/session/ce5828fe-6b7f-48d7-812d-a2a372b6d683/element 200 432 ms - 137
[HTTP]
[HTTP] --> POST /wd/hub/session/ce5828fe-6b7f-48d7-812d-a2a372b6d683/execute/sync
[HTTP] {"script":"return (function(){return function(){var d=this;function f(a){return"string"==typeof a};function h(a,b){this.code=a;this.a=l[a]||m;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}\n(function(){var a=Error;function b(){}b.prototype=a.prototype;h.b=a.prototype;h.prototype=new b;h.prototype.constructor=h;h.a=function(b,c,g){for(var e=Array(arguments.length-2),k=2;k<arguments.length;k++)e[k-2]=arguments[k];return a.prototype[c].apply(b,e)}})();var m="unknown error",l={15:"element not selectable",11:"element not visible"};l[31]=m;l[30]=m;l[24]="invalid cookie domain";l[29]="invalid element coordinates";l[12]="invalid element state";l[32]="invalid selector";l[51]="invalid selector";\nl[52]="invalid selector";l[17]="javascript error";l[405]="unsupported operation";l[34...
[debug] [W3C (ce5828fe)] Calling AppiumDriver.execute() with args: ["return (function(){return function(){var d=this;function f(a){return"string"==typeof a};function h(a,b){this.code=a;this.a=l[a]||m;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}\n(function(){var a=Error;function b(){}b.prototype=a.prototype;h.b=a.prototype;h.prototype=new b;h.prototype.constructor=h;h.a=function(b,c,g){for(var e=Array(arguments.length-2),k=2;k<arguments.length;k++)e[k-2]=arguments[k];return a.prototype[c].apply(b,e)}})();var m="unknown error",l={15:"element not selectable",11:"element not visible"};l[31]=m;l[30]=m;l[24]="invalid cookie domain";l[29]="invalid element coordinates";l[12]="invalid element state";l[32]="invalid selector";l[51]="invalid selector";\nl[52]="invalid selector";l[17]="javascript error";l[405]="unsupported operation";l[34]="move ...
[debug] [W3C (ce5828fe)] Encountered internal error running command: NotImplementedError: Method is not implemented
[debug] [W3C (ce5828fe)]     at Mac2Driver.execute (/usr/local/lib/node_modules/appium/node_modules/appium-mac2-driver/lib/commands/execute.js:38:9)
[debug] [W3C (ce5828fe)]     at commandExecutor (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/driver.js:335:9)
[debug] [W3C (ce5828fe)]     at /usr/local/lib/node_modules/appium/node_modules/async-lock/lib/index.js:137:12
[debug] [W3C (ce5828fe)]     at AsyncLock._promiseTry (/usr/local/lib/node_modules/appium/node_modules/async-lock/lib/index.js:261:31)
[debug] [W3C (ce5828fe)]     at exec (/usr/local/lib/node_modules/appium/node_modules/async-lock/lib/index.js:136:9)
[debug] [W3C (ce5828fe)]     at AsyncLock.acquire (/usr/local/lib/node_modules/appium/node_modules/async-lock/lib/index.js:152:3)
[debug] [W3C (ce5828fe)]     at Mac2Driver.executeCommand (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/driver.js:348:39)
[debug] [W3C (ce5828fe)]     at AppiumDriver.executeCommand (/usr/local/lib/node_modules/appium/lib/appium.js:563:36)
[debug] [W3C (ce5828fe)]     at processTicksAndRejections (internal/process/task_queues.js:97:5)
[debug] [W3C (ce5828fe)]     at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:297:21)
[HTTP] <-- POST /wd/hub/session/ce5828fe-6b7f-48d7-812d-a2a372b6d683/execute/sync 405 66 ms - 1206
[HTTP]
[HTTP] --> DELETE /wd/hub/session/ce5828fe-6b7f-48d7-812d-a2a372b6d683
[HTTP] {}
[debug] [W3C (ce5828fe)] Calling AppiumDriver.deleteSession() with args: ["ce5828fe-6b7f-48d7-812d-a2a372b6d683"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at<PHONE_NUMBER>284 (23:37:43 GMT+0700 (Indochina Time))
[Appium] Removing session ce5828fe-6b7f-48d7-812d-a2a372b6d683 from our master session list
[debug] [WD Proxy] Matched '/session/D7CD1D6A-188F-4AB3-BB05-8A5A55614BC7' to command name 'deleteSession'
[debug] [WD Proxy] Proxying [DELETE /session/D7CD1D6A-188F-4AB3-BB05-8A5A55614BC7] to [DELETE http://<IP_ADDRESS>:10100/session/D7CD1D6A-188F-4AB3-BB05-8A5A55614BC7] with no body
[debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":null}
[debug] [BaseDriver] Event 'quitSessionFinished' logged at<PHONE_NUMBER>326 (23:37:44 GMT+0700 (Indochina Time))
[debug] [W3C (ce5828fe)] Received response: null
[debug] [W3C (ce5828fe)] But deleting session, so not returning
[debug] [W3C (ce5828fe)] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/ce5828fe-6b7f-48d7-812d-a2a372b6d683 200 1044 ms - 14

What client did you use? https://github.com/appium/python-client ?
It seems your client sent {"script":"return (function(){return function(){var d=this;function f(a){return"string"==typeof a};function h(a,b){this.code=a;this.a=l[a]||m;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length- which works only for browser. It is not for Appium, so I guess you used vanilla selenium python client.

Thanks for your hint. I've corrected the import webdriver from the appium library (not from selenium). The issue is invalid now and I would like to close it.


have set all configuration but still not success.

'Click to enable the HTTP proxy (It's maybe need waiting a bit time)' what is this mean?
I have set all configurations, but still can not start capture.
It is always loading...

What version have you installed? and is there any information in the chrome://inspect?

v1.1.0, I can see this app in the chrome://inspect but the app always shows loading not connect success.

Can you provide your device name and system version?

sharp android6.0. BTW where to enable http proxy u said in the step 2?
moxun<EMAIL_ADDRESS>13:32写道：

Can you provide your device name and system version?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/misakuo/Dream-Catcher/issues/3#issuecomment-272364855,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AONZNuogQGXV0StWlwX3hZ5IMniGmO8gks5rRwxcgaJpZM4LhkNx
.

In my device:
Settings -> WLAN -> LONG PRESS THE ACTIVE CONNECTION -> Modify Network ->

Has been a long time no reply, I will close the issue


Obj Inspector - Bookmarks should allow for screen shots

Currently bookmarks only allow for a text entry.  They should have a place to select if a screen shot is to be included and of which screens.  This should be a checked combo for applications that have multiple screens

Technically this involves a new session step type object to correlate the bookmark and screen shot.

Added in release 2022.11.2


Revert "Reddit command."

Reverts python-discord/seasonalbot#346
The command is failing because of missing emojis - an action to add these emojis as well as changing the ids of the emojis in the code is needed before this PR is ready to be merged again.

hey can we have them in constants ?
maybe we can use them later in future .

Instead of reverting this, we could also PR in the emojis required in a tidy manner.
We already have emojis for user`, upvotes, and comments icons because of our Reddit webhook, so I've added the other four (reddit logo + text, video, photo post) to our Emoji server.
All the IDs and emoji names:
# These exist on our main server (also used by webhook)
:user:<PHONE_NUMBER>42602003
:upvotes:<PHONE_NUMBER>45731840
:comments:<PHONE_NUMBER>73765387

# These now exist on PyDis Emojis II
:reddit_logo:<PHONE_NUMBER>34332427
:reddit_post_photo:<PHONE_NUMBER>34201344
:reddit_post_text:<PHONE_NUMBER>10493204
:reddit_post_video:<PHONE_NUMBER>39190047

I've changed emoji IDs with a commit to master so there's no need to revert the PR anymore. I think it would be a good idea to factor out these IDs to a constants file in the future. It's probably also a good idea to stylize the text, image, and video emojis to match the existing webhook emojis we're using. (I think the design is really good, but they could be slightly smaller to match the webhook emojis.)


DNS Checker showing errors running but does not go down

The logs for DNS checker reveal that it is taking too long to run (unexpectedly), then immediately setting the state totrue (up).  If the check takes too long to run, the state should change to fase (down).
Additionally, the check should not still be running.
Expected behavior
We should not see the check running at the start of the next run this much and if we do, it should set the check to down.
Relevant logs:
xme="2019-06-19T20:51:19Z" level=info msg="Running check: DnsStatusChecker"
time="2019-06-19T20:52:41Z" level=error msg="Error running check: DnsStatusChecker Failed to complete checks for DnsStatusChecker in time!  Next run came up but check was still running."
time="2019-06-19T20:52:41Z" level=info msg="Running check: DnsStatusChecker"
time="2019-06-19T20:52:42Z" level=info msg="Setting state of check DnsStatusChecker to true []"
time="2019-06-19T20:52:42Z" level=info msg="Wrote response to client: {false [Check execution error: Failed to complete checks for DnsStatusChecker in time!  Next run came up but check was still running.] map[ComponentStatusChecker:{true []  2019-06-19 20:49:20.02954232 +0000 UTC kuberhealthy-8c47ddf45-4t65q} DaemonSetChecker:{true [] kuberhealthy 2019-06-19 20:38:45.544867692 +0000 UTC kuberhealthy-8c47ddf45-4t65q} DnsStatusChecker:{false [Check execution error: Failed to complete checks for DnsStatusChecker in time!  Next run came up but check was still running.]  2019-06-19 20:52:41.229221149 +0000 UTC kuberhealthy-8c47ddf45-4t65q} PodRestartChecker namespace kube-system:{true [] kube-system 2019-06-19 20:48:19.650330282 +0000 UTC kuberhealthy-8c47ddf45-4t65q} PodStatusChecker namespace kube-system:{true [] kube-system 2019-06-19 20:49:19.648362516 +0000 UTC kuberhealthy-8c47ddf45-4t65q}] kuberhealthy-8c47ddf45-4t65q}"

irrelevant after 2.0.0 rewrite


Fix import error

Closes #364

thank you @troycomi ! btw I changed this to a relative import but your version also works


html table/ion-list scroll very slow

We’ve an html table in a page created using a ngFor. The scroll of this table it’s very slow in ipad mini 2/4 (no problems with android and iphone 6/7/7 plus) also with only 50 rows. Also the selection of the rows is very slow (we’ve a checkbox for each row, with or without click event).
More details here.

I don't think this is a wkwebview specific issue.  There is a very similar issue logged against ionic itself:
https://github.com/ionic-team/ionic/issues/12733

Thanks for your reply.
We've solved removing this from the main.css, as indicated in your link:
:focus,
:active {
outline: none;
}


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

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


Remove references to "classic" theme

As noted in the commit messages, as I was cleaning out references to the classic theme, I ended up cleaning up some stuff in the lookup() module as well. In v9, we don't really need it any more, because we only really need to deal with one version.
Closes: https://github.com/liferay/liferay-js-themes-toolkit/issues/229

Just started reviewing :)

FWIW the diff here is much easier to read on the command-line with something like git diff -M10 -b master..wincent/classic (-b to ignore whitespace changes and -M10 to detect renamed files, because otherwise getBaseThemeDependencies.js looks totally new instead of just being renamed and lightly edited).


Initial version Carla ROS bridge

The parent property of an actor via python interface is not yet filled.
Therefore, the parent_id of Actors has to be transferred from the CARLA
server via rpc interface.
Changes in detail:
carla/rpc/Actor.h:

add parent_id field to the Actor class for rpc transport

TheNewCarlaServer.cpp:

fill the parent_id field with the appropriate value

client/ActorList:

added GetActor() function to get an actor by id

client/ActorVariant:

added actor_list optional parameter to Get() and MakeActor() function
which allows to query for the parent actor in case the actor_list is
available

Checklist:

[X] Your branch is up-to-date with the master branch and tested with latest changes
[ ] Extended the README / documentation, if necessary
[X] Code compiles correctly
[x] All tests passing with make check

Where has this been tested?

Platform(s): Ubuntu 16.04
Python version(s): 2.7
Unreal Engine version(s): 4.19

This change is

Hi @berndgassmann!
I want to test this PR but it seems that I need to build whole CARLA. Maybe is there another way to get precompiled binaries for this PR?

Hi @berndgassmann!
I want to test this PR but it seems that I need to build whole CARLA. Maybe is there another way to get precompiled binaries for this PR?

Hi,
I don't know. A chance could be the CI result if the package would be built and published there... but I'm not used to the github process yet. So maybe there's another possiblity.
Today I worked on the camera, which will be done tomorrow, I hope.
I fixed the rotation values (carla python interface provides now degree not radians).
But did not yet upload; need to finish and to incorporate the comments from Fabian.

Thanks! I'll do the review


The hugo build is broken and not building in hugo serve

Web Server is available at //localhost:1313/ (bind address <IP_ADDRESS>)
Press Ctrl+C to stop
WARN 2019/04/03 00:07:55 Found no layout for "home", language "current", output format "HTML": create a template below /layouts with one of these filenames: index.current.html.html, home.current.html.html, list.current.html.html, index.html.html, home.html.html, list.html.html, index.current.html, home.current.html, list.current.html, index.html, home.html, list.html, _default/index.current.html.html, _default/home.current.html.html, _default/list.current.html.html, _default/index.html.html, _default/home.html.html, _default/list.html.html, _default/index.current.html, _default/home.current.html, _default/list.current.html, _default/index.html, _default/home.html, _default/list.html
WARN 2019/04/03 00:07:55 Found no layout for "home", language "current", output format "JSON": create a template below /layouts with one of these filenames: index.current.json.json, home.current.json.json, list.current.json.json, index.json.json, home.json.json, list.json.json, index.current.json, home.current.json, list.current.json, index.json, home.json, list.json, _default/index.current.json.json, _default/home.current.json.json, _default/list.current.json.json, _default/index.json.json, _default/home.json.json, _default/list.json.json, _default/index.current.json, _default/home.current.json, _default/list.current.json, _default/index.json, _default/home.json, _default/list.json

Looks like you do not have theme.
cd  <lcoal repo folder>
git submodule update --init --recursive
or you can perform a fresh clone using
git clone --recursive git@github.com:<your user>/priv-all-ansible-roles.git

Roger that looks like a good thing to put in the docs 👍. This is why I
like sub trees better than sub modules.
On Thu, Apr 4, 2019, 6:37 PM Yogesh Sharma<EMAIL_ADDRESS>wrote:

Looks like you do not have theme.
cd
git submodule update --init --recursive
or you can perform a fresh clone using
git clone --recursive git@github.com:/priv-all-ansible-roles.git
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CrunchyData/pgstigcheck-inspec/issues/23#issuecomment-480088193,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABauaAL8d-c8MXUZH7KZv5YVW6lQlhWTks5vdn6SgaJpZM4cZkuG
.

Agree on adding it to docs. sub tree vs modules is debatable, modules keep repo lean.

Cool Thanks. You may want to look at git subtree as it allows you to just
point to another repository - aka master of x - and not need to do the
submodule extra step.
Aaron Lippold
<EMAIL_ADDRESS>260-255-4779
twitter/aim/yahoo,etc.
'aaronlippold'
On Fri, Apr 5, 2019 at 10:35 AM Yogesh Sharma<EMAIL_ADDRESS>wrote:

Agree on adding it to docs. sub tree vs modules is debatable, modules keep
repo lean.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CrunchyData/pgstigcheck-inspec/issues/23#issuecomment-480298616,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABauaJsyXGXUUqqnG7-axkREYQtpp0FYks5vd18ZgaJpZM4cZkuG
.


Any support for option?

Any support for option?

I'm assuming you mean methods for options trading...Checkout the Fast_Arrow library. It has several methods not contained in Jamonek that I've found handy for working with options. With a little modification you can modify the auth/login methods for either library so you can use the keys you login with one package for both packages. I use both as each have their own particular strengths.

Thank you!

@viaConBodhi thanks for the shoutout.
@1a1a11a just to chime in ... https://github.com/westonplatter/fast_arrow was built specifically for options trading. We just did an overhaul on authentication and released 1.0.0. Please open an issue if there missing features or you run into bugs.

Thank you @westonplatter!


Spike/multipath

Looking at the work involved for multipath [#570].
I feel like this PR contains the bulk of the work.
I don't see any significant hurdles to this implementation, but I do wish we had generics already.

heey I was playing around with it, but found a little weird behavior - sometimes it seems to select the right DAG path, but sometimes it doesn't, not sure why.
the example I'm working with is as follows:
if workload.spec.image:
  image-provider <--[img]--- deployer

if workload.spec.source.git.url:
  source-provider <--[src]--- image-builder <--[img]-- deployer

soo, I've got this supply chain resources:
  resources:
    - name: source-provider
      templateRef:
        kind: ClusterSourceTemplate
        name: git-repository

    - name: image-builder
      selector:
        matchFields:
          - key: workload.spec.source.git.url
            operator: Exists
      templateRef:
        kind: ClusterImageTemplate
        name: kpack-image
      sources:
        - resource: source-provider
          name: source

    - name: image-provider
      selector:
        matchFields:
          - key: workload.spec.image
            operator: Exists
      templateRef:
        kind: ClusterImageTemplate
        name: image-repository

    - name: deployer
      templateRef:
        kind: ClusterTemplate
        options:
          - name: kappctrl-app
            images:
              - resource: image-builder
                name: image
          - name: kappctrl-app
            images:
              - resource: image-provider
                name: image

and the following workloads:
---
apiVersion: carto.run/v1alpha1
kind: Workload
metadata:
  name: test-from-source
  labels:
    app.kubernetes.io/part-of: test-from-source
    apps.tanzu.vmware.com/workload-type: web
spec:
  params:
    - name: service_account
      value: test-basic
  serviceAccountName: test-basic
  source:
    git:
      ref:
        branch: main
      url: https://github.com/kontinue/hello-world

---
apiVersion: carto.run/v1alpha1
kind: Workload
metadata:
  name: test-from-image
  labels:
    app.kubernetes.io/part-of: test-from-image
    apps.tanzu.vmware.com/workload-type: web
spec:
  params:
    - name: service_account
      value: test-basic
  serviceAccountName: test-basic
  image: ghcr.io/cirocosta/cartographer@sha256:f721c277ea1eab25a87b938ba162f179c758bbd16d2d7c64b6a9c109f29e3687

it's pretty cool to see that we indeed get to the two different trees
NAMESPACE  NAME                               READY  REASON                AGE
default    Workload/test-from-image           False  TemplateStampFailure  12m
default    ├─App/test-from-image              -                            11m
default    └─ImageRepository/test-from-image  True   Ready                 12m

vs

NAMESPACE  NAME                                              READY  REASON               AGE
default    Workload/test-from-source                         True   Ready                9m3s
default    ├─App/test-from-source                            -                           7m41s
default    ├─GitRepository/test-from-source                  True   GitOperationSucceed  9m2s
default    └─Image/test-from-source                          True                        8m17s
default      ├─Build/test-from-source-build-1                -                           8m17s
default      │ └─Pod/test-from-source-build-1-build-pod      False  PodCompleted         8m17s
default      ├─PersistentVolumeClaim/test-from-source-cache  -                           8m17s
default      └─SourceResolver/test-from-source-source        True                        8m17s

but, e.g., right now we're seeing TemplateStampFailure on the test-from-image Workload because it thinks it should the the source -> image-builder -> deployer path


Somehow record.nonce is not None

We have a sanity check during email verification, and somehow we're violating it.

Several folks have hit this. We're up to 17 events in Sentry.

Alright, so record.verified is True.

... and there are no packages, but record.nonce is not None.

Alright, so what is the circumstance in which nonce is set at all? (There's only one such circumstance, right?)

Hypothesis: verification restart is implicated.

We create a nonce during start_email_verification. Where might we update it?

Is record.nonce ever None at this point?

gratipay::DATABASE=> select count(id) from emails;
┌───────┐
│ count │
├───────┤
│  8229 │
└───────┘
(1 row)

gratipay::DATABASE=> select count(id) from emails where nonce is null and verified is not null;
┌───────┐
│ count │
├───────┤
│  6459 │
└───────┘
(1 row)

gratipay::DATABASE=> select count(id) from emails where nonce is not null and verified is null;
┌───────┐
│ count │
├───────┤
│  1760 │
└───────┘
(1 row)

gratipay::DATABASE=> select count(id) from emails where nonce is not null and verified is not null;
┌───────┐
│ count │
├───────┤
│    10 │
└───────┘
(1 row)

gratipay::DATABASE=> select count(id) from emails where nonce is null and verified is null;
┌───────┐
│ count │
├───────┤
│     0 │
└───────┘
(1 row)

gratipay::DATABASE=>

The 10 that have both nonce and verified include two of the people that are definitely affected by this bug, and several others that have definitely used package claiming—including me!

verification_start is after verification_end for all of them. Is that normal?

No!
gratipay::DATABASE=> select count(*) from emails where verification_start > verification_end;
┌───────┐
│ count │
├───────┤
│    10 │
└───────┘
(1 row)

gratipay::DATABASE=> select count(*) from emails where verification_start <= verification_end;
┌───────┐
│ count │
├───────┤
│  6459 │
└───────┘
(1 row)

We have 13 claimants of npm packages (query lifted from https://github.com/gratipay/inside.gratipay.com/issues/1045):
gratipay::DATABASE=> select count(distinct(owner)) as nowners, count(team_id) as npackages from teams_to_packages tp join teams t on tp.team_id = t.id;
┌─────────┬───────────┐
│ nowners │ npackages │
├─────────┼───────────┤
│      13 │       224 │
└─────────┴───────────┘
(1 row)

Hypothesis: all 10 are people who already had a verified email and then claimed packages. The remaining three had no verified email before claiming a package.

So I want to see everyone who has claimed a package, and what their email verification record looks like.

gratipay::DATABASE=> select distinct(owner), e.address, e.verified, e.nonce, e.verification_start, e.verification_end from teams_to_packages tp join teams t on tp.team_id = t.id join participants p on p.username = t.owner join emails e on p.id=e.participant_id order by owner;

It appears that verification_start is only set in one place, and only ever to now().

So why do we have null for verification_start? Are all of those from prior to #4488? Or do we have an insert with a default value?
Oh! We don't. 😊
gratipay::DATABASE=> select count(*) from emails where verification_start is null;                       ┌───────┐
│ count │
├───────┤
│     0 │
└───────┘
(1 row)

The INSERT case will have the default of CURRENT_TIMESTAMP.

Alright, so the fact that verification_start is after verification_end is highly suggestive of hitting the elsehttps://github.com/gratipay/gratipay.com/blob/2096/gratipay/models/participant/email.py#L175-L188.

It feels like we're not handling that case properly, that we're deleting package claims but not ... doing something else necessary.

Is the problem that we're getting into that code path when we aren't expecting to? Or that the code path is misbehaved even when we get there properly?

get_email_verification_nonce
  ⇖ get_email_verification_link
    ⇖ start_email_verification
      ⇖ emails/modify.json.spt
        ⇖ js/gratipay/emails.js
        ⇖ js/gratipay/packages.js

This should throw an IntegrityError if the address is verified for a different participant.

https://github.com/gratipay/gratipay.com/blob/2096/gratipay/models/participant/email.py#L169-L170
What about for the same participant? This will throw an IntegrityError in that case, too, right? Is that what we want?

Actually, that's protected against just before, where we load existing.

Gosh I really just have this hunch that what happens is that isaacs et al. are coming through the else when claiming their packages—so that would've been via packages.js—and so they get a nonce with a late start and no packages linked to it. But the other condition is that the address is already verified. How do all three line up at once?

Because the bug manifests on finish_email_verification, not start_email_verification. It's when trying to use the nonce that gets kicked out during start_.

The bug manifests here, when these three are true:

the email address is verified
there are no packages being claimed
the record does have a nonce

It feels like they should not be getting into the start_ else code path in the first place.
(I suspect the verification_end being before _start weirdness is not directly related to the bug.)

Isaac hit this before we deployed bulk claiming. Therefore this bug exists even with manual claiming of multiple packages, one at a time. Is that the only case where it manifests?

Do we clear nonce on verify? Did Isaac come at us with an old nonce?

No, not an old nonce. That was the point of https://github.com/gratipay/gratipay.com/issues/4483#issuecomment-311126477. Until the Recent 10, everyone is either verified or has a nonce. Only with the Recent 10 do we have both.

Alright, I believe the start_ else path is implicated, because the update we do there would seem to be able to explain how verification_start can end up later than verification_end.
If there is an existing nonce, there won't be a trace of it in the claims table because of the delete.
verification_end is nullable with no default and only ever gets set in one place, to now().

So to end up with verification_end prior to verification_start—in some cases just prior—means the user is hitting save_email_address and then start_email_verification.
save_email_address comes under finish_email_verification.
So they must be hitting finish just before hitting start. Hmm ... :thinking:

in some cases just prior

gratipay::DATABASE=> select verification_start, verification_end, verification_start - verification_end delta from emails where verification_start > verification_end order by verification_end;
┌───────────────────────────────┬───────────────────────────────┬──────────────────────────┐
│      verification_start       │       verification_end        │          delta           │
├───────────────────────────────┼───────────────────────────────┼──────────────────────────┤
│ 2017-05-10 00:26:05.293957+00 │ 2014-12-09 19:24:52.29397+00  │ 882 days 05:01:12.999987 │
│ 2017-06-17 09:36:00.309672+00 │ 2014-12-10 03:11:20.383187+00 │ 920 days 06:24:39.926485 │
│ 2017-06-17 18:30:53.417246+00 │ 2015-02-24 10:09:42.301325+00 │ 844 days 08:21:11.115921 │
│ 2017-05-17 18:06:01.163001+00 │ 2017-05-17 18:05:31.882616+00 │ 00:00:29.280385          │
│ 2017-05-19 01:14:29.792552+00 │ 2017-05-19 01:02:22.695691+00 │ 00:12:07.096861          │
│ 2017-05-30 14:03:10.047133+00 │ 2017-05-30 13:55:22.432168+00 │ 00:07:47.614965          │
│ 2017-06-15 19:40:41.072505+00 │ 2017-06-15 15:34:25.358339+00 │ 04:06:15.714166          │
│ 2017-06-17 09:35:58.9947+00   │ 2017-06-17 09:35:30.625728+00 │ 00:00:28.368972          │
│ 2017-06-17 13:37:30.956824+00 │ 2017-06-17 13:31:15.339565+00 │ 00:06:15.617259          │
│ 2017-06-20 14:02:43.245817+00 │ 2017-06-20 09:30:44.071424+00 │ 04:31:59.174393          │
└───────────────────────────────┴───────────────────────────────┴──────────────────────────┘
(10 rows)

Interesting that the deltas are all over the place!

verification_end

The place where verification_end is set is also the only place where verified is set to true.

And verified = true is one of the three conditions we need to account for to reproduce this bug.

We need to get verified set to true, and start an email verification with a nonce but no packages.

My hunch is that the user is verifying their email address first, independent of package claiming, and then claiming a package using that email.

Because they have to get into save_email_address to get verified=true + the verification_end
emails/verify.html.spt
  ⇘ finish_email_verification
    ⇘ save_email_address

30 seconds delta is about the minimum time for these two user actions.

Perhaps they generate both emails, then click one, then click the other?

Alright, getting into a test over here, trying to repro ...
diff --git a/tests/py/test_email.py b/tests/py/test_email.py
index a964a86..f3dbfd5 100644
--- a/tests/py/test_email.py
+++ b/tests/py/test_email.py
@@ -324,6 +324,22 @@ class TestEndpoints(Alice):
                                       )
         assert response.code == 400

+    def test_find_root_cause_for_record_nonce_none_bug(self):
+        foo = self.make_package()
+        address =<EMAIL_ADDRESS>+
+        self.hit_email_spt('add-email', address)
+        nonce1 = self.alice.get_email(address).nonce
+
+        self.hit_email_spt('start-verification', address, package_ids=[foo.id])
+        nonce2 = self.alice.get_email(address).nonce
+
+        result1 = self.alice.finish_email_verification(address, nonce1)
+        result2 = self.alice.finish_email_verification(address, nonce2)
+
+        import pdb; pdb.set_trace()
+        assert '???'
+

 class TestFunctions(Alice):

So the hypothesis is that they hit save_email_address to get verified and an end time.
Then ... what do they do in order to hit finish_email_verification with a) a nonce, and b) no packages. :thinking:

I need to get into that else to get the nonce and late start ...

Alright, an add-email followed by a start-verification gets me verified and through the else with a nonce (and a late start) ... but I still have packages from the start-verification. How do I get packages to be empty?

Either packages claiming are deleted or they are never created in the first place.

I'm just thinking that our verification flows might not be idempotent. We delay up to 60 seconds on send, would be quite understandable for folks to reissue a verification thinking we'd dropped the ball.

Yes!
(Pdb) l
233                 record = self.get_email(email, cursor, and_lock=True)
234                 if record is None:
235                     return VERIFICATION_FAILED, None, None
236                 packages = self.get_packages_claiming(cursor, nonce)
237                 import pdb; pdb.set_trace()
238  ->             if record.verified and not packages:
239
240                     # If an email address is already verified, then we should only
241                     # be going through this flow if they are verifying ownership of
242                     # some packages.
243
(Pdb) packages
[]
(Pdb) record.verified
True
(Pdb) record.nonce
u'9ac4c0c8-130e-43b2-8064-94ce17703dc5'
(Pdb)

Moving to a PR in https://github.com/gratipay/gratipay.com/pull/4534 ...


bluetooth via windows doesnt work

trying to use Windows (10) machine to get the keys.
When using the victron connect app, and with bluetooth switched on,
the victron bluetooth devices dont show up.
The app gives a “help error” message
“bluetooth connection from a windows device is not supported..”
Am i using the incorrect app? as this is contrary to your instructions..

the xxx.sqlite file is in expected directory … but no keys or data populated (which appears to be connected with above
limitation of the victron connect app under windows?)

i am using the victron connect app with both android and IOS devices,
but doesnt appear these can be used to access the keys?
I dont use linux or macOS… so stumped on where i go next to decode the keys?
any suggestions pls..

Solved the problem by using Ubuntu booting/running from a USB stick on (windows) laptop.
victron certainly have made the key retrieval process unduly complicated!


Allow specify nojdk and non-release commit

It looks like one cannot specify a non-release commit (e.g. USE_BAZEL_VERSION=last_green) as well as BAZEL_NOJDK=1 to download a nojdk Bazel.
Instead, it will download a jdk Bazel (BAZEL_NOJDK is ignored).
This seems like a simple arg-parsing oversight. (FWIW, BAZEL_NOJDK isn't even documented, so perhaps its a mostly-untested feature?)

For the java part, looks like there was a push to support NOJDK
https://github.com/bazelbuild/bazelisk/pull/531
It has not been released yet though

I'll cut a new release


OP-18895 : Added IsdUrl query param

https://devopsmx.atlassian.net/browse/OP-18895
We prefer small, well tested pull requests.
Please refer to Contributing to Spinnaker.
When filling out a pull request, please consider the following:

Follow the commit message conventions found here.
Provide a descriptive summary for your changes.
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Add inline code comments to changes that might not be obvious.
Squash your commits as you keep adding changes.
Add a comment to @spinnaker/reviewers for review if your issue has been outstanding for more than 3 days.

Note that we are unlikely to accept pull requests that add features without prior discussion. The best way to propose a feature is to open an issue first and discuss your ideas there before implementing them.

This PR successfully triggered this build https://jenkins.opsmx.net:8181/jenkins/job/Dev-gate-forargo/30/


Force merge flag

Add a flag to force merge an expenses file

instead let's just detect files with _merge.yaml extension and force merge those

closed by #11


change definition of and to be property based

Review, but DO NOT MERGE This requires https://github.com/awalterschulze/regex-reexamined-coq/pull/158 to merge this. Let me worry about doing it in the right order.
Fixes https://github.com/awalterschulze/regex-reexamined-coq/issues/154
and_lang is redefined as P /\ Q and not defined in terms of or_lang
nor_lang is redefined as s \notin P /\ s \notin Q and not defined in terms of or_lang

Discussed offline: merging now and will post review

Discussed offline: merging now and will post review


fix: annotate cloned imagePullSecret to  be ignored by ArgoCD

@dkhachyan I assume this is required in your use-case because your image-pull-secret source is part of another ArgoCD application (so have the ArgoCD labels/annotations)?

Yes exactly


unresolved-macro-call about macro definitions inside a macro

In the following code, rust-analyzer can resolve macro b!, but cannot resolve macro a!.
#[macro_export]
macro_rules! impl_macros1 {
    (a) => { macro_rules! a { () => {}; } };
    (b) => { macro_rules! b { () => {}; } };
    () => {
        $crate::impl_macros1! { a }
        $crate::impl_macros1! { b }
    };
}

fn main() {
    impl_macros1!();
    a!(); // unresolved macro `a!`; rust-analyzer(unresolved-macro-call)
    b!(); // resolved
}

If I rewrite the internal pattern to call it with parentheses, rust-analyzer cannot resolve both macros.
#[macro_export]
macro_rules! impl_macros2 {
    (a) => { macro_rules! a { () => {}; } };
    (b) => { macro_rules! b { () => {}; } };
    () => {
        $crate::impl_macros2!(a); // with parentheses
        $crate::impl_macros2!(b);
    };
}

fn main() {
    impl_macros2!();
    a!(); // unresolved macro `a!`; rust-analyzer(unresolved-macro-call)
    b!(); // unresolved macro `b!`; rust-analyzer(unresolved-macro-call)
}

This also affects macro_rules! macros defined within attribute proc macros, although I'm not sure if this would count as a separate issue. (If it does, let me know and I'll open an issue for that case.)

These all work now since we've changed how we resolve legacy macros a bit.


Debugger upon breakpoint or step not loading source path and not highlighting line unless clicking on the call stack item

VSCode Version: Version: 1.49.1 (system setup)
Commit: 58bb7b2331731bf72587010e943852e13e6fd3cf
Date: 2020-09-16T23:27:51.792Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19041
Steps to Reproduce:

Write a VSCode extension for a language and specify "debuggers"
Write a debug adapter
Set a breakpoint and launch
Expected VSCode to load the file that is at the top of the callstack and to position to line, but it only does when clicking on callstack item
When stepping, expected VSCode to position to next line, but it only does when clicking on callstack item

I have an SQL-based language and we are developing a debugger. The debug adapter returns a Source  that points to a Java file. The debug adapter returns a stack frame with line numbers. However VSCode only loads the file when actually clicking on the callstack which makes stepping impossible.
Do I need to register a text document content provider and use my own scheme?

Solved.
The problem was the thread-id field provided by the debug adapter which wasn't the same value between "threads()" and the ""stopped" event.
We found this out by getting a trace of the debug adapter request and responses and inspecting carefully.
For the sake of helping others, here is the code to see the debug adapter requests and responses:
	vscode.debug.registerDebugAdapterTrackerFactory('*', { 		createDebugAdapterTracker(session: vscode.DebugSession) { 		  return { 			onWillReceiveMessage: m => console.log(> ${JSON.stringify(m, undefined, 2)}), 			onDidSendMessage: m => console.log(< ${JSON.stringify(m, undefined, 2)}) 		  }; 		} 	  });

Thanks for solving the issue and for providing the details.


Timeline fails to draw when loading new audio. Added handling for duration parameter

Upgrading to 2.0.6 I ran into a problem when loading new audio files into the player, the timeline would fail to render.
Inside the timeline code, the call for this.wavesurfer.backend.getDuration() returned NaN. Perhaps it's a race condition where the timeline request comes before the audio file is fully downloaded?
I have the song duration available from the models, so my solution was to add a duration parameter when I initialized the timeline plugin:
    this.wavesurfer.addPlugin(Timeline.create({
      container: $('.waveform-timeline'),
      duration: (this.wavesurfer.getDuration()) ? this.wavesurfer.getDuration() : this.model.track.duration
    })).initPlugin('timeline');

I then had to hack the timeline code to add handling for this parameter, updating the this.wavesurfer.backend.getDuration() request:
var duration = (this.wavesurfer.backend.getDuration()) ? this.wavesurfer.backend.getDuration() : this.wavesurfer.timeline.params.duration;
I think it makes sense to be able to pass a duration parameter to timeline on initialization. It would be a nice enhancement.
It is a workaround for the deeper issue of why the this.wavesurfer.backend.getDuration() request sometimes returns NaN. Is anybody else experiencing this issue?

@mgoldsteinla can you try 2.1.0?

Same issue. I end up with blank timelines.

Can you create a pull request with these changes?

https://github.com/katspaugh/wavesurfer.js/pull/1475


BUG: *ger* routines in linalg.blas are not thread-safe

The TestFBLAS2Simple.test_gemv test is consistently segfaulting when run with pytest-run-parallel under free-threaded CPython. The segfaults happen for:

all of the *ger, *geru, and *gerc routines
with all BLAS libraries - I tested OpenBLAS, MKL and Netlib on Linux as well as OpenBLAS and Accelerate on macOS

That makes it likely that the problem is in our f2py wrappers. They do contain something unusual, namely the line a = <0.0,\0,(0.0\,0.0),\2,\2,\2>, which is syntax I don't recognize:
https://github.com/scipy/scipy/blob/d249082f25b3555b9f8d283c97148253526d9cb7/scipy/linalg/fblas_l2.pyf.src#L210-L229
That parameter a is mutated in-place say the docs, so that could well be the issue.
For the default CPython build, we didn't actually exercise multi-threaded calls since the GIL was serializing them. For free-threaded CPython we're actually calling the bindings in parallel. All other low-level functions in linalg.blas and linalg.lapack appear to be robust, except for this one.

This <0.0,\0,(0.0\,0.0),\2,\2,\2> basically says <0.0, 0.0, (0.0, 0.0), (0.0, 0.0), (0.0, 0.0), (0.0, 0.0)> So two times 0.0 and four times the tuple (0.0, 0.0) each for the functions sger, dger, cgeru, zgeru, cgerc, zgerc. Basically it's the preprocessor of f2py macro language like tempita.
The definitions are here
https://github.com/scipy/scipy/blob/d249082f25b3555b9f8d283c97148253526d9cb7/scipy/linalg/fblas_l1.pyf.src#L18-L43
The mistake is the optional part. a cannot be optional there since this is a rank-1 update on a. So not sure what is going on there. If a is not given then this is a segfault with out of bounds access for m, n > 1.

Basically it's the preprocessor of f2py macro language like tempita.

Thanks for spelling it out. Yeah I knew it's the templating language and what the type specifiers are, but the \0, \2 is clear as mud:)

The mistake is the optional part. a cannot be optional there since this is a rank-1 update on a. So not sure what is going on there. If a is not given then this is a segfault with out of bounds access for m, n > 1.

It does seem to work single-threaded, but you're right that there is something wrong with the "optional" part. If a is given, then the test is robust, e.g. I added this test for *geru and it passes:
dtype = {'c': np.complex64, 'z': np.complex128}[p]
assert_array_almost_equal(f(-2, [1j, 2j, 3j], [3j, 4j], a=np.zeros((3, 2), dtype=dtype)),
                          [[6, 8], [12, 16], [18, 24]])

When a is not passed in by the user, it's created on the fly with size (m, n) but in a way that isn't thread-safe. Here is what the generated code looks like:
    /* Processing variable m */
    m = len(x);
    /* Processing variable n */
    n = len(y);
    /* Processing variable a */
    capi_a_intent |= (capi_overwrite_a?0:F2PY_INTENT_COPY);
    a_Dims[0]=m,a_Dims[1]=n;
    capi_a_intent |= F2PY_INTENT_IN|F2PY_INTENT_OUT|F2PY_OPTIONAL;
    const char * capi_errmess = "_fblas._fblas.sger: failed to create array from the 3rd keyword `a`";
    capi_a_as_array = ndarray_from_pyobj(  NPY_FLOAT,1,a_Dims,a_Rank,  capi_a_intent,a_capi,capi_errmess);
    if (capi_a_as_array == NULL) {
        PyObject* capi_err = PyErr_Occurred();
        if (capi_err == NULL) {
            capi_err = _fblas_error;
            PyErr_SetString(capi_err, capi_errmess);
        }
    } else {
        a = (float *)(PyArray_DATA(capi_a_as_array));

    if (a_capi == Py_None) {

        int *_i,capi_i=0;
        CFUNCSMESS("sger: Initializing a=0.0\n");
        if (initforcomb(PyArray_DIMS(capi_a_as_array),
                        PyArray_NDIM(capi_a_as_array),1)) {
            while ((_i = nextforcomb()))
                a[capi_i++] = 0.0; /* fortran way */
        } else {
            PyObject *exc, *val, *tb;
            PyErr_Fetch(&exc, &val, &tb);
            PyErr_SetString(exc ? exc : _fblas_error,
                "Initialization of 3rd keyword a failed (initforcomb).");
            npy_PyErr_ChainExceptionsCause(exc, val, tb);
            f2py_success = 0;
        }
    }

The capi_a_intent logic is a bit hard to read, but it feels like it is failing to create fresh copies.


TEM2015 Test 02: CopyFiles.py did not copy all the cache files

There were no errors thrown during script execution, however, there were some warnings which I typically see when copying feature classes with relationship classes. Examples of warning message shown below.
ACTION: At this point I think the best course of action is to modify the installation guide to have users use robocopy to copy files in place of the CopyFiles.py scripts.

Copying folder...
Source:        \[FILESERVER]\development\Commercial\OpsServerBuilds\Archive\20151011_0757\OPSServerInstall\Server\Staging\Caches\NationalIntelligence_ConflictHotSpots
Destination:   C:\arcgisserver\directories\arcgiscache\NationalIntelligence_ConflictHotSpots
WARNING: dataset already exists in destination: C:\arcgisserver\directories\arcgiscache\NationalIntelligence_ConflictHotSpots
If dataset is participating in a relationship, then might have been copied when parent was copied.
Done.

I modified the install guide to instruct users to use robocopy instead of the CopyFiles.py script.

Fixed in Esri\ops-server-config v.next. Closing issue.


pgbouncer: 1.8.1 -> 1.9.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pgbouncer/versions.
meta.description for pgbouncer is: '"Lightweight connection pooler for PostgreSQL"'.

Checks done (click to expand)

built on NixOS
/nix/store/gd1giycp587fazd29sa5v99dvwhqbsz7-pgbouncer-1.9.0/bin/pgbouncer passed the binary check.
1 of 1 passed binary check by having a zero exit code.
1 of 1 passed binary check by having the new version present in output.
found 1.9.0 with grep in /nix/store/gd1giycp587fazd29sa5v99dvwhqbsz7-pgbouncer-1.9.0
directory tree listing: https://gist.github.com/74e3684a3d2a248e543788eb199ecec4
du listing: https://gist.github.com/4d7293f8ad74ac3a24474869de522b70

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 3ae5cdb66692092a6e7f0b530874ff9fe3dfc7f3 && nix-shell --pure -I nixpkgs=. -p pgbouncer

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: pgbouncer
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: pgbouncer
Partial log (click to expand)
     INSTALL  doc/pgbouncer.5 /nix/store/gd1giycp587fazd29sa5v99dvwhqbsz7-pgbouncer-1.9.0/share/man/man5
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/gd1giycp587fazd29sa5v99dvwhqbsz7-pgbouncer-1.9.0
shrinking /nix/store/gd1giycp587fazd29sa5v99dvwhqbsz7-pgbouncer-1.9.0/bin/pgbouncer
gzipping man pages under /nix/store/gd1giycp587fazd29sa5v99dvwhqbsz7-pgbouncer-1.9.0/share/man/
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/gd1giycp587fazd29sa5v99dvwhqbsz7-pgbouncer-1.9.0/bin
patching script interpreter paths in /nix/store/gd1giycp587fazd29sa5v99dvwhqbsz7-pgbouncer-1.9.0
checking for references to /build in /nix/store/gd1giycp587fazd29sa5v99dvwhqbsz7-pgbouncer-1.9.0...
/nix/store/gd1giycp587fazd29sa5v99dvwhqbsz7-pgbouncer-1.9.0

Success on aarch64-linux (full log)
Attempted: pgbouncer
Partial log (click to expand)
     INSTALL  doc/pgbouncer.5 /nix/store/qqz6ybkqcm14q1740bhd4n4gv0lqyljl-pgbouncer-1.9.0/share/man/man5
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/qqz6ybkqcm14q1740bhd4n4gv0lqyljl-pgbouncer-1.9.0
shrinking /nix/store/qqz6ybkqcm14q1740bhd4n4gv0lqyljl-pgbouncer-1.9.0/bin/pgbouncer
gzipping man pages under /nix/store/qqz6ybkqcm14q1740bhd4n4gv0lqyljl-pgbouncer-1.9.0/share/man/
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/qqz6ybkqcm14q1740bhd4n4gv0lqyljl-pgbouncer-1.9.0/bin
patching script interpreter paths in /nix/store/qqz6ybkqcm14q1740bhd4n4gv0lqyljl-pgbouncer-1.9.0
checking for references to /build in /nix/store/qqz6ybkqcm14q1740bhd4n4gv0lqyljl-pgbouncer-1.9.0...
/nix/store/qqz6ybkqcm14q1740bhd4n4gv0lqyljl-pgbouncer-1.9.0


Finalize post integration in smrepl

https://github.com/spacemeshos/smrepl/pull/23

@moshababo - please assign back to me if you want me to do this.

Done