Error: property missing ':'

I have this simple Webpack 2 PurifyCSS config:
const PurifyCSS = new PurifyCSSPlugin({
  styleExtensions: ['.css'],
  moduleExtensions: ['.html', '.js'],
  paths: glob.sync(path.join(__dirname, 'index.html', 'src/App.js', 'src/components/**/*')),
});

But I'm getting this error:
/home/Projects/my-project/node_modules/css/lib/parse/index.js:72
      throw err;
      ^

Can you link to a little project to study? I have a rough idea of what might be going on, but I have to verify my hunch.

I'm having the same issue, I traced it to an inline svg image just after the base64,:
background:url("data:image/svg+xml;base64,PD94b
It seems related to this post
https://github.com/reworkcss/css/issues/67

@ClinicalCharles that's probably it.
@bebraw does your hunch relates to that?

@matheusml I was thinking it could be some css/css-loader thing. A stack trace would help a lot. A standalone project would be even better.

A part of the problem is that reworkcss doesn't seem to be under active maintenance. If the bug is there, there's not much we can do here.

@bebraw
A standalone project that replicate this error is going to be really hard for now, but I'm sending the full stack trace, and the complete webpack config:
/home/matheuslima/Projects/city-voices-fe/node_modules/css/lib/parse/index.js:72
      throw err;
      ^

Error: undefined:14:525709: property missing ':'
    at error (/home/matheuslima/Projects/city-voices-fe/node_modules/css/lib/parse/index.js:62:15)
    at declaration (/home/matheuslima/Projects/city-voices-fe/node_modules/css/lib/parse/index.js:223:33)
    at declarations (/home/matheuslima/Projects/city-voices-fe/node_modules/css/lib/parse/index.js:252:19)
    at rule (/home/matheuslima/Projects/city-voices-fe/node_modules/css/lib/parse/index.js:560:21)
    at rules (/home/matheuslima/Projects/city-voices-fe/node_modules/css/lib/parse/index.js:117:70)
    at stylesheet (/home/matheuslima/Projects/city-voices-fe/node_modules/css/lib/parse/index.js:81:21)
    at module.exports (/home/matheuslima/Projects/city-voices-fe/node_modules/css/lib/parse/index.js:564:20)
    at rework (/home/matheuslima/Projects/city-voices-fe/node_modules/rework/index.js:27:21)
    at CssTreeWalker.beginReading (/home/matheuslima/Projects/city-voices-fe/node_modules/purify-css/src/CssTreeWalker.js:21:14)
    at purify (/home/matheuslima/Projects/city-voices-fe/node_modules/purify-css/src/purifycss.js:60:8)
    at /home/matheuslima/Projects/city-voices-fe/node_modules/purifycss-webpack/dist/index.js:95:99
    at Array.forEach (native)
    at /home/matheuslima/Projects/city-voices-fe/node_modules/purifycss-webpack/dist/index.js:81:28
    at Array.forEach (native)
    at Compilation.<anonymous> (/home/matheuslima/Projects/city-voices-fe/node_modules/purifycss-webpack/dist/index.js:65:30)
    at next (/home/matheuslima/Projects/city-voices-fe/node_modules/webpack/node_modules/tapable/lib/Tapable.js:140:14)
    at ExtractTextPlugin.<anonymous> (/home/matheuslima/Projects/city-voices-fe/node_modules/extract-text-webpack-plugin/index.js:329:4)
    at Compilation.applyPluginsAsyncSeries (/home/matheuslima/Projects/city-voices-fe/node_modules/webpack/node_modules/tapable/lib/Tapable.js:142:13)
    at sealPart2 (/home/matheuslima/Projects/city-voices-fe/node_modules/webpack/lib/Compilation.js:622:9)
    at next (/home/matheuslima/Projects/city-voices-fe/node_modules/webpack/node_modules/tapable/lib/Tapable.js:138:11)
    at ExtractTextPlugin.<anonymous> (/home/matheuslima/Projects/city-voices-fe/node_modules/extract-text-webpack-plugin/index.js:305:5)
    at /home/matheuslima/Projects/city-voices-fe/node_modules/async/dist/async.js:359:16
    at iteratorCallback (/home/matheuslima/Projects/city-voices-fe/node_modules/async/dist/async.js:935:13)
    at /home/matheuslima/Projects/city-voices-fe/node_modules/async/dist/async.js:843:16
    at /home/matheuslima/Projects/city-voices-fe/node_modules/extract-text-webpack-plugin/index.js:289:6
    at /home/matheuslima/Projects/city-voices-fe/node_modules/async/dist/async.js:359:16
    at iteratorCallback (/home/matheuslima/Projects/city-voices-fe/node_modules/async/dist/async.js:935:13)
    at /home/matheuslima/Projects/city-voices-fe/node_modules/async/dist/async.js:843:16
    at /home/matheuslima/Projects/city-voices-fe/node_modules/extract-text-webpack-plugin/index.js:286:13
    at /home/matheuslima/Projects/city-voices-fe/node_modules/async/dist/async.js:3025:16

import path from 'path';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import FaviconsWebpackPlugin from 'favicons-webpack-plugin';
import CleanWebpackPlugin from 'clean-webpack-plugin';
import ExtractTextPlugin from 'extract-text-webpack-plugin';
import OfflinePlugin from 'offline-plugin';
import glob from 'glob';
import PurifyCSSPlugin from 'purifycss-webpack';
import webpack from 'webpack';

const HTMLWebpackPluginConfig = new HtmlWebpackPlugin({
  template: path.resolve(__dirname, 'index.html'),
  filename: 'index.html',
  inject: 'body',
});

const CleanPlugin = new CleanWebpackPlugin(['static']);

const DefinePlugin = new webpack.DefinePlugin({
  'process.env': {
    NODE_ENV: JSON.stringify('qa'),
    API_URL: JSON.stringify('https://api-hom.cityvoices.mobi/'),
    STATICS_URL: JSON.stringify('https://static.cityvoices.mobi/'),
  },
});

const ExtractTextPluginCSS = new ExtractTextPlugin({
  filename: 'style.css',
  allChunks: true,
  ignoreOrder: true,
});

const UglifyPlugin = new webpack.optimize.UglifyJsPlugin({
  compress: {
    warnings: false,
    screw_ie8: true,
    conditionals: true,
    unused: true,
    comparisons: true,
    sequences: true,
    dead_code: true,
    evaluate: true,
    if_return: true,
    join_vars: true,
  },
  output: {
    comments: false,
  },
});

const CommonChunksPlugin = new webpack.optimize.CommonsChunkPlugin({
  name: 'vendor',
  minChunks: Infinity,
  filename: 'vendor.bundle.js',
});

const AggressiveMergingPlugin = new webpack.optimize.AggressiveMergingPlugin();

const LoaderOptionsPlugin = new webpack.LoaderOptionsPlugin({
  minimize: true,
  debug: false,
});

const ProvidePlugin = new webpack.ProvidePlugin({
  $: 'jquery',
  jQuery: 'jquery',
});

const PurifyCSS = new PurifyCSSPlugin({
  styleExtensions: ['.css'],
  moduleExtensions: ['.html', '.js'],
  paths: glob.sync(path.join(__dirname, 'index.html', 'src/App.js', 'src/components/**/*')),
});

const OfflinePluginConfig = new OfflinePlugin();

const FaviconPlugin = new FaviconsWebpackPlugin({
  logo: path.resolve(__dirname, 'src/assets/images/favicon.png'),
  icons: {
    android: false,
    appleIcon: false,
    appleStartup: false,
    coast: false,
    favicons: true,
    firefox: false,
    opengraph: false,
    twitter: false,
    yandex: false,
    windows: false,
  },
});

const config = {
  entry: {
    app: './src/App.js',
    vendor: ['react', 'react-dom', 'react-router'],
  },
  output: {
    path: path.resolve(__dirname, 'static'),
    filename: 'bundle.js',
  },
  resolve: {
    alias: {
      webworkify: 'webworkify-webpack',
    },
  },
  module: {
    rules: [
      {
        test: /.jsx?$/,
        loader: 'babel-loader',
        exclude: /node_modules/,
        options: {
          presets: ['es2015', 'react'],
          plugins: ['transform-object-rest-spread'],
        },
      },
      {
        test: /\.js$/,
        include: path.resolve('node_modules/mapbox-gl-shaders/index.js'),
        loader: 'transform-loader/cacheable?brfs',
      },
      {
        test: /\.css$/,
        use: ExtractTextPlugin.extract({
          fallback: 'style-loader',
          use: 'css-loader',
        }),
      },
      {
        test: /\.scss$/,
        use: ExtractTextPlugin.extract({
          loader: 'css-loader',
          options: {
            modules: true,
            importLoaders: 1,
            localIdentName: '[hash:base64:5]',
            minimize: {
              discardComments: {
                removeAll: true,
              },
            },
          },
        }),
      },
      {
        test: /.(mp4|png|jpg|woff(2)??|eot|otf|ttf|svg)(\?[a-z0-9=\.]+)?$/,
        loader: 'url-loader?limit=100000',
      },
      {
        include: /node_modules\/mapbox-gl-shaders/,
        loader: 'transform-loader',
        enforce: 'post',
        options: 'brfs',
      },
    ],
  },
  plugins: [CleanPlugin, DefinePlugin, HTMLWebpackPluginConfig, ExtractTextPluginCSS, UglifyPlugin,
    CommonChunksPlugin, ProvidePlugin, LoaderOptionsPlugin, AggressiveMergingPlugin,
    FaviconPlugin, OfflinePluginConfig, PurifyCSS],
  devtool: 'source-map',
};

module.exports = config;


Edited Readme of edit-my-readme

Nice! Thanks for your contribution.

I think is a nice idea.. I would love to contribute more
Barnabas Makonda,
Bsc. Computer Engineering and Information Technology,
University Of Dar Es Salaam,Tanzania.
Barnabas Makonda https://www.linkedin.com/profile/view?id=215153616  @
barnieM https://twitter.com/_barniem  MAKOSCAFEE
https://github.com/MAKOSCAFEE  Barnabas Makonda
http://www.quora.com/Barnabas-Makonda
+255685557050
On Sat, Sep 19, 2015 at 2:39 AM, Ryan Seys<EMAIL_ADDRESS>wrote:

Merged #5 https://github.com/ryanseys/edit-my-readme/pull/5.
—
Reply to this email directly or view it on GitHub
https://github.com/ryanseys/edit-my-readme/pull/5#event-413736779.


Implement RPC APIs for better fuzzing support

During the last fuzzing call, it was agreed that extra debug_* APIs should be implemented. Specifically, the APIs are:

debug_getBadBlocks
debug_standardTraceBlockToFile
debug_standardTraceBadBlockToFile

A specification can be found here: https://geth.ethereum.org/docs/rpc/ns-debug#debug_standardtraceblocktofile
More context:

debug_getBadBlocks helps identify the block, but geth also has debug_standardTraceBlockToFile to dump out all traces to disk (it’s usually not possible to dump out 12M-gas blocks over RPC). However, that’s only half, we also have debug_standardTraceBadBlockToFile to execute a ‘bad’ block and get the trace there too.
If Open Ethereum also supported those two methods, the time required to identify a random opcode mismatch would be very small

Duplicate of #1357


Simulating from predictive distribution of model at guide

We need to have an internal interface to simulate datapoints $x \sim q(x \mid \phi)$, where $q(x \mid \phi)$ denotes the induced predictive distribution from the guide. Specifically, $q(x \mid \phi) = \int_{\theta} p(x \mid \theta) q(\theta \mid \phi)$, where $q(\theta \mid \phi)$ denotes the guide with variational parameters $\phi$ and  $p(x \mid \theta)$ is our model. We might use a thin wrapper around Pyro's Predictive class here.

We should just be able to call Predictive with model and guide here


TextField's caret shifts to the left after initial rendering

Steps to reproduce
Run the following app, and switch focus from the first text field to the second, then back again (as many times as you like):
import 'package:flutter/material.dart';

void main() {
  runApp(ShiftingCaret());
}

class ShiftingCaret extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'TextField',
      home: Scaffold(
        body: Padding(
          padding: EdgeInsets.all(10),
          child: Row(
            children: [
              SizedBox(width: 100, child: TextField()),
              SizedBox(width: 100, child: TextField()),
            ],
          ),
        ),
      ),
    );
  }
}

