fr.delthas.skype.ParseException: Error message received: 911 2 CON 23 (#2)

Error 911 2 CON 23 is repeated. Not always. Sometimes. OS Debian 8.
Windows 7 OS - all good!
`Mar 22, 2017 12:28:52 PM fr.delthas.skype.NotifConnector readPacket
SEVERE:
fr.delthas.skype.ParseException: Error message received:
911 2 CON 23
Authentication failed
at fr.delthas.skype.NotifConnector.readPacket(NotifConnector.java:484)
at fr.delthas.skype.NotifConnector.lambda$connect$4(NotifConnector.java:512)
at java.lang.Thread.run(Thread.java:745)
Mar 22, 2017 12:28:52 PM fr.delthas.skype.NotifConnector lambda$connect$4
SEVERE: Error while reading packet
fr.delthas.skype.ParseException: Error message received:
911 2 CON 23
Authentication failed
at fr.delthas.skype.NotifConnector.readPacket(NotifConnector.java:484)
at fr.delthas.skype.NotifConnector.lambda$connect$4(NotifConnector.java:512)
at java.lang.Thread.run(Thread.java:745)
Mar 22, 2017 12:28:52 PM fr.delthas.skype.Skype error
SEVERE: Error thrown
fr.delthas.skype.ParseException: Error message received:
911 2 CON 23
Authentication failed
at fr.delthas.skype.NotifConnector.readPacket(NotifConnector.java:484)
at fr.delthas.skype.NotifConnector.lambda$connect$4(NotifConnector.java:512)
at java.lang.Thread.run(Thread.java:745)
Mar 22, 2017 12:28:52 PM fr.delthas.skype.Skype error
SEVERE: No error listener set!!!`

Hello,
Please send me the full debug file so that I can understand the cause of the error.
Just call Skype.setDebug(Paths.get("/path/to/log/file.log")); before skype.connect(); and send me the full log file generated by skype.
Thanks.

UIC and USERNAME changed :)
`Mar 24, 2017 10:52:14 AM fr.delthas.skype.Skype connect
FINE: Connecting to Skype
Mar 24, 2017 10:52:14 AM fr.delthas.skype.Skype reset
FINEST: Resetting the Skype object
Mar 24, 2017 10:52:14 AM fr.delthas.skype.NotifConnector generateEPID
FINEST: Generated EPID: ff3134d0-c184-b800-3b64-056dd4f8cdd9
Mar 24, 2017 10:52:14 AM fr.delthas.skype.WebConnector start
FINER: Starting web connector
Mar 24, 2017 10:52:14 AM fr.delthas.skype.WebConnector generateTokens
FINEST: Getting skype token
Mar 24, 2017 10:52:14 AM fr.delthas.skype.WebConnector sendRequest
FINEST: Sending POST request at https://api.skype.com/login/skypetoken
Mar 24, 2017 10:52:14 AM fr.delthas.skype.WebConnector sendRequest
FINE: No token sent for the request at: https://api.skype.com/login/skypetoken
Mar 24, 2017 10:52:17 AM fr.delthas.skype.NotifConnector connect
FINER: Starting notification connector
Mar 24, 2017 10:52:17 AM fr.delthas.skype.NotifConnector connectTo
FINEST: Connecting to hostname: s.gateway.messenger.live.com port: 443
Mar 24, 2017 10:52:18 AM fr.delthas.skype.NotifConnector sendPacket
FINEST: Sent packet: CNT 1 CON 106
2...en-us
Mar 24, 2017 10:52:18 AM fr.delthas.skype.NotifConnector connect
FINEST: Ping interval: 120000ms
Mar 24, 2017 10:52:18 AM fr.delthas.skype.NotifConnector connect
FINER: Waiting for connection
Mar 24, 2017 10:52:18 AM fr.delthas.skype.NotifConnector processPacket
FINER: Received packet CNT CON
Mar 24, 2017 10:52:18 AM fr.delthas.skype.NotifConnector processPacket
FINEST: Recieved packet body: 2false882ffe9d-e09a-7e0c-aa63-32ca50eb93c3
Mar 24, 2017 10:52:18 AM fr.delthas.skype.UicConnector
FINEST: Initializing UIC generation
Mar 24, 2017 10:52:18 AM fr.delthas.skype.UicConnector
FINER: Overriding AES key length because of limitation
Mar 24, 2017 10:52:18 AM fr.delthas.skype.UicConnector getUIC
FINEST: Computing UIC token with username: awkaw and nonce: 882ffe9d-e09a-7e0c-aa63-32ca50eb93c3
Mar 24, 2017 10:52:18 AM fr.delthas.skype.UicConnector getUIC
FINEST: Sent UIC payload to server
Mar 24, 2017 10:52:19 AM fr.delthas.skype.UicConnector getUIC
FINEST: Computed UIC succesfully (uic length:524)
Mar 24, 2017 10:52:19 AM fr.delthas.skype.NotifConnector sendPacket
FINEST: Sent packet: ATH 2 CON\USER 568
AAABBAAAAAGgQjzKvUVs8ZWpk4LGSUmWtIZhZaTm/JThbsnlFQQQChbmDAekWJElnn3yfxMK5jDnSQocSxmORwNuXxanL40ycYaqnZkCKRzCBW3ODHgArHfH61OwP+38mZw0forOYWc38tPPl1vriHgKRF/rfXOkpW4gsotBTX71sxJrwmhcXAJUitLCTQgFVo1Ja2/HngyGa8hqgre0UVFbYSY7Na5LMDMDJ8MosOiu3+q9dfmPoFEPysaGXMvK1nOOGQdm9MYOYJpgyelbpHyu70Hn442Pl/52wZ2nlT4BjyB8Ga8hqgre0UVFbYSY7Na5LMDMDJ8MosOiu83Q7p6uq7D3tnSZs2YhGVCy5AybMl4rixKGJc7O9D0wUhCVNS6lYuYa9v0+/ke0sM7nuoAZ7dWHcyRCjWbugvAHMaOfHkD1kBdLK6apwEXklpJQ6EQLYr9Y/vyR4M/0HNb8ySRWFYwEkmUnFfrgWWLfA5WndjZCqRGsF+xkCZQIzBY7zJEHnREa8dEXCQIQ=awkaw
Mar 24, 2017 10:52:19 AM fr.delthas.skype.NotifConnector processPacket
FINER: Received packet ATH CON
Mar 24, 2017 10:52:19 AM fr.delthas.skype.NotifConnector processPacket
FINEST: Recieved packet body<EMAIL_ADDRESS>Mar 24, 2017 10:52:19 AM fr.delthas.skype.NotifConnector sendPacket
FINEST: Sent packet: BND 3 CON\MSGR 145
2..skypeff3134d0-c184-b800-3b64-056dd4f8cdd9
Mar 24, 2017 10:52:19 AM fr.delthas.skype.NotifConnector readPacket
FINEST: Set registration: U2lnbmF0dXJlOjI6Mjg6QVFRQUFBQ2NxeHR2VGUweWVzM0FlUXFZYzFLZztWZXJzaW9uOjY6MToxO0lzc3VlVGltZTo0OjE5OjUyNDc5NDU0MDU4MjQ5MjU0OTk7RXAuSWRUeXBlOjc6MToxO0VwLklkOjI6Mzg6Y2lkLSgtMzUzNTkyMTcxMDAzODc1MTEwMSlAb3V0bG9vay5jb207RXAuRXBpZDo1OjM2OmZmMzEzNGQwLWMxODQtYjgwMC0zYjY0LTg6QVFRQUFBQ2NxeHR2VGUweWVzM0FlUU6NzoxOjA7RXAuQXV0aFRpbWU6NDoxOTo1MjQ3OTQ1NDA1ODIyMTEyOTY1O0VwLkF1dGhUeXBlOjc6MTo4O0VwLkV4cFRpbWU6NDoxOTo1MjQ3OTQ2MjY5ODIyMTEyOTY1O0VwLlBIX0N2ZXI6MjoxOjI7RXAuUEhfRnZlcjoyOjE6Mjs=
Mar 24, 2017 10:52:19 AM fr.delthas.skype.NotifConnector processPacket
FINER: Received packet XFR CON
Mar 24, 2017 10:52:19 AM fr.delthas.skype.NotifConnector processPacket
FINEST: Recieved packet body: db5-s.gateway.messenger.live.com:443GVmVyc2lvbjogMQ0KWGZyQ291bnQ6IDENClhmclNlbnR1oXuzAubBfrerLBaDNfH1NDU2MjINCklzR2VvWGZyOiB0cnVlDQo=1
Mar 24, 2017 10:52:19 AM fr.delthas.skype.NotifConnector connectTo
FINEST: Connecting to hostname: db5-s.gateway.messenger.live.com port: 443
Mar 24, 2017 10:52:20 AM fr.delthas.skype.NotifConnector sendPacket
FINEST: Sent packet: CNT 1 CON 594
Registration: U2lnbmF0dXJlOjI6Mjg6QVFRQUFBQ2NxeHR2VGUweWVzM0FlUXFZYzFLZztWZXJzaW9uOjY6MToxO0lzc3VlVGltZTo0OjE5OjUyNDc5NDU0MDU4MjQ5MjU0OTk7RXAuSWRUeXBlOjc6MToxO0VwLklkOjI6Mzg6Y2lkLSgtMzUzNTkyMTcxMDAzODc1MTEwMSlAb3V0bG9vay5jb207RXAuRXBpZDo1OjM2OmZmMzEzNGQwLWMxODQtYjgwMC0zYjY0LTA1NmRkNGY4Y2RkOTtFcC5Mb2dpblRpbWU6NzoxOjA7RXAuQXV0aFRpbWU6NDoxOTo1MjQ3OTQ1NDA1ODIyMTEyOTY1O0VwLkF1dGhUeXBlOjc6MTo4O0VwLkV4cFRpbWU6NDoxOT1oXuzAubBfrerLBaDNfHOTY1O0VwLlBIX0N2ZXI6MjoxOjI7RXAuUEhfRnZlcjoyOjE6Mjs=
2...en-us
Mar 24, 2017 10:52:20 AM fr.delthas.skype.NotifConnector processPacket
FINER: Received packet CNT CON
Mar 24, 2017 10:52:20 AM fr.delthas.skype.NotifConnector processPacket
FINEST: Recieved packet body: 2falsec0bf3b08-36b6-fa2b-24a8-5a38985ad9e0
Mar 24, 2017 10:52:20 AM fr.delthas.skype.UicConnector getUIC
FINEST: Computing UIC token with username: awkaw and nonce: c0bf3b08-36b6-fa2b-24a8-5a38985ad9e0
Mar 24, 2017 10:52:20 AM fr.delthas.skype.UicConnector getUIC
FINEST: Sent UIC payload to server
Mar 24, 2017 10:52:20 AM fr.delthas.skype.UicConnector getUIC
FINEST: Computed UIC succesfully (uic length:524)
Mar 24, 2017 10:52:20 AM fr.delthas.skype.NotifConnector sendPacket
FINEST: Sent packet: ATH 2 CON\USER 1056
Registration: U2lnbmF0dXJlOjI6Mjg6QVFRQUFBQ2NxeHR2VGUweWVzM0FlUXFZYzFLZztWZXJzaW9uOjY6MToxO0lzc3VlVGltZTo0OjE5OjUyNDc5NDU0MDU4MjQ5MjU0OTk7RXAuSWRUeXBlOjc6MToxO0V1oXuzAubBfrerLBaDNfH1MTEwMSlAb3V0bG9vay5jb207RXAuRXBpZDo1OjM2OmZmMzEzNGQwLWMxODQtYjgwMC0zYjY0LTA1NmRkNGY4Y2RkOTtFcC5Mb2dpblRpbWU6NzoxOjA7RXAuQXV0aFRpbWU6NDoxOTo1MjQ3OTQ1NDA1ODIyMTEyOTY1O0VwLkF1dGhUeXBlOjc6MTo4O0VwLkV4cFRpbWU6NDoxOTo1MjQ3OTQ2MjY5OOjc6MToxO0V1oXuzAuBIX0N2ZXI6MjoxOjI7RXAuUEhfRnZlcjoyOjE6Mjs=
AAABBAAAAAGkPr+Ig5BrW5ASYQNEiAFg+rlQnKIVevaYdPxfCJ7fEB4jBY0R/JJeBCnpNHsS2EMo6Zbgrftg1zd4EBWKWmHgUMudTA9GNZi/9CeN4CtmmfzQ71oXuzAubBfrerLBaDNfHe6lClf6/MBhoiRWV73kUsKziDr3rEo5y4QoI3XuczEK2Gt2kMUNzSofhZsZOCqltwgTa+sao+WEaMwIfGUb3fHfCpUOH8eE+fypcu7p0PloE0T9POd2cbqggsoWpGDJlKKcDAQIUZfTrPHo+3PiArX1tphCNIgg1hQr9n+REXz9Mz+ui9dotlnGZY6Kxcw0VwLklkOjI6Mzg6Y2lkLSgtMzUzDO8eK7aMLGr7cJ1vBaYtw3YdypL5PHE4vGoRAbP+XfbJ5tX6ukH1et0g0GoP0O0tjRqUOrhT9C6CLGMaOL/B0+adawV/7k8Wb3AuB/QL8vKEpx0AVO5lCJb2uEnIpLMwIfGUb3fHfCpUOwYosrmMqR5B7Wn76Ljs8=awkaw
Mar 24, 2017 10:52:21 AM fr.delthas.skype.NotifConnector readPacket
SEVERE:
fr.delthas.skype.ParseException: Error message received:
911 2 CON 23
Authentication failed
at fr.delthas.skype.NotifConnector.readPacket(NotifConnector.java:484)
at fr.delthas.skype.NotifConnector.lambda$connect$4(NotifConnector.java:512)
at java.lang.Thread.run(Thread.java:745)
Mar 24, 2017 10:52:21 AM fr.delthas.skype.NotifConnector lambda$connect$4
SEVERE: Error while reading packet
fr.delthas.skype.ParseException: Error message received:
911 2 CON 23
Authentication failed
at fr.delthas.skype.NotifConnector.readPacket(NotifConnector.java:484)
at fr.delthas.skype.NotifConnector.lambda$connect$4(NotifConnector.java:512)
at java.lang.Thread.run(Thread.java:745)
Mar 24, 2017 10:52:21 AM fr.delthas.skype.Skype error
SEVERE: Error thrown
fr.delthas.skype.ParseException: Error message received:
911 2 CON 23
Authentication failed
at fr.delthas.skype.NotifConnector.readPacket(NotifConnector.java:484)
at fr.delthas.skype.NotifConnector.lambda$connect$4(NotifConnector.java:512)
at java.lang.Thread.run(Thread.java:745)
Mar 24, 2017 10:52:21 AM fr.delthas.skype.Skype error
SEVERE: No error listener set!!!
`
Thanks)

