Markdown renderer

Hi Yuki,
I love your project this is pretty amazing and usefull
BUT the markdown renderer/parser you use doesn't respect markdown syntax at all.
There is a lot of examples with list, quotes, line feed etc ...
You can tests examples of syntax from the original markdown:
https://daringfireball.net/projects/markdown/syntax
That would be great if your replace the renderer you actually use with one implementing all markdown features + Github Flavored Markdown ones.
There is a lot of markdown renderer / parser that won't be a problem.

http://commonmark.org/ ?

@honzajavorek : what do you suggest ?

@noraj1337 The problem with the original Markdown "spec" is that it insufficiently describes all corner cases of Markdown parsing. That's why CommonMark was created as a way to standardize around some kind of community-maintained spec.
So,

If marp already uses CommonMark (I didn't check) and your issues are that the CommonMark-spec-compilant parser works in a different way than you would expect from the original Markdown spec, then I'd suggest to stick to CommonMark anyway, as it's currently the only sane way to support Markdown today and in the near future, with expectable results.

If marp doesn't use CommonMark yet, then I suggest to migrate to it and use CommonMark-spec-compilant parser, which should avoid any future issues like this.

@honzajavorek : Yeah you're right, and commonMark is really good initiative but it does support only original markdown. For example array (from GMF) are quite useful and used everywhere but not supported by commonMark.
Here is what GMF add more : https://help.github.com/enterprise/11.10.340/user/articles/github-flavored-markdown/
And here is github parser : https://github.com/github/markup
I don't if it possible to use commonMark + GMF features.
But there is a lot of others additions (https://github.com/jgm/CommonMark/wiki/Markdown-Flavors).

It has already resolved in Marp Next. It has grown durable against a practical use, so we close this issue.
Details
yhatt/marp had already used markdown-it, the 100% CommonMark compliant parser. But I had not used CommonMark option in constructor option.  So we had decided to strictly respect CommonMark (0.28) by default in Marpit, the brand-new framework of Marp Next ecosystem (#267).
Additional syntax never breaks CommonMark document. And we will hate extra syntax to require breaking CommonMark. (But power user can extend favorite syntax by markdown-it plugin.)
Our new core based on Marpit has carefully selected extra syntaxes: GFM table, Pandoc style math typesetting, and emoji shorthand.

@yhatt Yeah respecting CommonMark is a good idea. I didn't use Marp Next but I read the new idea of the project and it just looks amazing. I'm didn't write slides since a lot of times but I'll sure use Marp when I'll do.


Fixed build.sh errors; build.sh now works as standalone script

This commit fixes issue #3 wherein build.sh fails to properly execute.

I also changed the permissions on build_detect_platform to 744/rwxr--r--


RUN-2670: Enh: Added yaml data size parameter at model source

⛔ Ticket:
https://pagerduty.atlassian.net/browse/RUN-2670
✅ Description:
Add field at Ansible model source to set yaml data size coming from an inventory. The default value is 10mb.

i have another question, how does the plugin fails if the inventory size surpasses the allowed size?

i have another question, how does the plugin fails if the inventory size surpasses the allowed size?

could you add functional tests to it?

tests added


OneDrive Business: The expression "drives('$driveid')/items/$itemid/delta" is not valid (API Change)

The error message received is as follows from the OneDrive Linux client:
HTTP request returned status code 400 (Bad Request)
{
    "error": {
        "code": "-1, Microsoft.SharePoint.Client.InvalidClientQueryException",
        "innerError": {
            "date": "2018-11-16T20:05:42",
            "request-id": "ea39e0ec-0302-4f19-998c-04eeeaf35f95"
        },
        "message": "The expression \"drives('bc7d88ec1f539dcf')\/items\/BC7D88EC1F539DCF!107\/delta\" is not valid."
    }
}

Category

[ ] Question
[ ] Documentation issue
[X] Bug

Expected or Desired Behavior
This query for OneDrive Business Accounts was working flawlessly less than 2 days ago and now is broken.
Note: This does not impact OneDrive Personal Accounts. The Linux client uses the same queries for Personal / Business
Please restore the API behaviour or at least publish what your API changes are going to be & when ...
Observed Behavior
Loading config ...
Using Config Dir: /home/alex/.config/onedrive
No config file found, using defaults
Initializing the OneDrive API ...
Opening the item database ...
All operations will be performed in: /home/alex/OneDrive
Initializing the Synchronization Engine ...
* About to connect() to login.microsoftonline.com port 443 (#1)
*   Trying <IP_ADDRESS>...
* Connected to login.microsoftonline.com (<IP_ADDRESS>) port 443 (#1)
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate:
*       subject: CN=stamp2.login.microsoftonline.com
*       start date: Sep 24 21:02:42 2018 GMT
*       expire date: Sep 24 21:02:42 2020 GMT
*       common name: stamp2.login.microsoftonline.com
*       issuer: CN=Microsoft IT TLS CA 1,OU=Microsoft IT,O=Microsoft Corporation,L=Redmond,ST=Washington,C=US
> POST /common/oauth2/v2.0/token HTTP/1.1
User-Agent: Phobos-std.net.curl/2.083 (libcurl/7.29.0)
Host: login.microsoftonline.com
Accept: */*
Content-Length: 1007
Content-Type: application/x-www-form-urlencoded

< HTTP/1.1 200 OK
< Cache-Control: no-cache, no-store
< Pragma: no-cache
< Content-Type: application/json; charset=utf-8
< Expires: -1
< Server: Microsoft-IIS/10.0
< Strict-Transport-Security: max-age=31536000; includeSubDomains
< X-Content-Type-Options: nosniff
< x-ms-request-id: 08a53b0c-20f1-4e98-ae03-d649fe430200
< P3P: CP="DSP CUR OTPi IND OTRi ONL FIN"
< Set-Cookie: fpc=AeGgoS2TSrlHpg8YB5Aa5lAlAB1NAQBp1yyQ_0vWCA; expires=Sun, 16-Dec-2018 20:10:32 GMT; path=/; secure; HttpOnly
< Set-Cookie: x-ms-gateway-slice=004; path=/; secure; HttpOnly
< Set-Cookie: stsservicecookie=ests; path=/; secure; HttpOnly
< Date: Fri, 16 Nov 2018 20:10:32 GMT
< Content-Length: 3072
<
OneDrive HTTP Server Response: 200
* Connection #1 to host login.microsoftonline.com left intact
* About to connect() to graph.microsoft.com port 443 (#2)
*   Trying <IP_ADDRESS>...
* Connected to graph.microsoft.com (<IP_ADDRESS>) port 443 (#2)
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate:
*       subject: CN=graph.microsoft.com
*       start date: Oct 21 02:44:42 2018 GMT
*       expire date: Oct 21 02:44:42 2020 GMT
*       common name: graph.microsoft.com
*       issuer: CN=Microsoft IT TLS CA 4,OU=Microsoft IT,O=Microsoft Corporation,L=Redmond,ST=Washington,C=US
> GET /v1.0/me/drive HTTP/1.1
User-Agent: Phobos-std.net.curl/2.083 (libcurl/7.29.0)
Host: graph.microsoft.com
Accept: */*
Authorization: bearer <redacted>

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: 61239c02-256d-494d-bd9b-46343b801798
< client-request-id: 61239c02-256d-494d-bd9b-46343b801798
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Australia Southeast","Slice":"SliceC","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_0","ADSiteName":"ASE"}}
< OData-Version: 4.0
< Duration: 633.2212
< Strict-Transport-Security: max-age=31536000
< Date: Fri, 16 Nov 2018 20:10:33 GMT
<
OneDrive HTTP Server Response: 200
* Connection #2 to host graph.microsoft.com left intact
OneDrive API Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#drives\/$entity","createdBy":{"user":{"displayName":"System Account"}},"createdDateTime":"2018-04-04T03:32:04Z","description":"","driveType":"business","id":"b!xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY","lastModifiedBy":{"user":{"displayName":"Alex Braunegg","email":"alex.braunegg@mynasau.onmicrosoft.com","id":"3dd84d0d-d471-48df-9bd8-ac043fed31f0"}},"lastModifiedDateTime":"2018-11-11T23:01:33Z","name":"OneDrive","owner":{"user":{"displayName":"Alex Braunegg","email":"alex.braunegg@mynasau.onmicrosoft.com","id":"3dd84d0d-d471-48df-9bd8-ac043fed31f0"}},"quota":{"deleted":89421802,"remaining":1099511627776,"state":"normal","total":1099511627776,"used":28405},"webUrl":"https:\/\/mynasau-my.sharepoint.com\/personal\/alex_braunegg_mynasau_onmicrosoft_com\/Documents"}
* Found bundle for host graph.microsoft.com: 0xc9bd20
* Re-using existing connection! (#2) with host graph.microsoft.com
* Connected to graph.microsoft.com (<IP_ADDRESS>) port 443 (#2)
> GET /v1.0/me/drive/root HTTP/1.1
User-Agent: Phobos-std.net.curl/2.083 (libcurl/7.29.0)
Host: graph.microsoft.com
Accept: */*
Authorization: bearer <redacted>

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: 4c528562-3355-42e0-aec2-ef34c313faa8
< client-request-id: 4c528562-3355-42e0-aec2-ef34c313faa8
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Australia Southeast","Slice":"SliceC","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_0","ADSiteName":"ASE"}}
< OData-Version: 4.0
< Duration: 202.9595
< Strict-Transport-Security: max-age=31536000
< Date: Fri, 16 Nov 2018 20:10:33 GMT
<
OneDrive HTTP Server Response: 200
* Connection #2 to host graph.microsoft.com left intact
OneDrive API Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#users('3dd84d0d-d471-48df-9bd8-ac043fed31f0')\/drive\/root\/$entity","createdDateTime":"2018-04-04T03:32:04Z","fileSystemInfo":{"createdDateTime":"2018-04-04T03:32:04Z","lastModifiedDateTime":"2018-11-11T23:06:11Z"},"folder":{"childCount":2},"id":"01D6JQORV6Y2GOVW7725BZO354PWSELRRZ","lastModifiedDateTime":"2018-11-11T23:06:11Z","name":"root","parentReference":{"driveId":"b!xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY","driveType":"business"},"root":{},"size":28405,"webUrl":"https:\/\/mynasau-my.sharepoint.com\/personal\/alex_braunegg_mynasau_onmicrosoft_com\/Documents"}
Account Type: business
Default Drive ID: b!xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY
Default Root ID: 01D6JQORV6Y2GOVW7725BZO354PWSELRRZ
Remaining Free Space:<PHONE_NUMBER>776
Fetching details for OneDrive Root
* Found bundle for host graph.microsoft.com: 0xc9bd20
* Re-using existing connection! (#2) with host graph.microsoft.com
* Connected to graph.microsoft.com (<IP_ADDRESS>) port 443 (#2)
> GET /v1.0/me/drive/root HTTP/1.1
User-Agent: Phobos-std.net.curl/2.083 (libcurl/7.29.0)
Host: graph.microsoft.com
Accept: */*
Authorization: bearer <redacted>

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: 0c81fcd4-0d1e-432c-864c-88459e7ac3cc
< client-request-id: 0c81fcd4-0d1e-432c-864c-88459e7ac3cc
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Australia Southeast","Slice":"SliceC","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_0","ADSiteName":"ASE"}}
< OData-Version: 4.0
< Duration: 160.1135
< Strict-Transport-Security: max-age=31536000
< Date: Fri, 16 Nov 2018 20:10:33 GMT
<
OneDrive HTTP Server Response: 200
* Connection #2 to host graph.microsoft.com left intact
OneDrive API Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#users('3dd84d0d-d471-48df-9bd8-ac043fed31f0')\/drive\/root\/$entity","createdDateTime":"2018-04-04T03:32:04Z","fileSystemInfo":{"createdDateTime":"2018-04-04T03:32:04Z","lastModifiedDateTime":"2018-11-11T23:06:11Z"},"folder":{"childCount":2},"id":"01D6JQORV6Y2GOVW7725BZO354PWSELRRZ","lastModifiedDateTime":"2018-11-11T23:06:11Z","name":"root","parentReference":{"driveId":"b!xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY","driveType":"business"},"root":{},"size":28405,"webUrl":"https:\/\/mynasau-my.sharepoint.com\/personal\/alex_braunegg_mynasau_onmicrosoft_com\/Documents"}
OneDrive Root exists in the database
Syncing changes from OneDrive ...
Applying changes of Path ID: 01D6JQORV6Y2GOVW7725BZO354PWSELRRZ
* Found bundle for host graph.microsoft.com: 0xc9bd20
* Re-using existing connection! (#2) with host graph.microsoft.com
* Connected to graph.microsoft.com (<IP_ADDRESS>) port 443 (#2)
> GET /v1.0/drives/b!xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY/items/01D6JQORV6Y2GOVW7725BZO354PWSELRRZ?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference HTTP/1.1
User-Agent: Phobos-std.net.curl/2.083 (libcurl/7.29.0)
Host: graph.microsoft.com
Accept: */*
Authorization: bearer <redacted>

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: e3848f99-86df-41aa-8f3b-6417b52cbf58
< client-request-id: e3848f99-86df-41aa-8f3b-6417b52cbf58
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Australia Southeast","Slice":"SliceC","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_0","ADSiteName":"ASE"}}
< OData-Version: 4.0
< Duration: 212.5178
< Strict-Transport-Security: max-age=31536000
< Date: Fri, 16 Nov 2018 20:10:33 GMT
<
OneDrive HTTP Server Response: 200
* Connection #2 to host graph.microsoft.com left intact
OneDrive API Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#drives('b%21xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY')\/items\/$entity","fileSystemInfo":{"createdDateTime":"2018-04-04T03:32:04Z","lastModifiedDateTime":"2018-11-11T23:06:11Z"},"folder":{"childCount":2},"id":"01D6JQORV6Y2GOVW7725BZO354PWSELRRZ","name":"root","parentReference":{"driveId":"b!xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY","driveType":"business"},"root":{}}
* Found bundle for host graph.microsoft.com: 0xc9bd20
* Re-using existing connection! (#2) with host graph.microsoft.com
* Connected to graph.microsoft.com (<IP_ADDRESS>) port 443 (#2)
> GET /v1.0/drives/b!xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY/items/01D6JQORV6Y2GOVW7725BZO354PWSELRRZ/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=MzslMjM0OyUyMzE7MztjN2NhNzE0Yy1lNDZlLTQ3ZjQtODQxNC1jMDhjZDRiZGIyNTg7NjM2Nzc5OTU3OTI5MDMwMDAwOzMwMzk0MTI3OyUyMzslMjM7JTIzNA HTTP/1.1
User-Agent: Phobos-std.net.curl/2.083 (libcurl/7.29.0)
Host: graph.microsoft.com
Accept: */*
Authorization: bearer <redacted>

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: 27012b1f-d84f-446f-9da5-5fced60750a3
< client-request-id: 27012b1f-d84f-446f-9da5-5fced60750a3
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Australia Southeast","Slice":"SliceC","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_0","ADSiteName":"ASE"}}
< OData-Version: 4.0
< Duration: 224.0949
< Strict-Transport-Security: max-age=31536000
< Date: Fri, 16 Nov 2018 20:10:33 GMT
<
OneDrive HTTP Server Response: 200
* Connection #2 to host graph.microsoft.com left intact
OneDrive API Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#Collection(driveItem)","@odata.deltaLink":"https:\/\/graph.microsoft.com\/v1.0\/drives\/b!xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY\/items\/01D6JQORV6Y2GOVW7725BZO354PWSELRRZ\/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=MzslMjM0OyUyMzE7MztjN2NhNzE0Yy1lNDZlLTQ3ZjQtODQxNC1jMDhjZDRiZGIyNTg7NjM2Nzc5OTU4MDcyNjMwMDAwOzMwMzk0MTI5OyUyMzslMjM7JTIzNA","value":[]}
Applying changes of Path ID: BC7D88EC1F539DCF!107
* Found bundle for host graph.microsoft.com: 0xc9bd20
* Re-using existing connection! (#2) with host graph.microsoft.com
* Connected to graph.microsoft.com (<IP_ADDRESS>) port 443 (#2)
> GET /v1.0/drives/bc7d88ec1f539dcf/items/BC7D88EC1F539DCF!107?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference HTTP/1.1
User-Agent: Phobos-std.net.curl/2.083 (libcurl/7.29.0)
Host: graph.microsoft.com
Accept: */*
Authorization: bearer <redacted>

< HTTP/1.1 400 Bad Request
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json
< request-id: bb50ce68-4f7d-4c28-b96d-167cc043c0ed
< client-request-id: bb50ce68-4f7d-4c28-b96d-167cc043c0ed
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Australia Southeast","Slice":"SliceC","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_0","ADSiteName":"ASE"}}
< Duration: 82.1671
< Strict-Transport-Security: max-age=31536000
< Date: Fri, 16 Nov 2018 20:10:33 GMT
<
OneDrive HTTP Server Response: 400
* Connection #2 to host graph.microsoft.com left intact
* Found bundle for host graph.microsoft.com: 0xc9bd20
* Re-using existing connection! (#2) with host graph.microsoft.com
* Connected to graph.microsoft.com (<IP_ADDRESS>) port 443 (#2)
> GET /v1.0/drives/bc7d88ec1f539dcf/items/BC7D88EC1F539DCF!107/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=aTE09NjM2NzY2NTI1ODcwODc7SUQ9QkM3RDg4RUMxRjUzOURDRiExMDc7TFI9NjM2Nzc1NzQzOTM4NDc7RVA9MTg7U0k9OTA7U0c9MTtTTz0yO1BJPTM HTTP/1.1
User-Agent: Phobos-std.net.curl/2.083 (libcurl/7.29.0)
Host: graph.microsoft.com
Accept: */*
Authorization: bearer <redacted>

< HTTP/1.1 400 Bad Request
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json
< request-id: d924531e-3cfc-4f84-b2c5-f01dabdfeb95
< client-request-id: d924531e-3cfc-4f84-b2c5-f01dabdfeb95
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Australia Southeast","Slice":"SliceC","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_0","ADSiteName":"ASE"}}
< Duration: 88.8821
< Strict-Transport-Security: max-age=31536000
< Date: Fri, 16 Nov 2018 20:10:34 GMT
<
OneDrive HTTP Server Response: 400
* Connection #2 to host graph.microsoft.com left intact
HTTP request returned status code 400 (Bad Request)
{
    "error": {
        "code": "-1, Microsoft.SharePoint.Client.InvalidClientQueryException",
        "innerError": {
            "date": "2018-11-16T20:10:34",
            "request-id": "d924531e-3cfc-4f84-b2c5-f01dabdfeb95"
        },
        "message": "The expression \"drives('bc7d88ec1f539dcf')\/items\/BC7D88EC1F539DCF!107\/delta\" is not valid."
    }
}
Syncing changes from OneDrive ...
Applying changes of Path ID: 01D6JQORV6Y2GOVW7725BZO354PWSELRRZ
* Found bundle for host graph.microsoft.com: 0xc9bd20
* Re-using existing connection! (#2) with host graph.microsoft.com
* Connected to graph.microsoft.com (<IP_ADDRESS>) port 443 (#2)
> GET /v1.0/drives/b!xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY/items/01D6JQORV6Y2GOVW7725BZO354PWSELRRZ?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference HTTP/1.1
User-Agent: Phobos-std.net.curl/2.083 (libcurl/7.29.0)
Host: graph.microsoft.com
Accept: */*
Authorization: bearer <redacted>

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: f5ff98b0-573c-4a58-8654-7f1c9f4604cf
< client-request-id: f5ff98b0-573c-4a58-8654-7f1c9f4604cf
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Australia Southeast","Slice":"SliceC","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_0","ADSiteName":"ASE"}}
< OData-Version: 4.0
< Duration: 161.7007
< Strict-Transport-Security: max-age=31536000
< Date: Fri, 16 Nov 2018 20:10:34 GMT
<
OneDrive HTTP Server Response: 200
* Connection #2 to host graph.microsoft.com left intact
OneDrive API Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#drives('b%21xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY')\/items\/$entity","fileSystemInfo":{"createdDateTime":"2018-04-04T03:32:04Z","lastModifiedDateTime":"2018-11-11T23:06:11Z"},"folder":{"childCount":2},"id":"01D6JQORV6Y2GOVW7725BZO354PWSELRRZ","name":"root","parentReference":{"driveId":"b!xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY","driveType":"business"},"root":{}}
* Found bundle for host graph.microsoft.com: 0xc9bd20
* Re-using existing connection! (#2) with host graph.microsoft.com
* Connected to graph.microsoft.com (<IP_ADDRESS>) port 443 (#2)
> GET /v1.0/drives/b!xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY/items/01D6JQORV6Y2GOVW7725BZO354PWSELRRZ/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=MzslMjM0OyUyMzE7MztjN2NhNzE0Yy1lNDZlLTQ3ZjQtODQxNC1jMDhjZDRiZGIyNTg7NjM2Nzc5OTU4MDcyNjMwMDAwOzMwMzk0MTI5OyUyMzslMjM7JTIzNA HTTP/1.1
User-Agent: Phobos-std.net.curl/2.083 (libcurl/7.29.0)
Host: graph.microsoft.com
Accept: */*
Authorization: bearer <redacted>

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: ac2af3c9-c42d-4c63-a926-2405487e9af0
< client-request-id: ac2af3c9-c42d-4c63-a926-2405487e9af0
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Australia Southeast","Slice":"SliceC","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_0","ADSiteName":"ASE"}}
< OData-Version: 4.0
< Duration: 173.4921
< Strict-Transport-Security: max-age=31536000
< Date: Fri, 16 Nov 2018 20:10:34 GMT
<
OneDrive HTTP Server Response: 200
* Connection #2 to host graph.microsoft.com left intact
OneDrive API Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#Collection(driveItem)","@odata.deltaLink":"https:\/\/graph.microsoft.com\/v1.0\/drives\/b!xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY\/items\/01D6JQORV6Y2GOVW7725BZO354PWSELRRZ\/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=MzslMjM0OyUyMzE7MztjN2NhNzE0Yy1lNDZlLTQ3ZjQtODQxNC1jMDhjZDRiZGIyNTg7NjM2Nzc5OTU4MDcyNjMwMDAwOzMwMzk0MTI5OyUyMzslMjM7JTIzNA","value":[]}
Applying changes of Path ID: BC7D88EC1F539DCF!107
* Found bundle for host graph.microsoft.com: 0xc9bd20
* Re-using existing connection! (#2) with host graph.microsoft.com
* Connected to graph.microsoft.com (<IP_ADDRESS>) port 443 (#2)
> GET /v1.0/drives/bc7d88ec1f539dcf/items/BC7D88EC1F539DCF!107?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference HTTP/1.1
User-Agent: Phobos-std.net.curl/2.083 (libcurl/7.29.0)
Host: graph.microsoft.com
Accept: */*
Authorization: bearer <redacted>

< HTTP/1.1 400 Bad Request
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json
< request-id: 87010ed2-2ff9-4a41-bc37-0fd5336045ec
< client-request-id: 87010ed2-2ff9-4a41-bc37-0fd5336045ec
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Australia Southeast","Slice":"SliceC","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_0","ADSiteName":"ASE"}}
< Duration: 92.6682
< Strict-Transport-Security: max-age=31536000
< Date: Fri, 16 Nov 2018 20:10:34 GMT
<
OneDrive HTTP Server Response: 400
* Connection #2 to host graph.microsoft.com left intact
* Found bundle for host graph.microsoft.com: 0xc9bd20
* Re-using existing connection! (#2) with host graph.microsoft.com
* Connected to graph.microsoft.com (<IP_ADDRESS>) port 443 (#2)
> GET /v1.0/drives/bc7d88ec1f539dcf/items/BC7D88EC1F539DCF!107/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=aTE09NjM2NzY2NTI1ODcwODc7SUQ9QkM3RDg4RUMxRjUzOURDRiExMDc7TFI9NjM2Nzc1NzQzOTM4NDc7RVA9MTg7U0k9OTA7U0c9MTtTTz0yO1BJPTM HTTP/1.1
User-Agent: Phobos-std.net.curl/2.083 (libcurl/7.29.0)
Host: graph.microsoft.com
Accept: */*
Authorization: bearer <redacted>

< HTTP/1.1 400 Bad Request
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json
< request-id: f413bb77-5bfd-4bde-b69b-37fbb6f16515
< client-request-id: f413bb77-5bfd-4bde-b69b-37fbb6f16515
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Australia Southeast","Slice":"SliceC","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_0","ADSiteName":"ASE"}}
< Duration: 83.8115
< Strict-Transport-Security: max-age=31536000
< Date: Fri, 16 Nov 2018 20:10:34 GMT
<
OneDrive HTTP Server Response: 400
* Connection #2 to host graph.microsoft.com left intact
HTTP request returned status code 400 (Bad Request)
{
    "error": {
        "code": "-1, Microsoft.SharePoint.Client.InvalidClientQueryException",
        "innerError": {
            "date": "2018-11-16T20:10:35",
            "request-id": "f413bb77-5bfd-4bde-b69b-37fbb6f16515"
        },
        "message": "The expression \"drives('bc7d88ec1f539dcf')\/items\/BC7D88EC1F539DCF!107\/delta\" is not valid."
    }
}
Syncing changes from OneDrive ...
Applying changes of Path ID: 01D6JQORV6Y2GOVW7725BZO354PWSELRRZ
* Found bundle for host graph.microsoft.com: 0xc9bd20
* Re-using existing connection! (#2) with host graph.microsoft.com
* Connected to graph.microsoft.com (<IP_ADDRESS>) port 443 (#2)
> GET /v1.0/drives/b!xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY/items/01D6JQORV6Y2GOVW7725BZO354PWSELRRZ?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference HTTP/1.1
User-Agent: Phobos-std.net.curl/2.083 (libcurl/7.29.0)
Host: graph.microsoft.com
Accept: */*
Authorization: bearer <redacted>

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: a1b578be-9e45-46da-81a1-c315f51caaa0
< client-request-id: a1b578be-9e45-46da-81a1-c315f51caaa0
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Australia Southeast","Slice":"SliceC","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_0","ADSiteName":"ASE"}}
< OData-Version: 4.0
< Duration: 150.9307
< Strict-Transport-Security: max-age=31536000
< Date: Fri, 16 Nov 2018 20:10:34 GMT
<
OneDrive HTTP Server Response: 200
* Connection #2 to host graph.microsoft.com left intact
OneDrive API Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#drives('b%21xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY')\/items\/$entity","fileSystemInfo":{"createdDateTime":"2018-04-04T03:32:04Z","lastModifiedDateTime":"2018-11-11T23:06:11Z"},"folder":{"childCount":2},"id":"01D6JQORV6Y2GOVW7725BZO354PWSELRRZ","name":"root","parentReference":{"driveId":"b!xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY","driveType":"business"},"root":{}}
* Found bundle for host graph.microsoft.com: 0xc9bd20
* Re-using existing connection! (#2) with host graph.microsoft.com
* Connected to graph.microsoft.com (<IP_ADDRESS>) port 443 (#2)
> GET /v1.0/drives/b!xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY/items/01D6JQORV6Y2GOVW7725BZO354PWSELRRZ/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=MzslMjM0OyUyMzE7MztjN2NhNzE0Yy1lNDZlLTQ3ZjQtODQxNC1jMDhjZDRiZGIyNTg7NjM2Nzc5OTU4MDcyNjMwMDAwOzMwMzk0MTI5OyUyMzslMjM7JTIzNA HTTP/1.1
User-Agent: Phobos-std.net.curl/2.083 (libcurl/7.29.0)
Host: graph.microsoft.com
Accept: */*
Authorization: bearer <redacted>

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: ecd03a3e-7b7d-489d-b2b3-e2ab3d870f14
< client-request-id: ecd03a3e-7b7d-489d-b2b3-e2ab3d870f14
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Australia Southeast","Slice":"SliceC","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_0","ADSiteName":"ASE"}}
< OData-Version: 4.0
< Duration: 180.7845
< Strict-Transport-Security: max-age=31536000
< Date: Fri, 16 Nov 2018 20:10:34 GMT
<
OneDrive HTTP Server Response: 200
* Connection #2 to host graph.microsoft.com left intact
OneDrive API Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#Collection(driveItem)","@odata.deltaLink":"https:\/\/graph.microsoft.com\/v1.0\/drives\/b!xA9hqR7mT0OL6Gku8YbuzTJ8oZmRnQZJu6-yDL49Zc5MccrHbuT0R4QUwIzUvbJY\/items\/01D6JQORV6Y2GOVW7725BZO354PWSELRRZ\/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=MzslMjM0OyUyMzE7MztjN2NhNzE0Yy1lNDZlLTQ3ZjQtODQxNC1jMDhjZDRiZGIyNTg7NjM2Nzc5OTU4MDcyNjMwMDAwOzMwMzk0MTI5OyUyMzslMjM7JTIzNA","value":[]}
Applying changes of Path ID: BC7D88EC1F539DCF!107
* Found bundle for host graph.microsoft.com: 0xc9bd20
* Re-using existing connection! (#2) with host graph.microsoft.com
* Connected to graph.microsoft.com (<IP_ADDRESS>) port 443 (#2)
> GET /v1.0/drives/bc7d88ec1f539dcf/items/BC7D88EC1F539DCF!107?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference HTTP/1.1
User-Agent: Phobos-std.net.curl/2.083 (libcurl/7.29.0)
Host: graph.microsoft.com
Accept: */*
Authorization: bearer <redacted>

< HTTP/1.1 400 Bad Request
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json
< request-id: e6b5e0d2-1774-41c3-b063-a2175e43b7b0
< client-request-id: e6b5e0d2-1774-41c3-b063-a2175e43b7b0
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Australia Southeast","Slice":"SliceC","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_0","ADSiteName":"ASE"}}
< Duration: 77.2214
< Strict-Transport-Security: max-age=31536000
< Date: Fri, 16 Nov 2018 20:10:35 GMT
<
OneDrive HTTP Server Response: 400
* Connection #2 to host graph.microsoft.com left intact
* Found bundle for host graph.microsoft.com: 0xc9bd20
* Re-using existing connection! (#2) with host graph.microsoft.com
* Connected to graph.microsoft.com (<IP_ADDRESS>) port 443 (#2)
> GET /v1.0/drives/bc7d88ec1f539dcf/items/BC7D88EC1F539DCF!107/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=aTE09NjM2NzY2NTI1ODcwODc7SUQ9QkM3RDg4RUMxRjUzOURDRiExMDc7TFI9NjM2Nzc1NzQzOTM4NDc7RVA9MTg7U0k9OTA7U0c9MTtTTz0yO1BJPTM HTTP/1.1
User-Agent: Phobos-std.net.curl/2.083 (libcurl/7.29.0)
Host: graph.microsoft.com
Accept: */*
Authorization: bearer <redacted>

< HTTP/1.1 400 Bad Request
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json
< request-id: b83ce821-c085-445e-a4fa-05ce233b76ee
< client-request-id: b83ce821-c085-445e-a4fa-05ce233b76ee
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Australia Southeast","Slice":"SliceC","Ring":"5","ScaleUnit":"001","Host":"AGSFE_IN_0","ADSiteName":"ASE"}}
< Duration: 137.0003
< Strict-Transport-Security: max-age=31536000
< Date: Fri, 16 Nov 2018 20:10:35 GMT
<
OneDrive HTTP Server Response: 400
* Connection #2 to host graph.microsoft.com left intact
onedrive.OneDriveException@src/onedrive.d(650): HTTP request returned status code 400 (Bad Request)
{
    "error": {
        "code": "-1, Microsoft.SharePoint.Client.InvalidClientQueryException",
        "innerError": {
            "date": "2018-11-16T20:10:35",
            "request-id": "b83ce821-c085-445e-a4fa-05ce233b76ee"
        },
        "message": "The expression \"drives('bc7d88ec1f539dcf')\/items\/BC7D88EC1F539DCF!107\/delta\" is not valid."
    }
}
----------------
src/onedrive.d:37 void onedrive.OneDriveApi.checkHttpCode(ref const(std.json.JSONValue)) [0x5af403]
src/onedrive.d:331 std.json.JSONValue onedrive.OneDriveApi.get(const(char)[], bool) [0x5ae4df]
src/onedrive.d:124 std.json.JSONValue onedrive.OneDriveApi.viewChangesById(const(char)[], const(char)[], const(char)[]) [0x5ad12a]
src/sync.d:414 void sync.SyncEngine.applyDifferences(immutable(char)[], const(char)[]) [0x5b963f]
src/sync.d:234 void sync.SyncEngine.applyDifferences() [0x5b8d9f]
src/main.d:443 void main.performSync(sync.SyncEngine, immutable(char)[], bool, bool, bool) [0x59e006]
src/main.d:312 _Dmain [0x59d89c]

Steps to Reproduce
Refer to debug log above
Thank you.

Appears to have resolved now


Connection reset when connecting to Oracle DB

I am trying to set up a connection to an Oracle 11g database via an SSH tunnel, but when I try to connect it just instantly gives me a connection reset error. Manually SSH'ing and connecting to the database works fine.
I'm using the ojdbc6 driver from the page that DBeaver told me to download it from.
What more information can I provide?

Make sure you set connection properties correctly. Usually database host name should be set to "localhost" when you work thru SSH tunnel.

The database I am trying to connect to is hosted by my university, so the details are a bit blurry.
I normally connect by SSH'ing to one of their linux computers and then connect via "sqlplus @". I am not entirely sure what the database name is though.

Well, there are two host names in case of SSH: target tunnel host (on SSH settings page) and database host name (on connection settings page). Target tunnel host must be accessible from your local machine.
When you establish SSH tunnel your network context is changed. Now you are on the tunnel target machine. So you have to specify database host name as it is visible from this machine.
To check your host name: connect to your target machine by some SSH software (as you usually do).
run telenet <host> 1521 where  is database host name. If you see "Connection refused" error then you need to use some other Oracle host name (internal network IP address?).
Note: you can't use Oracle TNS with SSH. Only direct host+port.

The telnet command just said that my hostname didn't exist, so I then looked up what the sqlplus command accepts. After digging around the script files that the school created for setting up things (sqlplus and whatnot doesn't work by default, we have to run a command first), I figured out that the hostname we had was actually a SID. I then managed to find the tnsnames.ora file, which contained the actual host address of the database (another machine on the school network, seemingly only accessible from within the network so still have to use the SSH tunnel).
After entering everything in the right place in DBeaver it now works! So happy, thanks a lot for the info!


Getting more done in Github with Zenhub

Hey everyone!
ZenHub is the only project management tool integrated natively in GitHub – created specifically for fast-moving, software-driven teams.
How do I use ZenHub?
To get set up with ZenHub, all you have to do is download the browser extension and log in with your GitHub account. Once you do, you’ll get access to ZenHub’s complete feature-set immediately.
What can ZenHub do?
ZenHub adds a series of enhancements directly inside the GitHub UI:

Real-time, customizable task boards for GitHub issues;
Multi-Repository burndown charts, estimates, and velocity tracking based on GitHub Milestones;
Personal to-do lists and task prioritization;
Time-saving shortcuts – like a quick repo switcher, a “Move issue” button, and much more.

Add ZenHub to Github
Still curious? See more ZenHub features or read user reviews. This issue was written by your friendly ZenHub bot, posted by request from @amitkumarj441

No thanks.


Error on case-sensitive names for table/fields/etc. in PostgreSQL

Hello all !
I am currently running Superset 0.18.4 on Docker, connecting with a PostgreSQL database linked to a Django project, containing table names and fields with capital letters.
When executing SQL queries outside of Superset, we have to double-quote each table name with the corresponding schema and each field containing capital letters.
The problem is that PostgreSQL will lowercase every names if they are not double-quoted.
So, when exploring data and when using SQL Lab, there are errors like 'relation "my_table" does not exist'.

[X] I have checked the superset logs for python stacktraces and included it here as text if any
[X] I have reproduced the issue with at least the latest released version of superset
[X] I have checked the issue tracker for the same issue and I haven't found one similar (except for #408 one year ago)

Superset version
0.18.4 (installed via pip)
Expected results
Working SQL queries even with case-sensitive table and field names.
Actual results
Errors because of automatic lower-case.
Steps to reproduce
Try to execute queries against a table and fields with capital letters in a PostgreSQL database.

Please if you found the same bug no need to open a new one, just subscribe to the other one. If you have more information than the one already reported just update it.

Notice: this issue has been closed because it has been inactive for 307 days. Feel free to comment and request for this issue to be reopened.


Minimum working MLinearCollection

Overview:
Basic implementation of the Python List API which maintains a parallel set of Mobjects that can be rendered.

Further Information and Comments
TODO

[x] Add docstrings to methods
[ ] Fix .animate syntax for methods

Merging to unstuck development


remove empty p

https://dev.azure.com/VP-BD/DECD/_boards/board/t/Service Canada Labs/Stories and Activities?System.WorkItemType=Activity
There was a paragraph tag with empty content adding space.  Removed that tag.

Check out a preview of your pull request here: https://app-servicecanadalabs-dev-pr-preview-1.azurewebsites.net

Check out a preview of your pull request here: https://app-servicecanadalabs-dev-pr-preview-1.azurewebsites.net


[$250] [HOLD for payment 2024-06-13] [QBO] Prevent the admin from making misconfiguration related to Locations and Vendor Bills / Checks

Prevent the admin from making configurations that result in the loss of Location information when expenses are exported to QBO. We will do that in the following two ways:

When the Location import is enabled, don't display the Vendor Bill or Check on the list of account type options for both reimbursable and non-reimbursable expense types.

When the Vendor Bill or Check is selected as the export option for either or both of the reimbursable and non-reimbursable expense types, lock the switch button for the Locations import configuration.

Refer to the following sections of the QBO design doc:

Don't display Vendor Bill or Check on the Reimbursable or Company Card export configuration pages when Location import is enabled.

Issue OwnerCurrent Issue Owner: @
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~017a7e95204bed8567
Upwork Job ID:<PHONE_NUMBER>249071105
Last Price Increase: 2024-06-13

working on the PR

Bump @rojiphil - is a checklist needed?
Payment Summary

C+: @rojiphil $250

@jliexpensify As this was an improvement, I think no checklist is required.
Accepted Offer. Thanks.

Paid and job closed!


Thread Safety of ActivityUtils

From<EMAIL_ADDRESS>on March 06, 2014 08:31:42
ActivityUtils doesn't lock its ActivityMonitor before calling ActivityMonitor#getLastActivity.
Looking at the ActivityMonitor source you can see that mLastActivity is guarded by a lock everywhere except for ActivityMonitor#getLastActivity. Thus, ActivityUtils should lock on its ActivityMonitor before calling ActivityMonitor#getLastActivity in activitySyncTimerTask in ActivityUtils#setupActivityStackListener.
I can't make a reproducible test case for this, but I see symptoms where I Solo#waitForActivity fails. I can see that my emulator has moved to the activity, but calls to Solo#getCurrentActivity return the previous activity. This could be the cause.
Original issue: http://code.google.com/p/robotium/issues/detail?id=586

From<EMAIL_ADDRESS>on March 06, 2014 11:47:06
Thanks for reporting this. We could explore if waitForActivity() can be used successfully instead of getLastActivity.
Status: Accepted
Owner<EMAIL_ADDRESS>

From<EMAIL_ADDRESS>on March 12, 2014 09:19:15
This change doesn't seem to work correctly for me. I find that when I use
  Solo.waitForActivity(MyActivity.class)

it's frequently failing when MyActivity is clearly the current Activity. The issue seems to be that waitForActivity() is being triggered by Activities that aren't at the top of the back stack, which results in the ActivityUtils.activityStack being incorrect.
I'd have thought this would have caused general problems, unless there's something odd that I'm doing to trigger the problem.

From<EMAIL_ADDRESS>on March 13, 2014 05:14:16
I've figured out the 'something odd': I had the Developer options -> Don't keep activities set on my device, and this seems to completely break the behaviour, not only on 5.0.1 but on earlier versions too.

From<EMAIL_ADDRESS>on March 13, 2014 05:17:40
I have sent you the 5.1 RC. Please let me know how the activity handling is working for you.

From<EMAIL_ADDRESS>on March 14, 2014 04:29:58
Thanks Renas that version you sent works well for me as long as I don't check the "Don't keep activities" option, whereas 5.0.1 seems to be unreliable even with that switched off.
I think some of my tests may need to be made more robust in terms of waiting for Activies to be fully loaded & set up in the "Don't keep activities" case, but I do see some failures right at the start when I'm waiting for my initial post-lanuch Activity to display, and it's clearly there.

From<EMAIL_ADDRESS>on March 14, 2014 04:44:45
I'm glad to hear that its working better for you. 5.1 will be released on Monday. Thanks for helping us test it.

From<EMAIL_ADDRESS>on March 16, 2014 23:10:10
Thanks again for reporting this. This has been fixed in 5.1.
Status: Verified


Chat Frontend

Create an interface for the chat feature

[ ] A page that shows who the user is chatting with
[ ] Shows all users that a user has chatted with


Use force_https_urls on when deploying with Cloud Run

Original title: datasette.absolute_url() should return https:// not http:// on Cloud Run
https://latest-with-plugins.datasette.io/github/issue_comments.Notebook?_labels=on currently provides http:// links, which break in Observable since it won't load http:// content.

https://latest-with-plugins.datasette.io/-/asgi-scope
{'asgi': {'spec_version': '2.1', 'version': '3.0'},
 'client': ('<IP_ADDRESS>', 54971),
 'headers': [(b'host', b'latest-with-plugins.datasette.io'),
             (b'user-agent',
              b'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:84.0) Gecko'
              b'/20100101 Firefox/84.0'),
             (b'accept',
              b'text/html,application/xhtml+xml,application/xml;q=0.9,image/'
              b'webp,*/*;q=0.8'),
             (b'accept-language', b'en-US,en;q=0.5'),
             (b'dnt', b'1'),
             (b'cookie',
              b'_ga_LL6M7BK6D4=GS1.1.16098865<IP_ADDRESS>9886923.0; _ga=GA1.1'
              b'.894633707.1607575712'),
             (b'upgrade-insecure-requests', b'1'),
             (b'x-client-data', b'CgSL6ZsV'),
             (b'x-cloud-trace-context',
              b'e776af843c657d2a3da28a73b726e6fe/14187666787557102189;o=1'),
             (b'x-forwarded-for', b'<IP_ADDRESS>'),
             (b'x-forwarded-proto', b'https'),
             (b'forwarded', b'for="<IP_ADDRESS>";proto=https'),
             (b'accept-encoding', b'gzip, deflate, br'),
             (b'content-length', b'0')],
 'http_version': '1.1',
 'method': 'GET',
 'path': '/-/asgi-scope',
 'query_string': b'',
 'raw_path': b'/-/asgi-scope',
 'root_path': '',
 'scheme': 'http',
 'server': ('<IP_ADDRESS>', 8080),
 'type': 'http'}

Note the 'scheme': 'http' but also the (b'x-forwarded-proto', b'https').

https://latest-with-plugins.datasette.io/-/asgi-scope
{'asgi': {'spec_version': '2.1', 'version': '3.0'},
 'client': ('<IP_ADDRESS>', 54971),
 'headers': [(b'host', b'latest-with-plugins.datasette.io'),
             (b'user-agent',
              b'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:84.0) Gecko'
              b'/20100101 Firefox/84.0'),
             (b'accept',
              b'text/html,application/xhtml+xml,application/xml;q=0.9,image/'
              b'webp,*/*;q=0.8'),
             (b'accept-language', b'en-US,en;q=0.5'),
             (b'dnt', b'1'),
             (b'cookie',
              b'_ga_LL6M7BK6D4=GS1.1.16098865<IP_ADDRESS>9886923.0; _ga=GA1.1'
              b'.894633707.1607575712'),
             (b'upgrade-insecure-requests', b'1'),
             (b'x-client-data', b'CgSL6ZsV'),
             (b'x-cloud-trace-context',
              b'e776af843c657d2a3da28a73b726e6fe/14187666787557102189;o=1'),
             (b'x-forwarded-for', b'<IP_ADDRESS>'),
             (b'x-forwarded-proto', b'https'),
             (b'forwarded', b'for="<IP_ADDRESS>";proto=https'),
             (b'accept-encoding', b'gzip, deflate, br'),
             (b'content-length', b'0')],
 'http_version': '1.1',
 'method': 'GET',
 'path': '/-/asgi-scope',
 'query_string': b'',
 'raw_path': b'/-/asgi-scope',
 'root_path': '',
 'scheme': 'http',
 'server': ('<IP_ADDRESS>', 8080),
 'type': 'http'}

Note the 'scheme': 'http' but also the (b'x-forwarded-proto', b'https').

Easiest fix would be for publish cloudrun to set force_https_urls:
datasette publish now used to do this: https://github.com/simonw/datasette/blob/07e208cc6d9e901b87552c1be2854c220b3f9b6d/datasette/publish/now.py#L59-L63

Easiest fix would be for publish cloudrun to set force_https_urls:
datasette publish now used to do this: https://github.com/simonw/datasette/blob/07e208cc6d9e901b87552c1be2854c220b3f9b6d/datasette/publish/now.py#L59-L63

Deploying that change now to test it.

Deploying that change now to test it.

Issue fixed - https://latest-with-plugins.datasette.io/github/issue_comments.Notebook?_labels=on displays the correct schemes now.
I can't think of a reason anyone on Cloud Run would ever NOT want the force_https_urls option, but just in case I've made it so if you pass --extra-options --setting force_https_urls off to publish cloudrun your setting will be respected.
https://github.com/simonw/datasette/blob/97fb10c17dd007a275ab743742e93e932335ad67/datasette/publish/cloudrun.py#L105-L110

Issue fixed - https://latest-with-plugins.datasette.io/github/issue_comments.Notebook?_labels=on displays the correct schemes now.
I can't think of a reason anyone on Cloud Run would ever NOT want the force_https_urls option, but just in case I've made it so if you pass --extra-options --setting force_https_urls off to publish cloudrun your setting will be respected.
https://github.com/simonw/datasette/blob/97fb10c17dd007a275ab743742e93e932335ad67/datasette/publish/cloudrun.py#L105-L110


io/linux: Add support for using block devices as datafiles

Tested on my local machine.
Currently, this does not check that tigerbeetle format is not overwriting an existing datafile.
I'm not entirely sure what the semantics for tigerbeetle format on block devices should be.
Some thoughts:

a confirmation dialog could be good? but not good for scripting, though the standard solution there is to add another command line argument (but then we have to rework the interface which is maybe worth it)
it's hard to detect whether we're overwriting stuff at all, since I don't think we have a tigerbeetle datafile magic

it's hard to detect whether we're overwriting stuff at all, since I don't think we have a tigerbeetle datafile magic

This worries me a bit - things like someone accidentally overwriting their filesystem (or TigerBeetle datafile) by specifying the wrong data path.
Maybe a good enough solution would be to check that the first X MB are zero'd? That way, we don't need our own magic, and we don't need an override (if they want to script it, they can use dd as part of the same script too).

@sm2n after chatting a bit more with Joran, if we're on a block device, we can check that the first superblock_zone_size of a device is zero'd:

It'll ensure that the block device is not directly TigerBeetle.
It'll be very likely to catch any cases where there's an existing other filesystem.
In the case of there being a partition table (eg, two partitions, one starting at 0MB, one at 1024MB) and the operator tries to format the raw disk (/dev/sda) while a partition later is TigerBeetle (/dev/sda2) it'll be blocked by the MBR/GPT existing.

I like the solution of checking if the superblock is empty. I ended up pasting @cb22's summary of the solution into the code, since I thought it was well written.
Now the code does actually check if the superblock is empty.

@sm2n we've just rewritten our git history:
https://github.com/tigerbeetle/tigerbeetle/commit/d7c3f4654ea7c65b6d141be33dadd29e869c3984
Please rebase the changes on top of new main, and sorry for the inconvenience!

No big deal, 30s in interactive rebase did it.

Let’s merge it, to gauge our benchmark variance before dropping balance indexes!


[☂ Bug] Memory leaks: relay stress test

Objective
Enumerate unique causes of memory leaks evident in the relay stress test scenario. This issue to be closed when all leaks tracked by it are resolved.
Origin Document
Poktrolld leaks (localnet port 9090):

Supporting documentation:

Debugging > Memory Leaks (notion)

Goals

Distinguishing & tracking known memory leaks.
Facilitating the creation of issues for unique memory leaks.

Deliverables

...

Non-goals / Non-deliverables

...

General deliverables

[ ] Comments: Add/update TODOs and comments alongside the source code so it is easier to follow.
[ ] Testing: Add new tests (unit and/or E2E) to the test suite.
[ ] Makefile: Add new targets to the Makefile to make the new functionality easier to use.
[ ] Documentation: Update architectural or development READMEs; use mermaid diagrams where appropriate.

Creator: @bryanchriswhite
Co-Owners: @red-0ne

#450 added some reader closures that might have been a part of the problem, I can check if the situation changed at all on main branch with this change.
I think the best way to troubleshoot it is to expose pprof on a separate port (configurable via the config file): https://pkg.go.dev/net/http/pprof - I can pick it up next week

I think the best way to troubleshoot it is to expose pprof on a separate port (configurable via the config file): pkg.go.dev/net/http/pprof - I can pick it up next week

Please add a TODO in the appropriate place (or create an issue if you think it needs one) depending on how long git'll take.

Closing as memory leaks seem to have subsided (for now) as a result of continued work in load testing and complete integration. :muscle:

~Closing as memory leaks seem to have subsided (for now) as a result of continued work in load testing and complete integration.~ 💪
Re-purposing to include go routine leaks.

@bryanchriswhite  Sgtm, but for future go-leaks, please create new tickets. I anticipate this won't be the last one.
Also, smaller PRs.

Worked on it in scope of #551.


Add support for tracing request

We should be able to know exactly what was the life cycle from a request.
It should tell us the rules and steps it took to get the final result.
Also, a panel for that on the page would be pretty useful.

This is already done, right?
https://github.com/NascHQ/dsw/pull/30

Yes, up and running on 1.9.2


Write throws exception error 400

I'm attempting to use this with influx 1.7.10 on a raspberry pi 4. I'm attempting to add data but it fails consistently. If I write one data point per write call two succeed until failure. If I attempt to do all of the data in a single call nothing is written. Using http protocol.
#include <InfluxDBFactory.h>
#include <iostream>

using namespace influxdb;
int main() {

auto db = InfluxDBFactory::Get("http://localhost:8086/?db=LTZ1000");
db->write(Point{DB_Date}.addField("reading", 7.1));
db->write(Point{DB_Date}.addField("temp", 23));
}

That works, but any further writes will fail. If attempting to do even the two fields in a single write call also fails.

Updated influxdb to 1.8, updated all of the dependencies and rebuilt. Working ok now.


Model running on CPU when using NNAPI even with NnApiDelegate.Options().useNnapiCpu = false

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
No
Source
binary
Tensorflow Version
tensorflow-lite 2.12.0
Custom Code
Yes
OS Platform and Distribution
No response
Mobile device
Google Pixel 7
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
I am running the OpenAI whisper tiny model on Android using the TensorFlow Lite NNAPI delegate. It seems to be running on the CPU instead of the hardware accelerator on the Google Pixel 7 even though "NnApiDelegate.Options().useNnapiCpu = false" is set.
Standalone code to reproduce the issue
NnApiDelegate.Options().useNnapiCpu = false

Relevant log output
W  Access denied finding property "ro.mediatek.platform"
W  Access denied finding property "ro.chipname"
W  Access denied finding property "ro.hardware.chipname"
I  Created TensorFlow Lite XNNPACK delegate for CPU.

Apologies, it seems I wasn't passing options when creating the Interpreter. Now it is crashing with
java.lang.RuntimeException: java.lang.IllegalArgumentException: Internal error: Error applying delegate:
            I'll make a new issue for that.


Restricted general access to invites

As discussed, the idea is to allow users to have general access to invites (with some restrictions). To prevent runaway effect all newly invited users will have the ontrial flag, that restricts their rights to karma voting and inviting new users, until several conditions are not met:

at least three days passes since registration
certain content rating threshold is met (s.r. score >= 2, see #94, #89)
enough karma votes are accumulated (which directly and indirectly cover a significant percentage of the community, more on that later)

Invite accessibility rules:

every user with full rights can have at least one invite
for every active and "successful" "child" parent gets one additional invite per wait period (initially the period is one week)
every "child" rejected by the community extends the waiting period by one week (i.e. if you invited three people who were rejected, you'll be getting 1 invite per month).

Initial implementation:

add DB support
add ontrial flag for the user object
karma voting for the user with ontrial status removes ontrial status when the majority consensus is reached
user profile shows progress to the full rights, invite reason and the list of trial voters

@pazoozoo42

I would also do the following:
On the /profile/invites page don't make invite URL a link, but replace it with copying on click functionality.

Funny thing about that, that's how it would work on prod when the clipboard API is present. The bug was in e.preventDefault(); call after the return if the clipboard API is not available.

And emphasize with CSS that invite is being regenerated and invite code is changed when they click "Отозвать" button

Good idea, however, with the current implementation it's a headache to add. The outcome is not worth the time atm (IMO).

Rebased onto dev to resolve conflicts.


Point pdf links to local files downloaded - feature request

Is there any possibility that the original pdf file be modified to make the original link to point to the locally downloaded files?
A second, more interesting option would be to combine all pdf's in a single one and change every link to point internally at the specified page.
That would be interesting for example to save documents (PhD Tesis, Master Tesis, etc) in a single document that can be saved for long time without losing content.

I'm also looking for a way to rewrite URLs in a PDF file, though my use case would be to update links to point to a new location only. Any tool or method that does this would be wonderful.


Revert getOffsetForCaret logarithmic search fix

Reverts https://github.com/flutter/flutter/pull/143954 (originally https://github.com/flutter/flutter/pull/143281, CC @LongCatIsLooong). It's causing some crashes that seem to be coming from this line:
https://github.com/flutter/flutter/blob/e11b5f3cc20abf555e595944acfb295e92182481/packages/flutter/lib/src/painting/text_painter.dart#L1472
I would try to fix the underlying problem, but it's not immediately clear to me what's wrong there.
This was a big revert that conflicted with a few subsequent PRs (I noticed https://github.com/flutter/flutter/commit/3295a48f171980dda669b96b2cd5b49c91fdf469 and https://github.com/flutter/flutter/pull/144308), so those should be looked at when this is relanded.

it's easier to fix this forward. Is there a repro that I can add as a test?

Is there a repro that I can add as a test?

We don't have any concrete scenarios where this can be reproduced unfortunately. Our monitoring tools flagged this exception.
Is single the right call here? Can you think of scenarios where there might be more than 1 box?

it's easier to fix this forward.

https://github.com/flutter/flutter/wiki/Tree-hygiene?ref=200lab.io#tldr seems to suggest otherwise. It is almost always better to just rollback a regression.  If this can't be rolled back without complications I'd suggest making checks before calling single and throwing meaningful information so that we can have a better understanding of what's going on
if (boxes.length != 1) {
  throw 'What is going on? got a looooot of boxes ${generateNiceDebugInfo(boxes)}' ;
}
final TextBox box = boxes.single;

Yeah the single is too aggressive. We're probably breaking up grapheme clusters. I think I should be able to repro with the text in https://github.com/flutter/flutter/issues/144528 and add a temporary fix for the crash.
The revert has conflicts since it's been two months, and it breaks customer tests, so I think it's riskier (and the fix may need a CP since I think it's in the stable).

The revert has conflicts since it's been two months, and it breaks customer tests, so I think it's riskier (and the fix may need a CP since I think it's in the stable).

Thank you for providing rationale. Totally makes sense. Agree on fixing forward.

I think I should be able to repro with the text from https://github.com/flutter/flutter/issues/144528 and add a temporary fix for the crash.

Awesome! In parallel I'll work with internal teams to see if we can understand better how / where this is breaking.
Appreciate the help :handshake: !

We're already handling boxes being empty and a single box - perhaps we should just not assume what the engine will do and handle .length > 1 also which I guess may happen, besides #144528, with odd or buggy fonts. Not sure how to test this though as we call ui.Paragraph.getBoxesForRange().
    if (boxes.isNotEmpty) {
      final TextBox box = boxes.single;
    } else {

Closing as this has been worked around in https://github.com/flutter/flutter/pull/146669 and should not require a revert.


Pause selected & playing video on explicit PlayerView event

Hi there, @eneim!
Is there any elegant solution to pause currently playing item(s) in case user is commanding another visible & selected item's PlayerView to start playback explicitly via controller for instance?
Intercepting this event and notifying selected ToroPlayers doesn't look like nice approach. Do you have any ideas here? Thank you!

Loop through the recycler view that has the list of videos then pause them individually. Here is a snippet of my Kotlin code that does the same:
val activePlayers = timelineRecyclerView.filterBy(Container.Filter.PLAYING)
activePlayers
.filterIndexed { index, item ->
index != adapterPosition && item.playerView !== simpleExoPlayerView
}
.forEach { it.pause()
}

@Davidvete so that's it, I'm not happy with that approach and wondering if that's possible to solve it with PlayerSelector or something :D

@DummyCo @Davidvete let me think about this. At the moment, it can think of container#filter() where you can get all current playing items, and then manually pause expected ones. But with this, once user scroll or just interact with the screen, it will refresh them all. Will see what I can do :-?.

@DummyCo trying a few options including a customer ControllerDispatcher, what I'm wondering now is how to pack from 'manual control' to 'automatic control'. The behaviour is tight to UX, which is close to your app's requirement actually. Do you have some idea about how you would like it to behave?

@DummyCo @Davidvete Long time no update, can you take a look at this commit  and see if it works in your case?

@eneim sorry for such long response pause, there was no chance to check it out, will give a feedback ASAP.
Thank you so much for all the participation!

@DummyCo It is fine. In fact I just make some update for this few days ago >.<. Would like to have this as an option for next release as well.


Add deserialization for RelayMessage::Auth

Description
There was no implementation for deserialization of RelayMessage::Auth
Checklists
All Submissions:

[x] I've signed all my commits
[x] I followed the contribution guidelines
[x] I ran make precommit before committing

Thank you!


holiday-data is a wrong data

test Demo
                 {name: "test0", fields: fields{Date: "2018-01-01"}, want: true, got:false},
		{name: "test1", fields: fields{Date: "2019-01-01"}, want: true, got:false},
		{name: "test2", fields: fields{Date: "2020-01-01"}, want: true, got:false},

thanks ur issue, fix it, pls retry


[#37] migrate package name to io.github.ztkmkoo

Closes #37

Complete the review.

Coverage remained the same at 86.034% when pulling a6e1969bf14fcf54263cafb9cafb890994210f91 on feature/37_migrate_package into 9e5b86e52c975b7066ab1bb94a537188b51da27f on develop.


Next button doesn't show up even with showNext: true

Once hidden in previous steps, the next button doesn't show up anymore unless the event_type is set to next.
In majority of scenarios it makes sense to only show the next button, if there is no other trigger specified. However, there are some cases where the step is 'optional' and user may simply just go on without performing the action.
Having showNext as an option doesn't make sense if it is not enforced.

Fixed.

Fixed.


[vue-query]: Different queryCache behavior on SSR for Nuxt3 and Nuxt2

Describe the bug
The behavior for queryClient using server-side rendering is different and works incorrectly in Nuxt2/Vue2. On Nuxt3/Vue3 the expected behavior occurs.
In Nuxt 3, the queryCache is likely reset for each request. This is not the case in Nuxt 2.
This leads to unexpected behavior in the following example use case.
When user 1 requests a page, the list of to-dos belonging to user 1 is fetched and displayed. User 2 then accesses the site, but when the page is loaded on the client, the list of to-dos belonging to User 1 is displayed, and the to-dos belonging to User 2 are not displayed until after the refetch on the client page. This creates a privacy issue.
This use case is shown as an example in the two repos. To simulate two different users, the url param is set differently. This is to symbolize the different responses from a server.
Your minimal, reproducible example
Nuxt 2:
https://codesandbox.io/p/devbox/gracious-hermann-lkc3rq?workspaceId=684c7eda-e5ab-41ca-9242-874b5f17c5ae
Nuxt 3:
https://codesandbox.io/p/devbox/proud-wood-h3syhd?workspaceId=684c7eda-e5ab-41ca-9242-874b5f17c5ae
Steps to reproduce

Get the nuxt app to running
Open the website in one tab with the following url: /abc
Open the website in a second tab with the following url: /123
Reload the first tab
Reload the second tab

Do this for both repos and you will see that the behavior is different and you will see that the logs in the browser devtools and the terminal are different.
Expected behavior
The Behaviour on Nuxt2/Vue2 should be the same as on Nuxt3/Vue3.
How often does this bug happen?
Every time
Screenshots or Videos
Nuxt 2:
https://github.com/user-attachments/assets/574214fb-b50e-4af0-84d2-b5a2cfe15588
Nuxt 3:
https://github.com/user-attachments/assets/b5715d5e-4fa0-4023-a646-4331a83cbc8a
Platform

OS: [macOS]
Browser: [Chrome, Firefox]

Tanstack Query adapter
vue-query
TanStack Query version
v5.51.21
TypeScript version
No response
Additional context
No response

You are right.
This is due to the fact that in Vue2, Vue instance is shared across requests.
Clearing it between requests is not enough, cause there might be couple requests in-flight at the same time.
I believe you might achieve proper per-request separation with slight modification of the plugin and component code.
Sandbox with the fix
Plugin code:
import Vue from "vue";
import { VueQueryPlugin, QueryClient, hydrate } from "@tanstack/vue-query";

export default (context) => {
  // Modify your Vue Query global settings here
  const queryClient = new QueryClient({
    defaultOptions: { queries: { staleTime: 5000 } },
  });

  if (process.server) {
    context.ssrContext.VueQuery = queryClient;
  }

  if (process.client) {
    Vue.use(VueQueryPlugin, { queryClient });

    if (context.nuxtState && context.nuxtState.vueQueryState) {
      console.log(
        "Hydrating state from server",
        context.nuxtState.vueQueryState
      );
      hydrate(queryClient, context.nuxtState.vueQueryState);
    }
  }
};

In component, move queryClient retrieval to the top and pass queryClient to each useQuery call as a second parameter:
const { ssrContext } = useContext();
const queryClient = (ssrContext != null && ssrContext.VueQuery) || useQueryClient()

const { data: data1, suspense } = useQuery({
  queryKey: ["todos"],
  queryFn: fetcher,
}, queryClient);

First of all, thank you for your reply that helped a lot.
I was missing the first information, and then I did some more research. I found out that the problem is also called cross-request state pollution. The difference in the two examples in the documentation is that the Nuxt 3 example uses the useState Composable. This fixes the problem by creating a separate state object for each request.
In any case, I would expect the two examples in the documentation to have the same behavior, or at least in the Nuxt 2 example a hint of the potential problem.
Yes, I am looking for a solution that implements a version for creating queryClient per request. Is there perhaps another suggestion, as unfortunately this one requires a lot of refactoring and also attention must be paid in the future.

Docs have been updated.
Difference in behavior is because in Vue2 Vue instance is shared between requests.
If you find a better way to simplify Nuxt2 setup, please open a PR.


bazel: 0.4.4 -> 0.4.5

Also added zsh and bash completion support
Motivation for this change
New version, and I wanted bash completion to work.
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

cc maintainer @philandstuff


Handle nreads="variable"

Just stumbled upon this record. It broke my regex...

Hi nelas , im new on github. I was working on something very very similar to this project, so I was testing your code and i found the same problem. I worked out catching the exception and assigning it nread = 0. Since im not really good with regex was my first option.
try:
     self.nreads = int(fields['nreads'])
except:
     self.nreads = 0

Hi @victorfica, that's a good suggestion! Thanks. Have you bumped into any record that the number of reads is actually variable? The example I found is simply a single-end, from what I can tell.
I'm just deciding whether it's worth to set the value to 0 or simply set it to 1, since they should all be at least single-end :smile:


Which files need to be hosted

Hi @vvvmax
We are cdnjs team, we want to host your project on cdnjs.
But I don't know which files in this repo need to be added, could you help up find out the main files?
Thank you.
https://github.com/cdnjs/cdnjs/issues/7032

Hi.
Please you welcome :)
there are the plugin files:
https://github.com/vvvmax/unitegallery/tree/master/package/unitegallery
in the package/unitegallery folder.
This would be enought for show the gallery on any site.
if you missing something more that I can do like adding some tag or
something, please let me know.
On Wed, Apr 13, 2016 at 9:16 AM, Daniel Wang<EMAIL_ADDRESS>wrote:

Hi @vvvmax https://github.com/vvvmax
We are cdnjs https://github.com/cdnjs/cdnjs team, we want to host your
project on cdnjs.
But I don't know which files in this repo need to be added, could you help
up find out the main files?
Thank you.
cdnjs/cdnjs#7032 https://github.com/cdnjs/cdnjs/issues/7032
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/vvvmax/unitegallery/issues/63


Add TYPE_WHITELIST option

Env var called TYPE_WHITELIST, where you can specify a comma-delimited list of kbase type names that you want to index.
This will filter out any events for objects that do not have a type in the list. No processing will happen for that event.
The whitelist can take either versioned or unversioned type names. If versioned, then the type name must match that in the event exactly. If unversioned, then any version of that type will be indexed.
cc @scanon

PR #149
Env vars are SKIP_TYPES and ALLOW_TYPES


Docket.ignoredParameterTypes() removes classes completly

Just migrated our project from swagger-springmvc to springfox 2.1.2 and recognized, that my ignoredParameterTypes are missing completely in swagger:
swagger-springmvc:

springfox:

SwaggerConfig:
Just ignoring org.joda.time classes
        return new Docket(DocumentationType.SWAGGER_2)
            .apiInfo(new ApiInfo("IBS", "REST services", apiVersion, null, null, null, null))
            .ignoredParameterTypes(DateTime.class)
            .ignoredParameterTypes(LocalDate.class)
            .ignoredParameterTypes(LocalTime.class)
            .ignoredParameterTypes(LocalDateTime.class)
            .pathMapping("/api/v1")
            .groupName("1_rest")
            .select()
            .paths(ibsRestPaths())
            .build();

@thomseno that was a bug unfortunately. the right way to hide properties is to either use an annotation to mark it as such @ApiModelProperty(hidden=true). Or if you're only hiding it cos its generating deep models you don't care about consider using the docket.directModelSubstitute(LocalDate.class, String.class)

Hi @dilipkrish thanks for the answer. The intention was to prevent generation of deep models. But if I use docket.directModelSubstitute(LocalDate.class, String.class) the original type of the field (LocalDate) will not be visible anymore, because something like this will be generated:
{
    "printId": "string",
    "printDate": "string"
}

So if I have something like this
{
    "validFrom": "string",
    "validTo": "string"
}

it's hard to decide what input the service expects (LocalDate or LocalDateTime). So how do I handle this?

@thomseno that could go in the description via @ApiModelProperty#notes

@thomseno you can use this:
docket
.directModelSubstitute(LocalDate.class, java.sql.Date.class)
.directModelSubstitute(LocalDateTime.class, Date.class)

You will get
                "localdate":
                {
                    "type": "string",
                    "format": "date"
                },
                "`localdatetime":
                {
                    "type": "string",
                    "format": "date-time"
                },


DelayedJob script vs. Rake task

I'm in process of spinning up multiple instances on Heroku for Omniscope, and I was looking at the start command for the workers, script/delayed_job.rb. I didn't know if this file was offering something beyond the included rake task that comes with DelayedJob, rake jobs:work?
As far as I can tell, the script is:

initializing the environment, which the rake task also does,
then running the worker in the background (daemonize)

Running in the background is not something needed in my case where I'm deploying to Heroku. It also feels like it is not needed when starting the app with foreman. So my questions are:

Have I missed something and I should use script/delayed_job.rb to start my workers?
If I haven't missed something, is a pull request warranted to remove script/delayed_job.rb?

I think we can remove the script, daemonizing is not needed in any of the setups we support.

I'm looking at the Procfile, the section with dj2..dj10. There's no easy way to assign an instance number to the rake task version that I can see. I'm going to close this issue unless it's a hot issue for someone else.


Missing Rich Text Notifications

Hello everyone,
I have installed the adapter a few days ago and I'm glad that it works so fine :)
But since I activated the adapter and connected it with the ring app, I don't get an image in my ring doorbell notifications. (I have deactivated the notifications for movements). Sometimes a picture pops up but in the main time I only get the notification that someone is at the door.
There weren't any problems with the notifications before activation.
May you help me?
Thanks.
Kind regards
Simon F.

I have rechecked the ring app and I saw that those rich text notifications are only available when you subscribe the ring protect plan.


Fix for #1479: Blobs uploaded via Azure module with uuid mode get .undefined extension if original filename has no extension

Fix for #1479: Blobs with uuid mode get .undefined extension if original filename has no extension

I forgot to ask you this in previous PRs, but do you agree to give up any future claims you may have to the code in this PR, since it will become part of Fine Uploader for which Widen holds a copyright?

I think I had to sign something when I first sent you a PR? But the form was broken, so I agreed textually in the PR discussion.
So, again, agreed!

See: https://github.com/FineUploader/fine-uploader/pull/1404#issuecomment-100174281

Thanks for the fix. I just merged into develop and added a unit test to cover this.


Tx from Private key is a 'coming feature' ? Now my ZCL is in NO wallet.

Please instruct how to retrieve ZCL back into a wallet.  Sent ZCL from swing wallet private address to zcl-electrum 2fa wallet that now says Tx = 1, funds = 0.0.  Yes, I would have taken everyone's word that zclassic swing wallet would be fine, though it was implied this is the one being supported directly.

https://github.com/BTCP-community/electrum-zcl/releases/tag/Z!1.0.3
@dStorm-x58
Please try this build - it now supports T->Z txns. Let me know if everything becomes visible.
Thank you

It worked!  Thank you very much.  And for the other user that was in the same boat, you mentioned v1.0.3 supports T->Z txns, and this resolved my Z->T txn.  So I guess it fixed all txns between public and private keys. Thank you again.

You're welcome


x/review: use alternative remote repository

What version of Go are you using (go version)?

$ go version
go version go1.12.1 linux/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/user/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/user/go"
GOPROXY=""
GORACE=""
GOROOT="/home/user/.local/share/umake/go/go-lang"
GOTMPDIR=""
GOTOOLDIR="/home/user/.local/share/umake/go/go-lang/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/user/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build019412724=/tmp/go-build -gno-record-gcc-switches"

What did you do?
git codereview mail

What did you expect to see?
remote: Processing changes: refs: 1, new: 1, done
remote:
remote: SUCCESS
remote:
remote:   https://go-review.googlesource.com/c/gddo/+/123456 pkg: commit message [NEW]
remote:

What did you see instead?

In #9266, this high level issue was identified: git-codereview only references the origin remote when pushing changes. While this behavior is probably nice in preventing unnecessary configuration via git branch --set-upstream-to=, but it makes having an origin that does not point to go.googlesource.com impossible. Would it be possible to read the remote out of the gitconfig or allow overriding via flags?

@josharian


upload_location not working for the first post

def upload_location(instance, filename):
    #filebase, extension = filename.split(".")
    #return "%s/%s.%s" %(instance.id, instance.id, extension)
    PostModel = instance.__class__
    new_id = PostModel.objects.order_by("id").last().id + 1
return "%s/%s" %(new_id, filename)

This does not work if there is no post in the database. Add some exception handling and set new_id default to 1 would work.

Also, use post_delete signal to delete image file when deleting a post instance would be good.


ui-router-ng2 + angular-cli + lazyload

I try use lazyload using angular (2.0.2) + angular-cli (1.0.0-beta.17) with ui-router-ng2 (1.0.0-beta.3), but when call the state, the module is not found, i see this message in console:

Error: Cannot find module 'app/login/login.module'.

My folder structure is:
myProject/src/app/login/login.module
I try use:
{ name: 'login', url: '/login',  lazyLoad: loadNgModule('/src/app/login/login.module')}
{ name: 'login', url: '/login',  lazyLoad: loadNgModule('src/app/login/login.module')}
{ name: 'login', url: '/login',  lazyLoad: loadNgModule('/app/login/login.module')}
{ name: 'login', url: '/login',  lazyLoad: loadNgModule('./app/login/login.module')}
{ name: 'login', url: '/login',  lazyLoad: loadNgModule('app/login/login.module')}
but always return Cannot find module

Can you see what URL the browser fetches? In Chrome Dev Tools, open the "Network" tab and look for the 404 fetch.

Ahh, I see that angular-cli uses webpack2's automatic code splitting feature.   For this to work, we need to aSystem.import() call in the routes file.    We also need support for more than a string as a parameter to the loadNgModule function.
There's a merged PR #3037 which adds this capability and will be released as 1.0.0-beta.4 fairly soon.

When ui-router-ng2 1.0.0-beta.4 arrives: The magic incantation for lazy loading from angular-cli (with webpack 2) is:
{
  name: 'login',
  url: '/login',
  lazyLoad: loadNgModule(() => System.import('./app/login/login.module'))
}

closing via #3037


Fix undefined is not an object error in getRecentTracks

Getting this error:
150 |         });
151 |         return {
152 |             search: {
153 |                 user: attr.user,
154 |                 nowPlaying: trackMatches[0]['@attr']?.nowplaying === 'true',
                                  ^
TypeError: undefined is not an object (evaluating 'trackMatches[0]["@attr"]')
      at node_modules/@solely/simple-fm/dist/classes/user.class.js:154:29

Kind of an unlikely edge case, but if the user has no scrobbles then trackMatches[0] is undefined

Thank you!

Might take a bit until this hits NPM. The GitHub Actions workflow I have that is responsible for updating the version is broken atm.


C++ example code

Hello,
I tried to create a C++ example code to duplicate the python example.
I am stuck at accessing SpectrumC data as in the below code. How to access SpectrumC data to read out image pixels?
and also do you have any C++ example code?
Thank you,
void main() {
psdr::Scene scene;
scene.load_file("data/scenes/cbox_bunny.xml", false);
scene.configure();

psdr::DirectIntegrator integrator(2, 2);

int sensor_id = 0;
psdr::SpectrumC image = integrator.renderC(scene, sensor_id);

//  save image to a file
}

you will need to include <psdr/fwd.h> with psdr namespace

Thank you for your reply.
It seems not what I want to know.
SpectrumC is a GPU dynamic array.
I don't know how to accumulate it.
It is very hard to program without an example or documentation.
void main() {
psdr::Scene scene;
scene.load_file("data/scenes/cbox_bunny.xml", false);
scene.configure();
psdr::DirectIntegrator integrator(2, 2);
int sensor_id = 0;
psdr::SpectrumC image = integrator.renderC(scene, sensor_id);
// This doesn't work
for (int i=0; I< 20; i++) {
image += integrator.renderC(scene, sensor_id);
}
}

for this part, you can check enoki c++ interface: https://enoki.readthedocs.io/en/master/gpu.html#c-interface
You also want to check how to use scatter_add/scatter function in enoki for such accumulate method.

Thank you. I'll try it.


Device Debugging on Android failing

Hi, I'm not sure if this is the best place to raise this as I'm not entirely sure if it's a problem with the App, Visual Studio, or my phone itself.
I had a lot of issues getting the Android version to debug on my Samsung S7.

The application could not be started. Ensure that the application has been installed to the target device and has a launchable activity (MainLauncher = true).
Additionally, check Build->Configuration Manager to ensure this project is set to Deploy for this configuration.

It was definitely set to Deploy.  Unchecking Use Shared Runtime would also work but leaving Use Shared Runtime online would not.

It depends on some of the devices and usually works alright with that option turned on. Working good on my 6P. I will ask the team if anyone has one sitting around. I assume emulator isnjust fine though?
Is it the 7 or 7 edge?

Thanks, James.
It's the regular 7.
I'm giving Visual Studio for the first time with Xamarin and hadn't given the emulator a whirl as I hadn't set it up yet. Ive always worked with Xamarin Studio on OSX. I had tried with the default ones but it didn't seem to be starting up. Admittedly I ran out of patience. The emulator was always such a bear compared to the iOS one so I generally debugged on my Android device directly.

Hi dankraus-
I recently have seen a similar issue when debugging the MyDriving app to an Android emulator.
Could you tell us what version of VS you are using - have you updated to VS 2015 Update 2?  Also, what version of the Android SDK and Tools you have installed.  You can check this through the Android SDK a Manager which can be opened via the toolbar next to the debugger drop down in VS.
Last but not least, could you try a few things to see if this solves the problem?
1.) Create a new, blank Xamarin Android project in Visual Studio - specifically, in the New Project window, select the Cross-Platform -> Blank App (Native Portable) project template which will create a native Xamarin app that contains Android\iOS\Winphone projects.  Debug this app using your device to see if it deploys successfully.  If it does, try switching back the MyDriving app and try again to debug it using your device.
2.) Update the newest version of the Android SDK and Tools using the Android SDK manager that I mentioned earlier.
Let us know if this helps.
Thanks,
Nicole

Hi @nicolehaugen79,
I'm running VS Community 2015 Update 2. I have Android SDK Tools 25.1.1 (latest as of right now), Android SDK Platform-tools 23.1, Android SDK Build-tools 23.0.1 and 21.1.2
The Blank project debugged to my phone with Use Shared Runtime checked and both with and without Use Fast Deployment checked as well.
I switched back to MyDriving and with Use Shared Runtime checked and Use Fast Deployment unchecked (which was the default when I first spun all this up), it debugged and worked.
So.... No idea what the heck was going on then.. :question:
After trying this out, i installed Android SDK Build-tools 23.0.3 (latest as of right now) for good measure.
Thanks for paying attention to this. I was so excited to see an in-depth free ebook like this. Between that and the response here, it keeps my hopes high about the continuing future of Xamarin! I'm very excited to go to Evolve next week!

Glad that you now have it working - I'm still trying to understand the root issue, but have noticed that if you deploy a blank Android app and then switch back to MyDriving and deploy, that it then deploys successfully.  I appreciate your response because this helps to confirm that you are seeing the same behavior that I also noticed.
It's great to hear your excitement - have a great Evolve next week!

We have a workaround which is to deploy a clean, Xamarin Android app...followed by re-deploying the MyDriving app which then solves the issue.  As a result, I'm closing this issue.


Add version on readme

should we say Graph API version?

Sure, I just added some related instructions on readme.

What I mean is that Facebook App version is actually Graph API version of the Facebook App, should we mention that more clearly

But in bottender-fb case, is that just setting the webhook subscription (of feed) version to 2.11 would be enough


AttributeError: 'Embeddings' object has no attribute 'embed_documents'

I am not able to use embeddings with chroma vector store, Getting the error"
AttributeError: 'Embeddings' object has no attribute 'embed_documents' in line
vectorstore  = Chroma.from_documents(docs_spits, embeddings)
My Sample Code
from txtai.embeddings import Embeddings

def get_text_chunks_langchain(text_data, chunk_size=1000, chunk_overlap=100):
    text_splitter = RecursiveCharacterTextSplitter(
        chunk_size=chunk_size, chunk_overlap=chunk_overlap, length_function=len, is_separator_regex=False,)
    docs = [Document(x) for x in text_splitter.split_text(text_data)]
    return docs

# Embeddings instance
embeddings = Embeddings({
    "path": "sentence-transformers/paraphrase-MiniLM-L3-v2",
    "content": True
})

description_text = """
Any long string or txt data
"""

docs_spits = get_text_chunks_langchain(description_text)
vectorstore  = Chroma.from_documents(docs_spits, embeddings)
retriever = vectorstore.as_retriever(search_type = 'mmr', search_kwargs={'k': 2,})
docus = retriever.invoke("""Search Text """)
docus

Hello. txtai doesn't have a known integration with ChromaDB. What functionality are you expecting with this code?

Closing due to inactivity. Please re-open or open a new issue if there are further questions.


ios  crash on crashlytics

we have crash  on firebase crashlytics
details
Crashed: com.apple.main-thread
0  libsystem_kernel.dylib         0x7b38 __pthread_kill + 8
1  libsystem_pthread.dylib        0x73bc pthread_kill + 268
2  libsystem_c.dylib              0x20524 abort + 168
3  libswiftCore.dylib             0x3995d0 swift::warningv(unsigned int, char const*, char*) + 142
4  libswiftCore.dylib             0x38ffb4 swift::swift_dynamicCastFailure(swift::TargetMetadata<swift::InProcess> const*, swift::TargetMetadata<swift::InProcess> const*, char const*) + 78
5  libswiftCore.dylib             0x390030 swift::_conformsToProtocol(swift::OpaqueValue const*, swift::TargetMetadata<swift::InProcess> const*, swift::TargetProtocolDescriptorRef<swift::InProcess>, swift::TargetWitnessTable<swift::InProcess> const**) + 122
6  libswiftCore.dylib             0x394484 swift_dynamicCastImpl(swift::OpaqueValue*, swift::OpaqueValue*, swift::TargetMetadata<swift::InProcess> const*, swift::TargetMetadata<swift::InProcess> const*, swift::DynamicCastFlags) + 342
7  pusher_channels_flutter        0xd4a8 $s23pusher_channels_flutter32SwiftPusherChannelsFlutterPluginC14fetchAuthValue8socketID11channelName17completionHandlerySS_SSy0eD00eJ0CSgctFyypSgcfU_TA + 156
8  pusher_channels_flutter        0x9674 $sypSgIegn_yXlSgIeyBy_TR + 96
9  Flutter                        0x3c08c (Missing UUID c8164c661c033398832ad3cbdb9a3cd8)
10 Flutter                        0x30584c (Missing UUID c8164c661c033398832ad3cbdb9a3cd8)
11 Flutter                        0x308b48 (Missing UUID c8164c661c033398832ad3cbdb9a3cd8)
12 CoreFoundation                 0xae678 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
13 CoreFoundation                 0x32654 __CFRunLoopDoTimer + 1064
14 CoreFoundation                 0x2ce00 __CFRunLoopDoTimers + 320
15 CoreFoundation                 0xb4b0 __CFRunLoopRun + 1936
16 CoreFoundation                 0x1ebc8 CFRunLoopRunSpecific + 600
17 GraphicsServices               0x1374 GSEventRunModal + 164
18 UIKitCore                      0x514b58 -[UIApplication _run] + 1100
19 UIKitCore                      0x296090 UIApplicationMain + 364
20 Famcare                        0xcf10 main + 12 (AppDelegate.swift:12)
21 ???                            0x104e91da4 (Missing)

flutter version  3.0.5

Can you provide reproduction steps, and can I retrieve this error message without crashlytics? (for example, if I run it with XCode)

Due to lack of response, I'm going to close this issue.

@benjamin-tang-pusher please reopen issue

Updated logs
Crashed: com.apple.main-thread
0  pusher_channels_flutter        0xcf5c specialized SwiftPusherChannelsFlutterPlugin.handle(_:result:) + 1732 (SwiftPusherChannelsFlutterPlugin.swift:1732)
1  pusher_channels_flutter        0x7ac0 @objc SwiftPusherChannelsFlutterPlugin.handle(_:result:) + 84 (<compiler-generated>:84)
2  Flutter                        0x58e2bc (Missing UUID 4c4c446f55553144a13d93f7e02ceec5)
3  Flutter                        0x43840 (Missing UUID 4c4c446f55553144a13d93f7e02ceec5)
4  libdispatch.dylib              0x63094 _dispatch_call_block_and_release + 24
5  libdispatch.dylib              0x64094 _dispatch_client_callout + 16
6  libdispatch.dylib              0x10d44 _dispatch_main_queue_drain + 928
7  libdispatch.dylib              0x10994 _dispatch_main_queue_callback_4CF$VARIANT$mp + 36
8  CoreFoundation                 0x4e014 <redacted> + 12
9  CoreFoundation                 0xb4f8 <redacted> + 2544
10 CoreFoundation                 0x1e174 CFRunLoopRunSpecific + 572
11 GraphicsServices               0x1988 GSEventRunModal + 160
12 UIKitCore                      0x4e5a88 <redacted> + 1080
13 UIKitCore                      0x27ef78 UIApplicationMain + 336
14 Runner                         0xa924 main + 7 (AppDelegate.swift:7)
15 ???                            0x101bc84d0 (Missing)

Also experiencing the same issue as guys above. I'm not sure what triggers it, but it does crash the application 😕 Have any of you found a work around or the fix to this?  @dchang109 @MohammedAlimoor

I'm also facing the same crash issue. Just installed the fresh build from TestFlight and opened it. It is crashing suddenly. Not remore reproduction steps.

Hey,
I could find the issue and fixed it.
I was subscribing to a pusher channel before pusher instance gets initialized. Changed my code as following and it works for me.
if (pusherInstance.connectionState == 'CONNECTED') {
pusherInstance.subscribe(
channelName: 'broadcast-channel',
onEvent: (event) {
var jsonData = json.decode(event.data);
print(jsonData);
},
);
}


Button component

Initial work on Button component.

Figma
Related to https://github.com/Altinn/app-frontend-react/issues/120

Initial version of Button component is released in 0.1.2


Terminology comparison with TensorStore

The TensorStore docs include a documentation page defining some key terminology about ND arrays, including "index space", "index domain" and "index transformation". Maybe worth considering whether to adopt any of this terminology within the v3 core protocol spec.

@jbms I guess you can assess this best, is there something we should use in the spec? If not we can probably close this.

I think we can close this.


Feature Request: Mark trees as "under-watered"

Background: Why this issue?
If I see a tree that urgently needs water, e.g. because the leaves are curling up and are becoming yellow, I would like to have a possibility to mark that tree for other users in case I am not able to water it myself. I had this problem two years ago on my way to work, although I think in that case I noticed it too late. I hope others as well as myself today are more vigilant.
Deliverables: How to fix the issue?
As a registered user, I want to mark trees as under-watered so that other users can see it and water the tree.
Acceptance criteria:

In the tree detail view, there is a button "Baum braucht dringend Wasser" that registered users can click (with confirmation step "Bist du sicher ...?").
After marking a tree as under-watered, a label is visible in the tree detail view that explains that a user marked it and that it should be watered urgently.
A tree marked as under-watered appears on the map as either completely red or with a red circle around it's otherwise designated color.

Output: Gain of fixing the issue?
Dying trees can possibly be saved, even if the people noticing the problem are not able to fix it themselves.
Issue creation checklist

[ ] I have attached one of the priority labels HIGH, MIDDLE, LOW
[ ] I have attached other labels with regard to the issues purpose (i.e.enhancement, bug, community feedback)

A good idea in principle. We talked about this topic with the experts on tree irrigation from the Senatsverwaltung für Umwelt and the Grünflächenämter. They told us, that it is very difficult to make a statement about whether a tree is really acutely under drought stress. Some trees in Berlin are already very old and are slowly reaching the end of their life. Others are afflicted with diseases. According to the experts, it is hardly possible for a layperson to see why the tree is suffering. The damage that can be seen on the trees today is partly a long-term effect of the last 2 dry years, which are only now becoming visible.
Watering is therefore good, but the experts in Berlin are worried that trees will be overwatered because of such recommendations. I think we should therefore refrain from such a feature at the current level of information that the application offers or consider a Feature to report this trees to the Grünflächenämter, so that experts can check the tree, but this would be another project.

@maximilianpalm Nice idea. Adding to Lisa's comment tho, it might be difficult to actually pin point trees in need for water only by visual observation, plus differs on the range of botanical knowledge.
In this regard, in the updated version we have added the following features: color code indication of trees in need for watered based on their age and the received water. Of course this could further be improved by species, AR features (#244) or implementing satelite data.
Furthermore, you can now send a the tree via its hyperlink to others, and directly contact other users via e-mail. Maybe that already helps a little bit for the coordination.
I hope this helps. :)


Upgrading terraform version to v0.13.0

I was not able to upgrade my IAC terraform to v0.13.0. because i am using this Google-SQL-DB/MySQL submodule which has a version constraint on "~> 0.12.6"
https://github.com/terraform-google-modules/terraform-google-sql-db/blob/2a0a14246c10d1a3985e4e2edda897f637e77ce7/modules/mysql/versions.tf#L18
Are the any current plans in place already for upgrading its version? If not, i will try to create a PR for it.

If you can test it with Terraform 0.13 please do feel free to file a PR. Example: https://github.com/terraform-google-modules/terraform-google-network/pull/197

Fixed by #135.


fix: changed flyctl command to work with phoenix app

fixes https://github.com/superfly/fly-pr-review-apps/issues/22 as suggested by @amos-kibet

does not work... yet

@brecke Any news on this?

@brecke Any news on this?

Not really, it was taking too much time and I gave up eventually.

Same for me, was trying to apply that for a client but it was taking too much of my time. Hopefully the fly team will take a look soon. Thanks.


unwanted not necessary polygon->multipolygon transformation

I see a lot of changeset where a polygon is changed to a multipolygon without any need

the MP have 2 outer way and those are only used by this MP
no tag, no change on those way
for ex https://www.openstreetmap.org/relation/8378461
maybe something is wrong in the user interface because I doubt that a newbie really want to split a polygon into a multipolygone with only one outer. it look like a unwanted not necessary split

It looks like the user just use the split command on an area.  It says "split the boundary of this area into two".  iD by design makes a multipolygon out of it rather than leaving the area broken.

Splitting this way is the first step for more advanced editing, like if the user did really want to break apart an area, they could do this command and then remove part of the perimeter from relation and move the lines around.  I don't expect a lot of users are doing this, but we try to balance between making it possible and not leaving areas as broken.

it's of course a good idea/feature to not broke a polygon and make it possible to create a MP is also a good think.
But I ask myself why soo many newbie split an area without really wanting to.
maybe those users hit the X shortcut: I'll try to talk to the last one.
Because if you look this changeset, the user only want to move some node to align it with the imagery.
So my issue isn't about an "ISATIDL" but about "the user didn't except to do what he do"
Is possible to auto-merge the MP back into a polygon if a user doesn't use the "MP feature" ?
or ask the new mapper if he want or not to enable keybord shortcut ?
or any other idea to avoid "oups, it's valid but unwanted" ?

Splitting this way is the first step for more advanced editing, like if the user did really want to break apart an area, they could do this command and then remove part of the perimeter from relation and move the lines around. I don't expect a lot of users are doing this, but we try to balance between making it possible and not leaving areas as broken.

To make the operation more useful and less likely to be used accidentially, it should require selecting the area and two nodes.


Wishlist: support for ES6 modules.

Wishlist: support of ES6 modules.
Presently, for projects that have "type: module" in package.json, a commit will fail with the following error:
internal/process/esm_loader.js:74
internalBinding('errors').triggerUncaughtException(
^
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension "" for /home/kevin/code/ftek/receiver/.git/hooks/commit-msg
at Loader.defaultGetFormat [as _getFormat] (internal/modules/esm/get_format.js:71:15)
at Loader.getFormat (internal/modules/esm/loader.js:104:42)
at Loader.getModuleJob (internal/modules/esm/loader.js:242:31)
at async Loader.import (internal/modules/esm/loader.js:176:17)
at async Object.loadESM (internal/process/esm_loader.js:68:5) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}

I am sorry, I have no good idea to support the wishlist.

Came up with an idea. Working on it. 😄

supported at<EMAIL_ADDRESS>🎉


⚠ Fetchers has degraded performance

In 614a7c4, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 711 ms

Resolved: Fetchers performance has improved in 33fc4e1.