'Long' only refers to a type, but is being used as a namespace here.

Long is not imported into the file that throughs error

I haven't seen this, but I have seen ts complaining about import Long from 'long'.
Do you have a suggestion for the fix?

or you mean to say that Long is never imported?

or you mean to say that Long is never imported?

If I look into the code of that file where i get the error, Long was not imported

I haven't seen this, but I have seen ts complaining about import Long from 'long'.
Do you have a suggestion for the fix?

Even am looking for the fix

I think I am able to fix if it's just missing an import.

Also am getting this import error

import { AminoMsg } from "@cosmjs/amino";
import { Long } from "../../../../helpers";
import { MsgCreateStableswapPool, MsgStableSwapAdjustScalingFactors } from "./tx";
export interface AminoMsgCreateStableswapPool extends AminoMsg {
    type: "osmosis/gamm/create-stableswap-pool";
    value: {
        sender: string;
        pool_params: {
            swap_fee: string;
            exit_fee: string;
        };
        initial_pool_liquidity: {
            denom: string;
            amount: string;
        }[];
        scaling_factors: Long[];
        future_pool_governor: string;
    };
}
export interface AminoMsgStableSwapAdjustScalingFactors extends AminoMsg {
    type: "osmosis/gamm/stable-swap-adjust-scaling-factors";
    value: {
        sender: string;
        pool_id: string;
        scaling_factors: Long[];
    };
}
export declare const AminoConverter: {
    "/osmosis.gamm.poolmodels.stableswap.v1beta1.MsgCreateStableswapPool": {
        aminoType: string;
        toAmino: ({ sender, poolParams, initialPoolLiquidity, scalingFactors, futurePoolGovernor }: MsgCreateStableswapPool) => AminoMsgCreateStableswapPool["value"];
        fromAmino: ({ sender, pool_params, initial_pool_liquidity, scaling_factors, future_pool_governor }: AminoMsgCreateStableswapPool["value"]) => MsgCreateStableswapPool;
    };
    "/osmosis.gamm.poolmodels.stableswap.v1beta1.MsgStableSwapAdjustScalingFactors": {
        aminoType: string;
        toAmino: ({ sender, poolId, scalingFactors }: MsgStableSwapAdjustScalingFactors) => AminoMsgStableSwapAdjustScalingFactors["value"];
        fromAmino: ({ sender, pool_id, scaling_factors }: AminoMsgStableSwapAdjustScalingFactors["value"]) => MsgStableSwapAdjustScalingFactors;
    };
};

what version are you running? This all seems to work.

If I use npm i osmojs it installs v0.28.0

and you don't see import { Long } from "../../../../helpers"; at the top of the files where Long is used? I can't seem to find this missing as indicated.

node_modules/osmojs/types/codegen/osmosis/bundle.d.ts:1211:50 - error TS2304: Cannot find name 'Long'.
1211                                 scaling_factors: Long[];
~~~~
node_modules/osmojs/types/codegen/osmosis/client.d.ts:589:30 - error TS2304: Cannot find name 'Long'.
589             scaling_factors: Long[];

You can see here that there it says import it

import { AminoMsg } from "@cosmjs/amino";
import { Long } from "../../../../helpers";
import { MsgCreateStableswapPool, MsgStableSwapAdjustScalingFactors } from "./tx";
export interface AminoMsgCreateStableswapPool extends AminoMsg {
    type: "osmosis/gamm/create-stableswap-pool";
    value: {
        sender: string;
        pool_params: {
            swap_fee: string;
            exit_fee: string;
        };
        initial_pool_liquidity: {
            denom: string;
            amount: string;
        }[];
        scaling_factors: Long[];
        future_pool_governor: string;
    };
}
export interface AminoMsgStableSwapAdjustScalingFactors extends AminoMsg {
    type: "osmosis/gamm/stable-swap-adjust-scaling-factors";
    value: {
        sender: string;
        pool_id: string;
        scaling_factors: Long[];
    };
}
export declare const AminoConverter: {
    "/osmosis.gamm.poolmodels.stableswap.v1beta1.MsgCreateStableswapPool": {
        aminoType: string;
        toAmino: ({ sender, poolParams, initialPoolLiquidity, scalingFactors, futurePoolGovernor }: MsgCreateStableswapPool) => AminoMsgCreateStableswapPool["value"];
        fromAmino: ({ sender, pool_params, initial_pool_liquidity, scaling_factors, future_pool_governor }: AminoMsgCreateStableswapPool["value"]) => MsgCreateStableswapPool;
    };
    "/osmosis.gamm.poolmodels.stableswap.v1beta1.MsgStableSwapAdjustScalingFactors": {
        aminoType: string;
        toAmino: ({ sender, poolId, scalingFactors }: MsgStableSwapAdjustScalingFactors) => AminoMsgStableSwapAdjustScalingFactors["value"];
        fromAmino: ({ sender, pool_id, scaling_factors }: AminoMsgStableSwapAdjustScalingFactors["value"]) => MsgStableSwapAdjustScalingFactors;
    };
};

what version are you running? This all seems to work.

What version should I use

I don't see the issue with long in 0.28. It is exported from the helpers file:
import Long from 'long';

if (_m0.util.Long !== Long) {
    _m0.util.Long = (Long as any);

    _m0.configure();
}

export { Long };

I can only see screenshots, but do you see an import at the top of the file? I am starting to think it's an issue with something else besides the code or long type itself. Maybe the TS server.

for long maybe we can try
import * as Long from 'long';

instead of
import Long from 'long'

and then export it. This may fix that part.

I can only see screenshots, but do you see an import at the top of the file? I am starting to think it's an issue with something else besides the code or long type itself. Maybe the TS server.

Nope I don't see any import statements for Long in this file node_modules/osmojs/types/codegen/osmosis/client.d.ts

I can only see screenshots, but do you see an import at the top of the file? I am starting to think it's an issue with something else besides the code or long type itself. Maybe the TS server.

Nope I don't see any import statements for Long in this file node_modules/osmojs/types/codegen/osmosis/client.d.ts

ok, that's what I needed, thanks for the path. Will get this taken care of.

I can only see screenshots, but do you see an import at the top of the file? I am starting to think it's an issue with something else besides the code or long type itself. Maybe the TS server.

Nope I don't see any import statements for Long in this file node_modules/osmojs/types/codegen/osmosis/client.d.ts

ok, that's what I needed, thanks for the path. Will get this taken care of.

Thanks for looking into it, let me know if the issue is fixed

Successfully published:
 -<EMAIL_ADDRESS>

should be fixed now @rishikhesh-cyD

[x] this file is now created: https://github.com/osmosis-labs/osmojs/blob/fbfcbab095397bdf4dc49e05007530ddb9bedc1b/packages/osmojs/types/codegen/osmosis/streamswap/v1/tx.rpc.msg.d.ts#L39
[x] long is now imported: https://github.com/osmosis-labs/osmojs/blob/fbfcbab095397bdf4dc49e05007530ddb9bedc1b/packages/osmojs/types/codegen/osmosis/client.d.ts#L589

@pyramation still facing some issues with the long import


ARROW-10195: [C++] Add string struct extract kernel using re2

8459

 Quality gate: Passed
2 Issues

 2 Code issues

Details


Basic Scatterplots & lot of bar plot fixes

Codecov Report

Merging #270 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #270   +/-   ##
========================================
  Coverage    71.14%   71.14%
========================================
  Files           22       22
  Lines         1705     1705
  Branches       371      371
========================================
  Hits          1213     1213
  Misses         410      410
  Partials        82       82

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 72bbb25...87f83df. Read the comment docs.


Falsches state durch js-controller / Admin 5.x. Update

`

spotify-premium.0
2021-05-13 08:41:11.826
info
(13860) State value to set for "spotify-premium.0.playlists.117911346-1zfcZcDPbAEzJFre6QPvHB.trackListArray" has to be stringified but received type "object"

`

duplicate #95, try github action


Santa Clara County, California

Added a source for Santa Clara County, California, that uses the following datasets from the county public health department via the county’s open data portal:

COVID-19 case counts by date
COVID-19 hospitalizations by date
County of deaths with COVID-19 by date
COVID-19 testing by date

The case count dataset lags a few days behind the public health department’s Power BI dashboard. Not only is it missing the latest few days, which the dashboard deemphasizes as being preliminary, but it also doesn’t reflect the latest revisions to scores of past dates. For example, this scraper reports 9,655 cases on July 25. That was what the county attributed to July 25 as of July 31, but the number has since been revised upward to 10,044. Still, it’s more accurate than the 8,833 that the Mercury News scraper comes up with, based on what the county reported for July 25 as of July 25.
covidatlas/coronadatascraper#1026 scraped the dashboard but was more fragile for that reason. Perhaps we could offer both the open data portal and the Power BI dashboard as complementary datasets: one more up-to-date, the other more durable.
This PR also contains a small correction to the sample source.

Santa Clara County also provides breakdowns by city and by ZIP code, but I’m unsure how to format the scraper’s return value. These breakdowns are only snapshots in time, not time series.

