Invisible Notebook cellls

Some Notebook cells are invisible and cells borders are intermingled.
See attached gif.

Does this issue occur when all extensions are disabled?: Yes/No (Still investigating since issue appears randomly )

VS Code Version: 1.64.2
OS Version: 21H2 (build 22000.493)

Steps to Reproduce: Can't reproduce ,bug appears randomly throughout the last couple of months.

I think this is already fixed by @mjbvz

Not solved yet, even in Insiders.


Exported Settings: filename should contain additional info (export data)

Expected behavior
The export file of the k9 settings should contain the export data (should be easy to implement and adds additional helpful info)
Example:

k9_settings_export_20170520.k9s
k9_settings_export_20170601.k9s

Actual behavior
Current export settings are following a numbers name schema if i get it right
Current names:

settings-5.k9s
settings-6.k9s

Steps to reproduce

Export settings

Environment
K-9 Mail version: 5.206
Android version: 7.1.2
Account type: IMAP

You mean the date?
We'd probably still want the suffix (I believe Android does that automatically).
But it seems like useful and non harmful change to do this.

yes - adding export-date to the filename would be great

I would like to work on this.
Is there anything I should be aware of? Are you using any non-stdlib calendar library?
Thanks for the beginner label btw, that's very helpful for people to get into contributing code! :)

Hey @yafp I would like to work on it. Please guide me through the basic steps so that I can solve the issue. :)

@palashshah
hi, what informations you you need? Keep in mind that @clawoflight already mentioned he is willing to work on it- so please speak with him as well ;)

Hey @yafp, can you tell me the sub-directory in which the export file of the k9 settings is located, so that I can start working on it too, and hopefully push a commit before the others :)

Dude, you think this is a race?
FWIW, I have a patch ready, but I didn't get around to setting up the emulator for testing yet.
On July 18, 2017 9:03:04 PM GMT+02:00, Haris Riaz<EMAIL_ADDRESS>wrote:

Hey @yafp, can you tell me the sub-directory in which the export file
of the k9 settings is located, so that I can start working on it too,
and hopefully push a commit before the others :)

--
GPG fingerprint: 871F 1047 7DB3 DDED 5FC4 47B2 26C7 E577 EF96 7808

No, but Gsoc IS a competition, and I intend to do my best to get selected.  The student application deadline was April 3.
See also: https://k9mail.github.io/2017/05/05/Google-Summer-of-Code-2017-Projects.html
This issue should require only small changes to the code. Figuring out what to change is part of the learning process. If we wrote down detailed instructions you wouldn't learn anything and we might as well do it ourselves.

Oh okay thanks for the feedback. Btw I know this years GSoc process is over, I was talking about next year's (2018),if this organization participates. :D

This can be closed now that the PR is merged.
Sorry, I forgot to put the magic phrase in the commit :)


whether the new version can be released to npm？

I need onTimelineElementClick, iconClassName, so...

New version released. v2.6.0


Add assignment operator to H5DataSet

Description
The assignment operator for class DataSet is used here, here, and perhaps elsewhere but is not explicitly declared in Modules/ThirdParty/HDF5/src/itkhdf5/c++/src/H5DataSet.h.  Given that class DataSet uses reference counts, this is scary if not actually a bug.

Expected coding style
Explicit declaration of the assignment operator would be more reassuring; whichever of the following is appropriate within the class DataSet declaration:
DataSet& operator=(const DataSet& original) = delete; // assignment is not supported
DataSet& operator=(const DataSet& original) = default; // even with reference counts, default is appropriate
DataSet& operator=(const DataSet& original);

The last form would need a supporting definition for the method.
Actual coding style
The assignment operator is not explicitly declared.
Versions
5.2.0
Additional Information

We would want to submit this to upstream HDF5 first.


Better strumming

See
https://surikov.github.io/midi-sounds-react-examples/examples/midi-sounds-example8/build/
for guitar strumming
Source for React https://www.npmjs.com/package/midi-sounds-react

hi @surikov, thanks for your work on midi-sounds! I had originally tried to use the react component, but couldn't find a way to hide the Midi Sounds svg that triggers the synth modal, so I ended up implementing just the audio here. Would you want a PR that adds a prop to hide the logo? Or is there another way to do it that I missed?

You can hide any element from your page. Example for midisounds logo
document.getElementsByClassName('MIDISounds')[0].style.visibility='hidden';

sure, but what do you think of an update to your component's api to handle that? like
<MIDISounds
  ref={(ref) => (this.midiSounds = ref)}
  appElementName="root"
  instruments={[111]}
  drums={[2,33]}
  hideLogo={true}
/>

I have some time to put together a pr if you'd like

Logo click shows dialog for sound properties. Hide it by CSS style if you don't need equalizer, reverberation and volume control.


[Feature Request] Read/write vault files

Hello there!
First of all, thanks for providing this handy plugin! We were looking for something exactly like this as it would allow us to easily perform key rollovers within vaults using ansible itself. Though it looks like it is not (yet?) possible to directly read from/write to vault files directly. Do you already plan to extend the plugin to provide such feature? In any case, I can look forward to give you a hand with the implementation.
Best,
Migsi

Hi - thanks for your interest in the plugin!
You can probably already do what you're looking for using the plugin as-is.  You would slurp your existing vaulted file, then ansible_vault_pipe/decrypt, then pass the decrypted variable to ansible_vault_pipe/encrypt (with a new password if desired), then copy the encrypted data back out (without attempting to decrypt):
    - name: file slurp
      delegate_to: localhost
      slurp: src="vaulttest_vars.yml"
      register: r__slurp

    - name: ansible_vault_pipe decrypt
      ansible_vault_pipe:
        action: decrypt
        #vaultpass: "myexistingpassword"     #If not already loaded
        vaulttext: "{{ r__slurp.content | b64decode }}"
      register: r__ansible_vault_decrypt

    - name: ansible_vault_pipe encrypt
      ansible_vault_pipe:
        action: encrypt
        #vaultpass: "mynewpassword"     #If not already loaded or you want to change it
        multiline_out: yes
        plaintext: "{{ r__ansible_vault_decrypt.plaintext }}"
      register: r__ansible_vault_encrypt

    - name: copy file back out newly-encrypted
      delegate_to: localhost
      copy:
        content: "{{r__ansible_vault_encrypt.vaulttext}}"
        dest: "vaulttest_vars.yml"
        decrypt: no

[Note: I have just pushed a new version that adds the multiline_out option to the encrypt, so that this doesn't yield a very long single line of ciphertext.]

Please feel free to reopen if you need more assistance with this!

Thank you for your response, this is exactly what I needed to do! Though I'm still struggling to understand how I could easily modify vars within the vault. I know how to access data from the vault by using:
{{ r__ansible_vault_decrypt.myvar }}


Multiple-Select Chosen with remote source and query-parameter

Hi there
Is there a chance to use multiple-select chosen with a remote source and a query-parameter as filter?
My HTTP-REST interface looks like /resource/q=myfilterterm
Your example in my context:
angular.module('App', ['ngResource', 'localytics.directives'])
.controller('BeerCtrl', function($http, $scope) {
 $scope.beers = $http.get('/resource, {
         params: {
                             'q': <how can I set / bind this?>
                       }
         })
});

I don't know how I can set/bind the query parameter by the user's input string in chosen.
Can you help me?
Thank you!
Kind regards, patrick

Please see https://github.com/leocaseiro/angular-chosen/issues/148#issuecomment-194287548


Issues

Moving forward, remember to communicate with your team by creating new Issues.

Got it. Thank you Ellen.


Using Query Path versioning throws "A route named 'x' is already in the route collection. Route names must be unique." exception

Hello!
I am using ASP.NET Web API on .NET 4.5.2.
My example API looks like this:
namespace App.Backend.Controllers.Version1
{
    [ApiVersion("1.0")]
    public class SomeController: ApiController
    {
        [HttpGet]
        [Route("api/entity/{id:int:min(1)}")]
        public async Task<IHttpActionResult> ApiAction(int id) //Already running in production
        {
            //Accessible by using ?api-version=1.0 OR by omitting that since this is the default version
            return Ok();
        }
    }
}
namespace App.Backend.Controllers.Version2
{
    [ApiVersion("2.0")]
    public class SomeController : ApiController
    {
        [HttpGet]
        [Route("api/entity/{id:int:min(1)}")]
        public async Task<IHttpActionResult> ApiAction(int id)
        {
            //Accessible by using ?api-version=2.0 OR by omitting that since this is the default version
            return Ok();
        }
    }
}

The config is as follows:
// Add versioning
config.AddApiVersioning(o =>
{
    o.AssumeDefaultVersionWhenUnspecified = true;
    o.DefaultApiVersion = new ApiVersion(1, 0);
});

When I send a request, though, the following happens:
System.InvalidOperationException: A route named 'RegisterHours' is already in the route collection. Route names must be unique.
Duplicates:
api/some/ApiAction
api/some/ApiAction
This is weird to me because in the wiki there is an example exactly like my situation
I'd like to use the ?api-version={version} option but it looks I have no choice to use the URL path version now (api/v1.0/some/apiAction and api/v2.0/some/apiAction.  If that's true, I guess I have to add another Route to every existing action which will be like api/v{version:apiVersion}/controller/action to allow them to use v1.0 so it will be uniform in the entire application?
What do you guys advise? I could just use /v2.0/ in the URL of version 2 of the API I guess, but I'd prefer the query string version.

It would seem there's part of your configuration I'm not seeing. The message indicates you have multiple routes named RegisterHours. I don't see where the name is defined. Route names are not versioned or intrinsically supported. You would have to use names like RegisterHoursV1 and RegisterHoursV2.

🤦♂  I believe you are right.
The RegisterHours part is from my API, I forgot to censor that out.
But yeah, the one in my API looks like [Route("route-stuff", Name = "RegisterHours")] ... I will change that tomorrow and provide feedback then.
If this fixes my issue, thank you for fixing this dumb issue. I learn something everyday, I guess :)

No problem. Glad you got it resolved. ;)


added file to avoid running published files through jekyll

Antora docs recommend to add .nojekyll file so that antora docs are properly displayed on github pages
https://docs.antora.org/antora/latest/publish-to-github-pages/#nojekyll

@SravanThotakura05 does the GitHub pages deployment work?

This configuration is not working as expected. I think we need to create a custom action to build ascii docs. Converting this to draft PR


ImportError for datashader.bokeh_ext after upgrading Bokeh to 12.10

Hi
Looks like after upgrading to Bokeh 12.10, datashader 0.6.1 is seeing some dependency issues with the following case. I'm assuming this would be something for the next update? Or am I missing something here?
Thanks.
In [1]: import bokeh

In [2]: bokeh.__version__
Out[2]: '0.12.10'

In [3]: import datashader.bokeh_ext
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-3-50bd50116ce8> in <module>()
----> 1 import datashader.bokeh_ext

/usr/anaconda3/lib/python3.6/site-packages/datashader/bokeh_ext.py in <module>()
      6 import numpy as np
      7
