Log JSONRPC calls as info

Motivation
By logging the JSONRPC calls, we can perform metrics in aggregate across user agents (specifically SDK versions)
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
logging change
If targeting a release branch, please fill the below out as well

Justification and breaking nature (who does it affect? validators, full nodes, tooling, operators, AOS, etc.)
Comprehensive test results that demonstrate the fix working and not breaking existing workflows.
Why we must have it for V1 launch.
What workarounds and alternative we have if we do not push the PR.

If targeting a release branch, please fill the below out as well

This PR may have modified JSON-RPC server code.
Breaking changes policy:

Chaning JSON-RPC method signatures or removing/modifying fields
in the response in /V1 will not be accepted.
Adding fields is ok.
Adding a new JSON-RPC method is ok.

Please ensure you have also done the following to update the docs:

Update json-rpc/API-CHANGELOG.md.
Add/update type/method documentation under json-rpc/docs.

release binaries dependency change summary:
target packages:
  A move-stdlib 0.1.0 (workspace, path 'language/move-stdlib')
    * features: [none]
  M byteorder 1.4.3 (direct third-party, crates.io)
    * version upgraded from 1.4.2
    * (unchanged features: default, i128, std)
  M serde-generate 0.19.1 (direct third-party, crates.io)
    * version upgraded from 0.19.0
    * (unchanged features: [none])
  M libc 0.2.89 (transitive third-party, crates.io)
    * version upgraded from 0.2.88
    * (unchanged features: align, default, std)
  M regex-syntax 0.6.23 (transitive third-party, crates.io)
    * version upgraded from 0.6.22
    * (unchanged features: default, unicode, unicode-age, unicode-bool, unicode-case, unicode-gencat, unicode-perl, unicode-script, unicode-segment)

host packages:
  M syn 1.0.64 (direct third-party, crates.io)
    * version upgraded from 1.0.62
    * (unchanged features: clone-impls, default, derive, extra-traits, fold, full, parsing, printing, proc-macro, quote, visit, visit-mut)
  M libc 0.2.89 (transitive third-party, crates.io)
    * version upgraded from 0.2.88
    * (unchanged features: default, std)
  M regex-syntax 0.6.23 (transitive third-party, crates.io)
    * version upgraded from 0.6.22
    * (unchanged features: default, unicode, unicode-age, unicode-bool, unicode-case, unicode-gencat, unicode-perl, unicode-script, unicode-segment)

LSR dependency change summary:
target packages:
  M byteorder 1.4.3 (transitive third-party, crates.io)
    * version upgraded from 1.4.2
    * (unchanged features: i128)
  M libc 0.2.89 (transitive third-party, crates.io)
    * version upgraded from 0.2.88
    * (unchanged features: default, std)

host packages:
  M syn 1.0.64 (direct third-party, crates.io)
    * version upgraded from 1.0.62
    * (unchanged features: clone-impls, default, derive, extra-traits, full, parsing, printing, proc-macro, quote, visit)

LEC dependency change summary:
target packages:
  M byteorder 1.4.3 (transitive third-party, crates.io)
    * version upgraded from 1.4.2
    * (unchanged features: i128)
  M libc 0.2.89 (transitive third-party, crates.io)
    * version upgraded from 0.2.88
    * (unchanged features: align, default, std)

host packages:
  M syn 1.0.64 (direct third-party, crates.io)
    * version upgraded from 1.0.62
    * (unchanged features: clone-impls, default, derive, extra-traits, full, parsing, printing, proc-macro, quote, visit, visit-mut)

This will be very noisy, both for operators looking at pod logs and central log aggregation.


Unecessary database accesses when repeatedly requesting the marketplace portal

[Version]
16.0 Fix6
[Date]
2016/07/01
[How to reproduce]
Compare DB accesses when repeatedly accessing marketplace portal from fix5 to fix6.
[Expected]
Only initially, an additional DB access is required for checking whether or not the marketplace is restricted to customers.
[Observed]
Additional DB accesses for marketplace restriction check with each request.
[Detail]
MarketplaceBean#isRestricted loads the marketplace domain object with each request. There is no caching. This causes a performance drop.

added caching of restriction in configuration

ClosedMarketplaceFilter needs to be fixed as well for recovering the system performance. This filter accesses to services, and loads user details as well as marketplace VOs on each request.

reduced the database accesses via cached configs

The caching fix in MarketplaceBean and ClosedMarketplaceFilter is fine. The resulting system performance boost is evident.
However, there is still some tuning need left with the 'restrict marketplace access' feature. There are remaining some DB accesses which should be optimized. In particular the performance should be improved by adding similar caching to org.oscm.ui.beans.marketplace.ServicePagingBean#isSearchAvailable()
This is read two times in the marketplace header facelet
\oscm-portal\WebContent\WEB-INF\facelets\tags\marketplace\header.xhtml


Type inference not producing error

TypeScript Version:  3.3.3

type inference
optional properties
Code
interface User{
editorParams?: SelectParams | AutoCompleteParams;
}
let user: User;
let autoComplete1: AutoCompleteParams = {
searchFunc: (term, values) => {
//search for exact matches
var matches: string[] = [];
//return matches;
},
listItemFormatter: function(value, title) {
//prefix all titles with the work "Mr"
return "Mr " + title;
},
};
user.editorParams = autoComplete1;
user.editorParams = {
searchFunc: (term,values) => {
//search for exact matches
var matches: string[] = [];
//return matches;
},
listItemFormatter: function(value, title) {
//prefix all titles with the work "Mr"
return "Mr " + title;
},
};
interface SelectParams {
listItemFormatter?: (value: string, text: string) => string;
}
interface AutoCompleteParams {
listItemFormatter?: (value: string, text: string) => string;
searchFunc: (term: string, values: string[]) => string[];
}
Expected behavior:
I expected when commenting out the return statement  in the inferred usage of searchFunc that a compiler error would occur. The annotated method above does give the compiler error. The playground link shows this as well.
Actual behavior:
No compiler error for the inferred usage. Hovering the inferred searchFunc in VSCode shows it as AutoCompleteParams as well.
Playground Link:
https://www.typescriptlang.org/play/#src=interface User{
    editorParams%3F%3A SelectParams | AutoCompleteParams%3B
}

let user%3A User%3B

let autoComplete1%3A AutoCompleteParams %3D {
    searchFunc%3A (term%2C values) %3D> {
      %2F%2Fsearch for exact matches
      var matches%3A string[] %3D []%3B
      %2F%2Freturn matches%3B
    }%2C
    listItemFormatter%3A function(value%2C title) {
      %2F%2Fprefix all titles with the work "Mr"
      return "Mr " %2B title%3B
    }%2C
  }%3B
  user.editorParams %3D autoComplete1%3B

  user.editorParams %3D {
    searchFunc%3A (term%2Cvalues) %3D> {
      %2F%2Fsearch for exact matches
      var matches%3A string[] %3D []%3B
      %2F%2Freturn matches%3B
    }%2C
    listItemFormatter%3A function(value%2C title) {
      %2F%2Fprefix all titles with the work "Mr"
      return "Mr " %2B title%3B
    }%2C
  }%3B

  interface SelectParams {
    listItemFormatter%3F%3A (value%3A string%2C text%3A string) %3D> string%3B
  }

  interface AutoCompleteParams {
    listItemFormatter%3F%3A (value%3A string%2C text%3A string) %3D> string%3B
    searchFunc%3A (term%3A string%2C values%3A string[]) %3D> string[]%3B
  }
Related Issues:
Possibly
https://github.com/Microsoft/TypeScript/issues/27704

Workaround:
  interface SelectParams {
    listItemFormatter?: (value: string, text: string) => string;
    searchFunc?: undefined; // Added this
  }

From the checker's perspective, you've created a valid SelectParams object which happens to have an extraneous searchFunc, which is in turn not flagged as an excess property because it's a valid property name in AutoCompleteParams. The combination of the last two things is unfortunate but each of those behaviors is a local maximum.
In general you should try hard to not have a union type T | U where U is a subtype of T because it tends to produce odd behavior like that. @j-oliveras 's suggestion is a good one.

@RyanCavanaugh How did the mouse hover in VSCode get it right? It knew which interface to pull details for.


fix(migrations): reorder skipped 1.4 migrations

SUMMARY
Two migrations (b92d69a6643c and 0ca9e5f1dacd) had been skipped in the 1.4 release, causing errors when upgrading from 1.4 to 1.5 or master. See the different down revisions of f9847149153d in 1.4 and master:
https://github.com/apache/superset/blob/9fc5e09cb3c5278720d455ddde959ab791713206/superset/migrations/versions/f9847149153d_add_certifications_columns_to_slice.py#L29-L30
https://github.com/apache/superset/blob/156ac7dd79105bca47138d8906b50d01dc4f1cb6/superset/migrations/versions/f9847149153d_add_certifications_columns_to_slice.py#L29-L30
This places the skipped migrations in front of the first migration of 1.5, making sure the migrations are applied to the metadata.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

Install version 1.4 of Superset, run db migrations
Install 1.5.0rc1 or master branch, run db migrations and run superset init and see the error

ADDITIONAL INFORMATION

[x] Has associated issue: closes #19100
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

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

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

I'm running superset db upgrade and master right now, with a clean DB, and no migrations are applied:
% psql master
psql (14.2)
Type "help" for help.

master=# \dt
                List of relations
 Schema |          Name           | Type  | Owner
--------+-------------------------+-------+-------
 public | ab_permission           | table | beto
 public | ab_permission_view      | table | beto
 public | ab_permission_view_role | table | beto
 public | ab_register_user        | table | beto
 public | ab_role                 | table | beto
 public | ab_user                 | table | beto
 public | ab_user_role            | table | beto
 public | ab_view_menu            | table | beto