Thanks very much!
Re "Perhaps we could offer both the open data portal and the Power BI dashboard as complementary datasets: one more up-to-date, the other more durable." -- yes, one thing I'm considering for v2 reports is that we just give consumers all the data we have, as-is, in addition to providing some combined data sources like we do right now in v1.  Consumers can choose if/how they want to combine everything.
We also have the idea of "multivalent data" in this code, so when we report we can combine different data sources.  What this means is that we can keep the individual sources much simpler, we don't have to do things like "joining" the data sources like you've done here (and I've done in the past).
fyi there is a "sources/_lib/timeseries-filter.js" module that you might find useful in future.  You don't need to change this, unless you want to. 👍
I don't have time and data bandwidth to validate, I'll assume you've taken care of that.  :-D
Cheers, thanks!


node -v >5.6  always get error because of node-gyp debugger

This project never works for me.
`Running "wait" task

Waiting for server reload...
(node:14220) DeprecationWarning: Implicit async custom validators (custom validators that take 2
arguments) are deprecated in mongoose >= 4.9.0. See
http://mongoosejs.com/docs/validation.html#async-custom-validators for more info.
internal/crypto/pbkdf2.js:35
throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'digest',
^

TypeError [ERR_INVALID_ARG_TYPE]: The "digest" argument must be one of type string or null
at _pbkdf2 (internal/crypto/pbkdf2.js:35:11)
at Object.pbkdf2 (internal/crypto/pbkdf2.js:25:10)
at model.encryptPassword
(C:/Users/engcid299/node/sample/playground0000001/paizaqa1/server/api/user/user.model.js:217:19)
at
C:/Users/engcid299/node/sample/playground0000001/paizaqa1/server/api/user/user.model.js:120:12
at RandomBytes.ondone
(C:/Users/engcid299/node/sample/playground0000001/paizaqa1/server/api/user/user.model.js:190:9)
Stopping Express server
Done waiting!
`
I have other error, already fixed.
I have
node -v
v9.6.1
npm -v 5.6.0
when run
npm install
error out like:
node-pre-gyp ERR! Tried to download(404):
First this is a excellent project from every aspect,
whether you are angular beginner or learner,
and it could be used for useful meaningful project too.
I see the last update is 2 or 3 years ago, no activity in recent years.
I hope this project still live, add more and more feature, I can see it has good future.

Can owner make some change to let it works on node version > 5.6.0
For example, node -v9.x.X and -v8.x.x?
So far it only works with node -v5.6.0 and below
I have to downgrade node version from 9.x.x to 5.6.0
On windows, I use nvm-windows


Implement method slice() on roArray under the interface ifArraySlice

The interface is not documented by Roku, but here an example of usage:

It is available on Roku OS at least back to v9.1

This was implemented by #61


Sprint Planning

Sprint Planning
Week: 2
Due to illness, the team has not yet met in person. We plan on doing so after class on Thursday.
Tasks

Start HTML for the page.
Examine CC's original HTML & CSS and prioritise certain aspects of usability/design.
Decide on a unified design and colours.
Set deadlines/time expectations for certain tasks.
Ray will look into Vue.js
We will make a 'working prototype' of our HTML.

Blockers

Illness :(

Update : Planned for Tuesday 4th
Jayne
Header
Student services -> tuse 4th
Jason
Student Info -> tuse 4th
Ray
Hero/Campus Alerts -> tuse 4th
Footer -> tuse 4th
When done
Plan out the registration page
Start presentation
Find Icons for in the boxes
No active links
Dark Red box
White text
Off white bg

Suggestion from Miles: a search bar on the home page?


Publish api json file and enable api change detection

Publish api extracted json file and enable API change detection in PR pipeline

@weshaggard I have made additional changes to stage api file with version info and rely on this file in staging path for both automatic review as well as to detect api changes. Can you please have a look at it again when you get a chance?

API changes have been detected in this PR. You can review API changes here
API changes
-     getConfigurationSetting(key: string, options?: GetConfigurationSettingOptions): Promise<ConfigurationSetting>;
-     getConfigurationSetting(setting: ConfigurationSetting, options?: GetConfigurationSettingOptions): Promise<ConfigurationSetting>;
+     getConfigurationSetting(key1: string, options?: GetConfigurationSettingOptions): Promise<ConfigurationSetting>;
+     getConfigurationSetting(setting1: ConfigurationSetting, options?: GetConfigurationSettingOptions): Promise<ConfigurationSetting>;


Use keyboard left and right to move between the menus

Issue Type: Feature Request
Normally, users can navigate between menus, such as File and Edit, using the left and right arrow keys on the keyboard. However in Code this is not possible.
I use keyboard navigation all the time and miss this feature heavily as I'm sure many others do as well, please add this feature.
VS Code version: Code - OSS 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-06-18T02:30:22.835Z)
OS version: Linux x64 5.12.13-1-ck-skylake

Workaround (though not optimal on linux due to styling): Use window.titleBarStyle: custom in your settings.
Issue due to electron menus

This works, thanks! However there is an inconsistency between left and right movement:
When I hold down the left arrow key, it begins to move automatically like a text cursor and wraps around from the left edge to the right edge.
However when hold down the right arrow key it neither moves automatically, nor does it wrap from right to left.

Unable to repro on Ubuntu 22.04 with latest stable 1.74 on wayland.


Data loading is very slow for big number of rows.

Summary of problem or feature request

I tried to implement Datatable with Laravel but I have problem when my table has big number of rows because Datatable get ALL in one request and then pagination is on JS side. Can I use Laravel pagination or can I return paginated rows with paginate() method from Eloquent on ajax method ? Because this is big problem for my project. Data loading is very slow. When I search some word processing is also very slow and after some operation like sort, search etc. Page freeze and nothing happen.
I hope that someone has same problem like this.
Code snippet of problem
                serverSide: true,
                processing: true,
                render: true,
                columns: [
                    {data: 'code'},
                    {data: 'name', "defaultContent": "Not set"},
                    {data: 'native_name',  "defaultContent": "Not set"},
                    {data: 'action'}
                ],
                ajax: '{!! route('dt-languages') !!}'

System details

Operating System Linux
PHP Version 7.0.4
Laravel Version 5.4
Laravel-Datatables Version 7.2

You might be using collection instead of query? Can you paste your server-side code? Thanks!

I use repository pattern and in my LanguageRepository.php I have:
return $this->languages->with(['code', 'name'])->select('languages.*')->get();

You need to remove get to use the query builder.
return $this->languages->select('languages.*');

Okey. Now looks better. I will test it again and will write my results.
But in the meantime one more problem is there. When I try to Search some word, I get this error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'languages.action' in 'where clause' (SQL: select count(*) as aggregate from (select '1' as `row_count` from `languages` where (LOWER(`languages`.`name`) LIKE %m% count_row_table)

Set action as not searchable/orderable since it's added column.

Thank you very much! @yajra
When I finish with testing I will send results to you

My testing results:
First query:
select count(*) as aggregate from (select '1' as row_count from languages where languages.deleted_at is null and languages.deleted_at is null) count_row_table -> 3.64ms
Second query:
select languages.* from languages where languages.deleted_at is null order by code asc limit 10 offset 0 -> 1.05ms
Thanks @yajra once again for help.

Glad I was able to help! Thanks!

I am suffering from the problem. Slow rendering. My server side query.
 $products = DB::connection("mysql2")->table('products')->
        join('products_description', 'products.products_id', '=', 'products_description.products_id')
            ->select(['products.products_id', 'products_description.products_name', 'products.products_isbn13', 'products.products_distributor', 'products.products_price', 'products.products_status']);
 return Datatables::of($products)->make(true);

help me. Should I write my own script to paginate? what should I do?
I have records of more than 4,000,000 products.
@yajra very appreciating if you help me.

I got this one too, may be the database request not chaining the pagination param to the query?

@pnghai  how I can check it?

@hsali I'm sorry. False alarm. Turned out that my logic involved a remote image fetching, that link to a dead-end server and force each record fetch wrong 404 connections, that take up number of record * 60 (seconds before timeout). I suspend that logic and thing work very well now.
Thank you very much

@pnghai how I can check it?

Were you able to resolve this? If yes, how?

For everyone who gets slow loading, you might have some sort of loop in your controller function that loops the fetched records in some way.

Hi, @yajra. I am facing a problem with loading speed. count_row_table taking a big time in the query section. Please check the below results. It's about 7000 data rows.

And I code like this.
 $query = Transaction::leftjoin('transaction_payments', 'transactions.id', 'transaction_payments.transaction_id')                 ->leftjoin('stores', 'transactions.store_id', 'stores.id')                 ->leftjoin('customers', 'transactions.customer_id', 'customers.id')                 ->leftjoin('customer_types', 'customers.customer_type_id', 'customer_types.id')                 ->leftjoin('transaction_sell_lines', 'transactions.id', 'transaction_sell_lines.transaction_id')                 ->leftjoin('products', 'transaction_sell_lines.product_id', 'products.id')                 ->leftjoin('users', 'transactions.created_by', 'users.id')                 ->where('transactions.type', 'sell')->whereIn('status', ['final', 'canceled']);
$sales = $query->select(                 'transactions.final_total',                 'transactions.payment_status',                 'transactions.status',                 'transactions.id',                 'transactions.transaction_date',                 'transactions.service_fee_value',                 'transactions.invoice_no',                 'transaction_payments.paid_on',                 'stores.name as store_name',                 'users.name as created_by_name',                 'customers.name as customer_name',                 'customers.mobile_number'             )->with([                 'return_parent',                 'customer',                 'transaction_payments',                 'deliveryman',                 'canceled_by_user',                 'sell_products',                 'sell_variations',             ])                 ->groupBy('transactions.id');


The code is unclear when I use VSCode, but Atom not.

VSCode Version: 1.26.1
OS Version: MacOS Mojave Beta

Steps to Reproduce:

Just open some code with VSCode

Does this issue occur when all extensions are disabled?: Yes

what do you mean unclear?

Possible dupe of #51132

@mikisama Please provide proper summary, description and steps to reproduce the issue

This issue is on the whole the same as #51132. I‘m sorry for the lack of description. Thank you for all help!


Running on ROS Noetic

Hi, I was trying to run this on a fresh ROS noetic with melodic-devel branch. Managed to compile it, but getting this error during launching of the launch file. Would kindly need some advice on this. Thanks!
[ WARN] [1603085782.510908291]: WARNING: package://spencer_tracking_rviz_plugin/media/animated_walking_man.mesh is an older format ([MeshSerializer_v1.41]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
[ WARN] [1603085782.511277907]: Can't assign material male_base_lambert1 to SubEntity of mesh_person_visual0 because this Material does not exist. Have you forgotten to define it in a .material script?
[ WARN] [1603085782.516801097]: OGRE EXCEPTION(5:ItemIdentityException): Cannot find a group named rviz in ResourceGroupManager::isResourceGroupInitialised at /build/ogre-1.9-kiU5_5/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreResourceGroupManager.cpp (line 1916)
terminate called after throwing an instance of 'Ogre::ItemIdentityException'
  what():  OGRE EXCEPTION(5:ItemIdentityException): Cannot find a group named rviz in ResourceGroupManager::isResourceGroupInitialised at /build/ogre-1.9-kiU5_5/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreResourceGroupManager.cpp (line 1916)
[rviz-5] process has died [pid 14458, exit code -6, cmd /opt/ros/noetic/lib/rviz/rviz -d

Hi, I am using ROS noetic as well. Instead of melodic-devel, try the latest branch once. That worked for me. The error you have seems to be because of old mesh format - possibly due to melodic branch - which is quite behind the latest one.

Thanks for the reply. Running well now :+1:

Could you tell me what is the latest branch to solve the OGRE issue?


Run the initial upgrade of the codebase

Compare config after the upgrade to the demo Rails5 app
Document any diffs and share with the team, especially new files like master.key and credentials.yml.enc
Edit Gemfile and yarn.lock to unpeg dependencies and set new Ruby version.
Update the application.rb and environment files

Changed config.server_static_files to config.public_file_server.enabled
Changed config.static_cache_control to config.public_file_server.headers

Update any scripts or files that contain a rake command to use rails instead. For example use rails test instead of rake test
Clean up routes.rb

Replace use of :controller and :action with the controller#action string

DCC make sure you are on Postgres > 9.1! (Update our README and wiki to reflect this!)

Estimating 3+ days of work.

Here are a list of tasks done to get from 5.0 to 5.2 (including the step to 5.1):

Updated the Gemfile to unpeg all gems and bumped rails to 5.2. Then ran bundle update
Converted use of ::HashWithIndifferentAccess to ActiveSupport::HashWithIndifferentAccess
Ran rake app:update add diffed changes to splice our custom config back in
Consolidated old application.rb config,  config/initializers/constants.rb and branding.yml.sample into config/initializers/dmproadmap.rb to group them all together (and get them out of the base Rails config) and to use the newer Rails.configuration.x. format

Next steps:
Ensure all tests are running. It looks like we will need to add optional: true to many of the belongs_to rellationships

Ran through and got all tests passing. Need the following adjustments:

Updated requests and controller tests. Rspec switched to named arguments for http requests. (e.g. went from get :index, org: { id: 123 } to get :index, params: { org: { id: 123 } }
Updated several other models to use optional: true on belongs_to relationships
Updated ApplicationController to not use hash_with_indifferent_access since Request params are no longer a Hash and allow both string and symbol access

NOTE: that the way Rails handles app credentials has changed in 5.2. There is no longer a config/secrets.yml file. It has been replaced by a config/credentials.enc file and a config/master.key file.
Everyone should read this blog post: https://medium.com/cedarcode/rails-5-2-credentials-9b3324851336
We will need to update all of our deployment strategies to work with these new files


vbox build for pfSense

So we have a build that produces artifacts, however, packer is having issues connecting via ssh, even though manually importing the image confirms that sshd is running and root can login over ssh. IOT produce artifacts I disabled the ssh communicator.
This means that we can't run provisioners using packer in the current build. If this can't be figured out, one option is to load scripts over http (I believe pfSense is configured using scripts or an xml file). However, since sshd is definitely working, it could also be done in a chained build after the image is created, perhaps?
@rylagek

Ok so I'm an idiot and swapped the username and password in the packer file. Fixing and retesting now

This was indeed the issue, packer now successfully builds and connects.
As noted in the build notes, had issues w/ finding a graceful shutdown command. shutdown now wasn't working for some reason - it says it is shutting down but then doesn't? I think pfSense expects the "halt" command from its custom CLI program to be called first. However, the force shutdown didn't seem to be an issue.

Successful generic build in about 9 minutes. I'm not concerned with force shutdown vs using halt first. Good work!


[Android] Enabling native debugging triggers bytecode verification on debug app launch

When I start a debug session with 'enable native debugging' enabled, my app takes 20+ seconds to launch because ART is re-verifying Dex bytecode. I see the following (truncated) messages in logcat:

2018-11-01 19:26:14.800 12673-12673/com.butterflynetinc.helios W/lynetinc.helio: Verification of void androidx.fragment.app.FragmentManagerImpl.noteStateNotSaved() took 629.141ms
2018-11-01 19:26:15.723 12673-12673/com.butterflynetinc.helios W/lynetinc.helio: Verification of android.view.View androidx.fragment.app.FragmentManagerImpl.onCreateView(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) took 922.671ms
2018-11-01 19:26:16.015 12673-12673/com.butterflynetinc.helios W/lynetinc.helio: Verification of android.os.Parcelable androidx.fragment.app.FragmentManagerImpl.saveAllState() took 288.288ms
2018-11-01 19:26:16.556 12673-12673/com.butterflynetinc.helios W/lynetinc.helio: Verification of android.os.Bundle androidx.fragment.app.FragmentManagerImpl.saveFragmentBasicState(androidx.fragment.app.Fragment) took 540.327ms
2018-11-01 19:26:16.973 12673-12673/com.butterflynetinc.helios W/lynetinc.helio: Verification of void androidx.fragment.app.FragmentManagerImpl$1.run() took 413.685ms
2018-11-01 19:26:17.512 12673-12673/com.butterflynetinc.helios W/lynetinc.helio: Verification of void androidx.core.util.Preconditions.checkArgument(boolean) took 538.810ms
2018-11-01 19:26:18.537 12673-12673/com.butterflynetinc.helios W/lynetinc.helio: Verification of void androidx.appcompat.app.AppCompatDelegate.() took 531.922ms

Performing a debug session with 'enable native debugging' disabled, the app launches immediately.
I'm curious why firing up lldb when the app launches would interfere with Dex bytecode.

@brendandouglas @vsiva Do you have any insights as to why this is happening, or if I can disable this verification step?


Update to types w/ useCompatAddress

Part 1 of https://github.com/penumbra-zone/web/issues/1656
Updates to latest bufbuild and penumbra core types

@grod220 we'll temporarily experience slower proving (~1.5x performance regression) by bumping decaf377 to v0.10.1. I'll test https://github.com/penumbra-zone/decaf377/pull/108 to validate it resolves the issue.

@TalDerei, wish we could bump without the update, but it won't compile with our old version on anything 0.79.0 and up. Because we need the types, we don't have a choice. But those performance improvements seem very worthwhile.


Fix _node/$node/_system endpoint

The endpoint is using the same handler as a backdoor interface, which only works for the requests to a local $node. For rpc calls to the remote nodes, as it's done on /_node endpoints, handle_node_req handler is getting {badrpc,{'EXIT',normal}} response and fails with invalid_ejson exception.
The change splits stats gathering from stats responding, allowing to use former on both /_node/$node/_system and backend's /_system

Other than a small nitpick it looks good to me.

+1

+1


Missing Permissions check

Does exactly what the name says. This will check if the bot is missing any permissions that it requires for a command to be run, drawn from cmd.conf.botPerms.

Disclaimer: I'm not saying use Klasa!
Might wanna look at Klasa missing perms inhibitor cmd.botPerms is an instance of Permissions class (this doesn't matter but just saying) should use some methods there to spruce the display of the message


Move opt in to telemetry outside of onboarding flow

Chore
Move the telemetry opt in out of the onboarding flow so that the onboarding flow is shorter / faster.
E.g.

One thing we could consider: error page writes out full error and gives you the option to send the crash report there and then rather than up front
Alternatively could pop up the existing dialogue after a period of time / on second use
Also discussed changing the CTA copy to "opt in to error reporting" rather than "report bugs and crashes"

Tasks

[ ]
[ ]
[ ]

Notes

Below the referral line


fix: added a leaf node hash to global namespace to prevent clobbering in embedded mode

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This PR namespaces the global object that initializes the root component in embedded mode.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

This is an attempt to fix https://github.com/sveltejs/kit/issues/9576
I wasn't sure how to write tests for this but will happily add some with some guidance.

@ejmurra a very small note - don't put a space before the "x" when checking the boxes in the PR description. GitHub will then render them as check boxes

Can you clarify what this is fixing? Why would the timestamp not be sufficient? Or why don't you just give the apps different names? How can you be sure the two apps have different leaf nodes?

It's not two apps. It's a single app that renders two pages and tries to inline them into a separate 3rd page. Repro steps here: https://github.com/sveltejs/kit/issues/9576
I'm no svelte expert, but my understanding after spending time to create this PR is that the leaf nodes are going to be unique in the same app and that there will be one for each page. Please correct me if I'm wrong about that!

Ah, sorry I missed the link to the issue. Usually people put that above the boilerplate. If you do that next time hopefully it will keep it from getting overlooked

I've added an integration test for this in test/apps/options-3/. The test could potentially be moved into another test app but it requires config embedded: true and no csp directives.

We try to avoid adding new test projects and just reuse existing ones. Perhaps that won't be possible here with the use of the embedded option though. I don't fully know if this is worth adding a test for, but if we do want to then we should make it more like a default project. It looks like you copied another test app that was testing all sorts of options and so there's a bunch of really uncommon stuff in your test project that will make things harder to understand like calling the source directory source instead of src and calling the Vite config vite.custom.config, etc.

baffled by these test failures

thank you!


Question: Does fetch works for dat request ?

I use fetch to get remote dat://  sites, get the error

Refused to connect to 'dat://b86748ff5891b0a2c40e7297d6ca2724c3efb9ec90e8ee3e673fede5f9631d84/index.html' because it violates the following Content Security Policy directive: "connect-src 'self' ebooker: http: https".

if fetch doesn't work , is there any way to get the remote dat contents ?

That's what the DatArchive API is for.
It lets you read files from a dat:// site, as well as create new dat sites and look at history / react to changes.

@Evanlai8 what version of Beaker are you using, and was this on a dat site?

@RangerMauve  I can use DatArchive API to read dat files which I have sync in my local computer, but can't read files in remote dat (my situation is I don't want to sync all dat sites, just want to get content of a file in remote source)
I have tried to use DatArchive to read remote dat file, response is file not found
the code is:
url = '924404e7b802ccc0c7f98eb8c93d49cc8df3a3727489fca30b88b9be0cfdc72f/public/test.html'
let parseUrl = parseDatURL(url)
let newArchive = new DatArchive(parseUrl.origin)
let html = await newArchive.readFile(parseUrl.pathname, 'utf8')

I saw @pfrazee  have add Fetch api to beaker in  #114  , so I try to use fetch, but didn't work
@pfrazee I use beaker v0.7.11,
This is my code
      let op = {
          headers: {
          'Accept': 'text/html',
          'Content-Type': 'text/html',
          'Access-Control-Allow-Origin': '*',
          },
          method: 'GET'
      }
      fetch('url', op).then(res => { return res.text() }).then(data => {console.log('data',data)})

What errors are you seeing in the developer console?
Are you sure that parseURL.origin is the dat key?
I think that DatArchive requries the argument to be an actual URL, so you'll want new DatArchive('dat://' + parseUrl.origin)
What library are you using for parseDatURL? I've had trouble using parse-dat-url in the browser and have been using url-parse in the meantime.

I can use DatArchive API to read dat files which I have sync in my local computer, but can't read files in remote dat (my situation is I don't want to sync all dat sites, just want to get content of a file in remote source)

The DatArchive API only fetches the files you access. It will behave 100% the same way as fetch() would.

@RangerMauve I use parse-dat-url, and its fine for me,  parseUrl.origin contains 'dat://' prefix,
DatArchive works,  Thanks, it could be my network problems, but the fetch() is still not work, even thought fetch my local dat content.
I just want to get the content of a file , but the whole dat content will be downloaded to my computer.
if the dat site have many files and large data, is there a way to just get a certain file rather than download the dat site？

fetch() does work for Dat sites but the Content-Security-Policy of @Evanlai8's site doesn't include the dat: protocol. In the latest version of Beaker, you can control dat sites' CSPs in the dat.json but Im sort of confused by @Evanlai8's situation because his CSP includes ebooker: and I have no idea where that comes from.

@pfrazee  It is the  Content-Security-Policy problem,
I add "connect-src 'self' beaker: dat:"   to  "BEAKER_CSP' at protocols/beaker.js and fetch() works

👍


vocal precussion doesn't work

after selecting needed tracks in the ccs and saving the file program gets stuck at 'now converting' and does nothing until i interrupt it with any other task in the program. the longest it was trying to create a file for a track from the screenshot before stopping it was around an hour

@blackhomotoadshoe

after selecting needed tracks in the ccs and saving the file program gets stuck at 'now converting' and does nothing until i interrupt it with any other task in the program. the longest it was trying to create a file for a track from the screenshot before stopping it was around an hour

If the conversion process does not finish and remains stuck at 'now converting,' it is likely that there is an issue with the internal server program. To help you check the situation, I have added a debugging feature in SasaraUtil v1.2.2.

Show server console: When this option is enabled, a black console window showing communication with the server during the conversion process will be displayed. If the conversion process continues to stop midway, please let me know the messages displayed in this window.

Reset server button: In rare cases, the internal server may not be able to shut down and become a zombie process. Once the server becomes a zombie, even restarting SasaraUtil may not resolve the issue. Please try pressing this button if nothing else works.

https://github.com/InuInu2022/SasaraUtil/releases/tag/v1.2.2

turned out that the path where i have cevio ai installed was the issue, program was looking a dll file in c:\program files\cevio\cevio ai while i have it on another drive. creating c:\program files\cevio\cevio ai and copying said file there fixed the issue and vocal percussion works now. thank you for your help! :)


[WIP]Fix compatibility issues with table status size reduction changes

Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1097/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1106/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1116/


[enhance] start get increases 0.1s

Ⅰ. Issue Description
Since commit bd4fa8d380e14c3872e7c18e734115a683935c8f start time increases 0.1s.
Ⅱ. Describe what happened
Average start time increases 0.1s since this commit.
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

pouch version (use pouch version):
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

Could you give us more details about why the commit influences the start time performance? @rudyfly


Use conf. instead of conf.module_conf

https://github.com/pm2-hive/pm2-mysql/blob/master/lib/queries.js#L64
Related issue:
https://github.com/keymetrics/pmx/issues/48#issuecomment-137468716

Same for pm2-redis
Am I correct that you can access to the password via conf.password instead of conf.module_conf.password?

I gave you the right to publish pm2-server-monit && pm2-redis on NPM @alavit-d


chore(dialogBehavior): add more tests

Added tabIndex tests for dialogBehavior and popupBehavior.

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS

Codecov Report

Merging #1364 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1364      +/-   ##
==========================================
+ Coverage   72.35%   72.37%   +0.01%
==========================================
  Files         772      772
  Lines        5751     5751
  Branches     1703     1680      -23
==========================================
+ Hits         4161     4162       +1
+ Misses       1584     1583       -1
  Partials        6        6

Impacted Files
Coverage Δ

...lib/accessibility/Behaviors/Popup/popupBehavior.ts
89.65% <0%> (+3.44%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #1364 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1364      +/-   ##
==========================================
+ Coverage   72.35%   72.37%   +0.01%
==========================================
  Files         772      772
  Lines        5751     5751
  Branches     1703     1680      -23
==========================================
+ Hits         4161     4162       +1
+ Misses       1584     1583       -1
  Partials        6        6

Impacted Files
Coverage Δ

...lib/accessibility/Behaviors/Popup/popupBehavior.ts
89.65% <0%> (+3.44%)
:arrow_up:

Continue to review full report at Codecov.

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


Model's settings and mappings are ignored when the index is created through Model.import

Hi all,
I'm trying to use mappings defined in an AR model backed by postgres (rails 4.0.4) to create an index and its corresponding mappings. My model has the following:
    mappings dynamic: false do
      indexes :text
      indexes :neighborhood, index: 'not_analyzed'
    end

Unfortunately, when I run curl -XGET 'http://localhost:9200/my_index/_mapping?pretty=true'
{
  "my_index" : {
    "mappings" : {
      "my_type" : {
        "properties" : {
          "index" : {
            "properties" : {
              "_id" : {
                "type" : "long"
              },
              "_score" : {
                "type" : "long"
              },
              "neighborhood" : {
                "type" : "string"
              },
              "text" : {
                "type" : "string"
              }
            }
          }
        }
      }
    }
  }
}

Notice the lack of "index": "not_analyzed". Using the curl commands against ES directly, I was able to create the index needed.
This is all invoked using ModelName.import.

This can be VERY confusing. Spent few hours trying to figure out what's going on on production after removing and re-creating wrongly mapped index. Filters stopped working.
Warning will not help when import will start to put tons of logs into console.

@denispeplin I understand the frustration, and feel for you -- but read the discussion, there are no easy ways out of this situation..
When re-reading the discussion with @dimroc, I think it's maybe reasonable for Model.import to raise an exception when the index doesn't exist -- sorry, Dimitri, for not seeing that clearly the first time. That's something we actually should do -- I'll reopen the issue.

@denispeplin @dimroc I'm more confused than should be possible :) The raising of an exception when an index exists was added in 55af45b3 by Ben Woosley. It just hasn't been released to Rubygems, I'll fix that...

Released as part of https://rubygems.org/gems/elasticsearch-model/versions/0.1.8

Thank you!
I checked all ways of creating index I know:
Model.__elasticsearch__.create_index!
Model.__elasticsearch__.create_index! force: true
Model.import force: true

Every time the index has been created with properly set mappings. The exeption was raised for Model.import without force: true as expected.
So #214 probably may be closed too.

Great news! :beers:

To be clear, if a custom mapping is not specified, elasticsearch-rails will still generate a mapping with Model.import force:true, correct? I found out that Bonsai (Heroku add-on for ES) requires an index to exist before you can import data into it, so the force option was needed in order to autogenerate the mapping and populate it.

@whokilledtheelectricmonk Yes, it will. But it makes sense to create the index in a separate code, and in advance, for mor complex applications.
@denispeplin @dimroc Thanks for understanding and the verification! Closing the issue for now..


RE2/MHRise one eye issues

Hi, i have a problem, i update the official new patch from re2, and the new version of vr mod, and i have problem with the right eye, i cant show the hands models

I also have this same problem.  Cannot see Leon's body through the right lens. In cutscenes, for example, he is only a floating head in the right eye, while his full model shows in the left.

I've had this same issue.  I think the body for right eye doesn't move.  When I loaded a save I could still see Leon's body through my right eye just standing where I loaded in.

Use a different costume for Leon or roll back RE2 to the pre-RT version until I can fix it.

Use a different costume for Leon or roll back RE2 to the pre-RT version until I can fix it.

How do I switch costumes?

Same problem here in MH Rise :) I will wait for a fix.
Thanks for your hard work :)

This is for MHR, too! Yes!

soooo,..
this hasn't been fixed, yet?
I have no clue how to switch the costume.
so I can't play.
would love to play in VR but seeing no character on my right eye gives me a headache :-/

When you select the story mode it give you the option to continue, load game, new game, etc, it should have costume as an option.  You change it there.

When you select the story mode it give you the option to continue, load game, new game, etc, it should have costume as an option. You change it there.

ooooh okay?
I only clicked continue, I think it doesn't show up there.
THX CannGramps I'll check it out later!
this will be awsome =)

Several of the characters' hair has one eye issues (Senior Hunter Hanenaga, High Rank Hunter Ayame, Player at the end of eating cutscene) as well as the Bombadgy enemies in the first area. This happens with the current release (v1.5.6). I tried to run the pd-upscaler branch's build, but REFramework crashes the game when it starts initializing VR on my system. Here's the Bombadgy for example:


localhost:4040 error version 1.1.6

So apparently, I have an issue where it doesn't send me the url of the site and keeps sending me to this site. I will be happy to understand why that is happening. It's also not giving me to update the program It's saying that it's updated, but when I open it says: version 1.1.6 and not 1.1.7.
Many thanks, and keep up the good work, Peter

i have the same problem


Update test pipelines to default to federated authentication

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

We should also remove these https://github.com/search?q=repo%3AAzure%2Fazure-sdk-for-net UseFederatedAuth%3A true&type=code.
Make sure we also do validation of the test pipelines.

/azp run net - template - tests

API change check
API changes are not detected in this pull request.

/azp run net - core - ci


Added tests for detecting references between summaries

Added tests for validating that we can detect object references between summaries and update the unreferenced timestamp for such objects (if applicable).
Currently, we cannot detect these references and so the tests don't work as expected. I added a function assertTestFails that asserts that the final test result infact fails. This is a setup for the this GC work item - https://github.com/microsoft/FluidFramework/issues/7924.
Basically, these tests fail now and once the above work item is completed, they should pass (the condition in assertTestFails will be reverted).

I did not look very closely at substance of the tests, only at structure and general usage. Please figure out how not to do delays in tests.

I fixed the unit tests to use fake timers. For the end-to-end tests, there are a few tests that use delays, I created an issue to fix them - https://github.com/microsoft/FluidFramework/issues/8553


pkgclean with -f option is deleting all packages

poudriere 3.3.7_1 (latest version in ports tree at the time of this bug submission) is deleting all packages with the pkgclean command, including those ports specified in file specified with -f option.  It complains about files with invalid file extension being in pkg repo, and then deletes both the package file and the symlink to it.
Example: poudriere pkgclean -j 13-amd64 -f /usr/local/etc/poudriere-list -y -v
Result: message about each package having an unknown file extension, deletion of the package file and deletion of the symlink to it.
Confirmation:
root@pkg:/ # ls -l /usr/local/poudriere/data/packages/13-amd64-default/.latest/All/
total 0

I just tested this and while it does complain about and delete older .txz symlinks, it did not delete the packages I expected to remain.
Please provide the ports checkout version you are using (as was requested by the template you deleted), and provide output of the command deleting everything, showing files before and after.

I suspect that https://cgit.freebsd.org/ports/commit/?id=dfae67d10c3f2b6dbde7d6e3280455cd87f9f15c is causing the issue here since there is no special handling for this new extension.

Here is the FreeBSD version I'm using, using a ports tree updated a few days ago:
root@pkg:/ # uname -rU
13.1-STABLE 1301502
This is the exact command used:
poudriere pkgclean -j 13-amd64 -f /usr/local/etc/poudriere-list -y -v
Attached my ports list file (added a .txt extension so ithub would allow me to attach):
poudriere-list.txt

Correction to original issue submission: my Poudriere version is actually 3.2.8.
root@pkg:/ # poudriere version
3.2.8

Upgraded to poudriere 3.3.7_1, and now pkgclean only deletes the .txz files. Updated original issue description to correct version stated.  Closing issue with this comment.

Correction to original issue submission: my Poudriere version is actually 3.2.8. root@pkg:/ # poudriere version 3.2.8

🤦
Thanks for double checking that!


robot-name: collision detection not convincing

differentRobotsHaveDifferentNames and resetName are not proper tests for detecting collisions. They need many more iterations to be convincing (~1/670000).
Here is my modified test:
import org.junit.Test;

import java.util.stream.IntStream;

import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.core.IsNot.not;
import static org.junit.Assert.assertThat;

public class RobotTest {

    private static final String EXPECTED_ROBOT_NAME_PATTERN = "\\w{2}\\d{3}";
    private final Robot robot1 = new Robot();
    private final Robot robot2 = new Robot();

    @Test
    public void hasName() {
        assertIsValidName(robot1.getName());
    }

    @Test
    public void differentRobotsHaveDifferentNames() {
        IntStream.range(0, 300000).forEach(x -> {
            assertThat(robot1.getName(), not(equalTo(new Robot().getName())));
        });
    }

    @Test
    public void resetName() {
        IntStream.range(0, 300000).forEach(x -> {
            final String name = robot2.getName();
            robot2.reset();
            final String name2 = robot2.getName();
            assertThat(name, not(equalTo(name2)));
            assertIsValidName(name2);
        });
    }

    private static void assertIsValidName(String name) {
        assertThat(name.matches(EXPECTED_ROBOT_NAME_PATTERN), is(true));
    }
}

Yeah, I had a similar reaction to this exercise.
I was thinking of doing something definitive to cover.
What to you think of something like this?
   public static final Long NUM_VALID_NAMES = 26l * 26l * 10l * 10l * 10l;
   @Test
   public void aNameIsNeverRepeated() {
      long numberOfDistinctGeneratedNames = LongStream.range(0, NUM_VALID_NAMES)
                                               .mapToObj(i -> new Robot().getName())
                                               .distinct()
                                               .count();
      assertThat(numberOfDistinctGeneratedNames, equalTo(NUM_VALID_NAMES));
   }

Would need to extend the API to be able to signal to Robot that it can "reset".

@jtigger Sounds like an improvement.

@exercism/java I've been playing around with this, and can't find any solution that both involves randomness and doesn't asymptotically creep toward finishing in any reasonable amount of time.
I am wondering if, by imposing the requirement of randomness and a range of 670000 names, we haven't set ourselves up for failure.
Currently the solution involves generating a name, checking if it's been used, and if it has, try randomly regenerating again.  Any ideas on a better approach that preserves both the size of the set and the randomness?

The easiest way were to prepolutate a set of available names (maybe
represented as integers that maps to robot names via another function) and
randomly pick an element from that set and using it as the name for the new
robot.
Matthew Morgan<EMAIL_ADDRESS>schrieb am Di., 3. Jan. 2017 um
13:48 Uhr:

@exercism/java https://github.com/orgs/exercism/teams/java I've been
playing around with this, and can't find any solution that both involves
randomness and doesn't asymptotically creep toward finishing in any
reasonable amount of time.
I am wondering if, by imposing the requirement of randomness and a range
of 670000 names, we haven't set ourselves up for failure.
Currently the solution involves generating a name, checking if it's been
used, and if it has, try randomly regenerating again. Any ideas on a better
approach that preserves both the size of the set and the randomness?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/exercism/xjava/issues/61#issuecomment-270107440, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADmR0zvWoCqreMdwN742w7plJWEpvPlks5rOkO0gaJpZM4Fy1LY
.

@NobbZ maybe removing the selected name from the list, to avoid needing to check for uniqueness?  Then we would always know the name was valid and unique.  I think that will work.

General (black box) tests for randomness are either very intense or always prone to failure some (controllable) percentage of the time. Neither are suitable here, unfortunately. I don't think we'll be able to exhaustively check all possible values, so the practical solution may be to come up with a set of approximate tests that yield 'reasonable' certainty. This could be accompanied by comments or notes in the hints describing why testing randomness is so hard.
Another thought: perhaps we could update the robot interface to accept a generating function. Then we could insert our own generating function during the tests and verify in a smaller case?

maybe removing the selected name from the list

This was implied. Sorry for not beeing explicit.

@matthewmorgan we got yer name on this one... do you have time to tackle this?  Or should we release it into the backlog (i.e. unassign it)?

@jtigger I have a solution for this, but it is pretty long running.  The best comprehensive solution I could come up with was:

generate all possible names and store them in a List
to serve a name, generate a random index with an upper bound set by the current list size
remove that name from the List
...repeat

I recommend we either test a subset or pursue @stkent's idea of supplying a generator.
If we can get a consensus on this I can implement it.

I had a similar solution.  It has an interesting design pressure on the solution itself since relying on pure randomness generates a long tail of run-times (prompting an interesting conversation about resource trade-offs of memory for time).
@matthewmorgan this conversation started some time before your plate got quite full.  I'm gonna pull the assignment... if you have a desire squeeze in hitting this, call dibs with a PR.

I have a feeling that the specification of this exercise disallows convincing tests. There's no canonical test data. If anyone is interested in picking this up in the future I'd recommend starting by reviewing the tests in other tracks to see if this conundrum has already been worked around someplace else.

Closing until there's interest in actively working on this again.


fix: README improvement

Documentation improvement - took some time for me to realise that devel should be used instead of args to enable pulling development versions of charts from harbor:

Fixing README

Fixing issue #1544 - can't link these together other than via this comment


Force gfp_cbas to always run isolated

Inside the __init__.py of objective_repository we are eagerly importing gfp_cbas if we can. As a side-effect, we end up running into tf warnings.
Should we always force gfp_cbas to run in isolation? This can be achieved by just removing the try-except block that imports it inside said __init__.py.

Let me know what you think, @RMichae1 .


There are strings not localized in About panel

Storage Explorer Version: 1.11.1
Build: 20191220.2
Branch: master
Language: Japanese/ Korean
Platform/OS: Windows 10/ CentOS 7.6.1810 /macOS High Sierra
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Launch Storage Explorer.
Open 'Settings' -> Application (Regional Settings) -> Select '日本語' -> Restart Storage Explorer.
Navigate to localized Help menu -> Click localized About.
Observe the About panel.

Expect Experience:
All strings that need to be localized are localized.
Actual Experience:
There are strings not localized.

More Info:
This issue also reproduces in Korean.

Sending to localization for review

"All rights reserved" is an approved term in Term Studio, not to localize for both Japanese and Korean.


Array upload validation & bugs

OSX 10.11.5
brew PHP 7.0.7
Lara v5.2.34
when i try to upload multiple files i get an error,

Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes)

