Uncaught TypeError: plugin.apply is not a function When Running Karma unit test

Hello,
I've installed the plugin with npm and imported it in my router
Code:
import Vue from 'vue'
import Router from 'vue-router'
import Meta from 'vue-meta'
Vue.use(Router)
Vue.use(Meta)

after this, Karma unit test throw error
Error:
17 11 2016 16:17:25.621:INFO [karma]: Karma v1.3.0 server started at http://localhost:9876/
17 11 2016 16:17:25.625:INFO [launcher]: Launching browser Chrome with unlimited concurrency
17 11 2016 16:17:25.632:INFO [launcher]: Starting browser Chrome
17 11 2016 16:17:26.819:INFO [Chrome 54.0.2840 (Mac OS X 10.12.1)]: Connected on socket /#Dan5pkY-wXijHOQSAAAA with id 65822028
Chrome 54.0.2840 (Mac OS X 10.12.1) ERROR
  Uncaught TypeError: plugin.apply is not a function
  at index.js:3310

Chrome 54.0.2840 (Mac OS X 10.12.1): Executed 0 of 0 ERROR (0.539 secs / 0 secs)

Any idea?
Thank's :)

Hi @achen224 - thanks for the report.
I've tried reproducing your issue but it works for me. Could you perhaps provide more info?

I use it base on vue 2.0.5，and has the same error.Uncaught TypeError: plugin.apply is not a function(…) vue.common.js:3219

@lijiakof are you passing any options to vue-meta? can I see some code that depicts how you're using vue-meta? would be a big help 👷

@declandewet @lijiakof I had the same error with nuxt.js when using vue-meta, it's because of jsnext, it was fixed by importing vue-meta this way:
import Meta from 'vue-meta/lib/vue-meta.js' // require the ES2015 lib

I believe it is because on the jsnext import (trough Webpack), Vue does not check the module.default here: https://github.com/vuejs/vue/blob/dev/dist/vue.common.js#L3220

Thanks @Atinux - I will look into a fix for this shortly

Hey @declandewet  thx for reply.
my project base on vue2+vue-router+vuex with SSR bundle by webpack 2.0
i find some intristing...and everything ok... but maybe it's not good
below is my change
before :
App.js
import Vue from 'vue'
import App from '../component/App.vue'
import router from '../router'
import store from '../store'
import { sync } from 'vuex-router-sync'
import * as filter from '../filter'
Object.keys(filter).forEach(key => {
  Vue.filter(key, filter[key])
})
const app = new Vue({
  router,
  store,
  ...App
})
sync(store, router)
export { app, router, store }

/router/index.js
import Vue from 'vue'
import Router from 'vue-router'
import Meta from 'vue-meta'
Vue.use(Router)
Vue.use(Meta)
export default new Router({
  mode: 'history',
  /* istanbul ignore next */
  scrollBehavior: () => ({ y: 0 }),
  routes: [
    { path: '/', component: Index },
    { path: '*', redirect: '/' }
  ]
})

after:
App.js
import Vue from 'vue'
import Meta from 'vue-meta'
Vue.use(Meta)
.
.
.

/router/index.js
import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
.
.
.

Definitely a module resolution problem then - I'll investigate how the ES2015 build (https://github.com/declandewet/vue-meta/blob/7da1a5a72a75926eb431d5cebea30cdad6a715d9/package.json#L60) is compiled
thanks @achen224

For now, you can use this workaround:
import Meta from 'vue-meta/lib/vue-meta.js' // require the ES2015 lib

thanks @declandewet @Atinux
import Meta from 'vue-meta/lib/vue-meta.js' // require the ES2015 lib

is better solution for now


ignition/examples: Tweaks to language and format.

Unwrap lines. Inline links. ATX headers. Typos fixed. Polish a little language. Ref #633

-1

@crawford On the unwrap?

Yeah. Everything else looks good.

Gotcha. I think the churn wrapping causes in prose is just too troublesome. So we're going to have long markdown lines if it's my call.
I do however understand where you're coming from. In the spirit of gofmt, I think we can all benefit from picking a format even tho that format may not entirely please any one individual.
I humbly submit that its pretty easy to read these in a terminal with fmt.

Died a little inside. Thanks for not going full-retard and doing one sentence per line.

I couldn't find my special hat for that.


High RAM and CPU usage

VSCode Version:
Version: 1.40.0 (user setup)
Commit: 86405ea23e3937316009fc27c9361deee66ffbf5
Date: 2019-11-06T17:02:13.381Z
Electron: 6.1.2
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0

OS Version:
OS: Windows_NT x64 10.0.18362
8gig RAM
Intel Core i5

Steps to Reproduce:
Every time i start coding, in just seconds my CPU usage hits the 90% mark and my RAM 1.7gig even though i have one project/tab open, when i check my task manager visual studio code is the culprit as this causes the application to be less responsive and very slow, seconds after i have stopped coding my CPU  goes back to normal and the RAM that one open project/tab uses also goes back to about 600mb. The problem started after the VERSION 1.39 and i thought it was a bug VS team would fix but in version 1.40 the problem seems to persist

Does this issue occur when all extensions are disabled?: Yes
Except for Node Debug which does not want to disable as it gives me the following message

Cannot disable extension 'Node Debug'. Extension 'Node Debug (legacy)' depends on this.

Does this issue occur when all extensions are disabled?: Yes
Except for Node Debug which does not want to disable as it gives me the following message

You can try this with F1 and >Developer: Reload Window With Extensions Disabled which should reload VS Code window disable all extensions at once

Please provide more info per https://github.com/microsoft/vscode/wiki/Performance-Issues

I'm affected by the same issue. I'm not sure about the RAM part, since I wasn't tracking how much RAM the process needed before, but since 1.39 my CPU fan has been constantly on high speed when I code. I've tried using it in a session with ">Developer: Reload Window With Extensions Disabled" and the problem persists. Task monitoring shows process "code" as the highest consumer of CPU time.
I've also downgraded to TypeScript 3.6 to see if 3.7 was part of the problem but still CPU stayed high, so it appears the issue is isolated to vscode.
It only uses CPU cycles while actually coding though. Keeping a vscode window open in the background does not seem to drag CPU time.
OS: Linux 5.3.0-22 Ubuntu 19.10 eoan
Thanks!

I have this issue as well and have had for quite a while. In my case it seems to accumulate. So a freshly started instance of VSCode feels pretty snappy (relatively but see below for CPU utilization) but after a while typing, scrolling and moving the cursor is extremely laggy and sometimes stop being interactive at all for a couple of seconds. top then says the laggy instance of VSCode uses >125%CPU.
Doing the ">Developer: Reload Window With Extensions Disabled" improves it slightly (at least at first, but then again just a reload would probably do that) but scrolling through a C++ file still takes >65% CPU which feels a bit over the top on an Intel i7.
With the cpptools extension enabled scrolling through a C++ file consumes >95% CPU in the "fresh" state and >125% in the "laggy" state.
The C++ file used is about 700 lines of code so nothing extreme.
Main coding language: C++
Extensions: cpptools
OS: Linux 5.0.0-32 Ubuntu 18.04.2
CPU: Intel i7-8850H

I believe this is due to a bug in tsserver.js that has been introduced since 1.40.x.  I've given more information in #85777.
Essentially it's not abiding by the memory limit and after a while something goes wrong and it rapidly using up 100% RAM and 100% of a CPU core.  When this happens VSCode will feel "slow", "sluggish" and intellisense will either stop working or be very slow.
Everything appears to work fine in VSCode 1.39.2.

@diamondhat since this is happening with a C++ project, please report the issue against the C++ extension.

Closing - the original issue doesn't provide sufficient information to act on the performance problems.
The follow-up performance comments are appreciated, but they should be filed as separate issues following the https://github.com/microsoft/vscode/wiki/Performance-Issues guidelines.


Added dtype to np.ones that was causing a TypeError in Numpy

As with the newer versions of Numpy, an error occurred at line 194 when trying to subtract a matrix of floats to a matrix of int and the assigning it to the latter (like in floats -= ints).
To avoid the error I set dtype=int whenever you create a matrix of ones using np.ones. Now the problem should be fixed ;)
With the occasion: thanks for this implementation!

great!


Extend Awake to lock windows

Description of the new feature / enhancement
Extend Awake to lock windows after some time, when it's turned on.
Scenario when this would be used?
When awake is used.
Supporting information
No response

@LevelUpGit can you elaborate on the scenario here and why this would be useful, please?

Closing the issue as there are no details on this request.


what is the Pod String for download Library in Swift 3?

@Rashesh-Bosamiya, You can use this -
pod 'CFAlertViewController', '2.1'


How to use it?

i run httplab on macos iterm2 and it run the httplab interface like the GIF in readme. But when i do a httplab example.com to actually send a request to httplab, i have the error "listen tcp :10080: bind: address already in use". I try to do like the GIF.

httplab can't send request, you should start httplab and then you can use curl to send a request.
The error "listen tcp :10080: bind: address already in use" might be due to a httplab instance already running.

Okay so in terminal 1 i run "httplab google.com"
and httplab open with Body(Input) Hello, World.
In terminal 2, i do a curl google.com, so in theory httplab should intercept the request but instead nothing show up in httplab
Am i missing something ?

HTTPlab does not act as a proxy, it's meant to work as a server itself.
So you open it and you point your request to local host:10080

Okay i see. What's the purpose of it ? In what context HTTPlab is useful to be used ?

Let's say you are developing an HTTP client, and you want to debug it because you don't understand what it is doing, well you start httplab and point your client to it, from there you'll be able to inspect the requests and also craft some responses to trigger some behavior

Ah okay make sense now. Like postman but in the terminal.


你好，我遇到了问题，请协助解决，谢谢！