(8 rows)

master=#

Nothing happens on superset db upgrade:
% superset db upgrade
Loaded your LOCAL configuration at [/Users/beto/Projects/incubator-superset/superset_config.py]
--------------------------------------------------------------------------------
                                    WARNING
--------------------------------------------------------------------------------
A Default SECRET_KEY was detected, please use superset_config.py to override it.
Use a strong complex alphanumeric string and use a tool to help you generate
a sufficiently random sequence, ex: openssl rand -base64 42
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
logging was configured successfully
2022-04-06 12:24:03,523:INFO:superset.utils.logging_configurator:logging was configured successfully
2022-04-06 12:24:03,536:INFO:root:Configured event logger of type <class 'superset.utils.log.DBEventLogger'>
Falling back to the built-in cache, that stores data in the metadata database, for the followinng cache: `FILTER_STATE_CACHE_CONFIG`. It is recommended to use `RedisCache`, `MemcachedCache` or another dedicated caching backend for production deployments
2022-04-06 12:24:03,542:WARNING:superset.utils.cache_manager:Falling back to the built-in cache, that stores data in the metadata database, for the followinng cache: `FILTER_STATE_CACHE_CONFIG`. It is recommended to use `RedisCache`, `MemcachedCache` or another dedicated caching backend for production deployments
Falling back to the built-in cache, that stores data in the metadata database, for the followinng cache: `EXPLORE_FORM_DATA_CACHE_CONFIG`. It is recommended to use `RedisCache`, `MemcachedCache` or another dedicated caching backend for production deployments
2022-04-06 12:24:03,548:WARNING:superset.utils.cache_manager:Falling back to the built-in cache, that stores data in the metadata database, for the followinng cache: `EXPLORE_FORM_DATA_CACHE_CONFIG`. It is recommended to use `RedisCache`, `MemcachedCache` or another dedicated caching backend for production deployments
INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO  [alembic.runtime.migration] Will assume transactional DDL.

@betodealmeida to double check, I pulled current master, wiped my metastore and ran superset db upgrade, and it ran successfully. Maybe you have a lingering old migration in the version directory? Which reminds me that for some reason alembic error messages don't appear to work anymore (it just fails silently), making debugging very difficult 🙁 (will try to look at why that's the case at some point)

I'm running superset db upgrade and master right now, with a clean DB, and no migrations are applied:
% psql master
psql (14.2)
Type "help" for help.

master=# \dt
                List of relations
 Schema |          Name           | Type  | Owner
--------+-------------------------+-------+-------
 public | ab_permission           | table | beto
 public | ab_permission_view      | table | beto
 public | ab_permission_view_role | table | beto
 public | ab_register_user        | table | beto
 public | ab_role                 | table | beto
 public | ab_user                 | table | beto
 public | ab_user_role            | table | beto
 public | ab_view_menu            | table | beto
(8 rows)

master=#

Nothing happens on superset db upgrade:
% superset db upgrade
Loaded your LOCAL configuration at [/Users/beto/Projects/incubator-superset/superset_config.py]
--------------------------------------------------------------------------------
                                    WARNING
--------------------------------------------------------------------------------
A Default SECRET_KEY was detected, please use superset_config.py to override it.
Use a strong complex alphanumeric string and use a tool to help you generate
a sufficiently random sequence, ex: openssl rand -base64 42
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
logging was configured successfully
2022-04-06 12:24:03,523:INFO:superset.utils.logging_configurator:logging was configured successfully
2022-04-06 12:24:03,536:INFO:root:Configured event logger of type <class 'superset.utils.log.DBEventLogger'>
Falling back to the built-in cache, that stores data in the metadata database, for the followinng cache: `FILTER_STATE_CACHE_CONFIG`. It is recommended to use `RedisCache`, `MemcachedCache` or another dedicated caching backend for production deployments
2022-04-06 12:24:03,542:WARNING:superset.utils.cache_manager:Falling back to the built-in cache, that stores data in the metadata database, for the followinng cache: `FILTER_STATE_CACHE_CONFIG`. It is recommended to use `RedisCache`, `MemcachedCache` or another dedicated caching backend for production deployments
Falling back to the built-in cache, that stores data in the metadata database, for the followinng cache: `EXPLORE_FORM_DATA_CACHE_CONFIG`. It is recommended to use `RedisCache`, `MemcachedCache` or another dedicated caching backend for production deployments
2022-04-06 12:24:03,548:WARNING:superset.utils.cache_manager:Falling back to the built-in cache, that stores data in the metadata database, for the followinng cache: `EXPLORE_FORM_DATA_CACHE_CONFIG`. It is recommended to use `RedisCache`, `MemcachedCache` or another dedicated caching backend for production deployments
INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO  [alembic.runtime.migration] Will assume transactional DDL.

Not sure if it's related to this PR.

@betodealmeida I'm facing the same problem, did you find the solution?

@lzfxxx Probably, there is an existing sqlite database. You can check its presence ls ~/.superset/ and remove it rm ~/.superset/superset.db and try again


'Target' prop doesn't work

Environment
System:
OS: Linux 6.12 Manjaro Linux
CPU: (16) x64 AMD Ryzen 7 4800H with Radeon Graphics
Memory: 9.79 GB / 15.04 GB
Container: Yes
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.6.0 - ~/.nvm/versions/node/v22.6.0/bin/node
npm: 10.8.3 - ~/.nvm/versions/node/v22.6.0/bin/npm
pnpm: 9.15.1 - ~/.nvm/versions/node/v22.6.0/bin/pnpm
Browsers:
Brave Browser: <IP_ADDRESS>
npmPackages:
nuxt: ^3.15.0 => 3.15.0
Describe the bug
The 'target' prop for the TeamCard.vue component doesn't work when passing the value '_blank'.
Now im just gonna fork the repo, but in the next days i will try to fix this!
Reproduction
By just using this snippet in any content page you will see that it doesn't open the link in a new tab.
::team-card-group
  ::team-card
  ---
  avatar: https://www.github.com/ZTL-UwU.png
  name: Tony Zhang
  title: Author of shadcn-docs-nuxt
  links:
    - icon: lucide:github
      to: https://github.com/ZTL-UwU
      target: _blank
    - icon: lucide:twitter
      to: https://x.com/ZTL_UwU
      target: _blank
    - icon: lucide:coffee
      to: https://ko-fi.com/ztl_uwu
      target: _blank
  ---
  ::
::

Additional context
No response
Logs
No response

Fixed in 00e75b9

in the next days i will open i think 2-3 more issues that i've found yesterday by using the template. (all minor issue)


Add www.animenova.org and http://eyeonanime.com/

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.10.02. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.10.02

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2016.10.02
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

According to [1] and [2], the two sites hosts 62% and 89% copyright infringing videos, respectively. youtube-dl won't support such websites. [3]
[1] https://www.google.com/transparencyreport/removals/copyright/searchdata/domains/?id=animenova.org
[2] https://www.google.com/transparencyreport/removals/copyright/searchdata/domains/?id=eyeonanime.com
[3] https://github.com/rg3/youtube-dl/blob/master/README.md#can-you-add-support-for-this-anime-video-site-or-site-which-shows-current-movies-for-free


Design Meeting Notes, 8/24/2022

Type Reference Directives in nodenext
https://github.com/microsoft/TypeScript/issues/47444

Usually TypeScript crawls through node_modules/@types and brings them into the program unless you use the types field.
There is also a way to bring something in via code with /// <reference types="some-package" />
node16 resolution can support both import and require.

Current assumption is that we should resolve to whatever an import would do in that file.
So a /// <reference types"..." /> does will go to import in ESM, require in CJS

Okay, now what should happen from types a tsconfig?

Feels like we should refer to the type field in package.json.
What if you have one tsconfig for several package.jsons?

Aren't these just useful for globals anyway?

Pretty much - node, mocha, react-native, webpack, etc.
Ugh.

Only Node.js cares about .mts and .cts - bundlers just go to the exports.

So under a bundler-oriented mode, maybe always follow import?

If global files are global, why does it matter what kind of resolution they under-went?

Loading identical files from a package.

Another take - always do both.

But then you have identical declarations.
Hopefully they are the same! One position is that it's an accident waiting to happen.

When we talk about types in tsconfig, we're really talking about node_modules/@types, which almost always corresponds to DefinitelyTyped.

Meaning we could say "it's always import, we'll make sure DefinitelyTyped guarantees identical types"

really talking about node_modules/@types

Not quite true - this is only true for unspecified types array. A specified entry in types will do a resolution into node_modules.

😫
😫
😫
😫

"I hate modules"

"I hate types"

By the way, if you do /// <reference types="foo" />, we'll go into node_modules and grab foo.ts

Not even<EMAIL_ADDRESS>"Stop it."
Remove this behavior.

Substitution Type Optimizations
#50290

We have the notion of a "substitution type" in conditional types.

Effectively a way to encode implicit bounds in the true branch of a conditional type.
When using the original type variable in question, create an intersection between the original type and the bound.
Not desirable to just rewrite these as intersections - you want the language/language service to preserve information about how it came to be.

Quick info etc. should preserve display as the original type variable.

We started caching 16M relations in a repro in 4.8.

Triggered by a signature in @types/babel__traverse.

Started forming a cartesian product on some conditional types.
Have the chance to remove some code where we don't preserve the substitution type upon instantiation.

Cheaper, but it broke vuejs/devtools
Why does it break? Because the substitution type stops an infinite type from going deeply recursively.
Hyrum's Law

