Very important page

Hi this page explains very well how to configure a Registered Application to access Power BI.
It took me 1/2 a day to find it as all other Power BI Embedded docs referred to setting up with ordinary accounts. They referred to the fact that you could also use ApplicationID and Secret, but did not Link to this page to show how.
Please get those pages linked to this page.
Well done on this page BTW.
JK

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

ID: c135bb4c-618b-478d-bce7-ac8608e3caac
Version Independent ID: a297498b-afa2-575d-417c-0cb4696a90af
Content: Service principal with Power BI - Power BI
Content Source: powerbi-docs/developer/embed-service-principal.md
Service: powerbi
Sub-service: powerbi-developer
GitHub Login: @KesemSharabi
Microsoft Alias: kesharab

Hi @Joe8908 , thanks for the kind words and also the helpful, specific suggestion. It's really great to get feedback like this that helps us improve the docs. The doc author will be pleased to know you found the article useful, and I'm sure he'll be glad to act on your suggestion in order to make the article easier to find. Thanks again!

Thank you for your comment, @Joe8908.
We're in the process of updating and refreshing the embedded analytics content. As part of this process we'll update the Service principal with Power BI article, and make sure it is linked to from other relevant documents.
Please note that this may take some time.
Kesem


Update_service_account_cmdlet.md

In the section where we are manually enabling the AES 256 encryption, it is mentioned that the storage account can be a computer account or a service logon account. The powershell cmdlet to enable encryption is mentioned only for a computer account and not a service logon account. This creates some confusion when someone is following the document because if they have a service logon account this command does not work and they think that this command should only be used to change encryption whether it is computer account or service logon account. So, I think it will be easy for readers to understand if we clearly mention both the cmdlets for different types of account.

@khdownie
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


"install start" fails for me; delay between the two is required

I've included my console output below. I would like to be able to install and start the service with one command. However, even calling with two separate commands in succession fails. If I don't wait several seconds after the install, the start call fails. What would be causing this?
D:\Workspace\Mobius7\Projects\MobiusServer.Bootstrapper\bin\Debug>..\..\..\MobiusServer\bin\Debug\MobiusServer.exe install start
Configuration Result:
[Success] Name MobiusServer
[Success] DisplayName Mobius Server
[Success] Description Mobius Server manages connections to autonomous vehicles and Mobius clients.
[Success] ServiceName MobiusServer
Topshelf v<IP_ADDRESS>, .NET Framework v4.0.30319.0

Running a transacted installation.

Beginning the Install phase of the installation.
Installing Mobius Server service
Installing service MobiusServer...
Service MobiusServer has been successfully installed.
Creating EventLog source MobiusServer in log Application...

The Install phase completed successfully, and the Commit phase is beginning.

The Commit phase completed successfully.

The transacted install has completed.
Topshelf.Hosts.StartHost Error: 0 : The service failed to start., System.InvalidOperationException: Cannot start service MobiusServer on computer '.'. ---> Syst
em.ComponentModel.Win32Exception: The service did not respond to the start or control request in a timely fashion
   --- End of inner exception stack trace ---
   at System.ServiceProcess.ServiceController.Start(String[] args)
   at System.ServiceProcess.ServiceController.Start()
   at Topshelf.Runtime.Windows.WindowsHostEnvironment.StartService(String serviceName, TimeSpan startTimeOut)
   at Topshelf.Hosts.StartHost.Run()

D:\Workspace\Mobius7\Projects\MobiusServer.Bootstrapper\bin\Debug>..\..\..\MobiusServer\bin\Debug\MobiusServer.exe start
Configuration Result:
[Success] Name MobiusServer
[Success] DisplayName Mobius Server
[Success] Description Mobius Server manages connections to autonomous vehicles and Mobius clients.
[Success] ServiceName MobiusServer
Topshelf v<IP_ADDRESS>, .NET Framework v4.0.30319.0
The MobiusServer service was started.

D:\Workspace\Mobius7\Projects\MobiusServer.Bootstrapper\bin\Debug>..\..\..\MobiusServer\bin\Debug\MobiusServer.exe uninstall
Configuration Result:
[Success] Name MobiusServer
[Success] DisplayName Mobius Server
[Success] Description Mobius Server manages connections to autonomous vehicles and Mobius clients.
[Success] ServiceName MobiusServer
Topshelf v<IP_ADDRESS>, .NET Framework v4.0.30319.0

The uninstall is beginning.
Uninstalling MobiusServer service
Removing EventLog source MobiusServer.
Service MobiusServer is being removed from the system...
Service MobiusServer was successfully removed from the system.
Attempt to stop service MobiusServer.

The uninstall has completed.

D:\Workspace\Mobius7\Projects\MobiusServer.Bootstrapper\bin\Debug>..\..\..\MobiusServer\bin\Debug\MobiusServer.exe install && ..\..\..\MobiusServer\bin\Debug\Mo
biusServer.exe start
Configuration Result:
[Success] Name MobiusServer
[Success] DisplayName Mobius Server
[Success] Description Mobius Server manages connections to autonomous vehicles and Mobius clients.
[Success] ServiceName MobiusServer
Topshelf v<IP_ADDRESS>, .NET Framework v4.0.30319.0

Running a transacted installation.

Beginning the Install phase of the installation.
Installing Mobius Server service
Installing service MobiusServer...
Service MobiusServer has been successfully installed.
Creating EventLog source MobiusServer in log Application...

The Install phase completed successfully, and the Commit phase is beginning.

The Commit phase completed successfully.

The transacted install has completed.
Configuration Result:
[Success] Name MobiusServer
[Success] DisplayName Mobius Server
[Success] Description Mobius Server manages connections to autonomous vehicles and Mobius clients.
[Success] ServiceName MobiusServer
Topshelf v<IP_ADDRESS>, .NET Framework v4.0.30319.0
Topshelf.Hosts.StartHost Error: 0 : The service failed to start., System.InvalidOperationException: Cannot start service MobiusServer on computer '.'. ---> Syst
em.ComponentModel.Win32Exception: The service did not respond to the start or control request in a timely fashion
   --- End of inner exception stack trace ---
   at System.ServiceProcess.ServiceController.Start(String[] args)
   at System.ServiceProcess.ServiceController.Start()
   at Topshelf.Runtime.Windows.WindowsHostEnvironment.StartService(String serviceName, TimeSpan startTimeOut)
   at Topshelf.Hosts.StartHost.Run()

After posting this I realized there was a 3.2.0 update. It was either fixed in that update or related to a global mutex I was using.


:seedling: bump go version to v1.22.5

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

Project coverage is 79.50%. Comparing base (08ab7fb) to head (63eb47c).
Report is 39 commits behind head on main.

:exclamation:  There is a different number of reports uploaded between BASE (08ab7fb) and HEAD (63eb47c). Click for more details.
HEAD has 1 upload less than BASE

Flag
BASE (08ab7fb)
HEAD (63eb47c)

2
1

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #385      +/-   ##
==========================================
- Coverage   85.06%   79.50%   -5.56%
==========================================
  Files          19       31      +12
  Lines        1346     1952     +606
==========================================
+ Hits         1145     1552     +407
- Misses        125      312     +187
- Partials       76       88      +12

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


fix incorrect link

based on the glue it's pulling from output-insert.md but was linking to code-outputs.md

Thanks! This looks correct to me.


Easier way to use archived and unarchived types together

Not entirely sure how best to approach this. There's a combinatorial type problem trying to shim everything together with traits so it might take some thinking. Maybe the best approach will end up being to make it easier to write code for both types at the same time.

I'm interested in this. As a workaround today to simplify my APIs, can I always use ArchivedMyStruct, treating MyStruct effectively as a schema definition? What are the performance/ergonomics implications of that approach? I believe one is being unable to derive Debug, PartialEq etc for ArchivedMyStruct.

You actually can use derives for your archived types! This does help alleviate most of the annoying and repetitive work; check out the #[archive_attr(...)] attribute for more details. Example:
#[derive(Archive, Serialize, Deserialize)]
#[derive(Debug, PartialEq, PartialOrd)]
// This will add #[derive(Debug, PartialEq, PartialOrd)] to the generated type
#[archive_attr(derive(Debug, PartialEq, PartialOrd)]
pub struct MyStruct {
    x: i32,
    y: i32,
    width: i32,
    height: i32,
}

For custom implementations, there should be no performance implications but the ergonomics are not great. Right now, you have to essentially duplicate most of the impls you write: one for the unarchived version and one for the archived version. In most cases, the code will actually even be the same! So one option being explored is providing a simple macro that just duplicates some impl and rewrites it for the archived type. It might look something like this:
#[impl_archived]
impl MyType {
    fn area(&self) -> i32 {
        self.width * self.height
    }
}

// This would generate the following in addition to the original impl:

impl Archived<MyType> {
    fn area(&self) -> i32 {
        self.width * self.height
    }
}

Right now, you have to essentially duplicate most of the impls you write: one for the unarchived version and one for the archived version

I understand, that's why I mentioned the idea of always dealing with ArchivedMyStruct (constructing, processing, passing around) everywhere. Now I realize it won't work, because I can't serialize ArchivedMyStruct.

Thinking about this, what would prevent me from being able to serialize (or: store) ArchivedMyStruct? Isn't it always pin-safe so that it can be stored by copying the underlying memory?

You could reimplement serialization for archived types. However it's not just a simple memcpy because the relative positions of objects may change. There might be more interesting ideas in there though!

From #512:

I don't have a good answer for this one unfortunately. A while ago I tried to unify archived and un-archived types with rel, but that ended up being too much work and complexity to continue to put effort into. The main options are:

Unify through a common trait. This has the downside of making all of your code generic.
Unify through an enum. This has the downside of making everything more complicated.
Duplicate all of your inherent impls via macro. This has the downside of duplicating code and making everything more complicated.
Unify your archived and unarchived types. This has the downside that you have to change your type to support specific endianness, and that it can't support types with relative pointers (which is kind of the whole point of rkyv).

Whichever route you think is best for your specific situation is up to you. I don't have a good way to solve it right now.


don't hold references to unowned DispatchData objects (SR-3628) for Swift 3.1

(cherry picked from commit dac881a0ec3e41b669aac1f2d686e90e665f08ae)

see comments in #200

@dgrove-oss don't have the access rights to assign you, so just mentioning you instead.

@swift-ci Please test


docs: update DOCS.md

boostrap -> bootstrap