你好，我的kong版本是v0.14.1
我最开始使用
curl -i -X POST http://localhost:8001/certificates -F<EMAIL_ADDRESS>-F<EMAIL_ADDRESS>-F "snis=learning.jinlejia.com"
创建certfictes失败，报错信息如下：
[root@ecs-2ef9-0004 ~]# curl -i -X POST http://localhost:8001/certificates -F<EMAIL_ADDRESS>-F<EMAIL_ADDRESS>-F "snis=learning.jinlejia.com"
HTTP/1.1 100 Continue
HTTP/1.1 400 Bad Request
Date: Mon, 15 Jul 2019 09:34:09 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: kong/0.14.1
Content-Length: 225
{"strategy":"postgres","message":"2 schema violations (cert: required field missing; key: required field missing)","name":"schema violation","fields":{"cert":"required field missing","key":"required field missing"},"code":2}
[root@ecs-2ef9-0004 ~]#
于是我用Kong Dashboard创建了certificates ，
`[root@ecs-2ef9-0004 ~]# curl  -i -X GET http://localhost:8001/certificates
HTTP/1.1 200 OK
Date: Mon, 15 Jul 2019 09:34:55 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: kong/0.14.1
Content-Length: 5546
{"next":null,"data":[{"created_at":1563152496,"cert":"-----BEGIN CERTIFICATE----- --------","snis":["learning.jinlejia.com"]}]}`
创建了service
`[root@ecs-2ef9-0004 ~]# curl  -i -X GET http://localhost:8001/services
HTTP/1.1 200 OK
Date: Mon, 15 Jul 2019 09:36:13 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: kong/0.14.1
Content-Length: 276
{"next":null,"data":[{"host":"<IP_ADDRESS>","created_at":1563152621,"connect_timeout":60000,"id":"a15694d1-7267-4032-aa29-554c7f920b52","protocol":"http","name":"xinsir","read_timeout":60000,"port":80,"path":"/","updated_at":1563152621,"retries":5,"write_timeout":60000}]}`
创建了routes
`[root@ecs-2ef9-0004 ~]# curl  -i -X GET http://localhost:8001/routes
HTTP/1.1 200 OK
Date: Mon, 15 Jul 2019 09:36:46 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: kong/0.14.1
Content-Length: 325
{"next":null,"data":[{"created_at":1563152635,"strip_path":true,"hosts":["learning.jinlejia.com"],"preserve_host":false,"regex_priority":0,"updated_at":1563152635,"paths":["/"],"service":{"id":"a15694d1-7267-4032-aa29-554c7f920b52"},"methods":null,"protocols":["http","https"],"id":"7348b91d-072f-4845-90fa-9e770b659685"}]}`
最后通过https://learning.jinlejia.com:8443  访问kong，给到报错信息是 证书不是有效证书

Hi, when using curl, -F parameter makes curl sends a mutlipart/form-data request, while Kong's certificates API only accepts application/x-www-form-urlencoded and application/json. That's the reason of Kong returns HTTP 100 first then a missing key error. To correctly send the request using curl, simply change -F to -d.
您好，在使用curl时，-F参数表示上传文件，在实现时curl发送的是multipart/form-data。Kong的certificates API目前只接受表单application/x-www-form-urlencoded或JSON (application/json)类型的请求。所以Kong会先返回HTTP 100，然后返回missing key的错误。要使用curl正确发送请求，可以把-F改成-d。
curl -i -X POST http://localhost:8001/certificates -d<EMAIL_ADDRESS>-d<EMAIL_ADDRESS>-d "snis=learning.jinlejia.com"
The message of "invalid certificate" is not very helpful. Could you verify the following for me please: when requesting https://learning.jinlejia.com:8443, does it return the certificate you configured in Kong through admin API?
证书不是有效证书这个错误不是很明确，需要确认一下Kong返回的是默认证书还是你配置的证书，请使用以下命令：
echo q|openssl s_client -connect learning.jinlejia.com  -port 8443 -servername learning.jinlejia.com|openssl x509 -noout

ONE
您好，感谢您的及时回复， 我使用-d的方式可以创建certificates，But，certificates中没有吧snis正确传进去，
`[root@localhost]# curl -i -X POST http://localhost:8001/certificates -d<EMAIL_ADDRESS>-d<EMAIL_ADDRESS>-d "snis=apifeedback.jinlejia.com"
HTTP/1.1 201 Created
Date: Tue, 16 Jul 2019 06:13:26 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: kong/0.14.1
Content-Length: 141
{"created_at":1563228806,"cert":"@/opt/def/cert.pem","id":"a97ed9f3-e67d-4f2f-9d25-706256b1a267","key":"@/opt/def/cert.key","snis":[]}`
我使用Kong Dashboard修改了snis，
然后edit client hosts file，add one item，<IP_ADDRESS> apifeedback.jinlejia.com
访问https://apifeedback.jinlejia.com:8443 依旧显示不安全，证书走的是默认证书 localhost的证书
TWO
按照您说的执行那个命令，结果如下。
`[root@ecs]# cat /etc/hosts
::1     localhost       localhost.localdomain   localhost6      localhost6.localdomain6
<IP_ADDRESS>       localhost       localhost.localdomain   localhost4      localhost4.localdomain4
<IP_ADDRESS> apifeedback.jinlejia.com
[root@localhost]#
[root@localhost]#
[root@localhost]# ping apifeedback.jinlejia.com
PING apifeedback.jinlejia.com (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from mqnameserver1 (<IP_ADDRESS>): icmp_seq=1 ttl=64 time=0.019 ms
^C
--- apifeedback.jinlejia.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 798ms
rtt min/avg/max/mdev = 0.019/0.019/0.019/0.000 ms
[root@localhost]# echo q|openssl s_client -connect apifeedback.jinlejia.com:8443 -servername apifeedback.jinlejia.com |openssl x509 -noout
depth=0 C = US, ST = California, L = San Francisco, O = Kong, OU = IT Department, CN = localhost
verify error:num=18:self signed certificate
verify return:1
depth=0 C = US, ST = California, L = San Francisco, O = Kong, OU = IT Department, CN = localhost
verify error:num=10:certificate has expired
notAfter=Jul  7 14:56:05 2019 GMT
verify return:1
depth=0 C = US, ST = California, L = San Francisco, O = Kong, OU = IT Department, CN = localhost
notAfter=Jul  7 14:56:05 2019 GMT
verify return:1
DONE
[root@localhost]# `
THREE
我发现无论是通过Kong Dashboard还是通过curl进行创建的Certificates的创建时间和我本地时间整整相差8个小时。不知道会不会有关系
`[root@ecs-2ef9-0004 def]#  curl -i -X GET http://localhost:8001/certificates
HTTP/1.1 200 OK
Date: Tue, 16 Jul 2019 06:29:53 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: kong/0.14.1
Content-Length: 190
{"next":null,"data":[{"created_at":1563228806,"cert":"@/opt/def/cert.pem","id":"a97ed9f3-e67d-4f2f-9d25-706256b1a267","key":"@/opt/def/cert.key","snis":["apifeedback.jinlejia.com"]}]}
`
时间戳1563228806 = 北京时间 2019/7/16 6:13:26
而现在的北京时间是
[root@localhost]# date
Tue Jul 16 14:30:48 CST 2019
Thank you very much for your help, please help!
bow down

Hello, I found the problem, I used v0.14.1 version before, after asking other colleagues, I reinstalled v0.13.0 is able to configure multiple ssl.
However, I encountered a problem, that is, in the process of downgrading, after I was v0.14.1-->v0.13.0, I did not regenerate the psql database template in the process, but directly restarted kong. After startup, it is found that the Certificates function cannot be used. The access report is as follows:
`[root@localhost  learning]# curl -i -X POST http://localhost:8001/certificates \

-F<EMAIL_ADDRESS>-F<EMAIL_ADDRESS>-F "snis=learning.jinlejia.com"
HTTP/1.1 100 Continue

HTTP/1.1 500 Internal Server Error
Date: Tue, 16 Jul 2019 13:40:27 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: kong/0.13.0
{"message":"An unexpected error occurred"}
[root@localhost  learning]# curl -i -X GET http://localhost:8001/certificates
HTTP/1.1 500 Internal Server Error
Date: Tue, 16 Jul 2019 13:51:36 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: kong/0.13.0
{"message":"An unexpected error occurred"}
[root@localhost learning]`
Does the database template between the two versions change? How can I adjust the database to use the Certificates function?

Hi, starting from 0.14, snis parameter of /certificates API requires an array notation. So you will be using snis[]=learning.jinlejia.com instead.
There's currently no support for migration down in Kong. Since you are migrating between versions that expect db schema change, it would be only possible to restore from a db backup of 0.13.1 before migration.

Hello, can you help me with the wrong time to create the time?

Could verify the following for me please:

The output of ls -l /etc/localtime, if it exists
The environment variable of Kong, you can get that by getting the worker process of nginx that Kong starts, and by executing sudo cat /proc/<pid>/environ | xargs --null --max-args=1
The environment variable of psql server, you can use the same command as above
The psql server config, if it's been changed from default

Hello, I didn't understand what you mean.
I use ls -l /etc/localtime to see if I have this file.
Then use sudo cat /proc//environ | xargs --null --max-args=1 to display the following information.

I want to know how to properly use Certificates and work with multiple routes?