Okay, that's what broke devtools - what broke xstate?

We can't make sense of what xstate is inferring.

We can still try to make more-conservative changes.


style(setps): style misalignment in small size

Reproduce
https://stackblitz.com/edit/angular-4hndy8?file=src%2Fapp%2Fapp.component.ts

Will fix it this week


ff2img - python 3 does not work, python 2 creates unusable image ?

Tried ff2img.py, ran successfully.  Put image file on RPi and it booted to windows screen then went blank.
Tried ff2img.py3, got this error:
GBMacBookPro:diskFormat grahambriggs$ python ffu2img.py3 /Users/grahambriggs/Downloads/Windows_IoT_Core_RPI2_BUILD/Flash.ffu RPiWindows3.img
File "ffu2img.py3", line 94
print((str(iBlock) + ' blocks, ' + str((iBlock*FFUStoreHeader.dwBlockSizeInBytes)/1024) + 'kb written                                '), end='\r')
^
Thank you

Are you using the May 12 release of the FFU?
Please reply with the SHA256 hash of the FFU file and the img file converted with Py2.7 (the one that does not work on your Raspberry Pi 2).
What is the output from the script with Py2.7?
What is the full error message with Py3? (you cut off the last line of the error message)

Sorry for the delay responding.
I will look at this again tonight and get back to you with answers to your questions.
GB
=-=-=-=-=-=-=
Graham Briggs

On Jun 22, 2015, at 10:35 PM, toxo<EMAIL_ADDRESS>wrote:
Are you using the May 12 release of the FFU?
Please reply with the SHA256 hash of the FFU file and the img file converted with Py2.7 (the one that does not work on your Raspberry Pi 2).
What is the output from the script with Py2.7?
What is the full error message with Py3? (you cut off the last line of the error message)
—
Reply to this email directly or view it on GitHub.

Any results?

I will be closing this issue unless you have anything further to report.

Sorry for the comment on an old post, but I encountered the same issue, but worked around it by doing the following:
I changed line 94 from this:
print((str(iBlock) + ' blocks, ' + str((iBlock*FFUStoreHeader.dwBlockSizeInBytes)/1024) + 'kb written'), end="\r")

to this:
print((str(iBlock) + ' blocks, ' + str((iBlock*FFUStoreHeader.dwBlockSizeInBytes)/1024) + 'kb written') + '\r')

I also did this same for line 98. That's it! :)

Thanks for the input. Can you share your Python version, operating system, and which version of the FFU you converted? I was unable to reproduce the original report, so couldn't confirm a fix.


thunderclap database

@lukeed Why not use thunderclap(A database on top of Workers KV) for this project.
https://github.com/anywhichway/thunderclap

Hey, thanks for the suggestion, but the purpose of this project (and for using KV specifically) is to show people how to use the native tech and the demonstrate the raw data organization. That's a lot harder to follow & understand when everything is living behind a bunch of abstraction.
I'm sure the library is great! But this would be like trying to teach someone how the DOM works by teaching them React or Svelte first. Those are tools that facilitate the DOM operations, but if thats all a user knows, they still don't know what's going on underneath.

This project is already using a third party web framework(Worktop) to simplify code. KV requires lots of boilerplate code in each project which is against the goal of cloudflare of making life easy for the developers.
Cloudflare is a complete platform, the only missing piece is a native database. The purpose of this suggestion is that we should have an abstraction layer like thunderclap on top of KV or durable storage to avoid repetitive code in each project and which can easily be used as a database.
I request you to please check thunderclap repo when you get time. The project is not maintained by the author anymore but he is willing to change the licence.
Anyways,I am a great fan of @lukeed work and I respect your opinion.

Worktop is only used for the routing, which is an expectation for any application. There are a collection of other utilities used throughout too, but it's (at most) 100 lines of worktop code used by this project. Very very minimal and still easy to follow

I put this together for the Summer Challenge to help in reducing my
boilerplate. I didn't realize that Thunderclap was out there. It is
much, much more basic than Thunderclap, but might have something useful
in it since it and is only about 400 lines of code...
https://github.com/NaNorNull/cfkvdb/blob/main/cf-kv-db.js
On 11/20/2021 12:32 AM, Luke Edwards wrote:

Hey, thanks for the suggestion, but the purpose of this project (and
for using KV specifically) is to show people how to use the native
tech and the demonstrate the raw data organization. That's a lot
harder to follow & understand when everything is living behind a bunch
of abstraction.
I'm sure the library is great! But this would be like trying to teach
someone how the DOM works by teaching them React or Svelte first.
Those are tools that facilitate the DOM operations, but if thats all a
user knows, they still don't know what's going on underneath.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cloudflare/production-saas/issues/14#issuecomment-974598143,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARXEBYIAT4UKQ7DOTY5PIU3UM4XHHANCNFSM5INR77XQ.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

As an FYI, I have gotten it working with the new Functions capability
for Pages:
https://github.com/NaNorNull/cfkvdb/tree/main/functions/query
It is a very nice new capability.
On 11/20/2021 12:32 AM, Luke Edwards wrote:

Hey, thanks for the suggestion, but the purpose of this project (and
for using KV specifically) is to show people how to use the native
tech and the demonstrate the raw data organization. That's a lot
harder to follow & understand when everything is living behind a bunch
of abstraction.
I'm sure the library is great! But this would be like trying to teach
someone how the DOM works by teaching them React or Svelte first.
Those are tools that facilitate the DOM operations, but if thats all a
user knows, they still don't know what's going on underneath.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cloudflare/production-saas/issues/14#issuecomment-974598143,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARXEBYIAT4UKQ7DOTY5PIU3UM4XHHANCNFSM5INR77XQ.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


[feature request] XPATH selector support

Would love XPATH support :)

I can see how this might be more convenient in some scenarios but I feel it would over complicate things. There would now be two ways to select elements and there would need to be some way to know which the configuration was using. Additionally it would require adding one or more new dependency to handle this as the current library I use (kuchiki) for parsing HTML and selecting elements only supports CSS selectors.


Feat: Shuffle card before setting into game account in plaintext version of the game

Could you give some details about this? Like what parameters would be required? How exactly would we have a somewhat non-detereministic shuffle?

it's just that since which initializing game account we are sort of storing the cards in the serial manner. instead we should first maybe randomize the order of cards a bit and then initialize the game account storage with it.


Issue #25 - Enhancement of Footer Text Size

Description

Adjust footer text size to show header and list relationship better.

Screenshots
Before:

After:

Notes
Closes #25

Hey @litemikx, thank you for contributing to this project. The headings of the quick links in the footer are intentionally small. Please refer to the design in the Project Plan 😄


Label PRs for all target branches

Objective

All new PRs should get the "S-Needs-Triage" label. But at the moment we for example are getting quite a few PRs to the new renderer branch that do not get the label.

Solution

Remove the required target "main" from the workflow
Also removed configuration for not needed functionality of the labeler action (see docs)

I might have broken the workflow. Somehow this PR did not get a label.

Directories starting with a . are currently ignored. See actions/labeler#135
That explains, why this PR did not get one.

bors r+

bors r+


Governance. Delegate. Remove votes alert - wrong indent for the button

Description

Expected result:
https://www.figma.com/design/4vjREBpvZK7M3m1GaoVptq/OpenGov-delegations?node-id=46-57810&t=ISbq1X8nkYcFjGqP-4
Environment
https://github.com/novasamatech/nova-spektr/commit/80b3fb662fc96127dceec3d72848b752a609f83f
PR with changing the text:
https://github.com/novasamatech/nova-spektr/pull/2389

Status verification: ✅


move esprima parsing to inside JsFile and out of StringChecker

the tree variable is created in string checker by parsing the str variable. The str and tree variables are then passed to the JsFile constuctor. The tree is not used anywhere else.
We should just parse in the constructor of JsFile given the str. This will also help us avoid having to do esprima.parse directly in tests.
I don't think this need to move to 2.0 I don't imagine anyone is really using JsFile directly. Thoughts?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7675263-move-esprima-parsing-to-inside-jsfile-and-out-of-stringchecker?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).

This probably isn't as relevant anymore - especially after the cst changes right?

/cc @mdevils might be helpful info at refactoring

Ok closing

I have a prototype in v3 where it was implemented, so feel free to close.


Check logs is not None before performing string operation

Signed-off-by: Chandrakant Kumar<EMAIL_ADDRESS>

Thanks for this!
It would be great to add a unit test to cover this case so it prevents it from breaking in the future.
Let us know if you need any help with that.

It would be great to add a unit test to cover this case so it prevents it from breaking in the future.
Let us know if you need any help with that.
What could be the test case for this change?

What could be the test case for this change?

Take a look at this test case, which is similar:
https://github.com/projectatomic/osbs-client/blob/0.44/tests/test_api.py#L966-L973
What you'll want to do is add a new method alongside that one, something like this:
    def test_orchestrator_build_logs_no_logs(self, osbs):
        flexmock(osbs).should_receive('get_build_logs').and_return(None)
        logs = osbs.get_orchestrator_build_logs(TEST_BUILD)
        assert isinstance(logs, GeneratorType)
        assert list(logs) == []

Because the method name starts with "test_" it will get called automatically when the test suite runs (when you push your changes). The flexmock line arranges for the get_build_logs(...) call to return None. It is followed by the actual call to the method we're testing. The remaining lines verify that it returns the result we expect, i.e. a generator which generates nothing.


I cannot import the component into my mdx file

When i was trying to import the components into my mdx file i got this error
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

I am using nextjs 11 with latest mdx-bundler version
here is my file which bundler mdx to html
import fs from 'fs'
import path from 'path'
import matter from 'gray-matter'