which come up from time to time and the solution would be adding ini_set('memory_limit', '500M'); in the routes.php file.
the other issue is related more to the validation it self
$rules = [
            'title'       => 'required|unique:posts|max:255',
            'description' => 'required',
            'photo.*'     => 'required|mimes:jpg,jpeg,png,bmp|max:4096'
        ];

 $validate = Validator::make($request->all(), $rules);
 $photos   = $request->file('photo');

        if ($photos[0] != null) {
            $validate->after(function ($validate) use ($photos) {
                foreach ($photos as $photo) {
                   // this solution was working since L4.2 to get the exact error instead of just getting required or empty error array in the redirect->back();
                  // it was working till the prev release v5.1.36
                    if ($photo->getError() != 0) {
                        $validate->errors()->add('photo_general_err', $photo->getErrorMessage());
                    }
                }
            });
        }

        if ($validate->fails()) {
            dd($validate);
            throw new ValidationException(
                $validate,
                redirect()->back()
                          ->withInput($request->input())
                          ->withErrors($validate->errors()->getMessages())
            );
        }

and in the view 'btw the docs doesnt have how to display validated array errors, it only show how to write the validation logic"
{{ $errors->first('photo.0') }}

which doesnt work anymore because the returned array doesnt always return the item photo.0 but have photo.1/2/etc... so i cant view those errors anymore