I will show you
`
[root@localhost ~]# date
2019年 07月 18日 星期四 11:29:40 CST
[root@localhost ~]#  psql -U pgdbuser -d kong
用户 pgdbuser 的口令：
psql (9.5.18)
输入 "help" 来获取帮助信息.

kong=# \d
关联列表
架构模式 |             名称              |  类型  |  拥有者
----------+-------------------------------+--------+----------
public   | acls                          | 数据表 | pgdbuser
public   | apis                          | 数据表 | pgdbuser
public   | basicauth_credentials         | 数据表 | pgdbuser
public   | certificates                  | 数据表 | pgdbuser
public   | cluster_events                | 数据表 | pgdbuser
public   | consumers                     | 数据表 | pgdbuser
public   | hmacauth_credentials          | 数据表 | pgdbuser
public   | jwt_secrets                   | 数据表 | pgdbuser
public   | keyauth_credentials           | 数据表 | pgdbuser
public   | oauth2_authorization_codes    | 数据表 | pgdbuser
public   | oauth2_credentials            | 数据表 | pgdbuser
public   | oauth2_tokens                 | 数据表 | pgdbuser
public   | plugins                       | 数据表 | pgdbuser
public   | ratelimiting_metrics          | 数据表 | pgdbuser
public   | response_ratelimiting_metrics | 数据表 | pgdbuser
public   | routes                        | 数据表 | pgdbuser
public   | schema_migrations             | 数据表 | pgdbuser
public   | services                      | 数据表 | pgdbuser
public   | snis                          | 数据表 | pgdbuser
public   | targets                       | 数据表 | pgdbuser
public   | ttls                          | 数据表 | pgdbuser
public   | upstreams                     | 数据表 | pgdbuser
(22 行记录)
kong=# select * from certificates;
id | cert | key | created_at
----+------+-----+------------
(0 行记录)
kong=# \q
[root@localhost ~]# curl -i -X POST http://localhost:8001/certificates \

-d<EMAIL_ADDRESS>-d<EMAIL_ADDRESS>-d "snis[]=apifeedback.jinlejia.com"
HTTP/1.1 201 Created
Date: Thu, 18 Jul 2019 03:30:28 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: kong/0.14.1
Content-Length: 167

{"created_at":1563391828,"cert":"@/opt/def/cert.pem","id":"523859bd-941e-4971-9586-3aaaf96be607","key":"@/opt/def/cert.key","snis":["apifeedback.jinlejia.com"]}
[root@localhost ~]#  psql -U pgdbuser -d kong
用户 pgdbuser 的口令：
psql (9.5.18)
输入 "help" 来获取帮助信息.
kong=# \d
关联列表
架构模式 |             名称              |  类型  |  拥有者
----------+-------------------------------+--------+----------
public   | acls                          | 数据表 | pgdbuser
public   | apis                          | 数据表 | pgdbuser
public   | basicauth_credentials         | 数据表 | pgdbuser
public   | certificates                  | 数据表 | pgdbuser
public   | cluster_events                | 数据表 | pgdbuser
public   | consumers                     | 数据表 | pgdbuser
public   | hmacauth_credentials          | 数据表 | pgdbuser
public   | jwt_secrets                   | 数据表 | pgdbuser
public   | keyauth_credentials           | 数据表 | pgdbuser
public   | oauth2_authorization_codes    | 数据表 | pgdbuser
public   | oauth2_credentials            | 数据表 | pgdbuser
public   | oauth2_tokens                 | 数据表 | pgdbuser
public   | plugins                       | 数据表 | pgdbuser
public   | ratelimiting_metrics          | 数据表 | pgdbuser
public   | response_ratelimiting_metrics | 数据表 | pgdbuser
public   | routes                        | 数据表 | pgdbuser
public   | schema_migrations             | 数据表 | pgdbuser
public   | services                      | 数据表 | pgdbuser
public   | snis                          | 数据表 | pgdbuser
public   | targets                       | 数据表 | pgdbuser
public   | ttls                          | 数据表 | pgdbuser
public   | upstreams                     | 数据表 | pgdbuser
(22 行记录)
kong=# select * from certificates;
id                  |        cert        |        key         |       created_at
--------------------------------------+--------------------+--------------------+------------------------
523859bd-941e-4971-9586-3aaaf96be607 | @/opt/def/cert.pem | @/opt/def/cert.key | 2019-07-18 03:30:28+08
(1 行记录)
kong=# select * from snis;
name           |            certificate_id            |       created_at       |                  id
--------------------------+--------------------------------------+------------------------+--------------------------------------
apifeedback.jinlejia.com | 523859bd-941e-4971-9586-3aaaf96be607 | 2019-07-18 03:30:28+08 | c4fdcc5e-a595-44e6-b456-e70c059e7be2
(1 行记录)
`
Follow these steps, and then continue to create service and route, and the hosts in the route are apifeedback.jinlejia.com in the snis table, and the last access to ssl is not the certificate I specified, but the default localhost certificate used. Help
Off-topic, it is inconvenient to communicate here, is it convenient to add your facebook account?

So we are dicussing about two topics, one on certificate error, another on timestamp with incorrect timezone. Let's go through the former one first.
From the db row you posted i can see cert and key is the path to file not the content of file itself. Is that the actual data you saw in db or it's replaced upon paste?
Could you also dump the services and routes for me please?
curl -i -X GET http://localhost:8001/services
and
curl -i -X GET http://localhost:8001/routes


New dev videos page

This is a draft PR to experiment with a new page that will serve as a landing page for all of our Edge developer videos.
Rendered page for review:
https://review.docs.microsoft.com/en-us/microsoft-edge/dev-videos/index?branch=pr-en-us-1911

Docs Build status updates of commit 91b4f8d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/dev-videos/images/detached-elements.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/eye-dropper.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit c4e5db7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/dev-videos/images/detached-elements.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/eye-dropper.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit d20a352:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/dev-videos/images/detached-elements.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/eye-dropper.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/index.md
:white_check_mark:Succeeded
View

microsoft-edge/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit d75a50b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/dev-videos/images/detached-elements.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/eye-dropper.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/index.md
:white_check_mark:Succeeded
View

microsoft-edge/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit eba3868:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/dev-videos/images/detached-elements.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/eye-dropper.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/index.md
:white_check_mark:Succeeded
View

microsoft-edge/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit bc0a54a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/dev-videos/images/detached-elements.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/eye-dropper.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/index.md
:white_check_mark:Succeeded
View

microsoft-edge/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 8cd7d1a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/dev-videos/images/detached-elements.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/eye-dropper.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/index.md
:white_check_mark:Succeeded
View

microsoft-edge/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit d79a757:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/dev-videos/images/detached-elements.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/eye-dropper.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/index.md
:white_check_mark:Succeeded
View

microsoft-edge/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@vchapel thank you for the edits. I just added one more video which we published in the meantime. Could you please do a final review so we can merge this soon?

Docs Build status updates of commit d180312:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/dev-videos/images/css-custom-highlight-api.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/detached-elements.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/eye-dropper.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/index.md
:white_check_mark:Succeeded
View

microsoft-edge/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 3ad473e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/dev-videos/images/css-custom-highlight-api.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/detached-elements.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/eye-dropper.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/index.md
:white_check_mark:Succeeded
View

microsoft-edge/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit f51c3d0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/dev-videos/images/css-custom-highlight-api.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/detached-elements.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/eyedropper-api.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/index.md
:white_check_mark:Succeeded
View

microsoft-edge/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 865a0a8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/dev-videos/images/css-custom-highlight-api.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/detached-elements.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/eyedropper-api.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/index.md
:white_check_mark:Succeeded
View

microsoft-edge/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit dfb54aa:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/dev-videos/images/css-custom-highlight-api.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/detached-elements.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/images/eyedropper-api.png
:white_check_mark:Succeeded
View

microsoft-edge/dev-videos/index.md
:white_check_mark:Succeeded
View

microsoft-edge/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


[Question] How to plot the graph after running GPT eval and obtaining a JSON file?

Required prerequisites

[X] I have read the documentation https://safe-rlhf.readthedocs.io.
[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[X] Consider asking first in a Discussion.

Questions

I would like to know how to plot the graph after running GPT eval and obtaining a JSON file. Could you please provide a script to help me with this?
Thank you!
Checklist

[X] I have provided all relevant and necessary information above.
[X] I have chosen a suitable title for this issue.

I would like to know how to plot the graph after running GPT eval and obtaining a JSON file. Could you please provide a script to help me with this?

@yifan123 Sorry, the evaluate result we are currently displaying is a manually created image based on the evaluation results. We will consider providing a script for automatic image generation in future updates to make it more convenient for users to use.

Closing due to inactivity. Please feel free to ask for a reopening. 😊


add tarabukinivan as a pre-genesis validator

Hey Im tarabukinivan Id love to be added as a pre-genesis validator for this upcoming testnet :)

merge my


Add item_sequence_number in the get_items_for_bib method

https://github.com/pulibrary/marc_liberation/issues/641#issuecomment-627588883
child of #751

@mzelesky  and I looked thoroughly into the sequence issue. Alma does not store an item_sequence_number. The item API has limited sorting options. The most straightforward one appears to be sorting by library ASC. This will sort items in the same location together. All further sorting such as by item enumeration must happen downstream.


Get the path definition by name to simulate ironRouter's pathFor

I am trying to write a global helper to act like the pathFor found in Iron Router.  Basically, I want to be able to pass in the name of the route as the first argument, and a variable bunch of named and un-named parameters, pull them out, then build the params to pass into FlowRouter.path().
Here is what I have so far:
Template.registerHelper('pathFor', function(pathOrName) {
  var params;
  _.each(arguments, function(arg, idx, arguments) {
    if (idx !== 0) {
      if (arg instanceof Spacebars.kw) {
        // pull out named pairs from the hash here and push them into the params
      } else {
        // This is where I am stuck!
      }
    }
  });

  return FlowRouter.path(pathOrName, params);
});

Where I am stuck is that I need to get the URL parts from the path, namely the :xxx parts, so I can properly "name" them as I push them into the params var, but I am not sure how to do this.  Any suggestions?

Do you know this package: https://github.com/arillo/meteor-flow-router-helpers/
There is the implementation for pathFor: https://github.com/arillo/meteor-flow-router-helpers/blob/master/client/helpers.coffee

Flow Router won't have such helpers and above package do that.


Fix the lack of response messages in control-my-lights et al

A bunch of messages don't have a response.
l?on/off shows nothing(working as intended however creates confusion)
l?<> disco spams during the disco

Fixes were made through #5


chore(docs): configure doc preview for PRs

Complete the configuration for a Sphinx build.
Add the workflow for doc previews in PRs.

As with the previous two times, I don't anticipate that the docs-preview-pr workflow will run.
In terms of a check, I pushed this commit to the main branch of my fork and then opened a PR against it.  It seems OK:
https://github.com/mikemckiernan/core/pull/2


Unable to setup timesaver plugin

Issue:
I have configured time saver plugin - frontend & backend
However, on /time-saver, I am getting 404 for all the time-saver endpoint. In my Postgres, DB for this plugin is not getting created.
Ref. image

Added in template.yaml:
metadata:     substitute:       engineering:         sre: 1         security: 1         development_teams: 2

Hey,
thank you for interest in plugin.
can you confirm the migration file was executed on your backend init ?
can you see database or schema ?
What kind of error you are getting. Seems like the plugin is not available on backend.
Please tell me the output of:
Localhost:7007/api/time-saver/health

