sw-background-sync-queue

R: @jeffposnick @addyosmani @wibblymat @gauntface @ebidel
sw-background-sync-queue library review

@addyosmani @gauntface @jeffposnick
please skip demo files, they will be re-written

Thanks for making those changes and addressing my feedback!
Is there anything else that you'd like to finish up prior to doing an initial merge? I'm fine with getting what's currently written into the master branch and then iterating from there.
(There are some style differences in your code that's not being flagged by our current linting setup. I don't think that's something you need to address in this PR, but something that can be addressed in a later PR that tightens our linting rules.)

@jeffposnick Yay! Thanks for approving.
I guess it'll be best if we merge this and then I send smaller PRs over this :)


Dead code?

https://github.com/NeuroLang/NeuroLang/blob/0984fd887e99960ad6453709c451e986d6780969/neurolang/relational_algebra_provenance.py#L300
Maybe I'm wrong but my understanding is that this line does not do anything as symmetric_difference returns a new set

@gzanitti ?

Oh, yes, my mistake. It's dead code that I forgot to remove. Sorry 😐


How do I test the fashion parsing and segmentation module?

In the documents, other modules are well-explained but there are no instructions related to the parsing and segmentation module.
Nothing about it in GETTING_STARTED.md or DATA_PREPARATION.md .
Could you provide the instructions and code to test the parsing and segmentation module?
Thank you

I figured it out
Thanks

can you give some information how did you figure it ? .. it will be helpful for others .

I figured it out
Thanks

I figured it out
Thanks

@jis3613 Can you please mention how you did it? that will be really helpful.

this might help:  https://github.com/open-mmlab/mmfashion/tree/master/configs/fashion_parsing_segmentation

@AaradhyaSaxena your link is empty. please mention how you did it.


Store Certificate in Current User Store instead of Local Computer Store

I have a program that runs under the currently logged in user and fetches its certificates from the "Current User" CertificateStore. It's ACP by DC-3 for remote observatory control and provides its own http and https server for enabling control. It cannot be run as administrator.
I cannot figure out how to get win-acme to save the cert in the "Current User" CertificateStore so that the program can read it. Whenever I use "My" for the store, it saves it into the "Local Computer" CertificateStore instead. Is there a way to have win-acme save into the "Current User" CertificateStore instead?

Apparently, it can use the Local Computer store, but the Friendly Name has to be exactly the DNS name it is looking for. All the extra stuff win-acme was appending to the friendly name was preventing it from working.


'mat-grid-tile' is not a known element

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Grid list to work like the example on the material website
What is the current behavior?
'mat-grid-tile' is not a known element
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
I used the StackBlitz start but the grid list works fine there.. I've match all of my package versions to that of the StackBlitz project, i've re-instsalled material and all my other packages several times but i'm still getting the same error... There's no point in me including a working stackblitz project here but could anyone suggest anything I could try?
I'm just using the example from the material website:
<mat-grid-list cols="2" rowHeight="16:9" gutterSize="20">
  <mat-grid-tile>1</mat-grid-tile>
  <mat-grid-tile>2</mat-grid-tile>
  <mat-grid-tile>3</mat-grid-tile>
  <mat-grid-tile>4</mat-grid-tile>
</mat-grid-list>

This is the full error:
ERROR in : 'mat-grid-tile' is not a known element:
1. If 'mat-grid-tile' is an Angular component, then verify that it is part of this module.
2. If 'mat-grid-tile' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message. ("

<mat-grid-list cols="2" rowHeight="16:9" gutterSize="20">
  [ERROR ->]<mat-grid-tile>1</mat-grid-tile>
  <mat-grid-tile>2</mat-grid-tile>
  <mat-grid-tile>3</mat-grid-tile")
: 'mat-grid-tile' is not a known element:
1. If 'mat-grid-tile' is an Angular component, then verify that it is part of this module.
2. If 'mat-grid-tile' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message. ("
<mat-grid-list cols="2" rowHeight="16:9" gutterSize="20">
  <mat-grid-tile>1</mat-grid-tile>
  [ERROR ->]<mat-grid-tile>2</mat-grid-tile>
  <mat-grid-tile>3</mat-grid-tile>
  <mat-grid-tile>4</mat-grid-tile")
: 'mat-grid-tile' is not a known element:
1. If 'mat-grid-tile' is an Angular component, then verify that it is part of this module.
2. If 'mat-grid-tile' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message. ("
  <mat-grid-tile>1</mat-grid-tile>
  <mat-grid-tile>2</mat-grid-tile>
  [ERROR ->]<mat-grid-tile>3</mat-grid-tile>
  <mat-grid-tile>4</mat-grid-tile>
</mat-grid-list>
")
: 'mat-grid-tile' is not a known element:
1. If 'mat-grid-tile' is an Angular component, then verify that it is part of this module.
2. If 'mat-grid-tile' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message. ("
  <mat-grid-tile>2</mat-grid-tile>
  <mat-grid-tile>3</mat-grid-tile>
  [ERROR ->]<mat-grid-tile>4</mat-grid-tile>
</mat-grid-list>

")
: 'mat-grid-list' is not a known element:
1. If 'mat-grid-list' is an Angular component, then verify that it is part of this module.
2. If 'mat-grid-list' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message. ("
</div> -->

[ERROR ->]<mat-grid-list cols="2" rowHeight="16:9" gutterSize="20">
  <mat-grid-tile>1</mat-grid-tile>
  <mat-g")

What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular:
    "@angular/animations": "5.2.10",
    "@angular/cdk": "5.2.5",
    "@angular/common": "5.2.10",
    "@angular/compiler": "5.2.10",
    "@angular/compiler-cli": "^5.2.10",
    "@angular/core": "5.2.10",
    "@angular/forms": "5.2.10",
    "@angular/http": "5.2.10",
    "@angular/material": "5.2.5",
    "@angular/platform-browser": "5.2.10",
    "@angular/platform-browser-dynamic": "5.2.10",
    "@angular/platform-server": "^5.2.10",
    "devDependencies": {
        "@angular/cli": "^1.7.4",
        "@angular/compiler-cli": "^5.2.10",
        "typescript": "^2.4.2"
        ....

Using Mac 10.13.4 and chrome
Is there anything else we should know?

Yes i'm importing all my material modules in a shared module, then importing that into my app.module:
I'm also using feature modules to structure my app. I just did a test, if I try to load a simple mat-checkbox in my main app.component.html it works fine but if I try to add a mat-checkbox to my job-list.component, which is loaded through a feature module (job.module.ts) I get:
ERROR in : 'mat-checkbox' is not a known element:
Do I need to import the material modules into all my feature modules that use them?... I thought I could load them from a shared module which would then be available app wide..?
These are the relevant parts of my shared and app modules:
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
// shared components
import { NavbarTopComponent } from './components/navbar-top/navbar-top.component';
import { NavbarBottomComponent } from './components/navbar-bottom/navbar-bottom.component';
import { HamburgerMenuComponent } from './components/hamburger-menu/hamburger-menu.component';
import { NavbarDetailsComponent } from './components/navbar-details/navbar-details.component';
import { NavbarSearchComponent } from './components/navbar-search/navbar-search.component';
import { NavbarBreadcrumbsComponent } from './components/navbar-breadcrumbs/navbar-breadcrumbs.component';
import { CarouselComponent } from './components/carousel/carousel.component';
import {
  MatInputModule,
  MatFormFieldModule,
  MatButtonModule,
  MatMenuModule,
  MatToolbarModule,
  MatIconModule,
  MatCardModule,
  MatSelectModule,
  MatListModule,
  MatSidenavModule,
  MatGridListModule,
  MatCheckboxModule
} from '@angular/material';

const materialModules = [
  MatInputModule,
  MatFormFieldModule,
  MatButtonModule,
  MatMenuModule,
  MatToolbarModule,
  MatIconModule,
  MatCardModule,
  MatSelectModule,
  MatListModule,
  MatSidenavModule,
  MatGridListModule,
  MatCheckboxModule
]

const components = [
  NavbarTopComponent,
  NavbarBreadcrumbsComponent,
  NavbarDetailsComponent,
  NavbarSearchComponent,
  NavbarBottomComponent,
  HamburgerMenuComponent,
  CarouselComponent
]

@NgModule({
  imports: [
    CommonModule,
    ...materialModules
  ],
  declarations: [
    ...components
  ],
  exports: [
    ...materialModules,
    ...components
  ]
})
export class SharedModule { }

app.module:
import { SharedModule } from './shared/shared.module';

import { JobModule } from './job/job.module';

@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    HttpClientModule,
    FormsModule,
    AppRoutingModule,
    SharedModule,
    JobModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {}

If I import my shared.module into my job.module it works fine. Is that what you have to do when working with feature modules?


Configurations related to enabling Admin Services haven't been updated.

Description:
The documentation [1] is still referring to the old configuration which is used to enable admin services from the carbon.xml.
This should be updated to the latest configuration that needs to be done in the <API-M_HOME>/repository/conf/deployment.toml file.
The following configuration should be explicitly added in the deployment.toml in order to enable admin services.

[admin_service.wsdl]
enable=true

[1]. https://apim.docs.wso2.com/en/latest/Develop/wso2-admin-services/
Affected Product Version:
wso2am-3.0.0

@iloshinik , the updated documentation can be found at
https://apim.docs.wso2.com/en/latest/develop/wso2-admin-services/


Issue when loading tm1project from file

Describe the bug
Issue 1: when creating a tm1project from file the existing code under tm1projecttask duplicates the Processes property.
Issue 2: when adding a chore as a task we need to include the 'Chores' property as we do on the Process one.
To Reproduce
Issue 1: try to load a json file with the following content:
{
  "Version": "1.0",
  "Name": " tm1py_tm1project",
  "Tasks":
  {
    "test_bug":
    {
      "Process": "Processes('sys_initialize_new_model')"
    },
    "test_chore":
    {
      "Chore": "Chores('testingChore')"
    }
  }
}

Issue 2: create a task with a chore
print(TM1ProjectTask('test_bug', chore='test_chore'))
you currently get {'Chore':'test_chore'} which gets you the following message:
{"error":{"code":"290","message":"Cannot find property "test_chore" in entity type "EntityContainer" while parsing entity reference test_chore."}}
Expected behavior
Issue 1: the tm1projecttask should evaluate if the process string has the property defined and, if not, add it.
Issue 2: the correct output for the tm1projecttask should be {'Chore': "Chores('test_chore')"}
Version
TM1py [e.g. 1.10.1]
TM1 Server Version: [e.g. 11.8]
Additional context
Created PR #835 with proposed solution
Thanks!
nico

Solved with #835


[Bug] After logging in to DolphinScheduler, open a new tab page, the new tab page also needs to log in again

After logging in to DolphinScheduler, open a new tab page, the new tab page also needs to log in again

登录DolphinScheduler后打开一个新的标签页，新的标签页还需要再次登录.

登录DolphinScheduler后打开一个新的标签页，新的标签页还需要再次登录.

https://github.com/apache/incubator-dolphinscheduler/pull/4162

https://github.com/apache/incubator-dolphinscheduler/pull/4162


appcontainers release

https://github.com/Azure/sdk-release-request/issues/4386

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-arm-appcontainers


GoogleSigninButton onPress method not working on real device

Hi Team.
I am using GoogleSigninButton but it doesn't respond on a real device, and sometimes, it requires multiple clicks to respond. Find below my code:
<GoogleSigninButton      style={styles.socialLoginGoogle}      onPress={this.googleAuth}             size={GoogleSigninButton.Size.Wide}             color={GoogleSigninButton.Color.Light}             disabled={this.state.isSigninInProgress}           />
In other to resolve this, I wrapped the Button in a TouchableWithoutFeedback and use it's onPress callback to trigger my Signin method. But with the new release, onPress callback is a required PropType for GoogllSigninButton. Inasmuch as I could ignore it, I think the team should know about this and maybe look into it.
Thanks

this is a known bug: https://github.com/react-native-community/react-native-google-signin/issues/566 closing as duplicate


Added stepup client method

Ticket

Closes PAS-299

Description
This adds the stepup client method for authenticating a user for a specific purpose or action.
Shape
Stepup is an overload for the signin method with the addition of the purpose to signinBegin.
Checklist
I did the following to ensure that my changes were tested thoroughly:

Tested the generated js file in the Passwordless dotnet sdk repo and used that instead of the cdn.

I did the following to ensure that my changes do not introduce security vulnerabilities:
N/A

Formatting changes can be found in this branch
https://github.com/bitwarden/passwordless-client-js/pull/41

Maybe do the formatting separately

Formatting changes have been applied @jonashendrickx

Let's merge this before #45 to reduce merge conflicts


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/OPS-E2E-PPE/docs-archive-test-source

Docs Build status updates of commit 9a54fd9:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-10-22-03-25-02 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-10-22-03-25-02

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


 I have a large number of the Eve sensors that are connected into Homekit. I would very much like to aggregate these into a simple alarm that is activated if any door /window is opened. Could an example be created that would demonstrate how to do this?

You can do it in a couple of ways. The first is just hook up homekit nodes to listen to the eve sensors and all push to a "sensor" for node-red-contrib-alarm.
Another is hook them all to one sensor for node-red-contrib-alarm.
Or use another mechanism outside of node red to aggregate them into one signal to node-red and send that to a single alarm sensor for node-red-contrib-alarm.
The reason to potentially keep them separate is to later make use of displaying which "sensor" was tripped, though not sure when node-red-contrib-alarm will have that feature.

Thanks for the rapid reply. When you say hook up Homekit Nodes, which nodes are we talking about. All the nodes seem to be for Homekit simulation and are the opposite of what I need?
I do this type of monitoring for Hue Battery states using HueMagic but there is no similar capability for Eve.
Surely the Alarm Panel main use would be to monitor door/window states, which is why I though an example would be good.

In the doco (also here: https://github.com/Anamico/node-red-contrib-alarm/) there is an example for a nest smoke detector as an example, this template can be used for any sensor trigger, even triggering on receipt of an email, facebook post or tweet.
There are 3 nodes in that standard approach:

the first is a node connected to whatever source you want to monitor, so that is the one "listening" to the eve sensor (using whatever node red uses to do that - see below).
The second one takes whatever message that emits to detect state and applies whatever logic and massaging of the message to emit a message when it detects the "open" state or whatever you decide is what should trigger the alarm.
The third node is the alarm sensor node from node-red-contrib-alarm. It is what acts as an "input" to your custom node-red alarm "panel" and when it receives the appropriate trigger from the upstream node, it sets the alarm state (with delays/etc) to take advantage of this module.

Specific to step 1 is how do you get the message from the eve sensor (or email or whatever it is) to actually arrive in node red? Well that is very specific to the type of sensor.
I haven't done research into eve specifically (as there are tons of options, so that's why node-red-contrib-alarm is very generic, you just get the message to it).
From a quick google search for node-red and eve, it appears to always list node-red-homekit (and bridged). So given it is homekit capable, I would think that is an option. In that case you set up a homekit node, get it to emit on changes in state of that sensor and use that message as stage 1 in that alarm chain.
Alternately, if you choose a different way (like openhab or direct http MQTT, whatever, for Node-Red to talk to the eve sensor and detect a change, then use that message as stage 1 and fee it in to the alarm sensor).
In the "Garage Door" example in that same doco, you will see it only has stage 1 and stage 3, there was no logic required for the Wemo node-red node to make it drive the state of the alarm sensor, so stage 2 was a basic passthrough and not required.
Many of the examples given are directly from my production home alarm system using exactly those configurations, so for instance, I am using Z-Wave and Zigbee as well as TCP style interface components for a buch of things. My door sensors are zigbee and I use openhab to interface them with the node-red-contrib openhab nodes. Like the "Kitchen" sensor example, which is a Z-Wave door sensor reed switch that triggers an alarm if the alarm is "Armed" and the Kitchen door is opened.
The first step to getting it hooked up is to get the signal into node red, if you can get a debug node that echos "open"/"close" data when you open and close the sensor (door/window) then that is your stage 1, use stage 2 and 3 to hook it up to get node-red-contrib-alarm to detect the door opening and trigger the alarm.
Does that help?

Closing due to no response


Return msg object with an error.

Allows node-red to "catch" and handle the error within the flow.

Good "catch" :) Thanks for the contribution! I'm merging it, but I'll also update it to use the new Node-RED 1.0 API, adding support to the "complete" node too


Watch list error

I can't access my watch list. It just displays a toast about the query error (SQLiteException)
Version: 1.1.54

what is your android version?
Can you try to go Settings -> General -> on Novel Listing section, enable Quick Load Novel List?

I got the same error. When I tried your suggestion the watched list loaded. My version of Android is 7.1.1

The watch list also loaded for me once I enabled Quick Load Novel List
Android Version: 7.0

This fixed my problem so I closed my issue. Also, at least they got an error. I wasn't even getting an error with mine.


Disable jest.setTimeout

🚀 Feature Proposal
It would be great if I can disable the timeout for certain tests.
Motivation
When debugging I don't want Jest complaining about timeouts.
Example
For example setting jest.setTimeout(0). The default is now is 5 seconds and I only seem to be able to increase the number.

what do you want, to run tests in 0 seconds? If that is the case then all the tests would timeout since they will always take more than 0 seconds

No I would like an option where there is no timeout at all.

  : ) .

I can't use Number.MAX_SAFE_INTEGER as it is based on signed int64 and will complain:
TimeoutOverflowWarning:<PHONE_NUMBER>740991 does not fit into a 32-bit signed integer

I could use some high random number but it's just not that convenient.

Got u, thank you @sebas2day . you maybe right.


refactor!: remove startport (ignite) dependency

Fixes https://github.com/palomachain/paloma/issues/554
Background

Removes the starport dependency.
Remove all traces of "starport" from comments and docs

Note, most of the changes are superficial, due to proto generation and comment updates.
Testing completed

Correctness should be indicated by CI passing, including the build and tests passing, along with a general liveness test.

Breaking changes

CI error:
Error: cmd/palomad/main.go:13:2: no required module provides package github.com/tendermint/starport/starport/pkg/cosmoscmd; to add it:
	go get github.com/tendermint/starport/starport/pkg/cosmoscmd
Error: Process completed with exit code 1.

(which might just mean go.sum needs updating)

@alexanderbez scripts/protocgen.sh

➜ scripts/protocgen.sh
protoc-gen-gocosmos: program not found or is not executable
Please specify a program using absolute path or make sure the program is available in your PATH system variable
--gocosmos_out: protoc-gen-gocosmos: Plugin failed with status code 1.
evm/job.proto:4:1: warning: Import gogoproto/gogo.proto is unused.
evm/turnstone.proto:2:1: warning: Import gogoproto/gogo.proto is unused.
evm/query.proto:6:1: warning: Import cosmos/base/query/v1beta1/pagination.proto is unused.
evm/treasury.proto:2:1: warning: Import gogoproto/gogo.proto is unused.
protoc-gen-gocosmos: program not found or is not executable
Please specify a program using absolute path or make sure the program is available in your PATH system variable
--gocosmos_out: protoc-gen-gocosmos: Plugin failed with status code 1.
paloma/query.proto:6:1: warning: Import cosmos/base/query/v1beta1/pagination.proto is unused.
protoc-gen-gocosmos: program not found or is not executable
Please specify a program using absolute path or make sure the program is available in your PATH system variable
--gocosmos_out: protoc-gen-gocosmos: Plugin failed with status code 1.
scheduler/query.proto:6:1: warning: Import cosmos/base/query/v1beta1/pagination.proto is unused.
protoc-gen-gocosmos: program not found or is not executable
Please specify a program using absolute path or make sure the program is available in your PATH system variable
--gocosmos_out: protoc-gen-gocosmos: Plugin failed with status code 1.
treasury/query.proto:6:1: warning: Import cosmos/base/query/v1beta1/pagination.proto is unused.
protoc-gen-gocosmos: program not found or is not executable
Please specify a program using absolute path or make sure the program is available in your PATH system variable
--gocosmos_out: protoc-gen-gocosmos: Plugin failed with status code 1.
valset/snapshot.proto:5:1: warning: Import cosmos_proto/cosmos.proto is unused.
valset/snapshot.proto:7:1: warning: Import cosmos/base/v1beta1/coin.proto is unused.
valset/query.proto:6:1: warning: Import cosmos/base/query/v1beta1/pagination.proto is unused.
protoc-gen-gocosmos: program not found or is not executable
Please specify a program using absolute path or make sure the program is available in your PATH system variable
--gocosmos_out: protoc-gen-gocosmos: Plugin failed with status code 1.
cp: ./github.com/palomachain/paloma/*: No such file or directory

Typically, the target or script ensures all dependencies are fetched.

@alexanderbez yes. Let's push. We're interested.

Ok, got most things working. Added a build target too, so I can test. The build is panicing, so I need to figure that out.


acs-aem-tools-bundle-livereload not started

AEM Version 6.3 with SP2 (AEM 6.3.1)
ACS AEM Commons version 3.14.6.zip
So I have noticed that com.adobe.acs.acs-aem-tools-bundle-livereload is not starting and when I checked the logs I have noticed it requires com.day.cq.widget 5.5.0 while with SP1 on AEM 6.3 default version of com.day.cq.widget is 6.0.0.
Error log shows:
19.02.2018 15:56:55.258 *ERROR* [qtp1328618248-107] org.apache.felix.http.jetty %bundles.pluginTitle: Cannot start (org.osgi.framework.BundleException: Unable to resolve com.adobe.acs.acs-aem-tools-bundle-livereload [478](R 478.0): missing requirement [com.adobe.acs.acs-aem-tools-bundle-livereload [478](R 478.0)] osgi.wiring.package; (&(osgi.wiring.package=com.day.cq.widget)(version>=5.5.0)(!(version>=6.0.0))) Unresolved requirements: [[com.adobe.acs.acs-aem-tools-bundle-livereload [478](R 478.0)] osgi.wiring.package; (&(osgi.wiring.package=com.day.cq.widget)(version>=5.5.0)(!(version>=6.0.0)))])
org.osgi.framework.BundleException: Unable to resolve com.adobe.acs.acs-aem-tools-bundle-livereload [478](R 478.0): missing requirement [com.adobe.acs.acs-aem-tools-bundle-livereload [478](R 478.0)] osgi.wiring.package; (&(osgi.wiring.package=com.day.cq.widget)(version>=5.5.0)(!(version>=6.0.0))) Unresolved requirements: [[com.adobe.acs.acs-aem-tools-bundle-livereload [478](R 478.0)] osgi.wiring.package; (&(osgi.wiring.package=com.day.cq.widget)(version>=5.5.0)(!(version>=6.0.0)))]

Regards,
Alex

This should be in the ACS AEM Tools project; that being said this is because you are not using the ACS Tools Min package OR you are not installing the LiveReload dependency bundles.
See: https://adobe-consulting-services.github.io/acs-aem-tools/features/live-reload/index.html

I have checked twice for both the acs as well as netty packages but still cannot get it to work on AEM <IP_ADDRESS>.


Make a releases page

I don't want to build it from my own 💀

Does https://modrinth.com/mod/norefreshscroll count?

No worries! I mainly expected people to find it through Modrinth rather than Github :') but seems I forgot to add it as a website anyways (probably because the repo came first), I'll change that soonish


test commit

Description of the change
Clearly and concisely describe the purpose of the pull request. If this PR relates to an existing issue or change proposal, please link to it. Include any other background context that would help reviewers understand the motivation for this PR.

Checklist:

[ ] Added the change to the changelog's "Unreleased" section with a link to this PR and your username
[ ] Linked any existing issues or proposals that this pull request should close
[ ] Updated or added relevant documentation in the README and/or documentation directory
[ ] Added a test for the contribution (if applicable)

it's outside of scope of this project


Drop redundant dialogs during the traverse

Just tested now... there're a few visual glitches and ofc lack of integration with Yes+Quit feature... but generally :benissimo:


Statistics computation assume that the distribution is normal

Statistics are computed under the assumption that the distribution is normal. Such assumption is questionable, especially for small populations, which is typically the case.
Consider using a non-parametric estimation technique for metrics on populations, and some variant of hypothesis-based testing for determining if some metric is significantly different between populations.

Next step: Consider options and make a proposal.

Closing prior to archive.

Closing prior to archive.


Calculation of the confocal PSF for an offset Pinhole

Hi,
I was wondering how you calculate the PSF of a confocal system with a pinhole place offset to the optical axis.
If I understand correctly, you bascially do:
psf_em = fft(psf_em, (1,2))
my_pinhole_ft = exp_ikx_rfft(eltype(psf_em), sz, shift_by=p) .* pinhole_ft(sz, pp_em, pinhole_pix)
my_em = ifft(fft_psf_em .* my_pinhole_ft, (1,2))
psf_final = my_em .* psf_ex

So essentially you're multiplying excitation and emission PSF. But the emission PSF is actually convolved with a pinhole before.
I think, following "Introduction to Optical Microscopy" it should be rather a correlation between PSF and pinhole.
What do you think?
For most pinholes, this doesn't make a big difference, but for asymmetric it would actually do.
Best,
Felix

Yes, if you mean fft_psf_em in the first row. Thinking about it a little, I think it should be a convolution, if you describe the pinhole (whichever asymmetric shape it may have) as geometrically back-projected into the object space. If the pinhole was a delta shifted to +x, then the detection point spread function would be sensitive if the object scan reached a place near the position +x. Thus the psf is also sensitive near +x, which shows this should be a convolution of the widefield detection psf with the pinhole shape, not a correlation.
Yet, I guess this is a question about how you define the coordinate system of the pinhole. In other words the sign of p in your example, provided that the pinhole is centro-symmetric.

The confocal psf calculation directly supports offset pinholes. Here is an example:
pp_em = PSFParams(0.488, 1.4, 1.518; mode=ModeConfocal); pp_ex = PSFParams(0.520, 1.4, 1.518); h = psf((128,128), pp_em, pp_ex=pp_ex, pinhole=0.2, sampling=(0.04, 0.04), pinhole_positions=[(8.0,2.0)])
Note that the pinhole_positions argument is in pixels.


support windows, use join

currently broken on Windows

join used in https://github.com/akamhy/videohash/pull/13

join used in https://github.com/akamhy/videohash/pull/13


Upgrade fmt version from 9.1.0 to 10.2.1

Basically, fmt on 9.1.0 produces a lot of errors on the windows ci context.
For example:
D:\a\dist\dist\cpm_modules\fmt\5c4bc51f3df5bb907a0028facff05ba4978aa6e5\include\fmt\format.h(490,51):
    warning C4996: 'stdext::checked_array_iterator<T*>': warning STL4043: stdext::checked_array_iterator, stdext::unchecked_array_iterator, and related factory functions are non-Standard extensions and will be removed in the future. std::span (since C++20) and gsl::span can be used instead. You can define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING or _SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS to suppress this warning. [D:\a\dist\dist\build\_deps\worker-build\Worker.vcxproj]
  (compiling source file '../../../source/worker.cpp')
  C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.38.33130\include\iterator(1470,1):
  see declaration of 'stdext::checked_array_iterator'

By the way, as there are not _SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS defined, all the warnings are treated as error.
I discover this issue by fork this starter kit and implement as a base for my own project.

The following logs includes the relevant messages and, of course, was solved by an upgrade of FMT.
Anyways, thanks a lot @TheLartians.

Thanks for raising the issue and updating the library! I wonder why the GitHub CI windows runner didn't catch it before here, but happy to update!


feat: optimized caching retrieval to avoid game clone

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 97.176%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
2684

Relevant Lines:
2762

💛  - Coveralls


Updates to Character task/report in line with changes

Background
Following updates to the application form character section described here and to Application view on Admin described here , are there any impacts elsewhere that should be considered? If none, this ticket can be deleted.
Feature(s) Description
Clearly describe the new functionality/change(s) to existing functionality.
Include a link to a Miro board/image if appropriate.

[ ] Feature

Acceptance Criteria
Specify the requirements of the primary user(s) for the change, update, or new feature - use the format:
It's done when...
Definition of Done

[ ] User stories/acceptance criteria met
[ ] Internal reviews passed (feedback actioned)
[ ] User testing passed
[ ] Relevant technical documentation updated
[ ] User guidance updated
[ ] Deployed and merged without errors

User Testing Steps
Specify for users what is being tested (but not how to test it.)
Feature Champion

Hey team! Please add your planning poker estimate with Zenhub @drieJAC @HalcyonJAC @tomlovesgithub @warrensearle


add writeable file system interfaces

the fs package does not provide write access to the file system in a standardised manner in the same way that there are various read only interfaces for read operations. Apparently this is deliberate, so we have to create our own. Since navigation is a read only operation, so far this has not been a problem. However, the resume feature will need to persist current state so a file system writer will be required.
Define in nfs package, make this internal and move FileSystems into core.

this issue doesn't make sense in its own right. Write interfaces required depend on the task at hand


feat: remote recording commands

Fixes: #177
Fixes: https://github.com/applandinc/appmap-js/issues/201

When the new AppMap is saved, it should also be processed with the Indexer,
so that it can be efficiently searched and compared.
On Wed, May 19, 2021 at 1:07 PM Dustin Byrne @.***>
wrote:

@.**** requested changes on this pull request.
Hi @sashahonchar https://github.com/sashahonchar, I have a few more
items that came up earlier today.

Upon stopping the recording, prompt the user to name the AppMap.
This should set the metadata.name property before saving the file out
or displaying it in the editor.
A status bar indicator should be present while a recording is in
progress. Clicking the indicator stops the recording and prompts the user
to enter a name. This action should be able to be cancelled, and the
recording continued.
A history of service URLs saved per-workspace. As a user, I don't
want to have to re-enter my service URL every time I start a recording. The
user can either type in a service URL or select a previous service URL from
a list. The history is unique to the current workspace path.
A button is added to the AppMap panel to start a new recording.
Other button definitions are found here:
https://github.com/applandinc/vscode-appland/blob/master/package.json#L116-L125

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/applandinc/vscode-appland/pull/183#pullrequestreview-663462428,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAVC66IAXBA7WP6KMLVNRDTOPV5VANCNFSM44YY5QCA
.

I guess you can shell out to the index CLI command to do this.
On Wed, May 19, 2021 at 2:13 PM Kevin Gilpin @.***> wrote:

When the new AppMap is saved, it should also be processed with the
Indexer, so that it can be efficiently searched and compared.
On Wed, May 19, 2021 at 1:07 PM Dustin Byrne @.***>
wrote:

@.**** requested changes on this pull request.
Hi @sashahonchar https://github.com/sashahonchar, I have a few more
items that came up earlier today.

Upon stopping the recording, prompt the user to name the AppMap.
This should set the metadata.name property before saving the file out
or displaying it in the editor.
A status bar indicator should be present while a recording is in
progress. Clicking the indicator stops the recording and prompts the user
to enter a name. This action should be able to be cancelled, and the
recording continued.
A history of service URLs saved per-workspace. As a user, I don't
want to have to re-enter my service URL every time I start a recording. The
user can either type in a service URL or select a previous service URL from
a list. The history is unique to the current workspace path.
A button is added to the AppMap panel to start a new recording.
Other button definitions are found here:
https://github.com/applandinc/vscode-appland/blob/master/package.json#L116-L125

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/applandinc/vscode-appland/pull/183#pullrequestreview-663462428,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAVC66IAXBA7WP6KMLVNRDTOPV5VANCNFSM44YY5QCA
.

I found a method for displaying an input box with an optional pre-populated item selection.
import * as vscode from 'vscode';

export default class QuickPickHistory {
  public static async open(): Promise<string> {
    const quickPick = vscode.window.createQuickPick();

    // Add historical endpoints here
    quickPick.items = [{ label: 'a' }, { label: 'b' }, { label: 'c' }];

    // Configure the rest of the input box (placeholder, etc.)

    return new Promise((resolve) => {
      quickPick.show();
      quickPick.onDidAccept((e) => {
        // If no label is selected, fall back to the input value instead
        console.log(quickPick.selectedItems[0]?.label, quickPick.value);
        resolve(quickPick.selectedItems[0]?.label || quickPick.value);
      });
    });
  }
}

Fixes: #201


Fix 974 reset password redirection

Description

Updated the reset success message to indicate the user is getting redirected to the login screen. After 3 seconds redirecting to login screen. Anything less was appearing to be too short. Left the login button in case the user wants to redirect immediately.

Fixes # (issue)

Issue #974

Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Reset my password.
Reset my password and clicked on login button

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

@akshay11298 Thank you for this PR. Unfortunately this is not a good solve and we want to handle this on the server rather than from the client. Can you update this PR to do that instead?
Looping in @mohanarpit to help you out further

@akshay11298 Sorry that you have to change the implementation here. In order to solve for this, it's better that the server performs a redirect once the password reset is complete. In order to do this, you will have to modify theresetPasswordAfterForgotPassword function in UserController class.
In this function, you have to accept the ServerHttpResponse & Origin object in the request (default value set by Spring). This exchange object determines the response object. You can then follow the code in this StackOverflow answer to set the redirect headers in the response and return that response to the client. The browser will automatically respect these headers and redirect the client to the login page.

Hi @hetunandu, sure I will update it to for server-side redirection.
Hi @mohanarpit, thanks for the help, I will try to implement it and will let you know in case of any blockers although the references you gave should be enough to resolve it. Thanks!

@mohanarpit I tried the approach you mentioned above ie in resetPasswordAfterForgotPassword I am setting response.getHeaders().setLocation(), but I am getting an error "Cannot PUT /user/login". Maybe I am getting this error because originally it was a PUT request.
Modified method -

Error received-

Do I have to make any other changes as well?
I was thinking about redirecting how sign-ins are working currently, ie in userSagas.tsx I can redirect on the password reset success and add the success message which Nikhil mentioned and display on the login page. Let me know if this seems fine.

I was thinking about redirecting how sign-ins are working currently, ie in userSagas.tsx I can redirect on the password reset success and add the success message which Nikhil mentioned and display on the login page. Let me know if this seems fine.

@hetunandu @mohanarpit I tried server-side redirection as suggested but was facing some issues. I have updated code to work like comment mentioned above. If you'd like for server-side redirection, kindly help me with where I went wrong.
Screen recording -https://drive.google.com/file/d/1VMCTmRW-y6mTgVjEjUKjiF2pfAG7iY6A/view?usp=sharing

@nidhi-nair can you review this? It's a bit old so keep out for recent changes

@sharat87 can you review this? It's a bit old.. keep out for recent changes

I'm closing this issue because this is not the appropriate solve. Unfortunately, this requires server-side changes (as I mentioned before) to get the server to drive the redirection process.
Also, for the browser to honour the redirect, it needs to be a Form Post instead of xhr request. This means that the server will also have to handle the Form post instead of an API call (as is happening today). Since this is a breaking change and touches a critical flow, it's best done by someone a lot more familiar with the code base.
I'm really sorry @akshay11298 that I put you through this. I will work towards triaging issues better and ensure that cleaner solutions surface earlier in the development lifecycle. I hope this doesn't mar your perception of Appsmith as a project and you continue to contribute to make Appsmith better.

I'm closing this issue because this is not the appropriate solve. Unfortunately, this requires server-side changes (as I mentioned before) to get the server to drive the redirection process.
Also, for the browser to honour the redirect, it needs to be a Form Post instead of xhr request. This means that the server will also have to handle the Form post instead of an API call (as is happening today). Since this is a breaking change and touches a critical flow, it's best done by someone a lot more familiar with the code base.
I'm really sorry @akshay11298 that I put you through this. I will work towards triaging issues better and ensure that cleaner solutions surface earlier in the development lifecycle. I hope this doesn't mar your perception of Appsmith as a project and you continue to contribute to make Appsmith better.


feat: expose server resolved urls

Description
Implements https://github.com/vitejs/vite/discussions/8891
Expose devServer.resolvedUrls and previewServer.resolvedUrls.
This PR also removes a breaking change in Vite 3 where printUrls are async, now they are back as sync.
Additional context
This mostly refactors on how we resolve urls and print them.
Previously, printUrls handle the entire resolve and print flow. Now, we break it into two parts. Whenever the server starts/restarts, we resolve resolvedUrls. This usually happens in the listen() function which is async and we lend to avoid printUrls becoming async. Then, printUrls become a basic function that only reads resolvedUrls and prints it.
Not sure how to add tests to this, but works locally for me and for vite-plugin-qrcode.

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Pushed a commit to reset resolvedUrls when the dev server is closed. I didn't handle this for the preview server, as it's usually a "start-once" server (and it's coded that way), and the change is a bit tricky to implement.


(Re)Name query return type

Let's assume that we have two tables (postgres)
CREATE TABLE foo (
   id BIGSERIAL NOT NULL,
   value TEXT NOT NULL;
);

CREATE TABLE bar (
   id BIGSERIAL NOT NULL,
   value2 TEXT NOT NULL;
);

Problem is that queries
-- name: GetByFooValue :many
SELECT foo.id, bar.id, foo.value FROM foo INNER JOIN bar ON foo.id = bar.id WHERE value = $1

and
-- name: GetByBarValue :many
SELECT foo.id, bar.id, foo.value FROM foo INNER JOIN bar ON foo.id = bar.id WHERE value2 = $1

will generate different response structs (something like GetByBarValueRow and GetByFooValueRow), however by meaning it's the same objects.
I tried to use rename field in configuration but it didn't help. I quickly checked the source code and looks like there is no way to set the output type.
Is it possible to add something like:

use rename also for queries types or
(IMHO it's better) add an annotation to queries like name: GetByVarValue :type FooBar :many

Thanks!

This is exactly what we are looking for in our project, unfortunately it's holding us back from using SQLC, is this in the pipeline?

Also related to #755

I'd like to comment I have the same issue.
In this example, I get back a PostGetManyRow and a PostsGetByTastyRow for two given queries.
I thought that maybe the example in embedding structs might solve the issue, but I still get two differently named types for each query.
Any thoughts on this?
Would the team be open to a PR to fix this?

Is anybody working on this? I might be willing to issue a PR, if someone leads me in the right direction...

I think the best practice is to have the 2 structs without any change, and if you want to wrap it (I'll explain in a bit why I think it's a bad idea) do it outside of the generated code.
Wrapping it under a single interface will lead to very awkward behavior in the generated code.
In the case you change only one of the queries, it will generate an additional struct your code doesn't use, and isn't necessarily trivial to integrate to your existing code.
The reverse operation will be just as awkward - having 2 existing queries suddenly return the same interface will delete the previously used interface, breaking your code.
Lastly, if you see absolutely no scenario you will change only one of the queries, you should consider to try and merge your 2 queries in the first place (godspeed dynamic queries:))


installDist fails to build

Should this be an issue in the gRPC issue tracker?
Yes
What version of gRPC and what language are you using?
gRPC 1.3.0
Using java
What operating system (Linux, Windows, …) and version?
Linux (Ubuntu 17.04)
What runtime / compiler are you using (e.g. python version or version of gcc)
openjdk version "1.8.0_121"
gcc (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406
What did you do?
./gradlew  installDist (as per http://www.grpc.io/docs/quickstart/java.html)
What did you expect to see?
A successful build
What did you see instead?
:grpc-compiler:compileJava_pluginExecutableJava_pluginCpp
/home/karl/tmpo/grpc-java/compiler/src/java_plugin/cpp/java_generator.h:8:49: fatal error: google/protobuf/io/zero_copy_stream.h: No such file or directory
 #include <google/protobuf/io/zero_copy_stream.h>
                                                 ^
compilation terminated.

In file included from /home/karl/tmpo/grpc-java/compiler/src/java_plugin/cpp/java_generator.cpp:1:0:
/home/karl/tmpo/grpc-java/compiler/src/java_plugin/cpp/java_generator.h:8:49: fatal error: google/protobuf/io/zero_copy_stream.h: No such file or directory
 #include <google/protobuf/io/zero_copy_stream.h>
                                                 ^
compilation terminated.

In file included from /home/karl/tmpo/grpc-java/compiler/src/java_plugin/cpp/java_plugin.cpp:8:0:
/home/karl/tmpo/grpc-java/compiler/src/java_plugin/cpp/java_generator.h:8:49: fatal error: google/protobuf/io/zero_copy_stream.h: No such file or directory
 #include <google/protobuf/io/zero_copy_stream.h>
                                                 ^
compilation terminated.

:grpc-compiler:compileJava_pluginExecutableJava_pluginCpp FAILED

FAILURE: Build failed with an exception.

Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
Anything else we should know about your project / environment?
It's a pretty fresh install of Ubuntu 17.04. No dev tools have been added to it beyond netbeans.

You weren't in the examples directory. Make sure to cd examples first.


ACE crashes on security sweep

Describe the bug
This is a great service, thanks. But it causes your own library, ACE, to crash an Express server.
To Reproduce
Set up a Node instance with ACE and set expressErrorHandling: true,. Hit the /install or /uninstall endpoint with the service that identifies itself as this repo.
Expected behavior
ACE doesn't cause my app to crash. I created a PR for that at https://bitbucket.org/atlassian/atlassian-connect-express/pull-requests/393 which has been ignored.
For anyone else hitting this,  you can set req.context to an empty object before running verify and it will start failing with 401s instead of crashing. E.g.
const preventACEBug = (req: Request, res: Response, next: () => void) => {
    (req as any).context = {};
    next();
  };
  routes.post('/installed', preventACEBug, aceAddon.verifyInstallation(), aceAddon.postInstallation());

Hey there! I've alerted the team that maintains ACE about your PR. Unfortunately, as you can imagine, there's not a whole lot that we can do. I'll leave this open until I've heard some kind of feedback from them.
Appreciate your understanding.

Thanks Sean!

This is being reviewed by the ecosystem platform team. Gonna close this out over here.


Doesn't work on Avalonia 11 RC1

System.MissingMethodException
  HResult=0x80131513
  Message=Method not found: 'Void Avalonia.Styling.StyleBase.Add(Avalonia.Styling.ISetter)'.
  Source=MessageBox.Avalonia
  StackTrace:
   at MessageBox.Avalonia.Views.MsBoxCustomWindow.!XamlIlPopulate(IServiceProvider , MsBoxCustomWindow )
   at MessageBox.Avalonia.Views.MsBoxCustomWindow.!XamlIlPopulateTrampoline(MsBoxCustomWindow )
   at MessageBox.Avalonia.Views.MsBoxCustomWindow.InitializeComponent()
   at MessageBox.Avalonia.Views.MsBoxCustomWindow..ctor()
   at MessageBox.Avalonia.MessageBoxManager.GetMessageBoxCustomWindow(MessageBoxCustomParams params)
   at Fronter.ViewModels.MainWindowViewModel.<CheckForUpdates>d__70.MoveNext() in D:\GitHub\IhateTrains\Fronter.NET\Fronter.NET\ViewModels\MainWindowViewModel.cs:line 247

It seems like I'm running into the same issue: https://stackoverflow.com/questions/76543774

It seems like I'm running into the same issue: https://stackoverflow.com/questions/76543774

Sry, dont read so. and miss here, use our telegram channels for fast communication

What version do u use, as i understand u use old version, which doesnt work with rc1, use rc1 version with rc1

What version do u use, as i understand u use old version, which doesnt work with rc1, use rc1 version with rc1

This was indeed reported for a MessageBox.Avalonia version prior to RC1. Sorry for not closing the issue!


OCR configuration

Hi
Where do you set the Appid and AppKey in order to use the OCR option for math?
Also how do you get the  Appid and AppKey to use?
thanks
Fred

I found it:
C:\Users\USERNAME\AppData\Roaming\SuperMemoAssistant\Configs\SuperMemoAssistant.Plugins.PDF\PDFCfg.json

What should I use under "MathPixMetadata"?
For now  I left it as null but when ever I try to OCR some formula I get "Ocr failed"  message

It turns out I had a missing digit in the appid.


docs: fix readthedocs

Closes #559.
I have a couple of followup ideas, but this should at least get the docs building again.

Not seeing a RtD PR build.

Not seeing a RtD PR build.

Ditto; I unfortunately don't have admin on this repo so can't check if the webhook is installed

Should be quite safe, it just might not fix the problem. :)

(Even if the web hook was enabled, sometimes if it was old it might need to be refreshed - I feel like I've had to fight with it before)
If this works, most issues should be caught by the GHA docs build (except this one).

@henryiii 🤞  https://readthedocs.org/projects/nox/builds/15742871/

Ahh, I almost replaced recommonmark with myst-parser (it's deprecated), but then I left it for followup. Looks like that's what triggering it. Instead of looking up the version of recommonmark needed, let's just go ahead and upgrade to myst.


Etherscan API integration to detect a fresh address

Added a query for Etherscan get transactions request.
Added front-end error message when a non-fresh address is connected.

I can imagine wanting to skip a loop around waiting for tests to run in GH
before resubmitting. Perhaps could have a post-push hook that just reminds
about running the linter/tests so you can run them quickly locally?
(In general though I’d be a bit worried about committing hooks to git —
seems like a security vuln because it could make even checking out a branch
run a command locally the next time you do a manipulation in git)
On Wed, Jan 19, 2022 at 4:52 AM Kyle Corbitt @.***>
wrote:

@.**** commented on this pull request.
In redwood/api/src/graphql/addressInformation.sdl.ts
https://github.com/zorro-project/zorro/pull/56#discussion_r787714708:

@@ -0,0 +1,10 @@
+export const schema = gql`

type AddressInformation {
transactionCount: Int!
isFreshAddress: Boolean!
}

type Query {
fetchAddressTransactions(ethereumAddress: ID!): AddressInformation! @skipAuth

Just yesterday I pushed a WIP branch in a state that wouldn't pass tests
so that RoboTeddy could take a look at it. It would have been annoying to
have to make the tests pass just to share my work. I guess maybe I'm
missing some context here. Could you explain what problem adding checks as
a pre-push would solve for you that the checks automatically run on a PR
wouldn't solve?
—
Reply to this email directly, view it on GitHub
https://github.com/zorro-project/zorro/pull/56#discussion_r787714708,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABKB3333NQVOEVLKW7YUETUW2X2NANCNFSM5MGEYOPQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

(One note: the top right 'connect wallet' button likely won't be visible during registration)
Special delivery in the form of a UI design for this!: https://www.figma.com/file/j8OounnzVVLno1EEhnN6Wp/Untitled?node-id=288%3A493
I haven't tried this out, but there's at least a claim that you can get metamask to insist on connecting a new account by doing this: https://github.com/MetaMask/metamask-extension/issues/8990#issuecomment-980489771 (we could try executing that code when someone hits 'Reconnect Wallet')

By the way getting to this in the normal course of a design pass over everything, so will incorporate your work in that! Thanks again!


Add quickwit in available observability backends

Hi there, quickwit team here. We are a storage backend for logs and traces and we think that Odigos and Quickwit is a very good match, I think it's worth adding a Quickwit observability backend.
Is your feature request related to a problem? Please describe.
Support for sending logs and traces to Quickwit
Describe the solution you'd like
Quickwit supports the OTLP gRPC API for logs and traces and, soon, the HTTP API.
Describe alternatives you've considered
Using the the generic OpenTelemetry backend.
If you support it, we can give it a try and open a PR. What do you think?

Hi.
I started a PR here: #907 it's still WIP but I'd like to know if there's a way to make a quick test injecting events with a docker compose or something like that somewhere @edeNFed (without having to build and deliver images to a registry to deploy it in a kind or k3d cluster). Thanks in advance :)
No problem if it's not the case.
Thanks

Hi @idrissneumann
I think the easiest way to test Odigos locally would be using kind.
You do not need to upload the images to any registery just run from the repository root directory:
TAG=<current odigos version> make build-images load-to-kind
This command will build all the Odigos images with your changes and will load them to kind, so when you run odigos install all the images are already loaded and Odigos will start with your code changes.
Hope that helps, please let me know if you are having any issues

Hello.
I think we can close this issue. The #907 has been merged and it's working in the last release v1.0.49 :)
A quick demo with OTEL logs here:
https://github.com/keyval-dev/odigos/assets/12884347/c4c265ce-1664-48a4-9921-0b19e89e0547
You can reproduce the test with the following repo: https://github.com/quickwit-oss/odigos-test

Amazing! Thank you so much for contributing and recording the demo 🙏


Cannot Access CSV on Google Drive when using OAuth

Describe the bug
When using the OAuth method to do a federated query for a table that points to a CSV file on Drive, I get an error.
When using a service account to access the same file, it works just fine.
• I have full permissions to the file
• All GDrive APIs in Google Cloud and Google Workspace are turned on
• I've also run the following command
gcloud auth application-default login \
  --scopes=https://www.googleapis.com/auth/bigquery,\
                    https://www.googleapis.com/auth/drive.readonly,\
                    https://www.googleapis.com/auth/iam.test

• I've also tried revoking auth and re-authing
Steps To Reproduce
• Place a (CSV) file in a drive and share it with yourself
• Make a table in Bigquery that uses the Drive file as the source (federated)
• SELECT * the table via dbt
Expected behavior
I expect it to be able to query the table.
Screenshots and log output
Access Denied: BigQuery BigQuery: Access Not Configured. Drive API has not been used in project<PHONE_NUMBER>50 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/drive.googleapis.com/overview?project=764086051850 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
  compiled SQL at ...

What's weird is that the project ID is not one of ours. When using a service account, the correct project is used. My profile.yml is set up correctly, so I don't know where this project ID is coming from.
I've noticed this issue happening with a similar project ID on StackOverflow
System information
The output of dbt --version:
installed version: 0.21.0
   latest version: 1.0.0

Your version of dbt is out of date! You can find instructions for upgrading here:
https://docs.getdbt.com/docs/installation

Plugins:
  - bigquery: 0.21.0
  - snowflake: 0.21.0
  - redshift: 0.21.0
  - postgres: 0.21.0

The operating system you're using:
Mac OS Big Sur version 11.6
Python 3.8.5

Thanks @gio-sourcing-auto so much for bringing this to our attention.
After trying to replicate your issue we were able to set up a federated query for both oauth and service account methods. a few ideas as to why your setup might not be working are:

the local sdk for gcloud is pointing to wrong project
can use gcloud config get-value project  to make sure project is what you expect locally. if this is not what you expect you can run gcloud config set project <projectname>  to change projects.
there are some permissions issues between the bigquery account or project and the local gcloud.

if neither of these options help please let me know and we can keep debugging this together.

Hi @McKnight-42 This problem still seems to be occurring. Not sure why you weren't able to reproduce. Maybe it needs to be a shared drive?
A little web investigation brought up a newer blog post that points to the issue.
Once you use gcloud auth application-default login and authorize using OAuth, you will notice that the credentials saved in the default location ~/.config/gcloud/application_default_credentials.json do in fact indicate that it points to a project with id:<PHONE_NUMBER>50
{
  "client_id": "764086051850-6qr4p6gpi6hn506pt8ejuq83di341hur.apps.googleusercontent.com",
  "client_secret": "<redacted>",
  "quota_project_id": "my-work-project",
  "refresh_token": "<some_refresh_token>",
  "type": "authorized_user"
}

This project ID is in fact associated with the gcloud CLI as a part of the client that kicks off the OAuth flow.
Of course, this means that there's no way to activate the Drive API on a Google internal project...
Following the instructions in the blog post, I generated new credentials and passed them into the gcloud auth application-default login via the --cliend-id-file flag and it worked like a charm.
I wonder if this can be automated/baked into the dbt default behaviour.


docs(eslint): ESLint plugin documentation

Closes #1956
@ala-n @Natalie-Smirnova, let me know if you would like to add something to doc

:tada: This PR is included in version 4.14.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Failed to resolve "Speech.SFSpeechRecognizerAuthorizationStatus"

When using this plugin with the media plugin my app wont build for a iOS 10 device (build with ios sdk 9.3) Building on the simulator with ios9 works fine.
The error i get is:
Failed to resolve "Speech.SFSpeechRecognizerAuthorizationStatus"
Version Number of Plugin: 1.2.1

You must now build with the iOS 10 SDK as it is built against it. Sorry.

I see, thank you.

So it is not compatible with iOS 7? If so, then compatibility table on project's page missleads developers :-(


build: Update to latest SDK w/o ZMQ on windows

BREAKING CHANGE: ZeroMQ no longer supported on native Windows for EdgeX
MessageBus
Signed-off-by: lenny<EMAIL_ADDRESS>

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/device-mqtt-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?) N/A for Build PR
[ ] I have fully tested (add details below) this the new feature or bug fix (if not, why?)  N/A for Build PR
[ ] I have opened a PR for the related docs change (if not, why?)  N/A for Build PR

Testing Instructions
N/A for Build PR
New Dependency Instructions (If applicable)
N/A for Build PR

Codecov Report

Merging #329 (0aab54c) into main (c95c2b6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #329   +/-   ##
=======================================
  Coverage   21.90%   21.90%
=======================================
  Files           5        5
  Lines         484      484
=======================================
  Hits          106      106
  Misses        365      365
  Partials       13       13

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 c95c2b6...0aab54c. Read the comment docs.


Fix resolving logLevel variable in casskop chart

Q
A

Bug fix?
[x]

New feature?
[]

API breaks?
[]

Deprecations?
[]

Related tickets
fixes #X, partially #Y, mentioned in #Z

License
Apache 2.0

What's in this PR?

PR fixes the problem with passing value from values.yaml instead of pushing direct string .Values.logLevel to environment variable.
Why?

I just found an obvious issue with passing logLevel variable via values.yaml during the update of casskop to latest 2.2.6 release. See the screen:

(This is a diff of the changes that I observe during pushing new chart to k8s)
Additional context

Checklist

[x] Implementation tested
[x] Logging code meets the guideline
[ ] User guide and development docs updated (if needed)
[ ] Append changelog

To Do

[ ] If the PR is not complete but you want to discuss the approach, list what remains to be done here

@AKamyshnikova @cscetbon any chances to merge this change quickly so I'll be able to fix my cluster without patching the chart locally?

It looks like the tests failed or something that is out of the scope of my change?


Should add the ST3 Forum Link to the README or point to the issues forum here.

Assuming anyone wants to actually use this thing, if there is actually a bug, there should be a way to get here without much issue.  The README file might be a good place to fix that.

Added line to README pointing to GitHub and ST forum to help capture issues (if anyone bothers)


Fix devices not mapping if there are no partitions

In AlarmController.async_update, the mapping loop prevents accounts with no partitions from being mapped, since the loop would only run if you had at least one partition. We can resolve this by handling the device mapping after the partition mapping, rather than during.
If I had to guess, it looked like there was a reason this was done. Without this, though, this library and the Home Assistant component are unusable unless you're able to set up a partition (and since my setup is actually managed by my apartment, I can't). If a user who has partitions could try this on their side to verify everything is OK before merge, that would be appreciated.

Closes #124.

Bumping this PR. I just went through the same set of fixes and was about to put up an equivalent PR because home assistant no longer sees my devices.
I tested these changes locally in my home assistant install and they work for my particular setup. Like @bclindner my apartment manages my alarm.com account and so I cannot test with partitions.

Thanks!


A workflow is when all the jobs failed in parent task

Hello
We have been talking with Seangchan about this problem. On vocms013, there is a workflow that has not been able to finish and it does not have paused or pending jobs. It does have the tasks in [1] as unfinished but we don't need them for anything. So Seangchan proposed that the status should be changed manually to finally clean that machine and be able to use it for other things. However all the tasks have failed, and due to that, if child task couldn't start should we should close that task and advance or what can be done?
Regards
Andres Quintero
[1]
['/Express_Run322222_StreamExpress/Express/ExpressAlcaSkimwrite_StreamExpress_ALCARECO/ExpressAlcaSkimwrite_StreamExpress_ALCARECOAlcaHarvestALCARECOStreamPromptCalibProdSiStripGains', '/Express_Run322222_StreamExpress/Express/ExpressAlcaSkimwrite_StreamExpress_ALCARECO/ExpressAlcaSkimwrite_StreamExpress_ALCARECOAlcaHarvestALCARECOStreamPromptCalibProd', '/Express_Run322222_StreamExpress/Express/ExpressAlcaSkimwrite_StreamExpress_ALCARECO/ExpressAlcaSkimwrite_StreamExpress_ALCARECOAlcaHarvestALCARECOStreamPromptCalibProdSiStripGainsAAG', '/Express_Run322222_StreamExpress/Express/ExpressAlcaSkimwrite_StreamExpress_ALCARECO/ExpressAlcaSkimwrite_StreamExpress_ALCARECOAlcaHarvestALCARECOStreamPromptCalibProdSiPixelAli', '/Express_Run322222_StreamExpress/Express/ExpressAlcaSkimwrite_StreamExpress_ALCARECO/ExpressAlcaSkimwrite_StreamExpress_ALCARECOAlcaHarvestALCARECOStreamPromptCalibProdSiPixel', '/Express_Run322222_StreamExpress/Express/ExpressAlcaSk

Looking at the code, it seem fileset for those tasks are  not closed due to child task is not created. (I think it is due to the all the jobs are failed for the parent tasks)
However, when I manually close the subscription for parent tasks, it didn't still move the state to Processing Done. It seems still couldn't move to further state due the tasks which doesn't have jobs in them. I will investigate more tomorrow.

@andresfelquintero are those workflows still stuck?


bug: www docs wrong favicon + wrong contribution link

Provide environment information
...
Describe the bug
https://create-t3-app-docs.vercel.app
Wrong favicon
https://create-t3-app-docs.vercel.app/en/introduction
Right navigation, Contribute section set to wrong repository
To reproduce
...
Additional information
No response

That page is just kroucher's test deployment for an earlier version of the docs. You can see current version here: https://create-t3-app-nu.vercel.app/en/introduction or running the astro app from inside the repo.

Ahh alright.


tasks_analysis: Add a multiple-tasks CPUs residency plot

This provides a new convenient task analysis API to generate a stacked
plot of CPUs residency time for a list of specified tasks.
 The generated
dataframe and plots sorts tasks by increasing running time, thus making
it even more simple to identify the most active tasks.
Signed-off-by: Patrick Bellasi<EMAIL_ADDRESS>

Here is an example of the task stacked residency plot generated by the plotting API.

Here is an example of the current API.

Apart from the issues resumed in #926, which should be addressed in a different PR, I think this one is ready to go. @valschneider ?

Other than the above, I'm okay with this.


IntegrityWebpackPlugin does not update runtime global variable

Successor to #81

Current setup of the IntegrityWebpackPlugin does not update the global variable injected to contain the latest Service Worker's integrity checksum.
Reasons
First, the webpack.DefinePlugin() cannot be used with a simple string value for the injected variable, as it caches the modules by default, so the modules that reference the global variable are cached and won't access the updated checksum.

I've migrated to using webpack.DefinePlugin.runtimeValue() instead, which is supposed to skip modules caching and result into updated runtime global variable.

Using runtimeValue() didn't solve the issue, as the changes in src/mockServiceWorker.js do not trigger the bundle recompilation. When forcing the recompilation the issue is still not fixed.
Expected behavior
The global Service Worker integrity checksum variable must have the latest value in the code in the watch mode of compilation (i.e. using yarn start). This way the local development always has the Service Worker with the latest integrity.

This issue needs to be revalidated, since as of b10f6fc1a1f53a4be8e9018ca1b420109c832aa4 the library uses rollup for bundling. It also uses a custom rollup-integrity-check-plugin instead of this custom one designed for webpack, so there's a fair chance this issue is obsolete due to the way rollup executes plugins.

I've checked with the the rollup plugin, and it does not update the expected integrity checksum in the built bundle upon incremental builds. This needs to be fixed.


Create additional info blocks

You can make your resume less official by adding more entertaining info, like your hobbies and interest, or what do you like, some interactive content or joke, easter egg, etc.

My hobbies are reading, walking, listening to music and video games. I'm also a little interested in electronics and 3D graphics.


how to set background image?

Hi, I want to set background image and reapte that in X and Y.
how I can?

Use the add() function as if it were a sprite!
add([
    sprite("background")
]);

If you want your background to take over the entire screen, make sure that the size of the image is the same size as the width() and height() of the game
(for set the sizes):
kaboom({
    width: 500,
    height: 500
});

can also use the tiled: true option to make it tiled https://kaboom2000.slmjkdbtl.repl.co/demo#tiled

Thank a lot 🍨


Added more informations when errors occur or invalid options are given

Done, if the code needs other changes please let me know.

@zillemarco thank you. Just please merge the commits into one and change "informations" to "information" in the commit message.

Done, sorry it took me so long but I've had exams at the university :)

@zillemarco thank you.
I would like to talk to you about the formatting of your code now. I would've opened a new issue but I cannot assign it to you. So I am going to describe it here. Could you please open a new pull request where you have:

Removed the underscore prefixes from your fields;
Used automatic properties wherever possible (Options.cs is the best example);
Made list properties read-only and initialised within the class - please use the property initialisers from C# 6.0;
Replaced all usages of String with string;
Replaced all comparisons with string.Empty with string.IsNullOrEmpty;
Replaced all checks of Boolean properties with "if (Boolean/!Boolean)" instead of "if (Boolean == true/false)";
Used StringBuilder instead of string concatenation where you dynamically compose strings (for example at https://github.com/mono/CppSharp/blob/master/src/CLI/Generator.cs#L240);
Removed any redundant usings - for example, you seem not to need using System.Threading.Tasks; in Options.cs.
The excellent add-in of Refactoring Essentials (http://vsrefactoringessentials.com/) can help you with some of these tasks, especially the last one.

Of course, no problem.
One question though: is it possible to implement some test cases to test the CLI? Because I've made the changes but I'm running short on test cases and since I still don't know CppSharp that well I'm not sure if my results are correct or not.

One possible way of testing, which I am not sure if you have implemented, is printing the compilation errors, if any, when the C# generator in combination with the option for auto-compilation is used. It's not really testing, in a way, but the user can see if anything is wrong with the code generated for the binding.


2024-04-05 12:56:17.092 18277-18277/com.my-bundle.my-app-name D/CameraView: Finding view 59737...
2024-04-05 12:56:17.092 18277-18277/com.my-bundle.my-app-name D/CameraView: Found view 59737!
2024-04-05 12:56:17.092 18277-14292/com.my-bundle.my-app-name I/CameraView.takePhoto: Taking photo... Options: {qualityPrioritization=speed, flash=off, enableShutterSound=false}
2024-04-05 12:56:17.094 18277-18277/com.my-bundle.my-app-name D/ImageCapture: takePictureInternal
2024-04-05 12:56:17.094 18277-18277/com.my-bundle.my-app-name D/CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
2024-04-05 12:56:17.094 18277-18277/com.my-bundle.my-app-name D/TakePictureManager: Issue the next TakePictureRequest.
2024-04-05 12:56:17.095 18277-18506/com.my-bundle.my-app-name D/UseCaseAttachState: Active and attached use case: [androidx.camera.core.Preview-1b688a3a-58cb-4dc5-b325-3d7bd98618ff143562801, androidx.camera.core.ImageCapture-ee6b8117-640f-4f43-bba8-98163d97159a234613526] for camera: 0
2024-04-05 12:56:17.103 18277-18506/com.my-bundle.my-app-name D/CaptureSession: Attempting to submit CaptureRequest after setting
2024-04-05 12:56:17.103 18277-18506/com.my-bundle.my-app-name D/CaptureSession: Issuing request for session.
2024-04-05 12:56:17.103 18277-18506/com.my-bundle.my-app-name D/Camera2CaptureRequestBuilder: createCaptureRequest
2024-04-05 12:56:17.121 18277-18949/com.my-bundle.my-app-name D/MetadataImageReader: Skip to acquire the next image because the acquired image count has reached the max images count.
2024-04-05 12:56:17.155 18277-18950/com.my-bundle.my-app-name D/MetadataImageReader: Skip to acquire the next image because the acquired image count has reached the max images count.
2024-04-05 12:56:17.192 18277-18949/com.my-bundle.my-app-name D/MetadataImageReader: Skip to acquire the next image because the acquired image count has reached the max images count.
2024-04-05 12:56:17.222 18277-18950/com.my-bundle.my-app-name D/MetadataImageReader: Skip to acquire the next image because the acquired image count has reached the max images count.
2024-04-05 12:56:17.224 18277-10171/com.my-bundle.my-app-name D/SensorManager: unregisterListener
2024-04-05 12:56:17.255 18277-18949/com.my-bundle.my-app-name D/MetadataImageReader: Skip to acquire the next image because the acquired image count has reached the max images count.
2024-04-05 12:56:17.290 18277-18950/com.my-bundle.my-app-name D/MetadataImageReader: Skip to acquire the next image because the acquired image count has reached the max images count.
2024-04-05 12:56:17.323 18277-18949/com.my-bundle.my-app-name D/MetadataImageReader: Skip to acquire the next image because the acquired image count has reached the max images count.
2024-04-05 12:56:17.357 18277-18950/com.my-bundle.my-app-name D/MetadataImageReader: Skip to acquire the next image because the acquired image count has reached the max images count.
2024-04-05 12:56:17.370 18277-18509/com.my-bundle.my-app-name D/Camera2CameraImpl: {Camera@b4ae02e[id=0]} Issue capture request
2024-04-05 12:56:17.370 18277-18509/com.my-bundle.my-app-name D/CaptureSession: Issuing capture request.
2024-04-05 12:56:17.380 18277-18509/com.my-bundle.my-app-name D/Camera2CaptureRequestBuilder: createReprocessCaptureRequest
2024-04-05 12:56:17.395 18277-18949/com.my-bundle.my-app-name D/MetadataImageReader: Skip to acquire the next image because the acquired image count has reached the max images count.
2024-04-05 12:56:17.421 18277-18950/com.my-bundle.my-app-name D/MetadataImageReader: Skip to acquire the next image because the acquired image count has reached the max images count.
2024-04-05 12:56:17.457 18277-18949/com.my-bundle.my-app-name D/MetadataImageReader: Skip to acquire the next image because the acquired image count has reached the max images count.
2024-04-05 12:56:17.494 18277-18950/com.my-bundle.my-app-name D/MetadataImageReader: Skip to acquire the next image because the acquired image count has reached the max images count.
2024-04-05 12:56:17.530 18277-18949/com.my-bundle.my-app-name D/MetadataImageReader: Skip to acquire the next image because the acquired image count has reached the max images count.
2024-04-05 12:56:18.528 18277-18427/com.my-bundle.my-app-name E/BufferQueueProducer: [ImageReader-4032x3024f22m9-18277-81](id:4765000000c3,api:4,p:1969,c:18277) dequeueBuffer: waitForFreeSlotThenRelock: timeout. dequeuedCount: 0, acquiredCount: 2
2024-04-05 12:56:18.544 18277-18277/com.my-bundle.my-app-name I/CameraView: invokeOnShutter(PHOTO)
2024-04-05 12:56:18.635 18277-18277/com.my-bundle.my-app-name D/qdgralloc: GetYUVPlaneInfo: Invalid format passed: 0x21
2024-04-05 12:56:18.637 18277-18277/com.my-bundle.my-app-name D/TakePictureManager: Issue the next TakePictureRequest.
2024-04-05 12:56:18.637 18277-18277/com.my-bundle.my-app-name D/TakePictureManager: No new request.
2024-04-05 12:56:18.685 18277-14305/com.my-bundle.my-app-name I/CameraView.takePhoto: Successfully captured 4032 x 3024 photo!
2024-04-05 12:56:18.875 18277-10171/com.my-bundle.my-app-name D/SensorManager: registerListener :: 11, LSM6DSO Accelerometer, 200000, 0,
2024-04-05 12:56:18.969 18277-18295/com.my-bundle.my-app-name I/lguru.my-app-name: NativeAlloc concurrent copying GC freed 78800(3146KB) AllocSpace objects, 9(9524KB) LOS objects, 37% free, 40MB/64MB, paused 74us,65us total 100.353ms
2024-04-05 12:56:19.541 18277-26000/com.my-bundle.my-app-name E/BufferQueueProducer: [ImageReader-4032x3024f22m9-18277-81](id:4765000000c3,api:4,p:1969,c:18277) dequeueBuffer: waitForFreeSlotThenRelock: timeout. dequeuedCount: 0, acquiredCount: 2
2024-04-05 12:56:20.040 18277-18277/com.my-bundle.my-app-name I/Choreographer: Skipped 30 frames!  The application may be doing too much work on its main thread.
2024-04-05 12:56:20.542 18277-31454/com.my-bundle.my-app-name E/BufferQueueProducer: [ImageReader-4032x3024f22m9-18277-81](id:4765000000c3,api:4,p:1969,c:18277) dequeueBuffer: waitForFreeSlotThenRelock: timeout. dequeuedCount: 0, acquiredCount: 2
2024-04-05 12:56:20.863 18277-18277/com.my-bundle.my-app-name W/SafeAreaView: Timed out waiting for layout.
2024-04-05 12:56:20.877 18277-10174/com.my-bundle.my-app-name W/lguru.my-app-name: Long monitor contention with owner main (18277) at void com.facebook.react.uimanager.NativeViewHierarchyManager.manageChildren(int, int[], com.facebook.react.uimanager.ViewAtIndex[], int[])(NativeViewHierarchyManager.java:539) waiters=0 in int com.facebook.react.uimanager.NativeViewHierarchyManager.getRootViewNum() for 514ms
2024-04-05 12:56:20.886 18277-18277/com.my-bundle.my-app-name I/Choreographer: Skipped 30 frames!  The application may be doing too much work on its main thread.
2024-04-05 12:56:21.545 18277-31454/com.my-bundle.my-app-name E/BufferQueueProducer: [ImageReader-4032x3024f22m9-18277-81](id:4765000000c3,api:4,p:1969,c:18277) dequeueBuffer: waitForFreeSlotThenRelock: timeout. dequeuedCount: 0, acquiredCount: 2
2024-04-05 12:56:21.618 18277-18277/com.my-bundle.my-app-name I/ViewRootImpl@6cd2404[MainActivity]: ViewPostIme pointer 0
2024-04-05 12:56:21.717 18277-18277/com.my-bundle.my-app-name I/ViewRootImpl@6cd2404[MainActivity]: ViewPostIme pointer 1
2024-04-05 12:56:21.729 18277-10173/com.my-bundle.my-app-name I/ReactNativeJS: 'Deleting picture', 'file:///data/user/0/com.my-bundle.my-app-name/cache/ImageManipulator/cfa1b0dd-ac4e-47f6-b892-26983cb48162.jpg'
2024-04-05 12:56:22.547 18277-31454/com.my-bundle.my-app-name E/BufferQueueProducer: [ImageReader-4032x3024f22m9-18277-81](id:4765000000c3,api:4,p:1969,c:18277) dequeueBuffer: waitForFreeSlotThenRelock: timeout. dequeuedCount: 0, acquiredCount: 2
2024-04-05 12:56:23.549 18277-18721/com.my-bundle.my-app-name E/BufferQueueProducer: [ImageReader-4032x3024f22m9-18277-81](id:4765000000c3,api:4,p:1969,c:18277) dequeueBuffer: waitForFreeSlotThenRelock: timeout. dequeuedCount: 0, acquiredCount: 2
2024-04-05 12:56:24.552 18277-31454/com.my-bundle.my-app-name E/BufferQueueProducer: [ImageReader-4032x3024f22m9-18277-81](id:4765000000c3,api:4,p:1969,c:18277) dequeueBuffer: waitForFreeSlotThenRelock: timeout. dequeuedCount: 0, acquiredCount: 2
2024-04-05 12:56:24.724 18277-18277/com.my-bundle.my-app-name D/SensorManager: unregisterListener
2024-04-05 12:56:24.725 18277-18277/com.my-bundle.my-app-name D/SensorManager: unregisterListener
2024-04-05 12:56:24.750 18277-18277/com.my-bundle.my-app-name I/DecorView: setWindowBackground: isPopOver=false color=0 d=android.graphics.drawable.ColorDrawable@3f4d844
2024-04-05 12:56:24.758 18277-18277/com.my-bundle.my-app-name D/SensorManager: registerListener :: 11, LSM6DSO Accelerometer, 66667, 0,
2024-04-05 12:56:24.763 18277-18410/com.my-bundle.my-app-name D/NativeCustomFrequencyManager: [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
2024-04-05 12:56:24.768 18277-18277/com.my-bundle.my-app-name D/InsetsController: onStateChanged: host=com.my-bundle.my-app-name/expo.modules.devmenu.DevMenuActivity from=android.view.ViewRootImpl.setView:1717 state=InsetsState: {mDisplayFrame=Rect(0, 0 - 1080, 2400), mDisplayCutout=DisplayCutout{insets=Rect(0, 80 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(510, 0 - 570, 80), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2400 physicalDisplayWidth=1080 physicalDisplayHeight=2400 density={3.0} cutoutSpec={M 0,0 H -10 V 26.66666666666667 H 10 V 0 H 0 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]}  mRoundedCornerFrame=Rect(0, 0 - 1080, 2400), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(948, 0 - 1080, 80) rotation=0}, mDisplayShape=DisplayShape{ spec=-1893857183 displayWidth=1080 displayHeight=2400 physicalPixelDisplaySizeRatio=1.0 rotation=0 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {bb2f0001 mType=navigationBars mFrame=[0,2355][1080,2400] mVisible=true mFlags=[SUPPRESS_SCRIM]}, InsetsSource: {bb2f0004 mType=systemGestures mFrame=[0,0][90,2400] mVisible=true mFlags=[]}, InsetsSource: {bb2f0005 mType=mandatorySystemGestures mFrame=[0,2304][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {bb2f0006 mType=tappableElement mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {bb2f0024 mType=systemGestures mFrame=[990,0][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {27 mType=displayCutout mFrame=[0,0][1080,80] mVisible=true mFlags=[]}, InsetsSource: {2bd10000 mType=statusBars mFrame=[0,0][1080,80] mVisible=true mFlags=[]}, InsetsSource: {2bd10005 mType=mandatorySystemGestures mFrame=[0,0][1080,116] mVisible=true mFlags=[]}, InsetsSource: {2bd10006 mType=tappableElement mFrame=[0,0][1080,80] mVisible=true mFlags=[]} }
2024-04-05 12:56:24.768 18277-18277/com.my-bundle.my-app-name I/ViewRootImpl@7e07a6b[DevMenuActivity]: synced displayState.

Hey - I think this issue has been fixed in VisionCamera 4.0.0. 🥳
Please try V4 and let me know if you still experience this issue;

if not, please consider 💖 sponsoring me on GitHub 💖 to support the development of VisionCamera and thank me for my time spent on fixing bugs and building new features.
if you still see this issue, please comment and we can re-open this. But please update your native logs with the native (Xcode/Android Studio) logs from running VisionCamera V4 so I can investigate this.

My users are still seeing this error just as often in version 4.0.1. We did a release with 4.0.3 today, and I am still seeing some instances of ZslControlImpl: Failed to acquire latest image IllegalStateException = Maximum image number reached. there too, unfortunately.

photoQualityBalance="speed" or ="quality" fixes this, apparently ZSL is broken on some devices.

Thanks @mrousavy, adding photoQualityBalance="speed" does appear to have fixed this error (though I have only a few hours of data so far).

I was already using photoQualityBalance="speed", that might be why it fixed the issue for me.


Adding a second API key resets usage for the existing key

When the integration is configured with a single API key, and then at a later date a second API key is added then site usage will be reset to zero.
This has been introduced with the removal by Solcast of the API call to get usage/total for each API key.
Nothing will break, but this may be annoying.

This appears to be reproducible with a single API key, and with adding a second resource ID to the API Key.
I did this by adding a second micro array (1kW AC/DC) at the same location as my existing array).
This is the partially redacted content of solcast-sites.json at the time that the integration is failing to load:
{"sites": [{"name": "BLAH", "resource_id": "3f77-9366-ebbc-b925", "capacity": 5, "capacity_dc": 4.85, "longitude": yada, "latitude": yada, "azimuth": -123, "tilt": 5, "install_date": "2012-04-18T14:00:00.0000000Z", "tags": ["Home ", "yada", "Flat Roof"]}, {"name": "BLAH 2.0", "resource_id": "3173-8af2-5d85-fae4", "capacity": 1, "capacity_dc": 1, "longitude": yada, "latitude": yada, "azimuth": 123, "tilt": 5, "install_date": "2001-12-31T13:00:00.0000000Z", "tags": ["Test"], "location": "yada, VIC Australia"}], "page_count": 1, "current_page": 1, "total_records": 2}
Note that the first resource_id was the existing one, and the second resource_id was the newly added resource_id.


hot-/live-reloading broken in cloud IDE

I am calling vbuild -c --dev to start my dev server. All works fine. When I change a .vue file vbuild recompiles but I see no changes in my browser windows unless I do a refresh manually?
Isn't vbuild -c --dev supposed to do some hot-/live-reloading?

Is there any output in the browser console? You're supposed to see something like:

Or can you provide the steps to reproduce this?
If you see something like: Root or manually mounted instance modified. Full reload required. that might be a bug in vbuild.

I am getting:
EventSource cannot load http://<IP_ADDRESS>:8080/__webpack_hmr. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://xxx.c9users.io' is therefore not allowed access.

I am using Cloud9, this is how my vbuild.config.js looks like:
module.exports = (options, req) => ({

  host: '<IP_ADDRESS>',
  port: 8080,

  entry: 'src/index.js',
  dist: 'dist',
  html: {
    title: 'vbt'
  },
  postcss: [
    req('autoprefixer')({
      browsers: ['ie > 8', 'last 4 versions']
    })
  ],
  webpack(cfg) {
    cfg.resolve.modules.push(path.resolve('src'))

    return cfg
  }
})

hmm no sure about this, works fine on my local machine.

For reproduction you may simply try using vbuild with https://c9.io/, they offer free accounts...

I just upgraded to the latest version and everything seems to be working fine

Just noticed this in create-react-app, maybe it's related to this issue

Just upgraded to the latest vbuild and the issue seems to be back again :(

Try v6.24.12, it's most likely because in the client-side, webpack-hot-middleware can't connect to <IP_ADDRESS>

Cool its working again :+1:


Solid harmonics

hi Dexuan - many thanks for getting this started. At the moment this is a huge amount of code duplication. Would it be possible to implement it as a wrapper around the spherical harmonics and just compute the scaling as a post-processing step?

hi Dexuan - many thanks for getting this started. At the moment this is a huge amount of code duplication. Would it be possible to implement it as a wrapper around the spherical harmonics and just compute the scaling as a post-processing step?

Thanks for your suggestion! Sure, I'll reimplement it.
Just to make it clear, does the "post-processing step" refer to something like this:
function evaluate(CRlmBasis) # complex solid harmonics
Y = evaluate(CYlmBasis): # complex spherical harmonics
for l = 1:maxL
Y[l] *= r^l
end
end
but the loop for "l" has already been performed when assigning values to "Ylm", if we perform a post-processing step like this, it will loop through "l" again. I'm not sure whether it will affect the speed of the code or not.

Yes, something like that. We need to test the performance of course. But I suspect the overhead will be minimal and this way it will be much easier to maintain.
I also have another idea we can try but that's more complex. Remind me to discuss it?

Probably the "right" way to do it would be to generalize the CYlm and RYlm kernels to allow an arbitrary prefactor.

can I close this PR now?

yes, please

closing since it has been replaced by #13


Forbidden Lands

language specific styling does not appear to be currently working. Temporarily removed Swedish logo.
small adjustment to sheet overflow to keep from clipping right margin.

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

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] 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.


Cannot read property 'type' of undefined

I am getting this error when html element such as a is dragged over upload area.
This could be common error in page where all content is upload area.
Same error can be reproduced in DEMO page.

error stack trace:
TypeError: Cannot read property 'type' of undefined
    at ng-file-upload.js:1363
    at Object.forEach (angular.js:325)
    at validateAsync (ng-file-upload.js:1360)
    at upload.validate (ng-file-upload.js:1397)
    at upload.updateModel (ng-file-upload.js:642)
    at updateModel (ng-file-upload.js:1890)
    at ng-file-upload.js:1847
    at wrappedCallback (angular.js:11572)
    at angular.js:11658
    at Scope.$eval (angular.js:12701)

https://github.com/danialfarid/ng-file-upload/issues/1325#issuecomment-187240142

Fixed at 12.0.3


Tramp not working

Hi,
with the current version of doom-emacs (v2.0.9) and emacs 27.1 (brew install emacs-plus), I can't get tramp working for opening remote files via SSH/SCP on a Mac.
As soon as I start to type any remote URL, like '/ssh:' or '/scp:' or '/-:', I get a dialog from my keychain to unlock access to some password entry (which is a random one and not related to the URL).
When I allow the access to the keychain entry, I can still do a C-g. But when I reject the keychain access, Emacs freezes. Only a kill -9 is possible then.
I've tried to install a more recent version of tramp, which is promising to fix this issue, I get blocking errors with doom and helm:
my config:
(package! tramp)
causing this persistent error:
Error in pre-command-hook (doom-first-input-hook-h): (doom-hook-error helm-mode (void-function tramp-register-crypt-file-name-handler))
tramp-register-file-name-handlers: Symbol’s function definition is void: tramp-register-crypt-file-name-handler

Since this is a major issue for me, any hint would be very appreciated.
Br,
Michael

Do not try to install a new version of tramp. The new error indicates you've broken tramp by doing so. The freeze indicates tramp is working, just not getting past a certain roadblock to do with interfacing with or interpreting the response from your keychain.
What's more, you ignored the server template, so much of a the important information I need is absent, so we'll have to do this interrogation dance. Please do not ignore the server template in the future.

Please include your M-x doom/info in your issue.
Have you enabled the :os macos module? It activates special integration with keychain that may fix your issue.
 Include that backtrace.

This is unlikely to be a Doom issue, and I don't use MacOS so my insight ends there.
Hope that helps.


Update build system

Update the build to

[x] #46
[x] #47
[x] #48
[ ] add basic CI support to ensure all of this is working

Some open ToDos on branch franziskus/hacl-sys

[ ] consistent naming of sys crates (libjade-sys, libcrux-hacl-sys, libcrux-platform, ... ?)
[ ] consistent version numbers across crates
[ ] fix all crates to the right version ("=0.0.1")
[ ] use new libcrux-hacl-sys functions in hacl module with hardware detection from libcrux-platform
[ ] use functions from hacl module in libcrux
[ ] add all functions to libcrux-hacl with the correct feature detection

Platform support

macOS (arm64, x64)
Windows (x64, x86)
Linux (arm64, x64, x86)

Platform support for follow ups

Android (arm64)
iOS (arm64)
wasm (#10)
Windows (arm64)

Open follow ups

[ ] #60
[ ] #61
[ ] #54