Updated token info data

Holders update
Trees planted changed to Trees Contracted
Changed Trees number 101M

Updated the CCI Index to indicate the trees contracted rather than the trees planted


Test case for IDENTITY-4219

Marking as on-hold till the product-is kernel version upgrade to 4.4.3.


Updates to IBM Cloud IAM Operator v0.1.0 - Upstream

Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

New Submissions

[ ] Does your operator have nested directory structure?
[ ] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Is your submission signed?

Updates to existing Operators

[x] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[x ] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[ ] Modify more than one operator
[ ] Modify an Operator you don't own
[ ] Rename an operator - please remove and add with a different name instead
[ ] Submit operators to both upstream-community-operators and community-operators at once
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description about the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

@J0zi Is there anything that I need to do to rebase this file and resolve the merge conflict?

@aavarghese, please rebase, otherwise you are making commits to the code which is out of sync. Make your master synchronized (reset, pull with rebase) and then rebase your branch onto master. Finish with forcepush.

@J0zi rebase and merge completed. Please let me know if this looks good

/retest

/test CVP


[SMALLFIX] updating example instructions

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9476/
Test PASSed.

LGTM


I'm not sure.

Are you sure this issue is related?
Anyway, the problem is that modules/sd_samplers_kdiffusion.py, line 41, wants a definition for Heun_a_sampler, in modules/sd_samplers_extra.py. The definition doesn't exist, so loading fails.
It looks like the line has been edited from the entry for the Restart sampler:
{indent} ('Restart', sd_samplers_extra.restart_sampler, ['restart'], {'scheduler': 'karras', "second_order": True}),
so either edit it back, or delete it if there is another entry for Restart.

Please refrain from replacing files in the release package and follow the instructions in the README for the operation. If you're not fond of this approach, I'll swiftly release a plugin version to add this sampler as a plugin. Stay tuned for updates.


chore(frontend): Remove Unused Svelte Files

The following files were removed because they were not used in the project anymore:
src/frontend/src/btc/components/send/BtcReviewNetwork.svelte
src/frontend/src/icp/components/send/IcReviewNetwork.svelte
src/frontend/src/lib/components/send/ReviewNetwork.svelte
src/frontend/src/lib/components/send/SendBtcNetwork.svelte

@DenysKarmazynDFINITY it's maybe related to your recent changes to the Send wizard modal? Are those still used?

Maybe we should ignore this without merging this week, until Bitcoin gestire feature is released?

@DenysKarmazynDFINITY ?

Sorry, missed the notification here. 2 of those components are actually in use, the other 2 - I will fix it in a separate PR. After that, we can close this one.

@peterpeterparker @DenysKarmazynDFINITY I will actually close this one because I just re-run the workflow manually on main and it gave no unused components
I imagine that one of the latest PR made it so they are all used again


go/consensus/tendermint: Use our notion of latest height

Do not let Tendermint determine the latest height as that completely ignores
ABCI processing so it can return a block for which local state does not yet
exist.

https://docs.tendermint.com/master/spec/abci/abci.html#query

Height (int64): The block height for which you want the query (default=0 returns data for the latest committed block). Note that this is the height of the block containing the application's Merkle root hash, which represents the state as it was after committing the block at Height-1

we'd be changing this part of tendermint's query semantics


#497 ASG Suspended Process Filter

Suspended ASG Process Filter
Filters out any ASG that has 1 or more suspended processes

This isn't useful, its already covered by builtin value filters.


docs: Adds help document for debugging

Adds debugging help documentation described in #993

I think this should be placed to wiki rathar than code base because it is not specifically related to our code base, this technique or knowlegde may change over time depends on golang/vscode evolve.

Moved to wiki

https://github.com/merico-dev/lake/wiki/How-to-enable-a-debugger-in-Go


Duplicate code in output

Say I have multiple components that require the same css file. When I use this plugin I get output file with multiple duplications of the contents of this file. Is there a way to prevent extracting files that were already extracted in the output file?

I'm experiencing this issue too.
Tried with DedupePlugin and UglifyJsPlugin, without success.

It seems that this is something that has to be handled by the specific loader.
See, for example:
https://github.com/jtangelder/sass-loader/issues/31
I'm facing this problem with cssnext-loader.

@zimok yeah, you’re right, the issue is happening before extract text plugin starts working

While the original issue here is related to sass/less/stylus, a fix/hack/patch for this is to use the optimize-css-assets-webpack-plugin in conjunction with extract-text-webpack-plugin to produce, like this: https://gist.github.com/phun-ky/766e5ec9f75eac61c945273a951f0c0b.
If you want to use this in dev, you will have to use a plugin like write-file-webpack-plugin to force webpack to write the file to disk in dev.


When Attribute1´s value is empty, the activity Query Values failed "The given key was not present in the dictionary"

Expected behavior and actual behavior.
Expected behavior is the field not contains data.
When Attribute1´s value is empty, the activity Query Values failed "The given key was not present in the dictionary".
Steps to reproduce the problem (screenshots are really usefull)
The field to query is an string and it´s empty.
Plugin Trace:
[msdyncrmWorkflowTools: msdyncrmWorkflowTools.QueryValues]
[msdyncrmWorkflowTools (<IP_ADDRESS>): Query Values]
Load CRM Service from context --- OK
EntityName: account - Attribute1:mks_emailaddress - Attribute2:name - FilterAttribute1:name - FilterAttribute2:statecode - ValueAttribute1:Unilever España, S.A.  ValueAttribute2:Active
Executing Query...
Executed Query Ok, 1 records ...
Setting results
error: The given key was not present in the dictionary. -    at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at msdyncrmWorkflowTools.QueryValues.Execute(CodeActivityContext executionContext)
CRM Version - online/onpremise - WorkflowTools version
Dynamics 365 v9 Online - Dynamics365WorkflowTools_1_0_54_1

solved the issue in version <IP_ADDRESS>-
thanks for reporting!


Error Decrypting HiSuit Backup: cannot decrypt with an empty encMsgV3

Hi I have been trying to decrypting my phone's back. However, I keep getting this issue with one of the backups.
General Info:
HiSuite Version: <IP_ADDRESS>_OVE
Phone: Huawei Mate 20 Pro
Windows 10
Python 3.7.5
Below is the output message:
ERROR:root:cannot decrypt with an empty encMsgV3!
Traceback (most recent call last):
File "kobackupdec.py", line 932, in
main(user_password, backup_path, dest_path)
File "kobackupdec.py", line 866, in main
decrypt_backup(password, files_folder, dest_path_out)
File "kobackupdec.py", line 810, in decrypt_backup
decrypt_files_in_root(decrypt_info, path_in, path_out)
File "kobackupdec.py", line 696, in decrypt_files_in_root
with tarfile.open(fileobj=io.BytesIO(cleartext)) as tar_data:
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\tarfile.py", line 1578, in open
raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully

Hi @malyahy2 ,
that's unexpected because if unable to decrypt, None should be returned and tar error should be avoided... Did you change something in the script? Could you please try with the latest version?

Try again with the latest version. Reopen the issue in case. Thanks.


Add the outline and check-crate-conf commands

I am currently working on https://github.com/crate/crate/pull/11277, and after I converted crate.yml to use RST-style heading syntax, I immediately noticed a problem. The outline of the file looked like this:
Basic setup
  Memory
  Persistence
  Networking
  Clustering
Advanced settings
  JMX monitoring plugin
  Authentication
    Host-based access
    Trust-based authentication
  User-defined functions (UDFs)
  Secured communications (SSL/TLS)
    Optional configuration for the truststore
  Cluster settings
    Graceful stop
    Routing allocation
  Node settings
  Paths
  Memory
  Network and HTTP
  Metadata gateway
  Recovery throttling
  Discovery settings
  Sharding
  Field-data circuit breaker
  Threadpools
  Metadata
  Garbage collection (GC) logging
  SQL
  Query circuit breaker
  Usage-data collector (UDC)
  Backup and restore (aka snapshots)
  PostgreSQL wire transport

The "Basic setup" section is okay because it does not attempt to mirror anything in the documentation. However, the "Advanced settings" section is supposed to list all CrateDB configuration options (it does not list all options, but that is potentially another topic for another day).
The most immediate problem with this outline is that the CrateDB documentation splits the configuration options into two major sections:

Node-specific settings
https://crate.io/docs/crate/reference/en/latest/config/node.html

Cluster-wide settings
https://crate.io/docs/crate/reference/en/latest/config/cluster.html

In the crate.yml file, we have:

A "Cluster settings" section with two subsections: "Graceful stop" and "Routing allocation"

A "Node settings" section with no subsections

These two sections appear in reverse order and are positioned halfway down the file. The rest of the sections resemble a seemingly random assortment of subsections from both the "Node-specific settings" and "Cluster-wide settings" documents.
The result is a confusing and misleading mess of information. However, the cause of this problem is straightforward enough: The two "sources of truth" (re what the config options are) have had over half a decade to drift apart.
For comparison, below are the outlines of the two sections in the docs.
Node-specific settings:
Basics
Node types
Read-only node
Hosts
Ports
Paths
Plug-ins
CPU
Memory
Garbage collection
Authentication
  Trust authentication
  Host-based authentication
      HBA entries
Secured communications (SSL/TLS)
Cross-origin resource sharing (CORS)
Blobs
Repositories
Queries
JavaScript language
Custom attributes

Cluster-wide settings:
Non-runtime cluster-wide settings
Collecting stats
Shard limits
Usage-Data Collector
Graceful stop
Bulk operations
Discovery
  Unicast host discovery
    Discovery via DNS
    Discovery on Amazon EC2
    Discovery on Microsoft Azure
Routing allocation
  Awareness
  Balanced shards
  Cluster-wide allocation filtering
  Disk-based shard allocation