maybe we can have something like an alias for the array "it could be the same name of the array ex.photo" so we can loop over it ?

and here is the returned validation
Validator {#317 ▼
  #translator: Translator {#104 ▶}
  #presenceVerifier: DatabasePresenceVerifier {#203 ▶}
  #container: Application {#3 ▶}
  #failedRules: array:1 [▶]
  #messages: MessageBag {#311 ▼
    #messages: array:6 [▼
      "photo.2" => array:2 [▼
        0 => "photo must be a file of type: jpg, jpeg, png, bmp."
        1 => "photo should not be more than 4096."
      ]
      "title" => array:1 [▶]
      "description" => array:1 [▶]
    ]
    #format: ":message"
  }
  #data: array:4 [▼
    "_token" => "VhRk3PJ1ZgQfeIfLILJRvU0Q7u1C23pjPbH126Ll"
    "title" => "aksjhdkjsahd"
    "description" => "kajhdkjahdakjdh"
    "photo" => array:3 [▼
      0 => UploadedFile {#304 ▼
        -test: false
        -originalName: "01_homepage_02.jpg"
        -mimeType: "image/jpeg"
        -size: 4091387
        -error: 0
        path: "/private/var/folders/l9/3jcqh0d111nfg9469_h0fbyw0000gn/T"
        filename: "phpYLKyWt"
        basename: "phpYLKyWt"
        pathname: "/private/var/folders/l9/3jcqh0d111nfg9469_h0fbyw0000gn/T/phpYLKyWt"
        extension: ""
        realPath: "/private/var/folders/l9/3jcqh0d111nfg9469_h0fbyw0000gn/T/phpYLKyWt"
        aTime: 2016-05-30 14:58:31
        mTime: 2016-05-30 14:58:31
        cTime: 2016-05-30 14:58:31
        inode: 6293403
        size: 4091387
        perms: 0100600
        owner: 501
        group: 20
        type: "file"
        writable: true
        readable: true
        executable: false
        file: true
        dir: false
        link: false
      }
      1 => UploadedFile {#313 ▼
        -test: false
        -originalName: "01_Main.png"
        -mimeType: "image/png"
        -size: 684994
        -error: 0
        path: "/private/var/folders/l9/3jcqh0d111nfg9469_h0fbyw0000gn/T"
        filename: "phpTLZ0Le"
        basename: "phpTLZ0Le"
        pathname: "/private/var/folders/l9/3jcqh0d111nfg9469_h0fbyw0000gn/T/phpTLZ0Le"
        extension: ""
        realPath: "/private/var/folders/l9/3jcqh0d111nfg9469_h0fbyw0000gn/T/phpTLZ0Le"
        aTime: 2016-05-30 14:58:31
        mTime: 2016-05-30 14:58:31
        cTime: 2016-05-30 14:58:31
        inode: 6293404
        size: 684994
        perms: 0100600
        owner: 501
        group: 20
        type: "file"
        writable: true
        readable: true
        executable: false
        file: true
        dir: false
        link: false
      }
      2 => UploadedFile {#305 ▼
        -test: false
        -originalName: "01_shot.gif"
        -mimeType: "image/gif"
        -size: 7138753
        -error: 0
        path: "/private/var/folders/l9/3jcqh0d111nfg9469_h0fbyw0000gn/T"
        filename: "phpb0VHf3"
        basename: "phpb0VHf3"
        pathname: "/private/var/folders/l9/3jcqh0d111nfg9469_h0fbyw0000gn/T/phpb0VHf3"
        extension: ""
        realPath: "/private/var/folders/l9/3jcqh0d111nfg9469_h0fbyw0000gn/T/phpb0VHf3"
        aTime: 2016-05-30 14:58:31
        mTime: 2016-05-30 14:58:31
        cTime: 2016-05-30 14:58:31
        inode: 6293405
        size: 7138753
        perms: 0100600
        owner: 501
        group: 20
        type: "file"
        writable: true
        readable: true
        executable: false
        file: true
        dir: false
        link: false
      }
    ]
  ]
  #files: array:3 [▶]
  #initialRules: array:3 [▶]
  #rules: array:5 [▶]
  #implicitAttributes: array:1 [▶]
  #after: array:1 [▶]
  #customMessages: []
  #fallbackMessages: array:2 [▶]
  #customAttributes: []
  #customValues: []
  #extensions: array:2 [▶]
  #replacers: []
  #sizeRules: array:4 [▶]
  #numericRules: array:2 [▶]
  #implicitRules: array:10 [▶]
  #dependentRules: array:12 [▶]
}