Expected behavior
As the caret appears and begins blinking in the focused text field, you expect the caret's offset (position) within the text field to remain fixed until you start typing.
Actual behavior
The caret starts in one position, then quickly shifts to the left as it begins blinking.  It's a jarring experience.
This bug happens both in mobile and in desktop/web.  However, in a desktop or web context, where the user can use the TAB keyboard key to quickly navigate from one text field to the next, it's especially pronounced and unsettling.

Other facets of this bug:

The caret only behaves this way upon the text field gaining focus when the text filed is empty.  Once the text field has content, this behavior does not manifest.
Once the text field has content, if the user uses the keyboard to move the caret back to position zero, the shift can be seen again, and it now shifts not only the caret, but all the text as well.

This can be experienced at https://dartpad.dev/b5a2a62bfd7c01cc6205ad1ea4785baa

CC @justinmc

@tvolkert Do you know what sha you were on when you saw this?  I'm strangely unable to reproduce this on Chrome, Android emulator, or iOS emulator.

@justinmc I'm synced to eacd1c8de487a22d2158ee723283c67c45433d72.  I'll try to sync to ToT and see if this goes away.

I can reproduce at eacd1c8de, let me know what you see and hopefully this is good to close.

Indeed, I can't reproduce it at ToT.  I ran a bisect, and it looks like it was fixed last week by bbb95e5787db0780d5fe1abbe023fe771137d325.
FYI @LongCatIsLooong


Question: Cut a new minor release ?

It would helpful to cut a new minor release of 0.4.28 to 0.4.29 if you're using latest python you'll hit the Iterable issue, which is fixed in main but not in the 0.4.28 release.

We're working on this right now.

Launched


Add missing hyperclick provider name

Recent versions of the hyperclick package require that providers include a providerName property, which means that users with both packages installed encounter the following error after launch:

Missing "providerName" property for hyperclick provider.

This change fixes that error by adding a providerName to the exported provider.

@mkhl Nice, thank you!


Feature request : login with Telegram

This would be great for one of my apps.

it would be cool if you could share links to ios/adnroid/web implementation or ready capacitor/react-native/cordova plugin


Added ability to add custom pool parameters or new pools using pools-custom.cfg

Just a tiny addition to make it possible to add custom pools and pool settings so that pools.cfg from github wouldn't overwrite the changes
public domain

What happens if pools-custom.cfg doesn't exist?


Remove be_valid_asset gem

We want to turn off validator.unboxedconsulting.com and it doesn't make sense the tests requiring a network connection to run so remove the be_valid_asset gem and replace it with Nokogiri validation. This actually turned up a few problems which have also been fixed.

Turning off validator seems useful and good to me.  However, I'm a little unsure about the markup changes as they suggest we're serving xhtml5, which I don't think we are.  As far as I can tell xhtml5 should start with an XML processing instruction, and be served with an XML mime-type (see: https://html-differences.whatwg.org/#syntax), neither of which is the case for our markup.

@h-lame the spec allows you to serve up as text/html a well-formed XML document so that you can process it using XML tools. Such a document is said to be using 'polyglot' markup:
https://dev.w3.org/html5/html-polyglot/html-polyglot.html

Oh, so it does.  But then this version https://www.w3.org/TR/html-polyglot/ of the same spec says it's no longer being worked on :confused:.  Assuming the spec is ok though I think we have to add some xmlns attributes to the root <html> element (at least that's what my reading of https://www.w3.org/TR/html-polyglot/#element-level-namespaces and https://en.wikipedia.org/wiki/Polyglot_markup#Polyglot_HTML_requirements suggests).


MenuAnchor should have MenuAnchor.of(context).close()

Use case
The menuChildren is List<Widget> but only MenuItemButton has the ability to close the menu on tap on it.
We can use the controller and save it, but it's not the Flutter way to do it!
We should have MenuAnchor.of(context).close() or MenuAnchorController.of(context).close() publicly so we can use any widget.
Proposal
MenuAnchor(
    builder: ...,
    menuChildren:[
         ListTile(
              child:...
              onTap:()=>MenuAnchor.of(context).close(),
         ),
    ],
);

Thanks for proposing this @mohamadlounnas.
This seems similar/related to these existing proposals
https://github.com/flutter/flutter/issues/139269
https://github.com/flutter/flutter/issues/126366
Can you please check them out?

Thanks for proposing this @mohamadlounnas. This seems similar/related to these existing proposals #139269 #126366 Can you please check them out?

hey @dam-ease, no its different, this https://github.com/flutter/flutter/issues/139269 is about the DropdownMenu.
and this https://github.com/flutter/flutter/issues/126366 talking about Responsive issue not about the close control ability.

CC @gspencergoog


SDE Frontend QG 4 checks (Release 3.2)

The main issue can be found here. This issue is just to check specific content of the frontend repository.
Please keep this issue open until QG 4 is concluded!
Product Name: Managed Simple Data Exchanger Frontend
Product Owner: Mehran Roshandel
Dev SPOC: Aditya Gajbhiye
App Version:  2.0.8
Check of Tractus-X Release Guidelines
This QG 4 Check is depending on the mandatory information from our current Release Guidelines.
TRG 1 Documentation

[x] #22
[x] TRG 1.02 appropriate INSTALL.md https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/issues/22
[x] TRG 1.03 appropriate CHANGELOG.md

TRG 2 Git

[x] TRG 2.01 default branch is named main

[x] TRG 2.03 repository structure

Checks within TRG 2.03

[x] TRG 2.03 /docs directory contains detailed product related documentation for the Tractus-X product
[x] TRG 2.03 /charts directory contains the Helm chart for the Tractus-X product IF available
[x] TRG 2.03 AUTHORS.md file (optional) (TRG 2.03) https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/issues/23
[x] TRG 2.03 CODE_OF_CONDUCT.md file (TRG 2.03) https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/issues/24
[x] TRG 2.03 CONTRIBUTING.md file (TRG 2.03)
[x] TRG 2.03 DEPENDENCIES file(s) with up to date content (Dash tool generated) (TRG 2.03)
[x] TRG 2.03 LICENSE file (TRG 2.03)
[x] TRG 2.03 NOTICE.md file (TRG 2.03)
[x] TRG 2.03 SECURITY.md file (TRG 2.03)

[x] TRG 2.04 Leading product repository

Checks within TRG 2.04

[x] TRG 2.04 repository name must be productname without prefix or suffix
[x] TRG 2.04 should contain the release
[x] TRG 2.04 references/urls to the product's other repositories https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/issues/22
[x] TRG 2.04 might contain product helm chart(s)
[x] TRG 2.04 README.md: contains the urls for the underlying applications

[x] TRG 2.05 .tractusx metafile in a proper format

TRG 3 Kubernetes

[x] TRG 3.02 PersistentVolume and PersistentVolumeClaim is used when needed

TRG 4 Container

[x] #25

[x] TRG 4.02 top level README.md file, that contains information about the used base image  https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/issues/22

[x] TRG 4.03 Image has USER command and Non Root Container

Checks within TRG 4.03

[x] TRG 4.03 deployment.yaml has runAsUser and allowPrivilegeEscalation: false properly set

[x] TRG 4.05 released image must be place DockerHub as mandatory container registry; remove GHCR references

[x] TRG 4.06 Notice File for DockerHub has all necessary information https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/issues/22

Checks within TRG 4.06

[x] TRG 4.06 Link to the source of your base image (Container registry and GitHub if available)
[x] TRG 4.06 Link to your product image on DockerHub
[x] TRG 4.06 Link to your repository on GitHub
[x] TRG 4.06 Direct link to the Dockerfile used to build your image
[x] TRG 4.06 Link to LICENCE file in your repo as Project License (make clear, that this is the PROJECT licence, not an image license

TRG 6 Released Helm Chart

[x] TRG 6.01 Released Helm Chart

TRG 7 Open Source Governance

[x] #26

[x] TRG 7.02 License and copyright header  https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/issues/21

[x] TRG 7.03 IP checks for project content

[x] TRG 7.04 IP checks for 3rd party content

Checks within TRG 7.04

[x] TRG 7.04 DEPENDENCIES file is up-to-date and reflects the current use of the 3rd party content
[x] TRG 7.04 all libraries listed there should have the status "approved"
[x] TRG 7.04 no libraries with status "rejected"
[x] TRG 7.04 for libraries with status "restricted", the according IP issues must be present (issue number in the source column)

[x] TRG 7.05 Legal information for distributions

[x] TRG 7.06 Legal information for end user content https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/issues/28

[x] TRG 7.07 Legal notice for documentation https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/issues/27

Hints
Information Sharing

Frontend tasks are done, closing this issue.


Add packed attribute to U8TO32_LITTLE() which casts byte pointers to …

…word pointers to alert the compiler that the byte pointer might not be aligned with word size.

Sorry, I just remembered GCC-8 does not like this. :-/
See related issue here: https://github.com/micropython/stm32lib/pull/6
Let's not merge this then.


use OpenAPIGenerator plug-in

what do

feat: use OpenAPIGenerator plug-in

ref
https://swiftpackageindex.com/apple/swift-openapi-generator/0.1.2/tutorials/swift-openapi-generator/serverswiftpm

Discussions about errors

https://github.com/swift-cloud/community/discussions/8


"Update gist" fails with "HttpError: Not Found"

Details can be found here:
https://github.com/thomasmerz/productive-box/runs/5074139692?check_suite_focus=true#logs

Run maxam2017/productive-box@master
env:
GH_TOKEN: ***
GIST_ID: 3b6ecf2621f492632018912a61025276
TIMEZONE: Europe/Berlin
(node:1587) UnhandledPromiseRejectionWarning: HttpError: Not Found
at /home/runner/work/_actions/maxam2017/productive-box/master/dist/index.js:1:78960
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:1587) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1587) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@maxam2017 - Please advice what I'm doing wrong or how to fix this. Thanks a lot 👍🏻

@maxam2017 , can you please have a look at my issue and give some feedback? Thanks a lot.

your gist file seems to be working well now. Let me close this issue. Thanks


[ENH] Update pandas version

Updates the version of the pandas dependency. Part of https://github.com/aeon-toolkit/aeon/pull/909, cut down to make it a bit smaller.

benching this for now. would rather start the module from scratch than delve into it to perform random repairs.


Add support for more XCM Channels

Is your feature request related to a problem? Please describe.
Please add support for new XCM Channels (channels with high transactions)
I. POLKADOT

