Duplicate product not working

Hi,
I love this plugin, but I just realized that whenever I have it activated, the duplicate function I can normally choose in the product overview under each product (next to edit, quick edit, trash and view) disappears.
I can see it again when I deactivate Woo-Poly-Integration. How can I duplicate a product, while having this plugin active?
Thanks a lot,
Michaela

Hi there,
Duplicate is specifically not there on Variation products, it is implemented ok on standard products.
Note that duplicate should be used in main language to create a duplicate of the product, it doesn't currently duplicate the translations.

Hi,
So there is no way for me to duplicate a variation product? I have to set up all the variations manually?
Cheers,
Michaela
Von: Jonathan Moore<EMAIL_ADDRESS>Gesendet: 30 April, 2017 16:14
An: hyyan/woo-poly-integration
Cc: MU85; Author
Betreff: Re: [hyyan/woo-poly-integration] Duplicate product not working (#149)
Hi there,
Duplicate is specifically not there on Variation products, it is implemented ok on standard products.
Note that duplicate should be used in main language to create a duplicate of the product, it doesn't currently duplicate the translations.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/hyyan/woo-poly-integration/issues/149#issuecomment-298234710 , or mute the thread https://github.com/notifications/unsubscribe-auth/Aa6jbFXw8T1FW6eZn_8kOihay62PKXMLks5r1JcZgaJpZM4NMkKg .  https://github.com/notifications/beacon/Aa6jbCNh-87o93McUkT-cyGd0ndF9ZMcks5r1JcZgaJpZM4NMkKg.gif

Well there are two possibilities, if you have a test system to experiment on:

deactivate woo-poly-integration, duplicate, and then reactivate. I haven't tried it

comment out these lines at the top of:  /wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Product/Duplicator.php
//        add_action('woocommerce_duplicate_product_capability', array(
//            $this, 'disableDuplicateForVariables',
//        ));

Now, the Duplicate link will be available for variations, when you first duplicate the Product will appear as a Simple product, just change it to Variation product, press Save and the variations will appear.
Warning:  I didn't write this code, I just experimented just now to see what would happen, I can't guarantee there are no side effects, this code was obviously put there for a reason, and I only tested on my local with WooCommerce 3.0.5 and the compatibility beta code for this plugin.
.. But it seems to work..

Hi Jonathan,
Thanks a lot for the suggestions. I thought about the first option as well, but I’d prefer the second one to be honest. Unfortunately I’m not very experienced with php (though I can do some basic stuff). Is it possible to include that code in my functions.php file for my child theme, or does it have to be this duplicator file you mention? Also, what exactly do you mean by “comment out”? I can’t just copy the code you gave me below?  ( I guess the // are in the way; can I just remove them?)
Thanks a lot for your help,
Michaela
Von: Jonathan Moore<EMAIL_ADDRESS>Gesendet: 30 April, 2017 17:58
An: hyyan/woo-poly-integration
Cc: MU85; Author
Betreff: Re: [hyyan/woo-poly-integration] Duplicate product not working (#149)
Well there are two possibilities, if you have a test system to experiment on:

deactivate woo-poly-integration, duplicate, and then reactivate. I haven't tried it

comment out these lines at the top of: /wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Product/Duplicator.php

// add_action('woocommerce_duplicate_product_capability', array(
// $this, 'disableDuplicateForVariables',
// ));
Now, the Duplicate link will be available for variations, when you first duplicate the Product will appear as a Simple product, just change it to Variation product, press Save and the variations will appear.
Warning: I didn't write this code, I just experimented just now to see what would happen, I can't guarantee there are no side effects, this code was obviously put there for a reason, and I only tested on my local with WooCommerce 3.0.5 and the compatibility beta code for this plugin.
.. But it seems to work..
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/hyyan/woo-poly-integration/issues/149#issuecomment-298240424 , or mute the thread https://github.com/notifications/unsubscribe-auth/Aa6jbMDl24D8vTChA2HaxG7Ts-oIK7S9ks5r1K-ggaJpZM4NMkKg .  https://github.com/notifications/beacon/Aa6jbE1733DB2COw7BkwuDPrfWKr4CmPks5r1K-ggaJpZM4NMkKg.gif

The "//" is the comment symbol, placing // in front of those lines in duplicator.php as I indicated causes those lines to be removed from execution and treated as a comment. Hence adding the // is known as "commenting out" the code.
This is less destructive than deleting the lines since you can easily remove the // again.
Of course if you aren't really sure about what you are doing I cannot really advise you to do it.
I am interested to know if it works for you though..  but if you test please do on test system not directly on your production system.
Please only reply in GitHub rather than by email, or at least don't include the history in email: your email is added to the history in GitHub and re-attaching all the history to the history only makes it harder to read...

Hi Jonathan,
I commented out the code as you suggested, but unfortunately it did not work out. This is how I did it:

copied the file /wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Product/Duplicator.php
uploaded the downloaded file directly into my child theme
commented out the three lines as suggested by you
Was there anything wrong about this procedure?

I also tested your first option (turn off the plugin, duplicate, and then reactivate). That one works, but it's anything from a pretty and clean workflow, so I'd love to get the code altered to fix this issue.
Any other ideas?

No, no, you would need to edit
/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Product/Duplicator.php
directly, save it at that location.
Copying such files to your theme can only break things.
Also, next time there is a problem you need to be a whole lot more specific than "it did not work out", I'm just answering on a volunteer basis, so please don't expect me to spend extra time working out what you mean.
I have some success in local development with improving the product attribute handling, I estimate I'll get an improved release candidate out next week.

fixed in dev branch:
https://github.com/Jon007/woo-poly-integration/tree/taxnomy-and-product-attributes-enhance
This needs a little more work and testing before including in release candidate.
Note:  if you duplicate a variation which is not in the site language, a lot of the attributes may not be editable (depending on your synchronisation and fields locker settings).
Since variations are synchronized from base language at the moment, that means to edit, you create a translation in the base language and edit there.

Hi Jonathan,
if I edit the original file, then everytime I update it my adjusted code is gone. That's why I tried it the other way.
Could you please specify what the link you gave me is for? Is that a Hyyan WooCommerce Polylang extension/add on or an adjusted version?
By the way: I also realized that I have no possibility to edit the variations in my second language while I have the Hyyan WooCommerce Polylang plugin activated. Is that another bug?
Thanks for your help, really appreciated.
Michaela

if I edit the original file, then everytime I update it my adjusted code is gone
no it won't be gone it will be included in the next release

Could you please specify what the link you gave me is for?
These are branches where we are preparing the next releases

I also realized that I have no possibility to edit the variations in my second language while I have the Hyyan WooCommerce Polylang plugin activated. Is that another bug?
This is kind of the point of the tool, to keep the variations in sync.  You edit in one language, normally the main site language, and the information is updated in all translations.

A lot of the fields can also be unselected for synchronisation in Settings, WooPoly in which case they become editable in the other languages.

@Jon007 , @MU85  Variation Product can not be duplicated in this simple form, commenting this code will make you lose the linked variation products.  This needs a robust solution which is not in my Todo list
for this plugin right now.
@MU85  you do not need to edit Variations, everything is synced, so edit the product in your main language

I retested this successfully in the attributes dev branch which I've now moved to:
https://github.com/hyyan/woo-poly-integration/tree/product-taxnomy-attributes-dev
If it works fine and could save people a LOT of time with manually setting up variations,
let's leave it enabled and I'll fix any specific bug report that arises.


Chacksum for the changeset containing NEXTVAL expression fails on second update (PostgreSQL)

Search first

[X] I searched and no similar issues were found

Description
On PostgreSQL when the changeset contains NEXTVAL construction with a dot like the following
<column name="ID" valueComputed="S_WEB_LOCALE.NEXTVAL"/>
it's applied correctly on updating after dropAll, and fails with checksum error on the second update
Steps To Reproduce

Create a table and sequence on PostgreSQL
Run liquibase update for the changeset like:

<changeSet id="2023-12-18_14:26:23" author="Autor" context="online">         <insert tableName="SOME_TABLE">             <column name="ID" valueComputed="S_SOME_TABLE.NEXTVAL"/>         </insert>         <rollback/>     </changeSet>

Update completes successfully
Run liquibase update the second time (on existing data)
Error with checksum appears

The main cause is that on the first update, liquibase converts S_SOME_TABLE.NEXTVAL to NEXTBAL('S_SOME_TABLE') and calculates checksum from converted value, and on the second update original S_SOME_TABLE.NEXTVAL is taken for checksum check.
Expected/Desired Behavior
Liquibase doesn't fail on the second update.
Liquibase Version
4.25.1
Database Vendor & Version
PostgreSQL 12
Liquibase Integration
maven
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
Windows 10
Additional Context
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR (Thank you!)

Hi @manunin
By chance do you have an Oracle-Postgres compatibility mode turned on?
The first syntax you specified, S_WEB_LOCALE.NEXTVAL, is Oracle syntax, not Postgres.
Using Postgres and running liquibase update-sql with the changeset you provided, I never got the correct syntax - only the Oracle one. If your environment is set up in a way that can convert Oracle syntax into Postgres, that might explain why it's working the first time you run liquibase update.
When re-running liquibase update, Liquibase calculates checksums based on the changesets themselves, and not the generated SQL, which is why there's a checksum mismatch.
To resolve this, modify your changeset to use the correct expression in the valueComputed attribute:
<column name="ID" valueComputed="S_WEB_LOCALE.NEXTVAL"/>
I hope this helps, but let me know if you have any other questions.
Thank you,
Tatiana


Module build failed: Error: unsupported type for static module: UnaryExpression

ERROR in ./~/ipfs-api/~/pump/index.js
Module build failed: Error: unsupported type for static module: UnaryExpression
at expression:

  !fs

Which is caused by...
https://github.com/mafintosh/pump/blob/master/index.js#L12

Full stack. Node v6.3.0

https://gist.github.com/aakilfernandes/4d3c26d41aec0668507498b1600d8020


Query execution result type always resolves to an empty object i.e. "{}"

This library is really awesome and I'm excited to dig into it, but unfortunately I'm having a lot of trouble getting type inference to work correctly. I have a simplified example here of a database interface I'm trying to build:
const database = (kysely: Kysely<{ foo: { id: number }}>) => {
  return {
    foo: {
      example: async () => {
        const res = await kysely.selectFrom("foo").executeTakeFirst();

        if (!res) {
          return null;
        }

        return res.id;
      },
    },
  };
};

However, when I run tsc, I get the following error:
src/db/index.ts:17:20 - error TS2339: Property 'id' does not exist on type '{}'.

17         return res.id;
                      ~~

Found 1 error in src/db/index.ts:17

This seems to be unexpected behavior, and given that it isn't widely reported I assume it has something to do with my configuration. Below are my package.json and tsconfig.json.
{
  "name": "kysely-example",
  "version": "0.1.0",
  "private": true,
  "type": "module",
  "exports": {
    ".": "./src/index.ts"
  },
  "license": "MIT",
  "scripts": {
    "clean": "rm -rf .turbo node_modules",
    "format": "prettier --check . --ignore-path ../../.gitignore",
    "lint": "eslint .",
    "typecheck": "tsc --noEmit"
  },
  "dependencies": {
    "kysely": "^0.27.2",
    "pg": "^8.11.3"
  },
  "devDependencies": {
    "@types/pg": "^8.11.0",
    "eslint": "^8.56.0",
    "prettier": "^3.1.1",
    "typescript": "^5.3.3"
  }
}

{
  "$schema": "https://json.schemastore.org/tsconfig",
  "compilerOptions": {
    "target": "ES2022",
    "lib": ["dom", "dom.iterable", "ES2022"],
    "allowJs": true,
    "skipLibCheck": true,
    "strict": true,
    "noEmit": true,
    "esModuleInterop": true,
    "module": "esnext",
    "moduleResolution": "Bundler",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "moduleDetection": "force",
    "jsx": "preserve",
    "incremental": true,
    "noUncheckedIndexedAccess": true,
    "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"
  },
  "include": ["src", "env.js"],
  "exclude": ["node_modules"]
}

My node version is v21.5.0 and my typescript / tsc version is 5.3.3
Given this is a relatively simple setup, I expect others will be running into this issue soon so hopefully it's a simple misconfiguration.

I've found the issue: the selectFrom method needs an accompanying selectAll() to map to select * from. Closing this!

Hey 👋
I'd advise anyone stumbling upon this issue to go over Getting Started.


Sourcemap/debug breakpoint support

Hi
Is it possible to get sourcemaps/debug breakpoints in VS Code/WebStorm working?
I have tried to get interactive debugging working by adding the devtool: 'cheap-module-source-map' setting, but neither VSCode or WebStorm is able to resolve the files back to the original source code.
It may be complicated by the fact that I am running node-hot-loader via TypeScript, like so:
ts-node node_modules/.bin/node-hot --config webpack.server.ts
Have you been ever able to get interactive debugging working with node-hot-loader, and is it possible to post an example configuration if so?

source-map-support plugin will be installed if you configure devtool in your webpack config, so sourcemaps should work.
Have you try to start server without node-hot-loader? Will your IDE be working correctly?

Also have you enabled sourcemap in tsconfig?

Hi
Thanks for the tips.
I just tried running the compiled Webpack output without node-hot-loader and the sourcemapping/breakpoints work correctly. I do have sourcemap enabled in tsconfig.json.
I am wondering whether the problem is launching node-hot-loader via ts-loader. I prefer to write my Webpack configuration in TypeScript, which is why I have done it this way.
I will try to remove it from the process and see if that fixes it.

Maby it worth to try to launch webpack-dev-server like this and then check debugging?

node-hot-loader works throught webpack so it worth to check raw webpack and debugging in IDE in order to narrow the problem.

OK, so it turned out all I had to do is add --fork to the node-hot-loader flags.
Basically it seems like VSCode was not loading the new sourcemaps that were compiled and generated after the initial load, but when it forks to a new process and it attaches a new debugger to that forked instance, the sourcemaps already exist at that point, so it is able to properly detect them.

Great! I'll add this tip to readme.

Awesome! I also wanted to mention that for the devtool option, I had to use one of the eval sourcemaps to get hot reloading working correctly. Otherwise it would get confused about which of the many .map files that gets generated to use and breakpoints would stop working after the first hot reload. I also tried inline instead of eval but that was unreliable as well.


⚠ Turnos 24x7 has degraded performance

In 5a1e770, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 987 ms

Resolved: Turnos 24x7 performance has improved in 8fd38d4.


README.md: point out OpenEmbedded category on discourse.ros.org

@KristofRobot I will merge this commit without your review; simply because it is just a small textual edit. If you have nevertheless any remarks on the change, just add a comment here in the pull request, even though it has been merged already.


[EPIC] As a Administrator I want to install the PDT so that I can do airgap deployment

Details
User Stories: [ issue numbers]
Notes

Airgap functionality is almost done for K3s deployment but missing piece is the json-ld context-resolution. Approach is to configure an http proxy/cache.


[Feature]: Pass values set in AWS.config.update during client creation

Self-service

[ ] I'd be willing to implement this feature

Input code
import AWS from "aws-sdk";

AWS.config.update({ region: "us-west-2"});
const dynamodbClient = new AWS.DynamoDB();
const s3Client = new AWS.S3();

Expected Output
import { DynamoDB } from "@aws-sdk/client-dynamodb";
import { S3 } from "@aws-sdk/client-s3";

const dynamodbClient = new DynamoDB({ region: "us-west-2" });
const s3Client = new S3({ region: "us-west-2" });

Additional context
Current output:
import { DynamoDB } from "@aws-sdk/client-dynamodb";
import { S3 } from "@aws-sdk/client-s3";

AWS.config.update({ region = "us-west-2"});
const dynamodbClient = new DynamoDB();
const s3Client = new S3();

Version:
aws-sdk-js-codemod: 0.1.3

jscodeshift: 0.13.1
 - babel: 7.17.5
 - babylon: 7.17.3
 - flow: 0.172.0
 - recast: 0.20.5

AWS.Config.update property

PR for tests https://github.com/trivikr/aws-sdk-js-codemod/pull/35

Production code used in supabase
https://github.com/supabase/supabase/blob/c3833c86826459225c69aa331d74b5882eacd151/studio/internals/getSecrets.js#L10-L11

Production code used in handlebars
https://github.com/handlebars-lang/handlebars.js/blob/e6686963ba1140ad6d8d10f7f302d1adf6b8740f/tasks/publish-to-aws.js#L47

Hello, @trivikr,
This is an old issue but do you have a plan to add this feature in the near future? I need to migrate 30+ Lambdas by November however, it will be very tedious job.

Hi @gomaze0906, the fixes are prioritized whenever I can find time from working on other priorities of JS SDK team, or when the work is explicitly prioritized. When working from my time, I take up the easiest fixes like this one https://github.com/awslabs/aws-sdk-js-codemod/pull/574
The config transformation is involved, and will need managing a hash as explained in https://github.com/awslabs/aws-sdk-js-codemod/issues/528#issuecomment-1663047630

I need to migrate 30+ Lambdas by November

Can you run aws-sdk-js-codemod@latest on them now, and create/upvote any bug reports or feature requests?
That would help us understand the pending work which is impacting customer code in production.

Example: https://github.com/awslabs/amazon-timestream-tools/blob/16476ad5b064742c053d62c2dc4b91f3a2646ac8/sample_apps_reinvent2021/js/main.js#L29

This transformation can be added by computing the global config in a data structure in transformer, and passing it during client or config transformations.


Certain DataFrame cannot be pickled to string

import cPickle
import numpy as np
from pandas import Series
s = Series({'a' : None})
s['a'] = np.inf
cPickle.loads(cPickle.dumps(s))
ValueError: could not convert string to float

This is likely fixed by the float -> float64 fix (#510).  I'll verify.

Confirmed.

Chris is getting this error elsewhere.  Do you think there's anything we can do?  This repros in Pandas 0.4.0 as well.

Please let me know when you verify the fix-- should be taken care of by the float/float64 fix perhaps?

OK, I am able to reproduce on win64 + epd 6.3-2

This is caused by a bug in NumPy 1.4.0. I verified that it's fixed in NumPy 1.6.1:
import numpy as np
import cPickle
arr = np.array([np.inf], dtype='O')
cPickle.loads(cPickle.dumps(arr))

However! Pickling with protocol 1 or 2 (or cPickle.HIGHEST_PROTOCOL) works
cPickle.loads(cPickle.dumps(arr, protocol=cPickle.HIGHEST_PROTOCOL))

You should be doing that anyway-- performance is a lot better. Make sure any file handles are open in binary mode.


Add a user-agent on HTTP self-checks

What this PR does / why we need it:
A lot of places (Kubernetes probes specifically) already use the default Go HTTP User Agent.
it would be nice for SREs to be able to more specifically pinpoint cert-manager self checks traffic inside their logs, by filtering the cert-manager user agent.
Release note:

Add cert-manager specific User-Agent to HTTP01 self-checks

/lgtm
/approve

/kind feature

/retest

/test pull-cert-manager-e2e-v1-18
this is very weird... last attempt...

/retest

CI seems to be fairly stable here 👀  https://testgrid.k8s.io/jetstack-cert-manager-master

/retest

/retest

/lgtm
/approve

This seems to be the 1 line fix from hell...
Going to test this further locally
/hold

Okay that was a silly one...
/unhold
@munnerz ready for review again

/lgtm


Command to disable the L2 cache or command to invalidate / flush the cache operation on AMD APUs ?

I would like to know, when a memory is reserved in the GPU RAM, then when GPU tries to modify it, the data will be put into L2 , L1 cache before going to ALU. My question is can I flush the cache before a third party other than GPU tries to access that memory region? Is there an ISA for the same . I am trying to use AMD GPU for some research. Since ROCM is open source I want to make use of it. OpenCL also runs on top of Rocm, so will make use of the same.

Can you put your request into Descriptions,  Your put this in the title.    When you make your request
"Is there a command to disable the L2 cache or command to invalidate/flush the cache operation on AMD APUs. Kaveri APU Sea islands based architecture #71"
Question "Are you doing this on ROCm and what Language"

@gstoner I have updated the description. I am looking into a explicit command which will flush the cache L2 during external device read and invalidate the cache contents during external writes into same memory locations.

Invalidating L2 cache is done using AQL packet commands, using the various hsa_fence_scope_t values in the packet. Refer to the HSA Runtime specification for a description of AQL and controlling memory synchronization.


Added Jenkinsfile

Fixes #[ISSUE NUMBER].
Changes proposed in this pull request:

...
...
...

by [YOUR NAME]

reviewed

closed


Don't Merge! PR real time test for webhook case

Docs Build status updates of commit 5c625c2:
:clock10: Full build: the average full build time is 6 min(s) 3 sec(s), this is based on the last 529 build(s) for this repository.

Docs Build status updates of commit 5c625c2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

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.


Implement a-frame lightmap controls

<a-entity base-data3d="key:/file.buffer.data3d" position="0 0 0" material="color: red" lightmap="center: 0.5; intensity: 1.0;">
</a-entity>

I've been looking at this with Madlaina this morning and figured out, that the lightmap component is basically a dumb data container that then syncs with the other components (3dio-data3d or 3dio-furniture).
This means that it would have to update the other component upon change and does not have any behaviour on its own:
// lightmap component

{
  update: function() {
    if(this.el.components['3dio-data3d']) this.el.components['3dio-data3d'|.update()
    else if(this.el.components['3dio-furniture']) this.el.components['3dio-furniture'|.update()

  }
}

// the other components

{
  update: function() {
    if(this.el.components['data3d-lightmap']) {
      // ... read the attributes & apply to data3d view
    }
  }
}

i think i am misunderstanding something: does it have to be a custom component? i imagined  lightmaps settings code residing inside data3d and furniture components.

is it that a component can have only one html attribute?
if that's the case: should we probably rather nest the lightmap params inside the data3d and furniture params instead of creating a separate component for it?
the separate component approach is design wise a little bit tricky as it is not generic enough (can't be used in compositions with other components in the community -> dependencies management?)

I guess we're all on the same page then that it should not be a custom component.
i think during the design phase, this was an oversight
(also because I myself was not fully aware of the a-frame components structure & implementation design)
we're going for a solution like this now:
 <a-entity io3d-data3d="key:/lighting.gz.data3d.buffer; lightMapIntensity:0.1; lightMapCenter:0.5" position="0 -5 -6" shadow="receive: true"></a-entity>

@Aadjou exactly my leranings as well! :)
i was not aware of the fact that every attribute in a-entity is per definition one component -  @AVGP is that correct?

Yes, that's correct.
Each attribute can contain multiple properties (like the HTML style
attribute does, e. g. style="color:red; font-weight: bold")
On 19 Jul 2017 10:50 am, "Tomas Polach"<EMAIL_ADDRESS>wrote:
@Aadjou https://github.com/aadjou exactly my leranings as well! :)
i was not aware of the fact that every attribute in a-entity is per
definition one component - @AVGP https://github.com/avgp is that correct?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/archilogic-com/3dio-js/issues/13#issuecomment-316317590,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWmRoHzOnFohO7m41ATn7Q1Wt1VUdtNks5sPcNogaJpZM4ObjLd
.

remarks:

0.0 should be treated as 0.0 and not as undefined hence fallback to default
I would rename lightMapCenter to lightMapExposure
lightMapExposure seems to behave different than Exposure settings in the Editor -> way softer

test results from the lightmap controls:

intensity:0, center: 0.5 -> same as intensity 1 center 0.5

intensity:0.01, center: 0.5

intensity:0.5, center: 0.5

intensity:1, center: 0.5

intensity:1.5, center: 0.5

intensity:2, center: 1.0

intensity:1, center: 0.0 -> same as intensity 1 center 0.5

intensity:1, center: 0.01

intensity:1, center: 0.5

intensity:1, center: 1

intensity:1, center: 1.5

editor comparison
editor of course has different lighting but that doesn't explain the difference in strength

intensity:1, exposure: 0

intensity:1, exposure: 0.5

intensity:2, exposure: 0.5

All the code reviews, discussions and refactoring are taking place in the pull request #16
Therefore i'm closing this issue again.
@frederic-schwarz your tests will be taken into account, thanks for the input


[Feature]: Support ORC format

Description
Now Iceberg only supports the PARQUET format, ORC is a very common format.
Hope can support.
Use case/motivation
No response
Describe the solution
No response
Subtasks
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Given that Iceberg already has good support for ORC and AVRO file formats. Arctic may support both formats with a relatively small cost.


Modify Makefile's 'make style' to check entire tree

The makefile targets 'style' and 'stylereport' had only checked
the kivy/ directory.  This allowed style errors to creep into
the examples/ directory.   Now 'style' will check all python
files from the kivy root directory, excluding those
explicitly ignored in kivy/tools/pep8checker/pep8kivy.py.

:+1:


feat(autoware_lidar_centerpoint): added a check to notify if we are dropping pillars

Description
If the input pointcloud generates more pillars than the model that handle, we are currently clipping them.
If that happens, we should notify users so they can consider increasing the model parameters.
Related links
Parent Issue:

Link

How was this PR tested?
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

@knzo25 Would you also update the "How was this PR tested?" section in the description?

@kminoda
Done


Extension not showing

Source information and language
All
Steps to reproduce

Extension is not showing plz fix this
Expected behavior
My extension isn't showing plz help me to fix this problem.
Actual behavior

Aniyomi version
v<IP_ADDRESS>
Android version
Android 9
Other details

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version <IP_ADDRESS>
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Yes bro this is a big issue cz I m not able to use Tachiyomu extensions also

Same bro

This issue has been resolved in the preview version of aniyomi. If the problem still persists, please create a new issue on the repo for the main app.


Make debug keystore part of the project conf

This should be in team-props probably, and it should be git ignored, and then referenced in build.gradle to be used with the debug build. This way we solve the issue with having devs not being able to sign in users via google credentials.

[x] Add steps to setup to README file.
[x] Add debug.keystore to .gitignore.

Part of #344

Done.


(PUP-7042) Mark strings in application

This commit marks user-facing error and info strings in
lib/puppet/application.rb and lib/puppet/application/* for
translation.

CLA signed by all contributors.

Closing and reopening to fix CI.

@Magisus looks like this has conflicts now due to recent changes  - can you rebase?

Done.

Sorry @Magisus - conflicts again :(


Compile error on Android

Hi Guys,
was testing out the super,_clipboard plugin, i ran your example and did all settings, but on android i get this error when compiling
Compiling build_tool v0.1.0 (C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\super_native_extensions-0.1.8+1\cargokit\build_tool)     Finished dev [unoptimized + debuginfo] target(s) in 4.09s      Running C:\Users\Ernesto\Documents\Custom\debug\build_tool.exe Packages\super_native_extensions\super_clipboard\example\build\super_native_extensions/build/rust_tool -- build_androidBuild tool failed: Invalid command: Packages\super_native_extensions\super_clipboard\example\build\super_native_extensions/build/rust_tool error: process didn't exit successfully:C:\Users\Documents\Custom\debug\build_tool.exe Packages\super_native_extensions\super_clipboard\example\build\super_native_extensions/build/rust_tool -- build_android (exit code: 1)
I am not sure what is giving it this error. Can you assist? @knopp

I don't think I've ever tested android build on windows. Cargokit probably needs some work there.

Should be fixed in 0.2.0. Please reopen if the problem persists.

I have the same issue here running on windows. Do you already know how to fix it?

Do you got the error on 0.2.0? Can you post here the log?


WiringTransform Refactor

This refactors the WiringTransform to use InstanceGraph with the use of a new EulerTour class to speed up queries for the least common ancestor (LCA):

All Sinks are connected to their closest Sources as determined by BFS. This removes the need for TopAnnotation.
An EulerTour class is added that enables O(1) LCA queries, or equivalently range minimum queries (RMQ), with O(n) preprocessing. This uses Berkman--Vishkin as described in the simplified version here.
Tests are added for the EulerTour class
Some of the WiringTests are renamed (to better reflect what is going on) and an intentionally failing WiringTest now passes.

This passes all WiringTests and the new EulerTourTests, however, I have not had a chance to test this in a more complex project, e.g., Rocket.
There is a possibly poor design choice in that when determining the mapping of sinks to sources, the necessary metadata for connecting everything up could be determined. However, the LCA approach is much easier to reason about as updates in Wiring can be done in understandable chunks (e.g., wire along the source to LCA path).
The EulerTour makes an annoyingly frequent use of ArrayBuffer for data structures. It's my understanding that this is required to get constant-time lookups and correctly implement Berkman--Vishkin. If there's a better way to do this, let me know and I can update the PR.
This nearly deprecates Lineage (and most everything in WiringUtils) except for the fact that ClockList still uses it.
Fixes #647

@azidar: This should be ready to review.

Note: for my own needs (which can either be included in this or as a separate PR) I need to be able to wire up to existing signals while WiringTransform currently wires an existing source component to new sink ports (that the transform creates) on a specified module. The expected use case is effectively Module -> ExtModule connections (though it'll work just fine for connecting to a sink Module and creating a port for that connection).
Effectively, what should the WiringTransform be able to wire? Two approaches:

Assume some simple primitive for the transform. A possibility within this space is to keep it the way it is. For additional connections, the user is expected to handle these with other passes. As an example, the WiringTransform creates sink ports whose names are recorded and used to generate other annotations that will be wired up by other transforms.
Make WiringTransform capture all cases and wire from any source Named to any sink Named (though erroring if connecting to CircuitName or CircuitTopName). If the source/sink is a ModuleName as opposed to a ComponentName, then it is assumed that the connection is to stop at the port level. The source and the sinks can then be an arbitrary mix of modules or components and WiringTransform does the right thing based on what it's given.

It would seem like the latter approach of generic connectivity is the way to go, but there's also a case for keeping WiringTransform simple and sharp.

Hold off on the review. There's an obvious issue that the tests aren't catching that prevents correct Verilog generation. There's a namespace collision that crops up for bundles in sources that add ports, e.g., similar to this.

@azidar, @jackkoenig: This should now be good to review. Likely low priority as I think I'm the only one that is banging on the Wiring Transform. I'll get an associated sink/source annotator into chisel3 once this is in, assuming it's in.

Thanks for all the feedback, Jack. I'll get these changes in.
In response to your question about the sinks under sources... Nothing precludes this working. I just didn't include the logic for it. There's a special case of needing to check when you see the path to the LCA as being a single module (i.e., you are the LCA). This is already correctly handled for the source being the LCA (https://github.com/seldridge/firrtl/blob/2d7f86f14f7270a43cdeed0dd0c33e1a0d00fc4a/src/main/scala/firrtl/passes/wiring/Wiring.scala#L124), but I didn't get around to doing it for the sink case.
The old WiringTransform did not handled this at all, but that seemed like much more of a quick placeholder for something more robust.
I'm fine on holding off on getting the full version in there. Once this is exposed publicly (arguably via the Chisel3 PR) I can expect people trying all sorts of ridiculous things and this needing to get fixed quickly. I'll make a note of this via a checklist above.

I mainly want source under sink because I badly want that feature! That being said, I'm okay with merging this PR without that feature, but it definitely needs to be supported before any exposed Chisel API uses it.

Alright some updates:

I added both source under sink with a test
I applied @jackkoenig changes, excepting a few things
I modified this to do all the wirings at once
I have a performance kludge that makes the (hopefully) common case of single-sources fast

I did some performance analysis to try and figure out what was going on as this was running for a lot longer than I anticipated (using a higher-level transform that I have that uses the new WiringTransform)... The current problem point is when you need to assign ownership. This requires a BFS seeded with the sources that fans out to find all the sinks. This has to be run for each set of WiringInfo even with processing lumped together. Either I'm doing the BFS inefficiently or there are some improvements that can be made in place...
I opted for one of these improvements where if there is only a single source instance, it short circuits and assigns ownership of all sinks to the single source. There are further optimizations that could potentially be done, but I don't know of a clean way to get around the worst case O(n) for multiple source instances.

@jackkoenig: good to go for another look.
Much less hurriedly than the description above, the performance bottleneck is in determining owners, specifically in the BFS. I've muddled around with that to try and improve it (mostly just by using the correct data structure for the operations at hand). See: this section. However, there is likely a way to further improve this.

Apologies for the delay, thanks for the bugfix! I've slated this for the 1.1 release so I'll re-review and merge soon.


link object: operationId / operationRef descriptions

In the following:

Field Name
Type
Description

operationRef
string
A relative or absolute reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object.

operationId
string
The name of an existing, resolvable OAS operation, as defined with a unique operationId.  This field is mutually exclusive of the operationRef field.  Relative operationRef values MAY be used to locate an existing Operation Object in the OAS.

Should the final sentence be moved / removed / merged in with the description for operationRef, or is it correct to have it against operationdId ?

I think the "relative" sentence should be moved into the operationRef paragraph and the "mutually exclusive" sentence should be duplicated in operationRef but for the opposite case.  I'd do the PR but I don't have time today.

I made a PR for this, #1268 . Note that the "mutually exclusive" sentence was already in operationRef. O also changes "in the OAS" (which was wrong) to "in the OpenAPI definition" (but that language may change if another term is adopted in #1247)


Duplicate dependencies in JSON-LD

Reported by @onursumer via slack

I just noticed that we have duplicate required dependencies listed for Biospecimen (and potentially for others?) We can fix this on our side, but ideally we should also fix the data schema json to clean up duplicate values.

It looks like Preinvasive Morpholgy was included twice in the DependsOn list for the Biospecimen component:

Component, HTAN Biospecimen ID, Source HTAN Biospecimen ID, HTAN Parent ID, Timepoint Label, Collection Days from Index, Adjacent Biospecimen IDs, Biospecimen Type, Acquisition Method Type, Fixative Type, Storage Method, Processing Days from Index, Protocol Link,  Site Data Source, Collection Media, Mounting Medium, Processing Location, Histology Assessment By, Histology Assessment Medium, Preinvasive Morphology, Tumor Infiltrating Lymphocytes, Degree of Dysplasia, Dysplasia Fraction, Number Proliferating Cells, Percent Eosinophil Infiltration, Percent Granulocyte Infiltration, Percent Inflam Infiltration, Percent Lymphocyte Infiltration, Percent Monocyte Infiltration, Percent Necrosis, Percent Neutrophil Infiltration, Percent Normal Cells, Percent Stromal Cells, Percent Tumor Cells, Percent Tumor Nuclei, Fiducial Marker, Slicing Method, Preinvasive Morphology,  Lysis Buffer, Method of Nucleic Acid Isolation

Will open a PR to remove.
@elv-sb we should also think with FAIR about a 'data model audit` or similar script to warn or pick up on these issues in data models.


Adding node-fetch target

@hirenoble is the original author (#154).
I've just resolve conflicts and fix tests that were failing.
@develohpanda noticed that JSON body should be stringified (https://github.com/node-fetch/node-fetch#post-with-json)
And looking at fetch options (https://github.com/node-fetch/node-fetch#fetch-options) I noticed that json attribute does not exist, so I've removed it.
Closes #152

@jgiovaresco Thanks a lot for taking care of that! I wasn't noticing any activity on this thread.


ads: fix reconnection of envoy

Our ADS implementation had some hardcoded push update code upon
stream.go start that was meant to handle reconnections and ensure
a new version was always pushed for an envoy upon reconnecting.
This code suffered from several problems, among them was causing unnecessary
versioning to happen before envoy went through init stage, which caused delays
and mishandling of versions as the initial version pushed by control plane
would be ignored in all cases for new envoys.
Code now handles reconnection gracefully following protocol. A connecting envoy
that comes from some other control plane will have a version and nonce applied to it.
We can detect that situation on the control plane by checking if we ever issued
a nonce for that proxy and TypeURL. When we have no lastNonceSent registered and
the request comes with a non-empty one, we will:

update lastVersionSent and lastVersionApplied to the request's version, say X.
trigger an update for this TypeURL, which will generate X+1 for this Typeurl, and
ensure the proxy has the latest config generated for this new control plane.

Signed-off-by: Eduard Serra<EMAIL_ADDRESS>Affected area:

Control Plane          [x]

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
No

Example on e2e restart:
Proxy connecting that had already an applied version and a nonce from some other control plane (that died, restarted or disconnected):
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: Request type.googleapis.com/envoy.config.cluster.v3.Cluster [nonce=1619632630691988131; version=2; resources=[]] last sent [nonce=; version=0]"}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: Request type envoy.config.cluster.v3.Cluster nonce<PHONE_NUMBER>691988131 for a proxy we didn't yet issue a nonce for. Updating version to 2."}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: Request type.googleapis.com/envoy.config.listener.v3.Listener [nonce=1619632630693041937; version=2; resources=[]] last sent [nonce=; version=0]"}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: Request type envoy.config.listener.v3.Listener nonce<PHONE_NUMBER>693041937 for a proxy we didn't yet issue a nonce for. Updating version to 2."}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: Request type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment [nonce=1619632630903700325; version=2; resources=[server/server]] last sent [nonce=; version=0]"}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: Request type envoy.config.endpoint.v3.ClusterLoadAssignment nonce<PHONE_NUMBER>903700325 for a proxy we didn't yet issue a nonce for. Updating version to 2."}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: Request type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.Secret [nonce=1619632630904534429; version=3; resources=[root-cert-for-mtls-outbound:server/server service-cert:client/client]] last sent [nonce=; version=0]"}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: Request type envoy.extensions.transport_sockets.tls.v3.Secret nonce<PHONE_NUMBER>904534429 for a proxy we didn't yet issue a nonce for. Updating version to 3."}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: Request type.googleapis.com/envoy.config.route.v3.RouteConfiguration [nonce=1619632630905008232; version=2; resources=[rds-outbound]] last sent [nonce=; version=0]"}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: Request type envoy.config.route.v3.RouteConfiguration nonce<PHONE_NUMBER>905008232 for a proxy we didn't yet issue a nonce for. Updating version to 2."}

This situation is detected, for each type the control plane will update to the version the proxy is using (say X) and then generate version X+1
Below, ACK for all X+1 versions after the proxy connects.
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: Request type.googleapis.com/envoy.config.cluster.v3.Cluster [nonce=1619632651917513564; version=3; resources=[]] last sent [nonce=1619632651917513564; version=3]"}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: ACK received for envoy.config.cluster.v3.Cluster, version: 3 nonce:<PHONE_NUMBER>917513564 resources ACKd: Set{}"}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: Request type.googleapis.com/envoy.config.listener.v3.Listener [nonce=1619632651922029890; version=3; resources=[]] last sent [nonce=1619632651922029890; version=3]"}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: ACK received for envoy.config.listener.v3.Listener, version: 3 nonce:<PHONE_NUMBER>922029890 resources ACKd: Set{}"}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: Request type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment [nonce=1619632651922800394; version=3; resources=[server/server]] last sent [nonce=1619632651922800394; version=3]"}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: ACK received for envoy.config.endpoint.v3.ClusterLoadAssignment, version: 3 nonce:<PHONE_NUMBER>922800394 resources ACKd: Set{server/server}"}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: Request type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.Secret [nonce=1619632652229842832; version=4; resources=[root-cert-for-mtls-outbound:server/server service-cert:client/client]] last sent [nonce=1619632652229842832; version=4]"}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: ACK received for envoy.extensions.transport_sockets.tls.v3.Secret, version: 4 nonce:<PHONE_NUMBER>229842832 resources ACKd: Set{root-cert-for-mtls-outbound:server/server, service-cert:client/client}"}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: Request type.googleapis.com/envoy.config.route.v3.RouteConfiguration [nonce=1619632652230852138; version=3; resources=[rds-outbound]] last sent [nonce=1619632652230852138; version=3]"}
PodUID=32363a85-779c-4e8f-be39-e5b633ead048: ACK received for envoy.config.route.v3.RouteConfiguration, version: 3 nonce:<PHONE_NUMBER>230852138 resources ACKd: Set{rds-outbound}"}

Codecov Report

Merging #3252 (8d1e187) into main (bc97811) will decrease coverage by 0.14%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #3252      +/-   ##
==========================================
- Coverage   65.90%   65.76%   -0.15%
==========================================
  Files         164      165       +1
  Lines        7621     7689      +68
==========================================
+ Hits         5023     5057      +34
- Misses       2570     2604      +34
  Partials       28       28

Flag
Coverage Δ

unittests
65.76% <0.00%> (-0.15%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/envoy/ads/stream.go
5.51% <0.00%> (-0.38%)
:arrow_down:

cmd/init-osm-controller/init-osm-controller.go
55.00% <0.00%> (ø)

pkg/endpoint/providers/kube/client.go
79.20% <0.00%> (+0.99%)
:arrow_up:

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 bc97811...8d1e187. Read the comment docs.


Shuttle votes should not show vote counts.

 Not showing vote numbers would be useful for that and #357.
Map votes should also not show player counts.

This is going to require an upstream PR. I will probably get around to it at some point.

added in https://github.com/cosmatic-drift-14/cosmatic-drift/pull/431


FractionalOffset RTL

This is the first step of many down the path to RTL in the framework.
@abarth, for your critique. This is what I described the other day. Next step is to make use of it to see if it makes sense. I may apply this to EdgeInsets then try to use that one first, actually. Turns out FractionalOffset is a bit of a special snowflake in terms of how we use it.

The way I would approach this problem is to do a relatively complete sketch on a branch and then use that to inform the actual patches that land on master.  For example, what you've got here is very horizontally biased.  Maybe that's the right thing, but maybe the right thing is to adhere to the maxim that "whenever there's a horizontal use case, there's also a vertical use case."
My guess is that will be easier to see once you do things like Flex, Wrap, scrolling, and grid.  For example, for Flex, I'm pretty sure it's going to be easier to support a bottom-to-top layout mode along with a right-to-level layout mode.  If that's the case, we might want to invent an enum that's similar to TextDirection but agnostic as to axis.  If we do that, we'll probably want to be able to resolve these directional offsets using that enum, etc.
I guess what I'm saying is that this patch looks fine as far into the future as I can see, but we might want to go further into the future to see what we want.

Yup, that's my plan.
For Flex in particular, see https://github.com/flutter/flutter/issues/5089.
Current thoughts on RTL are scattered across many bugs. See https://github.com/flutter/flutter/projects/17.

Going to close this for now.


How do you change the password of a generated private key?

Question
cosign generate-key-pair was certainly easy enough to run.  But it's not clear to me how to re-encrypt the private key with a different password.   This is a pretty obvious requirement but after some Googling and scanning TFM I couldn't find any mention of it, so, embarrassingly, I feel like I must be missing something rather basic.  Cluebatting most appreciated.

We don't have support for that, though it should be straightforward to implement it.

Hey @haydentherapper, I would like to work on it.
I understand that we need to update the private key's password. So, to implement  that:

It requires a key path
and flag, update-password

So, the whole command would be like:
cosign generate-key-pair --key cosign.key --update-password=true`

So, the above command does the following procedure:

First, read the file of the key,  then decode the pem format
Secondly, Decrypt the ciphertext using the old password.
Then, we can Encrypt it again, with a new password provided by the user.

My only concern is that generate-key-pair meaningfully doesn't seem to fit here, because we are updating the key passwords not generating keys.
The command would be more meaningful if it were something like:
cosign generate-key-pair -->  to generate key pair
cosign update-key-pair  --key cosign.key  --> to update the password of the private key.

A dedicated command like update-key-pair sounds good.


Rewards Not Zero after Done

Hello,
I have extended the PyTorch example with an Augmented Random Search implementation:
https://github.com/kayuksel/braxars/blob/main/braxars_multi.py
However, what I have noticed that the reward of a batch-member is not zero after being done.
What are the values that are returned for "done" members? Should I treat their reward as zero?
I am now resetting the environment when that happens, I couldn't find how to reset done-members.
Another question I have is on the rendering. Are we able to render while using a notebook only?
Is it possible to render a selected (e.g. best-performing) batch member or all in the same render?

done[env_idx] of next episode should be False.

No!

Are you saying that you get done[env_idx]==True multiple steps in a row for the same env_idx?
@lebrice Yes.

Are you saying that you get done[env_idx]==True multiple steps in a row for the same env_idx?

@lebrice Yes.

We have some new reset logic plumbing that should resolve this issue in the next couple of days.  Originally, we found that we didn't really need to reset during rollouts--we'd just run a rollout for a fixed episode length and then mask out frames after the point at which a done was triggered.  Admittedly, this is not what folks are used to, so we'll introduce a wrapper that does that actual resetting logic as you'd usually expect.

OK!  This should be addressed.  Envs by default now reset after done=True.  You can still get the old behavior if you wish to control auto-resetting yourself, by calling envs.create(..., auto_reset=False)


Unable to connect to mysql

Hello Iridakos,
Thanks for your post on dockerising rails application.
I followed steps in that post but I am using MySql DB and its giving following error
bin/rails: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") (Mysql2::Error)
I googled to fix it but nothing worked for me.
My docker command is:
docker run --net=my_isolated_bridge_network --name demo-web --link mysql01
-e DATABASE_HOST=localhost
-e DATABASE_PORT=33060
-e DATABASE_USERNAME=root
-e DATABASE_PASSWORD='YN0N!omijwUpuMytDyPARK0hAz5'
-e DATABASE_SOCKET=/var/run/mysqld/mysqld.sock
-e REDIS_URL=redis://<IP_ADDRESS>:6380/1
-p 3000:3000
demo
I tried to use --link option to communicate two container and also putted in same network also. Yes we can do it using docker-compose but is it possible without using docker-compose.
Please help. Thanks in advance.

Hi @swzensar8 and sorry for the delayed response. Do you still have the issue?


Small refactoring

Updated several Strings to f-String for consistency.

Hi Robert, cool thanks for checking speechcatcher out! There is a reason these use %s instead of format strings, it's for sql injection security. See https://stackoverflow.com/questions/45128902/psycopg2-and-sql-injection-security .


Navigating outside of the nav graph and coming back breaks all but the root navController

We are attempting to migrate our app one module at a time to Compose Navigation using your library.
We use a view model pattern and inject using Koin.
sometimes one module needs to access a page in another module, like going from the messages page to a user profile. Now Imagine if the user profile page in this case has not been migrated to compose navigation yet, and thus we use our classic fragment based navigator to navigate to that fragment.
If we perform this navigation, then come back, any subsequent navigations using navController/destinations (unless its done  at the root of nav graph*) Navigator crashes with the error
java.lang.IllegalStateException: no event down from INITIALIZED                                                                                at androidx.lifecycle.LifecycleRegistry.backwardPass(LifecycleRegistry.java:281)                                                                                at androidx.lifecycle.LifecycleRegistry.sync(LifecycleRegistry.java:302)                                                                                at androidx.lifecycle.LifecycleRegistry.moveToState(LifecycleRegistry.java:148)                                                                                at androidx.lifecycle.LifecycleRegistry.setCurrentState(LifecycleRegistry.java:121)                                                                                at androidx.navigation.NavBackStackEntry.updateState(NavBackStackEntry.kt:173)                                                                                at androidx.navigation.NavBackStackEntry.setMaxLifecycle(NavBackStackEntry.kt:150)                                                                                at androidx.navigation.NavController.updateBackStackLifecycle$navigation_runtime_release(NavController.kt:987)                                                                                at androidx.navigation.NavController.dispatchOnDestinationChanged(NavController.kt:892)                                                                                at androidx.navigation.NavController.navigate(NavController.kt:1726)
* The weird thing is the navController at the root of the nav graph works fine, its only the navControllers that have been passed to the view models of the pages nested within the root that crash.
Now keep in mind we pass the nav controllers to the view model via koin as such:
getStateViewModel(parameters = { parametersOf(destinationsNavigator) })
I dont know if it's koin that's fudging up the navController, or if it's something within your library that blows up when we navigate outside of the NavGraph.
I'm able to do a work around by creating a flows that send an event back to the root of the graph and do the navigation there, but its very boiler-platy, and it would really be nice if I could just pass the destinationsNavigator to my viewModels and have them navigate directly. Thanks in advance.

Hi @SiavashB !
I cannot deduce what exactly is going on, but I can tell you that you shouldn't be passing Navigators to ViewModel.
Either NavController or DestinationsNavigator (since it holds the NavController internally).
When activity gets recreated, a new NavController will be created and so using the old one will for sure lead to problems (as well as leaking the previous Activity I'm guessing).
Navigation shouldn't come from the ViewModel because only the UI knows about the UI. "Showing the next screen" can mean normal navigation or it can mean showing the detail part of a "two-pane" screen if the app is running on a tablet for example. This is valid for official compose navigation as well, there is nothing here particular to this library.
If you really must navigate from ViewModel, you need to come up with something like a global object with flow of navigation actions which then get consumed at the "NavHost call" level (as you said).

Let me know below if this was helpful! 🙂

Yes it was thank you. Yeah the problem was doing navigation from view model. The reason we needed to do this was because in some cases we needed to check certain conditions before navigation away from the page (like saving draft before leaving a page where user writes a message) and generally try to not have logic in our Ui files.
But I created a SharedFlow to send navigation events back to the Ui.
Thank you

@raamcosta Do you believe it is possible to include in the doc that we shouldn't pass Navigators to ViewModel?
Our team had a discussion initially to avoid passing Navigators to ViewModels, but since we didn't find a strong argument to avoid it, we added it anyway.
Today, I headed this issue to solve some crashes 😄
I believe if we have this in your doc, it will prevent other users from making the same mistake =]


DEPRECATION WARNING: alias_method_chain is deprecated

Get this warning with Rails 5
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super.

The method is called here: https://github.com/akalyaev/valle/blob/8db3a7fc27df0b7187b56976884cf7bc784deeb1/lib/valle/hooks.rb#L27

How can I reproduce it? What Ruby version are you using?

Fixed


build(snap): Upgrade install/configure hooks to use snap hook 2.4.1

Use library function for autostart processing and config processing
Replace deprecated hooks package with env package

Signed-off-by: Mengyi Wang<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:

[x] 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)
[x] I have added unit tests for the new feature or bug fix (if not, why?)
[ ] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

New Dependency Instructions (If applicable)

Codecov Report

Merging #410 (aeeb28e) into main (45e704b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #410   +/-   ##
=======================================
  Coverage   21.34%   21.34%
=======================================
  Files           5        5
  Lines         492      492
=======================================
  Hits          105      105
  Misses        374      374
  Partials       13       13

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@farshidtz could you please review it?


prefix command never responds when arguments are missing

When prefix command is ran without any arguments, the bot never sends the message "please provide a prefix" to the channel. However, it does log that the arguments are missing in the console. The bot has sufficient permissions to send messages... I have tried this with latest Discordeno version (raw GitHub, nest.land@latest, and the current version)

Should be resolved. ( #62 PR)


Utility link enhancements

The utility links block would benefit from:

Being able to show a checkout link
Being able to show the cart total value
Perhaps hiding if empty

I certainly like the first two.

With the last one, even if it was just something that added a class to the cart, just so it could be hidden with styles.  (those don't need to be an option then, just something like 'cartempty' when applicable')


Included base16 theme for airline

Added base 16 theme generated for vim-airline using base16-builder

wow!  that's a lot of themes.  thanks for the hard work here.
a lot of this can be streamlined into a single file.  whenever a theme is loaded, g:colors_name will be set to the name of the colorscheme.  and since base16 is derived from the base template, you can use the same thing in airline.
something like this:
let s:base16_palette = {}
if g:colors_name == 'base16-apathy'
  " populate s:base16_palette
elseif g:colors_name == 'base16-ashes'
  " populate etc.
endif

" and then from here just the usual airline theme code

This is nothing compared to your contribution. Thank you for vim-airline. Its fast, lightweight and just what I need.
I am just trying to bring the base16 color themes consistently across the terminal and the GUI. I require a little more information. Do excuse me if my questions are silly.

I was under the impression that the color names available to change the theme was based on the files in the autoload/airline/themes folder. If I were to consolidate the template into a single file, how would I expose the individual themes?
Am I right is assuming that filenames must match the name given in the variable "g:airline#themes#base16_bright#palette"?
When I check-in the travis build fails. None of the errors seem to directly indicate the theme itself. How can I get it working correctly?

i'm still torn on this.  with that many files it's almost big enough to be its own repository.  with a single file, the assumption is that the base16 airline theme will pick the corresponding theme to match the actual colorscheme.  e.g., if base16-apathy is selected, airline's theme will pick the same one.  it keeps it to a single file in airline, but the downside is that you wouldn't be able to mix an airline base16-tomorrow theme with a vim base16-ashes theme, for example.
yes, functions must match the name.
it's failing because you have some files where the function names do not match the filename.

It looks like you want Bailey to pull ~2700 lines of code into a project which has a base plugin (vim-airline.vim) of only 115 lines.
Base-16-builder is on Github. In the hopes of keeping vim-airline lightweight, does anything to prevent vim-airline users from generating their own custom themes and adding to vim-airline one-at-a time?
https://github.com/chriskempson/base16-builder

imported into vim-airline-themes. I needed to fix some variable names and also to regenerate the cterm colors, since they were the same for all base16 themes. Please check and create PR to fix any remaining issues. Thanks!


Random noun function

Set up random nouns using 0% skill and 100% copy and paste. @jonas747, thanks for pointing out the exact files I needed to reference in https://github.com/jonas747/yagpdb/issues/521.
Currently there's only about 100 nouns, but this can be expanded over time.

In the future please make pr's against the "dev" branch. But it seems fine so ill merge it.
noice


Getting Error "U16: Risk Threshold Exceeded" in BHIM, Google Pay & Amazon Pay

Getting U16 error in BHIM, Google Pay & Amazon Pay. Although payment was successfully transferred in Phonepe.
UpiTransactionResponse txnResponse = await UpiPay.initiateTransaction(
amount: "10.00",
app: UpiApplication.bhim,
receiverName: "Birendra Singh",
receiverUpiAddress: "xxxxxxx@upi",
transactionRef: 'ORD4',
transactionNote: 'Test transaction'
);

Duplicate of #18

Hi, I am new to flutter but have a good understanding of programming. I was working with embedded c developments before. If you provide me some sort of documentation for this, I would like to contribute to this issue.

Have you verified that your issue is not related to any of these:
https://www.quora.com/How-can-I-resolve-the-issue-of-risk-threshold-exceeded-from-the-BHIM-app-I-am-not-able-to-do-any-transactions
And this excerpt from https://www.npci.org.in/what-we-do/bhim/faq:
"Why Do I See ‘Risk Threshold Exceeded’?
A user on BHIM can make only 10 financial transactions per day and the total of these transactions cannot exceed Rs. 40,000.
Once you’ve exceeded your daily transaction limit, you’ll receive the ‘Risk threshold exceeded’ notification."

@reeteshranjan Yes, I verified it was not because of the transaction limit and also tested the same with first transaction of the day; Although payment was successful through Phonepe app but failed in BHIM, Google Pay & Amazon Pay;

I also noticed editing the amount at the time of payment also does not work. So why don't you break this problem into pieces and try?

Like invoke GooglePay using intent and then add payment amount and then try. If that works we can figure a way out.
If that also doesn't work don't pass anything just open google pay from the app and try.

Please let me know what is the workaround, I am also facing the same issue.

Please let us know the plan, I need to fix this issue on urgent basis... if there is no plan to fix, Please highlight so that I can explore other options. Thanks.

This is not an issue that can be fully resolved from our end i.e. not something a plugin can handle.
Feel free to look for alternative.

can you suggest any workaround that will help us to fix this?

If you are using this for P2M kind of payment, make sure to pass the correct merchantCode (mcc). For P2P payments, we are already doing what we can and any failure means you will need to actively avoid that app for now.

There is no workaround that can be done from a plugin point of view as of now. I am keeping this issue open so that we don't have duplicate issues opened for the same.
But, we won't be replying to any more comments on status update as there is nothing to update here.
Feel free to add on if you have any findings. But as of now this thread is in "READ-ONLY" mode.

Addressed in #17. Any further issue on the same ground should be raised separately.

@jatinyadav25 @mangeshsvk @manojsinghal2003 wanted to add my update as contributor for recent update that includes multiple apps. And add some more data on why this bug is OK to close here.
Based on testing it's very clearly understood that these errors have nothing to do with this package's logic/code. Please see the following:

It's seen that when these apps give this error, other working apps payments go through within next 5 minutes, without any bank account specific issue. So the errors reported by these apps do not reflect a real bank account related issue; but it's got to do something with the protocol between the UPI payment app and the banks.

The package only provides form-filling data which is seen to be clearly filled in the UPI payment app. The security error reported seems to be due to using non-merchant payments. I am very close to verifying this theory with already some testing done that clearly shows that.

However; if you think that the package must support merchant payments, too, before closing this bug, please feel free to do so.

@jatinyadav25 @mangeshsvk @manojsinghal2003 please follow #38

Is https://github.com/drenther/upi_pay/issues/38 relevant and important for you?
If yes, could you please respond to my twitter thread with UPI and NPCI handles included in your response asking how these must be solved and how it helps you? https://twitter.com/reeteshr08/status/1488746633068089345
@jatinyadav25 @manojsinghal2003 @mangeshsvk


Option for supplied JSON values to be resolved for JSON References

Would be nice to have an option for JSON values (as opposed to just schemas) to have their $ref JSON references resolved.

Actually, I have since realized that this may in fact be a legitimate issue after all (if you are open to it).
If a person is editing a file with such references, JSONEditor could track the source file(s) where edits were made and allow for getValue() or the like to retrieve the resolved or unresolved parent file, as well as the children.
So to take my earlier example:
module2.json:
{"module2": {"prop": 456}}

And then in the main code:
var editor = new JSONEditor(element, {
    resolve_jsonref: true,
    duplicate_refs: "live_update",
    startval: {"module1": {"prop": 123}, "$ref": "module2.json"},
});

var m1 = editor.getEditor('root.module1.prop');
var m2 = editor.getEditor('root.module2.prop');
m1.setValue(111);
m2.setValue(222);

editor.getReferencedValue(); // {"module1": {"prop": 111}, "$ref": "module2.json"}
editor.getDereferencedValue(); // {"module1": {"prop": 111}, "module2": {"prop": 222}}

editor.getReferencedChildValue('root.$ref'); // {"module2": {"prop": 222}}
editor.getDereferencedChildValue('root.$ref'); // {"module2": {"prop": 222}} (no references in module2, so the same as the preceding)

editor.getAllChildReferences(); // [{fileReference: "module2.json", data: {"module2": {"prop": 222}}}]

getAllChildReferences() could be iterated to save back changes to child files, while getReferencedValue could be used to save back changes to the parent file.
The duplicate_refs property provided to the editor would be used to define the behavior when references to the same module occurred in different places. Different options could allow either throwing an error upon encountering any duplicate references (to avoid conflicts if the user tries to edit two instances of the same module in different ways) or an option to ensure that changes to one instance of the file are reflected in other instances.
This could really be of great service in creating large modular content and might also optionally be leveraged by the editor to let the developer rely solely on lazy loading editor controls as needed.

In other words, dereferencing the references before supplying to JSONEditor would not let a person track the different segments unless they did a lot of tracking on their own (not to mention not being able to readily track references dynamically added by the user nor have the editor benefit from awareness of references such as live-updating and lazy loading).


API key invalid

The WP plugin reports Email address or API key invalid, for multiple sites and accounts and servers (to rule out all variables) - did something change with the API now that dash.cloudflare.com is in place?
I enabled debugging and see this.
[12-Jun-2018 17:38:18 UTC] [Cloudflare] ERROR: [CLIENT API] Array
(
    [type] => request
    [path] => https://api.cloudflare.com/client/v4/user/
    [timeout] => 30
    [method] => GET
    [headers] => Array
        (
            [X-Auth-Key] => GLOBAL API KEY
            [X-Auth-Email] => VALID EMAIL
            [Content-Type] => application/json
        )

)

[12-Jun-2018 17:38:18 UTC] [Cloudflare] ERROR: [CLIENT API] Array
(
    [type] => response
    [reason] => Forbidden
    [code] => 403
)

[12-Jun-2018 17:38:18 UTC] [Cloudflare] ERROR: Forbidden
[12-Jun-2018 17:38:18 UTC] [Cloudflare] ERROR: Email address or API key invalid.

I have the same problem.

After deactivating another couple plugins and reactivating CF first it started working. Don’t have any information how to reproduce or any specifics, I wasn’t doing it in a controlled manner. I just tried it again and it worked. Which is good for my client, but not useful here.

Just test the plugin in a clean installation with the latest version of WP, and everything worked OK.

I am getting [Email address or API key invalid.] as well. I tried changing my API key and a fresh plugin install and deactivated all plugins

Hi @mike503 and @mufatcha,
Could you please provide additional info to help me reproduce this issue?
What type of Cloudflare account do you have (free, pro, enterprise?)
When did you encounter this error? What action were you attempting?
Your Wordpress and PHP versions as well.
I see the example you posted occurred when requesting the user endpoint - is there any other way to reliably trigger this error?
Thanks!

I have no idea what this is pertaining to.
On Mon, Mar 25, 2019 at 5:11 PM Zack Proser<EMAIL_ADDRESS>wrote:

Hi @mike503 https://github.com/mike503 and @mufatcha
https://github.com/mufatcha,
Could you please provide additional info to help me reproduce this issue?
What type of Cloudflare account do you have (free, pro, enterprise?)
When did you encounter this error? What action were you attempting?
Your Wordpress and PHP versions as well.
I see the example you posted occurred when requesting the user endpoint -
is there any other way to reliably trigger this error?
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cloudflare/Cloudflare-WordPress/issues/219#issuecomment-476397361,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH1-hIHyXa3zaeV7vsSkMsZuiDWX9pRKks5vaUmTgaJpZM4Uk3To
.

Please reopen a new issue if this occurs again, and include detailed repro steps. Thanks!

same problem.
anybody can help?

disable all other plugin
then working correctly :)


[FLINK-16504][dynamodb connector] DynamoDB batch connector

What is the purpose of the change
This pull requests adds a new DynamoDB connector (sink) that can write to DynamoDB in batch mode. There is a plan to add non-batch mode later (to support update operations).
Brief change log
A new module - flink-connectors --> flink-connector-dynamodb and end to end tests module. Connector only supports batch mode at the moment.
Verifying this change
This change added tests and verified as follows:

End to end tests against DynamoDB (local container)
Unit and integration tests
Manually verified the change by running:
--  reading from s3 and writing to DynamoDB with low capacity (back pressure check),
--  reading from s3 and writing to DynamoDB when DynamoDB throttles and scales (backoff strategy check)
--  long running job for 4 hours (to check if it is stable)
--  writing a 4GB dataset and verifying no messages lost (by checking number of records in DynamoDB)

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no (only new classes annotated with @Public)
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? JavaDocs, no other documentation yet

Replaced by https://github.com/apache/flink/pull/18518


Setup a Map summarizing all results from a particular category

The assumption being all the projects in the category are created using the geotagx_project_template

Has a dependency on https://github.com/geotagx/geotagx-theme/issues/62

@spMohanty should this be linked with HDX (#70)?

Deadline for the complete map : 20th August

@spMohanty calculate centroid of all polygons for each photo and add to GeoJSON, display only centroid but when users hovers (or clicks) or centroid it displays all polygons for that photo. Will need to be made seperate to HDX map, unless HDX allows this customisation

@spMohanty add basic drupal like filters for data

add filter to yemen project to filter for damage. or add filters for each question in a project if thats easier

highlight position marker and make polyogns stay until another marker is hovered over

@spMohanty could you please add the image source to the summary display in the map? and could you make the image smaller in the display? right now it is huge and takes up a lot of the screen (and i have a big screen), so smaller photos are not clear

@elliec : Added the max-width for the images in the summary. And also the source. Though, I have added the image_url(the actual link to the image) as the source instead of the image_source(the website where this image was found), as collecting the image_source at this end will be a computationally expensive operation for us when rendering the images. But if you think, we will definitely have to add the image_source, do let me know, and I ll replace the image_url with the image_source.

@spMohanty I think we will need the source but let me try it for a bit and see if i need it. I will let you know. Right now its broken though, the points arnt showing up (see email)

@elliec : Fixed the bug. and made it more tolerant to garbage coordinates. Let me know if this happens again, I ll also add some feedback messages for the user.

@spMohanty thanks looks heaps better. For now the image url is ok. I think i wanted it really to see where the photo was coming from, and you can get that from the source. I will let you know if i find the image source is necessary.
We should probably add an explanation somewhere of what the points and polygons are, maybe just a link to the results page i was working on..

@elliec : Yeah sure !! If you have some text that you would want me to put somewhere on the page, let me know. I ll update it.

k, ill send you the text when its done, thanks!

@spMohanty could you add a link to the data explanation from the maps page? then we can close this
Thanks!


WIP: Issue #90:  Bundle uPortal-home with uPortal-start

Work in progress.
Checklist

[x] the individual contributor license agreement is signed
[x] commit message follows commit guidelines
[ ] tests are included
[ ] documentation is changed or added
[ ] message properties have been updated with new phrases
[ ] view conforms with WCAG 2.0 AA

Is there a version in maven central for uPortal-home?

Two actually:
The Java+JavaScript official release: https://search.maven.org/#search|ga|1|a%3A"uportal-home"
And the WIP JavaScript only unofficial release: https://search.maven.org/#search|ga|1|a%3A"uportal__home"

Looks like the AppVeyor build failure is [ant:java] ERROR [51:36.999] Failed: importing file [C:\projects\uportal-start\data\quickstart\portlet-definition\about-college-life.portlet-definition.xml]
Import/Export generally and that entity file specifically aren't touched by this changeset, so likely a failure not-related-to-this-changeset.

@apetro I believe that will be patched when https://github.com/Jasig/uPortal/pull/1066 is releases as part of version 5.0.3

Oh this is a bummer...
FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':overlays:KeyValueStore:runtimeClasspath'.
> Could not find edu.wisc.my:key-value-store:3.0.0.
  Searched in the following locations:
      file:/home/drew/.m2/repository/edu/wisc/my/key-value-store/3.0.0/key-value-store-3.0.0.pom
      file:/home/drew/.m2/repository/edu/wisc/my/key-value-store/3.0.0/key-value-store-3.0.0.war
      https://repo.maven.apache.org/maven2/edu/wisc/my/key-value-store/3.0.0/key-value-store-3.0.0.pom
      https://repo.maven.apache.org/maven2/edu/wisc/my/key-value-store/3.0.0/key-value-store-3.0.0.war
  Required by:
      project :overlays:KeyValueStore

@apetro @vertein -- how can we get a release of key-value-store in Maven Central?

@apetro @vertein -- how can we get a release of key-value-store in Maven Central?

related to https://github.com/UW-Madison-DoIT/KeyValueStore/issues/26

Key Value Store 3.1.1 is now in Maven Central
<groupId>edu.wisc.my.apps</groupId>
<artifactId>key-value-store</artifactId>

@vertein -- will 3.1.1 work?  (@apetro advised me to use 3.0.0.)

@drewwills -- we aren't using version 3.1.1, but it should still work.  Only new features added, no breaking changes from 3.0.0.

@apetro @vertein...

@apetro...

WRT "Add /marketplace/entry/{fname}.json to get JSON for a single Marketplace entry" -- this one seems to be present in vanilla uPortal.

Yes, some API customizations to support uPortal-home have been migrated

Okay, as of this moment (5:30 Friday, MDT), if you...

Use this branch
Run $ ./gradlew install on uPortal master to put a copy of uPortal 3.1.0-SNAPSHOT in your local Maven repo
Configure uPortal-home.enabled=true in global.properties
Run $ ./gradlew portalInit tomcatStart in uPortal-start

You will see...

Most everything seems to "work" in a basic sense;  support for widgets is missing.  (Widget support is pending metadata being converted to publishing parameters.)

@davidmsibley @apetro @vertein How is WCAG AA progressing?

MyUW's current roadmap anticipates achieving WCAG A (not AA) before October 2018 and then AA before January 2019.

@apetro what's the status of this PR and the progress toward WCAG AA?

@apetro is this PR still something UW is actively working towards?

@apetro @nogalpaulina has WCAG 2.0 AA accessibility on uP-home progressed?
Is there still interest in moving this forward and getting uP-home compatible with uP-start?
There is some renewed community interest in this https://github.com/Jasig/uPortal-start/issues/90#issuecomment-713139964

First of all, I'm pretty new to uPortal-start / Uportal-home and I'm not a java/maven/gradle/... specialist, so do not assume I can read between the lines when it comes to configuration tasks..
I tried to follow all configuration steps decribed above and found the following issues
1 - Issue #90: Point the 'Log In' button on uPortal-home to '/cas/login?service=http://localhost:8080/uPortal/Login' (hard-coded, but better than pointing to 'my.wisc.edu')
The path to overlays/web/src/main/webapp/js/override.js should be overlays/web/web/src/main/webapp/js/override.js
2 - Issue #90: Add rendering pipeline configs for uPortal-home
I first tried to manually copy overlays/uPortal/src/main/resources/properties/contextOverrides/overridesContext.xml  to overlays/uPortal/src/main/webapp/WEB-INF/classes/properties/optionalContext but as it still does not worked at runtime, I included uPortalHomeRenderingPipelineContext.xml  content into overridesContext.xml
3 - Task :overlays:web:tomcatDeploy
It fails with the following error "Cannot expand ZIP '/opt/sources/uPortal-start/overlays/web/build/libs/web.war' as it does not exist."
This file is in /overlays/web/web/target/web.war
So I had to "cp overlays/web/web/target/web.war /opt/sources/uPortal-start/overlays/web/build/libs/web.war"

I managed customizing, building and deploying uportal-home as an overlay to uPortal-start.
I also managed customizing, building and deploying uportal-app-framework as a standalone webapp.
But i would like to deploy all together using gradle.
Ho do i include customizations i've done in uportal-app-framework in the main uPortal-start deployment tasks ?

No, the MyUW team is not actively working on bundling uPortal-home with uPortal-start etc. I don't think MyUW is likely to pick that up again as a priority. In general MyUW paths forward may include strategies like re-implementing the valuable parts of uPortal-app-framework as Web Components ( https://github.com/myuw-web-components/ ) so that new front-end applications can be developed without dependence on AngularJS or on any other specific front-end framework. (Browser standards for the win).

Is there still interest in uPortal-home integration, or can I close this?

Is there still interest in uPortal-home integration, or can I close this?

uPortal-home is being phased out.


Update config.json for Element

Now I'm not sure about android browser on AndroidOS5. Seems like it uses the latest browser. Maybe this pr can be fixed such as
-		"android": "<5.1",
+		"android": "<5",

But I don't have AndroidOS5. Can you check the android browser version on AndroidOS5?

They all come back as Chrome 49:
Samsung Galaxy S6

Google Nexus 6

Moto X 2nd Gen

Moto G 2nd Gen

Then we can change to <5 because Element.closest is supported in Chrome 49.

Agree 👍

Yeah, I fixed it.


Values are not "flowing through" connections

I'm trying to link two nodes together, but I can't get the values to pass through the links.
Node A has an output, which is set up like so:
            OutData = new MyValueNodeOutputViewModel<DataModel>()
            {
                Name = "Data",
                Value = Observable.CombineLatest(Name.ValueChanged, Type.ValueChanged, Tag.ValueChanged,
                    (n, t, tg) =>
                    {
                        return new DataModel(n, t, tg);
                    })
            };

I've verified that the lambda to create the DataModel fires when the data changes, as expected.  The input side on node B is a simple ValueNodeInputViewModel<DataModel> with no special setup logic.  As near as I can tell, things are set up the same way they are on the NodeNetwork demo projects, where values flow as expected.  But if I place the nodes at runtime and connect the output to the input, and then have a validator on node B that checks Input.Value, the value it sees is always null, even though I've verified that the lambda to create the output value on the other end of the connection is running and producing the expected value.
So the value is getting created on the output side, the output side is linked to the input side, but for some reason, the value isn't flowing through the connector and becoming visible on the input side, and I don't know what's missing!  How can I diagnose this problem and fix it?

Do the values arrive at B if you replace DataModel with something simple like int?

Just tried it, copying TextLiteralNode from the codegen demo almost exactly:
    public class StringValueNode : MyNodeViewModel
    {
        static StringValueNode()
        {
            Splat.Locator.CurrentMutable.Register(() => new MyNodeView(), typeof(IViewFor<StringValueNode>));
        }

        public StringValueEditorViewModel ValueEditor { get; } = new StringValueEditorViewModel();

        public ValueNodeOutputViewModel<string> Output { get; }

        public StringValueNode() : base(NodeType.Literal)
        {
            this.Name = "Text";

            Output = new MyOutputViewModel<string>(PortType.String)
            {
                Name = "Value",
                Editor = ValueEditor,
                Value = ValueEditor.ValueChanged
            };
            this.Outputs.Add(Output);
        }
    }

After attaching it to a string input, the string input reads null for its Value no matter what's in the string node's textbox.

...any idea what could be causing this?

Try constructing ValueNodeInputViewModel with the arguments (ValidationAction.DontValidate, ValidationAction.DontValidate). This will bypass a chunk of code that performs validation on the data passing through and will help bisect the issue.

Just tested that, and that does appear to fix the problem.  So what's going on with validation here?

With the normal ValueNodeInputViewModel constructor, check the value of the various properties in NetworkViewModel.LatestValidation. Is there a value that indicates validation error?
Also try constructing ValueNodeInputViewModel with (ValidationAction.PushDefaultValue, ValidationAction.DontValidate) and (ValidationAction.DontValidate, ValidationAction.IgnoreValidation), and see which combination works and which doesn't. This will again help determine where in the code the issue is occurring.

Yes, there's a validation error in the network: the property I'm connecting has no value (because it's not connected yet).  If the input won't connect until the network validates, and the network won't validate until all the values are flowing freely, this appears to be a "the key is behind the locked door" issue.  Why does the input care about that?
I'm aware that requiring values to be connected in order for the network to validate is a bit unusual, but it makes sense for my use case.  Probably the simplest fix would be to make the network only attempt to validate on demand, as a response to user input, rather than automatically with every change.  Is there any way to do that?

Probably the simplest fix would be to make the network only attempt to validate on demand, as a response to user input, rather than automatically with every change. Is there any way to do that?

This is exactly what the ValidationAction parameters for ValueNodeInputViewModel control. The first argument specifies the validation behaviour when the connection is changed, the second is for when the received value changes. You can set them to ValidationAction.DontValidate, but there are also other options:
https://github.com/Wouterdek/NodeNetwork/blob/master/NodeNetworkToolkit/ValueNode/ValueNodeInputViewModel.cs
/// <summary>
/// Action that should be taken based on the validation result
/// </summary>
public enum ValidationAction
{
    /// <summary>
    /// Don't run the validation. (LatestValidation is not updated)
    /// </summary>
    DontValidate,
    /// <summary>
    /// Run the validation, but ignore the result and assume the network is valid.
    /// </summary>
    IgnoreValidation,
    /// <summary>
    /// Run the validation and if the network is invalid then wait until it is valid.
    /// </summary>
    WaitForValid,
    /// <summary>
    /// Run the validation and if the network is invalid then make default(T) the current value.
    /// </summary>
    PushDefaultValue
}

Default is (PushDefaultValue, IgnoreValidation).

Thanks, that's very helpful.
One other thing.  I've noticed that an edit control, such as a textbox, attached to an output port will trigger validation when its value changes, but an edit control attached to an input port does not.  Any idea why?

There's a couple of reasons, but this mostly because it hasn't been required anywhere. Edit controls can usually perform some validation itself, and if the validation depends on the context, it can be performed by either the node or some other part of the network.
I'll close this issue now as your problem seems to be resolved, but feel free to comment or open another if it isn't.


activation poll

A common set of commands when developing is:

activation list
click an activation (activation get)
do some out of band activation which causes new activations
go to 1

What if there was an activation poll instead (which the wsk cli offers) which continuously updates the activation list view with new activations, with support for specific action names to keep the focus on activations of interest.
It would avoid steps 1 and 4 above because a developer could iterate between do stuff and click new activation.
A possible nuance is the rate of the poll and ingesting too many activations at once... perhaps a slider or command line argument could control the rate.

the table view indeed now supports watching, so this should be possible

moving to https://github.com/kui-shell/oui/issues/64


[core-management]: core-management subsystem is missing from alternate standalone configurations.

Adding the missing subsystem in those configurations from https://github.com/wildfly/wildfly/pull/9690
Jira: https://issues.jboss.org/browse/WFLY-8180
JBEAP: https://issues.jboss.org/browse/JBEAP-9001

Please check the configs in $JBOSS_HOME/docs/examples/configs as well.

@ehsavoie once done, you also need a downstream PR for this to be considered


Added initial support for IKEA Tradfri Gateway

Description:
This is to support controlling lights through IKEA's Tradfri (Trådfri) Gateway (http://www.ikea.com/us/en/catalog/products/00337813/).
This version supports turning on, turning off and dimming.
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):
light:
  - platform: tradfri
    host: <IP_ADDRESS>
    api_key: <on back of gateway>

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Hi @ggravlingen,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

I'm running the tests but it takes some time on my rpi3.

I think I messed up a bit here when doing a commit. Will try to resolve.

OK, I've inserted the changes to the code suggested above. I'm not convinced it cashes the last state though?

🎉  🐬

Hey,
I needed to install autoconf, automake and libtool on my Hassbian maybe add it to the instructions?
sudo apt-get install autoconf automake libtool

Jaime Jiménez (from the company Ericsson) who is an active member of the IPSO Alliance’s working group, especially the Semantic WG that published the IPSO Smart Object Guidelines, posted this great teardown of the Ikea Trådfri implementation:
http://jaimejim.github.io/tradfri/
He also shared a couple of links to related articles he posted earlier:
http://jaimejim.github.io/lwm2m-yang/
http://jaimejim.github.io/coap-functionality-lwm2m/
Also checkout the IoTSI Workshop as a reference:
https://www.iab.org/activities/workshops/iotsi/
Interestingly enough Michael Koster (who is the main author of these IPSO Objects) posted a comment to Jaime's post staying: "Great move on IKEA's part here. Too bad we hadn't published the IPSO lighting objects yet. Maybe we can talk them into registering the new identifiers with OMNA.".
He referenses another that good framework written by Michael Koster (the main author of the data models and IPSO Objects that Ikea Trådfri uses):
https://github.com/connectIOT/iottoolkit/

Any pointers to how I can get this to work on windows?


Add Checkbox Element

Added Checkbox Element and Checkbox Button to the Demo Editor. (https://baechoofarm.github.io/sketchbox/?path=/story/sketchbox-editor--basic)
Now we can make checklist like this!


Drop unnecessary info()/exists() optimisation

There is an unnecessary usage of list_objects_v2 for getting information of single object.
The head_object request should be faster and cheaper.
The issue was introduced in https://github.com/dask/s3fs/pull/472 and supposed to deal with "expensive head_object calls" from https://github.com/aio-libs/aiobotocore/issues/866.
The real reason of that "expensiveness" seems to be aiohttp bug fixed here https://github.com/aio-libs/aiohttp/commit/ec11acaa299a24728daf314d66f76a59ae93f89c.
How to reproduce:

Get a code snippet from https://github.com/aio-libs/aiobotocore/issues/866 thread.
Check bad scenario in following docker container:

FROM brunneis/python:3.8.3-ubuntu-20.04
RUN pip3 install 'aiobotocore==1.2.1' 'aiohttp[sepeedups]==3.6.3' boto3
ENTRYPOINT ["/bin/bash"]

the results:
10 sync head_object calls with boto: 0.8503482189998977
10 sync head_object calls with aiobotocore: 2.0853126459999203
10 async head_object calls with aiobotocore: 0.2471708049999961

Check good scenario in following docker container:

FROM brunneis/python:3.8.3-ubuntu-20.04
RUN pip3 install 'aiobotocore==1.2.1' 'aiohttp[sepeedups]==3.7.1' boto3
ENTRYPOINT ["/bin/bash"]

the results:
10 sync head_object calls with boto: 0.7789823640000577
10 sync head_object calls with aiobotocore: 0.7651884290000908
10 async head_object calls with aiobotocore: 0.2377795329998662

General considerations:
With proper version of aiohttp (>=3.7.1) there is no need to replace head_object calls with list_objects_v2 because the former ones are faster.
And regardless of speed using list_objects_v2 is x11 times expensive (financially) considering AWS pricing for s3 requests https://aws.amazon.com/s3/pricing (which can be quite an issue for someone)

@ashnyukov would you like to make a PR that gets rid of this listing based system and reverts my initial commit and pins the aiohttp version that fixed it?

@isidentical i think that will do

https://github.com/dask/s3fs/pull/545

seems to be release