import { bundleMDX } from 'mdx-bundler'
if (process.platform === 'win32') {
  process.env.ESBUILD_BINARY_PATH = path.join(
    process.cwd(),
    'node_modules',
    'esbuild',
    'esbuild.exe',
  );
} else {
  process.env.ESBUILD_BINARY_PATH = path.join(
    process.cwd(),
    'node_modules',
    'esbuild',
    'bin',
    'esbuild',
  );
}
export const contentPath = path.join(process.cwd(), 'articles')
export const componentPath = path.join(process.cwd(), 'src/components');
export const getMdxSource = (mdxFile) => {
  return fs.readFileSync(path.join(contentPath, mdxFile));
}
export const getSortedContent = () => {
  return fs.readdirSync(contentPath).filter((path) => /\.mdx?$/.test(path)).map((mdxFile) => {
    const source = getMdxSource(mdxFile);
      const slug = mdxFile.replace(/\.mdx?$/, "");
      const { data } = matter(source);

      return {
        frontmatter: data,
        slug: slug,
      }
  }).sort((a, b) => {
    return new Date(a.frontmatter?.date) < new Date(b.frontmatter?.date) ? 1 : -1;
  });
}
export const getContentbyData = async(slug) => {
  const source = getMdxSource(slug + ".mdx");
  const { code, frontmatter } = await bundleMDX(source, {
    cwd: process.cwd(),
 })

  return {
    frontmatter,
    code,
  };
}

my mdx file
---
title: What is Programming ?
author: IshanKBG
date: 07-24-2021
---
import Hello from "src/components/Hello"

Before knowing what is programming you must know the what are computers and how they work.
I know that most of you know what are computers and you are actually using it to read this article.
If I say in simple words computers are just machines performing arithmetical and logical operations for you. Computers run programs which contains some sets of instructions to perform different tasks for you and programming is a process of writing set of instructions to tell computer to perform certain task. For example imagine you are trying to make a cake and to make it you have to follow some sort of instructions.
Those instructions must be in an arranged and sequenced manner else your cake will not become as you want to be as you can’t add eggs after baking. Making a cake is a same as writing programs as you have to write each and every piece of code in an arranged and sequenced manner in order to make it work as intended.
# Should I learn programming ?
<Hello />
This type of question has multiple answers, it depends on the person who is willing to either learn it or not. For some people programming is just a job, for some it’s only business or money and for some people it’s a grand passion of their life. Some want to learn programming so that they can stimulate robotic hands, for some it’s game development and for some it’s web development. It depends on where and how you want to apply programming skills. So ask this question to you and you will find the answer
Some might ask that why did I learn programming and my answer is that I have always been intrigued by computers and thought of them as a means to bridge the gap between countries and entire continents, allowing people from various communities to communicate with each other, I was fascinated by how it all worked and so I decided to pursue Programming as my career choice.

Github repo: https://github.com/IshanKBG/ishankbg.dev

Looks like your hello.js isn't a React component which is confusing things. If you change hello.js to something like this it should be okay.
export default function Hello({ msg = 'Ishan' }) {
    return <p>{msg}</p>
}

@Arcath  thanks for replying
I tried the code you gave but now i am getting this error
src/components/hello.js:2:11: error: Unexpected "<"

It looks esbuild or mdx-bundler cannot understand the component

btw this is my package.json
{
  "private": true,
  "scripts": {
    "dev": "next",
    "dev:watch": "next-remote-watch ./posts",
    "build": "next build",
    "start": "next start",
    "lint": "next lint",
    "deploy": "bash deploy.sh"
  },
  "dependencies": {
    "esbuild": "^0.12.16",
    "gray-matter": "^4.0.2",
    "mdx-bundler": "^5.1.2",
    "next": "latest",
    "next-remote-watch": "1.0.0",
    "prism-react-renderer": "^1.2.1",
    "react": "^17.0.2",
    "react-dom": "^17.0.2"
  },
  "license": "MIT",
  "pre-commit": [
    "lint"
  ],
  "devDependencies": {
    "@babel/plugin-transform-runtime": "^7.14.5",
    "@babel/preset-env": "^7.14.8",
    "@babel/preset-react": "^7.14.5",
    "eslint": "^7.31.0",
    "eslint-config-next": "^11.0.1",
    "eslint-configuration": "^0.1.0"
  }
}

Actually this issue got fixed after i changed the extension from .js to .jsx.
I am not sure whats's causing this issue

@IshanKBG ah yes it should have been a .jsx file so you can use jsx syntax in it. I assume its all working now?

Ya it's now working


Switching to @Async

Description
Updates from CompletableFuture to @Async. CompletableFuture causes issues in Java 11 with more than 2 CPUs.

Codecov Report

Merging #705 into 1.1.x will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              1.1.x     #705   +/-   ##
=========================================
  Coverage     56.18%   56.18%
  Complexity      754      754
=========================================
  Files           181      181
  Lines          3186     3186
  Branches        233      233
=========================================
  Hits           1790     1790
  Misses         1261     1261
  Partials        135      135

Impacted Files
Coverage Δ
Complexity Δ

...loud/config/AppConfigurationAutoConfiguration.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...e/spring/cloud/config/AppConfigurationRefresh.java
88.88% <100.00%> (ø)
17.00 <1.00> (ø)

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 eb5aca8...7072d8f. Read the comment docs.


Running map() over fetchdf() column with and without LIMIT has huge difference

Data Frame map() over single column of roughly 1m rows with and without LIMIT huge difference
Thank you for implementing this awesome DB! Here is something that may turn out to be bug and help tune performance with queries without LIMIT clause.
With a source Parquet file including 1000001 (1m+1) rows runs very slow without LIMIT. Running on OSX with Python3.8.
Time: 1min 44s
con.execute("SELECT numCol FROM parquet_scan('table.parquet')").fetchdf().map(lambda x: x.rank(pct=True))

Time: 2s
con.execute("SELECT numCol FROM parquet_scan('table.parquet') LIMIT 1000001").fetchdf().map(lambda x: x.rank(pct=True))

==> Running the query without LIMIT makes it run very slow (1m41s) and seems to make Python hog CPU core 100% for the time it is running. I would expect both queries to have similar complexity and execution time. Both queries give same results.

Very interesting. Thanks for the bug report! Does the Parquet file have other columns besides numCol? My initial thoughts are that this could be related to the projection pushdown not being performed correctly, which would result in the entire Parquet file being (unnecessarily) loaded.

Very interesting. Thanks for the bug report! Does the Parquet file have other columns besides numCol? My initial thoughts are that this could be related to the projection pushdown not being performed correctly, which would result in the entire Parquet file being (unnecessarily) loaded.

Yes, the Parquet file has probably around 200 columns with size roughly 600MB.
Btw. I ran the same thing on AWS Lambda and it seg.faulted there, but Lambda reported low memory consumption (<200MB), which sounds a bit confusing. After that I ran it in my 2y old mb pro laptop with ssd. Reading 600MB from SSD shouldn't take that long by far (1m44s).
How may I help you with this further? :)

Weak signal: not sure this is at all related. But creating multiple VIEWs over separate Parquet files and running UNION queries over all of them (use case: Hive Table partitions/buckets in separate Parquet files) is really slow compared to single VIEW queries (over Parquet file also).

How may I help you with this further? :)

Providing the parquet file or a way to generate the parquet file would help :) Could also be by e-mail if you prefer not to put it online.

Weak signal: not sure this is at all related. But creating multiple VIEWs over separate Parquet files and running UNION queries over all of them (use case: Hive Table partitions/buckets in separate Parquet files) is really slow compared to single VIEW queries (over Parquet file also).

This is probably related to UNION requiring duplicate elimination which is not yet especially optimized. Using UNION ALL should be a lot faster if you just want to concatenate them.

How may I help you with this further? :)

Providing the parquet file or a way to generate the parquet file would help :) Could also be by e-mail if you prefer not to put it online.

Weak signal: not sure this is at all related. But creating multiple VIEWs over separate Parquet files and running UNION queries over all of them (use case: Hive Table partitions/buckets in separate Parquet files) is really slow compared to single VIEW queries (over Parquet file also).

I'm afraid I can't provide the data as it is from production. I have compiled DuckDB from trunk with default settings though, I can run some tests and compile it with debug switches if needed. I was thinking that maybe some PRs already fixed this issue, but then didn't know how to make the Python module out of my head.

This is probably related to UNION requiring duplicate elimination which is not yet especially optimized. Using UNION ALL should be a lot faster if you just want to concatenate them.

I'm sure I tested UNION ALL as well, but will re-test :).

Did UNION ALL resolve this?

Did UNION ALL resolve this?

p1 is a view of partition 1
p2 is a view of partition 2 etc.
p1p2 is a view over view p1 and p2

    start = time.time()
    print(con.execute("SELECT COUNT(*) FROM (SELECT * FROM p1) AS c;").fetchall())
    print("COUNT p1: ", time.time() - start)
    start = time.time()
    print(con.execute("SELECT COUNT(*) FROM (SELECT * FROM p2) AS c;").fetchall())
    print("COUNT p2: ", time.time() - start)
    start = time.time()
    print(con.execute("SELECT COUNT(*) FROM (SELECT * FROM p3) AS c;").fetchall())
    print("COUNT p3: ", time.time() - start)
    start = time.time()
    print(con.execute("SELECT COUNT(*) FROM (SELECT * FROM p1 UNION ALL SELECT * FROM p2) AS c;").fetchall())
    print("COUNT p1+p2: ", time.time() - start)
    print(con.execute("SELECT COUNT(*) FROM p1p2").fetchall())
    print("COUNT p1+p2: ", time.time() - start)