[ ] Moonbeam <> Bifrost Polkadot
[ ] Moonbeam <> Parallel
[ ] Moonbeam <> Phala
[ ] Moonbeam <> Statemint
[ ] Moonbeam <> HydraDX
[ ] Moonbeam <> Equilibrium
[ ] Acala <> Parallel
[ ] Acala <> Interlay
[ ] Acala <> HydraDX
[ ] Acala <> Statemint
[ ] Interlay <> Polkadot
[ ] Interlay <> Parallel
[ ] Interlay <> Astar
[ ] Interlay <> Statemint
[ ] Interlay <> Equilibrium
[ ] Parallel <> Polkadot
[ ] Parallel <> Statemint
[ ] Parallel <> HydraDX
[ ] Parallel <> Phala
[ ] HydraDX <> Polkadot
[ ] HydraDX <> Zeigeist
[ ] HydraDX <> Statemint
[ ] HydraDX <> Astar
[ ] Bifrost Polkadot <> Astar
[ ] Equilibrium <> Astar

II. KUSAMA

[ ] Karura <> Bifrost Kusama
[ ] Karura <> Kintsugi
[ ] Karura <> Moonriver
[ ] Karura <> Calamari
[ ] Karura <> Basilik
[ ] Karura <> Parallel Heiko
[ ] Karura <> Statemine
[ ] Karura <> Altair
[ ] Bifrost Kusama <> Moonriver
[ ] Bifrost Kusama <> Statemine
[ ] Bifrost Kusama <> Mangata
[ ] Moonriver <> Statemine
[ ] Moonriver <> Kintsugi
[ ] Moonriver <> Parallel Heiko
[ ] Moonriver <> Calamari
[ ] Kintsugi <> Kusama
[ ] Kintsuigi <> Parallel Heiko
[ ] Basilisk <> Kusama
[ ] Basilisk <> InvArch Tinkernet
[ ] Turing <> Kusama
[ ] Turing <> Mangata
[ ] Picasso <> Statemine
[ ] MangataX <> Kusama

will be updated in batch

#1264

Round 1: Add support for USDT on more chains
Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-pr-1502-build-1.0.7-2023-06-06T10-58-17UTC.zip

Statemint <-> acala
Statemint <-> astar
Statemint <-> moonbeam
Statemint <-> hydradx
Statemint <-> parallel
Statemint -> equilibrium
Statemint <-> bifrost_dot
Statemint <-> interlay


sfrith ceda-cc report for v2021test

FAILED:: Required global attributes missing: ['mip_era']
The mip era attribute is given as mip-era with a hyphen, it should be written as mip_era with an underscore.
I fixed this in a test file with:
ncrename -a global@mip-era,mip_era br_AmonZ_GEOSCCM_refD1_r1i1p1f1_grz_200001-201812.nc

FAILED:: Expected variable [br] not present
The variable in each of the data files has been given in upper case but it should be written in lower case.
I fixed this in a test file with:
ncrename -v BR,br br_AmonZ_GEOSCCM_refD1_r1i1p1f1_grz_200001-201812.nc

FAILED:: missing_value must be present if _FillValue is [br]
You need to add an attribute for missing value e.g. br:missing_value = 1.e+20f ;
I fixed this in a test file with:
ncatted -O -a missing_value,br,c,f,1.e+20 br_AmonZ_GEOSCCM_refD1_r1i1p1f1_grz_200001-201812.nc

FAILED:: Variable [br] has incorrect attributes: cell_methods="time: mean longitude: mean" [correct: "longitude: mean time: mean"]
The value of the cell_methods attribute has been written in an order that wasn't expected by the checker.
I fixed this in a test file with:
ncatted -O -a cell_methods,br,m,c,"longitude: mean time: mean" br_AmonZ_GEOSCCM_refD1_r1i1p1f1_grz_200001-201812.nc


RecordMessage rewrites Record.Detail

RecordMessage rewrites details, which causes an incorrect record to be added to the database

fixed: https://github.com/casgate/casgate/pull/89


Speed up MSD.GetNode

Increases performance of MSD.GetNode x2.58 (edit for second commit)
Testing with LargeJsonApi app using the POST test scenario x1 warmup and x4 for run
Before

After

After results above are combined with change https://github.com/aspnet/Common/pull/159
I might have got a bit carried away with this PR, don't mind if you think it goes too far...
Resolves https://github.com/aspnet/Mvc/issues/5362
/cc @rynowak @danroth27 @ajaybhargavb

With tracing on for call counts
Before

After

Sped up MSD.MSN.GetNode also

How does the vectorized approach compare to a naive for-loop?
I have some concerns about the maintainability of the vector approach. I'll discuss with some folks here. I think we have a different set of criteria than the core HTTP parsing logic in Kestrel :laughing: For one, we own the definition of these keys, it's not a standard, so it's more likely to evolve in the future.

Updated result captures with second commit results

How does the vectorized approach compare to a naive for-loop?

Just need to comment out lines 547 - 747
Original

Non-vector

Vector

The Vector path will get faster as the keys get longer; but I don't know how common that is ?

Overall own time before

Overall own time after

Overall own time before

Overall own time after

The three changes seem to be disproportionately significant for this scenario

Comparing your last two data points, a lot of stuff you didn't change is varying by ~500 ms across these two runs. I think we'll have to have someone on the team take a more thorough look at measuring in a more stable way than just profiling.
=======================
That said, I think we have a high bar for starting to put vectors into MVC :laughing: - we'll also need to look into reducing the number of calls we're making into GetNode. https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/ValidationVisitor.cs#L155
The visitor was written back when ModelStateDictionary was backed by a dictionary, now that it's a tree we can be much more efficient by traversing the nodes directly.

Less exciting version in https://github.com/aspnet/Mvc/pull/5389

Closing, replaced with https://github.com/aspnet/Mvc/pull/5389 which now performs better


103 search productdb

Fix #103
Test URLs:

Before: https://main--mammotome--hlxsites.hlx.page/en/
After: https://103-search-productdb--mammotome--hlxsites.hlx.page/en/

This PR depends on #128 (refactoring to move the product lookup into lib-franklin) - hence, only the blocks/header/* changes are relevant. The other changes can be better discussed in #129 (the PR for #128)

@solaris007 - hopefully not too confusing, this PR contains the changes from #129 so you only need to consider the changes to header.js in this PR (assuming we merge the changes in #129 - otherwise, I'll have to adapt this PR).


all_straights

Need to determine whether the obvious algorithm (keep track of count straights, end the shortest when necessary) works.

Should the results be in descending order?


No link provided for the setup to make the data in Analytics available

In the document, features are described as available in the Bank Management Workspace, but it would be very useful, if the links for the required setup would be there like; how to enable the data/ refresh the data to make the Analytics available in the workspace. Because by default data comes blank in the Bank Management Workspace >> Analytics.
Hope the link /additional resources can be added.

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

ID: e6fe4190-9d7a-6c3d-27e2-04c9c969a493
Version Independent ID: dc80f40a-6315-2df9-3b33-8a59731bd5cd
Content: Bank management workspace - Finance | Dynamics 365
Content Source: articles/finance/cash-bank-management/Bank-management-workspace.md
Service: dynamics-ax-applications
Product: ****
Technology: ****
GitHub Login: @saraschi2
Microsoft Alias: saraschi

@Neeraj2912, thanks for the feedback.
@rschloma, please assign this to the current topic author.

Bug 511734 logged to track this issue.

Thank you again for letting us know. We've added a link and it should be available in the topic within the next 24 hours. Have a great day!


Cannot read property type of null

When using this command
cat us-states.geojson | dirty-reproject --forward albersUsa > output.geojson i'm getting the below error.
C:\Users\Thomas\AppData\Roaming\npm\node_modules\dirty-reprojectors\node_modules\turf-meta\index.js:40
    isGeometryCollection = geometryMaybeCollection.type === 'GeometryCollection';
                                                   ^

TypeError: Cannot read property 'type' of null
    at coordEach (C:\Users\Thomas\AppData\Roaming\npm\node_modules\dirty-reprojectors\node_modules\turf-meta\index.js:40:52)
    at module.exports (C:\Users\Thomas\AppData\Roaming\npm\node_modules\dirty-reprojectors\node_modules\turf-extent\index.js:61:5)
    at DestroyableTransform.write [as _transform] (C:\Users\Thomas\AppData\Roaming\npm\node_modules\dirty-reprojectors\bin\dirty-reproject:50:18)
    at DestroyableTransform.Transform._read (C:\Users\Thomas\AppData\Roaming\npm\node_modules\dirty-reprojectors\node_modules\readable-stream\lib\_stream_transform.js:184:10)
    at DestroyableTransform.Transform._write (C:\Users\Thomas\AppData\Roaming\npm\node_modules\dirty-reprojectors\node_modules\readable-stream\lib\_stream_transform.js:172:83)
    at doWrite (C:\Users\Thomas\AppData\Roaming\npm\node_modules\dirty-reprojectors\node_modules\readable-stream\lib\_stream_writable.js:428:64)
    at writeOrBuffer (C:\Users\Thomas\AppData\Roaming\npm\node_modules\dirty-reprojectors\node_modules\readable-stream\lib\_stream_writable.js:417:5)
    at DestroyableTransform.Writable.write (C:\Users\Thomas\AppData\Roaming\npm\node_modules\dirty-reprojectors\node_modules\readable-stream\lib\_stream_writable.js:334:11)
    at Stream.ondata (internal/streams/legacy.js:16:26)
    at emitOne (events.js:116:13)

Is us-states.geojson a valid geojson?

@Spartanace1024 I ran into this using States data downloaded from the census.  You may want to check to make sure US Territories aren't included in your input dataset.  The Albers US projection can only handle the 50 States (+DC) so there should only be 51 records in your states table.

i have the same error when i try to convert a geojson made out of point, is there a way to make it work?
    isGeometryCollection = geometryMaybeCollection.type === 'GeometryCollection';
                                                   ^

TypeError: Cannot read property 'type' of null
    at coordEach (/usr/local/lib/node_modules/dirty-reprojectors/node_modules/turf-meta/index.js:40:52)
    at module.exports (/usr/local/lib/node_modules/dirty-reprojectors/node_modules/turf-extent/index.js:61:5)
    at DestroyableTransform.write [as _transform] (/usr/local/lib/node_modules/dirty-reprojectors/bin/dirty-reproject:50:18)
    at DestroyableTransform.Transform._read (/usr/local/lib/node_modules/dirty-reprojectors/node_modules/readable-stream/lib/_stream_transform.js:184:10)
    at DestroyableTransform.Transform._write (/usr/local/lib/node_modules/dirty-reprojectors/node_modules/readable-stream/lib/_stream_transform.js:172:83)
    at doWrite (/usr/local/lib/node_modules/dirty-reprojectors/node_modules/readable-stream/lib/_stream_writable.js:428:64)
    at writeOrBuffer (/usr/local/lib/node_modules/dirty-reprojectors/node_modules/readable-stream/lib/_stream_writable.js:417:5)
    at DestroyableTransform.Writable.write (/usr/local/lib/node_modules/dirty-reprojectors/node_modules/readable-stream/lib/_stream_writable.js:334:11)
    at Stream.ondata (internal/streams/legacy.js:15:31)
    at Stream.emit (events.js:189:13)

@sinanatra can you post or link to a sample geojson file that creates this problem?