Recovery
Memory management
Circuit breakers
  Query circuit breaker
  Field-data circuit breaker
  Request circuit breaker
  Accounting circuit breaker
  Stats circuit breakers
  Total circuit breaker
Thread pools
  Settings for fixed thread pools
Metadata
  Metadata gateway

As I started to attempt to bring crate.yml in line with the documentation, I realized it would be difficult to do this by hand. I also realized that the two sources of truth would quickly drift apart again. An unfortunate consequence of this practically unavoidable violation of the principle of Do Not Repeat Yourself.
I have used diff to verify the contents of tarballs before, and I realized that I could use the same method to compare the two sources of truth if only I could generate outlines of the headings.
I wrote the outline script added by this commit to satisfy that wish. Read the docstring in the file for details (there is an example showing how the program can be used with diff to satisfy my use-case).
By way of demonstration, I generated the outlines in this commit message (above) using the outline program.
My original plan was to commit this file to the primary CrateDB repository, with the thought that we might eventually use it for automated testing. However, I realized that a secondary use for this program is as a validation tool for our RST style guide more generally.
For example, when I first ran outline on cluster.rst in the docs, I noticed that some sections were at the wrong level (e.g., one level too deep). The standard RST parser can only tell you if your use of underlines is inconsistent within one document. It cannot tell you if your use of underlines is inconsistent between documents.

I have added a second commit to this PR. I wrote this script to help me put the outline program to use while working on crate.yml. it occurred to me that this script may be helpful in the future, so I shaped it up a bit and added some documentation so other people can figure out a) what it is for, and b) how to use it
here's what it looks like in action:

this screenshot shows the current difference between the "cluster settings" section of the crate.yml file and the "cluster settings" page in the CrateDB documentation. ideally, these two "sources of truth" align

@amotl thanks for the review!! I made the following changes based on your suggestions:

renamed the script outline-headings. I didn't want to call it outline-rst because that implies that the script is only intended for RST files. I think the documentation in the script is sufficient with regards to RST being the base style expected for heading markup

converted the script to modularize the functionality as suggested

I didn't change the quoting of literal values in the docstrings. the double backtick style is an RST specific thing. for normal CLI scripts I prefer to use the standard single backtick style used by other programs for UNIX-like systems


Support web proxy in external interop tests

Update oqsprovider-externalinterop.sh to support web proxy in external interop tests. To determine whether to resort to proxy handling, checks if env var HTTP_PROXY is set
Fixes #282

@baentsch  when do you think this one would be merged? I'm eager to delete my fork of this repo.

@baentsch when do you think this one would be merged? I'm eager to delete my fork of this repo.

Are you charged for having this fork? I've been trying to understand why CI's failing on this/what's going wrong with the Windows build. Or in other words, I'm not eager merging something with CI failing. But then again, your code has nothing to do with this, so I bite this bullet.

Are you charged for having this fork?

He... Not really - but I already have more repos up here than is comfortable, so I'm trying to keep their number down.

I've been trying to understand why CI's failing on this/what's going wrong with the Windows build.

That would be interesting to know - but as you pointed out:

your code has nothing to do with this

Exactly. I'm willing to bet that other CI on this repo also fail on Windows.
Of course, I've no idea whether OpenSSL app (executable) on Windows accepts the same parameters (-proxy, -allow_proxy_certs), or even what version it is at.

so I bite this bullet

Thanks!


MIVisionX - Release Updates

C++ Compiler Link consistency

@kiritigowda do you want me to run any tests on this?


Installing from AppRegistry

I found a helm chart that tells me to install it using helm registry install quay.io/... rather than helm install.
(The specific chart being https://github.com/kubernetes-sigs/aws-alb-ingress-controller/tree/master/alb-ingress-controller-helm)
Is this possible using helmfile?

I don't believe we have any way to currently support the helm registry plugin.

OK, that's fine - I'm happy to just install the chart from local files.


GUI rewrite; Angular vs React

I would like to move the very unwieldy GUI setup to use a proper front-end framework, such as Angular or React (or other?), as it is a bit of a pain for me to maintain the GUI using raw HTML and JS.

Where is the roadmap/plan for moving to react?


Having an issue to reproduce the result

Hello @IntelligenceDatum ,
We tried to reproduce the results by using the pre-trained model available at :

3.Network_Storage_and_Results/Network Storage/BEDN_11.mat

However, we noticed that the activations of convolution layers (outputs) after 'binConv2' are not integers because, when the weights and inputs are binary, we are expected to see integer outputs. So, could you help us to understand what's happening?

First of all, thank you for visiting my repo. Thank you for reproducing my model.
Straight to the reason, the network model I uploaded is a model immediately after training is finished, the final binarization task has not been processed yet.
So, if you want to reproduce the model, follow below:

load('BEDN_11.mat', 'OriginNet');
layers=AutoConstructHWLayer(OriginNet);
lgraph=layerGraph(layers);
SimNet=DAGNetwork.loadobj(lgraph);
featureMap = activations(SimNet, I, SimNet.Layers(5, 1).Name,'ExecutionEnvironment','gpu'  ); %5 is 'binConv2', you know :)

I just checked that 'binconv2' outputs an integer when using the above method.
Originally, the original process was to automatically generate SimNet using the 'FINNBinarizedNetworkMaker' function, but it seems to not work now because of the 'OutputScaleLayer'. I think it would be good to trying with the method mentions above.
If you've succeeded in reproducing the above method, I'd appreciate it if you let me know again.
I'll update this method in the main readme so others can get help.

Thank you for your kind response,
We run the commands you provided and get the integer result on the 'binConv2' layer. However, we tried to see the network classification output by running these commands:

load('BEDN_11.mat', 'OriginNet');
layers=AutoConstructHWLayer(OriginNet);
lgraph=layerGraph(layers);
SimNet=DAGNetwork.loadobj(lgraph);
C = semanticseg(I, SimNet);
B = labeloverlay(I,C,'Colormap',cmap,'Transparency',0.5);
figure(1)
imshow(B)
pixelLabelColorbar(cmap, classes);

Which generates following figure:

But if we run the semanticseg on the OriginNet instead, we have this figure:

Could you please help us to find out if we are doing something wrong?
We appreciate your time and attention.


Add ids/Events.h