[(4634010,)]
COUNT p1:  0.21184420585632324
[(4479486,)]
COUNT p2:  0.1878979206085205
[(4673231,)]
COUNT p3:  0.2151050567626953
[(9113496,)]
COUNT p1+p2:  13.913604021072388
[(9113496,)]
COUNT p1p2:  26.40056300163269

==> I guess the data is read from disk when UNION ALL is used. When there VIEW over two VIEWS, the data is read twice(?). Thus, the 2x slower last query. First queries over single partition VIEWs probably just read the Parquet footer metadata and give response.

Did UNION ALL resolve this?

p1 is a view of partition 1
p2 is a view of partition 2 etc.
p1p2 is a view over view p1 and p2

    start = time.time()
    print(con.execute("SELECT COUNT(*) FROM (SELECT * FROM p1) AS c;").fetchall())
    print("COUNT p1: ", time.time() - start)
    start = time.time()
    print(con.execute("SELECT COUNT(*) FROM (SELECT * FROM p2) AS c;").fetchall())
    print("COUNT p2: ", time.time() - start)
    start = time.time()
    print(con.execute("SELECT COUNT(*) FROM (SELECT * FROM p3) AS c;").fetchall())
    print("COUNT p3: ", time.time() - start)
    start = time.time()
    print(con.execute("SELECT COUNT(*) FROM (SELECT * FROM p1 UNION ALL SELECT * FROM p2) AS c;").fetchall())
    print("COUNT p1+p2: ", time.time() - start)

[(4634010,)]
COUNT p1:  0.21184420585632324
[(4479486,)]
COUNT p2:  0.1878979206085205
[(4673231,)]
COUNT p3:  0.2151050567626953
[(9113496,)]
COUNT p1+p2:  13.913604021072388

==> I guess the data is read from disk when UNION ALL is used. First queries over single partition VIEWs probably just read the Parquet metadata (?).

When using DuckDB 0.2.1 pre-release and GZIP compressed Parquet files the timings are similar. But if I create the view over a single column instead of *, then the results come faster, less to read from the disk:
[(4634010,)]
COUNT p1:  0.14461398124694824
[(4479486,)]
COUNT p2:  0.140761137008667
[(4673231,)]
COUNT p3:  0.14984607696533203
[(9113496,)]
COUNT p1+p2:  1.3763880729675293
[(9113496,)]
COUNT sp1+sp2:  1.0283031463623047

==> Would be nice to have "pushdown" to Parquet working over VIEWs combined with UNION ALL in a way that the perf of p1+p2 would be equal to perf of p1 + perf of p2.

Thanks for the detailed reports! Indeed this seems like a pushdown bug that needs to be fixed. I am planning on unifying the different scan operators next week, which I think might resolve this. I will use your queries as tests to verify that pushdown is correctly performed when I implement this and come back to you.

Thanks for the detailed reports! Indeed this seems like a pushdown bug that needs to be fixed. I am planning on unifying the different scan operators next week, which I think might resolve this. I will use your queries as tests to verify that pushdown is correctly performed when I implement this and come back to you.

Thank you. Would you need any testing that would help you?

Thank you. Would you need any testing that would help you?

That won't be necessary, apologies, this got put on the back burner :) I will have another look soon. When it's finished I will let you know and you can take a look to see if your issue is resolved.

Could you verify that #883 fixed this when you have time? Thanks!

For the case with LIMIT and without LIMIT, I think the big difference is now solved. So, IMO can close this ticket :).
Count from p1
[{"count()":4383403}]
0.4346020221710205
----------------------------
With transform (*2) without LIMIT
         tag_id
0        649834
1        649832
2        649830
3        649828
4        649826
...         ...
4383398  521494
4383399  521492
4383400  521490
4383401  521488
4383402  521486

[4383403 rows x 1 columns]
1.7706449031829834
With transform (*2) with LIMIT
         tag_id
0        649834
1        649832
2        649830
3        649828
4        649826
...         ...
4383398  521494
4383399  521492
4383400  521490
4383401  521488
4383402  521486

[4383403 rows x 1 columns]
1.6768078804016113

For the UNION ALL perf test, with duckdb==0.2.2.dev82:
Count from p1
[{"count()":4383403}]
0.5650150775909424
Count from p2
[{"count()":4383403}]
0.16575884819030762
Count from p1+p2
[{"count()":8766806}]
6.632367134094238
Count from p1+p2+p3
[{"count()":13400816}]
10.27719521522522
Count from p1+p2+p3+p4
[{"count()":17880302}]
12.90190601348877
Count from p1+p2+p3+p4+p5
[{"count()":22553533}]
18.06703519821167

But this is the same issue as #773

Interesting, nice find!  Will have a look.

For the UNION ALL perf test, with duckdb==0.2.2.dev82:
Count from p1
[{"count()":4383403}]
0.5650150775909424
Count from p2
[{"count()":4383403}]
0.16575884819030762
Count from p1+p2
[{"count()":8766806}]
6.632367134094238
Count from p1+p2+p3
[{"count()":13400816}]
10.27719521522522
Count from p1+p2+p3+p4
[{"count()":17880302}]
12.90190601348877
Count from p1+p2+p3+p4+p5
[{"count()":22553533}]
18.06703519821167

But this is the same issue as #773

Interesting, nice find!  Will have a look.

 Both p1 and p2 are VIEWs over Parquet files.


build show error when this package is installed

Hi . I upgrade my flutter version and build.gradle to new version and now it show this error when I need to build
Failed to query the value of property 'buildFlowServiceProperty'.

Could not isolate value org.jetbrains.kotlin.gradle.plugin.statistics.BuildFlowService$Parameters_Decorated@2e73340a of type BuildFlowService.Parameters
A problem occurred configuring project ':restart_app'.
Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
Namespace not specified. Specify a namespace in the module's build file: C:\Users\mojtaba\AppData\Local\Pub\Cache\hosted\pub.dev\restart_app-1.2.1\android\build.gradle. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

I also have this Issue

Same

Hello everybody!
I managed to solve my problem by adding the following snippet to my project's build.gradle file:
name_of_your_project/android/build.gradle:
allprojects {
    ...
    subprojects {
        afterEvaluate { project ->
            //This solves the namespace problem
            if (project.hasProperty('android')) {
                project.android {
                    if (namespace == null) {
                        namespace project.group
                    }
                }
            }
            //And this solves the next one that will arise after solving the first: Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin
            if (project.plugins.hasPlugin('kotlin-android') || project.plugins.hasPlugin('kotlin')) {
                project.tasks.withType(KotlinCompile).all {
                    kotlinOptions {
                        jvmTarget = '1.8'
                    }
                }
            }
        }
    }
}

Refs:

https://developer.android.com/build/configure-app-module#set-namespace
https://stackoverflow.com/questions/76108428/how-do-i-fix-namespace-not-specified-error-in-android-studio/77738936#77738936

Hope it helps!

The namespace has been added in the new version 1.3.0


Query Organization