The above was fixed. Issue was with the backend plugin setup (package version mismatch).
Another issue:
In my template.yaml, I have written time-saved ie.
apiVersion: scaffolder.backstage.io/v1beta3
kind: Template
metadata:
  name: new-service-onboarding
  title: New Service Onboarding
  description: Onboards a new microservice
  substitute:
    engineering:
     develops: 1
      security: 1
      development_teams: 2

but currently its not getting ingested into the time-saver plugin (don't see any change in UI).
Questions:

is substitute necessary in the yaml?
How does the ingestion for these metrics happen? is it a push based mech. where every time some triggers a execution, it will push metrics from that template into time-saver db. or is it based on polling (if so, can I configure at what interval the pull from /create/tasks would happen)
Do the groups defined in the template yaml need to be ingested as group entities in the catalog?

Hello @Alok650,
I hope we can quickly fix this and you will be able to use time-saver.

Yes, this substitute part is necessary, then once you execute the template with its substitution values your data should be also available in time-saver. Every 5 minutes there is a scheduled job that is regenerating the stats. But you can also call it manually by HTTP

${yourIp}:{post}/api/time-saver/generateSavings , method GET
Please let me know if you notice something in logs, any error or warning regarding the time-saver ?

This is scheduled polling mechanism, you can execute it manually with instruction above.
It also runs every 5 minutes

No this doesn't have to match, there is not required dependency to catalog groups. But there is an idea to add timesaver components to Groups entity page in future releases.

Please let me know if the issue is fixed or provide more details like logs, error responses, evidences that will help me debug it. We can also jump on the call and quickly go through that and resolve the issue. This will also help me improve the manuals for time-saver.

@Alok650
hey please update versions of plugin to latest one

@toma2395
"@tduniec/backstage-plugin-time-saver-backend": "^0.1.5",
"@tduniec/backstage-plugin-time-saver-common": "^0.1.0",
currently using this. what should I update to?
also currently getting no data on the time-saver dashboard.
I have hit http://localhost:7007/api/time-saver/generateSavings, which gives me response:
{
"status": "SUCCESS"
}

Hey,
please use
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>ad let me know the output

Thanks @toma2395 . this is resolved. Look forward to new releases from the plugins - we can emit metrics on user and group entity level.

Thanks @Alok650 , closing the issue


Implement better tests for ParquetExec

Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-11020
Implement better tests for ParquetExec

Comment from Krisztian Szucs(kszucs) @ 2021-01-12T14:48:02.701+0000:
Postponing to 4.0

looks like this could potentially be a good first issue, but we need to provide more details and define what better means here :)

@alamb @houqp I am interested in working on this once you've helped specify (it a bit) better :)