@dereklieu  here, https://gist.githubusercontent.com/sinanatra/9bc59d406377f373df6359f6f69d4d8a/raw/c023038ad11cbc5719be071821c4a48c0ed84792/person.geojson
It happens with every geojson made out of single points. I also tried with the dirty reprojectors app, where it loads the file but exports only the baseline grid

@sinanatra thanks, I've pushed a new version to NPM and merged a PR in this repo that addresses your issue. The problem was bundling a very old version of turf-extent that didn't handle point geometries particularly well.


Fortran Programlama Diline Giriş (Turkish)

This is the free CC BY-NC-ND 4.0 book made by me and my brother.
Official link: http://dosyalar.ersoykardesler.net/yayinlar/Fortran_Programlama_Diline_Giris.pdf

Pull Request: #9832

merged


bugfix/BAI-298-deployments-made-of-the-same-model-by-the-same-user-overwrite-each-other

Technically, ticket BAI-298 refers to the registry deployments overwriting each other.  This will be resolved in the groups PR anyway, so the ticket is void.
This still seems like a useful feature.  Could we have some user facing information that this is the selected minimum version though?  I don't think we should hide it from the schema, we could include it with every other question.  To take this further, we could even make a custom component that allows you to change the selected minimum version.

Ah looks like there was some missing information in the ticket - we thought it was to do with the application. We'll have a dicussion about whether to keep this in with some quick UI changes, or to leave it as-is.

Technically, ticket BAI-298 refers to the registry deployments overwriting each other. This will be resolved in the groups PR anyway, so the ticket is void.
This still seems like a useful feature. Could we have some user facing information that this is the selected minimum version though? I don't think we should hide it from the schema, we could include it with every other question. To take this further, we could even make a custom component that allows you to change the selected minimum version.

Done


Rename aspnetcore_schema -> aspnetcoreV2_schema

For #775

Do we need to change any nuget packages/archives/targets/scripts etc.?

Going to make this change as part of splitting the installers completely.


[Java] bump maven.plugins:maven-shade-plugin to 3.4.2

Rationale for this change

Bumps org.apache.maven.plugins:maven-shade-plugin from 3.2.4 to newer version, but not to 3.5.2
What changes are included in this PR?

bump org.apache.maven.plugins:maven-shade-plugin
Are these changes tested?

via CI
Are there any user-facing changes?

Should not. Run additional CI for spark integration

@github-actions crossbow submit -g java