Problem
Since Events is a recent addition, it does not provides an ids/Events.h file like what is done for Attributes, Commands and `Clusters.
Change overview

Add ids/Events.zapt to generate the relevant file
Update the tree to use it

/rebase


deps-dev: Update glob to version 9.2.1

It now includes types, so @types/glob is no longer needed.
It also no longer automatically sorts results. Some uses were left unsorted, but the first glob in src/site/components/preview/preview.11tydata.js is now explicitly sorted as it ends up affecting which standalone component page is tested in Playwright as we only test the first one.
This also fixes component previews on Windows. They weren't working there because the Windows path separator, \, is an escape character in globs. The problem was resolved by enabling the windowsPathsNoEscape option in all globs. This changes the meaning of \ so it works on Windows as a path separator, but can't be used to escape special characters.

Also added a fix for a problem on Windows where component previews wouldn't work.


Wrong shell

macOS uses zsh
  __()_         os: Mac Os
.'     '.       wm: Quartz Compositor
|      (        kn: Darwin 21.5.0
'._____.'       sh: sh

$ echo $SHELL
/bin/zsh

This is a common bug caused by the $SHELL variable. I will look forward and fix that.

should be fixed now

Okay, so, the bug was the fact that in swef, if the basename program is not found, then it will fallback to sh. Now if there is no basename, it will just display $SHELL. This means that you will get /bin/zsh instead of zsh

thx!


Add a second serial device

Use the following GPIO pins:

PC0: TxD1
PC1: RxD1
PC2: RTS1
PC3: CTS1

Acceptance Criteria

I must be able to enable and disable the peripheral so that I can use those pins for other GPIO purposes
A MOS API interface for:

Enable (set baud rate, control bits, flow control, etc)
Disable
Send
Receive
Interrupt handler

MOS API:

Enable: Done
Disable: Done
Send: Done
Receive: Done
Interrupt Handler: TODO


Support Linode cloud credential for rke2 clusters

It is supported for RKE1, so we should support for rke2 clusters

@gaktive I believe that we are going to be focusing primarily on provisioning again in v2.6.3 if that's what you're asking. :)

Linode now available

Ember UI shown below.
The credential is just the  Linode API access token

@vincent99 Is this already done? It appears that the option to create a Cloud Credential for Linode RKE2  is in the UI already.

@nwmac to update this with what exists in Ember already.

Tasks:

Improve the presentation of the existing screen
Add validation of the token that the user enters (as per the Ember UI) - see: https://github.com/rancher/ui/blob/master/lib/global-admin/addon/components/cru-cloud-credential/component.js#L296

Waiting for 36360 blocker issue to test this issue.
@sowmyav27 @jordojordo

Closing issue as resolved based on validation in 36360


Multiple instances of a function by different names, incorrectly share env vars

I have a single function definition that can be included in a stack multiple times with different names.
  someIds.forEach((someId) => {
     const populatorFunction = new sst.Function(this, `someFunction-${someId}`, {
        handler: 'src/main/handler/populator.someHandler',
        environment: {
          MY_VAR: someId,
        },
      });

      new sst.Cron(this, `MyCron-${someId}`, {
        schedule: process.env.POPULATOR_CRON,
        job: {
          function: populatorFunction,
        },
      });
  })

So you can see that the MY_VAR env var is set according to the value from a string array defined earlier.
When running this using sst start I'm seeing some odd behaviour regarding the env var MY_VAR.
On the first kick off of each lambda via the cron, sometimes the value of the env var is correct. However, after that, both lambdas have the same value for that env var. Sometimes they're the same on first start too.
Is there something about the local execution environment that would env vars end up getting shared between invocations of shared code?
@thdxr mentioned this could be do with the approach to hashing so maybe comparing the has and the function name might the way forward

Hi guys - any thoughts on this? It's causing us a fair bit of extra work as have to change our deployment for running locally to only use one instance of a function

I'm going to be releasing something at the end of this week that will fix this issue

Great news, thank you

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


[Unity] Fix build error with IL2CPP

Build fails in Unity when compiling with IL2CPP for non-iOS platforms, because UnityEngine.iOS.NotificationServices is not resolvable

AFAIK this solution will not work for a few reasons - primarily because we ship a static DLL via NuGet out to our targets, so unless you're compiling the SDK from source this will result in no code actually being shipped.
@hallucinogen has more context in regards to this code, passing to him for his thoughts.

Yes, unfortunately this won't work for the reason Richard mentioned. The current workaround here would be making two separate .dll - one only for iOS and one for everything else by adding .dll to Plugins folder.
Unfortunately currently we can't make this work properly on Unity 5.x (this changes was made during Unity 4.x time). We're actively looking for some way to make it work on Unity 5.x.


Delete orphaned images (ML)

Contributes to #19353.

I think images under the snippets/image-classification/csharp/assets/images should probably remain the same. They're used in the code.

Good catch!


allow custom external image

This change adds a property that allows the user to configure a non-standard image to be used as the node-image.
We needed to pull a node image from a corporate proxy to avoid docker rate limiting so building our own via the node-input property didn't make a ton on sense.
Readme formatting got kind of mangled, sorry.

Sorry for the late reply!
I think the same can be achieved already, by pulling in your custom image via a concourse resource (registry-image, with format: oci) and feed that into kind-on-c via the node-image input.
I would rather prefer that, so concourse keeps track on which image is being used and the task container does not go off an pull in "random things" (it already does that too often, as it stands right now).
Would that solve your issue?


fix: support athena in column profiling

I can't approve this PR since it's authored by me, but @baturayo this is good to go.
@vijaykiran feel free to merge it if nothing bad jumps to you.


Rebrand sign in page to say OSF not COS

This comes from the community repo: https://github.com/CenterForOpenScience/community/issues/199
Steps
1. Log out of the OSF
2. Visit a private project on the OSF so that you can get to the login page
Current Behavior
1. The user is brought to a page that says COS at the top, even though they are logging into the OSF:
![screen shot 2015-06-09 at 2 12 17 pm](https://cloud.githubusercontent.com/assets/4965832/8065783/b19b4c6a-0eb1-11e5-902b-8bebd3728e7c.png)
Expected Behavior
1. The user should be brought to a page that says OSF, so that we maintain consistent branding and don't confuse the user:
![osf_logo](https://cloud.githubusercontent.com/assets/4965832/8065787/b712ee64-0eb1-11e5-9937-ed34746ec543.png)
I have the image file, using the correct font, for whoever addresses this issue.

Is this what we want? Honestly, COS log is more beautiful!

@AndrewSallans @jlcohoon -- We'll want a review on this ^^^ -- Thanks.

It's worth mentioning that this will be a login for all COS services, not just the OSF, and eventually for other services that want to use our login. It's not wrong to call it an OSF login, but think about the generic presentation for all of the cases, not just the one we're using now.

Could we not use this?  This is the logo/text that is presented when using the small-sized OSF window via responsive design.

If we can reverse it, i.e. blue text on white with O logo -- that could be a sound approach.

That'd be fine.  I just think that structure and pairing is what we should go with.

:+1: to @brianjgeiger
Think of this like google's auth servers. when you log into gmail, youtube, etc. the auth server still says google.

Another :+1: for leaving it as "COS". Perhaps a clarification to something like "COS Tools" or "The COS Suite" - but not yet. That can and should wait until we get it more consolidated in terms of branding.


rye 0.4.0 on windows is virus

Steps to Reproduce

download installer from rye-up

update to 0.4.0 by rye self update

Expected Result
Edge downloaded it.
Run cmd
Actual Result
Edge is blocked download it.
windows blocked because virus.

Version Info
I cannot cmd now.
but 0.4.0.
Stacktrace
No response

Unfortunately nothing I can do here. Whatever software you are using to do virus scanning is probably picking up on a bad signature. We had this before (#468).
You can just download the installer on the website manually, bypass the protection on the dialog and continue.


mode cookies doenst work in server side render

when use the mode "cookie" and in the ssr try get the status of a cookie through context.store.state.localStorate/sessionStorage return empty value.

same


Default CI Java Version to Java 11, run tests on 8, 14 and 17

Coming from https://github.com/opensearch-project/opensearch-plugins/issues/64, default CI Java version to 11 (LTS), and run tests on 8, 14 and 17.

[ ] Change the default Java version for CI in GitHub actions from 14/15 to 11 (LTS).
[ ] Add Java 8, 14 (used before), and 17 (next LTS) to the CI matrix.
[ ] Document Java versions in DEVELOPER_GUIDE.md.

@ohltyler You still need to build on JDK 8

@dblock I thought 8 became optional. We had encountered some failures building with it:
11 = must, 8 = should, 14 and 17 = nice to have

What about JDK17? We also had problems with that one. Is that still optional? Is this issue out of date?

@dblock there's problems doing this with JDK8 - details in #409


help(MatTableModule): table refresh: only refresh changed row(object)

What are you trying to do?
const ELEMENT_DATA: PeriodicElement[] = [
  {position: 1, name: 'Hydrogen', weight: 1.0079, symbol: 'H'},
  {position: 2, name: 'Helium', weight: 4.0026, symbol: 'He'},
  {position: 3, name: 'Lithium', weight: 6.941, symbol: 'Li'},
];

const ELEMENT_DATA2: PeriodicElement[] = [
  {position: 1, name: 'Hydrogen', weight: 1.0079, symbol: 'H'},
  {position: 2, name: 'Helium', weight: 4.0026, symbol: 'He'},
  {position: 3, name: 'Lithium', weight: 6.941, symbol: 'Li'},
];

/**
 * @title Binding event handlers and properties to the table rows.
 */
@Component({
  selector: 'table-row-binding-example',
  styleUrls: ['table-row-binding-example.css'],
  templateUrl: 'table-row-binding-example.html',
})
export class TableRowBindingExample {
  displayedColumns: string[] = ['position', 'name', 'weight', 'symbol'];
  dataSource = ELEMENT_DATA;
  clickedRows = new Set<PeriodicElement>();

  test(): void {
    this.dataSource = ELEMENT_DATA2;
  }
}

When test() is called, I find that all table rows dom are recreated.
Is there a way to let MatTableModule auto compare old array and new array (primary key id), only rerender changed rows.
Thanks,
What troubleshooting steps have you tried?
run the code
Reproduction
run the code
Environment
code from https://material.angular.io/components/table/examples

Perhaps you need to use trackBy. Taken from the angular material site:
@Input() trackBy: TrackByFunction<T>

Tracking function that will be used to check the differences in data changes. Used similarly to ngFor trackBy function. Optimize row operations by identifying a row based on its data relative to the function to know if a row should be added/removed/moved. Accepts a function that takes two parameters, index and item.

@mrmokwa thank you, I will have a try


Update README.md

Fixed typo in readme

Codecov Report
Patch coverage has no change and project coverage change: -0.14 :warning:

Comparison is base (edc3bb6) 46.72% compared to head (259d93d) 46.59%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1163      +/-   ##
==========================================
- Coverage   46.72%   46.59%   -0.14%
==========================================
  Files          12       12
  Lines        1526     1526
==========================================
- Hits          713      711       -2
- Misses        671      672       +1
- Partials      142      143       +1

see 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Thank you

Welcome
On Wed, May 17, 2023, 07:17 mattn @.***> wrote:

Thank you
—
Reply to this email directly, view it on GitHub
https://github.com/mattn/go-sqlite3/pull/1163#issuecomment-1550551901,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALHXVJGN7QTPQ5NK5UQSQETXGQRJFANCNFSM6AAAAAAYEB3H2Q
.
You are receiving this because you authored the thread.Message ID:
@.***>


Type 'FileList' must have a 'Symbol.iterator' method that returns an iterator.

Bug Report

🔎 Search Terms

TS2488 must have a '[Symbol.iterator]()'
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about 'TS2488, iterator'

⏯ Playground Link

For some reason I am unable to reproduce this issue in the playground.
But I have created a stackblitz project that demonstrates the issue.
StackBlitz project
Then in the console type npx tsc -p jsconfig.json
💻 Code

index.js
const fileList = new FileList();
for (const file of fileList) {
  console.log(file);
}

jsconfig.json
{
	"compilerOptions": {
		"lib": ["dom", "esnext"],
		"target": "esnext",
		"checkJs": true
	},
	"files": ["index.js"]
}

And then run tsc -p jsconfig.json
🙁 Actual behavior

Error: TS2488: Type 'FileList' must have a 'Symbol.iterator' method that returns an iterator.
🙂 Expected behavior

It doesn't fail.

https://www.typescriptlang.org/tsconfig#lib
You're missing "dom.iterable".

Ah thanks!
Sorry, it thought that "lib": ["dom"] would include all other dom.* libs as well.


Fix springmvc reactive api can't collect HTTP statusCode.

Fix

[x] Add a unit test to verify that the fix works.
[x] Explain briefly why the bug exists and how to fix it.
The framework change httpCode after AbstractMethodInterceptor.  Replace it with
org.apache.skywalking.apm.plugin.spring.mvc.v5.InvokeInterceptor.

[x] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #5905.
[x] Update the CHANGES log.

@wu-sheng InvokeInterceptor enhance org.springframework.web.reactive.result.method.InvocableHandlerMethod. This class only appears in the webflux package.  This method will only be executed when the user uses webflux, if it is not used, it should not affect the original process.

@wu-sheng InvokeInterceptor enhance org.springframework.web.reactive.result.method.InvocableHandlerMethod. This class only appears in the webflux package. This method will only be executed when the user uses webflux, if it is not used, it should not affect the original process.

@ascrutae Could you verify the codes?

Could you move the webflux plugin into the plugins folder to resolve this issue?

@ascrutae  When using springmvc reactive api, two spans will be created by mistake.
I think we can only  webflux plugin  when not  using spring mvc api

@ascrutae When using springmvc reactive api, two spans will be created by mistake.
I think we can only activate webflux plugin when not using spring mvc reactive api.
And when use webflux plugin, the trace is broken.

Could you give me a simple demo to reproduce this issue ?

@ascrutae Move the webflux plugin into the plugins folder and run springmvc-reactive-scenario demo

@ascrutae I feel that springmvc 5 plugin and webflux plugin should be two levels. Just like springmvc5 plugin and tomcat plugin. So the problem of the springmvc5 plugin that cannot collect http code should also be fixed. This issue should have nothing to do with the webflux plugin, right?

You're right,  the spring plugin should work single.


Unable to get topics from HoloLens

[x] I am at the right place and my issue is directly related to ROS#. General technical questions I would post e.g. at ROS Answers or Stack Overflow. For library-specific questions I would look for help in the corresponding library forums.
[x] I have thoroughly read the Contributing Guideline and writing this issue is the right thing to do in my case.

I have a question!

[x] I searched the Wiki, open and closed issues for an answer. I tried my best to find the answer by myself without success. I believe that the discussion we will have in this issue, and the solutions we might find, will help me, and likely other community members who have a similar problem.

Here is my question:

Hi!
I'm using @dwhit rosbridge code for HoloLens. I'd like to call service /rosapi/topics in order to get the list of topics available in my ROS. I developed a simple Unity scene where by clicking a button the topic list is retrieved and just printed it as Log message. I included new scripts in RosCommunication folder to do this:
ServiceConsumer.cs
using System;
using System.Collections.Generic;
using UnityEngine;

namespace RosSharp.RosBridgeClient
{
    [RequireComponent(typeof(RosConnector))]
    public abstract class ServiceConsumer<Tin, Tout> : MonoBehaviour where Tin : Message where Tout : Message
    {
        public string ServiceName;
        Tin arg;

        protected virtual void Start()
        {
            GetComponent<RosConnector>().RosSocket.CallService<Tin,Tout>(ServiceName, ServiceCallHandler, arg);
        }
        protected abstract void ServiceCallHandler(Tout t);
    }
}

In the above code I have serious doubts about the way Tin arg is defined and used as argument for CallService.
GetTopicsServiceConsumer.cs
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using rosapi = RosSharp.RosBridgeClient.Services.RosApi;

namespace RosSharp.RosBridgeClient
{
    public class GetTopicsServiceConsumer : ServiceConsumer<rosapi.TopicsRequest, rosapi.TopicsResponse>
    {
        public Dictionary<string, string> Parameters;
        public Button btn;

        protected override void Start()
        {
            btn.onClick.AddListener(TaskOnClick);
            Parameters = new Dictionary<string, string>
            {
                { "UnityVersion", UnityEngine.Application.version}
            };
        }

        protected override void ServiceCallHandler(rosapi.TopicsResponse response)
        {
            response = new rosapi.TopicsResponse();
            Debug.Log("[SERVICE RESPONSE] "+response.topics.ToString());
        }

        void TaskOnClick()
        {
            base.Start();
        }
    }
}

I also adapted the Library/RosBridgeClient/Services/RosApi/Topics.cs code. Note changes on ros_api/Topics to rosapi/Topics, and including public string[] types; to the response.
Topics.cs
using Newtonsoft.Json;

namespace RosSharp.RosBridgeClient.Services.RosApi
{
    public class TopicsRequest : Message
    {
        [JsonIgnore]
        public const string RosMessageName = "rosapi/Topics";
        public TopicsRequest()
        {

        }
    }

    public class TopicsResponse : Message
    {
        [JsonIgnore]
        public const string RosMessageName = "rosapi/Topics";
        public string[] topics;
        public string[] types;
    }
}

As suggested in README, I built the solution and copied over the new RosBridgeClient.dll and RosBridgeClientUWP.dll to Unity project.
The error
When I click the button on HoloLens scene trying to call the topics service I get the error Exception thrown: 'System.NullReferenceException' in Assembly-CSharp.dll.
I was able to publish and subscribe to topics with all of this setup, but I couldn't overcome this callservice issue. Hope any suggestion :)
Thanks!

Problem solved.
There were erros on my code because I took RosBridgeClient/RosCommunication/GetParamServiceProvider.cs as reference.
InGetTopicsServiceConsumer.cs left in previous comment some fixes were needed:
protected override void ServiceCallHandler(rosapi.TopicsResponse response)
{
      response = new rosapi.TopicsResponse();
      Debug.Log("[SERVICE RESPONSE] "+response.topics.ToString());
}

ServiceCallHandler parameter is not an out parameter, so when invoking response as new rosapi.TopicsResponse in the next line, an empty response is been created and therefore a response.topics access thows a NullReferenceException. Just remove that line and I can get the topic list.
Anyway, I think the fix ofTopic.cs is needed to make this task run correctly.

Thank you @dvargasfr  for reporting the bug in Topics.cs. fixed in this commit.


refactor: move config file from cli into one places

move config file cli/ulimit.go, cli/blkio.go, config/opt/runtime.go
to apis/opts/config, put all user defined flag var type into one places.
Signed-off-by: Ace-Tang<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

LGTM


it does not work, error message: "Cannot read property [0] of undefined"

I wish it was functional because such a feature is badly needed in Code. Yet when I compare projects I get a javascript error as per the title.

Thanks for report. It's clearly working for some people :)
Can you describe the steps that leads to the error. Also, can you include your system information?
You can copy it from the about menu. It should be something like:
Version: 1.45.1
Commit: 5763d909d5f12fe19f215cbfdd29a91c0fa9208a
Date: 2020-05-14T08:33:47.663Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.4.0

Hi Mosh, sorry for the late response, I am on a rush deadline and switched to my other editor (IntelliJ) for its compare feature, and was buried in work for a while... Anyhow, I tried again and now it is working! The JS error no longer shows up.
Strange but I am delighted. I see that you pushed an update 7 days ago - might it have fixed this?  Hard to know because I was not able to isolate the bug when it happened. The bug just showed up when I selected a folder, but it no longer does.
My project is way too big for IntelliJ, which chokes on its indexing - a problem that MS-Code does not have, even with ~1 million lines of code in a few thousand files. So I am thrilled to finally have a working "folders compare" that works with Code. Thank you so much for an awesome job!
So everything is good, I am ready to close the issue if that is OK with you.
Quick suggestion: IntelliJ has two cool features very useful in comparison: (a) where you can simply copy an entire file over to the other side with one click, which is useful if there are many changes but you are the only one working on a module so you just want to accept them all, and (b) where you copy from one side to the other with one click (instead of copy / paste from side to side.
Both are great time savers. Would you consider adding these to CompareFolders?
Thanks again for a great job.
Zvika

I'm glad to hear :)
That's why I like vscode. It's much less "heavy" than the alternatives. You can close the issue.
(Also star the project and 5 stars the extension are very appreciated 😉)
About the suggestion. First, thanks! If I understand you correctly, you're talking about the diff view itself (the view after you click on a file with differences).
Unfortunately, vscode lacks that very important feature (https://github.com/microsoft/vscode/issues/25887). I made another extension to add this capability. It's not perfect. vscode lacks also important APIs to make it better but I improve it from time to time as much as I can.
I have a thought to integrate both of the extensions so "compareFolders" will offer to compare files using "Diff & Merge" but haven't get to it yet.
Please try "Diff & Merge" and if it fits to your needs, create an issue to integrate it with "compareFolders" and I hope vscode's API will allow me to do this.

will do!


Update order of arguments for click/4 + allow title to be optional

Hello, here's my PR for making click/4's title an optional argument.
Due to elixir's rules for applying default arguments, I made the decision to move the http_method default to the end, and moved title \\ nil as the second argument. This is because we will wish to override the title default more often than we wish to override the method default. Now the click/4 can be used in four different ways:
# Defaults: title = nil, method = :get
Pages.click(page, "[data-role=my-data-role]")
# OR
Pages.click(page, data_role: "my-data-role")

# Defaults: method = :get
Pages.click(page, "My Special Link", "[data-role=my-data-role]")
# OR
Pages.click(page, "My Special Link", data_role: "my-data-role")

# Override method, no title selector
Pages.click(page, nil "[data-role=my-data-role]", :post)
# OR
Pages.click(page, nil, [data_role: "my-data-role"], :post)

# No defaults
Pages.click(page, "My Special Link", "[data-role=my-data-role]", :post)
# OR
Pages.click(page, "My Special Link", [data_role: "my-data-role"], :post)

Note that in the last example, we must write our selector as [data_role: "my-data-role"], because the selector is no longer the last argument. In my opinion this tradeoff is worth it; it's probably uncommon to want to specify a title, a selector, and :post. If you can think of a cleaner solution to the ordering/defaults problem, I'm all ears.

I have an idea, but I won’t have time to try it out until a little later today.

Changing this (in the top-level Pages module):
  @doc """
  Simulates clicking on an element at `selector` with title `title`.
  Set the `method` param to `:post` to click on a link that has `data-method=post`.
  """
  @spec click(Pages.Driver.t(), http_method(), binary(), Hq.Css.selector()) :: Pages.Driver.t()
  def click(%module{} = page, method \\ :get, title, selector), do: module.click(page, method, title, selector)

to this:
  @doc """
  Simulates clicking on an element at `selector` with title `title`.
  Set the `method` param to `:post` to click on a link that has `data-method=post`.
  """
  @spec click(Pages.Driver.t(), http_method(), binary(), Hq.Css.selector()) :: Pages.Driver.t()
  def click(%module{} = page, method, title, selector), do: module.click(page, method, title, selector)

  @spec click(Pages.Driver.t(), http_method(), Hq.Css.selector()) :: Pages.Driver.t()
  def click(%module{} = page, :get, selector), do: module.click(page, :get, nil, selector)
  def click(%module{} = page, :post, selector), do: module.click(page, :post, nil, selector)

  @spec click(Pages.Driver.t(), binary(), Hq.Css.selector()) :: Pages.Driver.t()
  def click(%module{} = page, title, selector), do: module.click(page, :get, title, selector)

  @spec click(Pages.Driver.t(), Hq.Css.selector()) :: Pages.Driver.t()
  def click(%module{} = page, selector), do: module.click(page, :get, nil, selector)

might work and obviate the need for re-ordering the params. What do you think?

I like it. I think we could ship a breaking change if needed, but prefer not to if possible.
The fact that :method is always in [:get, :post] makes it pretty easy to pattern match the different variations.

Also is_binary(title) can make things more deterministic.

Also is_binary(title) can make things more deterministic.

Hmm.... the title can be a string, a Regex, or nil. I guess the current typespec is wrong. Maybe we need to define @type text_filter() :: binary() | Regex.t() | nil

I can take a crack at the proposed changes today

Awesome, thanks Andrew!


Binary search should return closest value larger than search value

Description

Binary search currently returns closest match for a search item. While in other applications this would be fine, in Leonardo we need it to return the next closest value that is larger than the search item.
Example:
Ratio input for 3:1 (search for 3)
Generated colors have close matches of 2.9 and 3.03
Current binary search would return 2.9
Considering the search is typically for a contrast minimum, we need the search to return 3.03
Steps to reproduce

Expected behavior

Screenshots

Leonardo package and version

Environment

Browser(s) and OS(s):

Additional context

Hi @NateBaldwinDesign I would like to work on this. Please can you assign it to me.

Hi @NateBaldwinDesign, Can you please assign this issue to me? I would like to work on it

If I am not wrong this has already been fixed.

Oops! thank you for the confirmation, @fedeci

@fedeci It does not work for all the scenarios. Please find below the test cases for which it fails

Should return closest match (ascending)
list = [2, 2.9, 3.01, 3.03];
value = 3

Should return closest match (descending)
list = [12, 5, 3.3, 3.14, 3.13, 3.12, 3.1, 3.07, 3, 2, 1]
value = 3.09

@bhavika24 You are right, I run tests a couple months ago only evaluating ascending order. My fault.

@FazeelUsmani if you are still interested I can assign this to you. See @bhavika24 's example above. This still needs fixed

@NateBaldwinDesign  I have fixed it and raised a PR https://github.com/adobe/leonardo/pull/104 for the same. Please review it.

@FazeelUsmani if you are still interested I can assign this to you. See @bhavika24 's example above. This still needs fixed

Yeah, I'm interested, @NateBaldwinDesign


npm run dev errors out

$ npm run dev

<EMAIL_ADDRESS>dev
sd concurrent "stencil build --dev --watch" "stencil-dev-server"

[57:27.1]  @stencil/core v0.1.6
[57:27.2]  build, app, dev mode, started ...
[57:27.2]  compile started ...
[ WARN  ]  @PropDidChange('pageNum') decorator within "list-container" component has been deprecated. Please update to
@Watch('pageNum').
[57:39.6]  compile finished in 12.41 s
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[ ERROR ]  error performing compiler upgrade on
<EMAIL_ADDRESS>TypeError: Cannot read property 'map' of undefined
[57:41.8]  bundle styles started ...
[57:42.0]  bundle modules started ...
[57:43.6]  bundle styles finished in 1.76 s
[57:44.8]  bundle modules finished in 2.88 s
[57:44.8]  generate bundles started ...
[57:44.8]  generate bundles finished in 12 ms
[ ERROR ]  Error parsing: bundle:ion-segment.ion-segment-button, line: 2, column: 9
[ ERROR ]  rollup died at
\node_modules@stencil\core\dist\compiler\index.js:1781:19 at
Generator.throw () at rejected
(\node_modules@stencil\core\dist\compiler\index.js:1748:65) at

[ ERROR ]  Error parsing: bundle:ion-col.ion-grid.ion-row, line: 1, column: 9
[ ERROR ]  Error parsing: bundle:ion-menu.ion-menu-controller, line: 2, column: 9
[ ERROR ]  Error parsing: bundle:ion-radio.ion-radio-group, line: 2, column: 9
[ ERROR ]  Error parsing: bundle:ion-range.ion-range-knob, line: 2, column: 9
[ ERROR ]  Error parsing: bundle:ion-fab.ion-fab-button.ion-fab-list, line: 1, column: 9
[ ERROR ]  Error parsing: bundle:ion-reorder.ion-reorder-group, line: 1, column: 9
[ ERROR ]  Error parsing: bundle:ion-button.ion-buttons.ion-icon, line: 2, column: 9
[ ERROR ]  Error parsing: bundle:ion-select.ion-select-option.ion-select-popover, line: 2, column: 9
[ ERROR ]  Error parsing: bundle:ion-tab.ion-tab-bar.ion-tab-button.ion-tab-highlight.ion-tabs, line: 1, column: 9
[ ERROR ]  Error parsing: bundle:ion-alert.ion-alert-controller, line: 2, column: 9
[ ERROR ]  Error parsing: bundle:ion-action-sheet.ion-action-sheet-controller, line: 2, column: 9
[ ERROR ]  Error parsing: bundle:ion-loading.ion-loading-controller, line: 2, column: 9
[ ERROR ]  Error parsing: bundle:ion-toast.ion-toast-controller, line: 2, column: 9
[57:56.5]  build failed, watching for changes... in 29.33 s

I just face that issue. We hope Stencil team can fix it!

Hello all! Ill look into fixing this. This example needs to be updated.


Feature/add stories to components

Partially addresses

Fixes #6  by @dhruvkb
Description
Added stories for the Button Component
Type of PR
This PR is a feature.
Checklist:

[x] My pull request has a descriptive title (not a vague title like "Update index.md").
[x] My pull request targets the master branch of the repository.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible errors.

Legal
By submitting this PR, I agree to abide by the terms of the Developer
Certificate of Origin.

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Hey @chidexebere, I saw that you're making one story with the knobs and the rest are fixed. That needs to be changed. The stories should have their individual knobs.
So the story about sizes should have size slider. The story about colours should have the knobs for color and shade and is-inverted. The story about addons should have the is-disabled/is-read-only knobs and so on.


Error in compiling the scss file with @use and @forward tag

I encountered an error while trying to compile my scss to css. Here are the details:
[common]# sass abc.scss xyz.css
Error: Can't find stylesheet to import.
   ╷
12 │ @use "src/styles/common/tokens" as *;
   │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
  abc.scss 12:1  root stylesheet

Additional Information:
Node.js version: v22.2.0
npm version: 10.7.0
ubi9 container
Please let me know if there are any additional details or steps I can provide to help resolve this issue. Thank you!

You're using Dart Sass, not Node Sass. If you're still experiencing this issue, please file a request on that repository.


Add support for exit_hook

Support for the exit_hook added into dehydrated in https://github.com/lukas2511/dehydrated/commit/298a7e9aafaa0b05c3f6ab6ca6538661f6b5feb8.

+1
Why don't we emit a warning upon encountering an unknown hook instead of simply failing?

@hai-ld You are right, we should do that. I'll open an issue for it.


Request: Backups

The updateHostsFile.py should create a backup of the users original hosts file.  This is just good practice, and could prevent losing a custom hosts file built over time.

This is an excellent idea.

I would guess this issue can be closed now?


fix: #1426

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch.
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue-test-utils/blob/dev/.github/CONTRIBUTING.md#development-setup
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
Closes #1426

@lmiller1990 よろしくおねがいします！

This is just typing for the props definitions, right? Can you give an example of what this actually does (eg does this give better VSCode suggestions?)

I wrote the test code like this.
https://gist.github.com/kahirokunn/a15c911cbad33082afb41cc861524c2d
I got the error in there
const wrapper = shallowMount(functionalComponent, { localVue, propsData: { tag: 'p' } })

because functionalComponent type is not FunctionalComponentOptions<Record<any, any>>
my functionalComponent type is FunctionalComponentOptions<{ tag: string }>
FunctionalComponentOptions approve to inject Generics.
so I fixed vue test utils type definition.

Right, makes sense. Seems fine to me. Great!

Thank you!

Forgot about this... it looks fine, let's merge it up.
VTU for V3 will be much more TS friendly - I might ask for your help with some of the definitions 🤔


Update README.md to add an FAQ item about Sequel Pro and MySQL 8

I had trouble with SequelPro when I first started using Takeout.

@ian-nisbet I am able to replicate connection issues with sequel pro when using mysql 8. But mysql 5.7 works fine.
When attempting to connect with sequel pro using mysql 8, using <IP_ADDRESS> did not help. This is likely an issue with how sequel pro is connecting to mysql 8 and it isn't really something we can fix on our end.
Can you help me verify that this is the case? If so, maybe we can add a warning in the README about this specific situation.

@josecanhelp OK, so @ian-nisbet is saying switching to <IP_ADDRESS> helped but you're saying it didn't? Just want to make sure--thanks!

@mattstauffer I just attempted to reproduce this again. I was able to connect with Sequel Pro using <IP_ADDRESS> without any issue. Unfortunately, Sequel Pro hasn't had a release since 2016 so it is known to be finicky.

@ian-nisbet I am going to close this ticket out. Sequel Pro should likely be avoided as a client. Per Freek, there is a more updated version called Sequel Ace.
https://twitter.com/freekmurze/status/1301030834879770625


Fixed Navbar links response time #281

Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state "None”]
#281
Description
[Please include a brief description of the changes or features added]
Fixed the reponse issue of navbar navigation links. Now links can be clicked easily hence improving the ux.
Type of PR

[x] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]
Checklist:

[x] I have performed a self-review of my code
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional context:
[Include any additional information or context that might be helpful for reviewers.]
Assign me under GSSoC'24 please.

@PatilHarshh Please review the PR.

@PatilHarshh Please review this PR 😢


Variability Index calculation error due to incorrect average power?

Hi - thx for a great plugin.
Variability index (VI = the fraction of normalised power and average power) is sometimes calculated incorrectly.
For this strava activity: https://www.strava.com/activities/1149931366 VI is determined to be 1.12:

VI should have been 297 / 274 = 1.08:

This is also confirmed by Training Peaks:

Please investigate and let me know if more info is needed.

It seems to me that average power as used by StravistiX is the problem.
In the first screenshot Avg Watts/Kg is calculated by StravistiX as 3.41.
My weight has been specified in StravistiX as 78 kg:

This implies that Avg Watts as used by Stravistix is 3.41 x 78 = 266.
VI is then calculated as 297 / 266 = 1.12 as confirmed by the first screenshot.
But average power is actually 274 W, please see second screenshot form Strava. This number is confirmed by Garmin Connect and Training Peaks.

@harnbak Thx for report and sry the delay of fixing

Looks fine now, thx


ABAP Boolean issue

Hi,
I upgraded to the latest 2Ui5 version.
Unfortunately, the ABAP boolean field bindings for e.g editable, visible,etc are not working anymore.
Error: "" is of type string, expected boolean for property "editable" of Element sap.m.DatePicker#__picker0.
My fields are of data element type "BOOLE_D". It seems with data element "ABAP_BOOLEAN" it works.
Did you implement a check on the used data element?
Thanks,
Axel

Hi @choper725,
do you know the tag ID? I have a lot of issues after the upgrade to the latest version :-(.
I'm thinking to switching back....

@axelmohnen @oblomov dev
will surely know. cant remember if that the last one or one before that

yes which types are a boolean is defined here:
https://github.com/abap2UI5/abap2UI5/blob/d2f242d38e9471694bb8f3bd3c996cfc46f26bd8/src/01/01/z2ui5_cl_util_api.clas.abap#L396-L405
added now boole_d with https://github.com/abap2UI5/abap2UI5/pull/1011 so it should work now on your side again. but i recommend using abap_bool or xsdbool for booleans as it is also recommended in the ABAP styleguides.

Hi @oblomov-dev,
it works again. Thanks a lot for the fast support!
Kind regards
Axel


Accessing the typed in info

I am a junior developer and started using your library recently.
Hope it's not too much of a layman question..
Description
I am transferring a single page form to a step by step from using your library.
In the former code e.target.elements stored all the information from the form-elements after pressing the submit button, now it returns undefined.
How should I pull the submitted info?

If I'm understanding this right, you should be able to see all your data in the state/store.

Thanks for the rapid response and apologies for my late one..
I tried passing
  handleSubmit = async e => {
    e.preventDefault();
 console.dir(this.state);
  };

To the <form onSubmit={this.handleSubmit}> that wraps <StepZilla preventEnterSubmission={true} steps={steps} />
and got an empty state after filling the form.
I also tried to  console.dir(StepZilla.state) but got undefined.
Since I might have not explained correctly I am trying again.
As described above, I was converting an HTML form to StepZilla and I want to send the information collected in StepZilla to a server but I don't know where it's stored and how to access it.
The former form used:
  handleSubmit = async e => {
    e.preventDefault();
    const formElements = e.target.elements; // Here the information was stored
// rest of the function goes here, it checks and sends the data
}

Looking forward to your replay :)

You should not be wrapping StepZilla inside a form.
You should be using the step components, you can create a submit function that handles the submit just be sure to pass it to the component.
You should be able to use this.state in your main file but in order to access it in the components you need to be passing it in props.
Let me know if that help or if you have any more questions.

Thanks mate :)
I sorted it out by setting the input information to the parent state. All methods are there (the parent) as well and are passed as props to the children (the form steps).

Glad you got it working!


Unrecognized command 'android' with react-native 0.31

can you run ls in your project and post the results?

@satya164 The android folder structure goes this way on react-native upgrade

subscribing.
I nuke my android folder sometimes. What happened to react-native android?

My current work-around is to have a generate-android-project.js script that looks like this:
const fs = require('fs');
const generate = require('react-native/local-cli/generate/generate.js');

generate([
  '--platform', 'android',
  '--project-path', process.cwd(),
  '--project-name', JSON.parse(
    fs.readFileSync('package.json', 'utf8')
  ).name,
]);

Then you can just:
node generate-android-project.js

This has the exact same effect as:
react-native android

But what about react-native android?
There has to be replacement command for this instead

I have this issue as well:

$ react-native run-android
Android project not found. Maybe run react-native android first?

$ react-native android
  Unrecognized command 'android'
  Run react-native --help to see list of all available commands

$ ls
RouterConfig.js		components		ios			package.json
android			index.android.js	node_modules
assets			index.ios.js		notes

cc @grabbou @Kureev can you take a look at this one please?

This should be reopened as this still happens on the latest version.

@Flavien With latest of RN
react-native upgrade does the complete work for you

I still get the Android project not found error after running react-native upgrade, and it still suggests running a non-existent command. This should be reopened.

@cogwheel any fix for adding android/ios folders to an RN project?

@SupriyaKalghatgi Thanks for your update.

This should be definitely re-opened as it causes the same error.

OK. My Problem got fixed by enabling Virtual Device from BIOS in Windows 10 and ran the emulator in Background (I am novice to Android)! But still, why it didn't run in my connected Android device directly ?

thanks @SupriyaKalghatgi

Whats the final answer ? me too am stuck

@huxaiphaer  react-native upgrade hopes this will help as said by @SupriyaKalghatgi


Update code style:consistent-return

[x] tests and linter show no problems (npm t)
[ ] tests are added/updated for bug fixes and new features
[x] code is properly formatted (npm run fmt)
[ ] description of changes is added in CHANGELOG.md
[ ] update .d.ts typings

Update eslint-config-metarhia to 8.2.0 in separate commit but within this PR

Landed in https://github.com/metarhia/metautil/commit/11080f82c8566fb35d4a0c22889289ed0881e62e and https://github.com/metarhia/metautil/commit/69042735d0cc4ea67b99b0e2b792446e00480033


Wrong link for Service Fabric Support.

In the line "For a list of supported versions, see Service Fabric support" it is taking to a support page. I think it used to take to a page where it used to give list which version of sdk is compatible with which version of runtime. I do not see that link anymore.

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

ID: 23e79576-36ff-8e39-9d21-adc897608b73
Version Independent ID: bb904115-2166-6871-6347-0941dbb32d2a
Content: Set up a Windows development environment for Azure microservices
Content Source: articles/service-fabric/service-fabric-get-started.md
Service: service-fabric
GitHub Login: @rwike77
Microsoft Alias: ryanwi

@tkumark Thank you very much for reporting.
is this (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-versions) the page you were expecting?

Yes that is the link


Generic Iterator Implementation

I created a convenience method for consuming the logs.filter_log_events call to abstract away the next_token handling and checking for dupes in a CLI tool I'm playing around with. I thought this snippet might be useful more generally, but am unsure of the best way to structure it. I've included the current state of my Iterator implemention in this PR but am looking for a bit of guidance as I don't expect it be particularly useful in its current state. I see a few potential uses:

Modification to the codegen to generate this kind of pattern for each boto method which uses this calling convention
A macro to achieve the same goal as ^
A cleanup of this helper if this pattern doesn't generalise properly

Additionally, I imagine the overhead of checking for dupes might not be useful in general so would have no objections to stripping that bit out. It also seems like an async version (Stream impl) would be achievable with easy code re-use.
My understanding of both rust and this project isn't deep enough to properly implement either of the above I fear, but I'm keen to delve deeper if this is something you see as being useful. Cheers!

This looks really useful, I agree that having something like this would be great!
Generally speaking, the helpers crate is more or less unmaintained at the moment (as it says in the readme), and we've been implementing service-specific helper code inside a ::util module per service create (see here for an example).
That said, I like your thinking around making this more generic, and possibly leveraging the codegen! The way that the codegen works is that it reads the service definitions from the botocore repository and uses that to generate Rust code.
As luck has it, botocore defines not only the service APIs themselves, but in some instances also a set of "paginators" that allow paging through collections based on tokens and limits. For example, the paginator definition for logs defines a paginator for FilterLogEvents, by specifying the input and output tokens, as well as the limit and result keys.
We should be able to use that kind of definition to autogenerate the type of code you wrote manually here, but for all AWS services that rusoto supports.
Would you be interested in trying that approach? I'm happy to provide guidance for you to delve into the codegen!

Yeah I'm interested in having a go at this. So from my understanding I need to be able to generate something like this:
pub struct FilteredLogEventIterator {
    // Client for making the request
    client: CloudWatchLogsClient,
    // Parameters for the request to cloudwatch
    req: FilterLogEventsRequest,
    // All the events we have downloaded but not tried to yield yet
    buffered_items: Vec<FilteredLogEvent>,
}

impl Iterator for FilteredLogEventIterator {
    type Item = FilteredLogEvent;

    fn next(&mut self) -> Option<FilteredLogEvent> {

        // Return the next item in the buffer if there is one
        if self.buffered_items.len() > 0 {
            return self.buffered_items.pop();
        }

        // Request the next batch of items from the API when out of buffered ones
        let res = self.client.filter_log_events(&self.req).sync();
        match res {
            Ok(output) => {

                // Add downloaded items to the buffer
                let mut new_items = &mut (output.events.unwrap_or(Vec::new()));
                new_items.reverse();
                self.buffered_items.append(new_items);

                // Update the next_token for the next API request
                if output.next_token.is_some() {
                    self.req.next_token = output.next_token;
                }

                // Return the first newly downloaded item if there is one
                self.buffered_items.pop()
            },
            Err(error) => {
                println!("AWS Cloudwatch Error: {:?}", error);
                None
            }
        }
    }
}

from the following:
"FilterLogEvents": {
  "input_token": "nextToken",
  "output_token": "nextToken",
  "limit_key": "limit",
  "result_key": [
    "events",
    "searchedLogStreams"
  ]
}

"FilterLogEvents":{
  "name":"FilterLogEvents",
  "http":{
    "method":"POST",
    "requestUri":"/"
  },
  "input":{"shape":"FilterLogEventsRequest"},
  "output":{"shape":"FilterLogEventsResponse"},
  "errors":[
    {"shape":"InvalidParameterException"},
    {"shape":"ResourceNotFoundException"},
    {"shape":"ServiceUnavailableException"}
  ],
  "documentation":"
Lists log events from the specified log group...
"
},
 "FilterLogEventsResponse":{
  "type":"structure",
  "members":{
    "events":{
      "shape":"FilteredLogEvents",
      "documentation":"
The matched events.
"
    },
    "searchedLogStreams":{
      "shape":"SearchedLogStreams",
      "documentation":"
Indicates which log streams...
"
    },
    "nextToken":{
      "shape":"NextToken",
      "documentation":"
The token to use when requesting ..
"
    }
  }
},

Is a good starting point to define a trait here, then call it here?

I've had a first crack adding iterators via the codegen, with varied success @srijs. I'm having some trouble with the following:

Locating the Item type for each response as there is inconsistent structures in the service JSON. You can see in the generated code that the unwrap from here is being triggered.
Naming the Iterator struct. It needs to be unique but there are multiple possible implementations for each method (see here) so I've parametrised it by the names of item and result_key. This makes some long weird names for the generated structs.

Any feedback or ideas on fixing these bits would be great!

Once the current backlog of PRs gets complete, I'll be able to check this PR out. Thanks for bearing with us!

I'd love to see this, especially since botocore just added a bunch of the missing paginator definitions that have been bugging us for a while!
Just FYI, the paged iterators can get somewhat gnarly at times though. Take a look for example at IAM's GetAccountAuthorizationDetails, which is "simultaneously" paging over 4 different collections (roles, policies, users, and groups), and some of which don't appear immediately. So for example, a call to that API might return:
// First call, pseudocode
GetAccountAuthorizationDetailsResult {
  policies: [],
  roles: [ foo, bar, baz ],
  users: [ joe ],
  groups: [],
  marker: Some("morestuff"),
  is_truncated: true
}

// Second call, with "morestuff" passed in as marker
GetAccountAuthorizationDetailsResult {
  policies: [ policy1, policy2 ],
  roles: [ meow, woof, baa ],
  users: [ bob ],
  groups: [],
  marker: None,
  is_truncated: false
}

Not sure how that behavior comes about behind the scenes, but my only point is that it might take several API calls to even start seeing any results for any of the sub-iterators.

The more I think about it and some of those weirder multi-iterator API calls, the more I lean towards having this sort of structure in rusoto:

Slurp up the paginators from botocore but largely ignore the result_key entries in them, only tying together the input_token and output_token
The basic automatic pagination code would then provide a simple iterator/stream over the existing *Result structs we have today. Although not the friendliest UX, this also matches what existing AWS SDKs do in this space, largely because the next step is so gnarly and inconsistent across services.
Eventually, we could also slurp up the result_key entries in the paginators definitions and produce convenience wrappers around the "chunky" iterator we write in #2.

Thus for someone like me calling GetAccountAuthorizationDetails and wanting all four of its disjointed streams, I'd use the chunky interface because there's not an efficient way to produce four separate iterators out of it without arbitrarily large queueing of results behind the scenes (which could get pretty messy if you need to iterate over all Xs before you can determine that there are no Ys left).
Any thoughts on this? I feel like I could probably add #2 to the codegen today but that there are a lot more messy details to be worked out in how best to provide an interface to #3, so I'd rather steer clear of that.

Sorry for the spam, but the other consideration here is how it this machinery should play with automatic retries for failed requests, as we've been discussing in #234.

We've been unable to get this awesome ergonomic change in and I don't want to lose it. I've made https://github.com/rusoto/rusoto/issues/1319 so we can keep track of this.
For this PR it's time to close it since it's quite stale. We will get this behavior in Rusoto, though! 👍


*: check request deadline before propose

What problem does this PR solve?
Part of #10166
What is changed and how it works?
A deadline is passed to async_write_ext. The deadline is checked before proposal and an error will be returned if the deadline exceeds.
TiKV clients cannot receive the response of expired requests. So these requests are actually meaningless to execute. This PR avoids wasting resource for requests that wait in TiKV too long.
Check List
Tests

Unit test

Release note

Check deadline before proposing a write command

How about the impact on performance?

How about the impact on performance?

The PR itself should have no visible performance change. It is very cheap to get a coarse time.

@hicqu PTAL

/merge

/test


Survey#active_at and Survey#inactive_at incorrectly defaulted

The attributes active_at and inactive_at on Survey are not initialized correctly. active_at should default to the creation time and inactive_at should start out null. Currently they do the reverse.

This behavior is correct according to the spec. See https://github.com/NUBIC/surveyor/blob/master/spec/models/survey_spec.rb#L72
This default prevents surveys from appearing automatically to users of your app before a developer has a chance to check them. If a different use case turns out to be the consensus, we should change the spec.

I see. I was confused because the names imply a range of time over which the survey may be taken. I.e., that a survey is active starting at some time and later becomes inactive. Under this interpretation, the defaults suggest that the survey was active from the indefinite past up to the instant at which it was created.
(The implementation of #active_as_of?, #activate!, and #deactivate! reflect this interpretation of the attributes, though now that I look at it closer, the way the setters are overridden does not.)
I agree that having a mechanism to allow surveys to be staged into a deployed application and then activated later makes sense. Since applications have to deliberately respect the active/inactive flags (i.e., it's an optional feature), perhaps a scheme like this would be less likely to cause confusion:

Default both active_at and inactive_at to nil.
Change the implementation of #active_as_of:

def active_as_of?(date)
  active_at && active_at < date && (!inactive_at || inactive_at > date)
end

This has the following benefits:

Applications which don't use active/inactive have only null values in those columns in their survey table, so there's nothing to cause confusion. (This is what originally triggered me filing this issue.)
Surveys start out inactive, then can be made active, then can be made inactive again, changing one value each time.
No magic necessary in the #active_at= and #inactive_at= setters.

How would you interpret it if active_at > inactive_at?

Inactive. If an application wanted to reactivate something it had explicitly marked as inactive, it would need to set the inactive date to the future, or to nil. (It would be reasonable for #activate! to handle this situation, probably by setting inactive_at to nil if it is in the past.)


Existing workflow - Failed to collect project info. Please contact our support team for help

Describe the bug
We have been using this github-action for over two years.
Our crowdin github actions started failing ~4 months ago with the following info.  Didn't notice this until today:

We tried using a more recent version of the github-action, and are now getting different "No source found" errors:

To Reproduce
Steps to reproduce the behavior:

Crowdin GitHub Action configuration
https://github.com/SimpleMachines/SMF/blob/release-2.1/.github/workflows/crowdin_wf.yml

crowdin.yml file content
https://github.com/SimpleMachines/SMF/blob/release-2.1/.github/crowdin.yml

Expected behavior
We expected source strings to be copied to CrowdIn, as in the past, and any new strings to become available for translation.  (We do not use the features where translations come back to github.)

Hi @sbulen,
Please make sure you're using the latest version of the Action. The easiest way to do it - is to specify the major version only crowdin/github-action@v1.

The crowdin.yml location causes the error. It's located inside the .github directory and as a result, CLI tries to find source files relative to this directory.
There are two ways to fix this:

moving the crowdin.yml configuration to the root of the repo.
updating the base_path option value: ../.

I am now getting this error.  Again, this workflow was working until 4 months ago:

Were the tokens changed?  Do we need to redo the token?

Update:  We have two folders in CrowdIn for our project (SMF_2-1 & SMF_2-1_NEXT).  The 2nd folder is used for upcoming release info, for versioning.  Having it around allows translations for upcoming releases to proceed in parallel with updates to the current release.
The first folder works fine (SMF_2-1).   The 2nd folder (SMF_2-1_NEXT) gets the error above.  I can reproduce this behavior in my test environment as well.
So it's not a token/ownership issue, because the first one works OK now (same project ID, same secret token).
But for some reason I cannot update the second folder.

@sbulen could you please share your Crowdin project ID? It's better to share it by contacting our support team and mentioning this issue as a reference

@sbulen thanks for the details. I checked from our side and it seems like your Crowdin personal access token doesn't have enough scope permissions for fetching all the needed information about the project.
Please try creating a token with the following scopes:

Thank you for the quick response.
I attempted the above in my test environment, and it did not work.
As before, it works fine for the first folder (SMF_2-1), but not the second folder (SMF_2-1_NEXT).
I still get the "❌ You do not have permission to view/edit project with provided id." error.  As both are in the same project, I am using the same project ID and token for both.
I repeated the test with a new token that had ALL permissions, and the results were the same.
The structure within CrowdIn looks like this:

@sbulen it's very strange. Could you please try Re-running the WF with the debug logging enabled?

This is the main part...  If you want me to copy the whole thing let me know...

STARTING CROWDIN ACTION
UPLOAD SOURCES
✔  Fetching project info
java.lang.RuntimeException: You do not have permission to view/edit project with provided id.
at com.crowdin.cli.client.CrowdinClientCore$1.(CrowdinClientCore.java:35)
at com.crowdin.cli.client.CrowdinClientCore.(CrowdinClientCore.java:28)
at com.crowdin.cli.client.Clients.getProjectClient(Clients.java:45)
at com.crowdin.cli.commands.picocli.ActCommandWithFiles.getClient(ActCommandWithFiles.java:30)
at com.crowdin.cli.commands.picocli.ActCommandWithFiles.getClient(ActCommandWithFiles.java:11)
at com.crowdin.cli.commands.picocli.GenericActCommand.run(GenericActCommand.java:37)
at picocli.CommandLine.executeUserObject(CommandLine.java:2026)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at com.crowdin.cli.commands.picocli.PicocliRunner.execute(PicocliRunner.java:39)
at com.crowdin.cli.Cli.main(Cli.java:16)
##[debug]Docker Action run completed with exit code 1
##[debug]Finishing: crowdin-action

Note we are using a personal access token within the CrowdIn UI, and selecting all permissions.  I cannot specify branch/folder there.  This has been working for us for a while.
Is it possible the personal access token & the api token are now different (since January 2023) & cannot be interchanged anymore?
Note I built a parallel test environment, and I am getting the same failure, even with a token with ALL permissions (pic below from test).  This new environment fails the same way, so the problem can be reproduced:
GH: https://github.com/sbulen/ci_gh_test1
CI: https://crowdin.com/project/crowdin-github-test

This action has been running successfully in our production environment for ~2 years.  It was implemented in ~3/2021, and ran ok every week thru 1/14/23.  The 1/21/23 run was the first time it failed.  (Pic below from the production runs.)

@sbulen, please make sure that the account under which the token is created has manager permissions for the project

Yes, confirmed the tokens were created by managers.
In my test environment,  I am also the site owner.

@sbulen please try creating a token on the project owner's behalf for that environment where the action is failing

No, that was production.

I wonder if project-specific "granular" access is needed now...

I just attempted creating a new token in test (as owner/manager) with granular access to the project in my test environment.
That failed similarly.
I sent a note to support with the project ID in test.
I don't want to do too much experimentation in production.

When I sent in the code for my test environment to support, they responded saying that my test run is failing because my free CrowdIn plan only supports one branch.
So... To be honest, I don't know if my production plan is failing for the same reason.  (I'm a volunteer! Not too familiar with the account details/history...)
I asked them if this is the reason for my production run failing as well.

Closing the loop -  yes, recreating the token worked!
Thanks,

Nice to hear that all works fine now :)


Feature/giscus

Closes #29

Codecov Report

Merging #30 (1695119) into master (b3f1fa0) will increase coverage by 0.19%.
The diff coverage is 95.65%.

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
+ Coverage   81.64%   81.84%   +0.19%
==========================================
  Files          82       84       +2
  Lines        1346     1366      +20
  Branches      114      115       +1
==========================================
+ Hits         1099     1118      +19
- Misses        239      240       +1
  Partials        8        8

Impacted Files
Coverage Δ

LinkDotNet.Blog.Web/Pages/AboutMe.razor
100.00% <ø> (ø)

LinkDotNet.Blog.Web/Pages/_Host.cshtml
0.00% <ø> (ø)

LinkDotNet.Blog.Web/Startup.cs
0.00% <0.00%> (ø)

LinkDotNet.Blog.Web/AppConfiguration.cs
100.00% <100.00%> (ø)

LinkDotNet.Blog.Web/AppConfigurationFactory.cs
100.00% <100.00%> (ø)

LinkDotNet.Blog.Web/Pages/BlogPostPage.razor
87.09% <100.00%> (+0.43%)
:arrow_up:

LinkDotNet.Blog.Web/Shared/Services/Giscus.cs
100.00% <100.00%> (ø)

...nkDotNet.Blog.Web/Shared/Services/GiscusService.cs
100.00% <100.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 b3f1fa0...1695119. Read the comment docs.


fix #143 by giving synonyms horizontal clearance

this clear: right that's being replaced certainly seems to be intended
to do the same thing, but (see issue #143 screenshots):

a. I've not been able to confirm what it actually does (perhaps it
worked at some point, but it doesn't seem to now)
b. I've given man pages a cursory glance and I can't see any harm
in having both (only effect is the fix of 143).

Thanks!


Audit usage of Guava cache

@AlexandraRoatis discovered an issue with the guava chache persisting to disk in low-memory-available situations (which still happens). It was discovered to be causing ugly race conditions with data retrieval from the database.
The guava cache is still being used, primarily in the json rpc api implementation.
Can we investigate:

https://github.com/ben-manes/caffeine as a replacement to guava cache
conditions / known bugs under which guava would store cache-set to disk

The outcome here would be to have enough confidence in either a new release of Guava cache or Caffeine cache to re-enable the application-level caching features for the database layer.

PR #699 switches us to the Caffeine library for Web3


Wrong balance in graph / chart during internal transfer

Issue description
During internal transfer between wallets the graph / chart is displayed with the wrong amount
Wallet version
Firefly
V0.3.1
System specification
What is your operating system?
Windows 10 Home 10H2
Is it a repeatable issue?
Yes
Steps To reproduce the issue
Explain how the maintainer can reproduce the issue.
1.just send MAX internaly to other wallet
2.
3.
Expected behaviour
Actual behaviour
Wrong value in graph / chart
Wrong chart - graph during internal transfer.pdf
Errors
Paste any errors that you see from the Error Log in the Firefly menu or share screenshots of the issue.

https://ibb.co/1fPbbb0

Duplicate of #864


Accordion: Heading: Multi-line (long) headings overflow accordion content (line-height is off, height is fixed)

Expected Behavior
When headings for accordion items are longer than their container, they should flow to a new line, which is spaced in a manner that makes it visually distinct from other items in the accordion. Further, when a new line is wrapped, the heading needs to be able to adjust its own size to grow taller and encompass all of its content, otherwise, this content is rendered on top of any other content below it (if expanded, accordion item content; else, other accordion item headings)
Actual Behavior
Accordion header wraps to new line, which is spaced in line with other items and overflows its parent container
Reproduce Scenario (including but not limited to)
Steps to Reproduce

Go to https://git.corp.adobe.com/pages/Coral/coral-spectrum/dist/playground
Create an accordion (or, copy/paste snippet; below)
Adjust one of the headings to be extremely long
Observe

Snippet that displays errant behavior:
<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" href="https://git.corp.adobe.com/pages/Coral/coral-spectrum/dist/playground/dist/css/coral.css"/>
  <script src="https://git.corp.adobe.com/pages/Coral/coral-spectrum/dist/playground/dist/js/coral.js"></script>
  <script>window.addEventListener("message", function(e) {document.head.insertAdjacentHTML("beforeend", e.data)});</script>
  <!-- Load other libraries/frameworks e.g. via a CDN -->
</head>
<body class="coral--light">
      <coral-accordion>
        <coral-accordion-item selected="">
          <coral-accordion-item-label>First label, let's see how it handles very long text content and wrapping, now that the white-space: nowrap style declaration has been removed. Eh oh. Trouble.</coral-accordion-item-label>
          This is the first bit o'content
        </coral-accordion-item>
        <coral-accordion-item>
          <coral-accordion-item-label>Second</coral-accordion-item-label>
          This is the second bit o'content
        </coral-accordion-item>
        <coral-accordion-item>
          <coral-accordion-item-label>Third</coral-accordion-item-label>
          This is the third bit o'content
        </coral-accordion-item>
      </coral-accordion>
</body>
</html>

Browser name/version/os (ie Chrome Version 62.0.3202.94 (Official Build) (64-bit) MacOS)
Chrome Version 71.0.3578.98 (Official Build) (64-bit)
Mac 10.14.2 (18C54)
...however, I believe this behavior will consistently reproduce across all browsers/platforms.
Spectrum-CSS version
I'm hoping that the documentation page uses the latest version, so 2.7.3?
Sample Code that illustrates the problem
See steps (above)
Screenshots (if applicable)
Accordion Item Expanded

Accordion Item Collapsed

I fixed this issue in the Admin Console and wanted to suggest a similar change for Coral. We can solve this problem by removing the hard reliance on line-height to achieve vertical alignment of the accordion content. By moving a bit of top/bottom padding to each item and taking a bit of height away from the line-height, we achieve an exact recreation of the original list rendering, while allowing for headings to wrap to new lines (oh, we also have to change the height declaration to auto and move the current height value to a min-height property; which, will allow each heading to expand gracefully while not collapsing in the case of missing heading, etc).
These changes should do the trick:
._coral-Accordion-itemHeader {
    position: relative;
    box-sizing: border-box;
    padding: 8px 16px 8px 34px;
    margin: 0;
    height: auto;
    min-height: 39px;
    font-size: 11px;
    text-transform: uppercase;
    line-height: 23px;
    letter-spacing: 0.0006em;
    text-overflow: ellipsis;
    cursor: pointer;
    font-weight: 500;
}

...and, it ends up looking like this:
Accordion Item Expanded

Accordion Item Collapsed

@zbrownell thanks for the report! I'm checking with Design to see if this should truncate or wrap.

@NateBaldwinDesign weighed in and informed us that Accordion item titles should wrap, and should maintain a sensible top and bottom padding. I've went ahead and submitted a fix.