also as u can see the each photo now has error of 0 , where b4 it used to have numbers the correspond to the error status which was making sense.
https://github.com/laravel/framework/issues/12118

i found a solution-ish for the array errors not showing up

$rules = [
            'title'       => 'required|unique:posts|max:255',
            'description' => 'required',
            'photo.*'     => 'required|mimes:jpg,jpeg,png,bmp|max:4096'
        ];

 $validate = Validator::make($request->all(), $rules);

        if ($validate->fails()) {
            foreach ($validate->errors()->getMessages() as $k => $v) {
                // we search for any error that has "word.number"
                if (preg_match("/\w+\.\d+/", $k)) {
                    // save into new array
                    $last[] = $v;
                }
            }
            // flatten the array into one level
            $res = array_flatten($last);
            $validate->errors()->add('photo_err', $res);

            throw new ValidationException(
                $validate,
                redirect()->back()
                          ->withInput($request->input())
                          ->withErrors($validate->errors()->getMessages())
            );
        }

now the photo_err became and array of arrays so we need to fix that or the view will keep giving

Array to string conversion

so make a presenter
 public function test($array)
    {
        $array['photo_err'] = call_user_func_array('array_merge', $array['photo_err']);
        return $array['photo_err'];
    }

and in the view
@inject('test','The-Class-name')