I think that since @andygrove  filed https://issues.apache.org/jira/browse/ARROW-11020 this one he would probably need to weigh in on what he had in mind.
The ParquetExec implementation has changed fairly significantly in the last few months (e.g. https://github.com/apache/arrow-datafusion/pull/1141) as well; Perhaps @rdettai  has some ideas of areas that need better test coverage

ParquetExec is pretty well tested in my mind now -- I don't think this ticket is actionable


3.4.0 debugging info not reliable in inner lambdas

Compiler version
3.3.3
3.4.0
3.4.1
3.5.0-RC1-bin-20240331-cc55381-NIGHTLY
If you're not sure what version you're using, run print scalaVersion from sbt
(if you're running scalac manually, use scalac -version instead).
Minimized code
I have experienced the issue when trying to verify fix #15841. Code is from https://youtrack.jetbrains.com/issue/SCL-22145.
object Main {
  case class A(s: String = "s", i: Int = 1)

  object Inside {
    def create(a: A) = {
      def func(a: A, count: Int) = {
        (0 until count).map { i =>
          val number = i + 1
          val string = i.toString
          val insideA = A(string, number)
          insideA.s * number
        }

      }
      func(a, 5)
      a
    }
  }

  def main(args: Array[String]): Unit = {
    Inside.create(A())
  }
}

Place breakpoints at

val number = i + 1
insideA.s * number
func(a, 5)

Note: using IntelliJ IntelliJ IDEA 2024.1 RC and Scala plugin 2024.1.596
Expectation
It should be possible to place breakpoints at all those lines
What happens instead
With 3.3.3 all breakpoints are displayed as active, but only 2 and 3 are triggered
With 3.4.0 and 3.4.1 only  breakpoints 2 and 3 are displayed as active and triggered
With 3.5.0-RC1-bin-20240331-cc55381-NIGHTLY only breakpoint 3 is displayed as active and triggered. It is impossible to step into the lambda
3.5. screenshot:
Issue
I am not sure if this is IntelliJ or Scala 3 issue, but Scala 3 seems to be a more likely source.

I have tested this with metals and all breakpoints work fine. Assuming IntelliJ issue.


Freeze livereload in node_modules folder

Describe the bug
If sveltekit root folder inside ./src/node_modules/svelte-kit live reload in dev mode don't working...
Reproduction
Create sveltekit project inside node_modules folder & run svelte-kit dev
Logs
No response
System Info
System:
    OS: macOS 12.0
    CPU: (8) arm64 Apple M1
    Memory: 116.34 MB / 8.00 GB
    Shell: 3.3.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 16.9.0 - /opt/homebrew/bin/node
    npm: 7.21.1 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 93.0.4577.63
    Firefox: 92.0
    Firefox Developer Edition: 93.0
    Safari: 15.0
  npmPackages:
    @sveltejs/adapter-static: ^1.0.0-next.18 => 1.0.0-next.18
    @sveltejs/kit: next => 1.0.0-next.165
    svelte: ^3.34.0 => 3.42.5

Severity
annoyance
Additional Information
No response

Anything under node_modules isn't watched by Vite by default, and there doesn't seem to be a way to configure that. Plus a lot of Vite's internal have assumptions on whether a path contains node_modules and work accordingly, so I'd guess it's not a simple feature.
At the meantime you can use something like https://github.com/ElMassimo/vite-plugin-full-reload to watch that path, but it'll do a full reload everytime the files there change. Another untested idea, is to only force Vite to watch those files like so so HMR could still work (not sure).

Create sveltekit project inside node_modules folder

I don't see one reason to do this. What is use case of this?

Old school monorepo 😁src/node_modules/package for using in app like import pack from 'package'
Now it resolved by workspaces or lerna… but I’m find this case🤷🏻♂

That's a very unique usecase. I don't think there's anything SvelteKit can do at the moment to fix this, it would be an upstream issue in Vite, so we should send an issue up there instead and close this.
Though to be honest, I don't think it's worth the effort fixing in Vite either. Might be worth refactoring the old monorepo style to use workspaces, as Vite also has extra support for developing in workspaces.

Yep, that’s it


Authentication with additional_headers is not possible

Bug Description
When creating a new client, setting the Authorization header via the additional_headers parameter is not working:
weviate_client = client.Client(
        url="http://localhost:8080",
        additional_headers={"Authorization:": "Bearer xyz"},
    )

The following error is thrown:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File ".../venv/lib/python3.10/site-packages/weaviate/client.py", line 146, in __init__
    self._connection = Connection(
  File ".../venv/lib/python3.10/site-packages/weaviate/connect/connection.py", line 580, in __init__
    super().__init__(
  File ".../venv/lib/python3.10/site-packages/weaviate/connect/connection.py", line 117, in __init__
    self._create_session(auth_client_secret)
  File ".../venv/lib/python3.10/site-packages/weaviate/connect/connection.py", line 180, in _create_session
    raise AuthenticationFailedException(msg)
weaviate.exceptions.AuthenticationFailedException: "No login credentials provided. The weaviate instance at http://localhost:8080 requires login credentials.

                    Please check our documentation at https://weaviate.io/developers/weaviate/client-libraries/python#authentication
                    for more information about how to use authentication.

This error is thrown in the _create_session method because the used weviate instance has an OIDC configuration but no auth_client_secret was provided.
I also saw that a previous issue (https://github.com/weaviate/weaviate-python-client/issues/177) already adressed this, but the proposed solution didn't fix it.
Proposed Solution
The case when an Authorization header is present in the additional_headers dict can be handled in the same way as the newly introduced AuthApiKey at the top of the _create_session.  If the header is present in the private _headers dict of the BaseConnection, a new session can be created and the method can be exited.
I can also provide a PR if wanted.

I can also provide a PR if wanted.

That would be great, your proposed solutions sounds good. Please with a test in this file :)


Bot maintenance

It looks like the Windows bot is down since it does't response to commands anymore. The Linux bot sometimes doesn't post the success/failure messages. Perhaps it's best to just restart both.
While doing that, please update the following software to the latest supported versions for the OS for some open pull requests:

node
npm
gulp and gulp-cli

@brendandahl Do you have some time to perform these actions?

Both the bots are updated and running 10.14.1. Gulp is
[18:51:12] CLI version 2.0.1
[18:51:12] Local version 3.9.1

Thank you!


Lengthy URL get wrapped and then truncated when clicked

Colleagues occasionally send me links to Web pages.
We're using here lengthy URLs that wrap to next line before their end. The first part, displayed on the first line, is clickable but leads to a truncated URL. The missing part is exactly the part that wrapped into the second line. Also, that second part is not clickable.
I would've expected at least to get the full URL when I clicked the first part. Ideally I would expect both parts to be clickable and lead to the correct, original, URL.
Thanks for this great text mode tool :-)

Whether an url is clickable or not depends on the used terminal emulator. As far as I can see I'm not able to create a solution for this in slack-term. There is also a question about this (#168) with a potential workaround which I use personally.


Suggestion #5

It will be good to have a bidding system. What do you guys think?

Hi, could you explain more about the bidding system? like an example. thanks.

Well, the idea is to allow users to post projects and let the service providers bet for it.
I think this will make the platform more interesting for the service providers.
As an example, you can look at freelancer.com

right, that's a good idea. it means the user could request a task, where service providers could bid for it. do you have a concrete project to work on? might be we could have a closer look of your requirement.

hi, the latest version now supports different listing types, which means you could add a type "Request", and user could make a request to post project where other users could offer services.

Thank you. I will look into it.


Referencing Data set in Dashboard About Section

I am trying to properly reference the authors/makers of the Tempe dataset we used for the project, but cannot find the page it was originally posted on.  The link provided in the instructions leads to a page that is not found anymore.  Any help in getting the required information would be greatly appreciated.
Here is the link for reference: https://data.tempe.gov/dataset/high-severity-traffic-crashes-1-08
I also found this page:  https://data.tempe.gov/documents/tempegov::1-08-high-severity-traffic-crashes/about
which appears to be the most current version of the data set (Both being titled "High Severity Traffic Crashes 1-08."
this is my current reference:
Tempe Data. (2019, September 26). 1.08 high severity traffic crashes. Data Catalog. Retrieved February 23, 2022, from https://data.tempe.gov/documents/tempegov::1-08-high-severity-traffic-crashes/about
It does not include authors since I could not find any.

I had the same concern, and ended up with the same reference as you have listed here.
@gmcirco Can you confirm if this is the correct reference you'd like students to use?
Thanks!

@AndrewSchwarz145
Yes, as for a reference that is fine. I can also see that the link to the original dataset is gone (alas, one of the issues with relying on open-source datasets). Your reference is A-OK for this project.


[Feature] Allow disks to be managed individually

Currently, it is not possible to replace a VM while retaining a disk to reuse it with the new VM. It would be very useful, if the provider would allow to manage a VDI as a separate resource which could be referenced by id, similar to the cdrom block.
Motivation
We use Fedora CoreOS as guest OS, which is meant to be managed as immutable infrastructure. To change the configuration, the Ignition file has to be regenerated and the OS has to be redeployed.
To retain state (container volumes) we mount /var to a different disk, while the configuration is discarded and later rewritten by ignition.
Problem
The easiest way to do this would be to trigger a replacement of the VM by terraform. Sadly, currently this means, the disks will also be destroyed and new ones created.
At the moment we resort to leaving the VM as it is and manually triggering a reprovisioning (e.g. rebooting into PXE), which is tedious.
Solution
Therefore it would be useful if:

an empty VDI could be created by the xenorchestra_vdi resource and
a VDI could be referenced in a disk block

Example
resource "xenorchestra_vm" "vm" {
  # ....

  disk {
    sr_id      = data.xenorchestra_sr.sr.id
    name_label = "example_root"
    size       = 10 * pow(1024, 3)
  }

  disk {
    id = xenorchestra_vdi.var.id
  }
}

resource "xenorchestra_vdi" "var" {
    name_label = "example_var"
    sr_id = data.xenorchestra_sr.sr.id
    size = 10 * pow(1024, 3)
}

Hey @smrqdt, thanks for reaching out and providing a detailed feature request. I need to spend some time investigating this, but at a first glance it seems feasible to do and I agree it would be worthwhile.


Specify cryptographic primitives

LazyLedger, as all blockchains uses numerous cryptographic primitives (most notably, hash functions and ecdsa or other cryptographic signature algorithms, e.g. BLS).
We need to choose among these and document the choices made in the spec (and ideally document why these decisions where made somewhere else).
Note: While these decisions are critical for a final spec, decisions about well established building blocks can happen at a later point in time in the specification process. We can and should start the implementation with the choices made in tendermint anyways to rapidly prototype.

Reopening since we need to more completely define the signature scheme, and how it interacts with consensus messages (e.g. votes).


Request action box cannot be closed with keyboard

Also, keyboard navigation doesn't work. Focus is not put in input field, and you cannot tab to the buttons

Also, the cancel action looks strange with 2 times cancel:

I did not do anything about the "Cancel request"-button, it currently looks like this. LMK if it should still be updated as well!


webpack output is no longer colored in git bash (again)

🐞 Bug report
Command (mark with an x)

[x] serve

... and probably others
Is this a regression?
Yes. I had already reported and fixed this for angular 6 (#11833, #11834), and the fix was still working as of angular 8.0.
Reproduction
in git bash, run ng serve.
 Specifically, color support checking is now done in https://github.com/angular/angular-cli/blob/1cd51e64c7331a9cc48d59e8fd6df74d3c6c48f3/packages/angular/cli/utilities/color.ts#L11-L14
Alas, when node is run within a MINGW terminal (as installed by git for windows), process.stdout is a Socket, causing instanceof WriteStream to return false, and all use of colors by the angular CLI to be disabled, even though the MINGW terminal supports colors just fine ...
An easy fix is:
// Typings do not contain the function call (added in Node.js v9.9.0)
export const supportsColor =
  process.stdout instanceof WriteStream
  && ((process.stdout as unknown) as { getColorDepth(): number }).getColorDepth() > 1
  || process.env.MSYSTEM; // MINGW terminals support color even though nodejs mistakes them for a Socket

If desired, I can submit a PR to that effect.
Alternatively, you might prefer to delegate to angular_devkit/core/src/terminal/caps.ts instead, whose vendored implementation of supportsColor still contains my earlier fix. However, not knowing your policy for dependencies across npm packages I don't feel comfortable submitting a PR to that effect.

That solution would break legitimate use cases as well.  There's no safe way to determine whether it is a MINGW simulated terminal or a pipe to another program.  The later of which should not have any color and cannot be used with any terminal APIs.  This overall can affect a variety of other functionality as well; prompts, for instance, may act erratically or not at all.
This is unfortunately an issue with MINGW's simulation of a POSIX terminal and cannot be safely fixed outside of MINGW itself.

Better solutions are of course welcome - but closing this issue as unsolvable seems surprising given that it has previously been solved in two different ways: Early versions of the CLI allowed for overriding color support with process.env.FORCE_COLOR, and from angular 6 to 8 we automatically detected MINGW through process.env.MSYSTEM. As far as I know, nobody has reported an issue that this was causing them problems.
Yes, I understand that if somebody uses a MINGW shell to invoke a script that redirects the output of ng build (or similar), the control characters would be annoying. However, this seems a very unusual usecase? I mean, if your build is complicated enough to warrant that kind of automation, chances are you'll be using a CI server - and since that CI server isn't launched through MINGW, it wouldn't be affected by the proposed change?
In summary, I think it is really valuable to be able to see at a glance whether a build is nominal in a terminal, and I think it is a clear step backwards if we drop support for that.
I'd therefore like this issue to remain open so people can collaborate on a better solution.

Git for Windows has an FAQ section dedicated to this particular issue.  It provides some additional details regarding the problem including several solutions.  The solutions are also general and do not require special code to be added to every Node.js application to workaround the limitations.
WSL is also an option to investigate as it provides POSIX-like support for Windows via a Microsoft supported extension.

You wouldn't need special code if you used detectColor rather than writing your own check. In fact, part of your code base already does that.
I had a look at the solutions from the FAQ:

Run programs that have problems using the winpty utility. This allows you to keep using the nicer mintty terminal, but can become unwieldy if you need the workaround for many programs.

Indeed. Yeah, I'd like a workaround for all invocations of ng. I guess I could modify the ng shell script yarn installs ... but that's really ugly, isn't it? Or write my own launch script, and retrain myself to write "myng serve" rather than "ng serve"?
Or I guess I could launch bash itself through winpty, but will that even work? What if I issue a linux command from bash? That would execute in the windows terminal, and likely not work as a result.

Modify the shortcut for Git Bash to run bash directly without mintty so it uses the default console host and configure it for "Quick Edit", reasonable size and scroll-back and suitable unicode font. You'll still have to live with the other quirks of console host.

Urgh, please don't make me use the native windows console! While I hear it has been improved some for Windows 10, I'm still on Windows 8 ...

Install and use ConEmu.

This one appears to work, i.e. it is recognized by Angular CLI as a console, but takes a little time to set up properly. I'm going to be using that one for now.
Still, I think it would be nice if Angular CLI were able to work fully with an out of the box git bash and not require the installation of a 3rd party terminal emulator.

WSL

requires Windows 10 as far as I know. I'm still on Windows 8.


Fix name of config key

Without the 2 this causes Expected a command, got oauth

Hey @FaHeymann, other person commited, merged a day ago.

Thanks for the heads up. It does look like it's already been fixed.


Form "Personal Translation"

Hello,
I'm trying to use the "Personal Translation" in a normal form (no Sonata) ... created everything as indicated in https://github.com/l3pp4rd/DoctrineExtensions/blob/master/doc/translatable.md#personal-translations.
I add can add the code indicated in https://gist.github.com/2437078 .
(/Form/TranslatedFieldType.php;  /Form/EventListener/addTranslatedFieldSubscriber.php; /Resources/services.yml)
I have this error:
The options "field", "personal_translation" do not exist.

I do not know if what I'm trying to do is possible or what am I doing wrong.
I use Symfony 2.3.6.
Thanks,
Paulo

@pdias, your switch doesn't solve the issue btw


Composer package type is wrong

Currently it is "library", while it needs to be "project". This so that the bot does not get placed in the vendor directory, as it obviously shouldn't be.

Fixed in 2.0.1-alpha.


Reconnect (the Paho library style)

The Eclipse Paho MQTT library provides a method mosquitto_reconnect() useful in order to restart a broken connection to a broker. Is there anything similar here? What's the suggested policy?

At this time a reconnect function is not provided, and applications must call connect again with the same connection parameters.
Thank you for the input and we will consider support for automatic reconnect functionality in the future.

Would you consider pull requests on this or any other development?

We are still working on our pull request process and guidelines.  We welcome contributions to the project, but the decisions and criteria on whether each change will be merged will be shared in a forthcoming update.

Any process on auto reconnect?

can't see any contribution policy so far so didn't invest on this

We are re-writing MQTT to be transport independent in the context of supporting BLE in Amazon FreeRTOS. We did not implement auto-reconnect yet, but it is definitely on our radar. Please check the ble beta branch in this repo and/or the v4_beta branch in C-SDK for the latest updates. It is a work in progress, but we'd like your feedback!
P.S. the C-SDK is slightly ahead...

@lt72 we may have a chance of testing this new branch in the next few weeks, thanks for commenting

@stefanoco and @xiongyu0523, hello, our new MQTT library interface can be found in iot_mqtt.h. While we have not implemented reconnect, we do have an official contribution policy and welcome pull requests.


Add Multi Factor Authentication with SMS

I rule and have completed some work on Case Manager that's ready for review!
Adds multi factor authentication with SMS using the Twilio Verify API.
Overview
This pull request makes the following changes:

Adds a registration form to register SMS as a 2nd factor.
Adds a Multi Factor Authentication settings card to the User Profile that links to the registration form and lists registered factors.
Adds a Multi Factor Authentication step to login for users with it enabled.

More detailed outline in the issue. That comment describes a flow including additional channel types beyond SMS. This PR is basically the same but with SMS only.
It relates to the following issue #s:

https://github.com/DARIAEngineering/dcaf_case_management/issues/2003

Notes
Resources

Wicked gem docs: used for multi-step forms for registration and login.
Twilio Verify SMS quickstart
Rails Wizards: goes into depth on multiple ways to implement multi-step forms. This PR uses the "Database Persistence / In-Session Routing" strategy described here.
MFA with Devise: gives an example MFA setup with Devise. I used this guide's strategy for overriding the devise sessions controller for MFA login.

Next Steps

Cleanup incomplete AuthFactor records: since the multi-step registration forms build up a record over multiple steps, leaving the site halfway through will result in an incomplete record hanging around in the database. It would be good to have a regularly scheduled rake task to clean these up.
Set up full Twilio Verify account. I developed with the trial account. We'll need to look at what settings need to change to make sure this works in production.

For reviewer:

Adjust the title to explain what it does for the notification email to the listserv.
Tag this PR:

feature if it contains a feature, fix, or similar. This is anything that contains a user-facing fix in some way, such as frontend changes, alterations to backend behavior, or bug fixes.
dependencies if it contains library upgrades or similar. This is anything that upgrades any dependency, such as a Gemfile update or npm package upgrade.

If it contains neither, no need to tag this PR.

MFA Settings
(At bottom of User Profile)

Registration
Registration Step 1: Registration

Registration Step 2: Verification

Registration Step 3: Confirmation

Login
Login Step 1: Factor Select

Login Step 2: Verification

The new revision addresses some previous comments and moves strings into config/locales.en.yml. I added the keys with empty values to config/locales.es.yml for now. Anything I need to do to get the Spanish translations?

Tests failing due to missing i18n for es, other failures fixed now.


How do I stop eslint from trying to lint my project?

I've just created a new TypeScript project which has a few JavaScript files and eslint is being applied to this project, even though I only installed the eslint extension for use in a few other projects.
How do I stop the eslint extension from being an unwelcome guest at a party to which it has not been invited?

Never mind, found the answer. Added "eslint.enable": false to my .vs/settings.json file.


use retain=False for command topic

Several users have experienced the frigate switches turning off unexpectedly. I think this is due to retain=True for the command topic. In Frigate's code, retain is only ever set to retain on the state topic.

Related issue: https://github.com/blakeblackshear/frigate/issues/2630

Interestingly, I was able to keep the recordings setting on my adding the record section to each camera per the docs:
    record:
      enabled: True
      events:
        retain:
          default: 10

Otherwise it would toggle off after restart.


Feat: UI enhancement in the newsletter component

Describe the feature
UI look will be enhanced with more visually appealing
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[X] I want to work on this issue

@alpharsh, how can you enhance our newsletter? If you share a demo video or any relevant screenshots, it would be great for me to assign this to you.

something like this as in this the newsletter is standing out so which is better for CTA

@alpharsh Actually our newsletter's UI was like this so we changed it. Please close this issue if you have any other please try to raise different issue


delay doesn't allow to use void in target

The effect in the target expects void, a conditional number arrives from doneData - a mismatch in delay types
example:
delay({
    source: someFirstFx.doneData,
    timeout: 1000,
    target: someSecondFx,
});

Could you add a reproduce in https://www.typescriptlang.org/play ?

@sergeysova check this

the second effect takes data from the store via attach

maybe in delay we need to be able to choose between source/clock?

Okay, I transformed your example into minimal reproduce:
import { delay } from 'patronum';
import { createEvent } from 'effector';

const input = createEvent<string>()
const output = createEvent<void>();

delay({
    source: input,
    timeout: 1000,
    target: output,
});

Try it

more complete example

You could solve it in userland. Something like this will work.
delay({
  source: sample({
    clock: input,
    fn: () => {},
  }),
  timeout: 1000,
  target: output,
});


[WIP] Feat / start ipc hub at very beginning at user process

Codecov Report

Merging #173 into master will increase coverage by 0.01%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master     #173      +/-   ##
==========================================
+ Coverage   80.55%   80.57%   +0.01%
==========================================
  Files         188      188
  Lines        6264     6269       +5
  Branches      840      842       +2
==========================================
+ Hits         5046     5051       +5
+ Misses        836      834       -2
- Partials      382      384       +2

Impacted Files
Coverage Δ

...ckages/pandora/src/application/ProcessBootstrap.ts
81.44% <0%> (-1.72%)
:arrow_down:

packages/pandora/src/application/spawnWrapper.ts
60% <50%> (-6.67%)
:arrow_down:

packages/metrics/src/collect/MetricsCollector.ts
85.29% <0%> (+11.76%)
: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 b27b1fe...67cd45e. Read the comment docs.


Add yosys-plugins for Linux and macOS

LGTM!

@ajelinski these are symbiflow packets, so they should be called symbiflow-yosys-plugins

These are "SymbiFlow created / owned" plugins for yosys tool, so I think all of yosys-plugins-symbiflow, symbiflow-yosys-plugins and yosys-symbiflow-plugins make sense.
I think we want this package to be group with the yosys package? IE If you hit  on yosys you get the yosys, yosys-plugins-symbiflow, yosys-plugins-ghdl?
Thus, if the yosys package is called symbiflow-yosys then this package should be called symbiflow-yosys-plugins-symbiflow, if the yosys package is called yosys then this package should be called yosys-plugins-symbiflow?

I will change the name and rebase after merging https://github.com/litex-hub/litex-conda-eda/pull/39 because it should use symbiflow-yosys package instead of yosys.


Add task comments support

Is your feature request related to a problem? Please describe.
I want to see an option in which I could add a comment to a task and keep it all organized.
It would be nice to keep track on tasks that demands more than a few hours to finish.
Describe the solution you'd like
It would have something like `tb 1 --add-comment This task's on hold because of that.
Additional context
A plus would be if it has a feature to list comments enumerated with some option to edit/sort/remove comments.

There are (at least) two ways to structure the data for this.

Each task has an array of comments, which are stored as strings.
Each task has an array of ids of other items, which are the comments on a task.

Actually if we do this, we could have the "comments" be "subtasks".
Seems that this might allow comments on comments.

I think (2) could open up other features also.


Publish GA Packages to the Dev Feed

Update CI so that GA Packages are also published to the Dev Feed

@chidozieononiwu, can you also confirm that the other langauges are releasing GA packages to their respective dev feeds.  If not, please open issues so we are standard across langauges on this.


chore(deps): add engines in package.json

:tada: This PR is included in version 2.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Compose urls in Test.serverAddress using Node's url library

When making supertest calls with URLs that do not start with a slash, all sorts of wacky errors can result due to the way the serverAddress is composed via string concatenation.
Using Node's url library will give more reliable and error-resilient results.

Pull Request Test Coverage Report for Build 410

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.297%

Totals

Change from base Build 404:
0.0%

Covered Lines:
138

Relevant Lines:
142

💛  - Coveralls

Any chance of getting this merged? Would be very nice to have.


Goroutine leakage

A lifecycle of connecting on a websocket and disconnecting leaves at least 2 open goroutines. That full lifecycle should leave no leftover goroutines.

1.6663827768617392e+09  debug   3 running goroutines
1.666382777237705e+09   debug   Subscribing to topic /test/orders
1.66638277723859e+09    debug   Subscribing to topic /test/status
1.6663827772397234e+09  info    /api/ws/test    {"status": 200, "method": "GET", "path": "/api/ws/test", "query": "", "ip": "<IP_ADDRESS>", "user-agent": "", "latency": 0.0020186, "time": "2022-10-21T20:06:17Z"}
1.6663827778715312e+09  debug   17 running goroutines
1.666382778879674e+09   debug   17 running goroutines
1.6663827793825407e+09  debug   No longer listening on topic /test/orders. 0 listeners remain.
1.6663827793825407e+09  debug   No longer listening on topic /test/status. 0 listeners remain.
1.6663827793825407e+09  debug   No more listeners on topic /test/status. Unsubscribing.
1.6663827793825407e+09  debug   No more listeners on topic /test/orders. Unsubscribing.
1.6663827793825407e+09  info    Client disconnected from websocket at /api/ws/test.
1.6663827798866735e+09  debug   5 running goroutines


nightly test: experiment_management

Describe the bug
[2022-08-12T02:51:35.417Z] real	1m5.117s
[2022-08-12T02:51:35.417Z] user	1m4.702s
[2022-08-12T02:51:35.417Z] sys	0m32.079s
[2022-08-12T02:51:35.675Z] Running ./experiment_management/spleen_segmentation_mlflow.ipynb
[2022-08-12T02:51:35.675Z] Checking PEP8 compliance...
[2022-08-12T02:51:36.237Z] stdin:265:17: C408 Unnecessary dict call - rewrite as a literal.
[2022-08-12T02:51:36.237Z] UNet_metadata = dict(spatial_dims=3,
[2022-08-12T02:51:36.237Z]                 ^
[2022-08-12T02:51:36.237Z] Error: Try running with autofixes: --autofix.
[2022-08-12T02:51:36.237Z]
[2022-08-12T02:51:36.237Z] Check failed!
[2022-08-12T02:51:36.237Z] Running notebook...
[2022-08-12T02:51:36.493Z] Before:
[2022-08-12T02:51:36.493Z]     "max_epochs = 8\n",
[2022-08-12T02:51:36.493Z] After:
[2022-08-12T02:51:36.493Z]     "max_epochs = 1\n",
[2022-08-12T02:51:36.493Z] Before:
[2022-08-12T02:51:36.493Z]     "val_interval = 2\n",
[2022-08-12T02:51:36.748Z] After:
[2022-08-12T02:51:36.748Z]     "val_interval = 1\n",
[2022-08-12T02:51:40.924Z] MONAI version: 0.9.1+37.g159b15f0
[2022-08-12T02:51:40.924Z] Numpy version: 1.22.4
[2022-08-12T02:51:40.924Z] Pytorch version: 1.10.2+cu102
[2022-08-12T02:51:40.924Z] MONAI flags: HAS_EXT = False, USE_COMPILED = False, USE_META_DICT = False
[2022-08-12T02:51:40.924Z] MONAI rev id: 159b15f093c830c8d28debe3da50db8b96fb9f57
[2022-08-12T02:51:40.924Z] MONAI __file__: /home/jenkins/agent/workspace/Monai-notebooks/MONAI/monai/__init__.py
[2022-08-12T02:51:40.924Z]
[2022-08-12T02:51:40.924Z] Optional dependencies:
[2022-08-12T02:51:40.924Z] Pytorch Ignite version: 0.4.9
[2022-08-12T02:51:40.924Z] Nibabel version: 4.0.1
[2022-08-12T02:51:40.924Z] scikit-image version: 0.19.3
[2022-08-12T02:51:40.924Z] Pillow version: 7.0.0
[2022-08-12T02:51:40.924Z] Tensorboard version: 2.9.1
[2022-08-12T02:51:40.924Z] gdown version: 4.5.1
[2022-08-12T02:51:40.924Z] TorchVision version: 0.11.3+cu102
[2022-08-12T02:51:40.924Z] tqdm version: 4.64.0
[2022-08-12T02:51:40.924Z] lmdb version: 1.3.0
[2022-08-12T02:51:40.924Z] psutil version: 5.9.1
[2022-08-12T02:51:40.924Z] pandas version: 1.1.5
[2022-08-12T02:51:40.924Z] einops version: 0.4.1
[2022-08-12T02:51:40.924Z] transformers version: 4.21.1
[2022-08-12T02:51:40.924Z] mlflow version: 1.28.0
[2022-08-12T02:51:40.924Z] pynrrd version: 0.4.3
[2022-08-12T02:51:40.924Z]
[2022-08-12T02:51:40.924Z] For details about installing the optional dependencies, please visit:
[2022-08-12T02:51:40.924Z]     https://docs.monai.io/en/latest/installation.html#installing-the-recommended-dependencies
[2022-08-12T02:51:40.924Z]
[2022-08-12T02:51:41.852Z] /opt/conda/lib/python3.8/site-packages/papermill/iorw.py:58: FutureWarning: pyarrow.HadoopFileSystem is deprecated as of 2.0.0, please use pyarrow.fs.HadoopFileSystem instead.
[2022-08-12T02:51:41.852Z]   from pyarrow import HadoopFileSystem
[2022-08-12T02:54:48.174Z]
Executing:   0%|          | 0/31 [00:00<?, ?cell/s]
Executing:   3%|▎         | 1/31 [00:01<00:44,  1.47s/cell]
Executing:  10%|▉         | 3/31 [00:05<00:54,  1.96s/cell]
Executing:  16%|█▌        | 5/31 [00:08<00:45,  1.75s/cell]
Executing:  32%|███▏      | 10/31 [01:47<04:40, 13.36s/cell]
Executing:  45%|████▌     | 14/31 [01:47<02:10,  7.69s/cell]
Executing:  68%|██████▊   | 21/31 [02:00<01:16,  7.69s/cell]
Executing:  71%|███████   | 22/31 [02:40<01:03,  7.10s/cell]
Executing:  77%|███████▋  | 24/31 [02:43<00:43,  6.19s/cell]
Executing:  87%|████████▋ | 27/31 [03:04<00:25,  6.40s/cell]
Executing: 100%|██████████| 31/31 [03:04<00:00,  4.32s/cell]
Executing: 100%|██████████| 31/31 [03:06<00:00,  6.01s/cell]
[2022-08-12T02:54:48.174Z]
[2022-08-12T02:54:48.174Z] real	3m6.964s
[2022-08-12T02:54:48.174Z] user	4m29.705s
[2022-08-12T02:54:48.174Z] sys	2m4.620s
[2022-08-12T02:54:48.174Z] Running ./experiment_management/spleen_segmentation_aim.ipynb
[2022-08-12T02:54:48.174Z] Checking PEP8 compliance...
[2022-08-12T02:54:49.105Z] stdin:266:17: C408 Unnecessary dict call - rewrite as a literal.
[2022-08-12T02:54:49.106Z] UNet_metadata = dict(spatial_dims=3,
[2022-08-12T02:54:49.106Z]                 ^
[2022-08-12T02:54:49.106Z] Error: Try running with autofixes: --autofix.
[2022-08-12T02:54:49.106Z]
[2022-08-12T02:54:49.106Z] Check failed!
[2022-08-12T02:54:49.106Z] Running notebook...
[2022-08-12T02:54:49.106Z] Before:
[2022-08-12T02:54:49.106Z]     "max_epochs = 8\n",
[2022-08-12T02:54:49.106Z] After:
[2022-08-12T02:54:49.106Z]     "max_epochs = 1\n",
[2022-08-12T02:54:49.106Z] Before:
[2022-08-12T02:54:49.106Z]     "val_interval = 2\n",
[2022-08-12T02:54:49.363Z] After:
[2022-08-12T02:54:49.363Z]     "val_interval = 1\n",
[2022-08-12T02:54:53.539Z] MONAI version: 0.9.1+37.g159b15f0
[2022-08-12T02:54:53.539Z] Numpy version: 1.22.4
[2022-08-12T02:54:53.539Z] Pytorch version: 1.10.2+cu102
[2022-08-12T02:54:53.539Z] MONAI flags: HAS_EXT = False, USE_COMPILED = False, USE_META_DICT = False
[2022-08-12T02:54:53.539Z] MONAI rev id: 159b15f093c830c8d28debe3da50db8b96fb9f57
[2022-08-12T02:54:53.539Z] MONAI __file__: /home/jenkins/agent/workspace/Monai-notebooks/MONAI/monai/__init__.py
[2022-08-12T02:54:53.539Z]
[2022-08-12T02:54:53.539Z] Optional dependencies:
[2022-08-12T02:54:53.539Z] Pytorch Ignite version: 0.4.9
[2022-08-12T02:54:53.539Z] Nibabel version: 4.0.1
[2022-08-12T02:54:53.539Z] scikit-image version: 0.19.3
[2022-08-12T02:54:53.539Z] Pillow version: 7.0.0
[2022-08-12T02:54:53.539Z] Tensorboard version: 2.9.1
[2022-08-12T02:54:53.539Z] gdown version: 4.5.1
[2022-08-12T02:54:53.539Z] TorchVision version: 0.11.3+cu102
[2022-08-12T02:54:53.539Z] tqdm version: 4.64.0
[2022-08-12T02:54:53.539Z] lmdb version: 1.3.0
[2022-08-12T02:54:53.539Z] psutil version: 5.9.1
[2022-08-12T02:54:53.539Z] pandas version: 1.1.5
[2022-08-12T02:54:53.539Z] einops version: 0.4.1
[2022-08-12T02:54:53.539Z] transformers version: 4.21.1
[2022-08-12T02:54:53.539Z] mlflow version: 1.28.0
[2022-08-12T02:54:53.539Z] pynrrd version: 0.4.3
[2022-08-12T02:54:53.539Z]
[2022-08-12T02:54:53.539Z] For details about installing the optional dependencies, please visit:
[2022-08-12T02:54:53.539Z]     https://docs.monai.io/en/latest/installation.html#installing-the-recommended-dependencies
[2022-08-12T02:54:53.539Z]
[2022-08-12T02:54:54.102Z] /opt/conda/lib/python3.8/site-packages/papermill/iorw.py:58: FutureWarning: pyarrow.HadoopFileSystem is deprecated as of 2.0.0, please use pyarrow.fs.HadoopFileSystem instead.
[2022-08-12T02:54:54.102Z]   from pyarrow import HadoopFileSystem
[2022-08-12T02:57:52.993Z]
Executing:   0%|          | 0/32 [00:00<?, ?cell/s]
Executing:   3%|▎         | 1/32 [00:01<00:45,  1.48s/cell]
Executing:   9%|▉         | 3/32 [00:19<03:24,  7.04s/cell]
Executing:  16%|█▌        | 5/32 [00:22<01:55,  4.27s/cell]
Executing:  31%|███▏      | 10/32 [01:37<04:06, 11.21s/cell]
Executing:  44%|████▍     | 14/32 [01:38<01:57,  6.54s/cell]
Executing:  69%|██████▉   | 22/32 [02:32<01:06,  6.62s/cell]
Executing:  78%|███████▊  | 25/32 [02:35<00:37,  5.35s/cell]
Executing:  88%|████████▊ | 28/32 [02:56<00:23,  5.76s/cell]
Executing: 100%|██████████| 32/32 [02:56<00:00,  3.96s/cell]
Executing: 100%|██████████| 32/32 [02:58<00:00,  5.56s/cell]

could you please have a look @Nic-Ma?

Hi @wyli ,
I think the error from the log is PEP check?
[2022-08-12T02:54:48.174Z] Running ./experiment_management/spleen_segmentation_aim.ipynb
[2022-08-12T02:54:48.174Z] Checking PEP8 compliance...
[2022-08-12T02:54:49.105Z] stdin:266:17: C408 Unnecessary dict call - rewrite as a literal.
[2022-08-12T02:54:49.106Z] UNet_metadata = dict(spatial_dims=3,
[2022-08-12T02:54:49.106Z]                 ^
[2022-08-12T02:54:49.106Z] Error: Try running with autofixes: --autofix.
[2022-08-12T02:54:49.106Z]
[2022-08-12T02:54:49.106Z] Check failed!

Thanks.

Hi Wenqi. Does this PEP check have different settings? The code passed my local runner.sh and the auto PEP tests in my PR #837.

it should be with the same settings, perhaps some dependencies upgraded recently?

those are all the details that I'd like to get you guys' insights and help fixing it.。。
(if it's just simple style errors or if I know the exact root cause, I could have created a PR already @Nic-Ma @yuchen-xu.)

to help reproducing the issue, the internal tests are almost the same as these commands (with the same docker image): https://github.com/Project-MONAI/MONAI/blob/d77b3278817ff2760b4665613550b96b340411eb/.github/workflows/cron.yml#L203-L240

Wenqi, if the error log you pasted here is complete, then as per the error that Nic has highlighted above, it is a style issue that has to do with how the dictionary is defined. If there is any other error, please paste the log here.
I am still unable to reproduce the error you cited here locally. Redefining
UNet_metadata = {'spatial_dims': 3,
                 'in_channels': 1,
                 'out_channels': 2,
                 'channels': (16, 32, 64, 128, 256),
                 'strides': (2, 2, 2, 2),
                 'num_res_units': 2,
                 'norm': Norm.BATCH}

should fix it (with proper spacing), but since I can't reproduce the issue, there isn't a way for me to check that it works.

I modified as suggested above in #864, and it is passing all checks just like before I modified them.


Derivation of areal geometries for road signals

OpenDRIVE allows defining an optional width and height attribute for road signals (used for traffic signs & traffic lights).
Currently, the CityGML objects derived from this are only represented by point geometries, although an areal geometry representation would be beneficial.

This is not correct. CityGML uses so-called "ImplicitGeometries", which utilize a 3D anchor point in the world coordinate system and an arbitrary 3D shape using a local cartesian coordinate system plus a 4x4 transformation matrix that is used to rotate and scale the 3D shape. In case the 3D anchor point uses a metric, cartesian world CRS, then after applying the transformation matrix to the local coordinates of the 3D shape, the coordinates of the anchor point can simply be added.
I recommend to create an ImplicitGeometry and/or to include the attributes width and height as generic attributes to respective CityFurniture object.

This is a misunderstanding since the issue refers to the OpenDRIVE road signals (see OpenDRIVE specification v1.7.0: 12. Signals). So far,  rtron only takes the road signal position (s, t, and hOffset attributes in the reference line coordinate system) into account, because the width and height of road signals have been seldomly used in OpenDRIVE datasets.
Hence, this issue's original goal was to remind me that this information should be taken into account in the future and implemented in rtron.
Actually, when rtron converts OpenDRIVE signals to CityGML CityFurniture objects, implicit geometries are already used. The reference point and the 4x4 transformation matrix (rotation only) are already determined. This functionality was implemented some time ago to allow FME workbenches to correctly place traffic signs and traffic light assets without having to rely on generic attributes.

The conversion of OpenDRIVE signals (traffic lights and traffic signs) to CityGML CityFurniture was just improved. In addition to the lod1ImplicitRepresentation, a lod2MultiSurface is derived from the OpenDRIVE road signal width and height:

In this way, model asset replacements can still be performed using the implicit geometries, and the LOD2 geometries are well suited for sensor data analytics on the database, for example.


Add initial support for org sync mode

Add SYNC_MODE env var to enable it
Automatically create metadata datasource (uses main DB server)
Split dashboards into 2 directories gitbase and metadata
Add placeholder for welcome dashboard
Make welcome dashboard a default

Fix: #107

looks good, although I did not try it locally.
Needs to be included in the README.

rebased on master, included in README

I will wait with merge until we have v0.3.0 just in case.

PR updated to follow flake8 codestyle. It was tested together with ghcollecter and ghsync on srcd-ce. => merging.


Can we make "schema_version" a required tag?

Can we make "schema_version" a required tag? Currently I have to brute force it by applying schemas until one passes, and it also makes identifying the files tricky.

Hey @kurtseifried , this is already a required field for all OSV entries > version 1.0.0 per https://ossf.github.io/osv-schema/#schema_version-field
We can't go back and enforce this for 1.0.0 unfortunately, as that would break compatibility.

Sorry I think I'm not saying this clearly, I mean making the schema_version required, e.g. the docs currently say:
https://ossf.github.io/osv-schema/
The id and modified fields are required. All other fields are optional, although of course an entry with no other metadata is not particularly useful. (It could potentially stand for a reserved ID with no other public information.)
And in https://github.com/ossf/osv-schema/blob/main/validation/schema.json
"required": [
"id",
"modified"
]
}
So you can have an OSV file without a schema_version tag. I'm talking about making it mandatory in a future version so that I don't have to apply schemas and guess which version a file is (or worse, it validates against 1.3.0 but was meant to be 1.4.0 and is missing something)

This would have to be a forwards change, e.g. 1.5.0, we can't make it retroactive without potentially breaking data (e.g. someone using 1.4.0 with no schema_version tag).

It's actually already explicit requirement to have a schema_Version >1.0.0 per https://ossf.github.io/osv-schema/#schema_version-field. There was just a bug in the documentation that didn't explicitly state this in the part that you pointede out :)

I've uploaded https://github.com/ossf/osv-schema/pull/122 to address this.


"Open as Root" option doesn't work.

Expected: Open the window for entering the password, and then open the file
Actual: Doesn't work.

it does seem to work for me. Which exact version are you running? Live or installed?

Version
0.6.0_0F26 ,0.6.0_0F27

Live or installed?
Live and installed

This is probably because only one Filer instance can run at a time. We need to find a good way to deal with this.

PC-1-screen0.webm
This currently executes bugs with root.

The launch command now only checks for exising windows of the same user; hopefully this fixes it:
https://github.com/helloSystem/launch/commit/fbaebb45f4e7ba8660825dd6c4c6120e025465af

The original one is fine, just the "Open as root" option on the top menu, this will appear.

Try the context menu (right click) please. The one in the to menu may be broken.

I try to use "Open as Root" to open the current folder (take /compat as an example, because I want to delete the data), but the right-click menu does not have this option, and the menu is unavailable, Build 0H352.

Looks like this still needs more work.


IP information is missing in some Sunstone views

Description
The IP information does appear in some areas for the oneadmin account in admin view, but not everywhere in the Sunstone UI, but it doesn't appear for the user in cloud view
To Reproduce
Add some extra IPs to the VM under GUEST_IP_ADDRESSES.
Expected behavior
All IPs should be shown.
Details

Affected Component: Sunstone.
Version: 5.12, 6.0 and master.

Progress Status

[x] Branch created
[x] Code committed to development branch
[ ] Testing - QA
[x] Documentation
[x] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

@tinova PRs to be approved:

Dev and 6.0

Code
Docs

5.12

Code
Docs

needs testing

@tinova PR to be approved:

Dev


Stop hard crash on failure

Currently, when a module fails to send a new log it will raise an error - This can cause unintended crashes - Should be made so it doesn't cause hard crashes

Fixed in #16


Feature/warn non version control

This will show a warning if the .md file is on disk but is not in version control

Thanks for this feature .. with test! Awseome! (But I have to dig into the test system now and find out what is broken there)

Oh, shoot, did I break something? I thought I made sure all tests passed before I pushed...

You broke nothing, the bug is somewhere in the test system (see #36) Your commit and your test is fine!


Add scare repo

Add https://github.com/netspooky/scare with the following Python requirements:
keystone-engine
unicorn
capstone

Added repo


Where is the generic.xbf file associated with the WindowsAppSDK NuGet?

Describe the bug
When we create a custom WinUI3 NuGet with xaml resources (e.g., Resource Dictionaries with custom styles), we need to provide the corresponding XBF/XAML files along with other NuGet files(e.g.: .dll, .winmd etc) in order to copy them to the client application's output location. However, the self-contained WinUI3 application's output directory does not contain any XBF/XAML files associated with WindowsAppSDK NuGet, such as generic.xaml or generic.xbf.
How does the client application getting XAML resources from WindowsAppSDK NuGet ?
Does the WindowsAppSDK have a specific location where it stores its XBF/XAML files?
If so, may we incorporate this method into our custom NuGet?
Steps to reproduce the bug
Custom NuGet is created by referring https://learn.microsoft.com/en-us/nuget/guides/create-uwp-packages
Expected behavior
No response
Screenshots
No response
NuGet package version
Windows App SDK 1.3.2: 1.3.230602002
Packaging type
Unpackaged
Windows version
Windows 10 version 21H2 (19044, November 2021 Update)
IDE
Visual Studio 2022
Additional context
No response

The required .pri file can be loaded into application scope using the ResourceManagerRequested event available in the latest Windows App SDK preview version, Windows App SDK 1.4 Preview1.


Add shape function SingleImageRandomDotStereograms

This fix tries to address the issue raised in #15429 where there is no shape function for SingleImageRandomDotStereograms.
This fix adds the shape function for SingleImageRandomDotStereograms.
NOTE: SingleImageRandomDotStereograms takes an attribute of output_image_shape which is in the format of [X, Y, C] ([ImageX, ImageY, Channel]. However, the actual
data output is in the format of [ImageY, ImageX, Channel] ([h, w, c]). So by default the output_image_shape has the value of [1024, 768, 1] but the output data will be [768, 1024, 1].
And if [1200, 800, 1] is used explicitly then the output data shape will be [800, 1200, 1].
This fix does not change the behavior for now.
This fix fixes #15429.
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

Jenkins, test this please.


fix: The buffer of the renamed file does not appear in the buffer list

The bufadd function does not set buflisted by default.

Great, thanks!


[Flaky Test] tests/python/contrib/test_ethosu/test_codegen.py::test_mean[ifm_shape0-axis0-True-False-ethos-u55-256]

These tests were found to be flaky (intermittently failing on main or failed in a PR with unrelated changes). See the docs for details.
Tests(s)

tests/python/contrib/test_ethosu/test_codegen.py::test_mean[ifm_shape0-axis0-True-False-ethos-u55-256]

Jenkins Links

https://ci.tlcpack.ai/job/tvm/job/main/3566/display/redirect

issue to still present (see #12956), but closing to consolidate on #12634


Feature request: Running a bash command upon some key combination

It would be nice to have that.

Unless I'm misunderstanding this already exists
https://github.com/koekeishiya/khd/blob/4765ae0b4c7d4ca56319dc92ff54393cd9e03fbc/examples/khdrc#L163-L164

What you are requesting is quite literally the only thing khd does.
If you define a hotkey in your $HOME/.khdrc, everything to the right side of the colon is run through your $SHELL, which usually is bash.
An example for a more complicated command would be something like this (using repeat, a build-in command from zsh, which is my $SHELL).
# Save current desktop mode, set mode to monocle, wait,
#   close all windows, set mode to old mode
# This is a useless command for demonstration purposes
cmd + ctrl - w : $MODE=chunkc tiling::query --desktop mode \
              && chunkc tiling::desktop --layout monocle \
              && sleep 0.5 \
              && repeat $(chunkc tiling::query --desktop windows | wc -l) { \
                     chunkc tiling::window --close \
                  && sleep 0.1 } \
              && chunkc tiling::desktop --layout $MODE

Thanks for the examples! Now I see how it works.