----> 8 from bokeh.io import notebook_div
      9 from bokeh.document import Document
     10 from bokeh.models import (CustomJS, ColumnDataSource, Square, HoverTool,

ImportError: cannot import name 'notebook_div'

In [4]: import datashader as ds

In [5]: ds.__version__
Out[5]: '0.6.1'

Sorry looks like this might have been fixed in master.. Great job guys.

Yes, should be fixed in master, but we should also have a release out by now to avoid people having this problem!  Should arrive very soon now; still trying to fix one more bug...


Add support for FastAPI

Currently, it seems FastAPI is unsupported. Would be great to add the Python Framework to the list of those supported.
Am I correct in assuming we could write our own middleware for this Framework using this library?

Yes, you could. It would be very similar to this blog post, I think. You can also look at our aiohttp support for an example.
Note that FastAPI and Starlette will probably be on our roadmap, as they are definitely picking up popularity. We just don't have an ETA.


TypeError: Cannot read property 'charAt' of undefined

Environment

Operating System version: Mac Os Mojave 10.14
Firebase SDK version: latest
Library version: latest
Firebase Product: firestore, functions, auth (auth, database, storage, etc)

The problem
In my Cloud Function, when I try to write on a document I have this error:

TypeError: Cannot read property 'charAt' of undefined
at resolveURL (/user_code/node_modules/firebase-admin/node_modules/axios/lib/helpers/isURLSameOrigin.js:41:43)
at standardBrowserEnv (/user_code/node_modules/firebase-admin/node_modules/axios/lib/helpers/isURLSameOrigin.js:47:17)
at Object. (/user_code/node_modules/firebase-admin/node_modules/axios/lib/helpers/isURLSameOrigin.js:60:5)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object. (/user_code/node_modules/firebase-admin/node_modules/axios/lib/adapters/xhr.js:7:23)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at getDefaultAdapter (/user_code/node_modules/firebase-admin/node_modules/axios/lib/defaults.js:20:15)
at Object. (/user_code/node_modules/firebase-admin/node_modules/axios/lib/defaults.js:29:12)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object. (/user_code/node_modules/firebase-admin/node_modules/axios/lib/core/Axios.js:3:16)

Everything worked very well until I added packages to make it compile with Universal.
I think there is a conflict with a package but, I can't find the one. I suspect Domino and axios used by the firebase-admin at the moment but not sure ...
I'm confused with this problem, I can give you an additional explanation if needed
Code
The 'set' and 'update' method are returning an error
const firebase = require('firebase-admin');

var db = firebase.firestore();

db.collection("users").doc("xikimay@gmail.com").set({
        anything: "test"
})

function/package.json
{
  "name": "functions",
  "scripts": {
    "build": "cp -r ../dist . && tsc",
    "serve": "npm run build && firebase serve --only functions",
    "shell": "npm run build && firebase functions:shell",
    "start": "npm run shell",
    "deploy": "firebase deploy --only functions",
    "logs": "firebase functions:log"
  },
  "main": "lib/index.js",
  "dependencies": {
    "@angular/animations": "7.1.4",
    "@angular/common": "7.1.4",
    "@angular/compiler": "7.1.4",
    "@angular/core": "7.1.4",
    "@angular/fire": "^5.1.1",
    "@angular/forms": "7.1.4",
    "@angular/http": "7.1.4",
    "@angular/platform-browser": "7.1.4",
    "@angular/platform-browser-dynamic": "7.1.4",
    "@angular/platform-server": "7.1.4",
    "@angular/router": "7.1.4",
    "@kubernetes/client-node": "^0.8.1",
    "@ng-bootstrap/ng-bootstrap": "^4.0.3",
    "@nguniversal/common": "^6.0.0",
    "@nguniversal/express-engine": "^6.0.0",
    "@nguniversal/module-map-ngfactory-loader": "^6.0.0",
    "angular-notifier": "^4.1.1",
    "angular2-promise-buttons": "^3.0.1",
    "body-parser": "^1.18.3",
    "compression": "^1.7.3",
    "core-js": "^2.4.1",
    "cors": "^2.8.5",
    "domino": "^2.1.2",
    "express": "^4.15.2",
    "firebase": "^5.0.2",
    "firebase-admin": "^6.0.0",
    "firebase-functions": "^2.1.0",
    "google-auth-library": "^3.1.0",
    "instagram-private-api": "^0.6.8",
    "kubernetes-client": "^6.8.3",
    "mkdir-recursive": "^0.4.0",
    "ng2-material-dropdown": "^0.10.1",
    "ng5-slider": "^1.1.13",
    "ngx-chips": "^1.6.7",
    "node-mailjet": "^3.3.1",
    "reflect-metadata": "^0.1.10",
    "rxjs": "6.0.0",
    "rxjs-compat": "^6.4.0",
    "stripe": "^6.25.1",
    "xmlhttprequest": "^1.8.0",
    "zone.js": "^0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "0.11.4",
    "@angular/cli": "7.1.4",
    "@angular/compiler-cli": "7.1.4",
    "@angular/language-service": "7.1.4",
    "@types/node": "^8.0.30",
    "codelyzer": "^4.0.2",
    "http-server": "^0.10.0",
    "mkdir-recursive": "^0.4.0",
    "pre-commit": "^1.2.2",
    "ts-loader": "^4.0.0",
    "tslint": "^5.7.0",
    "typescript": "3.1.6"
  },
  "private": true
}

EDIT:
With firebase.database() it works

I can't reproduce this issue. (I create an app with your list of dependencies which writes to Firestore as you demonstrated, but everything worked fine.) Are you able to create a minimal project that demonstrates this?

I was able to reproduce the error, not exactly the same (depending on the package version)
The steps:

Start an angular-universal app: I used this template universal-starter
Modify Prerender.ts and Server.ts to add domino

Server.ts
import 'zone.js/dist/zone-node';
import 'reflect-metadata';
import {enableProdMode} from '@angular/core';
import {ngExpressEngine} from '@nguniversal/express-engine';
import {provideModuleMap} from '@nguniversal/module-map-ngfactory-loader';
import { readFileSync, writeFileSync, existsSync } from 'fs';
import { renderModuleFactory } from '@angular/platform-server';
import { mkdirSync } from 'mkdir-recursive';

import * as express from 'express';
import * as bodyParser from 'body-parser';

import * as compression from 'compression';

import {join} from 'path';
  import {createWindow } from 'domino';

enableProdMode();

export const app = express();
(global as any).XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest;

app.use(compression());

app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: true }));

const DIST_FOLDER = join(process.cwd(), 'dist');
const template = readFileSync(join(DIST_FOLDER, '/browser/', 'index.html')).toString();
const win = createWindow(template);
global['window'] = win;
global['navigator'] = win.navigator;

const {AppServerModuleNgFactory, LAZY_MODULE_MAP} = require(DIST_FOLDER+ '/server/main');

app.engine('html', ngExpressEngine({
  bootstrap: AppServerModuleNgFactory,
  providers: [
    provideModuleMap(LAZY_MODULE_MAP)
  ]
}));

app.set('view engine', 'html');
app.set('views', DIST_FOLDER+ '/browser');

app.get('/redirect/**', (req, res) => {
  const location = req.url.substring(10);
  res.redirect(301, location);
});

app.get('*.*', express.static(DIST_FOLDER+ '/browser', {
  maxAge: '1y'
}));

app.get('/*', (req, res) => {
  console.log("app. get /")
  res.render('index', {req, res}, (err, html) => {
    if (html) {
      res.send(html);
    } else {
      console.log(err)
      res.send(err);
    }
  });
});

if (process.env.PRERENDER) {

    const routes = require('./static.paths').default;
    Promise.all(
        routes.map(route =>
            renderModuleFactory(AppServerModuleNgFactory, {
                document: template,
                url: route,
                extraProviders: [
                    provideModuleMap(LAZY_MODULE_MAP)
                ]
            }).then(html => [route, html])
        )
    ).then(results => {
        results.forEach(([route, html]) => {
            const fullPath = join('./public', route);
            if (!existsSync(fullPath)) { mkdirSync(fullPath); }
            writeFileSync(join(fullPath, 'index.html'), html);
        });
        process.exit();
    });

}

Prerender.ts
import 'zone.js/dist/zone-node';
import 'reflect-metadata';
import {readFileSync, writeFileSync, existsSync, mkdirSync} from 'fs';
import {join} from 'path';
import {createWindow } from 'domino';

import {enableProdMode} from '@angular/core';
// Faster server renders w/ Prod mode (dev mode never needed)
enableProdMode();

// Import module map for lazy loading
import {provideModuleMap} from '@nguniversal/module-map-ngfactory-loader';
import {renderModuleFactory} from '@angular/platform-server';
import {ROUTES} from './static.paths';

const BROWSER_FOLDER = join(process.cwd(), 'browser');

const index = readFileSync(join('browser', 'index.html'), 'utf8');

const win = createWindow(index.toString());
global['window'] = win;
global['navigator'] = win.navigator;

const {AppServerModuleNgFactory, LAZY_MODULE_MAP} = require('./server/main');
let previousRender = Promise.resolve();

ROUTES.forEach(route => {
  const fullPath = join(BROWSER_FOLDER, route);

  if (!existsSync(fullPath)) {
    mkdirSync(fullPath);
  }

  previousRender = previousRender.then(_ => renderModuleFactory(AppServerModuleNgFactory, {
    document: index,
    url: route,
    extraProviders: [
      provideModuleMap(LAZY_MODULE_MAP)
    ]
  })).then(html => writeFileSync(join(fullPath, 'index.html'), html));
});

Change Firebase.json to redirect traffic to cloud function

{
  "functions": {
    "predeploy": "npm --prefix \"$RESOURCE_DIR\" run build"
  },
  "hosting": {
    "public": "dist/browser",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
    "rewrites": [
      { "source": "**", "function": "universal" }
    ]
  }
}

Add your cloud functions test

import * as functions from 'firebase-functions'
const firebase = require('firebase-admin');

firebase.initializeApp(functions.config().firebase)

var db = firebase.firestore();

const server = require('../dist/server')

export const universal = functions.https.onRequest((request, response) => {
    server.app(request, response);
  });

export const onInit = functions.auth.user().onCreate((user, context) => {
    console.log("START")
    return new Promise(function(resolve, reject) {
        db.collection("users").doc("test").set({
            mdr: "test"
        }).then(res => {
            console.log(res)
            console.log("ok")
        }).catch(err => { console.log(err, "failed") })
    })
})

Main Package.json