@foreach ($test->test($errors->getMessages()) as $one)

{{ $one }}

@endforeach

update:
it seems the memory issue is related mostly to intervention "not 100% sure" but maybe this could help.
https://github.com/Intervention/image/issues/567

I think the memory issue is not laravel related, for the other problem you have I don't seem to get it. Can you please share more details with a sample code?
Better, can you please write a failing test?

@themsaid currently when u validate an array how do u retrive the errors of the failed files ? , cuz the old file.0 wont work if ur failed item is file.1 or 2 or etc..


#32122 Engineering: test results not uploaded to artifacts

Changes:

Test results (.trx) files are now uploaded to TeamCity artifacts.

Closed due to the same change being present in: #10


Catch error when trying to delete non-existing deno.lock file

Currently, the deno process crashes when trying to delete a non-existing deno.lock file (during UIX updates)

@asbng Do you know where exactly this happens / how it can reproduced?
When removing the deno.lock file during updates, it is already checked beforehand if the file exists (https://github.com/unyt-org/uix/blob/46743bec51cc2a6b8cf70296d408ba2be2733c10/auto-update.ts#L29

Unfortunately, I don't have a stack trace for this. Let's close this issue until we can reproduce it.

Just got it again:
NotFound: No such file or directory (os error 2): remove '/home/user/uix-project/deno.lock'
    at async Object.remove (ext:deno_fs/30_fs.js:259:3)
    at async updateCache (https://cdn.unyt.org/uix/auto-update.ts:30:3)

This is really weird - we are definitely checking beforehand if the file exists with denoLock.fs_exists. Either this check does not work correctly, which should definitely not be the case, or the file is already deleted before Deno.remove is finished. I changed  the asyncDeno.remove call to Deno.removeSync for the next release, hoping that this has an effect somehow, I don't know what else we could change.


Add dependency to read OWL files

Could be useful to standardise the NetworkX workflow and not be dependent on BMT. Would have generic adapters for OBO and OWL files, which would probably cover most ontologies out there.
https://bitbucket.org/jibalamy/owlready2/src/master/
Could also consider RDFlib, which may cover additional RDF functionalities we may need. https://github.com/RDFLib/rdflib

Added RDFLib and refactored internal ontology representation to be based on OWL format primarily.


How can I clone with SVG's?

Hello, in your codes there is a clone example, but how can I use this example with SVG's?
Subjx('.clone').clone({
    stack: '#stack',
    style: 'clone',
    drop(e, el, clone) {

        const stack = Subjx('#stack')[0],
            offset = stack.getBoundingClientRect(),
            div = document.createElement('div');

        div.style.top = (e.pageY - offset.top) + 'px';
        div.style.left = (e.pageX - offset.left) + 'px';

        div.classList.add('draggable');

        stack.appendChild(div);

        Draggables.push(...Subjx(div).drag());
    }
});

@tayfunerbilen, I did not provide cloning SVG's, but you can try this simple example. Hope it helps.


Can we save and load models ?

Any more info on this feature of saving / loading models?

No. I tried to save the model with JSON.stringify, JSON.parse and restaure it with Object.assign() but the object is too complex for that.
var saved_model = JSON.parse(JSON.stringify(model));
var new_model = new aml.automl.AutoMLModel();
Object.assign(new_model, saved_model);

Oups I closed it by Error.


The inference takes 30 seconds per image on CPU and the precision is a little bad.

Env:

Ubuntu 20.04
Python 3.8
PyTorch 1.8.1

CPU:
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   39 bits physical, 48 bits virtual
CPU(s):                          4
On-line CPU(s) list:             0-3
Thread(s) per core:              1
Core(s) per socket:              4
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           94
Model name:                      Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
Stepping:                        3
CPU MHz:                         3503.549
CPU max MHz:                     3600.0000
CPU min MHz:                     800.0000

Inference log:
$ CUDA_VISIBLE_DEVICES= python demo.py /data/ --model HG2 --output_dir logs/demo_result --ckpt /fclip_ckpt/ckpt/HG2/checkpoint.pth.tar --display False
Namespace(camid=0, ckpt='/fclip_ckpt/ckpt/HG2/checkpoint.pth.tar', display=True, img_glob='*.png', input='/data/', model='HG2', output_dir='logs/demo_result', skip=1, waitkey=1)
logs/demo_result
==> Loading video.
[ERROR:0] global /tmp/pip-req-build-rcdoave0/opencv/modules/videoio/src/cap.cpp (160) open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.5.2) /tmp/pip-req-build-rcdoave0/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /data/ in function 'icvExtractPattern'

==> Processing Image Directory Input.
==> Successfully loaded video.

Processing: 1 Total time spent:30.598598
Average frame rate:0.032681
==> Finshed Demo.

The origin image:

The output image:

@Delay-Xili Is this inference elapsed-time normal?

Hi @Honghe ,
sorry for the late reply.
Basically, the "Total time spent:30.598598" including three main time-consuming parts: 1. the line detection time. 2. line drawing time. 3. some other operators like to read images and save images. You can try to test the time of them separately.
The model you used "HG2" can achieve 35 FPS on the server with one 2080Ti GPU. Due to the low performance of CPU, the speed maybe worse.
And the example that you show is reasonable since it's pretty different from our training set.

Among the total time, The line detect elapsed-time is 29.3s.
metric code:
# Get points and descriptors.
start1 = time.time()
lines = detector.detect(oriimg)
end1 = time.time()
print(f'Detect time elapsed {end1-start1:.1f}s')

output:
Detect time elapsed 29.3s

I think no bug there, that it is. The inference elapsed-time is normal.


Incorrect corresponding method param for Azure.Core.MaxPageSizeQueryParameter

Describe the bug
The corresponding method param for Azure.Core.MaxPageSizeQueryParameter is incorrect. It should map to an entry in sdkMethod.parameters but it appears to map back to itself.
Reproduction
Using tcgc 0.41.0-dev.42
Build https://github.com/Azure/cadl-ranch/blob/main/packages/cadl-ranch-specs/http/payload/pageable/main.tsp
In sdkMethod.operation.parameters the entry for the maxpagesize query param doesn't map back to the entry in sdkMethod.parameters.
Checklist

[X] Follow our Code of Conduct
[X] Check that this issue is about the Azure libraries for typespec. For bug in the typespec language or core libraries file it in the TypeSpec repo
[X] Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

After some discussion, it sounds like we might want tcgc to explose these core types?

Yeah, we want to explose these, and I don't think most emitters want this parameter. If this is still an issue can you reopen @jhendrixMSFT ? Thanks!


Bug Bash Feb 2024

Describe the bug and the steps to reproduce it
Time to catch some bugs and ideas for BOAT

What's the expected behavior?
No response
What version of the libraries are you using?
No response

Number of wallets we support right now are low

Everyone has the same avatar image, should be randomized

Twitter handle should open twitter:

This avatar currently doesnt portray any relevant information:

Buy Me a Coffee flow doesn't work anymore again. When I attempt to purchase, I get to the pending state and it is stuck there even after verifying on my wallet.

Also, the memo is not added and doesn't show on refresh.

Mint NFT flow doesn't seem to work. Just stuck on minting in progress even after confirming in wallet.

I dont think testnet NFT's show up in the wallet, so this message might not be right

When there are a lot of memos in the Buy Me a Coffee page, the guide is pushed down way too far. Should we either 1. move the guide somewhere else or 2. paginate the memos?

List here is incomplete and doesnt match the README

Everyone has the same avatar image, should be randomized

Why not ENS profile image??

Buy Me a Coffee flow doesn't work anymore again. When I attempt to purchase, I get to the pending state and it is stuck there even after verifying on my wallet.

Also, the memo is not added and doesn't show on refresh.

It seems to be working for me, not sure

Error is not obvious and text entry boxes are disabled:

I think we should:

Give the error some color to stand out
Give text boxes a more pronounced style when disabled.

Text should wrap :

Rendering too many items without a limit

[Phone landscape view] Logout button gets cut off and is not inaccessible

@Sneh1999
"Number of wallets we support right now are low"
What you modified to replace SmartWallet by the WalletConnect modal?
"This div currently doesnt portray any relevant information:"
In the current implementation, I didn't see this div. Maybe because my environment is localhost rather than production?
@arsood
"When there are a lot of memos in the Buy Me a Coffee page, the guide is pushed down way too far. Should we either 1. move the guide somewhere else or 2. paginate the memos?"
Going to be fixed via https://github.com/coinbase/build-onchain-apps/pull/516.
@eragon512
"Rendering too many items without a limit"
Same as the above addressing.
I will try to submit some PRs to fix the following issues:

[ ] https://github.com/coinbase/build-onchain-apps/issues/366#issuecomment-1947115922
[ ] https://github.com/coinbase/build-onchain-apps/issues/366#issuecomment-1947129793
[ ] https://github.com/coinbase/build-onchain-apps/issues/366#issuecomment-1947139455
[ ] https://github.com/coinbase/build-onchain-apps/issues/366#issuecomment-1947150147
[ ] https://github.com/coinbase/build-onchain-apps/issues/366#issuecomment-1947173688

I'll have to halt my PRs, because: I've heard somewhere that BOAT is going to be ditched to focus on onchain-kit. Basing that rumour, the repo has no commits for more than a month.
ping @arsood  @Zizzamia to know news about this repo, so I may feel comfortable to send PRs to a template that hasn't been abandonned.

Yup, OnchainKit is the priority at the moment. And there is an active plan to build a small collection of Templates based on OnchainKit.
Those templates are probably going to live inside the OnchainKit repo.
Thank you for caring, and reaching out. I will say, if you want to contribute, https://github.com/coinbase/onchainkit is the place.
As soon as we have Templates in the OnchainKit repo, I am probably going to deprecate this one.

@Zizzamia
"Those templates are probably going to live inside the OnchainKit repo."
Couldn't BOAT be one of these templates?
An idea is to use "git pull   --allow-unrelated-histories" to keep the current history of BOAT's repo.
Or making every template their own repos instead of a monorepo?

You right!
Let keep this repo, and do a few adjustments this week:

simplify the concept of Templates, and remove the CLI, so each repo is one template
rename this repo to something like onchain-app-template-buy, and it will focus on the Buy Me Coffee experience
create new repos inside @coinbase focus on other template like mint or game or xyz

@danimesq what do you think about that?

@Zizzamia
This makes sense! 👏 Let's see now the opinion of Base/OnchainKit team 🙏
So, a CLI for choosing a template repo to get?
Or keeping the templates+CLI a monorepo as a boilerplate to kickstart OnchainKit?

I started refactoring BOAT into something more simple.
Also as you noticed, we just launch https://github.com/coinbase/onchain-app-template, to help simplify how we are approaching templates.


Adding a splash screen to desktop apps

Page URL: https://flutter.dev/docs/development/ui/advanced/splash-screen.html
Page source: https://github.com/flutter/website/tree/master/src/docs/development/ui/advanced/splash-screen.md
Please add documentation on adding a splash screen to desktop apps.  Thanks!

By my reading, this is actually a feature request for Flutter Desktop. Transferred to the flutter/flutter tracker.
FYI @cbracken

@gspencergoog Is this a capability that should be worked into the Flutter multi-window specification?

By my reading, this is actually a feature request for Flutter Desktop. Transferred to the flutter/flutter tracker.
FYI @cbracken

@domesticmouse does this mean that a native splash screen on desktop is not currently possible?

Well, I can see two ways of doing splash screens. The first is to bring up your Flutter screen with your Splash screen content, and then when you have loaded all of your data and what not, transition to your main content. The second way is to bring up a native window, with the native toolkit of the platform you are on, and paint a splash screen that way.
Currently Flutter on desktop only supports a single window. There is a proposal for supporting multiple windows on Flutter Desktop which would significantly simplify supporting this use case.

Thanks for the feedback, @domesticmouse.  I maintain the flutter_native_splash package which is focused only on the native splash, so it sounds like the second method you mentioned would be right for my application.  Could you give me some guidance on implementation on Windows and MacOS or refer me to someone who can?  Or would it be better to wait to see what comes of the proposal?

I can't make a decision for you on which is better, because that requires making trade off decisions, which requires one to make relative value judgements. If you want to do something now, you need to build native window handling in Windows, macOS and Linux. Alternatively, if you wait for multi-window you get to use one code base across all desktop platforms.
Personally, I'd wait, because I don't want to maintain all that platform specific Objective C and  C++ code, but that's just me =)

Page URL: https://flutter.dev/docs/development/ui/advanced/splash-screen.html Page source: https://github.com/flutter/website/tree/master/src/docs/development/ui/advanced/splash-screen.md
Please add documentation on adding a splash screen to desktop apps. Thanks!

issue solved?

issue solved?

I don't believe so.  I don't see any documentation on the URL you indicated on how to add a splash screen for desktop.

issue solved?

I don't believe so. I don't see any documentation on the URL you indicated on how to add a splash screen for desktop.

I am also searching for this feature,I thought you might have solved this issue

@domesticmouse with Windows now stable, can we get an update on this request?

@domesticmouse @gspencergoog with Windows now stable, can we get an update on this request?

The prioritisation of this feature request as P4 is accurate. We are working through issues and outstanding features in rank order as fast as our engineering capacity allows.
We currently have 1 open P2 desktop issue and 42 open P3 desktop issues.

Thanks for the update @domesticmouse.  I will pray to the software gods to send you more engineering resources!

@domesticmouse is it possible to reclassify this as a higher priority?  Judging from the thumbs up votes, it looks like this is affecting developers more than most of the P3 desktop issues.

@gspencergoog thoughts?

Sorry, I still think this is prioritized correctly.  You can make a splash screen (using native dialogs), although I agree it's harder than it should be. Because there is a workaround, and because we have other issues pending still that have higher priority, it doesn't warrant bumping up the priority.
Also, we don't want to create API for doing this that will just be deprecated and removed once multi-window support is complete.

Deduplicating against an earlier request for desktop splash screen support: https://github.com/flutter/flutter/issues/41980
I'm adjusting the priority up on that one though since we're a fair bit further along with desktop support than we were in 2019 :)