Is your feature request related to a problem? Please describe.
I was just mainly curious if there was roughly any way to do what the graphql-dotnet project does for query organization. That is basically provide ObjectType for grouping query methods down into different levels. (https://graphql-dotnet.github.io/docs/getting-started/query-organization)

Hi @ronnyek,
there are quite a view ways to do that. So, with the current release Version you can refer to fields in external types.
public class PersonType : ObjectType<Person>
{
    protected override void Configure(IObjectDescriptor<Person> desc)
    {
        desc.Field<PersonXyz>(t => t.GetFriends(default, default));
    }
}

So, in the above example the PersonType exposes all properties and methods of Person and also Includes the GetFriends method from PersonXyz. You can do this with any type not only Query or Mutation. This lets you also share resolver logic, since if you write GetFriends generic enough it could server as a resolver for many types (we have an example for this if you want to see that in action).
With the upcoming Version 0.5.0 (should arrive end of this week) we are introducing a lot of new features for schema stitching. So, then you can do the following:
public class PersonType : ObjectType<Person>
{
    protected override void Configure(IObjectDescriptor<Person> desc)
    {
        desc.Include<SecondType>();
       desc.Include<ThirdType>();
    }
}

This combined with the new executable directives lets you combine external rest services, external GraphQL services etc with your own GraphQL Schema to represent a single Schema.
Basically you than could integrate an external service like the following:
type Query {
   externalCall: Person @fetch(url: "http://fooservice/getPersons") @json(path: "persons.first()")
}

type Person {
 ....
}

So, by providing GraphQL SDL snippets like the following to our schema you can merge multiple schemas into one and integrate an external data provider without any code complex code.
Hope this clarifies what you can do now and what we are introducing this week.

That is basically provide ObjectType for grouping query methods down into different levels.

Sorry misread your question. So, the solution that I stated is for breaking up .net code into different types and merging different schemas and types together.
You can group your api like you want. There is no limit.
You could in the most simple case create a non-generic query type like the following:
public class QueryType : ObjectType
{
    protected override void Configure(IObjectDescriptor<Person> desc)
    {
        desc.Field("group").Type<GroupType>().Resolver(() => new object());
    }
}

But this should be possible with any GraphQL implementation.
Did this help you?

Wow, awesome information. I could see how the configure like this could effectively enable the type/api inference.
I appreciate the feedback.

It looks like include may touch on this functionality, but the specific bits of the organization I was hoping to find were things that would let me do something like this
User->Accounts->AllActiveUsers()
And I also don't know if that even makes sense from a graphql perspective.

I will create some demo code an will put it on GitHub.

That would be awesome. I love the progress you've made on this project. Makes me want to contribute in some way, shape, or form.

I think this makes sense:
https://github.com/ChilliCream/hotchocolate/issues/277#issuecomment-426268163
I did have a followup question about this... regarding basically making conventions for more easily generating api methods. In just tinkering, I built a reflection based convention and had GroupType hard coded, and its generating appropriate objects at runtime, but is there a way to generate the wrapper type (ObjectType) for being able to specify to the .Type() method.
I was thinking about being able to build an object that I would markup like such: (using System.ComponentModel.Annotations where possible)
[Display("Accounts")]
[GraphQLRoute("User/Accounts")]
public class GraphQLAccountsApi
{
      [GraphQLMethod("AllAccounts")]
      public IReadOnlyList<Account> AllAccounts() => ...
}

Seems like doing this with what you specified above would actually work, except I don't know how you'd actually be able define inferred Account type, and specify it when using descriptor for GraphQLAccountsApi to add fields etc.

Makes me want to contribute in some way, shape, or form.

Sure, there is lots to do and contributions in any form are welcome (Code, Documentation, Feature Requests etc....).

awesome... I'm all for helping out however I can... I left comments on a few potential ways we can achieve it, but ultimately this is your library, and am not trying to step on toes or anything =)

@michaelstaib What is the current way to organize GraphQL endpoints? This example doesn't work in current versions, and I can't seem to make anything work. 😏


Restore connected tests to Travis

Please make sure these boxes are checked before submitting your pull request - thanks!

[ ] Run the unit tests with gradlew app:connectedGmsDebugAndroidTest to make sure you didn't break anything (with an emulator running or phone connected)

[ ] If you have multiple commits please combine them into one commit by squashing them.

For some reason, despite the deliberately broken test and the failure in the Travis log, the build shows as green. Not sure why that is.


Add a Test operation to evaluate conditionals

This allows users to specify a condition and a then branch, optionally with an else branch. A then with no else will succeed if either the condition fails or the condition succeeds and the operations in then succeed as well.

bors r+


Package status

Hi @almarklein ,
I was wondering what is the current status of this package? Do you have any plans to maintain and/or further develop the wrapper?
I'm potentially interested in finalizing it and solving the remaining issues.
Added 20.06.2019 TODO:

[ ] CI via Azure
[ ] Examples

Oh wow. Apparently I was not watching this repo and had not seen any of the issues yet. Thanks for mentioning me directly here ...
Anyway, I created this because it was part of a larger project and though that it would be useful to others. I don't actively use it myself. If I would have seen the questions and bug reports coming by (LOL) I would have done some maintenance, but I have no plans to actively develop it further.
It would be great if someone could take this project further!

I made you a collaborator.  We could move this project elsewhere, btw.

Thanks!
I agree that it is, probably, not worth to invest lots of resources to bring pyelastix to the next level, at this moment. However, I believe that it adds quite much to the usability of elastix for the people working in Python environment. For my projects I had to develop a similar wrapper, which is, due to several reasons, less flexible and less convenient. So, at least, until https://github.com/SuperElastix/elastix/issues/146 is merged, I think the repo will make a noticeable impact.
I'm going to work on the issues and the remaining TODOs. Let us then see if any new ideas emerge.

We could move this project elsewhere, btw.

Fine for me as it is.

Hi @almarklein ,
I'd like to start with establishing a CI with Azure Pipelines (in order to test on both Windows and Linux). For that we'll need to add Azure Pipelines app integration to this GitHub repo. Could you do that, please?
I've sent you an invitation to join the Azure Pipelines organization. It might be easier to set the integration from there.

@soupault done, azure-pipelines.yml is in the repo.


Server operations stopped working

SPGo has been working wonderfully for me since I started using it about 1 month ago but it suddenly stopped performing certain operations, such as publishing, checking out files, etc.
Here is my config:
{     "sourceDirectory": "src/yyyyyy",     "sharePointSiteUrl": "https://xxxxxx.com/xxx/yyyyyy",     "publishingScope": "Minor",     "authenticationType": "NTLM",     "storeCredentials": true,     "remoteFolders": [         "/SiteAssets/**/*",         "/SitePages/**/*"     ] }
I can populate my workspace just fine, but operations involving writes to the server have stopped working.  SPGo does not provide any output indicating the problem.  This is an on-prem SP2013 farm.
SPGo:  1.3.5
VSCode x64: 1.35.0
Thanks in advance!

Hello @MikeKGilmore -
Moving our Email conversation to Github so that this issue resolution will be available to other users. I was able to reproduce and resolve your issue - it turns out that your entry for sourceDirectory is malformed in windows. Please change the `sourceDirectory your spgo.json file to use the windows slash, e.g.:
{
    "sourceDirectory": "src\\yyyyyy",
    "sharePointSiteUrl": "https://xxxxxx.com/xxx/yyyyyy",
    "publishingScope": "Minor",
    "authenticationType": "NTLM",
    "storeCredentials": true,
    "remoteFolders": [
        "/SiteAssets/**/*",
        "/SitePages/**/*"
    ]
}

I will add a feature to the backlog to format the source directory property to the correct path separator for each OS.
Please let me know if this resoves your issue, and I'll close this issue.
Thanks,
Chris

This works great, thank you very much!


How can I update without dependencies?

Sorry for the title.
I just uninstalled openjdk which might be something's dependency. Say gradle?
When I do scoop update *, scoop tries to install openjdk again.
Is there any way to update installed packages without dependencies?
scoop update * -i doesn't work, anyway.

Thanks for reporting that issue. It should work as you'd expect when you call scoop update with --independent or -i now. Let me know if you have any trouble, otherwise I'll close this issue.

Thank you for such a fast response.
I confirm scoop update * -i works differently now.

Cool, I'll close this.


docs: little updates

Add to this section

[ ] partial body consuming example (https://github.com/airtai/faststream/pull/890#issuecomment-1835856313)
[ ] detail serialization rule notice (#1152)
[ ] edit FastAPI broker section to use context (also test it with multiple routers)

Hi @Lancetnik is this still in scope or is thing being transitioned to fast_depends? I am trying to figure out how to best manage dependencies which must live within both fastapi and faststream router, for now context seems to be the best option. could you please let me know if this is changing?

@MrPranav101 this Issue related to documentation only, don't worry
I just want to refactor code example to use context instead of global object


Stack operations

I would like to work on the stack operations mentioned below in C++.

count(): It returns the total number of elements available in a stack.
change(): It changes the element at the given position.
display(): It prints all the elements available in the stack.
I'm a participant of GSSOC 21, and would like to be assigned this issue :)

Hi, i want to contribute as a participant of gssoc'21

Kindly assign this task to me.
I am selected as a participant in GSSOC 2021.
I can the code and function which you mentioned in c++.

Hi,
Please assign this task to me. I am a GSSoC'21 participant. I can solve the problem using c++.

I would like to work on this issue using c++, I am a GSSOC'21 participant. Please assign me this issue.


Broken in 44.1

Sketch measure fails to launch in 44.1 - nothing shows up / none of the dialogs - I have reinstalled from toolbox but still not working.

same here, doesn't work :(

any updates coming up soon? I happen to be working on a Styleguide as I have just upgraded 44.1... :(

Same here, but I removed 2.6.3 and reinstall 2.6.2. Than it should works.

@xants2355 how did you reinstall 2.6.2?

Hi! any update on this issue? The same happens to me

Did you install Sketch Measure from the toolbox app?

Yes from toolbox
On 7 Jun 2017 5:42 pm, "utom"<EMAIL_ADDRESS>wrote:

Did you install Sketch Measure from the toolbox app?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/utom/sketch-measure/issues/317#issuecomment-306853728,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACyRg0p55H-JHLkCCk_FTY686tzh-Cooks5sBtLzgaJpZM4NmpjM
.

You can try to reinstall via GitHub, and restart Sketch app. Working in 44.1

@utom Can you show where the link is to download version 2.6.2? I don;t see it.
Thanks in advance.

Same here, doesn't work =(

@utom It's likely that this issue can be safely closed now.


⚠ Bofrost.es has degraded performance

In 717f4b3, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1552 ms

Resolved: Bofrost.es performance has improved in 102f74c after 20 minutes.


Help message

add help message to property.
usage
    {
      section: 'signingOfficerQuestionSection',
      name: 'isSigningOfficer',
      class: 'Boolean',
      helpMessage: 'IS_SIGNING_OFFICER_HELP', // name of message
    },

SO Im thinking eventually after this merge - we systematically remove 'help' from sections and use 'helpMessages' solely.
Other comment - this looks good to me

Is it help or helpMessage which is defined in foam for the FObject or FObjectProperty?

I'm not sure what you mean.. help message was added in this pr, and help existed on property but not on fojbect @jlhughes

I'm not sure what you mean.. help message was added in this pr, and help existed on property but not on FObject @jlhughes

'help' is defined on foam.core.Property.  Can we use this property property please or is there a reason for new property?

I'm not sure what you mean.. help message was added in this pr, and help existed on property but not on FObject @jlhughes

'help' is defined on foam.core.Property. Can we use this property property please or is there a reason for new property?

yes, but as far as I know 'help' will only take a String value as argument, whereas this will take the name of a message defined on the source class of the property, which we want for translation purposes right?

I'm not sure what you mean.. help message was added in this pr, and help existed on property but not on FObject @jlhughes

'help' is defined on foam.core.Property. Can we use this property property please or is there a reason for new property?

yes, but as far as I know 'help' will only take a String value as argument, whereas this will take the name of a message defined on the source class of the property, which we want for translation purposes right?

@hchoura @kgrgreer are we planning on support property properties such as 'help' in our locale work - now or future?

Do not merge.

Let's not do this way.


Undoing item prototype ID change messes up the item positions in InventoryGrid

Steps to reproduce:

Populate the inventory with two 2x2 items
Change the prototype ID of the first one to be a 1x1 item
Undo

After the above the item positions have changed and are not the same as initially.

Partially fixed in 3a7e6e6e5c73b46b88972ba29583891cf8514149.
The problem boils down to the fact that changing an items prototype_id or properties can lead to all the items being moved around (to accommodate the potentially larger item). These move operations are not taken into account when undoing/redoing changes to prototype_id or properties.

Fixed in 5697d3d2c4793a899080ef4f60f657c3dd8f135f.


used your program for abstract art using photography; very interested in talking

HI!
I noticed your software creates some incredible abstract art when photos are used with it. I don't think I could ever paint like that, but I'd very much like to use your software to create abstract digital art from photography to create some wonderfully peaceful portraits and landscapes. Would you be interested in collaborating? I would be very honored.

.
-Nicholas Morrish

Hi! That sounds really interesting. Could you email me?

Hello!
My name is Nicholas Morrish, I do art and music under the name
WesternGermany, you can find some of my stuff on twitter @westerngermy . To
explain, like any typical otaku, I ran some of my pictures through an
online software using the AnimeGANv2, but discovered my face being either
too round or too hairy made the image turn, for lack of better terms,
mooshy like a moldy peach. So I tried some younger, slimmer pictures, and
it worked, I suddenly became a very anime and effeminate looking male, but
I kept thinking about the strange way it blended my face. So I tried a
picture from a recent wedding with me and my gf in the midground surrounded
by pumpkins, and while our features again went to moosh(I suddenly had a
zztop beard and my gf was given a unibrow), the surroundings became rather
beautifully abstract. Fast forward 12 hours of experimenting with old
pictures on my saturday, and I discovered that using older pictures from my
trip to Santa Rosa island(a remote island off the coast of Southern
California), I was able to bring them to life in a way I had never been
able before. I'm not a great photographer; most of these pictures either
had improper lighting, misfocus, or other digital issues. Long story short;
these pictures weren't anything special nor were they ever going to win any
awards. But running them through the AnimeGANv2, I don't know how to
describe it, but it just makes me really happy looking at these pictures;
they're so peaceful, yet given so much life. I would very much like to give
credit where credit is due; is this a team working on AnimeGANv2 or is it
primarily you? I don't have any money for licensing, and I'm not sure if
these would ever have value to others as my mind isn't on money, but as I
mentioned, I'd be honored to do a collaboration as a way of showing that
this software has so much more potential than just a fun anime filter, but
with regards to the question of how do we properly digitize real pictures,
keeping the original essence of the picture, yet when creating digital art
from it, how does it remain the same yet become something entirely unique?
I think this software does that wonderfully and whimsically. I've attached
a few pictures, I hope you enjoy them.
Best regards,
WesternGermany
-Nicholas Morrish
On Sat, Nov 6, 2021 at 9:40 PM bryandlee @.***> wrote:

Hi! That sounds really interesting. Could you email me?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bryandlee/animegan2-pytorch/issues/11#issuecomment-962551027,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWMBFR4ZC3Z7TN6NC2DGHN3UKX7LDANCNFSM5HQLUI5A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Thanks for sharing such a detailed experience with the model! I'm glad you enjoyed it that much. The results on twitter look great too. I'm down for collaboration but this is a simple hobby project and the codes are distributed under MIT license, so you can also use them as you want. (Unless you use weights from the original repo which I think has a different license)


feat: Add ddddddO/gtree

#5184 ddddddO/gtree: Output tree or Make directories(files) from Markdown or Programmatically. Provide CLI and Go Package

Thank you for your contribution!

Released. https://github.com/aquaproj/aqua-registry/releases/tag/v3.20.0


⚠ ClamAV has degraded performance

In d486d0c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 214 ms

Resolved: ClamAV performance has improved in 2415a46.


Bump k8s libs to 1.30.x

Supersedes #2626

Which problem is this PR solving?

Description of the changes

How was this change tested?

Checklist

[ ] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
[ ] I have signed all commits
[ ] I have added unit tests for the new functionality
[ ] I have run lint and test steps successfully

for jaeger: make lint test
for jaeger-ui: yarn lint and yarn test

the CI fails on

The CustomResourceDefinition "jaegers.jaegertracing.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes


[Doc] Move public TensorFlow runtime APIs to new file.

Move public APIs from CompilerRuntime.swift to new file Execution.swift.
This clearly separates user-exposed public functions from compiler internals.
This separation also benefits jazzy API doc generation: jazzy can simply
skip doc generation for the entire CompilerRuntime.swift file. Otherwise,
per-declaration /// :nodoc: annotations would be necessary for skipping
documentation.

@swift-ci Please test tensorflow


chore(languages): add language codes

To Reviewers

[ ] Skip (style, chore ONLY)
[X] Not that difficult

Type of Change

[ ] New feature
[ ] Bug fixes
[X] Feature improvement
[ ] Refactor
[ ] Others (performance improvement, refactoring, CI/CD, etc.)

Checklist

[X] Error / Warning / Lint / Type

Description
SSIA
Things to Talk About

As just adding lang code task, I'll merge without any approves


Fix an issue with ORDER BY with query params

When the ORDER BY is applied on top of another operation (e.g. a JOIN) and not directly on a Collect, then a
OrderedLimitAndOffsetProjection is added to the plan, which previously didn't use the SubQueryAndParamBinder to substitude the query params with the bound values.
Fixes: #16912

Couldn't find a way to unit test this, maybe you have something to suggest?


Calculating EMA_10 instead of EMA_8

Version: 0.3.02b

Hello @bonusguy,
It is spelled length and not lenght.
Kind Regards,
KJ


Move saving of plots into renderer extension & plot viewer as well

Suggestion:

Move saving of plots from renderer into plot viewer
Move plot viewer into renderer extension

why?

Currently saving plots & opening plots in plot viewer requires users to install jupyter extension
Thus renderer extension has a dependcy on jupyter extension for some features

Benefits

Renderer extension doesn't need to rely on jupyter extension to enable some icons
Users don't need jupyter extension installed to save/open plot viewer (generic features)

Draw back

Could be deemed as bloatware in renderer extension

Alternatively we could have the image renderers duplicated in jupyter extension (feels silly to do that, having duplicate renderers, confuses users)

seems rare that someone would have our renderer extension without having the jupyter extension

@

@amunger this is an issue for debt that reduces complexity in our code

seems rare that someone would have our renderer extension without having the jupyter extension

Yes i agree , and thats a great reason to move most of the plot viewer code into the renderer extension.
This way we have far fewer dependencies, smaller code base in jujpyter.
So this issue is more about changes to the code structure of Jupyter, not UI changes.

I'd like to keep this open so we can work on this , unless you disagree with the suggested change.
I don't see any comments about why such a chagne (debt) items is not good,
hence re-opening this


rebrand git-tab-view

stumbled on this

Thanks for this.
Not sure if we want to do atom?.branding?.name ?? 'Pulsar' again, like we did in PR https://github.com/pulsar-edit/github/pull/13 (diff)?
But basically the branding API should exist and be populated properly, whether in Pulsar, or in a compatible/properly configured Pulsar fork (hypothetically). So we don't necessarily have to cater to e.g. Atom and Atom forks at this point, which doesn't have the branding API in it, right?
If I hear any second opinions on this @pulsar-edit/core, then it might be interesting to figure out before we get too deep into rebranding here. But if there is no discussion / consensus I'll just say it doesn't matter a ton, these packages are first and foremost meant to work with Pulsar, not the entire possible ecosystem if supporting everything becomes hard or not worthwhile.


Fixed module cache

Fixes #5844
Summary
Currently the module cache is being retrieved from the portal cache because we're only using the portal ID as key. Now we're using both the portal and module ID to generate a key.
If there is no module, then we use -1 as module ID; which is the null-value.

Looks good 👍, thanks for the addition.


Leverage tikv as KV store

Why not leverage TIkv as the KV store to accelerate the bonsainDB development ?
https://github.com/tikv/tikv

I don't believe TiKV aligns with BonsaiDBs goals. Please correct me if I'm wrong with any of my assumptions here, I never used TiKV and only have a very high-level undderstanding of it:

Not a library and can't be or isn't intended to be used as such.
Heavily depends on C++ codebases.
Massive list of dependencies that can't be toggled by crate features.

These are just some fundamentals that I believe don't align.

Additionally, TiKV requires a lot more than BonsaiDb. The biggest issue to me, aside from the ones that Daxpedda raised, is that there is no way to use TiKV in a non-networked mode or single-server, which is a fundamental feature that BonsaiDb supports.
BonsaiDb's clustering and replication are still to-be-developed. If you need a clustered key-value storage or key-value storage that is considered stable, use TiKV today. If you're looking for the best developer experience for developing and deploying a database that will eventually support clustering as well, BonsaiDb is a good option.
If you're looking for specific features that TiKV has that BonasiDb currently doesn't, please open up issues with specific feature requests.


Carousel content slide down when the content is too high and vertical scroll bar shows

Version
0.6.7
Reproduction link
http://plnkr.co/edit/hd5AxL117oQquGgt4pv0?p=catalogue
Steps to reproduce

add four slideContents for Carousel
set the height of slideContent 500px
set the width of slideContent to 100%, same with the screen。

I found something after debugged the source code.

renderContent  run twice
After this._renderer.removeStyle(this.slickTrack.nativeElement, 'width');
the content will slide down when the width is removed, and vertical scroll bar shows. On this moment, this.hostElement.nativeElement.offsetWidth is not equal to the real width of content(either to the screen). It cannot reset bythis._renderer.setStyle(this.slickTrack.nativeElement, 'width', `${this.slideContents.length * this.hostElement.nativeElement.offsetWidth}px`);. The width of slickTrack smaller then the width of slideContents, and content slide down.
And I found it works well when this._renderer.removeStyle(this.slickTrack.nativeElement, 'width'); is removed. I wonder it will case other bugs or not when this line is removed.
I found it on my windows, and it works well on my Mac(Both chrome 63). Maybe there is no scroll bar on chrome of mac.

ref #1072

fixed in version 0.7.0, please check it , thanks


changed meme to mome in the last line of first stanza

This is a pull request for Oliver_assignment_03.md in acg_2024.

good job


[Bug]: Account button not working

Contact Details
<EMAIL_ADDRESS>What happened?
The account button in the profile icon along with ratings, github and logout option is not working. When the account button is
clicked, site is redirected to the default undefined page. The picture (instead of account button) when clicked redirects to
dashboard page.

What browsers are you seeing the problem on?
No response
Relevant log output
No response
Are you interested in contributing?

[X] I'd like to work on this issue

Code of Conduct

[X] I have used the search function to check if an issue already exists
[X] I agree to follow this project's Code of Conduct

Which program are you contributing in?
ssoc

We have changed it to /profile, it will be reflected when we merge changes from develop to main branch soon.


Error when scrolling between slides by dragging

Bug is related to

[ ] The Vanilla JavaScript version
[x] The React version
[ ] The Embla Carousel core (all versions)
[x] Documentation website
[ ] Other

Embla Carousel version

v4.3.1

Describe the bug

When you arrive by dragging to the last slide, the selectedIndex returns to the beginning, to 0, you must drag again to take the index of the last slide.
It only happens when scrolling by dragging the slides..
Attach the link of the web page since I realized that the same error occurs there,
I solved it by downgrade version to 4.0.6.

CodeSandbox

https://www.embla-carousel.com/examples/navigation/.

Steps to reproduce

Go to 'Examples'
Click on 'Navigation'
Drag to the last slide on 'Arrows and Dots'
See error

Expected behavior

That takes the correct slide index.

Additional context

Penultimate slide:
.
Last slide:

Expected:

Hi @EctordAniel,
I can confirm that this is a bug with v4.3.1. Looking at the code, I can see why this is happening. I will release a patch version with a fix for this bug as soon as possible.
I’ll let you know when I’ve released v4.3.2 with the fix. Thank you for your patience.
Best,
David

Hi Hectór (@EctordAniel),
I've released v4.3.2 which includes a fix for this issue. Try it out if you don't mind.
Thank you for creating this issue.
Cheers,
David

Thanks David. Ok, i'll tried.


Bench Viewer Mujoco1M What Version Environments?

What version of the Mujoco envs were used to generate these results? v1 or v2?

Cool, perhaps it might make sense to add a link to benchmarks.py in the benchmark page?


Custom Kubernetes Labels on a Workflow / Team

Is your request related to a problem? Please describe.
Workflows are limited to a specific set of labels.
Describe the solution you'd like
Custom kube labels / annotations (maybe solved through a yaml editor view with ‘advanced’ things that could be added)
Describe the benefits or justification for this request
Allows for expansion / customization with the implementation.
Additional context
Much more detailed needed to determine next steps with this enhancement
FYI: @simon-harris-ibm

Implement a new section on the Configure screen for Labels with a creatable that allows you to create the key and the value, similar to the Carbon component in the catalog
Labels would get applied to all objects

PVC
Configmap
Pod

Need to update the storage of the labels in the workflow model and pass into the objects to the Controller

The controller has been updated on the feat-41-customlabels branch to support these changes and custom lables


Uncaught TypeError in useFlag

Describe the bug
Calling the useFlag() function in my project raises a TypeError:
useFlag('travel.landing')

My configuration
// main.ts
import { createApp } from 'vue'
import App from './app/index.vue'
import { plugin as unleashPlugin } from '@unleash/proxy-client-vue'

const config = {
  url: 'http://localhost:4242/api/frontend',
  clientKey: 'default:development.unleash-insecure-frontend-api-token',
  refreshInterval: 15,
  appName: 'vue',
}

const app = createApp(App)
app.use(unleashPlugin, { config })
app.mount('#app')

<!-- TaskFooter.vue -->
<template>
  {{ enabled }}
</template>

<script lang="ts" setup>
import { useFlag } from '@unleash/proxy-client-vue'
const enabled = useFlag('travel.landing')
</script>

Steps to reproduce the bug
I tried to reproduce it in a simple Vue app but it worked fine there. It raises the error only in my existing project.
Expected behavior
No response
Logs, error output, etc.
Uncaught (in promise) TypeError: Cannot destructure property 'isEnabled' of 'inject(...)' as it is undefined.
    at useFlag (index.es.js:1581:11)
    at setup (TaskFooter.vue:40:17)
    at callWithErrorHandling (runtime-core.esm-bundler.js:155:22)
    at setupStatefulComponent (runtime-core.esm-bundler.js:7044:29)
    at setupComponent (runtime-core.esm-bundler.js:7000:11)
    at mountComponent (runtime-core.esm-bundler.js:4921:13)
    at processComponent (runtime-core.esm-bundler.js:4896:17)
    at patch (runtime-core.esm-bundler.js:4488:21)
    at mountChildren (runtime-core.esm-bundler.js:4684:13)
    at processFragment (runtime-core.esm-bundler.js:4855:13)

Screenshots
Backtrace:

The line on which this error is raised:

How useFlag() is called:

Additional context
No response
Unleash version
4.22.5
Subscription type
Open source
Hosting type
Self-hosted
SDK information (language and version)
Vuejs 3.2.30

Hi @kostyadubinin, thanks for raising this issue.
Since you mentioned that this does not happen on a new, simple project, but only in your existing one, I would start by checking your dependency versions. E.g. you mentioned that you are using vue: "3.2.30" in your project - Is it viable to try bumping that to vue: "^3.2.45" to match the proxy-client-vue dependency and see whether that helps?
I also suggest having a look at https://github.com/nunogois/proxy-client-vue-demo - It's a simple demo that uses proxy-client-vue. This way you can check whether you still see the issue when running that project out of the box and what the differences may be between your project and this demo one.
Sorry if I can't be a bigger help at this stage, but hopefully this will give you a starting point to debug your issue.

Thanks for your reply @nunogois! I will take a look at the demo app and will check if I get the same error with a newer version of Vue.

@nunogois, I get the same error with Vue 3.2.45 but I found a workaround, I use unleash-proxy-client-js instead of proxy-client-vue and it seems to be working fine.

I get the same erorr when I try to use the useUnleashClient composable in a plugin:
export default defineNuxtPlugin(async (nuxtApp) => {
  console.info(useUnleashClient())
})

Uncaught (in promise) TypeError: Cannot destructure property 'client' of 'inject(...)' as it is undefined.
    at useUnleashClient (@unleash_proxy-client-vue.js:1719:11)
    at watch.immediate (03.xxxxx.ts:108:20)
    at callWithErrorHandling (chunk-RAKT47ZN.js:1565:18)
    at callWithAsyncErrorHandling (chunk-RAKT47ZN.js:1573:17)
    at job (chunk-RAKT47ZN.js:3162:9)
    at callWithErrorHandling (chunk-RAKT47ZN.js:1565:32)
    at flushJobs (chunk-RAKT47ZN.js:1763:9)

I'm working around it by just importing the client manually, but it would be nice to be able to use the awesome composables. 🙏

So, this usually happens when you're trying to use the library methods without starting your Unleash client first - There's no Unleash client context injected yet, that's why you get that error. It's trying to grab client from a value that is still undefined. I think improving the error is something we should consider doing at a later stage as it's not very intuitive as it is.
Can you double check that the error goes away if you set up your Unleash client correctly before calling the associated methods?
I set something up that may help you: https://github.com/nunogois/proxy-client-vue-nuxt-plugin-demo

Thanks for looking into this @nunogois. 🙇 I think the problem might come from the fact that I'm using Nuxt (3). I'm initializing the Unleash client before calling useUnleashClient(), yes, but it happens in another Nuxt plugin. Even though they're set to load sequentially and I can confirm in other ways that the Unleash instance exists at the moment of calling useUnleashClient(), in the context of the Nuxt lifecycle it fails.
I think this happens because the Nuxt context gets lost between the first plugin and the second, as (TLDR:) runWithContext(() => useUnleashClient()) succeeds where useUnleashClient() fails.

No problem! Thank you for coming back with more detailed information.
That might be the case 🤔 It's been a while since I've used Nuxt extensively, so your insights are much appreciated.
I tried reproducing the issue by adding a second plugin in my demo app but I couldn't reproduce it: Everything seems to be working correctly. Can you please confirm that it also works for you? If not, could you please share a reproducible example?
Even if it works in Nuxt, the truth is proxy-client-vue was originally intended to be used in a frontend environment. That being said, if you identify something that we can improve to make your experience better with Nuxt or just in general, please let us know 🙂


[Bug Report] cascader and form collocation appear (setting props), prompt does prompt

Element UI version
2.4.6
OS/Browsers version
windows10/Chrome68
Vue version
2.5.17
Reproduction Link
https://jsfiddle.net/jepin/w8d6g507/
Steps to reproduce
设置完props属性后，form的验证就取不到值！
What is Expected?
更换props为其他属性！
What is actually happening?
props属性应该是有冲突

thanks，setting props and setting formitem props in form children