{
  "name": "ng-universal-demo",
  "version": "0.0.0",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/angular/universal-starter.git"
  },
  "contributors": [
    "AngularClass<EMAIL_ADDRESS>    "PatrickJS<EMAIL_ADDRESS>    "Jeff Whelpley<EMAIL_ADDRESS>    "Jeff Cross<EMAIL_ADDRESS>    "Mark Pieszak<EMAIL_ADDRESS>    "Jason Jean<EMAIL_ADDRESS>    "Fabian Wiles<EMAIL_ADDRESS>  ],
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "copy:hosting": "cp -r ./dist/browser/* ./public",
    "build:functions": "npm run --prefix functions build",
    "build": "ng build && npm run copy:hosting && npm run build:functions && npm run build:prerender",
    "lint": "ng lint ng-universal-demo",
    "build:client-and-server-bundles": "ng build --prod && ng run ng-universal-demo:server:production",
    "build:prerender": "npm run build:client-and-server-bundles && npm run compile:server && npm run generate:prerender",
    "build:ssr": "npm run build:client-and-server-bundles && npm run compile:server",
    "compile:server": "tsc -p server.tsconfig.json",
    "generate:prerender": "cd dist && node prerender",
    "serve:prerender": "cd dist/browser && http-server",
    "serve:ssr": "node dist/server"
  },
  "pre-commit": [],
  "private": true,
  "dependencies": {
    "@angular/animations": "7.1.4",
    "@angular/common": "7.1.4",
    "@angular/compiler": "7.1.4",
    "@angular/core": "7.1.4",
    "@angular/forms": "7.1.4",
    "@angular/http": "7.1.4",
    "@angular/platform-browser": "7.1.4",
    "@angular/platform-browser-dynamic": "7.1.4",
    "@angular/platform-server": "7.1.4",
    "@angular/router": "7.1.4",
    "domino": "^2.0.0",
    "firebase": "^5.0.2",
    "body-parser": "^1.18.3",
    "mkdir-recursive": "^0.4.0",
    "@nguniversal/common": "^6.0.0",
    "@nguniversal/express-engine": "^6.0.0",
    "@nguniversal/module-map-ngfactory-loader": "^6.0.0",
    "core-js": "^2.4.1",
    "compression": "^1.7.3",
    "xmlhttprequest": "^1.8.0",
    "express": "^4.15.2",
    "reflect-metadata": "^0.1.10",
    "rxjs": "6.3.3",
    "zone.js": "^0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "0.11.4",
    "@angular/cli": "7.1.4",
    "@angular/compiler-cli": "7.1.4",
    "@angular/language-service": "7.1.4",
    "@types/node": "^8.0.30",
    "codelyzer": "^4.0.2",
    "http-server": "^0.10.0",
    "pre-commit": "^1.2.2",
    "ts-loader": "^4.2.0",
    "tslint": "^5.7.0",
    "typescript": "3.1.6"
  }
}

Function/package.json

{
  "name": "functions",
  "scripts": {
    "build": "cp -r ../dist . && tsc",
    "serve": "npm run build && firebase serve --only functions",
    "shell": "npm run build && firebase functions:shell",
    "start": "npm run shell",
    "deploy": "firebase deploy --only functions",
    "logs": "firebase functions:log"
  },
  "main": "lib/index.js",
  "dependencies": {
    "@angular/animations": "7.1.4",
    "@angular/common": "7.1.4",
    "@angular/compiler": "7.1.4",
    "@angular/core": "7.1.4",
    "@angular/forms": "7.1.4",
    "@angular/http": "7.1.4",
    "@angular/platform-browser": "7.1.4",
    "@angular/platform-browser-dynamic": "7.1.4",
    "@angular/platform-server": "7.1.4",
    "@angular/router": "7.1.4",
    "rxjs": "6.3.3",
    "firebase-admin": "~7.0.0",
    "firebase-functions": "^2.2.0",
    "domino": "^2.0.0",
    "compression": "^1.7.3",
    "mkdir-recursive": "^0.4.0",
    "core-js": "^2.4.1",
    "reflect-metadata": "^0.1.10",
    "express": "^4.15.2",
    "body-parser": "^1.18.3",
    "zone.js": "^0.8.26",
    "xmlhttprequest": "^1.8.0",
    "@nguniversal/common": "^6.0.0",
    "@nguniversal/express-engine": "^6.0.0",
    "@nguniversal/module-map-ngfactory-loader": "^6.0.0"
  },
  "devDependencies": {
    "typescript": "^3.2.2",
    "mkdir-recursive": "^0.4.0"
  },
  "private": true
}

And launch onInit Function then you should have an error.
In this case it was slighly different because of the version of some packages

I can now reproduce the 'not supported' error (though not the 'charAt' error).
Looking at the top line in the stacktrace (protobufjs/src/root.js) it looks like protobufjs doesn't think it's using node. Which is odd, since this certainly looks like a node environment to me. I'll need to investigate this a bit more to figure out what's going on.
But in the meantime, try adding this to your index.ts file:
import * as protobufjs from 'protobufjs'
...
export const onInit = functions.auth.user().onCreate(user, context) => {
    console.log(protobufjs.util.isNode);
    ...

For me, that seems to change the load order such that everything works.

@xikimay I'm not very familiar with Angular Universal but my understanding is it's supposed to run angular applications server-side instead of in a browser.  Note that our firebase-admin-node SDK is not meant to run in a browser, so it's not too surprising that it breaks under Angular Universal.  You might try using the "client SDK" for firebase instead (i.e. the "firebase" package on npm).  It supports both browser and node.js so may have a better chance of working.
Failing that, you con try to get by with @rsgowman's workaround, but ultimately I'm not sure if this is a configuration that we support right now.  If you're able to isolate the issue to something we're doing wrong in the nodejs-firestore SDK (source here: https://github.com/googleapis/nodejs-firestore) we can take a closer look and see if we can address it.
cc/ @davideast and @jamesdaniels in case they have insight based on their familiarity with Angular.

I'm going to close this issue for now as I'm not sure if this is a supported scenario.  For now I'd try using the "firebase" npm package or the workaround @rsgowman provided.  Else if you can isolate this to something we're doing wrong in the nodejs-firestore SDK, I'm happy to take another look.


Add a 'noauth' mode for easier onboarding/exploration

There should be a 'noauth' mode which allows automatic login as a configurable user having a configurable set of groups. This would ease adoption for people who want to test out functionality before configuring heavier security integrations.

add initial draft of this functionality

added 'anonymous' user and groups config in recent commit.


KAFKA-12744: Breaking change dependency upgrade: "argparse4j" 0.7.0 -->> 0.9.0

Corresponding JIRA ticket: https://issues.apache.org/jira/browse/KAFKA-12744
Migration guide: https://argparse4j.github.io/migration.html#to-0-8-0
Release notes:

https://github.com/argparse4j/argparse4j/releases/tag/argparse4j-0.8.0
https://github.com/argparse4j/argparse4j/releases/tag/argparse4j-0.8.1
https://github.com/argparse4j/argparse4j/releases/tag/argparse4j-0.9.0

Related to this PR: #10094 and this commit: https://github.com/apache/kafka/commit/690f72dd69d31589655c84d3cc1a6eec006bcab5
@cmccabe, @hachikuji, @mumrah and @soarez: it would be nice if you could spare some time and review this (especially these two classes):
shell/src/main/java/org/apache/kafka/shell/Commands.java
shell/src/main/java/org/apache/kafka/shell/ManCommandHandler.java

FYI also @ijuma

Thanks for the PR. Given that testing for CLI tools is usually not as good as it should be, have you tried running the commands yourself after these changes?

@ijuma To be honest: no, I did not test commands directly (thing is that Kafka CLI tools are a new concept for me).
Just to be sure: I presume you are referring to these CLI tools:

https://docs.confluent.io/platform/current/tutorials/examples/clients/docs/kafka-commands.html
https://docs.cloudera.com/documentation/kafka/latest/topics/kafka_command_line.html
https://docs.cloudera.com/runtime/7.2.9/kafka-managing/topics/kafka-manage-cli-overview.html

Feel free to drop me some related resource / example / github repository (if you know one) so I can test/run commands on my end.

We can't upgrade to argparse 0.9.0 now as it requires Java 9. Closing this PR for now, we can revisit it once Kafka drops support for Java 8.

Hi @mimaison ! I will return to this once Kafka drops support for Java 8.
Reference JIRA ticket:
KIP-750: Drop support for Java 8 in Kafka 4.0 (deprecate in 3.0) https://issues.apache.org/jira/browse/KAFKA-12894


Inverted condition?

I'm using node v10.3.0 and just noticed that my gulpif condition is always running the opposity of what i'm expecting.
const isDev = (npmEvent === 'start');
console.log(isDev, typeof isDev);

...

.pipe(gulpif(isDev, eslint.format(friendlyFormatter), eslint.format('checkstyle', fs.createWriteStream(`${projectPath(PATH_CONFIG.root.path)}/checkstyle-eslint.xml`))))

The checkstyle-eslint.xml file is always being created when i run npm start but when i run npm run build it does not get created. I can't figure out why this is backwards.
Logging isDev and typeof isDev produces the correct output: true 'boolean'
Any ideas?

Weird. Do you have a gist, plunker, stackblitz link that repro's this?

Unfortunately its pretty deeply embedded into my project setup so i do not. I was hoping you'd see something I'm doing out of the ordinary (although based on that code there really is nothing visible). I'm going to table it for now because I have to keep moving forward on some of the other implementation details I need to do, but I am going to come back to this and at that point do a deep dive into reproduction and set up a code sample that will do this. If possible, keep this issue open for me and I'll double back when i get to the point that I'm troubleshooting this (probably one of the last things i do on this project).

Another option since it looks like this conditional may be a global, pre-evaluated thing:
let eslintStream;
if (isDev) {
  eslintStream = eslint.format(friendlyFormatter);
} else {
  let stream = fs.createWriteStream(`${projectPath(PATH_CONFIG.root.path)}/checkstyle-eslint.xml`);
  eslintStream = eslint.format('checkstyle', stream);
}

// ...
.pipe(eslintStream)

The added benefit with this approach is it's a touch more legible, and you don't spin up the other stream that it'll never use.  (e.g. because gulp-if takes in two already initialized streams and just chooses one of them, it'll read checkstyle-eslint.xml even in dev mode.)

That did the trick, thanks!


Increase default sleep between publishing

Publishing sic 0.16 encountered some issues because (aside issue #770) the crates.io registry wasn't updated within 10 seconds. While I've been using 10 seconds for sic, the default is 5, and both are not enough. Perhaps increase the default wait time between publishing to 15 or 20 seconds?

clsed by #783


Unable to get property 'get_current' of undefined or null reference

Unhandled exception at line 3, column 1 in https://<O365INSTANCE>/sites/DevSite/EmployeeOrientation/Scripts/Add-In.js
0x800a138f - JavaScript runtime error: Unable to get property 'get_current' of undefined or null reference

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

ID: 9e34316f-77a6-e149-4b2e-a1750d0dda6b
Version Independent ID: dab2b2ca-c529-e970-f6ab-9dc214c81e7f
Content: Use the SharePoint JavaScript APIs to work with SharePoint data
Content Source: docs/sp-add-ins/use-the-sharepoint-javascript-apis-to-work-with-sharepoint-data.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

the sp.js and SP.ClientContext needs to load first. You can do it using SP.SOD.executeFunc.


[FEATURE] Request for more actionable error messages

Is your feature request related to a problem? Please describe.
When using the Drifty application, error messages displayed to the user do not provide much aid in helping them troubleshoot or understand what may be the problem with a certain download request.
Describe the solution you'd like.
I would like the application to provide more actionable error messages that are descriptive, and in plain english. As a result, the user may be able to fix a mistake in their request, or at least understand what may be causing the download to fail.
Screenshots

Additional information
No response

Also, please check the latest code by running the application in an IDE (preferably IntelliJ Idea Community Edition).
NOTE : Please run Drifty_GUI file to start the GUI and Drifty_CLI file to run the CLI. You can find those java programs in the GUI and CLI directory under src/main directory.

Can you assign this to me please?

Rohan can have it, if he wants

Also, please check the latest code by running the application in an IDE (preferably IntelliJ Idea Community Edition).
NOTE : Please run Drifty_GUI file to start the GUI and Drifty_CLI file to run the CLI. You can find those java programs in the GUI and CLI directory under src/main directory.

I ran it on the windows command line, but maybe on an IDE its different

Can you assign this to me please?

@rohanshah18 Yes 👍. You can work on it as @marlee114 has no problem.

Thanks @marlee114! I'll start working on this and have an update by weekend.


add create/get aws instance success

Signed-off-by: fanux<EMAIL_ADDRESS>

Https://kubebuilder.io/reference/using-finalizers.html Do you want to optimize this? I wrote a sdk before that can be used directly.  https://github.com/labring/endpoints-operator/blob/main/library/controller/controller.go

Https://kubebuilder.io/reference/using-finalizers.html Do you want to optimize this? I wrote a sdk before that can be used directly. https://github.com/labring/endpoints-operator/blob/main/library/controller/controller.go

yes I will


[SPARK-36573][BUILD][TEST] Add a default value to ORACLE_DOCKER_IMAGE

What changes were proposed in this pull request?
Currently, the procedure to run the Oracle Integration Suite is based on building the Oracle RDBMS image from the Dockerfiles provided by Oracle.
Recently, Oracle has started providing database images, see  https://container-registry.oracle.com
Moreover an Oracle employee is maintaining Oracle XE images that are streamlined for testing at https://hub.docker.com/r/gvenzl/oracle-xe and https://github.com/gvenzl/oci-oracle-xe This solves the issue that official images are quite large and make testing resource-intensive and slow.
This proposes to document the available options and to introduce a default value for ORACLE_DOCKER_IMAGE
Why are the changes needed?
This change will make it easier and faster to run the Oracle Integration Suite, removing the need to manually build an Oracle DB image.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Manually tested:
export ENABLE_DOCKER_INTEGRATION_TESTS=1
./build/sbt -Pdocker-integration-tests "testOnly org.apache.spark.sql.jdbc.OracleIntegrationSuite"

Can one of the admins verify this patch?

ok to test.

@LucaCanali Could you apply this change for v2.OracleIntegrationSuite too?
Also, could you reflect this change to GA job by chainging build_and_test.yml?

Test build #142729 has started for PR 33821 at commit ac26324.

Test build #142729 has finished for PR 33821 at commit ac26324.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/142729/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47229/

Can one of the admins verify this patch?

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47229/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47229/

Test build #142739 has started for PR 33821 at commit 50da39b.

Test build #142740 has started for PR 33821 at commit 61634f4.

Test build #142739 has finished for PR 33821 at commit 50da39b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/142739/

Test build #142740 has finished for PR 33821 at commit 61634f4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/142740/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47239/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47239/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47239/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47240/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47240/

Thank you for pinging me, @sarutak .

Merged to master for Apache Spark 3.3.0.

Can one of the admins verify this patch?

Thank you @sarutak and @dongjoon-hyun


Resume the audio context if it is not in running state

On Chrome if the audio context is created on page load then it now defaults to a paused state, and will fail to play the audio - https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#webaudio
As the resume method returns a promise, I have embedded and invoked an anonymous function that tests the audio context state, then resumes it if it is not already in running state.
The createBufferSource function waits until the running promise is resolved.
I have tested on chrome and safari.

what happens on "older" browsers ? Do they still return the context state ok ?

I need to find machines with old browsers.

@dceejay
If the browser doesn't support Audio Context then a message is displayed that the browser doesn't support the capability.
I am looking around for a browser compatibility test tool and came across https://turbo.net/browsers is this something that you have used?

Hi - no - not used it. Maybe just in line 48 - check that state exists first - if it does - all good... if not - handle it.

done


use simpler VectorTileValue API

The updated VectorTileValue API is more storage efficient and cheaper to access. This change makes use of it.

nice!


Cannot find files when AzCopy from AzureStorage using --include-pattern option

Which version of the AzCopy was used?
10.10.0
Which platform are you using? (ex: Windows, Mac, Linux)
Windows Server 2016
What command did you run?
"azcopy.exe"   copy "https://XXX.blob.core.windows.net/interfacedata/SMD_INPUT/"   "D:\10_DataTransfer\PJ04\AzureStorage\SMD_INPUT"   --recursive=false  --include-pattern   "ABCED.xlsx"
What problem was encountered?
Azcopy can not fine file, when using --include-pattern option and if the file has same name with folder at same level.
202106_AzCopy_Download_Issue.xlsx
AzCopy_log_NG.log
AzCopy_log_OK.log
How can we reproduce the problem in the simplest way?

Set file and folder at same level in AzureStorage Container.  Please check attached .xlsx file.
Set required file in folder set at 1) step.
Do azcopy command from path 1)-folder and  assign "--include-pattern" with 2)-filename.