Attributes are not updated when command is success - Network commissioning

### Problem
When a Command is executed and if it's a success, then the corresponding attributes need to be updated with their list and values.
but in the network commissioning the list or values are not getting updated.
### Expected behavior:
Example: When executing the AddOrUpdateWiFiNetwork command and if it's successful, then the Networks attribute list needs to be updated with the new entry. but the list is not getting updated.
Similar issue with other commands and attributes in the network commissioning cluster
### Actual behavior:
Example: When executing the AddOrUpdateWiFiNetwork command and if it's successful, then the Networks attribute list needs to be updated with the new entry.
Similar to other commands and attributes in the network commissioning cluster
Commands: sudo ./chip-tool networkcommissioning add-or-update-wi-fi-network GRLPrivate_EXT matter123 0 1 0
[1646296498.367293][3133:3138] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005
[1646296498.367351][3133:3138] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005
[1646296498.367429][3133:3138] CHIP:TOO:   NetworkConfigResponse: {
[1646296498.367475][3133:3138] CHIP:TOO:     networkingStatus: 0
[1646296498.367508][3133:3138] CHIP:TOO:     debugText:
[1646296498.367539][3133:3138] CHIP:TOO:    }
Commands: sudo ./chip-tool networkcommissioning read networks 1 0
[1646296600.694915][3151:3156] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001DataVersion:<PHONE_NUMBER>
[1646296600.695012][3151:3156] CHIP:TOO:   Networks: 0 entries
[1646296600.695113][3151:3156] CHIP:EM: Sending Standalone Ack for MessageCounter:15138151 on exchange 45779i
full log:
attributes update.txt