3.4.2 causes the following error
[INFO] -------------------< org.apache.arrow:arrow-vector >--------------------
[INFO] Building Arrow Vectors 17.0.0-SNAPSHOT                           [12/23]
[INFO]   from vector/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
Warning:  The POM for org.apache.maven.plugins:maven-shade-plugin:jar:3.4.2 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Arrow Java Root POM 17.0.0-SNAPSHOT:
[INFO]
[INFO] Arrow Maven Plugins ................................ SUCCESS [  5.937 s]
[INFO] Module Info Compiler Maven Plugin .................. SUCCESS [  5.198 s]
[INFO] Arrow Bill of Materials ............................ SUCCESS [  4.479 s]
[INFO] Apache Arrow Java Root POM ......................... SUCCESS [  3.896 s]
[INFO] Arrow Format ....................................... SUCCESS [  9.879 s]
[INFO] Arrow Memory ....................................... SUCCESS [  1.650 s]
[INFO] Arrow Memory - Core ................................ SUCCESS [ 14.715 s]
[INFO] Arrow Memory - Unsafe .............................. SUCCESS [  6.950 s]
[INFO] Arrow Memory - Netty Buffer ........................ SUCCESS [  8.400 s]
[INFO] Arrow Memory - Netty ............................... SUCCESS [  4.745 s]
[INFO] Arrow Vectors ...................................... FAILURE [  0.144 s]
[INFO] Arrow Compression .................................. SKIPPED
[INFO] Arrow Tools ........................................ SKIPPED
[INFO] Arrow JDBC Adapter ................................. SKIPPED
[INFO] Arrow Flight ....................................... SUCCESS [  1.654 s]
[INFO] Arrow Flight Core .................................. SKIPPED
[INFO] Arrow Flight SQL ................................... SKIPPED
[INFO] Arrow Flight SQL JDBC Driver Core .................. SKIPPED
[INFO] Arrow Flight SQL JDBC Driver ....................... SKIPPED
[INFO] Arrow Flight Integration Tests ..................... SKIPPED
[INFO] Arrow AVRO Adapter ................................. SKIPPED
[INFO] Arrow Algorithms ................................... SKIPPED
[INFO] Arrow Performance Benchmarks ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  46.125 s (Wall Clock)
[INFO] Finished at: 2024-05-26T08:04:08Z
[INFO] ------------------------------------------------------------------------
Error:  Plugin org.apache.maven.plugins:maven-shade-plugin:3.4.2 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven.plugins:maven-shade-plugin:jar:3.4.2 (absent): Could not find artifact org.apache.maven.plugins:maven-shade-plugin:jar:3.4.2 in apache (https://repo.maven.apache.org/maven2/) -> [Help 1]
Error:
Error:  To see the full stack trace of the errors, re-run Maven with the -e switch.
Error:  Re-run Maven using the -X switch to enable full debug logging.
Error:
Error:  For more information about the errors and possible solutions, please read the following articles:
Error:  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

@github-actions crossbow submit test-spark

@github-actions crossbow submit -g java

@github-actions crossbow submit -g java

Interesting, it looks like anything beyond 3.2 does not work

Yeah, interesting. While I close this, I will include a link to this PR in related issues.


#183: Use configuration classes instead of @value annotations

Hi @indyaah,
your PR looks really great so far, thanks for your support! Could you please do us a huge favor and also include configuration properties for the signature information, once #240 is merged? I tried to already incorporate @ConfigurationProperties in that PR but didn't have any luck with it (and can't look into it anymore because of time constraints). I pushed my attempt to https://github.com/corona-warn-app/cwa-server/commit/7d752e8ba17e41b20deb5c9299c14fe8539c9649 and added a comment here: https://github.com/corona-warn-app/cwa-server/issues/183#issuecomment-632358552.

@pithumke : Definitely, will incorporate 240 changes once it's merged. Thanks for the references.

Hi @indyaah,
#240 has been merged and #272 is on its way to master.

Closes #207

Big thank you to all community contributors, you rock! 🚀 ⭐


Data Quality Meetup / Gleb Mezhanskiy

URL:
https://www.datafold.com/blog/data-quality-meetup-4/
Review (1-2 sentences):
Data Quality Meetup from DataFold. Next topics discussed:

The Best Data Quality Investment in 2021
Verity: Data Quality as a Service
Unit Tests for SQL with dbt & Python
Building Security Conscious Data Apps
Fake It Till You Make It: A Backward Approach to Data Products

Published in Digest #6.


⚡ PageSpeed Insights

Address any findings from https://pagespeed.web.dev/analysis/https-jacobwoffenden-com/0ki3k6atnh?form_factor=mobile

👍 https://pagespeed.web.dev/analysis/https-jacobwoffenden-com/sebxq4tdlb?form_factor=desktop


(Stats) My profile only shows very old data

My profile seems to only show my data for 2013, nothing newer, despite a lot of newer commits.

+1

@Azhng could you send us example repos / email addresses for commits we overlooked<EMAIL_ADDRESS>

Hi @tbrisker
Sorry for late response. What you can do:

Check that you've add all emails that you use for claiming of authorship of commits.
We process only commits from default (master) branch, is your latest commits on it?
Add more repos and latest stats using GitHub auth.

Hi @Azhng
Do you still have problems with your profile? I see June commits in your overview chart.


Please replace https://claim-tax-benefits.azurewebsites.net/confirmation

https://claim-tax-benefits.azurewebsites.net/confirmation
Please replace page with:
Heading:   You have filed your 2018 taxes
Your 2018 filing number is 5H3P9IO5816
Give CRA this number if you need help or information. You can contact CRA by:
Phone: 1-800-959-8281
TTY: 1-800-665-0354
You can also get help at a free tax clinic. Visit canada.ca/taxes-help to find your nearest clinic.
Print summary of your 2018 tax return (blue button)
It is important to read your Notice of Assessment which shows:

That you filed taxes
If you will get benefits or money back
If you owe money to CRA

Download your 2018 notice of assessment (blue button)

Closing this issue as PR 228 has been merged


Can we deploy jaeger components (collector/query/UI) as a binary in Linux VM instance

Can someone please guide on deploying jaeger (collector/query/UI) components on a bare metal VM with specific configuration files

From my message to the mailing list:
There isn't much to say, other than that you just run the binaries directly, passing --config-file with the location of your configuration file.
I wrote a blog post some time ago specific to the deployment of Jaeger Agent on bare metal, and the same idea can be applied to all other components:
https://medium.com/jaegertracing/running-jaeger-agent-on-bare-metal-d1fc47d31fab


fix memory leaks in Search()

foundExt is not correctly freed in an early return. This results in memory leaks

Thanks for the fix!


Fix to ensure the custom deallocator for zint_symbol is used for std::shared_ptr's too

Fixes to address issue: #807
std::unique_ptr<zint_symbol> usage is replaced with:
using unique_zint_symbol = std::unique_ptr<zint_symbol, zint_symbol_deleter>;
This permits the std::move cast used in
void Result::zint(unique_zint_symbol&& z)
{
	_zint = std::shared_ptr(std::move(z));
}

to move the customer deleter usage into the shared pointer too, std::default_delete usage only works for unique_ptr's which is why this change is needed.  This prevents ASAN errors that report alloc/dealloc mismatch due to the shared_ptr usage:

(The image is from our internal test pipeline and is of the test that was failing when ASAN is enabled.)

Thank you very much for debugging and reporting his. Could you do me a favor and drop the gitignore commit from this PR?
And the broken rust-build has nothing to do with your change but an updated rust compiler on the CI system.

gitignore commit removed as requested.  Thanks!

Thanks!


Inappropriate title

This is a nice article to give an overview of Blend, but the title is quite misleading.

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

ID: 1fb4a86d-efe1-3ff6-2456-eac6659c6d09
Version Independent ID: a1faa99b-0e1a-8291-f87c-747dcccb3b0b
Content: Creating a UI by using Blend for Visual Studio - Visual Studio
Content Source: docs/designers/creating-a-ui-by-using-blend-for-visual-studio.md
Product: visual-studio-dev15
GitHub Login: @gewarren
Microsoft Alias: gewarren

@ajventi Thanks for the feedback, and I agree. Do you think something like "Overview of Blend for Visual Studio" would be more appropriate?

Absolutely, thanks for your response, and efforts.


EdgeCrossingEdgeCheck Bug Fix & Enhancements

Description:
This fixes a bug created by a change of a LayerTag method (see https://github.com/osmlab/atlas-checks/issues/77). The check was dependent on the default value the previous method granted. This default has been re-added, though it now takes into account the difference between a bad and non-existent layer tag. This bug should have been caught by the unit tests, but were missed due to a lack of car navigable highway tags. Unit test have been updated to address this.
This PR also includes a change to eliminate redundant flags and a new filter for highway classifications. The new filter was added to eliminate false positives from lower classification roads that can commonly cross. The redundant flags were caused by the check looking at the crossings of a single Edge and then having one of the crossing Edges have another crossing of its own that was found later. This situation was eliminated by using a BFS walker to find all connected invalid crossings.
Potential Impact:
Remove a large number of false positives.
Unit Test Approach:
Unit tests were updated so that all edges have car navigable highway tags. This prevents them from being filtered out in validCheckForObject.
Some unit tests had their expected flag object count changed to reflect the new redundant flag elimination logic.
Test Results:
Testing showed false positive rates dropped back to expected levels after the LayerTag method fix. Continued testing showed another minor drop after implementing the de-duplication enhancement, but only due to flags being combined.

Nice work !


option to retry bundle install

I'm repeatedly encountering an issue where rubygems throws a 503 on one of my gems during the bundle install run. How would it be possible to retry that operation ?
Thanks !

All resources support a retries property that should help in this situation.

Does this mean it's enough to write this ?
rails do
    gems              ['bundler']
    database_template 'database.yml.erb'
    retries            5
end

Thanks

That would be the old application cookbook, which I no longer support and wouldn't work with this. With the new bundle_install resource, the retries option should work as expected.

Any idea when you're going to release the "new application cookbook" ? If I'm not mistaken, I don't see any releases here since 2013...
Thanks

@quentindemetz I've been saying "tomorrow-ish" for about two weeks now, so that gives you some context. Got the next (and probably last) example app up and tested so running out of things to do before release!


Fix grpclb update in fallback mode

If fallback mode is enabled, but the RR policy is created from a serverlist, we shouldn't try to update the RR policy with the fallback addresses.
Prior to this PR, such unexpected update is a noop, because we just update the RR policy with the same serverlist as the RR policy currently contains. But we should still correct the code.
I realized this when reviewing https://github.com/grpc/grpc/pull/17125.

****************************************************************

libgrpc.so

     VM SIZE                                                                      FILE SIZE
 ++++++++++++++ GROWING                                                        ++++++++++++++
  +0.1%     +16 src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc     +16  +0.1%
      +6.4%     +16 grpc_core::(anonymous namespace)::GrpcLb::UpdateLocked             +16  +6.4%

 -------------- SHRINKING                                                      --------------
  -0.0%     -16 [None]                                                             -88  -0.0%

  [ = ]       0 TOTAL                                                              -72  -0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 2,019,386      Total (<)      2,019,390

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
11,180,037      Total (<)     11,180,039

 No significant differences in binary sizes

Corrupt JSON data (indicates timeout or crash):
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.new: 10
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.old: 10

[microbenchmarks] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE                                                                      FILE SIZE
 ++++++++++++++ GROWING                                                        ++++++++++++++

 -------------- SHRINKING                                                      --------------
  -0.0%     -16 [None]                                                             -72  -0.0%
  -0.1%     -16 src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc     -16  -0.1%
      -6.4%     -16 grpc_core::(anonymous namespace)::GrpcLb::UpdateLocked             -16  -6.4%

  -0.0%     -32 TOTAL                                                              -88  -0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 2,019,028      Total (<)      2,019,040

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
11,179,732      Total (<)     11,179,734

 No significant differences in binary sizes


Post request response time spikes

Hello,
in my project I need to upload images as bytes to an endpoint and then process them, within a certain time. The images have a resolution of 600x600 and weight ~700 kB per image. Images are in png format. I have created a minimal flask application with one endpoint. The application is served using a waitress.
The problem is that sometimes response time from an endpoint suddenly increases by an order of magnitude. As I have to fit in a certain amount of time, such spikes can cause a critical error.
I ran a cProfile on the post request and found out that when there is a spike two functions take more time than normal:
Normal
ncalls  tottime  percall  cumtime  percall filename:lineno(function)
     2    0.000    0.000    0.000    0.000 {method 'sendall' of '_socket.socket' objects}
     1    0.004    0.004    0.004    0.004 {method 'recv_into' of '_socket.socket' objects}

Spike
ncalls  tottime  percall  cumtime  percall filename:lineno(function)
     2    0.008    0.004    0.008    0.004 {method 'sendall' of '_socket.socket' objects}
     1    0.012    0.012    0.012    0.012 {method 'recv_into' of '_socket.socket' objects}

What is the cause of these spikes, and can they be resolved in some way?
Code to reproduce:
# app.py
import numpy as np
from flask import Flask, request

def create_app():
    app = Flask(__name__)

    @app.route("/endpoint")
    def endpoint():
        data = request.data
        img_arr = np.frombuffer(data, dtype=np.uint8)
        # ...
        return {"foo": "bar"}

    return app

# wsgi.py
from waitress import serve

from app import create_app

def main():
    app = create_app()
    serve(app, host="<IP_ADDRESS>", port="9009")

if __name__ == "__main__":
    main()

# send.py

from pathlib import Path

import numpy as np
import requests
from PIL import Image

def main():
    img_paths = list(Path("images").rglob("*.png"))
    ses = requests.Session()
    speeds = []
    for img_path in img_paths:
        img_arr = np.asarray(Image.open(img_path))
        response = ses.post(url='http://<IP_ADDRESS>:9009/endpoint', data=img_arr.tobytes())
        speeds.append(response.elapsed.total_seconds())

if __name__ == "__main__":
    main()

Python and package versions:
python==3.8.18

Flask==3.0.2
numpy==1.24.4
pillow==10.2.0
requests==2.31.0
waitress==3.0.0

Three independent performances for 1,000 images:
First
Second
Third

Sorry, this is outside the scope of what we can help with here. It could be any number of things including the network, OS, HTTP server, a proxy, other applications, etc. If you track this down to a specific issue in Flask, we'll be happy to reconsider it.


Angular 12: build prod error when writing angular-cli-i18n temp dir

🐞 Bug report
Command (mark with an x)

[ ] new
[ x] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
After updating to 12.0.1, production build process ends with the following error:
Error: Unable to write stats file: ENOENT: no such file or directory, mkdir 'D:\angular\project-root\C:\Users\Fausto\AppData\Local\Temp\angular-cli-i18n-0ocG5L'
I have tried to locate the problem, but without success.
Somewhere, the path to the temporary folder gets corrupted.
Until here: (https://github.com/angular/angular-devkit-build-angular-builds/blob/master/src/utils/i18n-options.js)
    // If inlining store the output in a temporary location to facilitate post-processing
    if (i18n.shouldInline) {
        const tempPath = fs.mkdtempSync(path.join(fs.realpathSync(os.tmpdir()), 'angular-cli-i18n-'));
        buildOptions.outputPath = tempPath;
        // Remove temporary directory used for i18n processing
        process.on('exit', () => {
            try {
                rimraf.sync(tempPath);
            }
            catch { }
        });
    }

All is correct.
🌍 Your Environment

Angular CLI: 11.0.3
Node:  v14.16.0
OS: windows 10 x64

Angular: 12.0.1
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes

Package                         Version
---------------------------------------------------------
@angular-devkit/build-angular   12.0.1
@angular-devkit/build-optimizer": "~0.1200.1",
@angular/cli": "12.0.1",
@angular/compiler-cli": "12.0.1",
typescript                     4.2.4

As a workaround you can disable statsJson which is also not recommended to be used unless you are debugging. As stats generation can impact the duration of the build.


exec: "time": executable file not found in $PATH

imac:~ davidak$ docker run --rm -t -i ubuntu:14.04 time echo test
exec: "time": executable file not found in $PATHFATA[0000] Error response from daemon: Cannot start container eb691680085f3dc5b031d065d6b5425a609799f6561d93d72724594976556dbd: exec: "time": executable file not found in $PATH

i think this is a basic command that should work.

docker version
Client version: 1.4.1
Client API version: 1.16
Go version (client): go1.3.3
Git commit (client): 5bc2ff8
OS/Arch (client): darwin/amd64
Server version: 1.4.1
Server API version: 1.16
Go version (server): go1.3.3
Git commit (server): 5bc2ff8
docker info
Containers: 10
Images: 12
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Dirs: 32
Execution Driver: native-0.2
Kernel Version: 3.16.7-tinycore64
Operating System: Boot2Docker 1.4.1 (TCL 5.4); master : 86f7ec8 - Tue Dec 16 23:11:29 UTC 2014
CPUs: 8
Total Memory: 1.961 GiB
Name: boot2docker
ID: 4RTC:WSCW:Y44A:YHRX:NZVB:SPVE:AITO:VGRV:7QG3:CNIC:64LD:NFGL
Debug mode (server): true
Debug mode (client): true
Fds: 11
Goroutines: 13
EventsListeners: 0
Init Path: /usr/local/bin/docker
Docker Root Dir: /mnt/sda1/var/lib/docker
uname -a
Darwin imac.lan 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
Environment details (AWS, VirtualBox, physical, etc.): Mac Installer on OS X 10.6.8

time is a shell built-in, not a binary, even on my host (which is a fairly full-featured Gentoo box):
$ which time
which: no time in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.3:/opt/android-sdk-update-manager/tools:/opt/android-sdk-update-manager/platform-tools:/usr/games/bin:/opt/vmware/bin)

If you instead run via bash, it should work:
$ docker run --rm debian bash -c 'time sleep 1'

real	0m1.011s
user	0m0.000s
sys	0m0.001s

Alternatively, you can install package time, which will provide /usr/bin/time: https://packages.debian.org/jessie/amd64/time/filelist

that solves the problem for me, thanks!


Package.swift not included in any release

Package.swift is checked into master but the latest (or any) release v0.11.1 does not include Package.swift so this package can't be added to a project via Swift Package Manager.

Any solution on this?

I got it working by copying the latest commit hash and setting SPM to take that exact commit, instead of any version. Hope this helps!

Experiencing this too, very annoying.


useRouter()   return  undefined

when i use useRouter  break away  vue hooks ,  it return undefined, but in the vue hooks, it return Router.
so i dont know this reason, Please answer me how to use useRouter is normal js, because i want to use it in vuex

Welp, this is what comes up on Google when you search the issue.
@chris-zhu Did you figure this out?

useRouter must be called inside of setup() (documentation link)
But you can use composition api for extract logic of routing

I hope it helps, good luck!

I think @chris-zhu was originally aiming to access the router to perform actions such as pushing new URLs inside of Vuex.
Do I understand from your explanation @cecitorres that this is impossible under Vuex4? That the only place where the router can really be reached is within the setUp() function of Vue components, which in turn means that anybody still using the Options API is out of luck and needs to upgrade?
If this is true, then it seems that the "answer" is a pretty lengthy bit of re-work to:

Find all Vuex actions which contain this.$router under Vuex 3, and change them to accept a new router argument.
Find all Vue Components which call those actions and convert them into Composition API.
Use useRouter() in the setup() method of all of those Vue Components, and pass it into Vuex using the new parameter.

I completely agree that Composition API is the way forward, but it feels like this forcing an upgrade which I was hoping to popstpone until later.
Or is there any easier way?

This return undefined too. I don't understand why?
<script setup>
import { useRoute } from 'vue-router';

const route = useRoute();

console.log(route) // undefined
</script>

but this works.
<script>
import { useRoute } from 'vue-router';

setup(){
   const route = useRoute();

   console.log(route); // Route
}
</script>

Isn't <script setup> just syntactic sugar, so why it's return different results?

That composables should only be used in Vue components (in setup() is now documented here:
https://vuejs.org/guide/reusability/composables.html#usage-restrictions

What if I have a composable that needs to reference another composable? E.g. my composable needs to use useRouter to grab the route? I suppose I have to use dependency injection?
<script setup lang="ts">
import { useRouter } from 'vue-router';
import { useLogin } from '../composables/login';

const router = useRouter();
const { attemptLogin } = useLogin(router);

You can use a composable inside other composables, so you can use useRouter() in the implementation of useLogin().
My phrasing before might be a bit misleading. A more accurate phrasing (if I have understood it correct) might be composables can only be used when the code in setup() runs.

useRouter() was returning undefined for me in my own composable, though. I'll have to double-check the stack again to make sure it's originating from a <script setup>.

Add useRouter
change onMounted to async
add await router.isReady() before setting parameters

<script lang="ts" setup>
import {onMounted, ref, Ref} from 'vue'
import {useRoute, useRouter} from 'vue-router'

const route = useRoute()
const router = useRouter()
let companyId: Ref<string | string[]> = ref([])
onMounted(async () => {
    console.log('Before Router Preparation', route.name);
    await router.isReady();
    console.log('After Router Preparation', route.name);
    companyId.value = route.params.id
})
</script>

If I only able to use it in setup script, how do I redirect route in axios interceptor file then?

useRouter() was returning undefined for me in my own composable, though. I'll have to double-check the stack again to make sure it's originating from a <script setup>.

Sorry. Do you have any solutions on that?

I have the same problem and i only could solve it, when calling useRouter() withing a hook. Outside on hook it does not work.
/**
 * Lifecycle.
 */
onBeforeMount(() => {
  const redirectUrl = useRouter().resolve({name: 'blabla', params: {...}})
})

This is not the first time I have faced this problem, I think I have finally grown up to have the ability to solve it.
The correct solution is to cache the call results during setup.
<template>
  <div @click="clickHandle">
  </div>
</template>
<script setup lang="ts">
import { useRouter } from 'vue-router';
let useRouterResult = useRouter();
let clickHandle = ()=>useRouterResult.go(-1)
</script>

You can try using the following code for inspiration
<script setup lang="ts">
import { useRouter } from 'vue-router';
console.log(useRouter(), 1);
setTimeout(() => console.log(useRouter(), 2), 3000);
let useRouterResult = useRouter();
setTimeout(() => console.log(useRouterResult, 3), 5000);
</script>

This behavior, which can only be called during setup initialization, is like a joke that will severely hit beginners. To be honest
I think it's best for the document to provide a detailed explanation of this situation, rather than being confusing
https://router.vuejs.org/api/#useRoute:~:text=RouteLocationNormalizedLoaded-,useRouter,Router,-FREE WEEKEND

you can import you created router to use in any files,
//  src/router/index.ts
exprot const router = createRouter({
...
})

//  orther files
import { router } from '@/router/index'

@haobarry Thank you for your answer. I think I have a better understanding of 'vue router' and the situation I have encountered.
I am using the quasar framework, and its src/router/index.ts does not default to exporting Router.
I just realized It tells me in the annotation that this can be done.
But I am a non native English speaker, and I often ignore annotations and have been unwilling to modify the default code in the past.

just got hit by this issue, sometimes useRouter() returned undefined.
Another option is to use a dynamic import:
// api.js
const req = async ({ method = 'POST', uri, payload }) => {
  const token = useUserStore().store.token
  const { router } = await import('./router') // export const router in a file called router.js near api.js
  const url = `${import.meta.env.VITE_API_URL}${uri}`
  const headers = {
    'Content-Type': 'application/json',
    Accept: 'application/json'
  }
  if (token) headers['Authorization'] = `Bearer ${token}`
  try {
    const result = await fetch(url, {
      body: JSON.stringify(payload),
      headers,
      method
    })
    if(result.status < 400)
      return result.json()
    else {
      throw result
    }
  } catch (e) {
    if(e.status === 401) {
      router.push('/auth')
    }
    throw new Error(`${e.status} - ${await e.text()}`)
  }
}

This issue is the top result on google for useRouter() undefined.
So perhaps this is a good place to explain how I fixed it. My issue was that there were duplicate vue-routers.
The project uses yarn v1 workspaces. One of my packages depended on vue-router v4.4.1 and another one of my packages depended on vue-router v4.4.2.  A vue component in package one called useRouter() and it returned undefined. This only happened in production code, not while running the vite dev server.
After resolving this discrepancy and ensuring everyone was using the same version of vue-router, everything worked as expected.
Hope this helps

This issue is the top result on google for useRouter() undefined.
So perhaps this is a good place to explain how I fixed it. My issue was that there were duplicate vue-routers.
The project uses yarn v1 workspaces. One of my packages depended on vue-router v4.4.1 and another one of my packages depended on vue-router v4.4.2. A vue component in package one called useRouter() and it returned undefined. This only happened in production code, not while running the vite dev server.
After resolving this discrepancy and ensuring everyone was using the same version of vue-router, everything worked as expected.
Hope this helps

Thank you, that helped me. We're using Yarn workspaces with NX.

Solved it by creating a new composable useRouterShared.ts:
import { useRouter } from 'vue-router';

let router: ReturnType<typeof useRouter>;

export default () => {
  if (!router) {
    router = useRouter();
  }

  return router;
};

Then you just replace useRouter with useRouterShared.
Important - first call of useRouterShared() must be made inside setup context.


fix current demo by using official google poly API to get GLTF model url

Demo was not working. Fixed by using official google poly API.
Now it's necessary to setup your API_KEY

Thx! This is really welcome!
I checked and it's luckily only the download domain that changed from https://poly.google.com/downloads/* to https://poly.googleusercontent.com/downloads/*. It's still working without API key after fixing this: https://github.com/archilogic-com/aframe-gblock/commit/356b922c9caf8e2339952684f731f8a6d330c1f5
If you don't mind: I will merge your code in such a way that the user can decide whether he prefers the official API using the API key (recommended) or the unofficial way without API key (for backward compatibility, keeping old implementations working). Would you be OK with that?

Sure! No problem :)

I just realized it's not working with GLTF2 models, change line 100 to
var format = info.formats.find( format => { return format.formatType === 'GLTF' || format.formatType === 'GLTF2'; } );
to fix it.

wondering how to extend the current a-frame component while keeping backward compatibility. what do you think about:
Basic Example
Using a Google Poly API key: (Recommended)
<a-entity gblock="https://poly.google.com/objects/dVG0XJrpRJC#key=xxxx-xxxx-xxxx"></a-entity>

Using unofficial API without key: (Legacy mode: Might be discontinued in the future.)
<a-entity gblock="https://poly.google.com/objects/dVG0XJrpRJC"></a-entity>


Prevent keyboard overlapping with scrollToItem

I have an IGList with textFields in each cell, so I am trying to use scrollToItem(at: IndexPath, at: UICollectionViewScrollPosition, animated: Bool) to prevent keyboard overlapping when it appears. This approach requires calling scrollToItem from textFieldDidBeginEditing. How can I pass IndexPath to this method in this case?
Maybe you can advise me some better technique to achieve this goal?

I've tied to send a cell from section controller to my view controller with delegate like this:
func textFieldDidBeginEditing(_ textField: UITextField) {
        let cell = textField.superview?.superview as! MyCell
        delegate?.scrollTo(cell)
    }

than in my view controller I've implemented delegate method like this:
func scrollTo(_ cell: MyCell) {
        if let indexPath = collectionView.indexPath(for: cell) {
            collectionView.scrollToItem(at: indexPath, at: .top, animated: true)
        }
    }

Unfortunately, this doesn't helped me =(
Than I decided to try using observers for keyboard (show, hide). Here is a code from my view controller:
override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        NotificationCenter.default.addObserver(self, selector: #selector(keyboardWillShow), name: .UIKeyboardWillShow, object: nil)
        NotificationCenter.default.addObserver(self, selector: #selector(keyboardWillHide), name: .UIKeyboardWillHide, object: nil)
    }

    override func viewWillDisappear(_ animated: Bool) {
        super.viewWillDisappear(animated)
        NotificationCenter.default.removeObserver(self, name: .UIKeyboardWillShow, object: nil)
        NotificationCenter.default.removeObserver(self, name: .UIKeyboardWillHide, object: nil)
    }
func keyboardWillShow(notification: Notification) {
        adjustingHeight(show: true, notification: notification)
    }

    func keyboardWillHide(notification: Notification) {
        adjustingHeight(show: false, notification: notification)
    }

    func adjustingHeight(show:Bool, notification:Notification) {
        var userInfo = notification.userInfo!

        let keyboardFrame = (userInfo[UIKeyboardFrameEndUserInfoKey] as! NSValue).cgRectValue

        let animationDurarion = userInfo[UIKeyboardAnimationDurationUserInfoKey] as! TimeInterval

        if show {
            collectionView.contentInset = UIEdgeInsetsMake(0, 0, keyboardFrame.height, 0)
        } else {
            UIView.animate(withDuration: animationDurarion) {
                self.collectionView.contentInset = UIEdgeInsetsMake(0, 0, 0, 0)
            }
        }
    }

Well, this approach gives me some result.. It scrolls well when keyboard appears, but for some reason it breaks my layout after keyboard hides.
Can anyone help me with this issue, please?

@D-Link13 what's the behavior when you use collectionView.scrollToItem(at: indexPath, at: .top, animated: true)? It might not work b/c the cell isn't visible. The docs say:

Scrolls the collection view contents until the specified item is visible.

You can also try getting the associated object for that cell (cell -> index path -> objectAtSection:) and then call this method to scroll to the object. That will use the cell's frame and position the content offset of the view.

Going to close due to inactivity 😄


Error: [aax] mismatch in checksums! -- unsupported codec?

I have an error when trying to decode a long audiobook (18 hrs). Audible lets me download the book either as one big file or as 3 separate files, and I get the same error with any of these 4 files.
My auth code works for other audiobooks, so I believe it to be correct.
openaudible is also unable to convert to mp3.
iTunes (actually Books.app now, MacOS Catalina) is able to play the files without issue.
Interestingly, I've downloaded the whole-book .aax files numerous times, and while the total file size and ffprobe checksum is identical, I am getting a different hash each time, so something must be changing with each download.
$ for f in *_?.aax; do ffprobe "$f" |& grep checksum; done
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562632db8800] [aax] file checksum == 009362dc37344ce2a53f0ae410f4441e5cd915b5
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5619f9c7d800] [aax] file checksum == 009362dc37344ce2a53f0ae410f4441e5cd915b5
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55aa60d50800] [aax] file checksum == 009362dc37344ce2a53f0ae410f4441e5cd915b5
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x564a0852d800] [aax] file checksum == 009362dc37344ce2a53f0ae410f4441e5cd915b5
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x557de46d6800] [aax] file checksum == 009362dc37344ce2a53f0ae410f4441e5cd915b5
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55a3b5060800] [aax] file checksum == 009362dc37344ce2a53f0ae410f4441e5cd915b5
$ for f in *_?.aax; do ls -l "$f" | awk '{ print $5, $NF }'; done
541754331 book_0.aax
541754331 book_1.aax
541754331 book_2.aax
541754331 book_3.aax
541754331 book_4.aax
541754331 book_5.aax
$ for f in *_?.aax; do md5sum "$f"; done
673a2bc97e43652c1188941bb1fe5e2a  book_0.aax
4f9ed73d10a85c346ab28676125163e8  book_1.aax
e49c5af2a1568795fe30513fbad1779f  book_2.aax
6f980579d73d4291b72c09eea7ab59dd  book_3.aax
11bb421337f292a603a1d793d43694d7  book_4.aax
91c7c3a2ac4475a858e143de3fee6afa  book_5.aax