OS Linux version 3.16.0-4-amd64<EMAIL_ADDRESS>(gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.39-1 (2016-12-30)

Different logins on different operating systems work differently. Login 1 can give an error in Windows, but work in Linux. Login 2 can produce an error in Linux, but work in Windows. It's strange.

The fix seems to be to replace clientVersion when getting skypeToken from "0/<IP_ADDRESS>/" to "0/<IP_ADDRESS>/259/" in WebConnector.java

Hey guys, did anyone manage to find a fix for this or can provide some direction on how to fix this?

I started using it - https://github.com/OllieTerrance/SkPy
There is no such problem. It works quite stably.

Thanks @awkaw ! Will have a look. Still want to try to fix this as it's really cool. Will see if i manage to:d

@delthas  can you please provide some guidelines on how to get started with this?

@haroflow did an amazing job on (#45 and #41) fabiodepin/JavaSkype@c3d3cd2. so i no longer encounter this issue when using new skype account but for some reason it still happens on my old skype account.
Attached logs bellow
https://pastebin.com/XAhAaCYK

The problem is with your login @outlook.com.
Please try with @hotmail.com.
Will check this.

Hello @metasonic ,
The problem is with your login @outlook.com.
Please try with @hotmail.com.
Will check this.

Hmm that's strange, I log in like Skype skype = new Skype("a.graure", "xxxxxxxxxx");|
Looking over Mirana logs rigt now and noticed the uic is a bit different Mirana logs for the same account
https://pastebin.com/pBFru4hw
@fabiodepin  any suggestion?

@fabiodepin  another example of old account (non email) not working https://pastebin.com/s06Vgpz8
The 911 error appears to be linked with bad auth process, but can't put my finger on it yet

@metasonic,
Thanks for the logs.
How can I get one user with this problem for the tests?
One option is to migrate your old account to Microsoft account.
https://blog.hqcodeshop.fi/archives/328-Removing-old-Skype-login-and-going-for-Microsoft-Account.html
I've got to sleep... 03:50 O.o

You aren't able to create old skype accounts any more. Hit me up on skype I'll help you with anything you need. My id: a.graure

@fabiodepin @metasonic Unfortunately, using the same code I had yesterday I couldn't log in to my skype account anymore...
Using just the username I get the 911 error message. Investigating this...
Using<EMAIL_ADDRESS>it gets stuck in a loop. Solved it, checking if it's correct.

@awkaw @fabiodepin We've been testing this login issues and I think we got them. Not sure if it works 100% of the time though... would need more people testing with different accounts.
https://github.com/delthas/JavaSkype/compare/master...haroflow:master
@delthas Being new to this, I'd like to ask you how to proceed. We believe this changes solves some issues listed on here, but I can't test them fully, there are a lot of cases. Should we submit pull requests to you and wait for feedback?
@metasonic Thanks for the help!

@haroflow Yes, sorry I haven't been very responsive to contributions over the past few months. I feel responsible for whether this library works or not, and if I wanted to do things correctly I should spend some time testing all the new changes in PRs with various accoutns and compare the library with the official Skype implementation. This is a lengthy process and I didn't really have time to do this.
So, I will now accept PRs without doing this work, so hopefully the library can move forward quickly and we can get the whole Microsoft login working. Starting with #46 .


rename InstallCommand to BuildCommand

Previously the package_data files were missing from binary and source distributions, because distutils.command.bdist.bdist and distutils.command.sdist.sdist were not customized in similar ways.
For example if git+https://github.com/projectmesa/mesa-geo.git#egg=mesa-geo is included in a requirements.txt file from a downstream project such as https://github.com/wang-boyu/agents-and-networks-in-python, the package_data won't be available.
With this PR:

DevelopCommand makes python3 -m pip install -e . working (run from this repo).
BuildCommand makes python3 -m pip install . working (run from this repo).
BuildCommand also makes python3 -m pip install -r requirements.txt working (run from downstream projects).

Is develop still needed now that build is specified instead?

I will merge now. If develop can be removed, it can be in a separate PR.

Is develop still needed now that build is specified instead?

Surprisingly yes, and I've got no idea why this happens.


Python 3 bugs

[x] Redwine top list
[x] Genfors unicode errors
[x] admin-panel shows Onlineweb instead of clickable text

Please update the issue with any other python 3 bugs.

@MrHanSan is this fixed now?

This is fixed

Then closed :)


Multiple Answers error

Currently multiple answer checking fails, when there is only 1 answer/it is not a valid JSON. Change all the answers in src/models/setupModels to JSONs.

i will fix that


Move all meeting notes to hackedu/meta

We have some meeting notes in hackedu/hackedu. Move everything to hackedu/meta:meetings.

:+1: This is bueno

Closed by hackedu/hackedu#470 and #281


typeahead: Improve tests for multi word match's highlighting.

We refactor the tests to check if a multi word query's result is correctly highlighted (multi word highlighting fixed in e2c23b656ecac7cd78ab2584dd462d7ed309b3e1).
The test case was already present, but the setup was not correct, and has been corrected now to safeguard against regression in the future.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @N-Shar-ma!


Memory hole in Hubzilla?

Hi,
I sometimes see Apache processes occupying a lot more memory than usual Apache processes. Normal processes are reserving between 50 and 100 MB physical memory.  Sometimes there is even more than one of the unusual processes. When I check 'lsof' I can see these processes are related to Hubzilla.
Today I had a PHP process eating up a lot of physical RAM. The system started swapping because of that. It was a php Zotlabs/Daemon/Master.php process and it occupied 4.4GB (!!) of RAM. How is that possible? My PHP memory_limit setting is 128 MB. Also that process was constantly growing.  That's why I suspect some kind of memory hole.

Ubuntu 16.04 LTS
Apache 2.4.18  (mpm_prefork)
PHP 7.0.30  (Apache mod_php7)
MariaDB 10.0.34  (InnoDB)
Hubzilla 3.4 - 1214  (git master)
Do you need additional information? Unfortunatly, I had my Hubzilla and PHP log disabled.
PS: I have two Friendica nodes and a Nexcloud running on the same machine. They never showed that behavior. That's why I suspect Hubzilla at the moment.

Onepoll refreshes information for connections. Usually this information is concise and controlled. The important thing would be the number which follows Onepoll in this photo. That is the id of the entry in the abook table. I suspect your site allows feeds as connections and it is a rogue RSS feed with no bounds. I've seen this on rare occasions. If it's a zot connection feeding you too much data we might be able to control it or fix it. If it's an RSS feed you may need to take evasive measures such as perhaps nuking the connection or disabling the 'follow feeds' feature. We could potentially provide a maximum size limit to CURL when fetching a feed but this will take some development work and not every server is guaranteed to support partial fetches and might just send the whole thing anyway.

I suspect your site allows feeds as connections...

Yes. that's right.

That is the id of the entry in the abook table.

Oh! That's useful. I'll check that.

If it's an RSS feed you may need to take evasive measures such as perhaps nuking the connection or disabling the 'follow feeds' feature.

Hmm. That's difficult. I have 235 channels on the hub. Disabling the feature for all users would be kind of an unfriendly act. :-)
But now I remember seeing many times in the past that a feed poll was running a very long time. That poll was always related to the same UID. Maybe I should talk to that user...
As an emergency measure I have limited the memory_limit for PHP CLI processes to 512MB. The default setting for CLI processes was '-1' (unlimited). I'll see what happens now.
Thanks.


ref #1130 -- fixed pagination trailing slash

Ticket: #1130
Proposed fix for #1130

Coverage increased (+4.7%) to 94.473% when pulling fa42bc042d94c92375207d13326a57d00e076114 on 1130_search_pagination into 82a914ec0be5be1011a15c1584c2c8e2999f1c1c on master.

Current coverage is 90.44% (diff: 100%)

Merging #1134 into master will decrease coverage by 1.14%

@@             master      #1134   diff @@
==========================================
  Files            38         38
  Lines          3198       3203     +5
  Methods         396        397     +1
  Messages          0          0
  Branches          0          0
==========================================
- Hits           2929       2897    -32
- Misses          269        306    +37
  Partials          0          0

Powered by Codecov. Last update 82a914e...fa42bc0

Coverage increased (+4.7%) to 94.473% when pulling 3ee325e4547995443749a969cbf26605e0d54b0e on 1130_search_pagination into 82a914ec0be5be1011a15c1584c2c8e2999f1c1c on master.

Coverage increased (+4.6%) to 94.376% when pulling 155bbf4f13d823401eeecdabb6079153eb04e0b6 on 1130_search_pagination into 82a914ec0be5be1011a15c1584c2c8e2999f1c1c on master.

Coverage increased (+4.6%) to 94.376% when pulling 155bbf4f13d823401eeecdabb6079153eb04e0b6 on 1130_search_pagination into 82a914ec0be5be1011a15c1584c2c8e2999f1c1c on master.

Coverage increased (+4.6%) to 94.413% when pulling 664d5c6faa859d56b5b541eeaf444df41c3260bb on 1130_search_pagination into 82a914ec0be5be1011a15c1584c2c8e2999f1c1c on master.


How to construct samples that contain both graphs and other features? For example, (graph, feature_1, feature_2, ...).

The input to a Keras Model can be any nest of tensors, including the kind of tuple you sketched.
For deserialization from tf.train.Example, esp. in the presence of more than one GraphTensor, the prefix= argument of tfgnn.parse_example() might come in handy.
Alternatively, if each example has one graph plus some freestanding features, consider packing the freestanding features into the Graph.context, see the Data Preparation and Sampling guide.


Is this applicable with socket.io or FCM?

It's applicable with both. I will improve documentation to facilitate understanding.

@umair321 README was improved. Right now there new broadcasting/notifications settings sections. I believe that it can help you to tune in your application.  Does it help you ?


It looks like there may be bugs in the operators

Taking a quick look over the new code, it seems like some of these operators will throw errors when executed.
For example, the postgres to csv operator references an undefined variable (should be self.postgres_conn_id):
https://github.com/chriscardillo/gusty/blob/master/gusty/operators/csv_to_postgres_operator.py#L61
Similar case in same file (csv_files never defined):
https://github.com/chriscardillo/gusty/blob/master/gusty/operators/csv_to_postgres_operator.py#L32
I wonder if it would be a good idea to set up some simple tests using pytest?

PostgresHook appears undefined? (maybe I am misunderstanding how airflow imports these operators!)
https://github.com/chriscardillo/gusty/blob/master/gusty/operators/csv_to_postgres_operator.py#L61

Resolved!


New package PredictMDExtra: 0.7.0

Registering: PredictMDExtra
Repository: https://github.com/bcbi/PredictMDExtra.jl
Version: v0.7.0
Commit: 0637302e78fe7bd97d6a5f5a6b36cb63623e90e0
Proposed by: @DilumAluthge
Reviewed by: @DilumAluthge
Reference: https://github.com/bcbi/PredictMDExtra.jl/commit/0637302e78fe7bd97d6a5f5a6b36cb63623e90e0#commitcomment-33449714

Bump.
The 3 day cool down period has completed. Could someone please merge?

Thank you!


Can't differentiate Read/Unread emails

Hi Thanks for this theme. I'm having a small difficulty. I can't find which one is read and which is unread from the inbox. Is that something I can fix?

It would be nice to have the selected mail(s) in the list with a darker background as opposed to unselected ones.


Remove a few files that are no longer used

No functional change: just removing some unused files that may be confusing to developers and add overhead in larger-scale refactorings.
Also removing the deployment files since we're now deploying via deis.

Public is back 0249659


tf.image.resize_bicubic() produces artifacts in output image

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes. See below.
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): All platforms
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): 1.0
Bazel version (if compiling from source): 0.4.5
CUDA/cuDNN version: N/A
GPU model and memory: N/A
Exact command to reproduce:

Describe the problem
tf.image.resize_bicubic() produces weird artifacts in output image. To reproduce, please save this image as bbf.png, and run the program below:
https://www.dramafever.com/st/news/images/e09901b7-bb86-4acd-94e3-ee93d2e301cc.png
This is what tf.image.resize_bicubic() produces:

Source code / logs
import tensorflow as tf

with open('bbf.png', 'rb') as f:
    image_bytes = f.read()

image = tf.image.decode_image(image_bytes)
image = tf.expand_dims(image, 0)

resized_image = tf.image.resize_bicubic(image, [256, 256])

resized_image = tf.cast(resized_image, tf.uint8)
resized_image = tf.squeeze(resized_image)
encoded_image = tf.image.encode_jpeg(resized_image)

with tf.Session() as sess:
    jpg_image = sess.run(encoded_image)
    with open('output.jpg', 'wb') as f:
        f.write(jpg_image)

Most bicubic interpolants are not guaranteed to be monotonic, since the cubic interpolant's extrema can exceed the original extrema in the given interval. Just clamp your image to allowable value after running the resize_cubic call. i.e. 0, 255 or 0, 1 depending on float or int types.

@aselle Thanks for the solution. I tried tf.saturate_cast() and it worked beautifully. So is this an intended behavior? Anyway, I feel that it's really easy for anyone to fall into this pitfall. It would be really great if this behavior is well documented.

Yeah, it's a standard thing in interpolation, but it is probably worth a comment in the docs.

Writing a doc note is agreat idea. If you could prepare a pull-request that would be aweosme! Thanks!

This issue is automatically closed due to lack of activity. Please re-open if this is still an issue for you. Thanks!


hasParticipant should reference participantExternalId

transformer currently references participantId, but we don't have those yet (that will be the INCLUDE internal id)
#89

closed by #106


Add error message to user if they try to upload a PDF above the size limit

Is your feature request related to a problem? Please describe.
I recently had an error where it seemed like uploading was not working because the size was over the allowed limit.  There was no error messaging to the user about why the page wouldn't advance, and due to a separate issue, the actual limit was below the displayed limit.
Describe the solution you'd like
Some sort of messaging when they try to save or advance that the PDF is above the limit, and they need to use a smaller size.  Something like these, that shows the limit in the message.  If it's easy it's nice to show the size of their file as well, but not required.  Can be various places on the page as long as they see it clearly

Describe alternatives you've considered
There are many possible ways to message the information but not sure what else besides messaging we could do.
Additional context
Hopefully it won't come up too much if we have a limit that accepts most DMPs but for the case it does happen we need people to know why so they can fix it

Now done


Request: Get audio output value (complementary to getting the volume set in ableton)

I am writing a Python tool that does automatic camera switching for a live set, it requires to be able to read the audio inputs in specific tracks to know what instruments are being played.
I linked my script to ableton with python-osc and abletonosc, but then discovered get/volume returns the value of the volume set in ableton, not the value of the audio

If anyone is looking for a workaround, you can use an envelope follower mapped to a utility's gain and then use the /live/device/get/parameters/value to get a value for the audio level.

Nice workaround!
I've also now added support for the Track property output_meter_level, which should do what you're looking for.

Thanks for the update !

It seems i can get most track attibutes: volume, color, panning ... working, but not some others like  output_meter_level, can_be_armed ...  any idea what might be going on ?


Update the agent to the latest version

Use the latest version of the agent. There are many benefits, including having device names different than 36 chars.

Fixed in the last commit


Pull Request for RingCentral Glip support

hey @pkvenu - thanks for the PR!
We'll be in touch about integrating this! I think we'll need a bit of help seeing it up and running in Glip.

I could help with the onboarding process. Please let me know when ready.


DiscordAPIError: Unknown Message

Hi
this I see after time in bot's log, the bot is version from the web site.
thanks!
Successfully launched shard 0 of 0
File database '../Questions/' loaded. Parsed 201 questions in 37ms.
Shard 0 connected to 1 server.
(node:1733) UnhandledPromiseRejectionWarning: DiscordAPIError: Unknown Message
    at /home/user/TriviaBot/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:85:15
    at /home/user/TriviaBot/node_modules/snekfetch/src/index.js:215:21
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:1733) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:1733) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Interesting. This might be related to auto-delete-msgs, though it's hard to tell without repro or further stack traces. Any other error/warning messages or side effects when this occurs?

Interesting. This might be related to auto-delete-msgs, though it's hard to tell without repro or further stack traces. Any other error/warning messages or side effects when this occurs?

Hi
this is the full error what I see. Settings for "auto-delete-msgs" is "true".
And you are very correct, I tested it further and this is happening, when I deleted manually bot's message.
So this looks like uncatched error, when message to be deleted is already deleted. So this is a bug in discord.js?
thanks

Hi
this is the full error what I see. Settings for "auto-delete-msgs" is "true".
And you are very correct, I tested it further and this is happening, when I deleted manually bot's message.
So this looks like uncatched error, when message to be deleted is already deleted. So this is a bug in discord.js?
thanks

This should be addressed in 414a586, but some additional testing will be done soon.

This looks to be caught properly now -- will re-open if this is replicated again.


Permissions to be set-up for S3

I want to take care of upload myself, because I do not like very much the hashes namings schema that are auto-generated. I did my own uploader but now, when I try to deploy my cloudformation, I see this in my console:
Could not unzip uploaded file. Please check your file, then try to upload again.

But the zip is there, what must be done ?
Another thing that I cannot find out is that I name my packages like this A.B.C.D.zip , is this confusing the unzip program ? Should I have ABCD.zip instead ?

The error message doesn't look like a permissions issue. Check if the credentials you use to call CloudFormation has access to the S3 object.
Can you try uploading your Zipfile through the Lambda UI?

I discovered the uploaded files were not valid because the putObject was not received a stream but a string with the file name at Body parameter. This in case someone has the same issues! Thanks for the help, will close this!


Add CONTRIBUTORS.md file

…with a list all contributors of the project, for motivation and showing appreciation.

Add a sentence or two to the CONTRIBUTING.md to encourage contributors to add their name & GitHub handle link to the list when doing their first contribution.
Link to CONTRIBUTORS.md from README.md
Add already available contributors  (most recent  on top) to the list when creating the file.

Hello @paulgoetze ,
I would like to work on this issue and add the Contributions.md files with all the requirements you said.
I will be waiting for you to assign me this issue and I will start working right away!

I'm really sorry @Cheemashyper , I just noticed that you asked for this issue, and I already sent a pull-request. I'll let @paulgoetze decide what to do. I get it if my pull-request gets declined for this reason. My apologies.

Thanks for your interest in taking this on, @Cheemashyper, and your pull-request @JPYamamoto. :purple_heart:
I'm going to merge the PR, once it passed review. But I think asking for being assigned to work on an issue is the better workflow, also to avoid that multiple people unnecessarily spend their time on the same thing.
It was not stated anywhere, so nobodies fault here. We can add it to the Contributions guide. So, good that we ran into that case now ;).


Could not invoke AppLovinMax.setIsAgeRestrictedUser

MAX Module Version
7.1.1
React Native Version
0.74.5
Device/Platform Info
Android 13
Current Behavior
The app crashs when setting Privacy.setIsAgeRestrictedUser(false)
Expected Behavior
No response
How to Reproduce
Build the app and setIsAgeRestrictedUser before intializing the app
Reproducible in the demo app?
Not Tested
Additional Info

Today we started to get this other issue on 7.0.1 with Android, so I updated to 7.1.1 and ran into this problem instead. Any clue how to fix this?

Same, I still havn't find a way to fix this unless commenting the line, which I don't want to

hi everyone, as of this morning, I also started getting the same error when using the Privacy.setIsAgeRestrictedUser method.

Hey all - it looks like your integration automatically pulled our latest Android and iOS SDKs v13.0.0, which is not compatible with the latest release of our React Native plugin. I'd recommend ensuring that you stick to the native SDKs supported (as outlined in our releases).
You can downgrade native SDKs (in build.gradle / Podfile) to v12.6.1, or wait for a React Native update that is coming within a day.
cc @alhiwatan

It's actually taking the 12.6.1 and not the v13.0.0

Maybe one of the adapter is pulling the v13.0.0 tho, could you help me in finding out which one?

The Mediation Debugger is helpful for debugging SDK and adapter versions.
However, we will be pushing a new major version shortly, which will be fully compatible..

@jleprinc, @csaaler, @Durkaen, we have just released version 8.0.0, which is now certified with SDK 13.0.0. The issues should now be resolved.


Replace dependency tempdir with tempfile