Have you found a mitigation/solution?
Yes, we delete the file has same name with folder, we can download required files.

@nao-830713 Having Virtual directories and flles with identical names at same level is not recommended. This scenario will not be supported.


Allow Command Bar Flyout to change sizes based on input device used

CommandBar has code in it that records the last used input type and updates certain template setting values to increase the size of the app bar buttons when touch is used to open them. However the mechanism that is used to do this uses layout properties of the AppBarButton's container to specify the default size of the item. However CommandBarFlyout bypasses this logic by specifying a height in the style that is used for its AppBarButtons.  Removing this height allows the behavior to function as expected.

/azp run

@StephenLPeters do we get 40 pixel height even after removing this with touch ?

@StephenLPeters do we get 40 pixel height even after removing this with touch ?

Yes we do.

/azp run


Update summernote-cleaner.js

custom webify handling for smart quotes, long hyphens and ellipses
prevent keepClass from handling line endings

While I appreciate your efforts to improve the plugin, I am wondering why you've removed certain parts of the code, for e.g.:
/* https://github.com/DiemenDesign/summernote-cleaner */
(function (factory) {
  if (typeof define === 'function' && define.amd) {
    define(['jquery'], factory);
  } else if (typeof module === 'object' && module.exports) {
    module.exports = factory(require('jquery'));
  } else {
    factory(window.jQuery);
  }
}

and the options area?
Keep in mind the plugin system for Summernote generally is designed to support as many browser environments as possible.


Missing visible symbols in Query expression context

Description:
Case 1

As depicted above, when I try to access the fields of athlete variable inside the do statement , I do not get any completion item. The reason could be the visibleSymbols() API not recognizing the athlete symbol.
function findNumOfAthletesBycountry() returns map<int> | error{
    map<int> countByCountry = {}
    check from var athlete in check getAthletes()
     do {
        a<cursor>
     }
    return countByCountry;

}

Case 2
entry and stats variable symbols are not visible at the depicted cursor position.
function findTop10GoldMedalsToAthletesRatio() returns error? {
    map<int> athletesByCountry = check findNumOfAthletesBycountry();
    stream<MedalStats, error?> medalStats = check getMedalStats();

    var result = from [string,int] entry in athletesByCountry.entries() join var stats in medalStats on <cursor>
}

Steps to reproduce:
Mentioned above

Sub task of #33628

The second case mentioned in the issue works as expected. Please ignore it @pubudu91


build pySPlisHSPlasH error: no matching member function for call to 'def_static'

Hi, thanks for your amazing work on this great simulation framework! But when building pySPlisHSPlasH, I meet the following error:
.../SPlisHSPlasH-fix-macos/pySPlisHSPlasH/SimulationModule.cpp:137:14: error: no matching member function for call to 'def_static'
            .def_static("getCurrent", &SPH::Simulation::getCurrent, py::return_value_policy::reference)
            ~^~~~~~~~~~
.../SPlisHSPlasH-fix-macos/extern/pybind/include/pybind11/pybind11.h:1273:5: note: candidate template ignored: couldn't infer template argument 'Func'
    def_static(const char *name_, Func &&f, const Extra&... extra) {
    ^

I have tried to clone the newest pybind11, which not worked.
Thanks for any help!

FYI, my system is x86_64-apple-darwin21.1.0 with Apple clang version 13.1.6

Solved. The problem lies in that I have overloaded the getCurrent function.


False move accepted occasionally

When moving a tile, in counting the size of a potential destination blob, the source blob said tile was part of, is erroneously added into the calculation.
This bug comes forth from the underlying blob-map caching algorithm, which needs to be rewritten.

Fixed in 53f255a8eb3f5be542b14f65b40ee5326184aac7


Test for action of 'auto-commnet-for-accepted'.

Test for action of 'auto-commnet-for-accepted'.

Please send an email to<EMAIL_ADDRESS>to tell us your toolspeed account. We will extend your plan for three months.

${comment_body}

${comment_body}

Hi ${issue_user}, thanks for your issue! We will look into it shortly. Please send an email to<EMAIL_ADDRESS>to tell us your toolspeed account. We will extend your plan for three months.

Hi @liwuqingxin, thanks for your issue! We will look into it shortly. Please send an email to<EMAIL_ADDRESS>to tell us your toolspeed account. We will extend your plan for three months.

Hi  @liwuqingxin, thanks for your issue! We will look into it shortly.
Please send an email to<EMAIL_ADDRESS>to tell us your toolspeed account. We will extend your plan for three months.


[Container App] Fix #29980: az containerapp: Polling animation should use stdout rather than stderr

Related command

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Container App


Issue/question regarding /f c e chat

Hello,
Let's say I belong to Faction 1, and am at war against only Faction 2. I would only like to receive /f c e messages from Faction 2, and not from any other factions involved in a completely different conflict.
In the current setting, it seems as if anyone that enters the /f c e chat can see all messages broadcasted on that channel regardless of whether they are at war with the broadcasting factions or not. Furthermore, staff of my server have reported that anyone can enter the /f c e without even being at war with another faction. This is a behaviour that is quite different from what the /f c t, /f c a and /f c at commands do. /f c e is more like an alternate public chat, rather than a true chat based on diplomatic ties with other factions.
Is this intended behaviour?
Cheers,
Pyves

I'll have to get back to you on that. I remember that I intended that to prevent the enemy from spamming your chat. But some stuff has changed which might of stuffed up enermy chat being that its not the same as faction/truce/ally chat


factored out allowed file types check into a script

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 60.202%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
596

Relevant Lines:
990

💛  - Coveralls


Example please

I have tried including this in my project in expo but I just can't get it to work, I have tried it with cloudmqtt, hive and eclipse online free brokers but its not working. Can someone link a project they have made in react native using this library for MQTT. That will give me much more clarity thanks.

me too
have ou find any example to publish data ?

let message = new Paho.MQTT.Message("Hello");
message.destinationName = "react_native/World";
client.send(message);


lazily load Makie

fix #47

Codecov Report

Merging #50 into master will increase coverage by 2.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #50      +/-   ##
==========================================
+ Coverage   28.72%   30.88%   +2.16%
==========================================
  Files          14       14
  Lines         383      395      +12
==========================================
+ Hits          110      122      +12
  Misses        273      273

Impacted Files
Coverage Δ

src/render_with_Makie.jl
0.00% <ø> (ø)

src/GridWorlds.jl
100.00% <100.00%> (ø)

src/envs/empty.jl
100.00% <0.00%> (ø)

src/envs/gotodoor.jl
100.00% <0.00%> (ø)

src/envs/fourrooms.jl
100.00% <0.00%> (ø)

src/grid_world_base.jl
67.44% <0.00%> (+1.58%)
:arrow_up:

src/abstract_grid_world.jl
80.00% <0.00%> (+2.22%)
:arrow_up:

Continue to review full report at Codecov.

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


Is there a way to revert the calendar direction ?

Actually the calendar is displayed with older time on the left and time growing on the right. I would like to have the most recent period on the left and older time on the right.
Is that possible to do ?
(Not seen in the documentation, seen some Global in the code for selecting navigation direction)

As of now, it’s not possible. What will be the point / use case ?
Logically, calendar is always read from left to right.
On Thu, Sep 20, 2018 at 15:30 Paul Pinault<EMAIL_ADDRESS>wrote:

Actually the calendar is displayed with older time on the left and time
growing on the right. I would like to have the most recent period on the
left and older time on the right.
Is that possible to do ?
(Not seen in the documentation, seen some Global in the code for selecting
navigation direction)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wa0x6e/cal-heatmap/issues/258, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAeQXYV3h-xDsYe1hAf5VclBSZ2ZgNkxks5uc3xJgaJpZM4Wx7wN
.

See #111


[BUG] - Analysis fails even when the ARM template (JSON) file is following the guidance

Describe the bug
Here's the sample ARM template
{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {
        "name": {
            "type": "string"
        },
        "resourceLocation": {
            "type": "string",
            "metadata": {
                "description": "Location where the resource to be created"
            },
            "defaultValue": "[resourceGroup().location]"
        },
        "resourceTags": {
            "type": "object",
            "defaultValue": {
                "Environemnt": "Dev",
                "Project": "Sample"
            }
        }
    },
    "resources": [
        {
            "type": "Microsoft.Network/virtualNetworks",
            "name": "[parameters('name')]",
            "apiVersion": "2020-06-01",
            "location": "[parameters('resourceLocation')]",
            "properties": {},
            "tags": "[parameters('resourceTags')]"
        }
    ]
}

When I run this template against the Template-Analyzer, I get the following error.
AZR-000222: Use a location parameter for regional resources
		Severity: High
		Recommendation: Consider updating the resource location property to use [parameters('location)].
		More information: https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.Template.ResourceLocation/
		Result: Failed
		Line: 1
	Rules passed: 0

Expected behavior
It should not report AZR-000222: Use a location parameter for regional resources.
Reproduction Steps
Create an ARM template file with the following content,
{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {
        "name": {
            "type": "string"
        },
        "resourceLocation": {
            "type": "string",
            "metadata": {
                "description": "Location where the resource to be created"
            },
            "defaultValue": "[resourceGroup().location]"
        },
        "resourceTags": {
            "type": "object",
            "defaultValue": {
                "Environemnt": "Dev",
                "Project": "Sample"
            }
        }
    },
    "resources": [
        {
            "type": "Microsoft.Network/virtualNetworks",
            "name": "[parameters('name')]",
            "apiVersion": "2020-06-01",
            "location": "[parameters('resourceLocation')]",
            "properties": {},
            "tags": "[parameters('resourceTags')]"
        }
    ]
}

Run the template Analyzer command pointing to this file.
dotnet TemplateAnalyzer.dll analyze-template <path-to-template>.json --report-format Console --include-non-security-rules -v
Environment
I have tried this with Ubuntu and Mac OSX (M1 - Apple Silicon).
NOTE: I am using dotnet-sdk-7.0 to run the TemplateAnalyzer on Unix machines.

@BernieWhite I haven't investigated this on the PSRule side, but this appears to be AZR-000222 not considering whether the reference to resourceGroup().location is initializing a parameter value. The template with the violation appears to be following the guidance of this rule, yet it still fails.

Thanks for reporting @shailendragusain @JohnathonMohr.

@JohnathonMohr The issue is related to https://github.com/Azure/template-analyzer/blob/811b59edc234e7c6c8b6371632d026bb965c47ed/src/Analyzer.PowerShellRuleEngine/PowerShellRuleEngine.cs#L88
PSRule is passed an expanded template with all expressions replaced. PSRule is going to assume that the location was hardcoded which is the point of rule AZR-000222.
Since expanded resource are already passed via https://github.com/Azure/template-analyzer/blob/811b59edc234e7c6c8b6371632d026bb965c47ed/src/Analyzer.PowerShellRuleEngine/PowerShellRuleEngine.cs#L125
I don't think we need to pass an expanded template and we can use File.WriteAllText(tempTemplateFile, templateContext.OriginalTemplate.ToString());.
I'll raise a PR.

I see, interesting. This rule requires not evaluating expressions. However, I'm sure other rules would benefit from having them evaluated.
The ideal case would be to run each rule against the desired template state. We might consider taking inventory of the rules and running PSRule twice (in parallel hopefully), once for each state, using the corresponding set of rules. Long term we could add metadata to each rule or something.


Visualizing flow information...

Not a real issue, more a question... (I saw vflow mentioned on the NANOG list the other day.)
vflow sounds really impressive for big flow traffic. I am looking at a slightly different application space, and wonder if vflow might work.
I'm writing a series of blog posts about netflow collectors that are useful for home networks.  You can read them at http://richb-hanover.com/netflow-collectors-for-home-networks/)
If I'm reading the documentation correctly, vflow collects the flow data and puts it into a database. Do you have any recommendations about visualizing the data? I'd love to be able to recommend some kind of graphical front end for my readers. Many thanks!

@richb-hanover the vFlow produces data to the message bus (Kafka/NSQ/NATS) then you need to create your own consumer to insert to anywhere. depends on the load you need different strategies. one of the scenarios is ingesting to Elasticsearch then you can visualize them by Kibana. when you have mid-high load you need to have aggregation and warehousing. other solution could be TSDB/HBase w/ Grafana, Clickhouse, MemSQL w/ a BI. there are other valuable apps could be developed top of vFlow, like detect DDoS attack, anomaly detection w/ AI or network intruder detection.

Thanks for this feedback. My focus is relatively low-traffic: home routers.
I was wondering if you (or anyone else) have any examples of a graphical consumer that could show top talkers, top ports/protocols, etc. Thanks again.


apiext: rewrite to fix CA cert renewal and enhance capabilities

Description
This PR looks to fix the long standing issue with CA Certs not auto-renewing and becoming expired thus no longer being able to convert CRD's until a new CA cert is re-created. It expands the capabilities to allow for more flexibility in allowing the CA Cert and CRD Patching to be externally managed by third parties such as CertManager. Also, leverages leader-election to ensure predictability when managed CA Cert and CRD Patching.
APIExt design
The new design is built on top of the controller-runtime using the familiar Runnable and Controller patterns. The following are the key abstractions created.

Entity
Description
Required
Leader Election

CertificateAuthority
Internal CA Cert cache that generates Server Certificates
Yes
No

caCertController
Controller watching CA Cert Secret and providing CertificateAuthority the CACert
Yes
No

crdPatchController
Controller patching getambassador.io CRDs to ensure CABundle matches CACert
No
Yes

CACertManager
Runnable watching CA Cert Secret and ensuring it is always valid and non-expired
No
Yes

Note: crdPatchController and CACertManager can be disabled but the capabilities they provide are required so if disabled then it is up to the user to provide an alternative such as CertManager.

Now that we support LeaderElection the RBAC has been expanded to include the new permissions needed.
One other thing to mention, is that this PR laid the ground work for publishing the apiext as a stand alone container by decoupling its binary from busy ambassador. However, for now the standalone container is only used to simplify the e2e testing (mainly due to keeping scope down, in an already large PR). The standalone binary is still copied into the core container and the deployment in the charts/manifest are still the same.
Related Issues
CA Cert Renewal and support for externally managing CA Cert and CRD Patching.
Testing
New unit tests for rewrite and added automated e2e tests to CI. Pulled into Edge Stack and verified no issues there as well.
Checklist

[ ] Does my change need to be backported to a previous release?
[ ] I made sure to update CHANGELOG.md.
[x] This is unlikely to impact how Ambassador performs at scale.
[x] My change is adequately tested.
[ ] I updated DEVELOPING.md with any any special dev tricks I had to use to work on this code efficiently.
[x] The changes in this PR have been reviewed for security concerns and adherence to security best practices.

Are there plans to cut a release soon with this fix?


GenericSignal helper class

See also #42
Instead of generating a helper class for each signal property, we use a single GenericSignal which can be specialised with the list of argument types that the signal contains.

Not sure the best way to comprehensively test this.
I think the one thing that might fail at runtime is the code that is unpacking the arguments to pass to the connect closure.
It is assuming that they can be constructed from a Variant. This should be true, but it's not the same code as was in the old generated helpers.
I've tested a bit with my own Godot project, but it would be good to try some others that make use of Godot-defined signals with parameters, and check that they work.

(also, I currently have some completely unrelated problems running the tests right now 🤦)

Any chance that someone could approve the workflow so that I can see if the tests pass?
cc/ @migueldeicaza @elijah-semyonov

I've cleaned up the formatting - the PR should now just contain the actual changes I've made.

Note that with @elijah-semyonov's variant changes, I think the generic class has to deal with the possibility of one of the arguments passed to a signal-with-argument could be nil.
I'm not sure if that's actually possible in reality? Since this code was written before that change was merged, for now I've just taken the simplest route and I throw an error for a nil argument, just like I would for one of the wrong type. I can probably eventually get nil arguments to work fine if they are needed, but I wanted to minimise the changes after rebasing, so it might be simpler to tackle it in a follow-up PR later.

The lack of support for nil is troubling, because there is a world where we would need to pass a nil that is being surfaced by Godot to our code.
One solution might be to bring back a Variant.Nil that conforms to VariantStorable so we can satisfy this signature:
    public func connect(flags: Object.ConnectFlags = [], _ callback: @escaping (_ t: repeat each T) -> Void) -> Object {

Or perhaps the only scenario we care about is passing an object that might be nil.
I think that we might be able to get away with creating such an object, and manually set the handle to nil, and users of that code would need to test for 'object.isValid'.

I am not a fan of 'object.isValid' approach, so perhaps we do need to introduce a Nil type, perhaps we can call it 'CallbackNil' to make it clear that it is to be generally shunned.

The lack of support for nil is troubling

I've revised this so that nil arguments should be passed through to the callback properly.

After further discussion with @elijah-semyonov I've changed the generator as he suggested, so that primitive signal arguments are non-optional, but object ones are optional, in the actual signature of the GenericSignal.

Thank you for nurturing this change.
Cheers!


S3 support and fix bugs

Pull Request Test Coverage Report for Build 280

82 of 283 (28.98%)  changed or added relevant lines in 21 files are covered.
161 unchanged lines in 14 files lost coverage.
Overall coverage decreased (-32.3%) to 49.621%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

worker/src/main/scala/com/github/jaitl/crawler/worker/exception/BotBannedException.scala
0
1
0.0%

worker/src/main/scala/com/github/jaitl/crawler/worker/exception/PageNotFoundException.scala
0
1
0.0%

worker/src/main/scala/com/github/jaitl/crawler/worker/http/HttpRequestExecutor.scala
0
3
0.0%

worker/src/main/scala/com/github/jaitl/crawler/worker/pipeline/PipelineBuilder.scala
1
4
25.0%

worker/src/main/scala/com/github/jaitl/crawler/worker/save/DummySaveRawProvider.scala
0
3
0.0%

master/src/main/scala/com/github/jaitl/crawler/master/queue/QueueTaskBalancer.scala
13
17
76.47%

master/src/main/scala/com/github/jaitl/crawler/master/queue/QueueTaskResultController.scala
2
6
33.33%

worker/src/main/scala/com/github/jaitl/crawler/worker/executor/TasksBatchController.scala
12
16
75.0%

worker/src/main/scala/com/github/jaitl/crawler/worker/save/LocalFileSystemSaveRawProvider.scala
0
4
0.0%

worker/src/main/scala/com/github/jaitl/crawler/worker/http/AsyncHttpRequestExecutor.scala
0
6
0.0%

Files with Coverage Reduction
New Missed Lines
%

worker/src/main/scala/com/github/jaitl/crawler/worker/executor/resource/ResourceController.scala
1
19.23%

worker/src/main/scala/com/github/jaitl/crawler/worker/pipeline/PipelineBuilder.scala
1
81.63%

worker/src/main/scala/com/github/jaitl/crawler/worker/executor/SaveCrawlResultController.scala
2
79.09%

worker/src/main/scala/com/github/jaitl/crawler/worker/WorkerManager.scala
2
90.91%

worker/src/main/scala/com/github/jaitl/crawler/worker/executor/TasksBatchController.scala
2
75.45%

worker/src/main/scala/com/github/jaitl/crawler/worker/timeout/RandomTimeout.scala
4
20.0%

worker/src/main/scala/com/github/jaitl/crawler/worker/http/agent/EdgeUserAgentGenerator.scala
8
0.0%

worker/src/main/scala/com/github/jaitl/crawler/worker/http/HttpRequestExecutor.scala
9
0.0%

worker/src/main/scala/com/github/jaitl/crawler/worker/http/agent/FirefoxUserAgentGenerator.scala
10
0.0%

worker/src/main/scala/com/github/jaitl/crawler/worker/http/agent/OperaUserAgentGenerator.scala
12
0.0%

Totals

Change from base Build 276:
-32.3%

Covered Lines:
458

Relevant Lines:
923

💛  - Coveralls


Creat Actor change mobility

Hi , I want Creat Actor in level. It has some static lighting
So , I want change mobility is static
I can change the light static , but i don't know howto change 'DefaultSceneRoot' is static


ValueError: Unknown normalization: quantile_normal

Running ft_transformer for CA housing runs into:
ValueError: Unknown normalization: quantile_normal
Apparently there is only quantile and standard normalization.

Thanks for reporting! I see two places where this typo occurs:

FT-Transformer on California Housing
FT-Transformer on Jannis

Just replace "quantile_normal" with "quantile" to fix the error. Later I will apply the fix to the repository.


Override equal for derived predicates

Proposed changes
Add custon eq operator to Derived Predicates
Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING doc
[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works

Codecov Report

Merging #74 (173de51) into main (ad68c05) will decrease coverage by 0.08%.
The diff coverage is 50.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main      #74      +/-   ##
==========================================
- Coverage   88.30%   88.23%   -0.08%
==========================================
  Files          20       20
  Lines        1052     1054       +2
  Branches      164      164
==========================================
+ Hits          929      930       +1
- Misses         95       96       +1
  Partials       28       28

Flag
Coverage Δ

unittests
88.23% <50.00%> (-0.08%)
:arrow_down:

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

Impacted Files
Coverage Δ

pddl/logic/predicates.py
83.52% <50.00%> (-0.81%)
:arrow_down:

codecov is not happy ;)


Security Risk - (4) MEDIUM - Missing_Encryption_of_Sensitive_Data

From #94
Deprecate the credentials file for the FGT API for an environment variable (with an eventual fallback to the credentials file)

We will start using an environment variable FGT_API_CREDENTIALS or something (that can be provided via Helm Charts or any other way), containing the JSON where the credentials are defined, and only if that environment variable does not exist, fallback to use the credentials.json file

Added an Environment variable FGT_API_CREDENTIALS that, if exists (accepts 'stringuified' JSON or JSON) will replace the call to read from the credentials file.
Extends to the fgt api and the dashboard-wizard/credential-export.js file call that exports the public credentials to the dashboard

testes in the dev environment. successfully overrides credentials

Released to TST on v0.10.4.


[BUG] MapsSearchClient.GetReverseGeocodingAsync(): CountryRegion.Iso is null.

Library name and version
Azure.Maps.Search 2.0.0-beta3
Describe the bug
MapsSearchClient.GetReverseGeocodingAsync() always returns null ISO country code:

In the RawResponse content, we can see that ISO is correct. :

Expected behavior
ISO Country Code should be the same as the one in the raw response content.
Actual behavior
ISO Country Code is always null.
Reproduction Steps
var geopos = new GeoPosition(0.377955, 42.807553);
var response = await _searchClient.GetReverseGeocodingAsync(geopos);
var address = response.Value.Features.FirstOrDefault()?.Properties.Address;

Environment
No response

Hi @julien-bertolini ,
Thank you for reporting this issue. We're fixing this issue and will get back to you once this fix is released!

Hi @julien-bertolini , It's fixed in our 2.0.0-beta.4 . I'll close this bug for now. Let us know if there's any problem. Thank you very much!


Update dependency review workflow

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (3154fd0) to head (adceddc).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #328   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           94        94
  Lines         3197      3197
  Branches       241       241
=========================================
  Hits          3197      3197

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Update release-notes.md

Add instructions in case dtr-scanning store gets in a restart loop
This is due to a major postgres version upgrade which was required with the upgrade to alpine 3.7

cc @joaofnfernandes


add ukranian number regex

Coverage remained the same at 99.12% when pulling 911b65d9f82c51c89ec91c965f3bba48e24166c8 on foozzi:master into 3443132beccddf06c3f0a5e88c1dd2ee6513b612 on chriso:master.

Can you update the README and add a test case? Thanks.

@foozzi any update on this?

Please submit another PR with the required changes.


Add ISCC to multicodecs table

The ISCC is similarity preserving identifier for digital content. An ISCC is derived algorithmically from the digital content itself, just like cryptographic hashes. However, instead of using a single cryptographic hash function to identify data only, the ISCC uses a variety of algorithms to create a composite identifier that exhibits similarity-preserving properties (softhash). For an implementation of code 0xcc01 see: https://core.iscc.codes/#quick-start

Thanks @titusz, you'll have to be patient with us over the Christmas period with some of us taking time off, and this not being a straightforward entry to consider. Feel free to ping us again here if there's been no movement by the new year though.

@vmx I was not sure what tag/category the ISCC would fit. I was tempted to use multihash as category. But there are two problems with that:

ISCC is not a cryptographic hash but a similarity preserving hash.
ISCC requires its own header format with varnibble encoded type, subtype, version, length fields.

So I went for a new category that a called softhash. It could also be called finterprint. You are right that multiformat might also fit as ISCC has its own typing system.
My idea was to make the ISCC multiformats compatible by wrapping its full byte digest with multibase, multicodec:
<multibase><multicodec><iscc-digest-including-header>
Any suggestions on how to approach this are welcome.

My idea was to make the ISCC multiformats compatible by wrapping its full byte digest with multibase, multicodec:
<multibase><multicodec><iscc-digest-including-header>

That sounds reasonable to me. Let's see what others say :)

Hello, is there a timeline for deciding on this issue?


kubefed2 federate enable CustomResourceDefinition fails

Federating type CustomResourceDefinition causes kubefed2 to panic. Details can be found here.

Note: This worked in v0.0.3 but it broken in master.

/cc @marun


feat(jaeger-exporter): adds flushing on an interval

closes https://github.com/open-telemetry/opentelemetry-js/issues/340

Which problem is this PR solving?

Short description of the changes

This change is

Codecov Report

Merging #11 into master will decrease coverage by 0.18%.
The diff coverage is 62.5%.


Import of datasets pollutes the global namespace

🐛 Describe the bug
In the huggingface iter datapipe a package called datasets is imported without any additional qualification.
If you happen to have your own datasets package then this will import it. This also causes a circular import if your datasets package happens to import torchdata. (This was not the case in torchdata v0.3.0)
See https://github.com/pytorch/data/blob/bb78231e5f87620385cb2f91cda87e7f9414eb4a/torchdata/datapipes/iter/load/huggingface.py#L13-L16
Versions
Collecting environment information...
PyTorch version: 1.12.1+cu113
Is debug build: False
CUDA used to build PyTorch: 11.3
ROCM used to build PyTorch: N/A

OS: NixOS 22.05 (Quokka) (x86_64)
GCC version: (GCC) 11.3.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.34

Python version: 3.9.13 (main, May 17 2022, 14:19:07)  [GCC 11.3.0] (64-bit runtime)
Python platform: Linux-5.18.16-x86_64-with-glibc2.34
Is CUDA available: True
CUDA runtime version: Could not collect
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3060
Nvidia driver version: 515.48.07
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] mypy==0.941
[pip3] mypy-extensions==0.4.3
[pip3] numpy==1.21.5
[pip3] torch==1.12.1+cu113
[pip3] torchdata==0.4.1
[pip3] torchvision==0.13.1+cu113
[conda] Could not collect

First of all, it's fine to have circular import in Python as Python would cache the import result. And, datasets is a well-known package provided by huggingface and it's available across PyPI and conda.
I am wondering whether it introduces any problem you. If so, could you please elaborate how it affects your work?

I am wondering whether it introduces any problem you. If so, could you please elaborate how it affects your work?

Sure, no problem.
I don't use huggingface at all but I do have a subdirectory called datasets
── app
│   └── train
|         ├── __init__.py
│       ├── augmentations
|             └── __init__.py
│       ├── criterions
|             └── __init__.py
│       ├── datasets
|             └── __init__.py
│       ├── models
|             └── __init__.py
│       ├── preprocessors
|             └── __init__.py

Importing anything torchdata.datapipes from this subdirectory causes an error. (The circular import is a bit of red herring, it's more a case of the incorrect package being imported).
  File "..../app/train/datasets/....py", line 16, in Dataset
    s3_datapipe: datapipes.iter.IterDataPipe[
AttributeError: partially initialized module 'torchdata.datapipes' has no attribute 'iter' (most likely due to a circular import)

Could you share a minimum repro example? I can't really reproduce the Error.

I just wanted to mention I managed to fix this in my code repo by making sure that my __main__.py script was properly separated from my package.
So that datasets would not be ./datasets relative to the script, and would instead be ../app/train/datasets relative to the script instead.
It's not my ideal directory structure, but in the end I think it's a python shortcoming rather than something to fix here.


Add webhooks update event

see https://discordapp.com/developers/docs/topics/gateway#webhooks

Awesome thank you, but could you please make this PR into the develop branch?

My bad! fixed.

duplicate of #561

and so it is


KeyError: 'roi_fmap.0.weight' in train_models_sgcls.sh

Hey there,
I came across a problem similar to this #41 ,when I did the command bash train_models_sgcls.sh，  I got the error message listed later.
I renamed the downloaded file vgrel-motifnet-sgcls.tar to vg-24.tar, and put it in the correct folder. Its size is
1.7 GB (1,676,245,156 bytes).
Besides, both pretrain_detector and refine_for_detection run well.
I guess the main problem lies in ckpt , but I have no idea what to do later.
Error Message
(neural_motifs) nopanic@ghostInSh3ll:/media/nopanic/DATA/AnExperiment/NeuralMotifs/neural-motifs-master/scripts$ bash train_models_sgcls.sh
TRAINING THE BASELINE
coco : False
ckpt : checkpoints/vgdet/vg-24.tar
det_ckpt :
save_dir : checkpoints/baseline2
num_gpus : 1
num_workers : 1
lr : 0.001
batch_size : 6
val_size : 5000
l2 : 0.0001
clip : 5.0
print_interval : 100
mode : sgcls
model : motifnet
old_feats : False
order : confidence
cache :
gt_box : False
adam : False
test : False
multi_pred : False
num_epochs : 50
use_resnet : False
use_proposals : False
nl_obj : 0
nl_edge : 0
hidden_dim : 256
pooling_dim : 4096
pass_in_obj_feats_to_decoder : False
pass_in_obj_feats_to_edge : False
rec_dropout : 0.1
use_bias : True
use_tanh : False
limit_vision : False
loading word vectors from /media/nopanic/DATA/AnExperiment/NeuralMotifs/neural-motifs-master/data/glove.6B.200d.pt
__background__ -> __background__
fail on __background__

 385.5M total parameters
 -----

detector.roi_fmap.0.weight                        : [4096,25088]    (102760448) (    )
roi_fmap.1.0.weight                               : [4096,25088]    (102760448) (grad)
roi_fmap_obj.0.weight                             : [4096,25088]    (102760448) (grad)
detector.roi_fmap.3.weight                        : [4096,4096]     (16777216) (    )
roi_fmap.1.3.weight                               : [4096,4096]     (16777216) (grad)
roi_fmap_obj.3.weight                             : [4096,4096]     (16777216) (grad)
detector.bbox_fc.weight                           : [604,4096]      ( 2473984) (    )
detector.features.19.weight                       : [512,512,3,3]   ( 2359296) (    )
detector.features.21.weight                       : [512,512,3,3]   ( 2359296) (    )
detector.features.24.weight                       : [512,512,3,3]   ( 2359296) (    )
detector.features.26.weight                       : [512,512,3,3]   ( 2359296) (    )
detector.features.28.weight                       : [512,512,3,3]   ( 2359296) (    )
detector.rpn_head.conv.0.weight                   : [512,512,3,3]   ( 2359296) (    )
post_lstm.weight                                  : [8192,256]      ( 2097152) (grad)
post_emb.weight                                   : [151,8192]      ( 1236992) (grad)
detector.features.17.weight                       : [512,256,3,3]   ( 1179648) (    )
union_boxes.conv.4.weight                         : [512,256,3,3]   ( 1179648) (grad)
freq_bias.obj_baseline.weight                     : [22801,51]      ( 1162851) (grad)
context.decoder_lin.weight                        : [151,4424]      (  668024) (grad)
detector.score_fc.weight                          : [151,4096]      (  618496) (    )
detector.features.12.weight                       : [256,256,3,3]   (  589824) (    )
detector.features.14.weight                       : [256,256,3,3]   (  589824) (    )
detector.features.10.weight                       : [256,128,3,3]   (  294912) (    )
rel_compress.weight                               : [51,4096]       (  208896) (grad)
detector.features.7.weight                        : [128,128,3,3]   (  147456) (    )
detector.features.5.weight                        : [128,64,3,3]    (   73728) (    )
detector.rpn_head.conv.2.weight                   : [120,512,1,1]   (   61440) (    )
detector.features.2.weight                        : [64,64,3,3]     (   36864) (    )
context.obj_embed.weight                          : [151,200]       (   30200) (grad)
context.obj_embed2.weight                         : [151,200]       (   30200) (grad)
union_boxes.conv.0.weight                         : [256,2,7,7]     (   25088) (grad)
detector.features.0.weight                        : [64,3,3,3]      (    1728) (    )
context.pos_embed.1.weight                        : [128,4]         (     512) (grad)
union_boxes.conv.6.weight                         : [512]           (     512) (grad)
union_boxes.conv.2.weight                         : [256]           (     256) (grad)
context.pos_embed.0.weight                        : [4]             (       4) (grad)
Unexpected key detector.features.0.weight in state_dict with size torch.Size([64, 3, 3, 3])
Unexpected key detector.features.0.bias in state_dict with size torch.Size([64])
Unexpected key detector.features.2.weight in state_dict with size torch.Size([64, 64, 3, 3])
Unexpected key detector.features.2.bias in state_dict with size torch.Size([64])
Unexpected key detector.features.5.weight in state_dict with size torch.Size([128, 64, 3, 3])
Unexpected key detector.features.5.bias in state_dict with size torch.Size([128])
Unexpected key detector.features.7.weight in state_dict with size torch.Size([128, 128, 3, 3])
Unexpected key detector.features.7.bias in state_dict with size torch.Size([128])
Unexpected key detector.features.10.weight in state_dict with size torch.Size([256, 128, 3, 3])
Unexpected key detector.features.10.bias in state_dict with size torch.Size([256])
Unexpected key detector.features.12.weight in state_dict with size torch.Size([256, 256, 3, 3])
Unexpected key detector.features.12.bias in state_dict with size torch.Size([256])
Unexpected key detector.features.14.weight in state_dict with size torch.Size([256, 256, 3, 3])
Unexpected key detector.features.14.bias in state_dict with size torch.Size([256])
Unexpected key detector.features.17.weight in state_dict with size torch.Size([512, 256, 3, 3])
Unexpected key detector.features.17.bias in state_dict with size torch.Size([512])
Unexpected key detector.features.19.weight in state_dict with size torch.Size([512, 512, 3, 3])
Unexpected key detector.features.19.bias in state_dict with size torch.Size([512])
Unexpected key detector.features.21.weight in state_dict with size torch.Size([512, 512, 3, 3])
Unexpected key detector.features.21.bias in state_dict with size torch.Size([512])
Unexpected key detector.features.24.weight in state_dict with size torch.Size([512, 512, 3, 3])
Unexpected key detector.features.24.bias in state_dict with size torch.Size([512])
Unexpected key detector.features.26.weight in state_dict with size torch.Size([512, 512, 3, 3])
Unexpected key detector.features.26.bias in state_dict with size torch.Size([512])
Unexpected key detector.features.28.weight in state_dict with size torch.Size([512, 512, 3, 3])
Unexpected key detector.features.28.bias in state_dict with size torch.Size([512])
Unexpected key detector.roi_fmap.0.weight in state_dict with size torch.Size([4096, 25088])
Unexpected key detector.roi_fmap.0.bias in state_dict with size torch.Size([4096])
Unexpected key detector.roi_fmap.3.weight in state_dict with size torch.Size([4096, 4096])
Unexpected key detector.roi_fmap.3.bias in state_dict with size torch.Size([4096])
Unexpected key detector.score_fc.weight in state_dict with size torch.Size([151, 4096])
Unexpected key detector.score_fc.bias in state_dict with size torch.Size([151])
Unexpected key detector.bbox_fc.weight in state_dict with size torch.Size([604, 4096])
Unexpected key detector.bbox_fc.bias in state_dict with size torch.Size([604])
Unexpected key detector.rpn_head.anchors in state_dict with size torch.Size([37, 37, 20, 4])
Unexpected key detector.rpn_head.conv.0.weight in state_dict with size torch.Size([512, 512, 3, 3])
Unexpected key detector.rpn_head.conv.0.bias in state_dict with size torch.Size([512])
Unexpected key detector.rpn_head.conv.2.weight in state_dict with size torch.Size([120, 512, 1, 1])
Unexpected key detector.rpn_head.conv.2.bias in state_dict with size torch.Size([120])
Unexpected key context.obj_embed.weight in state_dict with size torch.Size([151, 200])
Unexpected key context.obj_embed2.weight in state_dict with size torch.Size([151, 200])
Unexpected key context.pos_embed.0.weight in state_dict with size torch.Size([4])
Unexpected key context.pos_embed.0.bias in state_dict with size torch.Size([4])
Unexpected key context.pos_embed.0.running_mean in state_dict with size torch.Size([4])
Unexpected key context.pos_embed.0.running_var in state_dict with size torch.Size([4])
Unexpected key context.pos_embed.1.weight in state_dict with size torch.Size([128, 4])
Unexpected key context.pos_embed.1.bias in state_dict with size torch.Size([128])
Unexpected key context.obj_ctx_rnn.weight in state_dict with size torch.Size([17784832])
Unexpected key context.obj_ctx_rnn.bias in state_dict with size torch.Size([5120])
Unexpected key context.decoder_rnn.obj_embed.weight in state_dict with size torch.Size([152, 100])
Unexpected key context.decoder_rnn.input_linearity.weight in state_dict with size torch.Size([3072, 612])
Unexpected key context.decoder_rnn.input_linearity.bias in state_dict with size torch.Size([3072])
Unexpected key context.decoder_rnn.state_linearity.weight in state_dict with size torch.Size([2560, 512])
Unexpected key context.decoder_rnn.state_linearity.bias in state_dict with size torch.Size([2560])
Unexpected key context.decoder_rnn.out.weight in state_dict with size torch.Size([151, 512])
Unexpected key context.decoder_rnn.out.bias in state_dict with size torch.Size([151])
Unexpected key context.edge_ctx_rnn.weight in state_dict with size torch.Size([12148736])
Unexpected key context.edge_ctx_rnn.bias in state_dict with size torch.Size([10240])
Unexpected key union_boxes.conv.0.weight in state_dict with size torch.Size([256, 2, 7, 7])
Unexpected key union_boxes.conv.0.bias in state_dict with size torch.Size([256])
Unexpected key union_boxes.conv.2.weight in state_dict with size torch.Size([256])
Unexpected key union_boxes.conv.2.bias in state_dict with size torch.Size([256])
Unexpected key union_boxes.conv.2.running_mean in state_dict with size torch.Size([256])
Unexpected key union_boxes.conv.2.running_var in state_dict with size torch.Size([256])
Unexpected key union_boxes.conv.4.weight in state_dict with size torch.Size([512, 256, 3, 3])
Unexpected key union_boxes.conv.4.bias in state_dict with size torch.Size([512])
Unexpected key union_boxes.conv.6.weight in state_dict with size torch.Size([512])
Unexpected key union_boxes.conv.6.bias in state_dict with size torch.Size([512])
Unexpected key union_boxes.conv.6.running_mean in state_dict with size torch.Size([512])
Unexpected key union_boxes.conv.6.running_var in state_dict with size torch.Size([512])
Unexpected key roi_fmap.1.0.weight in state_dict with size torch.Size([4096, 25088])
Unexpected key roi_fmap.1.0.bias in state_dict with size torch.Size([4096])
Unexpected key roi_fmap.1.3.weight in state_dict with size torch.Size([4096, 4096])
Unexpected key roi_fmap.1.3.bias in state_dict with size torch.Size([4096])
Unexpected key roi_fmap_obj.0.weight in state_dict with size torch.Size([4096, 25088])
Unexpected key roi_fmap_obj.0.bias in state_dict with size torch.Size([4096])
Unexpected key roi_fmap_obj.3.weight in state_dict with size torch.Size([4096, 4096])
Unexpected key roi_fmap_obj.3.bias in state_dict with size torch.Size([4096])
Unexpected key post_lstm.weight in state_dict with size torch.Size([8192, 512])
Unexpected key post_lstm.bias in state_dict with size torch.Size([8192])
Unexpected key rel_compress.weight in state_dict with size torch.Size([51, 4096])
Unexpected key rel_compress.bias in state_dict with size torch.Size([51])
Unexpected key freq_bias.obj_baseline.weight in state_dict with size torch.Size([22801, 51])
We couldn't find features.19.bias,roi_fmap.3.weight,rpn_head.conv.2.weight,features.10.bias,features.17.bias,roi_fmap.3.bias,score_fc.bias,roi_fmap.0.bias,features.21.bias,features.24.weight,features.12.bias,features.26.bias,features.21.weight,features.10.weight,features.28.bias,features.7.bias,rpn_head.conv.2.bias,features.17.weight,features.12.weight,features.5.bias,rpn_head.anchors,rpn_head.conv.0.bias,bbox_fc.bias,features.14.weight,bbox_fc.weight,features.14.bias,features.19.weight,features.0.weight,features.7.weight,features.24.bias,score_fc.weight,features.5.weight,features.26.weight,features.28.weight,features.2.bias,roi_fmap.0.weight,rpn_head.conv.0.weight,features.0.bias,features.2.weight
Traceback (most recent call last):
  File "/media/nopanic/DATA/AnExperiment/NeuralMotifs/neural-motifs-master/models/train_rels.py", line 87, in <module>
    detector.roi_fmap[1][0].weight.data.copy_(ckpt['state_dict']['roi_fmap.0.weight'])
KeyError: 'roi_fmap.0.weight'

I think the problem is that you have a checkpoint for the sgcls model that you're treating like a detector checkpoint. If you download the provided detector checkpoint that should work!

@rowanz
Hello!
I have the same problem, I downloaded the vgrel-motifnet-sgcls.tar file provided by the author on GitHub and stored it under checkpoints/vgdet/。


Refactor Sync Functionality into a Standalone Command

This PR restructures how the bot handles syncing slash commands with discord. Previously, the sync operation was automatically triggered within the on_ready event, which could lead to unintended behavior and limited control over when and how synchronization occurred.
Command Implementation: The sync function has been encapsulated into a new command, !sync. This command can be invoked by users with appropriate permissions.
Testing: Verify that the !sync command responds as expected.
Updated the README and command documentation to include information about the new !sync command, including usage examples and permission requirements.

@KOOKIIEStudios Is this okay to merged in?

@KOOKIIEStudios Is this okay to merged in?

I think we decided to keep the sync on start, just cause we want the project to be as PnP as possible. Especially for people who are setting up the bot with little technical experience. TLDR; we are trying to avoid adding anymore steps to the initial set up. We think the risk of them rate-limiting themselves is low.

@KOOKIIEStudios Is this okay to merged in?

I think we decided to keep the sync on start, just cause we want the project to be as PnP as possible. Especially for people who are setting up the bot with little technical experience. TLDR; we are trying to avoid adding anymore steps to the initial set up. We think the risk of them rate-limiting themselves is low.

Fair enough!


Update dependencies

Can't use Vue 2.1.8 with your plugin, message is:
Vue packages version mismatch:

<EMAIL_ADDRESS><EMAIL_ADDRESS>

This PR would force everyone to use the latest Vue version. ^2.1.3 means that this plugin works with every Vue version above 2.1.3.
You can resolve the mismatch by setting a fixed version in your package.json. For example:
"vue": "2.1.8",
"vue-template-compiler": "2.1.8",

Node.js should then use the specified version for this plugin.

@thgh Any chance for a new version publishing?

Alright, it's done!


[CP] Front end: move anonymous mixin sealed/final inference to checkSupertypes phase.

Commit(s) to merge
96a346fc5e7bf77203814a4801ff57985e66b69e
Target
Beta
Prepared changelist for beta/stable
https://dart-review.googlesource.com/c/sdk/+/298200
Issue Description
The front end's handling of sealed classes involving mixins is dependent upon declaration order in the file. If a concrete class extends a sealed class with a mixin, and the concrete class appears before the sealed class in the library, then the front end's internal anonymous mixin application class will not be properly marked as sealed. Consequently, any switches involving the sealed class will be flagged as non-exhaustive, and the error message will claim that the switch must handle the anonymous mixin class. Although the error can in theory be worked around by including a default/wildcard case, the workaround is not obvious, since the error message specifically encourages the user to handle the anonymous mixin class directly (which is impossible because anonymous mixins can't be directly referenced).
See https://github.com/dart-lang/sdk/issues/52048 for a concrete example.
What is the fix
The logic for inferring sealedness and finality of anonymous mixin application classes was moved from the buildOutlineNodes phase of the front end (which processes classes in source order) to the checkSupertypes phase (which processes classes in class hierarchy order, visiting superclasses before subclasses). This ensures that the sealedness and finality of anonymous mixin application classes will be set correctly regardless of source order.
Why cherry-pick
Since the code change only affects the sealed-ness and finality of anonymous mixin applications, it is low risk. (It will only have an effect on code that uses both mixins and the "sealed class" feature). Without this fix, there is a danger of user confusion, since reordering classes within a file is not expected to have any effect. For example, a user might find that the code runs fine until they are ready to send it for code review, whereupon they invoke their IDE's "sort members in file" functionality, triggering the bug.
Risk
low
Issue link(s)
https://github.com/dart-lang/sdk/issues/52048
Extra Info
No response

cc: @johnniwinther

LGTM

LGTM

Closing since the cherry-pick landed

@stereotype441 I am going to keep this cherry-pick request open to ensure it is tracked all the way to landing in the release.  Once it is added to a release, I will close it.

@stereotype441 I am going to keep this cherry-pick request open to ensure it is tracked all the way to landing in the release. Once it is added to a release, I will close it.

@stereotype441 called out that the instructions in https://github.com/dart-lang/sdk/wiki/Cherry-picks-to-a-release-channel were misleading.  Edited with the help of @stereotype441.


Bundling error

I am getting a bundling error, can someone please shed some light on what is causing this
Loading dependency graph, done.
Bundling index.js  [development, non-minified]  0.0% (0/1), failed.
error: bundling failed: ambiguous resolution: module /Users/gouthamgandhi/Desktop/Riku/index.js tries to require react-native, but there are several files providing this module. You can delete or fix them:

/Users/gouthamgandhi/Desktop/Riku/node_modules/react-native-drawer-layout-polyfill/node_modules/react-native/package.json
/Users/gouthamgandhi/Desktop/Riku/node_modules/react-native-drawer-layout/node_modules/react-native/package.json
/Users/gouthamgandhi/Desktop/Riku/node_modules/react-native-progress-bar/node_modules/react-native/package.json
/Users/gouthamgandhi/Desktop/Riku/node_modules/react-native-svg/node_modules/react-native/package.json
/Users/gouthamgandhi/Desktop/Riku/node_modules/react-native-tab-view/node_modules/react-native/package.json
/Users/gouthamgandhi/Desktop/Riku/node_modules/react-native-ui-kitten/node_modules/react-native/package.json
/Users/gouthamgandhi/Desktop/Riku/node_modules/react-native/package.json
/Users/gouthamgandhi/Desktop/Riku/node_modules/react-navigation/node_modules/react-native/package.json
/Users/gouthamgandhi/Desktop/Riku/node_modules/victory-native/node_modules/react-native/package.json

I get the same thing when I upgrade RN to 48.4


update doc

below
Create LUIS apps in the examples
you should update

Once completed, Train and Publish both your LUIS weather app and your LUIS dispatch app (for LUIS weather app ) by repeating the above steps for 'Weather.json' file.

this can be confusing for new people

We can slightly tweak the instructions. Thanks for reporting.


Update dependencies and use k8 1.27

Updated go modules and updated k8 version to 1.27

OpenShift is now using 1.28 dependencies, can this be updated to match?

Our intention is to update the other providers in the next sprint

/lgtm


The Mix manifest does not exist

Right after I updated my settings, I cannot see my Nova admin panel anymore.
Getting this exception
The Mix manifest does not exist. (View: /Users/rudy/Sites/####/vendor/cendekia/nova-setting-tool/resources/views/nova/layout.blade.php) (View: /Users/rudy/Sites/####/vendor/cendekia/nova-setting-tool/resources/views/nova/layout.blade.php)

It's weird, I've no problem with that, I already try with new laravel nova project but the issue that you mentioned it does not appear

I have the same problem as @lesaff

I've found this, maybe it will help
The Mix manifest does not exist #1352


[component] banner: vertical margin in pills

Allows the pills to wrap with some vertical margin.
before:

after:

I did this change in the source as well now @mrmrs, didn't check Slack until now.


ID import on keyed fields

Description
Current keyed fields will not allow id imports.  For performance reasons and the addition of the key-id enpoint , we should allow id imports into keyed fields given the assumption that the user is responsible pre-allocating the ids.
Success criteria (What criteria will consider this ticket closeable?)
import endpoint should work with ids into keyed fields

Java client implementation: https://github.com/pilosa/java-pilosa/pull/140


Add doc_only attribute to confs and csr_groups; Add input validation for port suffix; Add missing suffixes in lib modules.

Add support for doc_only attribute in core's confs and csr_groups (same as PR https://github.com/IObundle/py2hwsw/pull/80).
Add input validation to ensure ports have a direction suffix, and add missing suffixes to ports of lib modules.
Resolves #70.
Improve py2hwsw error messages. Update py2hwsw version to 0.8.
Add testbench filter in test.sh for debug.

Converted to draft while iob-soc tests fail.
See PR https://github.com/IObundle/py2hwsw/pull/80 for a quickfix related to the doc_only attribute.