The error I'm seeing with AAXtoMP3 is:
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x560fd5afe1c0] [aax] mismatch in checksums!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x560fd5afe1c0] error reading header
book.aax: Invalid data found when processing input

All of the files (book in segments, book as a whole, repeated attempts at downloading a fresh copy) all fail validation:
$ ./AAXtoMP3 --validate book.aax
2020-02-27 15:30:27-0700 Test 1 SUCCESS: book.aax
2020-02-27 15:30:27-0700 ERROR: Invalid File: book.aax
2020-02-27 15:30:27-0700 ERROR: Invalid File: book.aax

FFprobe notes something about an "unsupported codec"
$ ffprobe book.aax
ffprobe version n4.2.2 Copyright (c) 2007-2019 the FFmpeg developers
  built with gcc 9.2.1 (Arch Linux 9.2.1+20200130-2) 20200130
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x563715f37800] [aax] file checksum == 009362dc37344ce2a53f0ae410f4441e5cd915b5
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x563715f37800] [aax] activation_bytes option is missing!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x563715f37800] stream 0, timescale not set
[aac @ 0x563715f39700] invalid band type
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'book.aax':
  Metadata:
    major_brand     : aax
    minor_version   : 1
    compatible_brands: aax M4B mp42isom
    creation_time   : 2020-02-27T15:12:12.000000Z
    genre           : Audiobook
  [metadata redacted --n8henrie]
  Duration: 18:36:44.04, start: 0.000000, bitrate: 64 kb/s
    Chapter #0:0: start 0.000000, end 2020.925533
    Metadata:
      title           : Chapter 1
    Chapter #0:1: start 2020.925533, end 3885.952290
    Metadata:
      title           : Chapter 2
    Chapter #0:2: start 3885.952290, end 5725.994376
    Metadata:
      title           : Chapter 3
    Chapter #0:3: start 5725.994376, end 7573.048889
    Metadata:
      title           : Chapter 4
    Chapter #0:4: start 7573.048889, end 9412.115737
    Metadata:
      title           : Chapter 5
    Chapter #0:5: start 9412.115737, end 11249.139229
    Metadata:
      title           : Chapter 6
    Chapter #0:6: start 11249.139229, end 13072.184308
    Metadata:
      title           : Chapter 7
    Chapter #0:7: start 13072.184308, end 14955.229751
    Metadata:
      title           : Chapter 8
    Chapter #0:8: start 14955.229751, end 16800.240907
    Metadata:
      title           : Chapter 9
    Chapter #0:9: start 16800.240907, end 18693.270930
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 18693.270930, end 20526.300590
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 20526.300590, end 22380.367528
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 22380.367528, end 24263.412971
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 24263.412971, end 26074.476553
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 26074.476553, end 27914.518639
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 27914.518639, end 29752.563810
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 29752.563810, end 31639.603084
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 31639.603084, end 33506.673197
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 33506.673197, end 35349.733878
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 35349.733878, end 37233.754558
    Metadata:
      title           : Chapter 20
    Chapter #0:20: start 37233.754558, end 39071.799728
    Metadata:
      title           : Chapter 21
    Chapter #0:21: start 39071.799728, end 40939.845079
    Metadata:
      title           : Chapter 22
    Chapter #0:22: start 40939.845079, end 42799.902766
    Metadata:
      title           : Chapter 23
    Chapter #0:23: start 42799.902766, end 44641.941769
    Metadata:
      title           : Chapter 24
    Chapter #0:24: start 44641.941769, end 46481.983855
    Metadata:
      title           : Chapter 25
    Chapter #0:25: start 46481.983855, end 48313.016599
    Metadata:
      title           : Chapter 26
    Chapter #0:26: start 48313.016599, end 50195.086803
    Metadata:
      title           : Chapter 27
    Chapter #0:27: start 50195.086803, end 52055.144490
    Metadata:
      title           : Chapter 28
    Chapter #0:28: start 52055.144490, end 53876.192653
    Metadata:
      title           : Chapter 29
    Chapter #0:29: start 53876.192653, end 55748.231837
    Metadata:
      title           : Chapter 30
    Chapter #0:30: start 55748.231837, end 57637.268027
    Metadata:
      title           : Chapter 31
    Chapter #0:31: start 57637.268027, end 59488.316372
    Metadata:
      title           : Chapter 32
    Chapter #0:32: start 59488.316372, end 61368.343220
    Metadata:
      title           : Chapter 33
    Chapter #0:33: start 61368.343220, end 63237.363810
    Metadata:
      title           : Chapter 34
    Chapter #0:34: start 63237.363810, end 65122.406168
    Metadata:
      title           : Chapter 35
    Chapter #0:35: start 65122.406168, end 67004.035011
    Metadata:
      title           : Chapter 36
    Stream #0:0(eng): Audio: aac (LC) (aavd / 0x64766161), 22050 Hz, stereo, fltp, 62 kb/s (default)
    Metadata:
      creation_time   : 2020-02-27T15:12:12.000000Z
      handler_name    : ?Apple Sound Media Handler
    Stream #0:1(eng): Data: bin_data (text / 0x74786574) (default)
    Metadata:
      creation_time   : 2020-02-27T15:12:13.000000Z
      handler_name    : ?Apple Text Media Handler
    Stream #0:2: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 500x500 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc (attached pic)