Hey @eltociear, thanks so much for raising the PR. Before we merge it we need you to sign the contribution agreement/add your name to the list of contributors..
Could you kindly follow the guidance here
https://github.com/systeminit/si?tab=readme-ov-file#contributing
Ref:
The System Initiative software is Open Source under the [Apache License 2.0](https://github.com/systeminit/si/blob/main/LICENSE), and is the [copyright of its contributors](https://github.com/systeminit/si/blob/main/NOTICE). If you would like to contribute to the software, you must:

Read the [Contributors](https://github.com/systeminit/si/blob/main/CONTRIBUTORS.md) file.
Agree to the terms by having a commit in your pull request "signing" the file by adding your name and GitHub handle on a new line at the bottom of the file.
Make sure your commits Author metadata matches the name and handle you added to the file.


feat(jinja): current_user_email macro

SUMMARY
This PR adds a new Jinja macro: {{current_user_email()}}. This macro can be specially useful when applying RLS based on the logged in user, as it's typically easier for Organizations to have the email address information available in their warehouse (as opposed to the Superset account's username or id).
Fixes https://github.com/apache/superset/issues/26808.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
No UI changes.
TESTING INSTRUCTIONS

Navigate to SQL Lab.
Execute select '{{current_user_email()}}' as my_email;
Validate that your email address is properly displayed.

Tests also added.
ADDITIONAL INFORMATION

[x] Has associated issue: https://github.com/apache/superset/issues/26808
[x] Required feature flags: ENABLE_TEMPLATE_PROCESSING
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[x] Introduces new feature or API
[ ] Removes existing feature or API

Thanks @Vitor-Avila for the PR. Regarding your comment,

This macro can be specially useful when applying RLS based on the logged in user, as it avoids having to ingest data from the Superset user table to know the account ID or username

this doesn't seem to make sense to us, i.e., the user information (including the ID, email, username, etc.) is being pulled from the Superset metadata database.

hey @john-bodley let me know if you have any concerns with this implementation. This was also asked in this ticket https://github.com/apache/superset/issues/26808

@Vitor-Avila there's no security or implementation concerns IMO, I just think you should remove the following,

as it avoids having to ingest data from the Superset user table to know the account ID or username

from your PR description as said macro does actually need to ingest data from the Superset user table.

@john-bodley ohh gotcha! My point there is that if you want to apply an RLS rule using the other macros, for example:
employee = '{{current_username()}}'

You have to have the Superset username values available in your warehouse (the BI DB, not the Superset metadata DB) to properly make it work. So you have to either extract the account IDs or usernames from the metadata DB to your warehouse to apply RLS.
I updated the PR description -- let me know if you have any questions!

@john-bodley I assumed that you're ok with us merging this, but let us know if there are any other questions. thanks!


Bunny Nose issue no.: #386

Related Issuse or bug

Enhancement

Fixes: #386
Additional Info

Added bunny nose filter

@manisha-27


Fix empty output when running artisan health:list --fresh

So, I am having this issue where the command artisan health:list --fresh has an empty output.
It happens because Termwind has an static variable $renderer for it's output and when an Artisan call is made with a command that also uses Termwind this static variable is updated to use BufferedOutput instead of the default ConsoleOutput.
I could not figure an easy fix for the Termwind project so I'm creating this PR here in order to at least mitigate this issue.

The tests are failing, could you look at that?

Thanks!


pip install -e .[dev] not working

Steps to reproduce:
follow dev install instructions on docs (ran pip install -e .[dev], not pre-commit install)
conda env create also got hung up installing the dependencies.

Is this in a fresh conda environment? and what python version? Looking at the bleach it seems that their last release was prior to supporting python 3.10, so i would try again with python = 3.9


Latex unable to render

In 2.8.0 Latex is unable to render a simple document (pdflatex -halt-on-error -shell-escape demo.tex) like
\documentclass{article}

\usepackage{minted}

\begin{document}
    X \mintinline{http}|abc| X
\end{document}

with the message:
! Missing number, treated as zero.
<to be read again>
                   -
l.2 \PYG{err}{abc}

Might be related to #1710

please take a look @jfbu

@birkenfeld
This is a bug of minted which seems to assign catcode 11 to the - character in this context. It is not a bug of Pygments. I will investigate more later the minted aspect of this
(clearly this is the same as #1731 previous report)
but I can't now and only did enough to get to the conclusion I reported.
We could fix it via \setlength{\fboxsep}{\string -\fboxrule} (mind the space after \string)  or TeX syntax \foxbsep=\string -\fboxrule (space after \string, else du to minted bug, TeX would be a control sequence with name \string- where - is part of the name).
With the above I get successful build of provided test document. But this should be a temporary hotfix as this is a minted bug and should be reported to minted maintainer. Should I make PR with it?

Thanks so much for the investigation!


Autowidth on Select

Is your feature request related to a problem? Please describe.
The Select must have width  equal to the the longest text in the items array to avoid having horizontal scroll in options.
The main friction is when filtering on big data set will cause column width to vary because we must have wide enough columns to avoid horizontal scrolling in a Select component within the table.
Describe the solution you'd like
The options container should use necessary space horizontal.  (possible bigger the than the parent component)
A auto width property similar to material-ui.
Describe alternatives you've considered
Custom made select
Additional context
Material ui's Simple Select does solve this problem.
https://material-ui.com/api/select/

Thanks for your feedback!
Do you have an example of the use-case where this is a problem for you (since you cant't make a fixed width that works)?
We have several options here which would also be discussed with our designer, such as may the text be truncated with ellipsis or similar if width is max of parent.
We'll have a look at it on our next planning meeting and get back to you on priority :)

Thanks for your feedback!
Do you have an example of the use-case where this is a problem for you (since you cant't make a fixed width that works)?
We have several options here which would also be discussed with our designer, such as may the text be truncated with ellipsis or similar if width is max of parent.
We'll have a look at it on our next planning meeting and get back to you on priority :)

I have a dropdown with labels of up to 36 characters in a table column.
Being forced to set width on the column make the table too wide.
Our tables have typically 10-15 columns.
The designers could create worst-case design of a table with dropdown cell where options have up to 40 characters.

I have a dropdown with labels of up to 36 characters in a table column.
Being forced to set width on the column make the table too wide.
Our tables have typically 10-15 columns.
The designers could create worst-case design of a table with dropdown cell where options have up to 40 characters.

We had a look at this during planning today, and I think we need to look closer at this use-case with our designers @equinor/eds-ux to determine what would be the best solution or approach to this problem. @akvam showed us some use-cases from (one-of) the app you are working on, but maybe we could have a meeting with you and our designers to have a closer look at this?

We had a look at this during planning today, and I think we need to look closer at this use-case with our designers @equinor/eds-ux to determine what would be the best solution or approach to this problem. @akvam showed us some use-cases from (one-of) the app you are working on, but maybe we could have a meeting with you and our designers to have a closer look at this?

Sure, lets arrange a meeting.

Sure, lets arrange a meeting.

Notes for self: https://github.com/floating-ui/floating-ui/issues/794


panoptes workflow naming

It appears that the user cannot set the workflow name for panoptes via --wms-monitor-arg, at least, I haven't been able to figure out how or see any documentation on it. The snakemake-generated UUID names do not work well when viewing a bunch of workflows in panoptes, and manually renaming them is a big enough hassle that it is generally not worth the benefit gained from panoptes.
So, it would be great if the user could automatically set the workflow name via --wms-monitor-arg. If this is already possible, it would be great to have more docs on that.

It seems PR #2444 tries to fix this.

It seems PR #2444 tries to fix this.

Yes absolutely! I'm waiting for the new version Johannes is working on (where the different interfaces executor plugins are being reshaped) to finalise and adapt the code but the code in my PR is already working with panoptes on my instance :)

It seems logging will stay in the main snakemake repo (at least I could not find any repos for logging).
@johanneskoester can you confirm? If so, then there is no need to wait and we can process with this PR, no?

It seems the fix has just been merged.
@nick-youngblut, can you give it a try and see if it works?

I tried this and it worked


SimdLib.cpp.o no such file or directory

platform

raspberry pi 4b
ubuntu server 18.04 xfce desktop
gcc 7.5.0

cmake output

make build error

makefile
https://paste.ubuntu.com/p/WXHtqnSN5t/

Hi! Thank you for bug report! I will try to reproduce this error on the target platform.

I used raspberry pi 4b, Ubuntu 16.04 (32-bit and 64-bit mode). The project was compiled and linked successfully. So I can't reproduce this error.

Sorry to report latter, I will try to build SIMD at the weekend. I don't know the reason either. Maybe It is due to the OS ? I know that gcc version on ubuntu 20.04 is different with ubuntu 16.04. But on the other hand I successfully to install SIMD on ubuntu 20.04_x86_64.


15.3Sum

Contain optimal solution for 3Sum
In java, c++ and description of solution

duplicate: #64


[ACTION] - Investigate why not all falco configurations are benchmarked

With latest fixes the benchmark pipeline is triggered for each of the 3 falco configurations.
However only 2/3 pipeline runs are successful. The 3rd fails with an error that looks related to GitHub Actions concurrency setting
https://github.com/cncf-tags/green-reviews-tooling/blob/45185e85d0c8e7d8a06009b306d1421ace9c749a/.github/workflows/benchmark-pipeline.yaml#L29-L30
Benchmark Pipeline
Canceling since a higher priority waiting request for 'benchmark' exists

e.g. https://github.com/cncf-tags/green-reviews-tooling/actions/runs/12155458645

@rossf7 I can take a look at this one if you're ok with it.

Thank you @SRF-Audio that would be great! I've assigned you.
Let me know if you need more information or I can help somehow.

Thanks @rossf7.
Actually there is. As a repo admin, are you able to get me a HH:mm:ss timestamp for when each of these triggered, exactly?

https://github.com/cncf-tags/green-reviews-tooling/actions/runs/12155458570
https://github.com/cncf-tags/green-reviews-tooling/actions/runs/12155458645
https://github.com/cncf-tags/green-reviews-tooling/actions/runs/12155458674

When I look at the workflow runs over the past few days, it seems like each commit SHA is triggering 3x discrete instances of the benchmark pipeline. I'd like to verify that with a specific timestamp.
I presume that the intent is that one commit SHA produces one pipeline instance?

So, we'd need to figure out why 3x trigger events happen from 1 commit SHA.
The behavior seems to align with the concurrency documentation, where only 1 active, and 1 pending job can be in the queue.
If the intent is actually for 3 simultaneous pipelines from a single commit SHA, then I think we'd need to do something like:
concurrency:
  group: benchmark-${{ github.run_id }}

The behavior seems to align with the concurrency documentation, where only 1 active, and 1 pending job can be in the queue.

Thanks @SRF-Audio yes this is indeed the issue.

We will use concurrency to only allow a single execution of the pipeline at any one time.

This is from proposal 1 which links to the same docs! I think past me must have misread them :(
The reason we would like to run the pipelines sequentially is because we have a single node to do the benchmarking.
When we can provision nodes dynamically we could create a node per pipeline instance but we're not there yet. We would also need limits to not create an excessive number of nodes.
Do you think using cancel-in-progress: false would let us execute the 3rd config successfully?
If so I think this may be the best solution for now.

@rossf7 I have a branch ready to PR, but I think I need to be added to the repo:
git push --set-upstream origin issue-142
ERROR: Permission to cncf-tags/green-reviews-tooling.git denied to SRF-Audio.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


Fix CONTRIBUTING.md path and rename typings/main.d.ts to index.d.ts in tsconfig.json

Fix CONTRIBUTING.md path and rename typings/main.d.ts to index.d.ts in tsconfig.json file.
Related: #242

Thank you!


Improved i18n

Added $swal dialogs in client/src/components/context.vue to locale.
Added send_a_message to locales.
chat and settings grouped.
connection group improved, so no dangling connected and disconnected are left behind.

I am planning to add Slovak and German translation, so I had to separate some phrases. Biggest problem are causing me notifications, where is starts with name or You, but not in all languages works it like in english. I have to change that in the future too.

looks good to me.


📖 Ability to run static code analysis locally

User Story
As a customer of the Modernisation Platform
I want to be able to run static code analysis the same as it is in GitHub Actions
So that I can shorten the feedback loop of failing static code analysis warnings
Value / Purpose
Having the ability to run Checkov and Trivy locally with all the same parameters/flags that the GitHub Actions workflow uses would allow me as an engineer to remediate issues before having to wait for GitHub Actions to fail.
Useful Contacts
@jacobwoffenden
Additional Information
I've started this already (https://github.com/ministryofjustice/modernisation-platform-environments/blob/main/scripts/member-static-analysis.sh) but haven't yet put the effort into transpiling https://github.com/ministryofjustice/github-actions/tree/main/terraform-static-analysis parameters/flags
Proposal / Unknowns
Hypothesis
If we... [do a thing] Then... [this will happ]
Proposal
A proposal that is something testable, don't worry whether it works or not, it's a place for ideas.
Unknowns
Potential pitfalls that could cause the story to expand beyond its original scope. Ideally this section will remain blank.
Definition of Done

[x] Documentation has been written / updated
[x] Another team member has reviewed
[x] Tests are green

Going to write a how to documentation for this issue that way if other people want do somthing simila we can just link the doc to them

PR Merged documentation is up

Documentation created on our user guide on how to install and run the static code analysis

Ticket reviewed and the document can be found here. It provides clear instruction to run SCA locally, so moving it to done.


[PreviewHTML] empty overset produces math processing error

When PreviewHTML (or fast-preview) is used, \overset{}X and \unerset{}X both generate [Math Processing Error].
Originally reported on meta.math.SE.

This is resolved in the issue1474 branch of my fork of MathJax

==> Merged.

==> In testsuite
LaTeXToMathML/above-below/issue1474.html


Add getters+setters for enabling map gestures on Android

This creates a simple way to enable or disable some or all of the gestures that can be used to change the map view.
On iOS this can be achieved by accessing the gesture recognizers directly like:
mapView.rotationGestureRecognizer.enabled = NO;

On Android this now leaves us with some potentially redundant interfaces. The gesture responder interfaces can be used to pre-empt map view changes cause by gestures, but this is no longer necessary. We can now potentially simplify these interfaces by removing return values from the methods, or even remove these gesture responders from the public interface.

Rebasing and merging.


[WIP] Tandem support

This is still pretty rough and makes no attempt to decode log records or profiles, but it can send most commands and decode the responses.
Do not merge.

I'm gonna assume this is being superseded by #159 and closing.


[BUG] Issues running selenium tests with headless Firefox

What is the bug?
The PR to fix the build on 2.x is running into issues in the integration tests running selenium tests with Firefox.
The build output contains an error stating InvalidArgumentError: binary is not a Firefox executable.
See example Github Action with the failure here: https://github.com/opensearch-project/security-dashboards-plugin/actions/runs/5744153275/job/15572648806?pr=1533

One thing that's odd is that there are progressively more " surrounding the debug output of Browser path:
console.debug
    Driver path: /opt/hostedtoolcache/geckodriver/0.33.0/x64/geckodriver

      at logOutput (plugins/security-dashboards-plugin/node_modules/selenium-webdriver/common/seleniumManager.js:142:15)
          at runMicrotasks (<anonymous>)

  console.debug
    Browser path: "/usr/lib/firefox/firefox.sh"

      at logOutput (plugins/security-dashboards-plugin/node_modules/selenium-webdriver/common/seleniumManager.js:142:15)
          at runMicrotasks (<anonymous>)

  console.debug
    Driver path: /opt/hostedtoolcache/geckodriver/0.33.0/x64/geckodriver

      at logOutput (plugins/security-dashboards-plugin/node_modules/selenium-webdriver/common/seleniumManager.js:142:15)
          at runMicrotasks (<anonymous>)

  console.debug
    Browser path: ""/usr/lib/firefox/firefox.sh""

      at logOutput (plugins/security-dashboards-plugin/node_modules/selenium-webdriver/common/seleniumManager.js:142:15)
          at runMicrotasks (<anonymous>)

  console.log
    Remove the Sample Data

      at Object.<anonymous> (plugins/security-dashboards-plugin/test/jest_integration/saml_auth.test.ts:178:13)
          at runMicrotasks (<anonymous>)

  console.error
    Unhandled error

      at process.uncaught (node_modules/jest-jasmine2/build/jasmine/Env.js:241:19)
      at process.emit (node_modules/source-map-support/source-map-support.js:516:21)

  console.error
    InvalidArgumentError: binary is not a Firefox executable
        at Object.throwDecodedError (/home/runner/work/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/plugins/security-dashboards-plugin/node_modules/selenium-webdriver/lib/error.js:524:15)
        at parseHttpResponse (/home/runner/work/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/plugins/security-dashboards-plugin/node_modules/selenium-webdriver/lib/http.js:601:13)
        at Executor.execute (/home/runner/work/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/plugins/security-dashboards-plugin/node_modules/selenium-webdriver/lib/http.js:529:28)
        at runMicrotasks (<anonymous>)
        at processTicksAndRejections (node:internal/process/task_queues:96:5)

      at process.uncaught (node_modules/jest-jasmine2/build/jasmine/Env.js:242:19)
      at process.emit (node_modules/source-map-support/source-map-support.js:516:21)

I have confirmed that this is an issue with selenium-webdriver 4.11.x, the build errors are resolved by forcing the resolution to 4.10.0


Fix docs in Speech and Logging

This PR fixes broken links in Speech.
It also adds a missing return type in Logging. The return type is critical. Its absence causes the gh-pages site app to fail while rendering this view: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/v0.22.0/google/cloud/logging/logger /cc @hxiong388
[fixes #1072]

Can we make jsondoc raise if the return type is missing? If it did, we would have caught this sooner.

Thanks for catching the missing return type.

@blowmage Yes, see #1080.


text fused together and narrow headers

Can't reproduce it on lorem ipsum notes unfortunately, which would probably be really helpful to you :(

This will be fixed in the reimplementation of styling logic.

Fixed in latest version


Support CIDR blocks in no_proxy config

This commit adds support for using CIDR blocks defined in the no_proxy environment variable. For example:
http_proxy=http://localhost:8080 no_proxy=<IP_ADDRESS>/24

The example above would bypass the proxy if the server IP matched <IP_ADDRESS> - <IP_ADDRESS>.
Closes #22681

@yashykt Would you be able to review?

Sorry for the delay. I'll take a look at this this week.

Also, could I request that you do not force-push/delete older commits that were reviewed. It would help maintain review history. The commits would be squashed at merge time anyway.

Sure, thing. I'm curious, though, how it maintains review history. The pull request still has the comments?

Sure, thing. I'm curious, though, how it maintains review history. The pull request still has the comments?
If the previous commits remain, I can do a diff and see what changed from the previous commit, as opposed to having to look at the entire PR again.

Trying to reproduce this build failure. Am I just missing this?
diff --cc BUILD
index 4ec32ff966,4ec32ff966..9159917f7c
--- a/BUILD
+++ b/BUILD
@@@ -2756,10 -2756,10 +2756,12 @@@ grpc_cc_library
          "//src/core:ext/filters/client_channel/lb_policy/child_policy_handler.cc",
          "//src/core:ext/filters/client_channel/lb_policy/oob_backend_metric.cc",
          "//src/core:ext/filters/client_channel/local_subchannel_pool.cc",
++        "//src/core:ext/filters/client_channel/parse_address.cc",
          "//src/core:ext/filters/client_channel/retry_filter.cc",
          "//src/core:ext/filters/client_channel/retry_service_config.cc",
          "//src/core:ext/filters/client_channel/retry_throttle.cc",
          "//src/core:ext/filters/client_channel/service_config_channel_arg_filter.cc",
++        "//src/core:ext/filters/client_channel/sockaddr_utils.cc",
          "//src/core:ext/filters/client_channel/subchannel.cc",
          "//src/core:ext/filters/client_channel/subchannel_pool_interface.cc",
          "//src/core:ext/filters/client_channel/subchannel_stream_client.cc",
@@@ -2782,9 -2782,9 +2784,11 @@@
          "//src/core:ext/filters/client_channel/lb_policy/oob_backend_metric.h",
          "//src/core:ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h",
          "//src/core:ext/filters/client_channel/local_subchannel_pool.h",
++        "//src/core:ext/filters/client_channel/parse_address.h",
          "//src/core:ext/filters/client_channel/retry_filter.h",
          "//src/core:ext/filters/client_channel/retry_service_config.h",
          "//src/core:ext/filters/client_channel/retry_throttle.h",
++        "//src/core:ext/filters/client_channel/sockaddr_utils.h",
          "//src/core:ext/filters/client_channel/subchannel.h",
          "//src/core:ext/filters/client_channel/subchannel_interface_internal.h",
          "//src/core:ext/filters/client_channel/subchannel_pool_interface.h",

oops, looks like I overwrote your commit. My bad! But, I think that should fix the build issues.

Thanks! I wasn't able to reproduce the error locally with bazel build :all.

@stanhu can you please run -
tools/distrib/iwyu.sh
tools/distrib/clang_format_code.sh

Thanks for the contribution!


travis build is not working

All builds are failing:
https://travis-ci.org/Netflix/AWSObjectMapper/builds
Looks like someone turned on travis without adding the build file.

Shall add.


Getting DBConnection.ConnectionError on sandbox migrations

I am trying to use a sqlite3 database with ecto. Everything seems to work without any problems on the dev environment, however when I am running tests, a lot of times I get this error:

[error] Exqlite.Connection (#PID<0.214.0>) failed to connect: ** (Exqlite.Error) database is locked
[info] == Running<PHONE_NUMBER>0403 SslMoon.Repo.Migrations.AddChecksTable.change/0 forward
[info] create table checks
** (DBConnection.ConnectionError) could not checkout the connection owned by #PID<0.223.0>. When using the sandbox, connections are shared, so this may imply another process is using a connection. Reason: connection not available and request was dropped from queue after 1760ms. This means requests are coming in and your connection pool cannot serve them fast enough. You can address this by:

Ensuring your database is available and that you can connect to it
Tracking down slow queries and making sure they are running fast enough
Increasing the pool_size (although this increases resource consumption)
Allowing requests to wait longer by increasing :queue_target and :queue_interval
See DBConnection.start_link/2 for more information
(ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
(elixir 1.15.5) lib/enum.ex:1693: Enum."-map/2-lists^map/1-1-"/2
(ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:1005: Ecto.Adapters.SQL.execute_ddl/4
(ecto_sql 3.10.1) lib/ecto/migration/runner.ex:327: Ecto.Migration.Runner.log_and_execute_ddl/3
(elixir 1.15.5) lib/enum.ex:1693: Enum."-map/2-lists^map/1-1-"/2
(stdlib 5.0.2) timer.erl:270: :timer.tc/2
(ecto_sql 3.10.1) lib/ecto/migration/runner.ex:25: Ecto.Migration.Runner.run/8
(ecto_sql 3.10.1) lib/ecto/migrator.ex:362: Ecto.Migrator.attempt/8

Any idea on why this might be happening? I've read that sqlite doesn't allow concurrent inserts, however creation of db and tables shouldn't be concurrent in theory.
For reference my test_helper.exs contains also:
Ecto.Adapters.SQL.Sandbox.mode(Repo, :manual)

This also seems to not happen every time, maybe some kind of race condition is involved here?

What are your settings for your database?
Specifically :pool, :queue_target and :pool_size for your test environment.

How many of those tests are using async: true?

None, currently all tests that include DB interaction are disabled.
The failure always occurs at migration stage.

In our integration tests in the test_helper.exs we do this
https://github.com/elixir-sqlite/ecto_sqlite3/blob/37b68d9874695e5c17b80c5d7d57f8a803fd9524/integration_test/test_helper.exs#L50-L71
You can ignore PoolRepo its there to test that pooled connections work.
Generally when I am working with sqlite in my personal projects I have an alias I use
def project do
  [
    # ... snip ...
    preferred_cli_env: [
      "test.prepare": :test
    ]
  ]
end

def aliases do
  [
    # ... snip ...
    "test.prepare": ["ecto.drop --quiet", "ecto.create --quiet", "ecto.migrate"]
  ]
end

The above is not necessary, but it's a nice to have.
So the workflow is usually
mix ecto.gen.migration foobar
mix ecto.migrate
# do work
# add tests
mix test.prepare
mix test

Ok, this might be promising. I will try it and come back with feedback!
Is this specified somewhere in the official documentation? because I was digging for quite some time and didn't found anything.

No it is not. We can definitely add it in as a "Suggested Workflow" pattern.

Hi @warmwaffles,
I am having the very same error over and over again, especially in CI.
17:38:52.553 [error] Exqlite.Connection (#PID<0.224.0>) failed to connect: ** (Exqlite.Error) database is locked

You can see my entire test setup on SwissSchema's GitHub, but below is the most relevant piece of code:
defmodule SwissSchemaTest do

  # ...
  @database_dir Application.compile_env!(:swiss_schema, :database_dir) # => "/tmp/swiss_schema"

  setup_all do
    File.rm_rf!(@database_dir)

    Enum.each([Repo, Repo2], fn repo ->
      db_name = "#{repo}" |> String.split(".") |> List.last() |> String.downcase()
      db_path =<EMAIL_ADDRESS>
      start_link = Function.capture(repo, :start_link, 1)
      start_link.(database: db_path, log: false)

      Ecto.Adapters.SQLite3.storage_up(database: db_path)
      Ecto.Migrator.up(repo, 1, SwissSchemaTest.CreateUsers, log: false)
    end)

    on_exit(fn -> File.rm_rf!(@database_dir) end)
  end

  setup do: on_exit(fn -> Repo.delete_all(User) && Repo2.delete_all(User) end)

It smells like some racing condition, but I'm unable to understand where I'm creating such racing cond. Any help is appreciated :)

Does this happen all the time or is it infrequent? Does it coincide with test that fails (not the cause for the test failure)?
I'm hypothesizing that this may be an unclean shutdown of the failing database.
How many test cases are in this test file? Is this ran asynchronously?

Matthew,
It happens quite frequently. I frequently have to rerun failed tests over
and over again to get rid of failing pipelines because of “database is
locked” errors.
So, I don’t think it’s a failing test case. As you can see, I am using
setup_all/1’s on_exit/1 hook to call rm_rf!/1 on the database dir. It would
be executed even if there’s a failing test, right?
Do you think that manually shutting down database processes (started w/
repo’s start_link/1) could help with it?
IIUC, all my tests run synchronously. But I’ll have a closer look tomorrow
to make sure that’s the case.
Joel Jucá
joeljuca.com
On Tue, 26 Dec 2023 at 12:16 AM Matthew Johnston @.***>
wrote:

Does this happen all the time or is it infrequent? Does it coincide with
test that fails (not the cause for the test failure)?
I'm hypothesizing that this may be an unclean shutdown of the failing
database.
How many test cases are in this test file? Is this ran asynchronously?
—
Reply to this email directly, view it on GitHub
https://github.com/elixir-sqlite/ecto_sqlite3/issues/125#issuecomment-1869221915,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFEQXEE4YNQFH7Q5ZKMCSLYLI6RTAVCNFSM6AAAAAA453NC22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGIZDCOJRGU
.
You are receiving this because you commented.Message ID:
@.***>

I just checked it out. The problem seems to only happen during the setup_all block at the very beginning of the test suite, then continues on fine.
I suspect you are not deleting the WAL file and some other various lock files that go along with the sqlite database. That being said, the errors stopped completely when I remove the cleanup procedures.
  setup_all do
    Enum.each([Repo, Repo2], fn repo ->
      db_name = "#{repo}" |> String.split(".") |> List.last() |> String.downcase()
      db_path =<EMAIL_ADDRESS>
      start_link = Function.capture(repo, :start_link, 1)
      start_link.(database: db_path, log: false)

      Ecto.Adapters.SQLite3.storage_up(database: db_path)
      Ecto.Migrator.up(repo, 1, SwissSchemaTest.CreateUsers, log: false)
    end)

    :ok
  end


Support adding references

Currently there is no way to add references beyond the ones that are already provided.
Fiddler allows its JScript engine to add references in Configuration, this setting should be respected.

This was fixed in 32b68f2899e8594084a8137af7c4f5db5a630638.


A.17.IR22.IR23.ds.temporal

This issue has been extracted from the issue list on:https://ies-svn.jrc.ec.europa.eu/issues/2685
Comment
I think it has to be the other way round: The test regarding TG Req. 23 will be passed only if at least one of the three date-checks is valid.
Otherwise (as I read the documented tests by now) the test could fail e.g. because of a missing revision date though there is a valid creation date.
Proposed Change
"The test will fail be passed if and only if at least one check among date of publication, date of last revision or date of creation doesn't evaluates to true."

Proposed Resolution
See resolution of issue #74


Speedrun

Speedrun
We guess a bit too much.  To reduce the amount of guessing about Osmosis performance, here's a speedrun script, which will (at least) record how long v3-6 take to sync.

For contributor use:

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer

Codecov Report

Merging #1270 (cb4df9e) into main (b6d342a) will decrease coverage by 0.82%.
The diff coverage is 9.38%.

@@            Coverage Diff             @@
##             main    #1270      +/-   ##
==========================================
- Coverage   20.90%   20.08%   -0.83%
==========================================
  Files         196      203       +7
  Lines       25425    26786    +1361
==========================================
+ Hits         5316     5379      +63
- Misses      19118    20409    +1291
- Partials      991      998       +7

Impacted Files
Coverage Δ

x/claim/abci.go
0.00% <ø> (ø)

x/claim/client/cli/query.go
34.45% <ø> (ø)

x/claim/client/cli/tx.go
0.00% <ø> (ø)

x/claim/handler.go
0.00% <ø> (ø)

x/claim/keeper/claim.go
64.33% <ø> (ø)

x/claim/keeper/grpc_query.go
2.50% <ø> (ø)

x/claim/keeper/hooks.go
28.00% <ø> (ø)

x/claim/keeper/keeper.go
87.50% <ø> (ø)

x/claim/keeper/params.go
81.81% <ø> (ø)

x/claim/module.go
58.06% <ø> (ø)

... and 102 more

Continue to review full report at Codecov.

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


[Warhammer 4e Character Sheet] 1.41 Initiative penalty fix

Changes / Comments

Initiative penalty display not functioning correctly fixed.

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[x] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


checker: transfer leader first when offline a store

What problem does this PR solve?
See #1720.
What is changed and how it works?
This PR adds CreateOfflinePeerOperator to accelerate the offline speed.

[ ] need manually test

Check List
Tests

Unit test

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@543309d). Click here to learn what that means.
The diff coverage is 80%.

@@            Coverage Diff            @@
##             master    #1812   +/-   ##
=========================================
  Coverage          ?   77.95%
=========================================
  Files             ?      167
  Lines             ?    16492
  Branches          ?        0
=========================================
  Hits              ?    12856
  Misses            ?     2583
  Partials          ?     1053

Impacted Files
Coverage Δ

server/schedule/checker/replica_checker.go
82.53% <100%> (ø)

server/schedule/operator/operator.go
85.2% <72.22%> (ø)

Continue to review full report at Codecov.

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

LGTM. But I think it can be improved by remaining some leaders to make all nodes generating snapshots at approximately same speed.


Having issues with NGINX

Not gonna lie, im pretty new to NGINX, even after reading the documentation and the production tab for nginx I still don't understand how to configure it well to work seamlessly with this package.  I have it working well in development, just the process of moving it to production with nginx's configuration is where im having issues. Any Help or examples would be greatly appreciated

I'm working in a boilerplate repo to deploy "django-nextjs" projects. Soon, I'll make a tutorial more detailed but for now you can check this example https://github.com/sebherrerabe/django-nextjs-prod .

Here is a another config as a simple starting point for production. This is for demonstration and  is not complete at all. I assume uwsgi is used as application server for serving django requests, and PM2 is used for running next.js server.
/etc/nginx/nginx.conf:
http {

    # ... other config ...

    # gzip settings
    gzip on;
    gzip_comp_level 2;
    gzip_proxied any;
    # Don't compress anything that's already small and unlikely to shrink much if at all
    # The default is 20 bytes, which is bad as that usually leads to larger files after gzipping
    gzip_min_length 1000;  # 1000 bytes
    gzip_types
        text/plain
        text/html
        text/css
        text/javascript
        application/x-javascript
        application/javascript
        application/json
        text/xml
        application/xml
        application/rss+xml
        application/atom+xml
        application/xhtml+xml
        image/svg+xml;

    # ... other config ...

    include /etc/nginx/sites-enabled/*;
}

/etc/nginx/sites-enabled/my_django_nextjs_website:
upstream django {
    server unix:/path/to/uwsgi.sock;  # unix socket file from uwsgi
}

upstream nextjs {
    server <IP_ADDRESS>:3000;  # preferrably served by a node.js process manager (like PM2)
}

server {
    listen 443 ssl http2;
    server_name example.com;

    # SSL config here...

    # max upload size
    client_max_body_size 200M;

    # django static files
    location /static/ {
        alias /path/to/django/static/;
        expires max;
        add_header Cache-Control "public";
    }

    # NextJS
    location /_next/static/ {
        alias /path/to/next/project/.next/static/;
        expires max;
        add_header Cache-Control "public";
    }
    location /_next/ {
        proxy_set_header  x-real-ip  $remote_addr;
        proxy_pass  http://nextjs;
    }
    location /next/ {
        alias /path/to/next/project/public/next/;
        expires max;
        add_header Cache-Control "public";
    }

    location / {
        uwsgi_pass  django;
        include /path/to/uwsgi_params;
    }
}


Google Photos only partially tricked

Just flashed this on an updated Pixel 6 to get the spoofing for unlimited storage. The app does say that the phone has unlimited storage, but uploading a video still takes up space in the cloud.
Said yes to nothing during the flashing.

it's due to your CTS not passed, so both will be fixed on next update

Fixed on v2.01


Added Italian Holidays based on Google Calendar of Italian Holidays

Added locale/italy.js
Ran npm test with the following output:
$ npm test
><EMAIL_ADDRESS>test V:\repoPvt\moment-holiday
 >jshint *.js locale/*.js && ava

ERROR: Can't open *.js
ERROR: Can't open locale/*.js
40 passed

Ran the same tests on master branch with same results.

San Silvestro 12/31 is not holiday in Italy, it should be removed.


tagged version ?

Hey, thanks for this package.
Could you provide tagged release with semver ? That would help control what get pulled in our project using dateparse.
Go module support would be nice as well.

We'd also appreciate a tag! Is there any way we can help?

Bump please tag for the love


Drawer click goes to root screen when used with react-native-navigation

I have gone through these following points

[x]   Check latest documentation: https://docs.nativebase.io/
[x]   Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
[x]   Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
[x]   Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
[x]   For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
[x]   For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

Issue Description
I have Login, Register page from when I am trying to go to home page where I am implementing native base drawer, but clicking on open the drawer but the page move to root screen.
node, npm, react-native, react and native-base version, expo version if used, xcode version
"native-base": "^2.12.1",
"react": "16.8.3",
"react-native": "0.59.0",
"react-native-router-flux": "^4.0.6",

Expected behaviour
It should stay on the same page where drawer has opened,
Actual behaviour
It is going to root screen when click on drawer button
Steps to reproduce
App.js
import React, { Component } from "react";
import { connect } from "react-redux";
import { Scene, Router } from "react-native-router-flux";
import { Drawer } from 'native-base';
import PropTypes from "prop-types";
import { StatusBar } from "react-native";
import { closeDrawer } from "./actions/drawer";
import Login from "./components/rider/login/";
import Home from './components/rider/home/';
import variables from "./theme/variables/commonColor";
const RouterWithRedux = connect()(Router);
class AppNavigator extends Component<{}> {
static propTypes = {
drawerState: PropTypes.string
};
componentDidUpdate() {
    if (this.props.drawerState === "opened") {
        this.drawer._root.open();
    }

    if (this.props.drawerState === "closed") {
        this.drawer._root.close();
    }
}
openDrawer() {
    this.drawer._root.open();
}

closeDrawer() {
     if (this.props.drawerState === "opened") {
        this.props.closeDrawer();
    }
    //this.drawer._root.close();
}

render() {
    // eslint-disable-line class-methods-use-thisy
    return (
        <Drawer ref={(ref) => { this.drawer = ref; }}
            content={<SideBar navigator={this.navigator} />}
            onClose={() => this.closeDrawer()}
            type="overlay"
            tapToClose
            tweenHandler={ratio => {
                //eslint-disable-line
                return {
                    drawer: { shadowRadius: ratio < 0.2 ? ratio * 5 * 5 : 5 },
                    main: {
                        opacity: (2 - ratio) / 2
                    }
                };
            }}

        >
            <StatusBar
                backgroundColor={variables.brandPrimary}
                barStyle="light-content"
            />
            <RouterWithRedux>
                    <Scene key="root" hideNavBar>
                        <Scene key="login" component={Login} hideNavBar initial={true} />
                        <Scene key="home" component={Home} />
                    </Scene>
            </RouterWithRedux>
        </Drawer >
    );
}

}
const bindAction = (dispatch) => {
return {
closeDrawer: () => dispatch(closeDrawer())
};
};
const mapStateToProps = state => ({
drawerState: state.drawer.drawerState
});
export default connect(
mapStateToProps,
bindAction
)(AppNavigator);
login.js
import React, { Component } from "react";
import { connect } from "react-redux";
import { View, Platform } from "react-native";
import { Actions } from "react-native-router-flux";
import { Content, Text, Button, Icon } from "native-base";
import { Grid, Col } from "react-native-easy-grid";
import commonColor from "../../../theme/variables/commonColor";
import styles from "./styles";
class Login extends Component {
render() {
return (
<View style={{ flex: 1 }}>
<View style={{ padding: 10, marginBottom: 60 }}>

<Col style={{ padding: 10 }}>
<Button
onPress={() => Actions.signIn()}
transparent
block
style={styles.loginBtn}
>
<Text style={{ color: commonColor.brandPrimary, fontWeight: "600" }}>
SIGN IN

<Col style={{ padding: 10 }}>
<Button
onPress={() => Actions.register()}
block
style={styles.registerBtn}
>
<Text style={{ fontWeight: "600", color: "#fff" }}>
REGISTER

);
}
}
export default connect()(Login);
home.js
import React, { Component } from "react";
import { connect } from "react-redux";
import { Image, View, Dimensions, Platform } from "react-native";
import {
Header,
Text,
Button,
Icon,
Title,
Left,
Right,
Body
} from "native-base";
import styles from "./styles";
import { openDrawer } from "../../../actions/drawer";
import commonColor from "../../../theme/variables/commonColor";
class Home extends Component {
constructor(props) {
super(props);
}
render() {
return (

Page under construuction

<Header
iosStatusbar="default"
style={Platform.OS === "ios" ? styles.iosHeader : styles.aHeader}
androidStatusBarColor={commonColor.statusBarLight}
>

<Icon
name="ios-menu"
style={{ color: commonColor.brandPrimary }}
/>

<Title style={{ color: commonColor.brandPrimary, marginTop: -2 }}>
Drawer Demo App

);
}
}
function bindActions(dispatch) {
return {
openDrawer: () => dispatch(openDrawer())
};
}
const mapStateToProps = state => ({
navigation: state.cardNavigation
});
export default connect(
mapStateToProps,
bindActions
)(Home);
Is the bug present in both iOS and Android or in any one of them?
I tried on Android
Any other additional info which would help us debug the issue quicker.

Can you please have repo on git for this?

Provide me your email ID I will give you access.
Thanks and Regards
Sumit Kumar Tiwari
On Tue, Apr 2, 2019 at 6:45 AM Supriya Kalghatgi<EMAIL_ADDRESS>wrote:

Can you please have repo on git for this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GeekyAnts/NativeBase/issues/2636#issuecomment-478923499,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMpWJpFx_44rAX3LegjCeik5ILQu5TYyks5vcybGgaJpZM4b8v8T
.

<EMAIL_ADDRESS>

Closing issue due to no response


Windows: Default app shortcut AltGr + M

Hey,
I've had a report of a windows user who said everytime she types a 'µ' on her German keyboard (AltGr+M) instead of a 'µ' appearing in the text, the mattermost app opens. Apparently, she was able to mitigate this by setting a shortcut for the Desktop link to Mattermost, but after a restart it's back as it was.
Any ideas?

Well, I'd like to reproduce that for investigation, but I don't have any German keyboards. Can the right-hand Alt key of US keyboard be an equivalent for AltGr?
And would you tell us about her situation?

Environment

Operating System:
Mattermost Desktop App version: X.X.X (See [Help] > [Version Number])

Steps to reproduce

Did she type 'μ' on another app? Then did the mattermost desktop open?
In that time, was the mattermost desktop already running in background?

Environment

Windows 10
Mattermost 4.2.0

Reproduction steps

Type 'μ' in any other app?, then the mattermost desktop app opens
This happens regardless of whether or not the app is already running in the background

I'm not sure how to emulate Alt Gr on non German keyboards :S I have a German keyboard, but I'm not running Windows...

Hi
The only way how i could trigger it was when i specified the shortcut field.

Is that PC controlled by IT? Cloud it be that they push with Group Policy's or something else this Shortcut configured like that?
Best regards

@JtheBAB Is that PC controlled by IT? It's a private computer, afaik, and the shortcut field in that dialog appears to be empty before she resets it to something else.

Wasn't able to reproduce either.

Alright, I was half-expecting this. Thanks for your help anyway, folks!


code  dispatch(push('/xxx')),   url changes , but route  not yet

import React, { Component } from 'react'
import { connect } from 'react-redux'
import { test } from '@/actions/common'
import store from '@/store'
import { push } from 'connected-react-router'
import PropTypes from 'prop-types'
@connect((state) => ({ home: state.home }), { test })
class Home extends Component {
static propTypes = {
test: PropTypes.func.isRequired
}
componentDidMount() {}
toUrl = (e) => {
e.stopPropagation()
store.dispatch(push('/about'))
}
render() {
return (
<div onClick={() => this.props.test()}>
go

)
}
}
export default Home
dependencies :
"connected-react-router": "^6.8.0",
"core-js": "2",
"history": "^4.10.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-redux": "^7.2.0",
"react-router-dom": "^5.1.2",
"react-router-redux": "^4.0.8",
"redux": "^4.0.5",
"redux-actions": "^2.6.5",
"redux-logger": "^3.0.6",
"redux-saga": "^1.1.3"

me the same!!

EDIT: got it removing in the Routes.
me the same!!

"got it removing in the Routes"
sorry i didn't understand,have you solved it?

EDIT: got it removing in the Routes.
me the same!!

"got it removing in the Routes"
sorry i didn't understand,have you solved it?

I had an external "routes component", with another  inside, you need just to use the ConnectedRouter, without the Router.

同样的问题

For anyone who happens to land here, @velcis is saying
<Provider store={store}>
  <ConnectedRouter history={history}>
    <Router>
      <App />
    </Router>
  </ConnectedRouter>
</Provider>

should be
<Provider store={store}>
  <ConnectedRouter history={history}>
    <App />
  </ConnectedRouter>
</Provider>

which was hella hard to track down. Not sure if the nested Router is entirely unintended or vestigial of an older version's intended setup, but killing it fixes the issue of URL changing on <Link to="/path" /> or useHistory().push("/path") but the app not registering or rendering any changes


Add gitattributes file

Gitattributes allow to better control line endings and whitespace errors in git commits by warning about them.

@KorvinSzanto this look right to you?

This looks good to me, probably want to get .less in there as well. @aembler we can use this to remove some stuff from the built zip files as well, maybe we should add that.

Added .less in edee7b3


Change language types for steps 3 and 8.

Current coverage is 100% (diff: 100%)

Merging #8 into master will not change coverage

@@           master    #8   diff @@
===================================
  Files          10    10
  Lines         208   208
  Methods         0     0
  Messages        0     0
  Branches        8     8
===================================
  Hits          208   208
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 39bc5d4...38a700f


Clay Pot better pickblock and placing

Add feature to pickblock a Raw Clay Pot or (Hardened) Clay Pot with all shards (similar to colored Banner). Also, for sake of convenience, add that placed Clay Pot with shards will place it not in orientation they were at the moment of pickblock, but depending on player facing.

Can't be implemented since getPickStack method does not provide enough context to get facing of the player

Implemented with small compromise: Pickblocking does not preserve positions of shards relative to the player facing when they pickblocked it, but rather when it was placed


Feature: Toast component

The Request
Foundations for a Toast component in Rivet to display for info, error, etc messaging.
Notes
Can use a library like Sonner or React Hot Toast

Demo integration (Custom toast) using react-hot-toast.

@b4s36t4 – looking good!!

Hey, I wanted to confirm we're going to implement custom toast component or should we just use components given by react-hot-toast?

We can use react-hot-toast! We can customize the styling

Any design for component design? like figma?

@jxom friendly bump on the above question.

No designs yet. Just make it look nice 👨🎨

Hey @b4s36t4, I'm picking up https://github.com/paradigmxyz/rivet/issues/59 and will use your toast component as part of it, for now will just put some placeholder in. Thanks!

Hey @mateusz-michalik just use toast from react hot toast, that should do the trick and work.

Will do, wasn't sure if you're still going to apply some styling, I'll follow up on this in https://github.com/paradigmxyz/rivet/issues/59 though


Enhance code readability by nesting routes

Description
Use router parameters as well as nested routers to enhance code readability by nesting various /minions, /ideas and /work routes. Make separate file for the routes.

I am interested with the issue.

I would like to work on this issue @sharmaaditya570191 sir

@punisherz you can take this up.

Can I work on this issue?


tsdb: more efficient sorting of postings read from WAL at startup

This was something I noticed in passing.
Benchmark stats:
name                                                old time/op    new time/op    delta
MemPostings_ensureOrder/many_values_per_label-4        568ms ± 2%     567ms ± 2%      ~     (p=0.690 n=5+5)
MemPostings_ensureOrder/few_values_per_label-4         649ms ± 0%     659ms ± 5%      ~     (p=0.190 n=4+5)
MemPostings_ensureOrder/few_refs_per_label_value-4    28.5ms ± 3%    21.5ms ± 2%   -24.53%  (p=0.008 n=5+5)

name                                                old alloc/op   new alloc/op   delta
MemPostings_ensureOrder/many_values_per_label-4       24.0MB ± 0%     0.0MB ± 1%   -99.91%  (p=0.008 n=5+5)
MemPostings_ensureOrder/few_values_per_label-4        24.0MB ± 0%     0.0MB ± 0%   -99.90%  (p=0.016 n=5+4)
MemPostings_ensureOrder/few_refs_per_label_value-4    24.0MB ± 0%     0.0MB ± 6%  -100.00%  (p=0.008 n=5+5)

name                                                old allocs/op  new allocs/op  delta
MemPostings_ensureOrder/many_values_per_label-4        1.00M ± 0%     0.00M ± 0%  -100.00%  (p=0.008 n=5+5)
MemPostings_ensureOrder/few_values_per_label-4         1.00M ± 0%     0.00M ±12%  -100.00%  (p=0.008 n=5+5)
MemPostings_ensureOrder/few_refs_per_label_value-4     1.00M ± 0%     0.00M ± 0%  -100.00%  (p=0.008 n=5+5)

Most of the benefit comes from avoiding slice-to-interface allocation, by pulling the seriesRefSlice out of the loop, so the compiler doesn't allocate a new one on the heap every time.
The second commit to use a pointer type in the Pool reduces allocations two more orders of magnitude: this is almost invisible in benchmark timings after the first commit, but I couldn't leave it with a staticcheck warning :-)
Removed a comment that said fixing this has a performance penalty: not borne out by benchmarks.
Since benchstat rounded the numbers, the first commit goes to 987 allocs/iter, and the second to 9.

/prombench v2.34.0

This PR has the memory leak apparently.

It seems to take several hours to kick in, which is interesting if it's caused by a change that only runs during startup.

/prombench cancel


Twilight 2000 4e (T2K-4e) Character Sheet: twilight-2k-4e.html

Changes / Comments
Added Twilight 2000 4th Edition Character Sheet.
This sheet is based on the current beta rules-set available.
The sheet includes images for dice template rolling, as well as the game's logo. It also includes tracking of basic stats, inventory, weapons, and vehicles. Overall, this gives players all of the basic features they will need to get started with T2K 4e on Roll20.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[x] Is this a bug fix?
Not applicable as it is a new sheet
[x] Does this add functional enhancements (new features or extending existing features) ?
[x] Does this add or change functional aesthetics (such as layout or color scheme) ?
[x] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
Not applicable as it is a new sheet
[x] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.

What is the issue with this sheet?

@Lockbox313, I wish I knew. When I tried to add it to the approved.yaml myself it growled at me saying I shouldn't change the root directory, so I reverted that. Made some other fine tunings and figured I'd met all the requirements, but it still growls at me. Not sure who I should be pinging to get it approved.

@wing-it, This looks like it just needs some dev time to process the manual part of the update maybe?

Also, @NocFenix, are you sure you want this to not use the legacy CSS sanitization? The new sanitization has not gone live yet and your sheet won't work (and likely won't be accepted) until the new sanitization does go live.

@Kurohyou, how would it not work? For my testing I used both the Custom Sheet Sandbox as well as a game with just Custom Sheet. Unless I am missing something important.

You can't added it to the approved.yaml only Roll20 people can do that, that probably what the problem is,

@Kurohyou, how would it not work? For my testing I used both the Custom Sheet Sandbox as well as a game with just Custom Sheet. Unless I am missing something important.

@Kurohyou, how would it not work? For my testing I used both the Custom Sheet Sandbox as well as a game with just Custom Sheet. Unless I am missing something important.

Did you set the legacy": false in the sheet.json? It should be set to true.

Alright. I guess I'll just wait. I changed legacy to true, I've removed all of the sheet- from the classes in the html (except the roll template). Not sure what else to check to get this more ready.


ULCase bug in InfoStation handling

Hi,
I had an issue with editing an InfoStation component from the control server after creation.  Platform is Ubuntu 22.04 for both control server and client running the InfoStation component.  Using latest Constellation.
I traced the issue to the fact that the Edit option of the dropdown menu is associated with this url:
http://<<COMPONENT_IP>>:8000/infostation/setup.html?definition=<<UUID>>
when it should be
http://<<COMPONENT_IP>>:8000/InfoStation/setup.html?definition=<<UUID>>
(e.g. "InfoStation" in the URL instead of "infostation").  Note that this probably wouldn't be noticed on a Mac (which I think I saw a comment to the effect that the program is developed on a Mac platform) since the default Mac filesystem is case-insensitive.
The URL is created from, in part, the definition in apps/InfoServer/setup.js:636.  Specifically:
definition.app = 'infostation'
However, changing this to 'InfoStation' breaks other things.  I think I've worked around it with the following kludge in control_server/constellation_exhibit.js, starting at line 1448
if (definition.app === 'infostation' ) {
dropdownMenu.innerHTML = `
Preview
Edit
`
} else {
dropdownMenu.innerHTML = `
Preview
Edit
`
}

No doubt it would be better to normalize the name across the code.

Hi @David-S-Morgan, thank you so much for the detailed bug report! I'm happy to share that this bug has already been fixed in Version 5, which will release in a couple of weeks! So has a related bug involving the Word Cloud app.
By the way, we have moved development on Constellation over to a new repo as part of the name change to Exhibitera. You can find the repo here and the new website here.

Thanks for the redirect to the new project site! Glad to hear the project is still active -- I thought it seemed pretty quiet around here.


Visual Studio Code cannot scan for type definition

I am using visual studio for TypeScript Application Development. Recently, I try to study Phaser.
I just install the phaser by yarn.
yarn add phaser-ce

I can find the folder phaser-ce in the folder of node_modules and the typescript folder in phaser-ce. However, I found that Visual Studio Code cannot scan the Type Definition. It throw errors when I tried to write a small Phaser Application.

What does it looks with Atom ?

The same

You might have to add a tsconfig file to your project.

Added . The below is my tsconfig
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"sourceMap": true,
"outDir": "target",
"jsx": "react",
"moduleResolution": "node",
"allowJs": true
},
"include": [
"src/**/*"
]
}

See https://github.com/samme/brunch-phaser2/blob/c1e0b8fdb884509ea359e5eb3850617572562811/tsconfig.json#L5

@samme. Thanks. But it still throws the below exception
[ts] Module '"phaser-ce"' has no exported member 'Phaser'.
import { Phaser } from 'phaser-ce';

export default class Test{
    test: Phaser.Game;
}

Try removing
import { Phaser } from 'phaser-ce';

Or import Phaser from 'phaser-ce';


Reserving 017 for the Front Door WTH

Reserving a number for Andy's WTH

looks good!  can't wait to see it!


Add files via upload

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
I wrote code to perform a linear regression analysis on the given data set.
What did you learn from the changes you have made?
Through these changes, I learned what is the role of linear regression and how to interpret the results.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
I tried to follow the requirements and answer the questions, and there was no room for different interpretations and ways of implementing the solutions.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
I did have to rewrite code due to syntax errors a few times.
How were these changes tested?
I tested each block of code as I wrote it.
A reference to a related issue in your repository (if applicable)
I did encounter the same type of error before, and learning all the details of writing code is a time and practice matter, at this point.
Checklist

[ x] I can confirm that my changes are working as intended

A2: Incomplete
Please provide answers to the questions.


gateway(cache): improve cache control headers

Our header logic for cache control is very crude. Either we say to the browser to cache forever if it's a ipfs/CID or simply set the Last-Modified header to now().
We should explore cache logic around ipns/dns TTLs, content publishing timestamp for Last-Modified

This is a longer term thing and not part of the spec.


Drop appveyor

Oops, this should have been in #589.

Coverage remained the same at 92.452% when pulling 17556f3ad874245cbb477b1a3b349d8fb4ae0a0a on alerque:drop-appveyor into c985c0cdc52774eb148cbba840ef6e031ebe97e7 on simoncozens:master.


Add overlay when resizing panels to prevent panes stealing focus

Requirements for Contributing a Bug Fix

Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
The pull request must only fix an existing bug. To contribute other changes, you must use a different template. You can see all templates at https://github.com/atom/.github/tree/master/.github/PULL_REQUEST_TEMPLATE.
The pull request must update the test suite to demonstrate the changed functionality. For guidance, please see https://flight-manual.atom.io/hacking-atom/sections/writing-specs/.
After you create the pull request, all status checks must be pass before a maintainer reviews your contribution. For more details, please see https://github.com/atom/.github/tree/master/CONTRIBUTING.md#pull-requests.

Identify the Bug

#20216
Description of the Change

Adds a div across the whole window when resizing panels.
This div keeps the context on Atom, even when a panel might normally grab it (e.g., if it were an iframe or webview). This is relevant for packages that provide this kind of panel, such as ones using the default Mozilla PDF viewer. Adding an overlay is already done by the Dock class.
Alternate Designs
I considered if it could be fixed by the package making the iframe in the first place. However, anything that could be done (if at all) would just be a hack, and wouldn't benefit any other packages that use iframes and face the same issue. This fixes the issue at its root.
Possible Drawbacks

My biggest concern is somehow not cleaning up the div after resizing stops. The Dock class already makes a similar overlay, and I am not aware of any issues with it. The method here is somewhat different, but should work so long as resizeStopped is called when resizing has stopped.
Verification Process

Have the following in your init.js file

atom.workspace.addOpener(uri => {
  if (uri === "frame://example") {
    const frame = document.createElement("iframe");
    frame.setAttribute("style", "width:100%;height:100%");

    return {
      getTitle: () => "iframe",
      element: frame,
    };
  }
})

atom.workspace.addOpener(uri => {
  if (uri === "editor://example") {
    return atom.workspace.buildTextEditor();
  }
})

atom.workspace.open("frame://example");
atom.workspace.open("editor://example");

Move the TextEditor panel so that both are visible side by side
Resize the panels by dragging the resize element towards the TextEditor. Both with and without this PR should have no issue dragging towards the TextEditor.
Resize the panels by dragging the resize element towards the iframe. Without this PR, it should only move if you drag slowly. If you drag quickly over the iframe, the resize will stop until you move off the iframe. With this PR, it works at all speeds.

Additionally:

When resizing, tab out to a different application
Move and release the mouse anywhere.
Look back at the Atom window. It should have moved the divider where you released the mouse (this is the same as with resizing a dock).

Notes:

Programmatic resize methods should not be affected. This div is only created when clicking down on the resize element.
Double clicking the resize element to centre the division was broken by the initial attempt. The div was being made over the resize element, so a double click event was not detected. I have given the resize element a z-index of 11, and the overlay a z-index of 4. This matches the values used for the dock resize & overlay.

The following demonstrate the difference. In the first one, the mouse was not released. In the second, the mouse was released and double clicked to cause the panels to balance.
Old behaviour:

New behaviour:

Release Notes

Add overlay when resizing panels to prevent panes stealing focus

@rsese Updated the PR with an issue, and checked the specs for if the Dock overlay is tested. I couldn't find any such tests in spec/dock-spec.js.

Just a gentle nudge - this would be quite nice to have! :=)

Thanks @Aerijo


updates Gradle version, and adds Eclipse support

Hey there,
Here's a (very modest) contribution that updates the Gradle/Wrapper version and adds some Eclipse support.
Hope this finds you well, and have a great day!
Jake

hey @Dispader - thanks for the pull request! I'll be sure to review soon and provide feedback.


Pin version of pymdown

Signed-off-by: Matt Stratton<EMAIL_ADDRESS>

came across this problem tonight when working on this site, found this old pull request sitting here. approving and merging.


Can one steward update multiple orgs

I am trying to setup steward in on-prem Github and I am not sure if from the permission it is even possible to have one scala-steward that using the repos.md file updates repos in multiple orgs ?
Till now it only work in the repo from which  I have taken the github-app-installation-id

It should be possible if you don't provide the installation ID and manually provide a token that has permission for creating PRs in repositories in all organizations. If you want to use the App's token it won't work (afaik) since it can only be generated per-installation.

Found this out by trial and error 😄
But having one steward instance per org seems to be good idea, so each one is smaller and each team can take care of their own.
Thx


emitSignal with null parameter throws error

Godot version:

3.2.2.stable.mono.official
OS/device including version:

Android with GLES3
Issue description:

I am using this lib to implement IAP in my game, after a while testing I face this error:
C#
07-22 20:03:00.296 10356 10356 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 10580 <<<<<<
07-22 20:03:00.555 10356 10356 D AndroidRuntime: Calling main entry org.chromium.components.crash.browser.CrashpadMain
07-22 20:03:00.775 10356 10356 D AndroidRuntime: Shutting down VM
07-22 20:03:00.836  9906  9932 I godot   : BillingResult: System.NullReferenceException: Object reference not set to an instance of an object
07-22 20:03:00.836  9906  9932 I godot   :   at Tetris.Core.GooglePlayBilling.BillingResult..ctor (Godot.Collections.Dictionary billingResult) [0x00009] in <cb1faa21092740ca8679fe1d0a4c59e8>:0
07-22 20:03:00.934  9906  9932 E AndroidRuntime: FATAL EXCEPTION: GLThread 10402
07-22 20:03:00.934  9906  9932 E AndroidRuntime: Process: org.godotengine.tetris, PID: 9906
07-22 20:03:00.934  9906  9932 E AndroidRuntime: java.lang.IllegalArgumentException: Invalid type for argument #0. Should be of type java.lang.Integer
07-22 20:03:00.934  9906  9932 E AndroidRuntime:        at org.godotengine.godot.plugin.GodotPlugin.emitSignal(GodotPlugin.java:300)
07-22 20:03:00.934  9906  9932 E AndroidRuntime:        at org.godotengine.godot.plugin.googleplaybilling.GodotGooglePlayBilling.purchase(GodotGooglePlayBilling.java:178)
07-22 20:03:00.934  9906  9932 E AndroidRuntime:        at org.godotengine.godot.GodotLib.touch(Native Method)
07-22 20:03:00.934  9906  9932 E AndroidRuntime:        at org.godotengine.godot.Godot$8.run(Godot.java:1023)
07-22 20:03:00.934  9906  9932 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1500)
07-22 20:03:00.934  9906  9932 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
07-22 20:03:01.506  9906  9906 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.
07-22 20:03:01.577 10268 10268 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.

First I thought that it could be some C# issue, so I tested with GDScript and the same error happens:
GDScript
At: res://GDScript/google_play_billing.gdc:96:purchase() - Invalid get index 'status' (on base: 'Nil').
07-22 19:51:41.195  8879  8901 E AndroidRuntime: FATAL EXCEPTION: GLThread 10386
07-22 19:51:41.195  8879  8901 E AndroidRuntime: Process: org.godotengine.tetris, PID: 8879
07-22 19:51:41.195  8879  8901 E AndroidRuntime: java.lang.IllegalArgumentException: Invalid type for argument #0. Should be of type java.lang.Integer
07-22 19:51:41.195  8879  8901 E AndroidRuntime:        at org.godotengine.godot.plugin.GodotPlugin.emitSignal(GodotPlugin.java:300)
07-22 19:51:41.195  8879  8901 E AndroidRuntime:        at org.godotengine.godot.plugin.googleplaybilling.GodotGooglePlayBilling.purchase(GodotGooglePlayBilling.java:178)
07-22 19:51:41.195  8879  8901 E AndroidRuntime:        at org.godotengine.godot.GodotLib.touch(Native Method)
07-22 19:51:41.195  8879  8901 E AndroidRuntime:        at org.godotengine.godot.Godot$8.run(Godot.java:1023)
07-22 19:51:41.195  8879  8901 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1500)
07-22 19:51:41.195  8879  8901 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
07-22 19:51:41.756  8879  8879 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.

It happens when I try to purchase a SKU that I haven't queried before and it emitSignal with null parameter.
https://github.com/godotengine/godot-google-play-billing/blob/916385d3ca2dbbff493fb53272921b1ca8d71e65/godot-google-play-billing/src/main/java/org/godotengine/godot/plugin/googleplaybilling/GodotGooglePlayBilling.java#L178
it's registered to send Interger
https://github.com/godotengine/godot-google-play-billing/blob/916385d3ca2dbbff493fb53272921b1ca8d71e65/godot-google-play-billing/src/main/java/org/godotengine/godot/plugin/googleplaybilling/GodotGooglePlayBilling.java#L230
This signal is also used when I try to purchase:
https://github.com/godotengine/godot-google-play-billing/blob/916385d3ca2dbbff493fb53272921b1ca8d71e65/godot-google-play-billing/src/main/java/org/godotengine/godot/plugin/googleplaybilling/GodotGooglePlayBilling.java#L205
the getResponseCode can be:
// The request has reached the maximum timeout before Google Play responds.
SERVICE_TIMEOUT = -3,
// Requested feature is not supported by Play Store on the current device.
FEATURE_NOT_SUPPORTED = -2,
// Play Store service is not connected now - potentially transient state.
SERVICE_DISCONNECTED = -1,
// Success
OK = 0,
// User pressed back or canceled a dialog
USER_CANCELED = 1,
// Network connection is down
SERVICE_UNAVAILABLE = 2,
// Billing API version is not supported for the type requested
BILLING_UNAVAILABLE = 3,
// Requested product is not available for purchase
ITEM_UNAVAILABLE = 4,
// Invalid arguments provided to the API.
DEVELOPER_ERROR = 5,
// Fatal error during the API action
ERROR = 6,
// Failure to purchase since item is already owned
ITEM_ALREADY_OWNED = 7,
// Failure to consume since item is not owned
ITEM_NOT_OWNED = 8,

By google documentation: https://developer.android.com/reference/com/android/billingclient/api/BillingClient.BillingResponseCode
I can fix it and create a PR if it's confirmed a bug.
But what could be a good solution?
1 - Create another signal for that purpose
2 - Use the signal but create a different errorCode from those in the google documentation (e.g -4 or 9)
3 - public Dictionary purchase(String sku) could return another status with debug_message
I prefer the 3 option:
Dictionary returnValue = new Dictionary();
    returnValue.put("status", 1); // FAILED = 1
    returnValue.put("debug_message", "You must query the sku details and wait for the result before purchasing!");

Thanks for pointing out! I'll fix that to allow null there. That particular error is a special one, as it doesn't originate from the Billing Library.
You need to call querySkuDetails for an SKU before purchasing it.

Thanks for pointing out! I'll fix that to allow null there. That particular error is a special one, as it doesn't originate from the Billing Library.
You need to call querySkuDetails for an SKU before purchasing it.

Thanks for fixing it! I understand how this signal is emitting and I also know that I need to querySkuDetails before, I mentioned it on my issue.
But I believe that sending null on an ErrorCode parameter is kind of strange and not very clear of what kind of error is that.
I also think that if you already have a method that return some result why use a signal that have two different purpose if null is a internal error 'else' Google's error, and if you later you need to signal two different internal erros how would I if it (with string comparison)?
That's why I made that whole explanation for, I just wanted to point that out too.

@ricardoalcantara I don't see a problem with null. Remember that this is an error that can never happen in production (unless you publish an app without testing IAP once).

Never mind, I just wanted to help.

@ricardoalcantara you definitely helped (you pointed out this issue in the first place) :)
I just think introducing another special return format for one single error that can only occur in development makes error handling too complex. But I'd definitely implement something like your idea in case we add more errors that come from the plugin rather than the Billing Library.

@ricardoalcantara I'm starting to dislike making the error code nullable :sweat_smile: What do you think of printing a message and throwing an exception? This will crash the app but I think that's fine because it shouldn't happen in production and makes the developers aware that something is definitely wrong...

I'm starting to dislike making the error code nullable

I think the Engine doesn't support it.

What do you think of printing a message and throwing an exception? This will crash the app

I once saw Juan saying that the Engine should never crash and that they don't work with exceptions, I also think that crash the app for wrong flow not friendly.
I still think that change from emitting the signal to return the Dictionary a good solution.
	public Dictionary purchase(String sku) {
		if (!skuDetailsCache.containsKey(sku)) {
			Dictionary returnValue = new Dictionary();
			returnValue.put("status", 1); // FAILED = 1
			returnValue.put("debug_message", "You must query the sku details and wait for the result before purchasing!");
			return returnValue;
		}

		SkuDetails skuDetails = skuDetailsCache.get(sku);
		BillingFlowParams purchaseParams = BillingFlowParams.newBuilder()
												   .setSkuDetails(skuDetails)
												   .build();

		BillingResult result = billingClient.launchBillingFlow(getActivity(), purchaseParams);

		Dictionary returnValue = new Dictionary();
		if (result.getResponseCode() == BillingClient.BillingResponseCode.OK) {
			returnValue.put("status", 0); // OK = 0
		} else {
			returnValue.put("status", 1); // FAILED = 1
			returnValue.put("response_code", result.getResponseCode());
			returnValue.put("debug_message", result.getDebugMessage());
		}

		return returnValue;
	}

I think the Engine doesn't support it.

It doesn't support statically typed nullables. Variables can be of any type.

I once saw Juan saying that the Engine should never crash and that they don't work with exceptions, I also think that crash the app for wrong flow not friendly.

I agree with Juan that the Engine should never crash at runtime, but I think this is an exception, as this can possibly only happen when testing IAP. If this happens in production, the developer never tested IAP once, which, in my opinion, is not a case we should take care of. This particular error we are talking about ("You must query the sku details and wait for the result before purchasing!") is clearly a developer mistake. It's like running a GLES3 game on a GLES2-only device, it will also just crash.
I'm also trying to avoid changing the current API for such a small problem so that people can upgrade seamlessly.
The absolutely best way would be an API which makes it impossible to produce that error, something like querySkuDetails returns an SKU object which has a purchase method. But unfortunately, this is not possible with GDScript+Java at the moment (we cannot instantiate GDScript classes as far as I know).
@m4gr3d do you have any ideas?

It doesn't support statically typed nullables. Variables can be of any type.

I mean by "Doesn't support it" is that the currently implementation doesn't have that kind of ability. I know that Variables can be on any type, what do you mean by that? I am trying to be polite and I am trying to avoid miss interpretation but please don't treat me as I don't even know how to programming.

I agree with Juan that the Engine should never crash at runtime, but I think this is an exception, as this can possibly only happen when testing IAP. If this happens in production, the developer never tested IAP once, which, in my opinion, is not a case we should take care of. This particular error we are talking about ("You must query the sku details and wait for the result before purchasing!") is clearly a developer mistake. It's like running a GLES3 game on a GLES2-only device, it will also just crash.
I'm also trying to avoid changing the current API for such a small problem so that people can upgrade seamlessly.

Do as you pleasure, I already wrote a lot about my opinion.

@timoschwarzer

I'm also trying to avoid changing the current API for such a small problem so that people can upgrade seamlessly.

My suggestion won't break anything and won't change the API, actually people who are using the way it is may not be using this signal in that specific situation since it never worked!

@ricardoalcantara actually you're right. I don't know why but I thought purchase was a void all the time (which would have required an API change).
Would you like to make a PR for that?

@timoschwarzer Sure, I will make that change and create a PR for that. Thanks.


API for uploading entire dataset to Gen3

A single metadata file can be submitted via using the Submitter class's submit_record function.
Need an API to submit the entire dataset at one go

Resolved by: #66


Using annyang for Commercial use.

I want to use annyang in my website. As I know, this library is free for commercial use. But, I don't know whether I pay any money for anything or not? (like Google cloud speech server or anything).
Million Thanks.

annyang's code is licensed as MIT and provided as-is.
I cannot guarantee costs for other things, but as of the time of writing using the browser's speech API in Chrome is free.

annyang's code is licensed as MIT and provided as-is.
I cannot guarantee costs for other things, but as of the time of writing using the browser's speech API in Chrome is free.

Thanks u so much.


chore(master): release 1.9.5

:robot: I have created a release beep boop
1.9.5 (2023-03-13)
Bug Fixes

面包屑:1.修复使用动态路由的时候，无法显示的bug (8790c8c)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/kailong321200875/vue-element-plus-admin/releases/tag/v1.9.5 :sunflower:


Recent changes on master made some code not working properly.

Like discussed yesterday on gitter it turns out that my onpage functionality isn't working anymore when using volt@master.
When using a simple e-click events that change attributes on an object. There are no chrome console errors and the server log shows the correct Storetask. But after a refresh the data isn't changed, although the StoreTask in the server console shows the changed data.
So I checked through the few commits of the last 2 days and it turns out with the ref voltrb/volt@54bdb87 it is still working and with the next one that made changes to the StoreTask (voltrb/volt@97db9dd) it isn't working anymore.
I made a demo app https://github.com/dennym/ref-diff where you just create some objects with the button and clicking on the listitems unmarks them. After refreshing the page the data is not changed. I have added both refs in the Gemfile for easier testing.
Intended behavior or bug? For me it seems a bug, since the code is pretty straight forward and should work?
best regards

This should be fixed on master, please reopen if its not.  (I tested and it looks like its working)

As mentioned still not working. Also with the recent changes on master.

@dennym can you explain a bit more what's going on?  (I've got about 50 things going on right now, so its hard for me to keep track of projects and issues :-)


Update haproxy.config.erb

Fix wrong copy/paste to rsp_headers property (header.gsub instead of rsp_headers.gsub)
  <%- if_p("ha_proxy.rsp_headers") do |rsp_headers| -%>
    <%- rsp_headers.each do |rsp_header, value| -%>
    http-response add-header <%= header.gsub(/(?!:\\)( )/, '\ ') %> "<%= value.to_s.gsub(/(?!:\\) /, '\ ') %>"
    <%- end -%>
  <%- end -%>

Sorry for my quick fix. Done.

Hi @domdom82, CLA has been validated, but concourse pipeline shows build failure since Nov 2 2020.
You can merge PR whenever you want.
Thanks

@domdom82 thks for merging this fix. Will you soon cut a new release including the recent merged PR ?

hi @poblin-orange we are working on more fixes at the moment, but they might take while so if you need a release now we can cut one np.

hi @domdom82 a release would be nice (we will cut a release of our own solution mid january, this avoids us to maintain a transient fork)

https://github.com/cloudfoundry-incubator/haproxy-boshrelease/releases/tag/v10.2.0 has been released.

thks @domdom82 , much appreciated


Electron #307

Out of curiosity: Does this move come with any advantages? The three changes that I (as a user) am noticing so far are:

significantly degraded scrolling experience (particularly when using a Magic mouse and moving the pointer between the two panes shortly after giving a scroll impulse)
unpleasant colors (Apple’s own web views use the operating system’s color management system, this one obviously doesn’t—which is particularly unpleasant when using a wide-gamut display)
degraded overall performance (e.g. window resizing is significantly slower even in comparison to running Messenger in a Safari window that has a dozen other tabs in it)

Oops, I just realized that this PR is based on an issue (#307) that already answers my question. So forget about that part of my comment. :)


Websockets replies order

Issue Description

There is no strong guaranty that order of responses will be corresponding to the order of requests.
Steps to Reproduce

echo '{ "id": 1, "command": "server_info" }' | websocat ws://clio_ip:clio_port

Expected Result

Clio sends response and closes the connection.
Actual Result

Clio closes the connection before sending response.

I think we should keep current behaviour to allow user to close connection any time.


Design elements as XML to use the ODP directly

Hey guys!
Just touched DOMI for the first time and it's very cool! My task was to translate everything user-related to German so I got the idea of creating a new branch for myself for the German locale. The problem I first ran into was the missing config docs of the design elements - because I used the ODP to create my DOMI. I finally found the release though.
Of course I could copy all the docs from the release into my own ODP-based NSF (with German locale ;-)) but maybe to have those also as XML file to import them maybe a nice addition.
Keep up the great work!

There is an agent to generate the config docs. I can't remember if it flags any design elements as due to be copied across though. And you can use the same process to copy design elements into any other database ;-)

@zeromancer1972 : Check out the 12.0.1 client.  It has DOMI integrated into it and there is a German version of the template.


Change TIPImageLoadSource to be an NSUInteger

to allow comparison with size_t.
Potential resolution to #43

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

Will be fixed in #45 PR
https://github.com/twitter/ios-twitter-image-pipeline/pull/45