The crate tempdir was deprecated and merged into tempfile.
(https://github.com/Stebalien/tempfile/issues/43)

Thank you for the pull request, @jrodcla!
The CI build is failing when building remove_dir_all, a dependency of tempfile:
error[E0658]: `cfg(doctest)` is experimental and subject to change
  --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/remove_dir_all-0.5.3/src/lib.rs:12:7
   |
12 | #[cfg(doctest)]
   |       ^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/62210

It seems this feature has been stabilized in the meantime, so the problem is probably that we support Rust 1.39 (also see #151).
I'd love to merge this, but first we have to update our minimum support Rust version. How about the following plan:

[ ] Wait for 1.47 to be released (October 8th).
[ ] Update the MSRV to 1.47 in a separate pull request (#153).
[ ] Merge this pull request.

Hi @hannobraun
Sounds like a plan!

CI is still failing. This needs a rebase, to pick up the new configuration from #154.

Sorry, didn't see that you already rebased, @jrodcla (GitHub doesn't send notificaions about this). Merging.
Thanks again!


figure 1-7

i wanted to duplicate the figure 1-7, i cut and paste the code from the book  pages 14-20  onto the file structure of original  kanban app, (of course deleting original code ) leaving webpack config alone. The original kanban_app code runs fine, but when i make that change I get:
Uncaught  range error KeyEscapeUtils ...   Maximum call stack exceeded
ie this is the app.js file (exactly as in book)
import React from 'react';
import {render} from 'react-dom';
import KanbanBoard from './KanbanBoard';
let cardsList = [
{
id: 1,
title: "Read the Book",
description: "I should read the whole book",
status: "in-progress",
tasks: []
},
{
id: 2,
title: "Write some code",
description: "Code along with the samples in the book",
status: "todo",
tasks: [
{
id: 1,
name: "ContactList Example",
done: true
},
{
id: 2,
name: "Kanban Example",
done: false
},
{
id: 3,
name: "My own experiments",
done: false
}
]
},
];
render(, document.getElementById('root'));

immediately before this error, i get:
Warning each child in an array or iterator should have a unique key property. Check render method of 'List'

please disregard, i got it running by fetching the chapter 1 code, which i at first didn' know how to use,
however i still dont understand the reasons for this error

No problem. Looking your code, it looks like your render call (last line) was incomplete.

thanks, by the way, outside of k&r  this is the best written computer
programming book i've read, carefully planned, etc, maybe could use a bit
smaller chunks in places
On Mon, May 9, 2016 at 9:40 PM, Cássio Souza<EMAIL_ADDRESS>wrote:

No problem. Looking your code, it looks like your render call (last line)
was incomplete.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/pro-react/kanban-app/issues/13#issuecomment-218037739


Make compatible with Laravel 5 and updates README accordingly

Makes the package compatible with Laravel 5 and updates the README according to these changes.

Thanks


time: time.Time get wrong local time zone for some days

Hi,
I have create time.Time for 1986-05-04 using time.Date(), and then use Zone() or Format to  display it...
but for 1986-05-04, timeZone will be CDT +09:00, not my Local time in China(+08:00),  but for 2017-08-01 it works well...
I try to read code in time.Date(),  it will do some adjust when time second too close to a zone transition...so it first get CDT then adjust to CST, but haven't found that in other time.lookup() usage, and they return CDT directly,  what about this?- -

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

go1.6.2

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/didi/Code/go:/Users/didi/.gvm/pkgsets/go1.6.2/global"
GORACE=""
GOROOT="/Users/didi/.gvm/gos/go1.6.2"
GOTOOLDIR="/Users/didi/.gvm/gos/go1.6.2/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT="1"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"
and I'm in China.. CST +08:00

What did you do?

run a simple main.go
package main

import (
	"fmt"
	"time"
)

func main() {
	tt := time.Date(1986, 5, 4, 0, 0, 0, 0, time.Local)
    z, offset := tt.Zone()
	fmt.Println(z, offset, tt.Format(time.RFC3339))

	tt = time.Date(2016, 8, 1, 0, 0, 0, 0, time.Local)
    z, offset = tt.Zone()
	fmt.Println(z, offset, tt.Format(time.RFC3339))
}

What did you expect to see?
CST 28800 1986-05-04T00:00:00+08:00
CST 28800 2016-08-01T00:00:00+08:00

What did you see instead?
CDT 32400 1986-05-04T01:00:00+09:00
CST 28800 2016-08-01T00:00:00+08:00

and for my /etc/localtime can download from here~
https://github.com/lysu/go-misc/blob/master/localtime

continue.. I found that 2017 is work well because it use cacheZone- -  , but use day before 1991 will use zoneTrans and get wrong zone- -

It seems there is something wrong in lib/time/timezone.zip.
I tried to reproduce the issue of timezone to verify whether the issue is up to your computer or not. Actually, I could reproduce error identical to your error. This implies the issue is a bug of Go.
https://play.golang.org/p/NKrG7ctjq8
The above depicts the bug, not why happens, for these who don't live in China.
I think that the bug stems from lib/time/timezone.zip which Go uses to determine the information of local timezone of your computer. It may be a workaround that you do not use the information given by lib/time/timezone.zip, then use time.Local = time.FixedZone("CST", 3600*8) instead.

oh~~ It seem be Daylight Saving Time question..
+09:00 mean DST...not Tokyo Time...But In China we doesn't use Daylight Saving Time.. - -

before 1991, China has Daylight Saving Time...so it is not a bug...

Closed ...
thx @catalase

I didn't consider dst! learn something new today.


DECEMBER Preview

Hello Team,
I created a Azure VM with December preview, but cannot see any program to access NAV.
Is there any additional set of procedure to be followed to get NAV on the VM?
Please help, I am on early stage with Docker and doesn't know how to use it.

No additional steps, but did you give it enough time? From when you start the deployment, until you can fully use it may take 30 minutes. Check the status page on the Landing Page for your new server. Does the web client work?

Hi @epernst ,
After executing the powershell script, the landing page and NAV container helper appeared on the desktop.


test suite updates

@bors r+

:pushpin: Commit 6dc353c0915c8d85218e984d1064a52c0711d2e2 has been approved by RalfJung

:hourglass: Testing commit 6dc353c0915c8d85218e984d1064a52c0711d2e2 with merge 9b5faa9c826de6709e3bcf3e9a21c097921e5837...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 9b5faa9c826de6709e3bcf3e9a21c097921e5837 to master...


[TW#27689] Example unit test project runs no tests

Environment

Development Kit: Wemos Lolin D32
Module or chip used: ESP32-WROOM-32
IDF version (run git describe --tags to find it): v3.3-dev-301-gadd7c49a2
Build System: CMake
Compiler version (run xtensa-esp32-elf-gcc --version to find it): 1.22.0-80-g6c4433a
Operating System: Linux (Ubuntu 18.04)
Power Supply: USB

Problem Description
There is an example unit test project provided in examples/system/unit_test/test. The docs for it say that it should have output like:
#### Executing one test by its name #####

Running Mean of an empty array is zero...
/Users/ivan/e/esp-idf/examples/system/unit_test/components/testable/test/test_mean.c:16:Mean of an empty array is zero:PASS

-----------------------
1 Tests 0 Failures 0 Ignored
OK

#### Running tests with [mean] tag #####

Running tests matching '[mean]'...
Running Mean of an empty array is zero...
/Users/ivan/e/esp-idf/examples/system/unit_test/components/testable/test/test_mean.c:16:Mean of an empty array is zero:PASS
Running Mean of a test vector...
/Users/ivan/e/esp-idf/examples/system/unit_test/components/testable/test/test_mean.c:22:Mean of a test vector:PASS
Running Another test case which fails...
/Users/ivan/e/esp-idf/examples/system/unit_test/components/testable/test/test_mean.c:35:Another test case which fails:FAIL: Expected<PHONE_NUMBER> Was -1

-----------------------
3 Tests 1 Failures 0 Ignored
FAIL

...and so on. However, when I run it on a clean master with idf.py build flash monitor I see:
#### Executing one test by its name #####

-----------------------
0 Tests 0 Failures 0 Ignored
OK

#### Running tests with [mean] tag #####

Running tests matching '[mean]'...

-----------------------
0 Tests 0 Failures 0 Ignored
OK

#### Running tests without [fails] tag #####

Running tests NOT matching '[fails]'...

-----------------------
0 Tests 0 Failures 0 Ignored
OK

#### Running all the registered tests #####

-----------------------
0 Tests 0 Failures 0 Ignored
OK

#### Starting interactive test menu #####

Press ENTER to see the list of tests.

Here's the test menu, pick your combo:

Enter test for running.

Here's the build log: idf_test_build_log.txt

Git bisect (obviously my favourite tool) says:
37d30c7a6e758ee103ae5da9736533086e4581d8 is the first bad commit
commit 37d30c7a6e758ee103ae5da9736533086e4581d8
Author: Renz Christian Bagaporo<EMAIL_ADDRESS>Date:   Sun Nov 11 15:36:10 2018 +0800

    cmake: separate app from idf lib project

    mbedtls: import mbedtls using unmodified cmake file

See also #2765 which also has this commit as its possible cause.

It actually looks like the unit test code isn't even included in the build tree. If you grep or ack for test_mean.c in the build/ directory before and after that commit, you'll see it's missing (after).

Confirmed working again, thanks!

For anyone else looking at this..
I experienced the same issue using the VSC plugin, ESP-IDF v5.3-beta2.
I (277) main_task: Started on CPU0
I (277) main_task: Calling app_main()

#### Executing one test by its name #####

#### Running tests with [mean] tag #####

#### Running tests without [fails] tag #####

#### Running all the registered tests #####

#### Starting interactive test menu #####

I managed to solve my issue by setting the setting the icon on the bottom of the IDE, 'ESP-IDF Select port to use' to the appropriate port & then clean, rebuild etc..:
I (282) main_task: Started on CPU0
I (282) main_task: Calling app_main()

#### Executing one test by its name #####

Running Mean of an empty array is zero...
/home/projects/unit_test/components/testable/test/test_mean.c:16:Mean of an empty array is zero:PASS

-----------------------
1 Tests 0 Failures 0 Ignored
OK

#### Running tests with [mean] tag #####

Running tests matching '[mean]'...
Running Mean of an empty array is zero...
/home/projects/unit_test/components/testable/test/test_mean.c:16:Mean of an empty array is zero:PASS
Running Mean of a test vector...
/home/projects/unit_test/components/testable/test/test_mean.c:22:Mean of a test vector:PASS
Running Another test case which fails...
/home/projects/unit_test/components/testable/test/test_mean.c:35:Another test case which fails:FAIL: Expected<PHONE_NUMBER> Was -1. Function [mean][fails]

-----------------------
3 Tests 1 Failures 0 Ignored
FAIL

#### Running tests without [fails] tag #####

Running tests NOT matching '[fails]'...
Running Mean of an empty array is zero...
/home/projects/unit_test/components/testable/test/test_mean.c:16:Mean of an empty array is zero:PASS
Running Mean of a test vector...
/home/projects/unit_test/components/testable/test/test_mean.c:22:Mean of a test vector:PASS

-----------------------
2 Tests 0 Failures 0 Ignored
OK

#### Running all the registered tests #####

Running Mean of an empty array is zero...
/home/projects/unit_test/components/testable/test/test_mean.c:16:Mean of an empty array is zero:PASS
Running Mean of a test vector...
/home/projects/unit_test/components/testable/test/test_mean.c:22:Mean of a test vector:PASS
Running Another test case which fails...
/home/projects/unit_test/components/testable/test/test_mean.c:35:Another test case which fails:FAIL: Expected<PHONE_NUMBER> Was -1. Function [mean][fails]

-----------------------
3 Tests 1 Failures 0 Ignored
FAIL

#### Starting interactive test menu #####

Press ENTER to see the list of tests.

Done

I don't understand why this impacts the tests running or not but this was the only change between the tests running & not.
Hope this helps others!


Use gofmt

Even though I am not a fan of the canonical Go code style, gsr is a Go library and should follow go code formatting guidelines. Therefore, I need to update my vimrc for .go files and use gofmt for reformatting the existing files.

This is now done and there is a fmtcheck target in the Makefile.


Go version has CVE-2022-41715 vulnerability and has a fix on 1.19.2, 1.18.7

What did you do?
What did you expect to see?
What did you see instead? Under which circumstances?
Environment

System information:
insert output of uname -srm here

Alertmanager version:
insert output of alertmanager --version here (repeat for each alertmanager
version in your cluster, if relevant to the issue)

Prometheus version:
insert output of prometheus --version here (repeat for each prometheus
version in your cluster, if relevant to the issue)

Alertmanager configuration file:

insert configuration here

Prometheus configuration file:

insert configuration here (if relevant to the issue)

Logs:

insert Prometheus and Alertmanager logs relevant to the issue here

closed by #3187


Add decomposition

Working towards fully integrating @gsantucci90's decomposition into DYNAMITE.
Current status:

New class decomposition.Decomp with methods comps_aphist and plot_comps_giu (methods and their names not final).
Decomp needs configuration object.
Decomp uses DYNAMITE's folder structure with the decomposition output written to config.settings.io_settings['output_directory'] + 'figure_nn/'.
Example call in dev_test/test_decomp.py.

Here's a summary of key additions/changes to "core" DYNAMITE:

setup.py now uses gausherm.f for building the Python module pyfort_GaussHerm using f2py. For this to work, (1) setuptools needed to be replaced by numpy.distutils and (2) numpy.distutils' install_lib method needed to be changed in order to preserve the executable flag on the compiled legacy_fortran components.
New method AllModels.get_best_n_models_idx: gets the indices of the n best models in all_models.

Problem that needs to be fixed which only occurs for conversion='gh_fit':

Different outcome when using orblib.LegacyOrbitLibrary.read_losvd_histograms as opposed to decomposition.Decomp.read_losvd_histograms
Decomp method -> all conversions produce figures that make sense
DYNAMITE method -> conversion 'gh_fit' figure does not make sense
All other values for conversion  seem to work with either read_losvd_histograms method.
Introduced a temporary Decomp parameter for diagnostics: read_orblib which can take values 'decomp' or 'dynamite' (use: see dev_test/test_decomp.py).

When merged, this PR closes #266.

Confirmed with @gsantucci90 and @adriano-poci that gh_fit and fortran should be doing similar enough things that we can rely on one for the workshop. So if we can't solve the gh_fit problem soon, we should merge this PR already, and then keep the issue alive to solve in the future.
One general change I would suggest before merging is to use more descriptive names for all methods and keyword options, at least the ones that will be user facing. Some suggestions:

'losvd_vsig' --> gh_expand_around_losvd_mean_and_std_deviation
'gh_fit' --> gh_fit_with_free_v_sigma_params
'fortran'  --> gh_fit_with_free_v_sigma_params_fortran
'moments' --> ??? :P

Should this also close https://github.com/dynamics-of-stellar-systems/dynamite/issues/255 ? I think at the beginning the idea was to call the module orbit_exploration :D

Should this also close #255 ? I think at the beginning the idea was to call the module orbit_exploration :D

Thanks for reminding us, @gsantucci90! If I remember correctly, we intended  to contain a collection of (future) orbit analysis tools with decomposition being the first one.
If so (and please correct me if I'm wrong!):

I would propose to rename decomposition.py to orbit_exploration.py (containing only the Decomp class for now which we might even rename to Decomposition).
#255 would be linked to this PR but remain open for future orbit analysis tools?

@gsantucci90: what do you think about naming the module orbit_exploration vs. decomposition?
People in EU timezone: shall we finalize the naming in our next hack session this Friday?

@maindlt I like the name orbit_exploration :)

I have tested this on a couple of galaxies, and it works nicely for me! :)
The only thing that does not work for me, is that I cannot install DYNAMITE on the cluster when I am on this branch, because I am getting the following error:
/home/fs71474/zocchia/dyn3/dynamite/setup.py:3: DeprecationWarning:

  `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
  of the deprecation of `distutils` itself. It will be removed for
  Python >= 3.12. For older Python versions it will remain present.
  It is recommended to use `setuptools < 60.0` for those Python versions.
  For more details, see:
    https://numpy.org/devdocs/reference/distutils_status_migration.html

  import numpy.distutils.core
Traceback (most recent call last):
  File "/home/fs71474/zocchia/dyn3/dynamite/setup.py", line 3, in <module>
    import numpy.distutils.core
  File "/home/fs71474/zocchia/.local/lib/python3.9/site-packages/numpy/distutils/core.py", line 24, in <module>
    from numpy.distutils.command import config, config_compiler, \
  File "/home/fs71474/zocchia/.local/lib/python3.9/site-packages/numpy/distutils/command/config.py", line 19, in <module>
    from numpy.distutils.mingw32ccompiler import generate_manifest
  File "/home/fs71474/zocchia/.local/lib/python3.9/site-packages/numpy/distutils/mingw32ccompiler.py", line 28, in <module>
    from distutils.msvccompiler import get_build_version as get_build_msvc_version
ModuleNotFoundError: No module named 'distutils.msvccompiler'

Everything else works fine, and I have no problems on my laptop, so I think that when we fix this we can safely merge this branch!

Testing update:

on my laptop (Python 3.9.13) and
on VSC4 with no modules loaded, but miniconda installed (Python 3.10.8),

installing DYNAMITE and running test_nnls.py and test_decomp.py work for me as expected.
Let's hunt down your error this week ;-)

Will merge with master for expedited use. Will also open an issue for adding orbit_exploration.py docstrings and documentation...


Problem with the last Korean character remaining in ui.chat_ui()

Thank you for making a great feature.
When I speak Korean, the last letter of the Korean text remains in the input field.

Interesting! Would you by chance be able to share a reproducible example?

Thank you for your feedback.
Please try typing in Korean below.
너에 대해 소개해줘
(Tell me about yourself)

If I copy-paste the sentence '너에 대해 소개해줘' like you did, the last letter doesn't remain.
However, if I type 'I너에 대해 소개해줘' in Korean and hit 'Enter', the problem still occurs.
I think you need to change the keyboard input to 'Korean' and test it to reproduce this problem.
Thank you :)


fix the help command

the help.js code has placeholder comments that need to be fixed to add meaningful information to both the reviewer and the applicant

Hey can I get assigned, or is this issue closed?


Add a SpaceCard class or make RepoCard as top-level + few tweak

from huggingface_hub import RepoCard not possible at the moment.
Also, could be good to have a SpaceCard object for Spaces.
In the "few tweaks" mentioned, it would be nice to have methods like:

card.get("key") / card.get("key", default_value)
card.pop("key") / card.pop("key", default_value)
card["key"]

=> basically same keyfeatures of a dictionary
(At the moment we have to do getattr(card, "something", default_value) which is not very pythonic)
(first mentioned in this internal discussion)

I think RepoCard itself should be enough (given it has attributes that a Space needs), but rather maybe only making it importable should be cool and help people out when they develop Spaces.

(@merveenoyan: I just opened a PR for this :) )

i still think a SpaceCard would be nice, just for elegance/symmetry (can be just an alias to RepoCard)

Yeah, why not. I just added a SpaceCard that inherits from Repocard without implementing anything else.


WIP: LibVirt Module Implementation

WIP libvirt implementation if others are interested in following along and testing. This is more or less working now in Kraken, but the example isn't included yet.

I think this will be really nice to have. I wonder if we could pull off making the current example(s) flexible enough that we could select between libvirt & vbox.

Moved to https://github.com/kraken-hpc/kraken-layercake/pull/19


OpenUTAU exported wav file is completely quiet

i am using default utau resampler and wavtool imported from og UTAU. and somehow the exported wav files are completely quiet.
but the export has like 7 MB.
do i need to use other resampler?
(edit: the audio is normal on resampling within the openUTAU but on export not)

oke i fixed it. just as the export i selected resampler not wavtool


EndEdit after pressing left or right keys

Hi,
I've implemented behavior when pressing left or right when editing a cell for WinForms.
I wanted to implement it for WPF and Android as well, but I couldn't get it compiling. I did change project settings for #WPF, but I seems there's more to it.
I'm also not really familiar with Git. I'm a mercurial user and not really active in online repos. So I had a bit of trouble attempting to get this code to you. So instead posting it below in the issue.
If you're interested in adding this change; replacing the OnKeyDown method of the InputTextBox in the WinForms control of Reogrid with the code below should do the trick. I guess it's peanuts for you to implement the same behavior in WPF and android as well.
I also want to point out that default Excel behavior when pressing "ENTER" while editing a cell will move the selection to the cell below. In your behavior you move to the right. Of course I don't know how literally you want to mimic Excel with these kind of behaviors?
Thanks!
           protected override void OnKeyDown(KeyEventArgs e)
            {
                var sheet = owner.currentWorksheet;

                if (sheet.currentEditingCell != null && Visible)
                {
                    bool isProcessed = false;

                    // in single line text
                    if (!TextWrap && Text.IndexOf('\n') == -1)
                    {
                        isProcessed = true;
                        if (e.KeyCode == Keys.Up)
                        {
                            ProcessSelectionMoveKey(e, sheet, () => sheet.MoveSelectionUp());
                        }
                        else if (e.KeyCode == Keys.Down)
                        {
                            ProcessSelectionMoveKey(e, sheet, () => sheet.MoveSelectionDown());
                        }
                        else if (e.KeyCode == Keys.Left && SelectionStart == 0)
                        {
                            ProcessSelectionMoveKey(e, sheet, () => sheet.MoveSelectionLeft());
                        }
                        else if (e.KeyCode == Keys.Right && SelectionStart == Text.Length)
                        {
                            ProcessSelectionMoveKey(e, sheet, () => sheet.MoveSelectionRight());
                        }
                        else
                        {
                            isProcessed = false;
                        }
                    }

                    if (!isProcessed)
                    {
                        if (!Toolkit.IsKeyDown(Win32.VKey.VK_CONTROL) && e.KeyCode == Keys.Enter)
                        {
                            ProcessSelectionMoveKey(e, sheet, () => sheet.MoveSelectionRight());
                        }
                    }
                }
            }

            private void ProcessSelectionMoveKey(KeyEventArgs e, Worksheet sheet, Action moveAction)
            {
                e.SuppressKeyPress = true;
                sheet.EndEdit(Text);
                moveAction();
            }

Thanks! Welcome to fork and submit any your changes to this repository of source code.

I've implemented behavior when pressing left or right when editing a cell for WinForms.
I wanted to implement it for WPF and Android as well, but I couldn't get it compiling. I did change project settings for #WPF, but I seems there's more to it.

You can just open the ReoGridWPF.sln solution to build WPF edition.  And open the ReoGridAndroid.sln to build Android edition.
Android build requires Xamarin development environment and runtime.
And make sure you are on the develop branch and use the latest source code.

I also want to point out that default Excel behavior when pressing "ENTER" while editing a cell will move the selection to the cell below. In your behavior you move to the right. Of course I don't know how literally you want to mimic Excel with these kind of behaviors?

You can set the movement direction by using this property:
// move right
worksheet.SelectionForwardDirection = SelectionForwardDirection.Right;

// move down
worksheet.SelectionForwardDirection = SelectionForwardDirection.Down;

See https://reogrid.net/document/behavior/

I applied the change in my own fork and created pull request #16. I hope I did it correctly.
I completely missed the setting you refer to! Thanks. That covers what I need, aside that it had inconsistent behavior between navigating cells and editing a cell. The pull request fixes that as well.

Thanks!


Media Player not available

Hi There,
Installed the integration. Reboot HA.
Add the integration. I get all the sensors but the media player is not working
How to solve this?

Are there any errors or warnings in your Home Assistant log for the component?

none. Is there something within FKB that must be enabled to get the media player option?

After a second reboot I see this error msg:
2021-02-10 08:07:06 ERROR (SyncWorker_1) [homeassistant.components.homekit.util] media_player.galaxy_tab_a_media_player does not support any media_player features

That error is related to homekit, not Fully Kiosk. The only option that should be required for the media_player entity is having the remote management setting enabled (which you would already have enabled to be able to set up the config entry anyway).
Could you share an example service call that you're using to interact with the media_player entity?

same problem here, no error logs
media player entity shows unavailable.
I can send a music to play but i can't stop it or raise/reduce volume

That error is related to homekit, not Fully Kiosk. The only option that should be required for the media_player entity is having the remote management setting enabled (which you would already have enabled to be able to set up the config entry anyway).
Could you share an example service call that you're using to interact with the media_player entity?

I have media_player into my homekit. So the error seems ok. The mediaplayer is unknown also in HA
IS there something to check in FKB Remote control settings to let the media player work?
Im using Browser_mod also... so you can make device where HA is shown also a media player, can that be the problem??

Hi,
on my installation I have the same issue. I'm using HA without homekit.
browser_mod is completly uninstalled and the whole isystem is rebooted.
 My state is also unknown but the services sent to media_player works

I have the same problem, the media_player entity is in "unknown" state.
However, when I manually set it to "on" it all works until it refreshes itself.

For what it's worth:
I have same issue.
I too had browser_mod installed.  I disabled that. I too suspected maybe some conflicts...  So then I..
I removed all instances of FullyKiosk integration (removed my tablets).
I removed HACS install.
I rebooted.
I re-installed FullyKiosk integration.
I added back one tablet.
my tablet media player is showing unknown.
I do have HomeKit but understand that shouldn't be at play here.  It's not complaining like above.
I see all the other entities working and have successfully triggered the service: Restart
I cannot turn "on" the media devices.  I disable and re-enable it but no love.  Here's the  yaml of my attempt to play media from local.  BTW the service shows the button green but nothing happens (because it's not enabled).
service: fullykiosk.play_audio data:   entity_id: media_player.fire_tablet_media_player   url: /media/tts1.mp3   stream: 3
I have fussed with different url's:  /media/local/tts1.mp3, media/tts1.mp3, and different streams, no luck.  Again device is not enabled.
Since it's flagged as a bug just providing some more confirmation/context.

Same for me.

Any workarounds or even a solution in sight?

I am experiencing the same issue.
Looking at the media_player code I wonder if the state handling is missing.
I have looked at other media_player implementations and there I can see that some state handling has been implemented.

Also seeing the same issue on both tablets I'm using with the integration.
I have browser_mod install which offers a media player which seems to work fine.

Any update on this one?

The media_player entity as it currently exists is mostly a dummy entity for service calls to target, but you should still be able to use the normal media_player functions to play audio streams and set volume.
Fully doesn't expose anything to say if it's actively playing audio so I'm not sure that we'll be able to have it actually display a state 🙁

Hi. Thx for your nice component.
As of media_player, could we make it always "on" instead of "unavailable"?
To be able to use in mediabrowser.

Does anyone know if this issue has been fully resolved?  I too am unable to see the media player for my additional tablets.  The first tablet configured properly and is working as expected.  But I have another 5 tablets, all identical in device, setup, etc and none of them are being picked up by HA/FKB integration.

I am having this issue as well, but in my case, it was working for months, before it stopped working and just shows "unavailable".

The media_player entity as it currently exists is mostly a dummy entity for service calls to target, but you should still be able to use the normal media_player functions to play audio streams and set volume.
Fully doesn't expose anything to say if it's actively playing audio so I'm not sure that we'll be able to have it actually display a state 🙁

It does report whether it is in use, and there is a setting for saying it is in use if audio is playing.... couldn't that work?

So it's completed now because...?

Was not my intention. Reopend

Any movement on this? I'm still having an issue with this.

Same issue here, fresh install today of the addon. I can get sound to play using this service, but the entity itself shows as unavailable.
service: fullykiosk.play_audio
data:
  entity_id: media_player.fire_tablet_media_player
  stream: 3
  url: http://myserver/mysound.mp3

Reporting in.
I used the media_player with tts for over a year, to announce when my alarm is armed/disarmed, when motion was detected outside of my house. etc.
Randomly stopped working.

A few useful notes.

https://www.fully-kiosk.com/en/

Make sure to enable the Advanced Web settings >> Enable Javascript Interface

I updated to 1.50.1

When testing TTS, I can see a new error popping on the kiosk: "Wrong url or unsupported format". This is a step in the correct direction.
These two steps seems to have resolved my media player reporting as unavailable. Now, if i can get TTS to work...


Version 1.9.1 gone?

It seems version 1.9.1 is no longer available via npm?  Is this intended?  We've been on that version for some time, but as of today npm install fails with:
npm ERR! Linux 2.6.32-642.1.1.el6.x86_64
npm ERR! argv "/home/jenkins/n/bin/node" "/home/jenkins/n/bin/npm" "install"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! code ETARGET

npm ERR! notarget No compatible version found<EMAIL_ADDRESS>npm ERR! notarget Valid install targets:
npm ERR! notarget 2.2.3, 2.2.2, 2.2.0, 2.1.1, 2.0.1, 2.0.0, 2.0.0-alpha, 1.9.3, 1.9.2, 1.9.0, 1.8.1, 1.7.3, 1.7.1, 1.6.0, 1.5.2, 1.5.1, 1.5.0, 1.4.0, 1.3.0, 1.2.8, 1.2.7, 1.2.6, 1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.5, 1.1.4, 1.1.3, 1.1.2, 1.1.1, 1.1.0, 1.0.0, 0.4.6, 0.4.5, 0.4.4, 0.4.3, 0.4.2, 0.4.1, 0.4.0, 0.3.1, 0.3.0, 0.2.1, 0.2.0
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

And an npm show gulp-sourcemaps reports the same:
{ name: 'gulp-sourcemaps',
  description: 'Source map support for Gulp.js',
  'dist-tags': { latest: '2.2.3' },
  versions:
   [ '0.2.0',
     ...
     '1.8.1',
     '1.9.0',
     '1.9.2',
     '1.9.3',
     '2.0.0-alpha',
     '2.0.0',
     '2.0.1',
     '2.1.1',
     '2.2.0',
     '2.2.2',
     '2.2.3' ],

We've moved to 1.9.2, but just curious why/how 1.9.1 was wiped from the registry.

Please check existing issues #268


DEV: Update symbols

Final part of slicing https://github.com/discourse/discourse-post-voting/pull/110, updating symbols.

@CvX We are done!11!


V11 compatibility

The game won't even start under v11 with this mod enabled.

Is this still the case?


LOOKUP FAILED

the main quest entry's are all showing LOOKUP FAILED following the patch update

Details
LOOKUP FAILED following the patch update  if patch is removed then the UI shows the correct information
Game Version
1.8.86
Language
English (EN)
New Game
Yes
Reproduction Steps
patch installed

This is 100% caused by you having a "Strings" folder in your data folder with outdated copies of the StarfieldCommunityPatch strings. Delete these to fix the issue.


Code for the fine-tuning process

Thanks for your amazing work! Can you provide the code for fine-tuning the models on modelnet40 and scanobjectnn? Or what codebase do you use?

thanks for your interest in our work. We didn't integrate the fine-tune code into ULIP by default. Our process is like: 1. we pre-train the backbone using ULIP using a specific backbone, then take the backbone back to its original repo, then initialize with the pre-trained weights, then finetune, we don't change the backbone architecture, only tune the hyper parameters like Lr, and we found that since we are not training from scratch anymore, so the default hyper parameters might not be optimal anymore, we will release the fine-tune checkpoints with logs and the hyper parameters we used soon.
the repo we used are:
https://github.com/ma-xu/pointMLP-pytorch
https://github.com/lulutang0608/Point-BERT
https://github.com/guochengqian/PointNeXt


Inconsistent/non-Unixy representation of mounted network share with space in name

Your Windows build number:  (Type ver at a Windows Command Prompt)

Build 10.0.17063.1000

What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)

One of the network shares I'm mounting under WSL has a space in its share name ("Our Documents"). This produces some inconsistencies in how it's represented when mounts are listed under WSL. When mounted with the command:
sudo mount -t drvfs '\\calmirie\Our Documents' /mnt/y -o metadata,uid=1000,gid=1000,umask=22,fmask=111
And then mounts are listed with the mount command, the following output is produced:
# avatar @ ATHENA in ~ [7:24:35]
$ mount
rootfs on / type lxfs (rw,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
none on /dev type tmpfs (rw,noatime,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,gid=5,mode=620)
none on /run type tmpfs (rw,nosuid,noexec,noatime,mode=755)
none on /run/lock type tmpfs (rw,nosuid,nodev,noexec,noatime)
none on /run/shm type tmpfs (rw,nosuid,nodev,noatime)
none on /run/user type tmpfs (rw,nosuid,nodev,noexec,noatime,mode=755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noatime)
A: on /mnt/a type drvfs (rw,noatime,uid=1000,gid=1000)
C: on /mnt/c type drvfs (rw,noatime,uid=1000,gid=1000)
D: on /mnt/d type drvfs (rw,noatime,uid=1000,gid=1000)
\\calmirie\home\avatar on /mnt/z type drvfs (rw,relatime,uid=1000,gid=1000,umask=22,fmask=111)
\\calmirie\Our on /mnt/y type drvfs (rw,relatime,Documents)
\\calmirie\Folders on /mnt/x type drvfs (rw,relatime,umask=22,fmask=111)

In which (as can be seen in the penultimate line), the second half of the share name shows up as an option, rather than part of the mounted device name. This should obviously not be the case.
This is not the case in /proc/mounts or /proc/self/mounts:
# avatar @ ATHENA in ~ [7:28:22]
$ cat /proc/self/mounts
rootfs / lxfs rw,noatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,noatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,noatime 0 0
none /dev tmpfs rw,noatime,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,noatime,gid=5,mode=620 0 0
none /run tmpfs rw,nosuid,noexec,noatime,mode=755 0 0
none /run/lock tmpfs rw,nosuid,nodev,noexec,noatime 0 0
none /run/shm tmpfs rw,nosuid,nodev,noatime 0 0
none /run/user tmpfs rw,nosuid,nodev,noexec,noatime,mode=755 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noatime 0 0
A: /mnt/a drvfs rw,noatime,uid=1000,gid=1000 0 0
C: /mnt/c drvfs rw,noatime,uid=1000,gid=1000 0 0
D: /mnt/d drvfs rw,noatime,uid=1000,gid=1000 0 0
\\calmirie\home\avatar /mnt/z drvfs rw,relatime,uid=1000,gid=1000,umask=22,fmask=111 0 0
\\calmirie\Our Documents /mnt/y drvfs rw,relatime,uid=1000,gid=1000,umask=22,fmask=111 0 0
\\calmirie\Folders /mnt/x drvfs rw,relatime,umask=22,fmask=111 0 0

Although there my concern is that the unescaped space in the share name will cause problems for programs that parse /proc/mounts by splitting it on column boundaries. It was my understanding that Unix practice was to use octal escapes to represent space, tab, newline and backslash in device/mount point names in procfiles, such that the penultimate line above would read:
\134\134calmirie\134Our\040Documents /mnt/y drvfs rw,relatime,uid=1000,gid=1000,umask=22,fmask=111 0 0

Fixed in 17093.

Just installed 17093, and yep, working great now!


agent: Avoid sudo, renew certificates assuming root

In some environments running the keystore cert renewal (as root user)
over an already connected agent connection may cause exception
such as: sudo: sorry, you must have a tty to run sudo. Since, all
agents - KVM, CPVM and SSVM run as root user, we don't need to run
the renewal scripts with sudo.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

How Has This Been Tested?
With this patch, created a KVM environment and ran provisionCertificate API on ssvm, cpvm and KVM agent to confirm that it worked as expected without the sudo since the owner process is root.

Checklist:

[x] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
Testing
[ ] I have added tests to cover my changes.
[x] All relevant new and existing integration tests have passed.
 I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✖centos7 ✔debian. JID-2098

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2101

@blueorangutan test

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

The result posting failed due to backend error, I'll put the results manually:
[root@pr2697-t2745-kvm-centos7-marvin marvin]# python tools/xunit-reader.py MarvinLogs/

Test
Result
Time (s)
Test File

ContextSuite context=TestDeployVirtioSCSIVM>:setup
Error
0.00
test_deploy_virtio_scsi_vm.py

test_03_vpc_privategw_restart_vpc_cleanup
Error
247.64
test_privategw_acl.py

test_04_extract_template
Failure
128.44
test_templates.py

I manually checked, LGTM the tests run on it including tests relevant to CA/cert/security changes:
Tests issuance of a certificate ... === TestName: test_issue_certificate_with_csr | Status : SUCCESS ===
ok
Tests issuance of a certificate ... === TestName: test_issue_certificate_without_csr | Status : SUCCESS ===
ok
Tests the ca certificate ... === TestName: test_list_ca_certificate | Status : SUCCESS ===
ok
Tests default ca providers list ... === TestName: test_list_ca_providers | Status : SUCCESS ===
ok
Tests certificate provisioning ... === TestName: test_provision_certificate | Status : SUCCESS ===
ok
Tests certificate revocation ... === TestName: test_revoke_certificate | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 6 tests in 21.122s

OK

Test List secondary storage VMs ... === TestName: test_01_list_sec_storage_vm | Status : SUCCESS ===
ok
Test List console proxy VMs ... === TestName: test_02_list_cpvm_vm | Status : SUCCESS ===
ok
Test SSVM Internals ... === TestName: test_03_ssvm_internals | Status : SUCCESS ===
ok
Test CPVM Internals ... === TestName: test_04_cpvm_internals | Status : SUCCESS ===
ok
Test stop SSVM ... === TestName: test_05_stop_ssvm | Status : SUCCESS ===
ok
Test stop CPVM ... === TestName: test_06_stop_cpvm | Status : SUCCESS ===
ok
Test reboot SSVM ... === TestName: test_07_reboot_ssvm | Status : SUCCESS ===
ok
Test reboot CPVM ... === TestName: test_08_reboot_cpvm | Status : SUCCESS ===
ok
Test destroy SSVM ... === TestName: test_09_destroy_ssvm | Status : SUCCESS ===
ok
Test destroy CPVM ... === TestName: test_10_destroy_cpvm | Status : SUCCESS ===
ok
Test NFS Version on Secondary Storage mounted properly on SSVM ... SKIP: No NFS version provided in test data

----------------------------------------------------------------------
Ran 11 tests in 436.613s

I'll merge this based on above and code reviews.


Newly Required Info.plist Keys in iOS 10

I spent many hours chasing down a crash when trying to fire up the camera in my app, where the error output was, lamely:
2016-07-08 16:41:11.356590 IntelliCenter[362:56700] [access] <private>

Turns out it’s because iOS 10 now requires the "Privacy - Camera Usage Description” (NSCameraUsageDescription) key in the Info tab (Info.plist). I recommend you add it to the "Adding Location Request to info.plist” section in your docs. I suspect that you’ll also need to add “Privacy - Bluetooth Peripheral Usage Description” (NSBluetoothPeripheralUsageDescription), though I haven’t got that far in testing, yet.

I've added a note in the Docs for users to add the newly required keys when running iOS 10. Thanks for the suggestion!


Composer dependency versions

Hello,
This is a great tool. Nice work.
Noticed that in your composer.json you have quite strong version specs like symfony/console: 2.6.*. Haven't tried though, but think it won't work if my project is on other symfony version, 2.3, 2.5 or 2.7. Guess then I could not add your tool to my composer.json, but would have to have a separate installation for it, and that would complicate plugin maintenance. Could you consider loosening a bit on your dependencies and use ~ version spec so the tool can be added to app require-dev w/out dependency conflicts?

Hi @tmilos ,
thanks for your feedback and thanks for your valuable hint. You are right and i changed and released it with https://github.com/mamuz/PhpDependencyAnalysis/releases/tag/v0.5.1.

Still not usable with sf 3.0 ))

@garex :+1:

Fixed with Release v0.6.1


Update storageAzureFiles bicep module

Overview/Summary
This change updates the varDirectoryServiceOptions variable in the module to correctly configure the storage account for 'Entra ID Domain Services' integration, as required by the resource definition
This PR fixes/adds/changes/removes

#590

Breaking Changes
Testing Evidence
After deploying the Baseline workload from a local fork that has this variable changed, the deployment succeeds when using EntraDS as a value for avdIdentityServiceProvider parameter.

As part of this Pull Request I have

[x] Read the Contribution Guide and ensured this PR is compliant with the guide
[ ] Ensured the resource API versions in .bicep file/s I am adding/editing are using the latest API version possible
[x] Checked for duplicate Pull Requests
[x] Associated it with relevant GitHub Issues
[ ] (AVD LZA Team Only) Associated it with relevant ADO Items
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x] Performed testing and provided evidence.
[ ] Updated relevant and associated documentation (e.g. Contribution Guide, Module READMEs, Docs etc.)

@pazdedav thanks for the great finding and contribution.


fix decodeoutput.cpp for the outputfile can output to file and directory

modified, resubmit, and merged as 826274a08864385ef1f645f91328a0a6ba24136c


Do not show actions for untrusted regulated assets

Preview is available here:http://stellar-demo-wallet-pr194.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-demo-wallet-pr194.previews.kube001.services.stellar-ops.com/


[evm] fix lhs issue with ReadRef

Motivation
This PR

Fixes an issue with ReadRef where the left hand side of the assignment might not be a simple local
Changes test suite code so it runs evm tests only when move-to-yul compiler reports no errors. This way, users get compiler errors instead of something like:

    Warning: Yul is still experimental. Please use the output with care.
    Error: Expected keyword "object".
     --> <stdin>:4:1:
      |
    4 |
      | ^

/land


Typescript declaration is missing

Providing TS declaration would help a lot in adoption.
This is the basic d.ts I've used internally -
// This is definitelty incomplete.
// For the full API, refer to https://github.com/keveightysev/us-state-converter/blob/master/README.md

declare module 'us-state-converter' {
  type StateInfo = {
    name: string;
    usps: string;
    demonym: string;
    iso: string;
    altAbbr: string[];
    uscg: string;
  };
  type Converter = (string) => StateInfo | undefined;
  const converter: Converter;
  export default converter;
}

thanks @khitrenovich
and we can add other functions as well,
declare module 'us-state-converter' {   type StateInfo = {     name: string;     usps: string;     demonym: string;     iso: string;     altAbbr: string[];     uscg: string;   };   type Converter = (string) => StateInfo | undefined;   const converter: Converter;   export function fullName(string): string {}   export function abbr(string): string {}   export default converter; }
then import
import { fullName,  abbr} from 'us-state-converter'

make pull request

@keveightysev Any chance to have this merged in? Would be valuable for the community

@khitrenovich @tharinduAppno @Dmitriyx @FrenchMajesty
Apologies for the delay on getting this added. I just published an update to NPM with the declaration file


PostgreSQL does not work with a persistent windows mount

docker-compose fails on Windows OS with the default docker-compose.yml. Error output is:
db_1   | FATAL:  data directory "/var/lib/postgresql/data" has wrong ownership
db_1   | HINT:  The server must be started by the user that owns the data directory.

Further details on the issue can be found here.
I have successfully tested the workaround suggested here to use docker to create the volume.
Suggest updating the README to add specific Windows OS note to:

Create a docker volume: docker volume create --name mattermost-postgresql-volume -d local
Update docker-compose.yml to below

version: "2"

services:

  db:
    build: db
    restart: unless-stopped
    volumes:
      - mattermost-postgresql-volume:/var/lib/postgresql/data
      - /etc/localtime:/etc/localtime:ro
    environment:
      - POSTGRES_USER=mmuser
      - POSTGRES_PASSWORD=mmuser_password
      - POSTGRES_DB=mattermost
    # uncomment the following to enable backup
    #  - AWS_ACCESS_KEY_ID=XXXX
    #  - AWS_SECRET_ACCESS_KEY=XXXX
    #  - WALE_S3_PREFIX=s3://BUCKET_NAME/PATH
    #  - AWS_REGION=us-east-1

  app:
    build:
      context: app
      # comment out 2 following lines for team edition
      # args:
      #   - edition=team
    restart: unless-stopped
    volumes:
      - ./volumes/app/mattermost/config:/mattermost/config:rw
      - ./volumes/app/mattermost/data:/mattermost/data:rw
      - ./volumes/app/mattermost/logs:/mattermost/logs:rw
      - /etc/localtime:/etc/localtime:ro
    environment:
      # set same as db credentials and dbname
      - MM_USERNAME=mmuser
      - MM_PASSWORD=mmuser_password
      - MM_DBNAME=mattermost
      # in case your config is not in default location
      #- MM_CONFIG=/mattermost/config/config.json
    links:
      - db:db

  web:
    build: web
    ports:
      - "80:80"
      - "443:443"
    restart: unless-stopped
    volumes:
      # This directory must have cert files
      - ./volumes/web/cert:/cert:ro
      - /etc/localtime:/etc/localtime:ro
    # Uncomment for SSL
    # environment:
    #  - MATTERMOST_ENABLE_SSL=true
    links:
      - app:app

volumes:
  mattermost-postgresql-volume:
    external: true

Will this works on Linux too ? I don't understand where you choose the Host path of the mounted volume ?

I'll have a check tomorrow when I'm back on my macbook.

I've done some research and using volumes will work on MacOS, Linux and Windows. Looks like it's the preferred method for persistent data (see here.
If you don't mind, I'll put together a pull request on the next week for you to review.

Could be great to have a PR. I'll test it on Linux.
But it seems that you cannot choose the host path of your volume here right ? If not, it could be a non-acceptable breaking change since lot of people just use the default docker-compose.yml file and have their data on ./volumes/db.

Okay, I give in. As far as I can tell there is no way to get this just running on a windows host while maintaining backward compatibility. Windows users will just have to modify the docker-compose.yml as detailed above.

Arf, I'm sorry to hear this. If you want, you can propose a workaround in the README.
In any case, thanks for your time :)

I can do that. Will be a couple of weeks until I have enough free time.


Notes on Part 4: Field of View.

The modern API does FOV with tcod.map.compute_fov.  The syntax will be familiar, you just need to add in the transparency array.
The visible/explored arrays should be added as separate arrays, not added in the tile dtype.
A memory array could be added with a graphics dtype and filled with a blank shroud graphic.  This array would hold the dark graphics and be used for non-visible areas of the map.  You could also put item and enemy graphics here so that they show as ghosts when out of view.  The memory array can hold out of date data so that changes to the tiles array are not reflected until the player sees the changes themselves.
np.where will be used a lot here.  Think of it like a ternary operator. out = (cond ? a : b) is similar to out = np.where(cond, a, b) but np.where works on entire arrays.

I think the "memory" is great, though it might be best left as an extra. Whether the player should see entities no longer in the FOV feels like a design decision that the person following the tutorial should evaluate and make themselves, though it does make sense to show items out of range, I think.
I'm experimenting with how to do this, and here's what I ended up with for the GameMap.render method:
    def render(self, console: Console) -> None:         console.tiles_rgb[0:self.width, 0:self.height] = np.where(             self.visible,             self.tiles["light"],             np.where(self.explored, self.tiles["dark"], self.tiles["empty"])         )
This works, but is there a better way to tell console.tiles_rgb to not draw anything than creating a new "empty" graphic data type in all the tiles?
Here's what I did for that:
`tile_dt = np.dtype(
[
("walkable", np.bool),  # True if this tile can be walked over.
("transparent", np.bool),  # True if this tile doesn't block FOV.
("dark", graphic_dt),  # Graphics for when this tile is not in FOV.
("light", graphic_dt), # Graphics for when this tile is in FOV.
("empty", graphic_dt)
]
)
def new_tile(
*,  # Enforce the use of keywords, so that parameter order doesn't matter.
walkable: int,
transparent: int,
dark: Tuple[int, Tuple[int, int, int], Tuple[int, int, int]],
light: Tuple[int, Tuple[int, int, int], Tuple[int, int, int]],
) -> np.ndarray:
"""Helper function for defining individual tile types """
return np.array((walkable, transparent, dark, light, (ord(" "), (0, 0, 0), (0, 0, 0))), dtype=tile_dt)
floor = new_tile(
walkable=True,
transparent=True,
dark=(ord(" "), (255, 255, 255), (50, 50, 150)),
light=(ord(" "), (255, 255, 255), (200, 180, 50))
)
wall = new_tile(
walkable=False,
transparent=False,
dark=(ord(" "), (255, 255, 255), (0, 0, 100)),
light=(ord(" "), (255, 255, 255), (130, 110, 50)),
)`
I feel like I'm missing something obvious with the "empty" part.

I think the "memory" idea is great, though it might be best left as an extra.

That's fine.  I really need you to tell me 'no' whenever I present anything too over engineered, because I usually don't realize it.

This works, but is there a better way to tell console.tiles_rgb to not draw anything than creating a new "empty" graphic data type in all the tiles?

An array with 1 element can be used as a NumPy scalar which can broadcast to the entire array.  So you only need a scalar to represent all the darkness/shroud/empty:
SHROUD = np.array((0x20, (255, 255, 255), (0, 0, 0)), dtype=graphic_dt)

I'm experimenting with how to do this, and here's what I ended up with for the GameMap.render method

You almost recreated the rendering that I typically use.  You'll want np.select to get the if..elif..else behavior from chaining together np.where's, then you add the above scalar.
console.tiles_rgb[0:self.width, 0:self.height] = np.select(
    condlist=[self.visible, self.explored],
    choicelist=[self.tiles["light"], self.tiles["dark"]],
    default=SHROUD,
)

I've implemented your SHROUD and np.select suggestions in the part-4 branch.


How to get setup_world.json for a new dataset?

Dear author, I want to train nerf-h using my dataset. However, it only have transformer.json, how can i get setup_world.json for it?

I'd appreciate it if I could consult your script for guidance.

Hi, @PAU1G3ORGE I don't have the python notebook script left because it has been quite a while. However, it is not very hard to rewrite the code. I think I used this code here to convert the camera pose into camera rays.
pose_to_ray.txt
Once you convert your camera pose into camera rays, you can use matplotlib or some plotting library to draw them in the 3D space.
Hope this helps.

Thanks a lot!


refactor store

No changes, just a refactoring in preparation of #127

🛎  ping @hoodiehq/maintainers this PR is ready for review 👀. It’s fairly simple


Demo doesn't work.

I just tried the demo: http://cliffcloud.github.io/Leaflet.Sleep/#summary
And everytime I used the mousewheel to scroll, as soon as the page scrolled so the map was under the mouse, the map would start zooming instead.
Chrome Version 44.0.2403.157 m
Windows 7 64bit.

Hmm, that's no good, just to make sure we're on the same page here's an annotated screenshot:

The maps up higher just serve to demonstrate the scroll-capture issue, the one at the bottom is the only one with sleep enabled.  Do you see the sleep message on that one?

Ah yes indeed it works like you describe.  User error.  Though it is unclear from the text on the page what is supposed to happen :)

I'll increase the sleep time to make it a little more straightforward.
Any thoughts on what would make it more clear in the description?

Maybe something at the top of the demo page (and the README) that says what problem the plugin is solving.
Something like:
Normally when you use your mousewheel to scroll through a page that contains a Leaflet map, once the page scrolls such that the map is under the cursor, the page stops scrolling and the map starts zooming.  This is annoying!

This plugin solves this problem.

Try scrolling this page and observe how the first two maps capture the mousewheel and start zooming.  But the third map does not, since it is using the plugin.


9.1.x: Update Proxy Verifier to v2.4.1

This updates Proxy Verifier to v2.4.1 which includes body verification.

Ouch!
include/yaml-cpp/node/detail/node_iterator.h:56:19: error: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Werror=deprecated-declarations]
   56 |     : public std::iterator<std::forward_iterator_tag, node_iterator_value<V>,
      |                   ^~~~~~~~

Why aren't other PRs seeing that problem?

we need to upgrade the yaml-cpp to 0.7.0 anyway? ( assuming the current version is 0.6.x )
https://github.com/jbeder/yaml-cpp/commit/26faac387c237ccac75a56925c6858baf8ccda1b

nvm, upgrade is done on master and 9.2.x by https://github.com/apache/trafficserver/pull/8232


Support flexible method invokers

From the beginning, Spring has provided a popular programming model based on flexible method invokers via the @RequestMapping programming model in Spring MVC / Spring WebFlux or @MessageMapping in Spring messaging with STOMP or now RSocket protocols.
That's maybe a matter of taste, but while I find the java.util.function.* beans programming model useful, it sounds like to me more a useful feature (that could be potentially supported at Spring Framework level, issue to be created) rather than the cornerstone and mandatory way Spring Cloud Function should be exposed to developers.
I think supporting flexible method invokers programming model in Spring Cloud Function, in addition to the java.util.function.* beans one, would be great since it would provide a consistent programming model across the Spring portfolio and make it possible to define functions in a more concise en readable way, especially  in Java.
For example, it could be possible to define String foo(String bar, String baz) as an equivalent of Function<Tuple<String, String>,String> foo(). Or Flux<String> foo(Flux<String> bar, Flux<String> baz) as an equivalent of Function<Tuple<Flux<String>,Flux<String>>, Flux<String> foo(). We could even support Kotlin Coroutines with methods like suspend foo(String bar, String baz): String that would translates internally to Mono thanks to the use of the ReactiveAdapterRegistry.
How these methods are resolved and the potential limitations to avoid issues related to stateful classes needs to be defined.

Ironically that is exactly what I am currently working on as part of this issue - https://github.com/spring-cloud/spring-cloud-function/issues/378

Just for my own sake wanted to create few tasks and add a bit more context as I see it:

[ ] - Add initial support for "anything" that looks like function (e.g., POJO function)

For example:
public class MyFunction {
    public String uppercase(String v) { return v.toUpperCase();}
}

While not the implementation of a Function it is a function  and should/can be treated as such and is consistent with the historical POJO message of Spring. This will allow for flexibility that is best demonstrated with the tests in ongoing work
MyFunction f1 = catalog.lookup("myFunction");
assertThat(f1.uppercase("foo")).isEqualTo("FOO");

Function<String, String> f2 = catalog.lookup("myFunction");
assertThat(f2.apply("foo")).isEqualTo("FOO");

Function<Flux<String>, Flux<String>> f3 = catalog.lookup("myFunction");
assertThat(f3.apply(Flux.just("foo")).blockFirst()).isEqualTo("FOO");

As you can see MyFunction could be accessed as is as well as Function<String, String> and Function<Flux<String>, Flux<String>> and few other variations.

[ ] - Add the same support for multi-in/out as described in the original issue

Now I use following code:
@Controller
@Qualifier(NAME)
public class Greeter implements Function<String, Mono<String>> {
    public final static String NAME = "greeter";

    @Override
    @MessageMapping(NAME)
    public Mono<String> apply(String s) {
        return Mono.just("Hello " + s);
    }
}


gulpfile - wrong src path for imagemin

https://github.com/nystudio107/craft/blob/168498fa699e2e22853d53621fbe538021e8c0e0/gulpfile.js#L328

This is actually the correct path. It minimizes them in place. Unless I'm missing something?

If it is intended to minimize them in place, then it is indeed correct.
To me however, it seems odd to do it this way.
In your src folder you expect gulp to leave everything intact, while processed things should go to dist or build. If imagemin messes up a picture, there is a risk that you lose the original file.
It also does not really align with the rest of the gulp tasks, which all output to the dist folder.
Additionally, it requires another additional copy step you either need to do manually, or add yourself in the gulpfile, which kind of defeats the purpose...
Suppose that could be solved with a general copy task, where src and dests can be added in package.json

Yep, you're right, and the way you're discussing it is how I historically did it -- but what I found was that it was really tedious to run, and watch it re-minimize the images each time.
Whereas if you have it overwrite the destination image, it will recognize it is minimized, and do very little.
So, it's up to you. If you'd prefer it to minimize each run through (maybe only on deploy), set it back to /src/img/

...which I just did:
// imagemin task
gulp.task("imagemin", () => {
    return gulp.src(pkg.paths.src.img + "**/*.{png,jpg,jpeg,gif,svg}")
        .pipe($.imagemin({
            progressive: true,
            interlaced: true,
            optimizationLevel: 7,
            svgoPlugins: [{removeViewBox: false}],
            verbose: true,
            use: []
        }))
        .pipe(gulp.dest(pkg.paths.dist.img));
});


More Network Metrics

Ability to get a clients throughput and goodput with the server. This would help when debugging issues that might be related to bandwidth.
Also maybe the servers overall  throughput and goodput of all the clients added up.

Ability to get a clients throughput and goodput with the server.

@xzippyzachx what is the difference between throughput and goodput in this case?

Ability to get a clients throughput and goodput with the server.

@xzippyzachx what is the difference between throughput and goodput in this case?

Throughput would be the entire packet including header data and payload data. Goodput is only the useful data so only the actual payload data of the packet.

When you say "header data" do you mean Riptide's header or also the protocol/transport header? For the UDP & TCP transports I think that would vary depending on whether you're using IPv4 or IPv6, but I've got no idea what kind of header Steam's networking has 🤔

The correct throughput value would be everything including the protocol/transport headers yeah. Goodput is probably good enough for a built in solution but maybe mention that its the goodput in the XML comments.


[Samples][Java] Fix disparities of 08.suggested-actions sample

Related to microsoft/botbuilder-java1165
Proposed Changes
We compared the documentation/code migration/behavior of the 08.suggested-actions sample between Java and C# and we found disparities and fixes that this PR includes.

Update README
Rename createSuggestedActions to sendSuggestedActions just like C#
Clean-up autogenerated files/folder related to Eclipse (e.g. target/.classpath)-
Add package-info.java file

Testing
Suggested Actions sample working as expected

Merged in MS


Not supported web mode

Hi @wcandillon , @chrfalch ,  I tried the following example which on ios and android seems to work.
Link: https://snack.expo.dev/Uw4PHZN9w
But if I try the web mode it gives an error (see image below).
it would be possible to make sure that if it is not supported, a message is displayed saying: not supported instead of giving error.
For example, in web mode it is normal that it is not adequately supported, but I would prefer to have an informative message than an error.
How can I not get the error displayed if it is viewed in web mode?
Error:

@wcandillon : The example in question is this, which does not give an error on ios/android.