Unsupported codec with id 100359 for input stream 1

Any ideas where I go from here?

I still haven't found a solution.
My activation_bytes works on numerous other files, and I have tried redownloading the .aax file in question numerous times -- both as a single large file as well as in multiple pieces. ffprobe gives the same checksum for all of these downloads.
I looked at the file data with xxd / hexdump and compared side-by-side with other files that are working and don't really know enough to interpret any differences; they look overall very similar.
I figured out an alternative method of extracting the checksum from the binary data, where $1 is the aax file in question:
od --address-radix=none --read-bytes=20 --skip-bytes=0x28d --format=x1 --endian=big --width=20 "$1" | tr -d ' '

Using tables on this file gives me an apparently invalid authcode (different from the authcode I get from the hash with other files). I tried some slight variations of the checksum (1 byte before and 1 after to see if maybe it had been shifted) and these are apparently invalid hashes.
Eventually, I discovered that I can change the download format to Format 4 instead of Enhanced.  Downloading as a single file is not available, but I can download the parts separately, which gives me e.g. filenamePart1_mp332.aa. ffprobe identifies this as an mp3 file, and ffmpeg is able to produce a playable mp3 file with
$ ffmpeg -i MyFilePart1_mp332.aa -c copy Part1.mp3

If desired, it looks like this code can be adapted to split into chapters, roughly like so:
#!/bin/bash

main() {
  declare INPUT=$1
  ffprobe "$INPUT" 2>&1 |
  sed -En 's/.*Chapter #([0-9]+)[.:]([0-9]+): start ([0-9]+\.[0-9]+), end ([0-9]+\.[0-9]+).*/\1.\2 \3 \4/p' |
  while read chapter start end
  do
      ffmpeg </dev/null \
          -i "$INPUT" \
          -c copy \
          -ss "$start" -to "$end" \
          "${INPUT%.*}-$chapter.mp3"
  done
}

main "$1"

Anyway, still not sure why this file's checksum doesn't work, but at least thought I'd contribute a workaround.

FYI, It seems like files with a hash of 009362dc37344ce2a53f0ae410f4441e5cd915b5 are a "special case" where multiple users can get this and perhaps a special type of decoding is needed.


multiclass dataset

your proposed hybrid approach is it applicable for multiclass dataset?

Multi-class support is now available with release 0.1.0.

Thanks Felix where can i find it and do you have any description of your extension

@rawiasammout, you can simply pip install kmeans-smote as shown in the readme. The latest version (0.1.0) implements the multi-class case.
To use kmeans-smote on multi-class data, there is nothing special to consider, just call fit_sample on your multi-class data and tune the algorithm's hyperparameters (see docs) to your needs. There is also a small test implemented to oversample a multi-class toy dataset.
From an algorithmic perspective, the second step of the algorithm (see readme > about) is repeated for each minority class. The paper referenced in the readme should provide you with a thorough explanation of how the algorithm works for the binary case - the multi-class case is only a small modification.


revert to previous SMP revision

Changes Unknown when pulling 38e4163b29b49505ce0d370197fc8d27dfb25de8 on Beta-Branch into ** on master**.


does not work with migrations

https://github.com/aspnet/EntityFrameworkCore/issues/11329

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

ID: ea66ca27-e0b1-cd1e-a8ef-55911169c71a
Version Independent ID: f2340ce9-9771-851e-60a7-237c6e55f085
Content: SQL Server Express LocalDB - SQL Server
Content Source: docs/database-engine/configure-windows/sql-server-express-localdb.md
Product: sql
Technology: configuration
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@josersleal - thanks for submitting this information. I'd like to better understand what scenario fails here. Can you be more specific about the migration scenario that fails? Thanks!

Closing because no response received.


[WFLY-13729] Make optional the javax.sml.rpc.api module dependency ad…

…ded to deployments by EjbDependencyDeploymentUnitProcessor
https://issues.redhat.com/browse/WFLY-13729

/retest

retest this please


JS Plot testing

As per #7 currently the tests just test that the Julia executes without an error.
I need to add Selenium/PhantomJS testing to check that the html/js/json generated by Bokeh.js shows a plot.

The test implemented in #10 simply check that a canvas has appeared on the page, more like "Does something happen?" than "Does the right thing happen?".
However I think that should be sufficient for now on Bokeh.jl, in all my fiddling around the plot either appeared correctly or didn't appear at all.


make run-local is broken

I tried to follow https://github.com/operator-framework/operator-lifecycle-manager/blob/master/Documentation/install/install.md#run-locally-with-minikube and got:
$ make run-local
./scripts/package-release.sh  deploy/tectonic-alm-operator/manifests/ deploy/tectonic-alm-operator/values.yaml
Usage: ./scripts/package-release.sh semver chart values
* semver: semver-formatted version for this package
* chart: the directory to output the chart
* values: the values file
make: *** [tectonic-release] Error 1

Hi @sslavic - you need to pass a version string to run-local like this: make ver=0.5.0 run-local
Let me know if that doesn't fix the problem!

I just resolved it before seeing your comment ;-) Thanks @ecordell
Maybe adding this info to the readme file would be nice.

Before and after this change, running make run-local pollutes local git repo state - modifies deploy/aos-olm/playbook/private/roles/olm file, and also generates some files which are not in version control and are also not ignored. Wish it would leave the repo unmodified.


Floating Leaderboard