This issue occurs because there is no List of Networks as mentioned in the spec is implemented in the code yet
Current code has a Network attribute with NetworkId and a boolean connected flag
Code needs to maintain a list of such Networks

What is the platform of the server?
Since this data comes from platform driver, proving the platform will help identifying the issue.

@erjiaqing this is on raspi (linux) platform

I cannot reproduce on be946b04e4
In [15]: await devCtrl.SendCommand(1, 0, Clusters.GeneralCommissioning.Commands.ArmFailSafe(expiryLengthSeconds=360))
Out[15]:
ArmFailSafeResponse(
│   errorCode=<CommissioningError.kOk: 0>,
│   debugText=''
)

In [16]: await devCtrl.SendCommand(1, 0, Clusters.NetworkCommissioning.Commands.AddOrUpdateWiFiNetwork(ssid=b'(my home wifi ssid)', credentials=b'(my home wifi password)'))
Out[16]:
NetworkConfigResponse(
│   networkingStatus=<NetworkCommissioningStatus.kSuccess: 0>,
│   debugText=None,
│   networkIndex=0
)

In [19]: await devCtrl.ReadAttribute(1, [(0, Clusters.NetworkCommissioning)], returnClusterObject=True)
Out[19]:
{
│   0: {
│   │   <class 'chip.clusters.Objects.NetworkCommissioning'>: NetworkCommissioning(
│   │   │   (data version)=3994585040,
│   │   │   maxNetworks=1,
│   │   │   networks=[
│   │   │   │   NetworkInfo(
│   │   │   │   │   networkID=b'(my home wifi ssid)',
│   │   │   │   │   connected=True
│   │   │   │   )
│   │   │   ],

Please note the failsafe timer and ensure it is not expired, for example, the config is reverted as expected if I did not issue the Clusters.GeneralCommissioning.Commands.CommissioningComplete command in a few minutes.
Please verify:

You have armed failsafe before issue "add or update wifi network" command
Failsafe timer is not expired or you have issued "commissioning complete" command after add or update network and before issuing the read request.

In [1]: await devCtrl.ReadAttribute(1, [(0, Clusters.NetworkCommissioning)], returnClusterObject=True)
2022-04-14 10:31:04 MATSU-X1C-DEBIAN chip.SC[176670] ERROR The device does not support GetClock_RealTimeMS() API. This will eventually result in CASE session setup failures.
Out[1]:
{
│   0: {
│   │   <class 'chip.clusters.Objects.NetworkCommissioning'>: NetworkCommissioning(
│   │   │   (data version)=3994585040,
│   │   │   maxNetworks=1,
│   │   │   networks=[],

Also, from the timestamp of your output, it is very likely that this is caused by failsafe timeout
[1646296498.367539][3133:3138] CHIP:TOO: }

[1646296600.694915][3151:3156] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001DataVersion:<PHONE_NUMBER>

You issued the read request 100s after the add or update network request.

Thanks for sharing the input @erjiaqing,
Based on your comments, I worked on the Networks commissioning cluster commands
Below is my observation:
Used Commit id:
commit 87938704ed93dde93e960605ae6a714923efa2e0
Date:   Mon Apr 18 18:59:53 2022 -0700
Steps followed:
before the failsafe timeout, I send the add or update network request message.
Output:
As the sequence is executed before failsafe timeout, I was able to get the response as expected.
Confirmed the output by reading the Networks attribute. The list holds the SSID which is requested in add or update Network command. but still, the list is updated as the connected status is FALSE. Which is tracked in different bug #17106
Logs:
Full DUT report-NC.txt
Full TH report -NC.txt
As the issue is resolved now. I am closing this ticket.


How to recover a failed disk?

Hey folks, I already searched the web but with no luck so far.
I just deleted (for testing proposes)  the content of my longhorn disk including the disk config file.
Now I uncordoned the node again but its not able to get up again and stays in unschedulable state, actually I would expect some magic at this point as just 1/3 nodes have a failed disk now ... Why Is the system not recovering itself? What do I have to do in order to make my node with the deleted disk work again?
Kind regards

Can you post the reproduce steps?


createSelection throws error on headless mode with openseadragon

i am trying to integrate angular, openseadragon and annotorius
"@angular/core": "~11.2.11",
"@recogito/annotorious-openseadragon": "^2.4.2",
"@types/openseadragon": "^2.4.7",
My code implementation can be followed at (unfortunately both did not work, but works in my local project)
https://codesandbox.io/s/quizzical-shape-g0y3d
https://stackblitz.com/edit/angular-ivy-c4ogjd
I was able to draw the annotation. After drawing the annotation, if the annotation is selected, it throws an error.

I have followed CODE EXAMPLE section of https://recogito.github.io/guides/headless-mode/

I created a ticket now for the larger issue that this is related to:
https://github.com/recogito/annotorious-openseadragon/issues/74
I'll try to prioritize this!

Headless mode is now revised & fixed. It's now possible to create an annotation properly.

After an annotation is created in headless mode, it remains in selected state
You can store annotation bodies & save the annotation through the API (see updateSelected and saveSelected)
Clicking outside the annotation will also save it. Note that annotations without bodies will be canceled, unless the allowEmpty init parameter is set to true


v1.2 line items

[ ] - pick.range; like slice, pick.range(0, -1)
[ ] - map.sleep; map.sleep(1000, fn) fn(x), wait 1sec, fn(x1), wait 1sec, fn(x2), ... fn(xN)

using boards in favor of these, and after sleeping on it, I don't like either of these


Error while loading the addon

Hello, I'm trying to use this addon but I get this error after Storybook has finished loading:

I've followed the steps described into the documentation but I can't make it work.
The content of the "Source" tab appears empty on my side. I believe the error comes from the line 60:
// register.js
const iframe = document.querySelector('#storybook-preview-iframe').contentDocument;
const sourceWrapper = iframe.querySelector('storybook-dynamic-app-root') || iframe.querySelector('storybook-wrapper');
const source = sourceWrapper.children[0]; // line 60

I am using some addons but none that modifies the stories display. Any ideas?
NB: I've tried to use the addon with a fresh SB install and got the same result

same issue, resolved it with the following, bit dodgy but seems something has changed in a recent version of SB
const sourceWrapper = iframe.querySelector('storybook-dynamic-app-root') || iframe.querySelector('storybook-wrapper') || iframe.querySelector('#root').children[0].children[0];
if (sourceWrapper === null) return;
const source = sourceWrapper.children[0];

@gilsdav Will you provide an update for this?


Disable bounce effect in interactive transitions

Hi!
There seems to be a bounce effect when you complete an interactive transition, I'd like to replace that by just decelerating to final position without bouncing.
You can check this effect in the Example project, if you pinch and release it'll complete the interactive transition with a bounce effect going a bit further than final progress in some cases.
The workaround I found is to subclass TLTransitionLayout and override the setProgress:time: method limiting values to 0..1
- (void)setTransitionProgress:(CGFloat)transitionProgress time:(CGFloat)time
{
    [super setTransitionProgress:MAX(0, MIN(transitionProgress, 1.f)) time:MAX(0, MIN(time, 1.f))];
}

This does get rid for the bounce effect (it's no longer visible to the user) but the transition still takes some time to complete because it thinks it's bouncing.
Any idea how can I solve this issue?
Thanks in advance,
Nicolás.

The underlying problem with this is that this bounce comes from UIKit. What I mean is, when you finish or cancel the transition, UIKit drives the progress to completion and bounces the value beyond [0, 1] as it sees fit (as far as I can tell from experimentation). To eliminate the bounce cleanly, we would need to know the bounce formula in order to counteract it.
So I don't have a better idea than what you're already doing.
You might be interested in looking at #25, which talks about discrete jumps at the end of the transition. The underlying cause is that TLLayoutTransitioning truncates progress between [0, 1] like you've done above in some calculations but not others. I'm in the process of removing all of this truncation to resolve #25, but I don't think this will affect your workaround.

I see. I spent some hours looking for a workaround without success. It's a minor issue in our app so we're just going to focus on other stuff for now. Will update if I get to work on this again.
Thanks !

@wtmoose Have you found a solution?

@AEugene no, I have not.