Why this not working??
`//Importing stuff that is used in this file
import * as Minecraft from 'Minecraft';
import * as allCommands from './commands/export.js';
import * as misc from './utils/misc.js';
import * as utils from './utils/others.js';
var config = {
commandPrefix: "+" //Our custom command prefix
};
Minecraft.World.events.beforeChat.subscribe(chatmsg => { //Event to listen for message being sent in chat
if(!chatmsg.message.startsWith(config.commandPrefix)) return; //If message doesn't start with the prefix don't execute any of the stuff below
const args = chatmsg.message.slice(config.commandPrefix.length).trim().split(/ +/); //args just splits the message by "space" so you can take different inputs of the user message
const commandName = args.shift().toLowerCase(); //The first index of the array from variable "args" will be stored in commandName
const command = allCommands[commandName]; //We look if "commandName" can be found inside "allCommands"

if(!command || (command.commandInfo.ownerOnly && !utils.findTag({ entityRequirements: `[type=player,name="${chatmsg.sender.name}"]` }, { searchTag: 'OWNER'}))) return utils.runCommand(`tellraw "${chatmsg.sender.name}" {"rawtext":[{"text":"§c"},{"translate":"commands.generic.unknown", "with": ["§f${commandName}§c"]}]}`); //Throw error if command doesn't exist OR the command is avaiable to selected players and the player who executed the command isn't one of the selected

if(command.commandInfo.cancelMessage) chatmsg.canceled = true; //This goes to the command file and looks if variable "commandInfo" has a propert "cancelMessage" set to true. If it does it will make sure the message the user sent in chat never actually gets displayed in chat

try { //Try to execute the command file
    command.execute(chatmsg, args, Minecraft);
} catch (error) {
    utils.runCommand(`say : §c${error}`);
};

});
//I seperated these stuff to make stuff more organized
Minecraft.World.events.beforeChat.subscribe(chatmsg => { //Another chat listening event
if(chatmsg.message.startsWith(config.commandPrefix)) return; //If they are trying to execute a custom command don't execute the stuff below
if(utils.findTag({ entityRequirements: [type=player,name="${chatmsg.sender.name}"] }, { searchTag: 'rainbowText'})) chatmsg.message = misc.rainbowText(chatmsg.message); //Look for the tag 'rainbowText' on the player who executed the command, if they have the tag make their chat text to rainbow
misc.displayRank(chatmsg); //This will check if they have a rank, if they do add a rank to their text in chat
});
//!This will execute a function inide it which will be "setTickInterval" only once when the server side is loaded
let tickExeOnce = 0;
Minecraft.World.events.tick.subscribe(() => { //Run stuff inside every world tick
if(tickExeOnce >= 1) return;
utils.runCommand(tellraw @a {"rawtext":[{"text":"§eGameTest FrameWork API Starter Pack§r\n§bCredit: §rThis pack was made by §anotbeer\n§9Discord: §fnotbeer#9204\n§aXbox Live: §fColoringEmy86\n\n§dType §a${config.commandPrefix}help §dfor more information!"}]});
//utils.setTickInterval(startupFunctions, 20);
tickExeOnce++;
});
function startupFunctions() {
misc.writeLeaderboard(
{
floatingTextIdentifier: 'notbeer:floating_text',
leaderboardEntity: 'MoneyL',
objective: 'money',
displayLength: 10
},
{
leaderboardHeading: 'Money Leaderboard\nTop players with the most Money\n§r\n',
leaderboardLayout: '§e#$(RANK) §b$(GAMERTAG) §f- §a$§c$(SCORE)'
},
{
compressScore: false
}
);
};
export { config };
`

Please be more specific on which part you are having an error at.


[BUG] - CDC Logs From AWS DMS Not Apply Correctly

Bug
The CDC Logs from AWS DMS not apply correctly
Describe the problem
I have a dms task that processing the full-load and replication ongoing tasks
from source (MSSQL) to target (AWS S3)
then use delta lake to handle the CDC logs
I've a notebook that would insert data into mssql continuously (with id as primary key)
then delete some records from mssql directly
the delta lake would work perfectly when there's only insert records
but not the delete ones
it would have some random records being deleted that apply to delta lake
for example.
i first insert 10,000 records
the delta lake apply the insert action perfectly
but when i delete some records (id > 8000) from MSSQL and count the records in delta lake
it would not apply correctly (getting count result > 8000)
wonder if any step i missed
thanks
the diagram

Steps to reproduce

Continuous insert job

# Databricks notebook source
"""
    This script is used to load data to sql server database.
"""

# COMMAND ----------

# MAGIC %pip install Faker

# COMMAND ----------

from faker import Faker
from pyspark.sql import SparkSession, functions, DataFrame
from pyspark.sql.types import StructField, StructType, DecimalType
from typing import List

# COMMAND ----------

spark = SparkSession.builder.           \
  appName("ExamplePySparkSubmitTask").  \
  config("spark.databricks.hive.metastore.glueCatalog.enabled", "true"). \
  enableHiveSupport(). \
  getOrCreate()

# COMMAND ----------

faker = Faker()

# COMMAND ----------

def create_sample_profiles(
    _faker: Faker()
):
    """
        This function is to create sample profiles
    """
    profiles = [_faker.profile() for _ in range(1000)]
    return profiles

# COMMAND ----------

def read_profiles_as_dataframe(
    _spark: SparkSession,
    _profiles: List[dict]
):
    """
        This function is to read profiles as dataframe
    """
    df = _spark \
        .createDataFrame(_profiles)
    return df

# COMMAND ----------

def process_data(
    _df: DataFrame,
    _count: int
):
    """
        This function is to process data with requirements
    """
    processed_df = _df \
        .coalesce(1) \
        .withColumn('id', (1000 * _count) + (functions.monotonically_increasing_id() +1) ) \
        .withColumn('age', functions.round(functions.rand() * 130)) \
        .withColumn('latitude', functions.col('current_location._1')) \
        .withColumn('longitude', functions.col('current_location._2')) \
        .withColumn('website', functions.concat_ws(',', 'website')) \
        .drop('current_location')
    return processed_df

# COMMAND ----------

def write_dataframe_to_sql_server(
    _df: DataFrame
):
    """
        This function is to write dataframe to sql server
    """
    jdbc_options = {
        "url": '<URL>',
        "user": 'admin',
        "password": '<Password>',
        "dbtable": 'profiles'
    }
    _df \
        .write \
        .format('jdbc') \
        .options(**jdbc_options) \
        .mode('append') \
        .save()

# COMMAND ----------

def main(
    _count: int
):
    """
        This is main function
    """
    try:
        profiles = create_sample_profiles(
            _faker=faker
        )
        df = read_profiles_as_dataframe(
            _spark=spark,
            _profiles=profiles
        )
        processed_df = process_data(
            _df=df,
            _count=_count
        )
        write_dataframe_to_sql_server(
            _df=processed_df
        )
    except:
        raise

# COMMAND ----------

if __name__ == '__main__':
    main(0)

# COMMAND ----------

import time
count = 0
while(count < 5):
    print(count)
    main(
        _count=count
    )
    count += 1

# COMMAND ----------

DLT Job

# Databricks notebook source
"""
    This script  is to process delta lake
"""

# COMMAND ----------

import dlt
from pyspark.sql.functions import col, expr

# COMMAND ----------

@dlt.table(
    name="profiles_changes",
    temporary=True
)
# @dlt.expect("valid age", "age > 0 and age <= 100")
def profiles_changes():
    schema = 'Op STRING, cdc_load_timestamp TIMESTAMP, address STRING, birthdate DATE, blood_group STRING, company STRING, job STRING, mail STRING, name STRING, residence STRING, sex STRING, ssn STRING, username STRING, website STRING, id LONG, age DOUBLE, latitude Decimal(38,18), longitude Decimal(38,18)'
    return spark \
        .readStream \
        .format('cloudFiles') \
        .option("cloudFiles.format", "parquet") \
        .option("cloudFiles.schemaHints", schema) \
        .schema(schema) \
        .load('s3://<replication_bucket>/sql_server_repication/dbo/profiles/*/*/*/*/*.parquet')

# COMMAND ----------

dlt.create_streaming_live_table(
    name="profiles",
    path="s3://<staging_bucket>/staging/profiles/"
)

# COMMAND ----------

dlt.apply_changes(
  target = "profiles",
  source = "profiles_changes",
  keys = ["id"],
  sequence_by = col("cdc_load_timestamp"),
  apply_as_deletes = expr("Op = 'D'"),
  apply_as_truncates = expr("Op = 'T'"),
  except_column_list = ["Op", "cdc_load_timestamp"],
  stored_as_scd_type = 1
)

Observed results
The delta lake not apply the CDC logs correctly (by count in mssql & delta lake)
Expected results
The delta lake should apply the CDC logs correctly (by count in mssql & delta lake)
Further details

Environment information

Delta Lake version: 11.3
Spark version: 3.3.0
Scala version: 2.12.14

Willingness to contribute
The Delta Lake Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the Delta Lake code base?

[ ] Yes. I can contribute a fix for this bug independently.
[x] Yes. I would be willing to contribute a fix for this bug with guidance from the Delta Lake community.
[ ] No. I cannot contribute a bug fix at this time.

It would be better to contact Databricks support instead. This is a question for Delta Live Tables which doesn't belong to this project.


Pin control support for i.MX application cores

Pin control support for i.MX application cores, using the IOMUXC pin control driver present for i.MX RT four digit SOCs.
Board support is enabled in individual commits once SOC support is present, to improve traceability.
Note: Only the mimx8mq_evk enablement has been tested on hardware (the rest have been verified to build). Since I don't have access to the remainder of the boards that this PR enables pin control support for, I've pinged each of the original contributors below. Since the project has to move to pin control for all in tree boards by 3.1, I would appreciate if anyone who has access to these boards could test the changes to verify everything is still working.

96b_meerkat96 @Mani-Sadhasivam
colibri_imx7d_m4 @diegosueiro
mimx8mm_evk @Mani-Sadhasivam
mimx8mp_evk @trowbridgec-laird
mimx8mq_evk N/A (this board is tested)
pico_pi_m4 @jorisoffouga
udoo_neo_full_m4 @stanislav-poboril

Besides these fully enabled boards, the A53 core on the imx8mm_evk and imx8mp_evk arm64 targets (both contributed by @MrVan) have pin control definitions present but no pin control support enabled. The UART console is not enabled for these boards, and Zephyr is currently intended to run under Jailhouse. @MrVan - please correct me if this is wrong and the A53 cores do require full pin control enablement

@Mani-Sadhasivam, @diegosueiro, @trowbridgec-laird, @jorisoffouga, @stanislav-poboril
Please provide a review of this PR on the respective boards you have added to Zephyr Project


Change that created in "us-west-2" to be created in env "AWS_REGION"

What does this PR do?
Add data.aws_region.current.
Change locals.region value from "us-west-2" to data.aws_region.current.name.
As README.md.
Motivation
README say
export AWS_REGION=   # Select your own region
terraform plan
but doesn't effect.
More

[ ] Yes, I have tested the PR using my local account setup  (Provide any test evidence report under Additional Notes)
-> I did
[ ] Yes, I have added a new example under examples to support my PR
-> Update example itself.
[ ] Yes, I have created another PR for add-ons under add-ons repo (if applicable)
[ ] Yes, I have updated the docs for this feature
-> To snyc for examples docs
[ ] Yes, I ran pre-commit run -a with this PR
-> I did. Failed where I didn't fix it.

Note: Not all the PRs required examples and docs except a new pattern or add-on added.
For Moderators

[ ] E2E Test successfully complete before merge?
-> I did.

Additional Notes
aws --version
aws-cli/2.7.10 Python/3.9.11 Linux/<IP_ADDRESS>-microsoft-standard-WSL2 exe/x86_64.ubuntu.20 prompt/off
kubectl version
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.1", GitCommit:"632ed300f2c34f6d6d15ca4cef3d3c7073412212", GitTreeState:"clean", BuildDate:"2021-08-19T15:45:37Z", GoVersion:"go1.16.7", Compiler:"gc", Platform:"linux/amd64"}
terraform version
Terraform v1.2.0

@nauco this value should be set in the source code - for examples provided by blueprints, users can update locally when they clone or copy the associated example