Error when launching nvim

I get this error after installing the plugin

@trebaud  which neovim verison that you used?

Im using:
NVIM v0.4.3
Build type: RelWithDebInfo
LuaJIT 2.0.5

@trebaud  you must use neovim 0.5+ .  the lua api in neovim 0.5 version above.

@glepnir  thank you :+1:

@glepnir Im sorry I installed nvim 0.5 and the plugin with vim-plug, I dont get any errors anymore, but I don't get anything either in my statusline. Is there any additionnal configuration that needs to be done that is not listed in the README? I have these set in my init.vim:
set termguicolors
set laststatus=2

Sorry I'm a bit noob when it comes to nvim and lua. Thanks!

hmm. the galaxyline only provide api and default provider . then you can build your own statusline based on your ideas. You can find examples in example folder. it has two files that show your how to build a statusline. Also you can copy it to use.
First you can create a fold called lua in ~/.config/nvim. then create a file named myline or something you like. then create your own statusline based on galaxyline api. or copy content of examples folder eviline or spaceline  to this file.
If you used vim-plug, seems like you use vim file . so you need  do like this
lua <<EOF
require('myline')
EOF

@glepnir awesome that worked, thanks! small detail the runtime was expecting a .lua file for my statusline config file, so myline.lua in my case. Thanks for the awesome work!


Sound is no longer working

Camera board id: SigmaStar ssc338q and ssc30kq
OpenIPC version: Majestic Lite for SigmaStar, version master+569441d, built on 2024-09-08

Issue description
When sound is enabled, errors appear in majestic log and no sound is embedded into the video.
audio:
  enabled: true
  srate: 8000

dmesg output attached.
dmesg.txt
Sound was working with majestic versions from April 2024, and stopped when firmware update was applied.

Please test the current build: infinity6e.lite.tar

Please test the current build: infinity6e.lite.tar

This file seems to work, or at least it does not give an error. No microphone on the desk to test it right now.

I assume this should have been fixed, if there is still an issue please respond to this ticket.

The issue is still not fixed, there is no sound embedded in the video.
Compared majestic log with a working version and
[   audio] mi_ai_init@273
[   audio] mi_ao_init@188

records missing.

I'm comparing with a version with sound of majestic
Majestic Lite for SigmaStar, version master+eecb684, built on 2024-04-28

Downloaded older version of majestic
Majestic Lite for SigmaStar, version master+eecb684, built on 2024-04-28
copied it over the latest firmware, copied also /usr/lib/libmi_sed.so
And I have sound.
So there is definitely some issue with the latest release.

Please provide some proper output logs.

Did sysupgrade -r and downloaded Majestic Lite for SigmaStar, version master+78fb2a3, built on 2024-09-09
Confirm sound now works on ssc338q


clearPriorAudioLists

Version
4.13.1
Description
When setting the boolean to true and updating the audioLists via setState, I get this error:
TypeError: Cannot read property 'id' of undefined
ReactJkMusicPlayer.getPlayId
C:/[PATH]/node_modules/react-jinke-music-player/es/index.js:1052
  1049 | _defineProperty(_assertThisInitialized(_this), "getPlayId", function () {
  1050 |   var audioLists = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _this.state.audioLists;
  1051 |   var playIndex = Math.max(0, Math.min(audioLists.length, _this.props.defaultPlayIndex));
  1052 |   var playId = _this.state.playId || audioLists[playIndex].id;
       | ^  1053 |   return playId;
  1054 | });
  1055 |

Expected Behavior
The audioList should be cleared out and the new state should be loaded.

Can you show your code ? your audioLists is empty array after updated?
console.log(your audio lists)

When the app loads the playlist state is empty:
this.state {    playlist: '' }
In componentDidMount() it calls the function this.getPlaylist() and passes a variable for the playlist to fetch which changes the state of playlist. This is where the error is thrown and this morning it's throwing two errors.
TypeError: Cannot read property 'id' of undefined
1049 | _defineProperty(_assertThisInitialized(_this), "getPlayId", function () { 1050 |   var audioLists = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _this.state.audioLists; 1051 |   var playIndex = Math.max(0, Math.min(audioLists.length, _this.props.defaultPlayIndex)); 1052 |   var playId = _this.state.playId || audioLists[playIndex].id; 1053 |   return playId; 1054 | });
and
`
TypeError: Cannot read property 'stop' of undefined
1951 |     this.unBindKeyDownEvents();
1952 |     this.media.removeListener(this.listenerIsMobile);
1953 |     this.media = undefined;

1954 |     this.lyric.stop();
| ^  1955 |   }
1956 | }, {
1957 |   key: "componentDidMount",
`

TypeError: Cannot read property 'stop' of undefined

https://github.com/lijinke666/react-music-player/blob/master/src/index.js#L1923
beasuse player only init when playlist not empty in componentDidMount, so this.lyric not be init. it's a bug. i will to fix it. sry.

TypeError: Cannot read property 'id' of undefined

please upgrade latest version 4.14.0, i think the issue is fixed.
it's a  temporary solution
- this.state = { playlist: '' }
+ this.state = { playlist: [{}] }

thank your feedback.

fixed.


Download is not working with 2.4 version

I have installed the latest 2.4 version on AEM with sample content but downloading the asset shows this on browser:
The web page at http://localhost:6502/content/asset-share-commons/en/light/actions/download/_jcr_content/root/responsivegrid/download.download-asset-renditions.zip might be temporarily down or it may have moved permanently to a new web address
in the error.log:
POST /content/asset-share-commons/en/light/actions/download/_jcr_content/root/responsivegrid/download.download-asset-renditions.zip HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable
java.lang.NoClassDefFoundError: com/adobe/acs/commons/util/BufferedServletOutput
Moreover, the Downloads component on downloads page(/content/asset-share-commons/en/light/actions/downloads) also giving the below error while adding:
GET asset-share-commons/en/light/actions/downloads/jcr:content/root/downloads.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable
org.apache.sling.scripting.sightly.SightlyException: Compilation errors in org/apache/sling/scripting/sightly/apps/asset__002d__share__002d__commons/components/modals/downloads/downloads__002e__html.java:_Line 53, column 2649 : com.adobe.aem.commons.assetshare.components.actions.downloads.Downloads cannot be resolved to a type
this class Downloads.java exist in the 2.3 version but not anymore on 2.4:
2.3.4: https://github.com/adobe/asset-share-commons/tree/asset-share-commons-2.3.4/core/src/main/java/com/adobe/aem/commons/assetshare/components/actions
2.4:https://github.com/adobe/asset-share-commons/tree/asset-share-commons-2.4.0/core/src/main/java/com/adobe/aem/commons/assetshare/components/actions
but the component /apps/asset-share-commons/components/modals/downloads/downloads.html still referring the class com.adobe.aem.commons.assetshare.components.actions.downloads.Downloads
this is re-producible on both AEM6.5 and AEM SDK

Are you using the cloud classifier in your ASC all maven dependency?
https://opensource.adobe.com/asset-share-commons/pages/getting-started/new-project/

com.adobe.aem.commons
assetshare.all
2.x.x
cloud
zip

Hello David,
Thanks for your response. Indeed the dependencies are there and I can see both core and core-fragment bundle Active in the console:

@kwin it doesnt appear that Sling Models or OSGi components are being registered from the new Core Cloud Fragment bundle. Any idea what could be going on?
For example, The RequireAemCanaryImpl is not being recognized as a OSGi component/service for RequireAemCanary - thus making ASC think its running on AEM Classic and not AEM CS.
Similarly, it doesnt appear the Downloads Sling Model (in the Fragment build) is being registered a a Sling Model.

For Sling Models the bundle manifest configuration for models (https://sling.apache.org/documentation/bundles/models.html#bundle-manifest-configuration) from the fragment is not considered due to https://docs.osgi.org/specification/osgi.core/7.0.0/framework.module.html#framework.module.fragmentbundles (i.e. only very few manifest headers are merged).

Hello @davidjgonzalez , @kwin ,
Thanks a lot for fixing it. Could you please tell me how I can integrate this fix within the release 2.4.0 which I am already using in my current project ?

Thanks for @kwin for the quick fix!
@vivekmalviya0104  the fix is in ASC v2.4.2 - can you upgrade to that please?

@davidjgonzalez , yes after upgrading to 2.4.2 it works!
thanks a lot again.


Split the r-file into cells

This may be an useful and interesting enhancement!
See for instance: Stata Improved Editor
Thanks!

would you be more specific?

something like this:
![https://dl.dropboxusercontent.com/u/18116710/Screenshots/predictmen_6.png]]

I see. Perhaps we could use the knitr spin syntax.
https://github.com/yihui/knitr/blob/master/inst/examples/knitr-spin.R

yes!

By the way, this should be addressed in (SendREPL)[https://github.com/randy3k/SendREPL].


Google Signin in the webpage not working

Hey,
I'm trying to implement a login feature in my app. For login, the user will be redirected to the webpage, and is done through ``.
Unfortunately, it doesn't open Google Login.
Here's the code
  InAppWebViewGroupOptions options = InAppWebViewGroupOptions(
      crossPlatform: InAppWebViewOptions(
        useShouldOverrideUrlLoading: true,
        mediaPlaybackRequiresUserGesture: false,
      ),
      android: AndroidInAppWebViewOptions(
        useHybridComposition: true,
      ),
      ios: IOSInAppWebViewOptions(
        allowsInlineMediaPlayback: true,
      ));

// Build Method

InAppWebView(
        key: webViewKey,
        initialUrlRequest:
            URLRequest(url: Uri.parse("https://account.ziqx.in/")),
        initialOptions: options,
        onConsoleMessage: (controller, consoleMessage) {
          print("Console::$consoleMessage");
        },
      ),

Console Log:
{message: Uncaught TypeError: Cannot read property 'requestAccessToken' of undefined, messageLevel: 3}

I still couldn't fix that. However, it works wit ChromeSafariBrowser.

Google allows sign-in with Google Account only in normal browsers, it restricts it in web-views due to security reasons and recommends Google SDKs for iOS and Android for this purpose.
A similar behaviour exists for Facebook login.
In general, these services recognize the default WebView user agent, so to make it work, you could just set a custom user agent value.
I have created an example that works using InAppWebView here: https://github.com/pichillilorenzo/flutter_inappwebview_examples/tree/main/third_party_oauth_user_sign_in


Error installing venv packages

Hi Stefanie, I'm running python 3.8 within my venv and getting a similar "wheels" area error:
    ERROR: Command errored out with exit status 1:
     command: 'c:\users\markd\book_env2\scripts\python.exe' 'c:\users\markd\book_env2\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\markd\AppData\Local\Temp\tmpb2bl6x1r'
         cwd: C:\Users\markd\AppData\Local\Temp\pip-install-ry6bol8m\scipy_e49de6a1f70d4cf7bd58266d53541aa4
    Complete output (182 lines):

An update: turns out I wasn't running 3.8, but 3.9. I'm having trouble with the advice you gave in the other thread:
python3 - m venv book_env python=3.6.2
...just isn't working. I go into book_env and python -V returns 3.9. Ugh.
Any other way to specify the previous python version, or should we use virtualenv?

Stefanie, I did try virtualenv, and got as far as here:
Collecting numpy==1.19.2   Using cached numpy-1.19.2-cp36-cp36m-win32.whl (10.9 MB) ERROR: Could not find a version that satisfies the requirement pandas==1.2.0 (from versions: 0.1, 0.2b0, 0.2b1, 0.2, 0.3.0b0, 0.3.0b2, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0rc1, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.16.2, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.19.0, 0.19.1, 0.19.2, 0.20.0, 0.20.1, 0.20.2, 0.20.3, 0.21.0, 0.21.1, 0.22.0, 0.23.0, 0.23.1, 0.23.2, 0.23.3, 0.23.4, 0.24.0, 0.24.1, 0.24.2, 0.25.0, 0.25.1, 0.25.2, 0.25.3, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5) ERROR: No matching distribution found for pandas==1.2.0

Stefanie, nevermind. Somehow I just couldn't get Python 3.9 off my system, and >python3 kept pointing to it. I did an install of 3.8.8 and saw that >python points to 3.8.8, so I was able to create using >python -m venv book_env. All the required packages also successfully installed. Whew!

I'm glad you were able to figure it out @markdietrich1! For reference, your attempt to create the virtual environment with a specific version of Python didn't work because those instructions were for conda; you would have had to install Anaconda/Miniconda and use conda to set up the virtual environment instead of venv:
conda create --name book_env python=3.8

Let me know if you have any more questions, or if we can close this issue.


[Feature Request] Support PWA

Is there any plan to support PWA?

See https://github.com/wowchemy/wowchemy-hugo-modules/issues/1900


ADAP-25 Run python model test based on schedule

Currently when running our python model tests with GHA, we run multiple tests at the same time. With Dataproc(Cluster or serverless), tests would fail due to underlying infra is overloaded. See this as an example.
We should skip python model tests in normal workflows, but create a scheduled run to run python model tests everyday so that we can still catch regression
When turning the test on, we also need to include the later added PySpark Dataframe Test(https://github.com/dbt-labs/dbt-core/pull/5906)

More color on the test fail due to Dataproc not scalable enough.
There are two ways to submit dataproc job: Cluster vs Serverless, for Cluster we run a always on cluster, for serverless GCP would spin up a short lived server to just run one job.

When we submit too much jobs together to the Dataproc always on cluster, we run into the risk of jobs on that cluster stuck and not finishing
When we submit too many serverless job request, we will hit the rate limit for serverless jobs, so that python model will fail(Yes we don't have retry logic built in here)

We've looked into a few ways of doing this (other than scheduling) and didn't really come up with a good work around. Even if we schedule this, we would still want to check it on PRs. I think some of the retry work addresses the hung processes. So I'm closing this for now.


The threadCache is always missing the first couple threads in the Inbox

It looks like Google has recently made a change to how it retrieves threads when first loading Gmail.  The first i/fd XHR call asks for thread number six in the inbox.  The later calls ask for emails further down in the folder.  There is never an i/fd call asking for the first five threads.  Those first five threads are actually returned with the request to https://mail.google.com/mail/u/0/data.
Has anyone else noticed this.  Seems like gmail.js would need to intercept the results of that /data call or just use the dom exclusively for those first five threads.

Hey there and thanks for the report!
Also: Sorry about the slow reply. Been really busy putting out fires elsewhere.
That said: I've always noticed that the first email (when loading straight into an email-view) is missing from the threadCache, but never considered it crucial enough to investigate further.
If now more emails are starting to miss from the threadCache, I guess that will lead to a perception about the new GmailJS Data-API not being sufficiently stable.

use the dom exclusively for those first five threads.

DOM is sadly insufficient to get the data-granularity we want. If the DOM-data is sufficient, I would always advice to use the DOM-API directly since it's probably going to be more reliable, not to mention faster.

Seems like gmail.js would need to intercept the results of that /data call

That's probably a better idea. I'll have to research how though: This call is not  a regular XHR call, but seems to be a regular web-request so the XHR interceptor wont work.
Finding out if this is possible, and if so exactly how, will probably take some research.
You already seems to have looked a bit into this. Would you care to dig a little more? :smile:

Also: Can confirm the most recent items in the Inbox is unavailable in the threadCache.
This will definitely go noticed by many users in many extension, and should IMO really be fixed.

Doing some very basic testing, I just added the following patch to log all intercepted requests:
diff --git a/src/gmail.js b/src/gmail.js
index c9803f2..8d8a40d 100755
--- a/src/gmail.js
+++ b/src/gmail.js
@@ -1668,6 +1668,7 @@ var Gmail = function(localJQuery) {
                     var xhr = this;
                     this.onreadystatechange = function(progress) {
                         if (this.readyState === this.DONE) {
+                            console.log("INTERCEPTED REQUEST:" + this.xhrParams.url_raw);
                             if (progress.target.responseType === "" || progress.target.responseType === "text") {
                                 xhr.xhrResponse = api.tools.parse_response(progress.target.responseText);
                             } else {

And the bad news is that the /data-request doesn't show up, even with content-script set to load at document_start.
My guess is that we may have to re-architect GmailJS to run as part of the content-script, and extend the API-permissions required in manifest.json if we want to solve this:
    "permissions": [
        "webRequest"
    ]

That of-course, will also require re-writing every single extension which uses GmailJS.
While I think that (in the long run) would be the cleanest, and most maintainable way to do things, I (thinking short term "lets just get this fixed") would rather not have to undertake that whole endeavour.
Any opinions one way or the other?

Not sure when this request gets loaded, or what pulls it in. Inspecting the DOM after main inbox is loaded yields nothing:
var iframes = document.querySelectorAll("iframe")
var iframesrcs = Array.prototype.map.apply(iframes, [(i => i.src)]);
iframesrcs
(8) [
    "",
    "https://hangouts.google.com/webchat/u/0/load?clien…ps%3A%2F%2Fmail.google.com&ho...",
    "https://hangouts.google.com/webchat/u/0/frame2?v=1…...",
    "https://contacts.google.com/widget/hovercard/v/2?a…3A%...",
    "https://accounts.google.com/o/oauth2/postmessageRe…...",
    "https://hangouts.google.com/webchat/u/0/frame2?v=1...",
    "https://hangouts.google.com/webchat/u/0/frame?v=15…...",
    "https://hangouts.google.com/hangouts/_/hscv?pvt=AM…p..."
]

Nothing persisted for us to inspect.
I hoped we might manually be able to XHR that URL (https://mail.google.com/mail/u/0/data), but manually loading that plain URL without arguments in the brwoser, I get an empty data-set.
So what options does that leave us?
Any ideas?

Ok so I've looked into this once more, since 1. I have time and 2. it seemingly affects one of my extensions.
I can definitely confirm this behaviour, but I also see that trying to fetch data based on the legacy-ID still works for these emails.
That leads me implementing a workaround somewhat like this:
const emailId = "msg-f:1642539442546720237";
const emailElem = document.querySelector(`[data-message-id='#${emailId}']`);
const emailLegacyId = emailElem.dataset.legacyMessageId
const emailLegacyData = gmail.get.email_data(emailLegacyId);
// TODO: extract data required by application from emailLegacyData

This could/should probably be implemented inside Gmail.JS itself in the form of a async function like api.new.get.email_data_with_fallback() which also converts the data to the expected format.
Until then, this is the fallback I'm going to use to get something shipped :smile:

Hi,
I think the problem come from the function api.tools.xhr_watcher.
Precisely where xhr response is parse and load in cache email_data
// intercept email-data passively, instead of actively trying to fetch it later!                             // (which we won't be able to do once 2019 hits anyway...)                             if (api.check.is_new_data_layer()) {                                 if (api.tools.get_pathname_from_url(xhr.xhrParams.url_raw).endsWith("/i/fd")) {                                     let parsed_emails = api.tools.parse_fd_request_payload(xhr.xhrResponse);                                     api.tools.cache_email_data(parsed_emails);                                     events.load_email_data = [parsed_emails];                                 }                             }
Only the pathname endwith with "/i/fd" is checked and when i debug xhr exchange i found the 5 first email in another pathname request. In my case it is :
      "method": "POST",
      "url": "https://mail.google.com/sync/u/0/i/s?hl=fr&c=9",

I think we have only to add this pathname and adapt the parser for this path if necessary.
Perhaps there are another pathname to check to have all messages...
What do you think ?

Only the pathname endwith with "/i/fd" is checked and when i debug xhr exchange i found the 5 first email in another pathname request. In my case it is :

That's super-interesting.
If you can provide a PR with these changes, so that I can play around with it in the boilerplate project and verify myself, that's super-welcome.
We'll definitely approve any patches which helps solve this problem properly!

Hi,
I will work on that on the next days or next week because this issue is a problem for me :)
By continuing my investigations, I clearly, il thing that bv request like "https://mail.google.com/sync/u/0/i/bv?hl=fr&c=0" contains more interesting informations than fd request like "https://mail.google.com/sync/u/0/i/fd?hl=fr&c=1" to analyze the inbox_content.
bv request contains full list of thread/email in the inbox_content and full list of label and it's possible to join label and thread/email with bv request.
The fd request is more interesting to have detail for each thread/email and to view thread or email on DOM.

Great. Thanks for looking into this!
When you do land some code based on your research, I would love a PR which fits nicely with what we have:

keeps the new gmail.new.get.email_data() working exactly as before (from an API-consumer point of view), with whatever changes being done, being done transparantly in the back-end.
whatever extra data you can get which you think is useful, feel free to extend the gmail.new.* namespace to include that functionality.

I guess for the first point, a review will mostly consider the code-form more than anything else. For the second, I guess we might go a little bit back and forth wrt what a good API should look like.
Therefore it might make sense to send a PR with the first change first and get that landed, before we start the discussions on the second bit. Sounds like a plan?

OK I'm agree in principle.
I'll work on the first change because that's what i need.
I'll see where my investigation go depend on my time and the difficulty, by continuing my investigation, i see that request sequence is complex and depending on context like conversation mode on/off for example.
There are multiple xhr to synchronize thread and email data like :

https://mail.google.com/sync/u/0/i/fd?hl=fr&c=1
https://mail.google.com/sync/u/0/i/bv?hl=fr&c=15
https://mail.google.com/sync/u/0/i/s?hl=fr&c=17

I just find that the first request which return thread and email data is execute when loading Gmail and it's not XHR, it's a text/html content-type request on https://mail.google.com/mail/u/0/data?
The response is HTML with JSON embedded, that's why thread and email data can be display quickly without waiting XHR...
I have the impression that email is append to cache only one time and cache never update... I'm not sure.
So its'complex....

Sounds complex indeed. Did you get anywhere with this? :)

Yes i found and implemented a solution and it works.
Sorry for the late, i havent enough time now... confined at home with childs....
I think i can send a PR next week.

Yes i found and implemented a solution and it works.

Great news!

Sorry for the late, i havent enough time now... confined at home with childs....

No rush. I'm in the same situation and I understand perfectly well.
I was just curious if you got anywhere or not. Looking forward to see the results! :smiley:

This should now be fixed in the new and shiny 1.0.0 release!


Minor typo/grammar change.

Thank you for the PR @RussVanBert. I'm proposing this change https://github.com/dooboolab/react-native-iap/pull/1719 that will remove the second paragraph

Closes #1719


Updataing intellisense

Issue Type: Feature Request
Updataing intellisense to   stop working.
VS Code version: Code 1.23.0 (7c7da59c2333a1306c41e6e7b68d7f0caa7b3d45, 2018-05-03T16:44:10.813Z)
OS version: Windows_NT ia32 10.0.16299

This issue is not actionable. Please see this guide for suggestion on how to report an issue. For example, describe:

What were you trying to do?
What went wrong?
What steps lead up to it going wrong?


chore Disable memory tracker by default on BE UT (macOS)

Proposed changes
Issue Number: close #xxx
Problem summary
Currently, the feature memory tracker doesn't work well on macOS and we disable it by default on macOS. Therefore the workflow BE UT (macOS) should disable it as well.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[x] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[x] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.41 seconds
load time: 435 seconds
storage size:<PHONE_NUMBER>7 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221123030545_clickbench_pr_51168.html


Fix grpcio-sys building under musl

musl doesn't provide musl-g++, so CMake fails to run when targeting musl
even though grpcio-sys doesn't actually require or use g++. Satisfy
CMake by telling it to use non-musl g++ if we're building for musl.

LGTM


Error during Hotstar Activation

@botallen Kudos to you for releasing this addon.
Your Environment

Add-on name: Disney+ Hotstar
Add-on version: 0.0.26
Operating system version/name: OSMC 2020.03-1 on Raspberry Pi 3B+, with Kodi 18.6

Describe the bug
When trying to activate the Disney+ Hotstar addon using Hotstar Activation Screen, we get the following error in the top right corner of the screen:
KeyError: u'isGuest'
After this error, the addon allows me to browse and play all content on Disney+ Hotstar including Premium content. However, progress is not saved and thus other devices are not aware of content watched on this device.
To Reproduce
Steps to reproduce the behavior:

Go to 'Settings' -> 'Áddon Browser' -> 'Video Addons' -> 'Disney+ Hotstar'
On the addon information page, Click on 'Configure' -> 'Login'
The Login screen shows a four character activation code.
Visit https://hotstar.com/in/activate via any browser. If required, login using your credentials.
Enter the four character activation code from the addon on TV screen.
Activation page on browser shows 'Activation Successful'
Addon shows error: KeyError: u'isGuest' shows up on the top right corner of TV screen.
I can browse and view all content including Premium content, but progress is not saved.

Expected behavior

Activation should happen with appropriate success message.
After watching any content on Disney+ Hotstar via this addon, progress should be saved.

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Debug log

Please let me know if you need more information.

@botallen Thanks for closing this bug.
Is the fix for this part of the latest commit? Should I update the add-on on my side?

@botallen Thanks for closing this bug.
Is the fix for this part of the latest commit? Should I update the add-on on my side?

Yes it's fixed now except watch progress. Watch progress sync is not easy to implement so i have to dig little bit more (how netflix addon implemented it)

@botallen  Thank you.
I am trying to update, but the botallen repository shows version 0.0.26, which is the previous version.
The latest version 0.0.27 is not available via https://kodi.botallen.com
Is there another method to update to 0.0.27?

Yes it's fixed now except watch progress. Watch progress sync is not easy to implement so i have to dig little bit more (how netflix addon implemented it)

Thanks for the comment. I am happy to wait for progress sync.

@botallen Thank you.
I am trying to update, but the botallen repository shows version 0.0.26, which is the previous version.
The latest version 0.0.27 is not available via https://kodi.botallen.com
Is there another method to update to 0.0.27?

Yes it's fixed now except watch progress. Watch progress sync is not easy to implement so i have to dig little bit more (how netflix addon implemented it)

Thanks for the comment. I am happy to wait for progress sync.

Try restarting kodi or Go to Repository and open context menu and select check for update. you'll get v0.0.27

Try restarting kodi or Go to Repository and open context menu and select check for update. you'll get v0.0.27

Thanks for the tip. The Context Menu -> Check for Updates allowed me to get 0.0.27. Will try out and report back.
Also, in the dependencies section, one particular dependency script.module.win_inet_pton is always shown as "Not available". Let me know if you prefer a separate bug for this.

@botallen Good News!

At the activation screen, I no longer get the error message: KeyError: u'isGuest'. So activation is successful.
For some video titles, subtitles are working. Not sure why they are not working across the board.

Let me know how I can help further.


[Bug] 给用户设置超过1000的连接数没有生效，还是报Reach limit of connections

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
doris 版本：fe和be都是1.0.0-rc03
What's Wrong?
执行show processlist 发现最大只有1000左右个连接，且很多连接都是在sleep状态。
看监控也是最大1000左右

同时也看了一个百度Doris的文档有说到：Doris 集群还有总连接数上限。默认为 1024。即所有用户的连接数量不得超过这个上线。
有可能是这个原因。
What You Expected?
希望能让用户可以动态的限制连接数
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

First of all, the maximum number of connections per FE is 1024, if you want to adjust it, please set the qe_max_connection parameter. Second, the number of connections per user needs to adjust the max_user_connections parameter, which defaults to 100. If you think the number of connections is not enough, you can adjust these two parameters appropriately


Heavy memory cost for replaceRE with group

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.81.0+extended linux/amd64 BuildDate=unknown

Does this issue reproduce with the latest release?
Yes
Example Code
I found this issue during building the site within this partial code
{{ $rddcont := .Content }}
{{ $rddcont = $rddcont | replaceRE "([^\\$])([$][^\\$]+?[$])([^\\$])" "$1, $2, $3" }}

When replaceRE tries to join the matched groups with non-whitespace characters, my 16G memory gets out of range. By replace the new string as "$1 $2 $3" this issue disappears. I am not sure if this issue exists on other platform because I use hugo on majaro linux.

By replace the new string as "$1 $2 $3" this issue disappears.

Interesting.  What if you replace with $1_ $2_ $3?

By replace the new string as "$1 $2 $3" this issue disappears.

Interesting. What if you replace with $1_ $2_ $3?

This issue appears again

What kind of content are you processing? Is your site source available?

Yes, the repository is at wzdlc1996/AllinOne, the involved template is at layout/partial/escapeMathjaxEscape/html. I try to use this code to automatically handle the math experiment in mathjax with \ in it such that I can write it in normal latex manner instead of use \\.

I would expect it to also fail with 2 spaces on each side of $2 (as in $1 $2 $3).
If you mean with $1  $2  $3, it does not cause memory issue. The replace format of $1_$2_$3, $1\n$2\n$\3, $1\t$2\t$3, and $1$2$3 can all cause this issue, so I think it is related to the type of joining character, only multiple space is ok.


Setting --workDir doesn't affect config.json search path

Overall, the workDir command line argument mostly works as expected, causing PufferPanel to chdir into the specified directory before reading/writing any files. However, it doesn't effect the config.json file, which appears to always be read from the working directory where PufferPanel is started, regardless of the workDir flag value.
The reason appears to be that PufferPanel sets up the config file search path in an init function before the workDir flag is processed. At first I was confused since it looked like viper.AddConfigPath(".") should make Viper look in the current directory at the time ReadInConfig is called; however, it seems that Viper actually normalizes to an absolute path as soon as AddConfigPath is called. So the path that gets saved is PufferPanel's initial working directory, not the one specified with workDir.
This causes problems for the Windows service since it starts in an inconvenient working directory with no apparent way to change it.
I think the AddConfigPath calls should be moved till after command-line parsing and workDir handling happens. This should preserve the same behavior for folks who don't specify workDir, while allowing those who do set it to put their config files into their preferred directory instead of the system's default.

I swore I tested that the config was in a sane spot when I did this on Windows services. Can you confirm it's actually in the system32 dir?

So I haven't had a chance to set up a Go dev environment at home yet to build the service myself with some extra logging (maybe this weekend?). But yes, it really does seem the service has an initial working directory of C:\Windows\System32. Here's my setup:

I installed PufferPanel 2.4.0 from the Windows service installer.
I created a C:\ProgramData\PufferPanel directory to hold my PufferPanel data.
I edited the service with sc config to have a binary path of "C:\Program Files\PufferPanel\pufferpanel.exe" runService --workDir="C:\ProgramData\PufferPanel".
I dropped the following config into C:\ProgramData\PufferPanel\config.json:

{
  "panel": {
    "email": {
      "templates": "C:\\Program Files\\PufferPanel\\email\\emails.json"
    },
    "web": {
      "files": "C:\\Program Files\\PufferPanel\\www"
    }
  }
}

When I start the service, the config is ignored and startup fails (apparently because it's using the default relative email template path of email/emails.json, but my email templates aren't in C:\ProgramData\PufferPanel, they're in C:\Program Files\PufferPanel next to the excutable.
But if I copy config.json to C:\Windows\System32\config.json and try starting the service again, it starts up just fine, using the email and www paths I specified in the config.

So yes, it seems that:

The service starts with a working directory of C:\Windows\System32.
Additionally, the config file is searched for in the initial working directory, not the workDir directory.


[WIP] Add a device and an assay, resolves #1069

Copied from #1074 which has merge conflicts.
There's another problem here: a new assay is defined in obi-edit.owl, but that should be a violation of the assay-violation-edit.owl rule. @beckyjackson Please look into that.

Once we figure out why the rule is not failing, the new assay should be moved into assays.tsv.

That new assay isn't a direct child of assay, and even though the query uses rdfs:subClassOf* the axiom linking the parent class up to assay is located in the assays module. So this rule would only catch assays that are directly asserted to be assays in obi-edit.owl.
I'm not sure the best way to handle this... a simple fix would be looking for any label that ends with the word "assay". A more complex fix would be to remove all annotations from the assays module, merge that in, and then look for any descendants of assays that still have annotations. Any other ideas?
As a side note, I'm seeing this in Protege but I don't see it on the PR:

Ok, the assay term is from the previous PR #1071 and should not be in this PR. But for #1071 I should have put it in assays.tsv and the check didn't catch that.

To confirm, this PR adds the term 'Illumina NovaSeq 6000' (OBI:0002630) and moves 'direct RNA-sequencing assay' (OBI:0002629) to the assays template. 'direct RNA-sequencing assay' was duplicated as OBI:0002631 so I have deleted OBI:0002631.
Was there supposed to be a second device?
Also, I ran make fix which is why there are some other changes showing up in the assays template. Weird EOL things.

This is right. Thanks!


router table cli command with not complete answer

i do this command:
sudo ot-ctl router table
and the response is not complete:
| ID | RLOC16 | Next Hop | Path Cost | LQ In | LQ Out | Age | Extended MAC     |
+----+--------+----------+-----------+-------+--------+-----+------------------+
|  3 | 0x0c00 |       63 |         0 |     0 |      0 | 125 |<PHONE_NUMBER>000000 |
| 17 | 0x4400 |       63 |         0 |     0 |      0 | 125 |<PHONE_NUMBER>000000 |
| 21 | 0x5400 |       63 |         0 |     0 |      0 | 125 |<PHONE_NUMBER>000000 |
| 25 | 0x6400 |       26 |        12 |     0 |      0 | 153 |<PHONE_NUMBER>000000 |
| 26 | 0x6800 |       56 |         1 |     3 |      3 |  89 | 6286d2e318f27384 |
| 27 | 0x6c00 |       63 |         0 |     0 |      0 | 125 |<PHONE_NUMBER>000000 |
| 31 | 0x7c00 |       63 |         0 |     0 |      0 |   0 | da72ea2354e42713 |
| 34 | 0x8800 |       56 |         1 |     2 |      2 |   6 | e62ed34a82fee150 |
| 55 | 0xdc00 |       56 |         2 |     1 |      1 |   6 | 2e3834f973e8fb42 |
| 56 | 0xe000 |       26 |         1 |     3 |      3 |  12 | b6f45e429ad94fd9 |
| 59 | 0xec00 |       26 |         1 |
i must do CTRL + C to exit from this situation

@nicho2 , thanks for raising this issue. Can you provide more information on your setup?

Git commit id
IEEE 802.15.4 hardware platform
Build steps

The fix for this is to update the source-code. In the file /ot-br-posix/third_party/openthread/repo/src/cli/cli_config.h, change the size of the serial buffer, by modifying this line #define OPENTHREAD_CONFIG_CLI_UART_TX_BUFFER_SIZE 1024, from a buffer of 1024 to a buffer of an appropriate size for your router table.
For example for a buffer size of 10240, which should support about 100 nodes on the network.
#define OPENTHREAD_CONFIG_CLI_UART_TX_BUFFER_SIZE 10240
After making this modification, run the following commands in the base folder of ot-br-posix:
> ./script/bootstrap
> ./script/setup
If you reboot, ot-ctl should now pick up the modifications and the issue with router table should get solved.

Closing stale issue.


[ARITH] Migrate simplifier to new infra

Migrate the current usage of simplifier to new infra part of #2588
After this PR. We are no longer dependent on HalideIR's Simplifier, and completely relies on the new integer analysis infrastructure. We might get certain regressions due to slightly different behavior, although the general infra will head to a better direction as we continue to improve the new consistent simplification infrastructure.

cc  @dmlc/tvm-team

Thanks, @sgrechanik-h , this PR is now merged

By the way, I'm a bit concerned that this and some other PRs were merged without sufficient review and discussion.


Refactor integration test "arrange" step for auth objects

I've added the fixtures but it seems like a lot more errors are pop up.

📚 Documentation preview 📚: https://earthaccess--752.org.readthedocs.build/en/752/

Converted to draft until we can figure out new errors

ERROR tests/integration/test_cloud_download.py::test_earthaccess_can_download_cloud_collection_granules[daac0] - assert False is True
 +  where False = <earthaccess.auth.Auth object at 0x7f878cba0310>.authenticated

Looks like our session isn't authenticated as expected. Perhaps we could debug tomorrow during the hack day? I know that's not a very accessible time of day in your timezone, so if you aren't able to make it, I'll plan on spending that time investigating and share back here :)


Doesn't work with python 3.5 under windows 10

First thing I noticed were several implicit string conversions, but even after fixing those I still get the following exception:
'The driver cannot recognize the specified command.'
Incorporating the windows code from this library (which works really well but is windows only) could be an idea.  It is licensed under the Apache license according to the python package index.
https://github.com/michaelgundlach/mp3play

Ha. If you check the source code, the Windows section has this comment:
Inspired by (but not copied from) Michael Gundlach<EMAIL_ADDRESS>mp3play:
https://github.com/michaelgundlach/mp3play

So I'm already well aware of that package. I'll look into this tonight. The driver issue seems quite odd to me... it works fine under 2.7 on Windows 10 (at least on my computer) so I don't know why it wouldn't work under 3.5.

I don't get that  error, but do get this

playsound('Alarm10.wav')
File "C:\Users\Derek\AppData\Local\Programs\Python\Python35\lib\site-packages\playsound.py", line 37, in _playsoundWin
winCommand('play', alias, 'from 0 to', durationInMS)
File "C:\Users\Derek\AppData\Local\Programs\Python\Python35\lib\site-packages\playsound.py", line 22, in winCommand
command = ' '.join(command).encode()
TypeError: sequence item 3: expected str instance, bytes found

I am getting the same issue as @KrunchMuffin and can't figure out the reason this is happening

same issue.
Per Stack Overflow, you need to pip install playsound==1.2.2 to make it to work


Message signature not match the Public Key

Hi. As I'm trying to use IOTEX in my project to sign the messages we see that the signature of the same message using the same PK  differs on 2 functions and does not correspond to Public Key if I verify the signature and message hash on MEW.
Can You review the problem here?
see example;
void IoTeXsignMsg() {
std::string str = "{"Name":"QmYXo5GgDuumVRu1C6qix8YHRkgLsmGcqTZ3kbe2mvkZGn","Hash":"QmYXo5GgDuumVRu1C6qix8YHRkgLsmGcqTZ3kbe2mvkZGn","Size":"31"}";
uint8_t message[192];
std::copy(str.begin(), str.end(), std::begin(message));
// here signature differs
uint8_t signature[IOTEX_SIGNATURE_SIZE] = {0};
signer.getSignature(message, sizeof(message), pkBytes, signature);

// Print the signature
Serial.print("Signature: ");
for (int i=0; i<IOTEX_SIGNATURE_SIZE; i++)
{
    char buf[3] = "";
    sprintf(buf, "%02x", signature[i]);
    Serial.print(buf);
}
Serial.println("");

// The hash differ every time
uint8_t msgHash[IOTEX_HASH_SIZE] = {0};
signer.getEthereumMessageHash(message, sizeof(message), msgHash);

 // Print the ETH hash
    Serial.print("ETH msg hash: ");
for (int i=0; i<IOTEX_HASH_SIZE; i++)
{
    char buf[3] = "";
    sprintf(buf, "%02x", msgHash[i]);
    Serial.print(buf);
}
Serial.println("");

// Here there is the other method
signature[0] = {0};
signer.signHash(msgHash,pkBytes,signature);
// Print the signature
Serial.print("Signature: ");
for (int i=0; i<IOTEX_SIGNATURE_SIZE; i++)
{
char buf[3] = "";
sprintf(buf, "%02x", signature[i]);
Serial.print(buf);
}
}
See here  getSignature() and signHash() different results.
10:24:41.933 -> Public key: 042c9b38918b2d1416ab9a37d724d0d2603bfa89a021a360b5aa32bad8aa83270aceb7c8e269e02540c05a993920450380add4562f68ffa6515864f895a6e1a42f
10:24:42.165 -> IoTeX address: io1hjwxp7fc60h3xlcdejj54m2cptfqfvul5yzevh
10:24:42.306 -> Ethereum address: 0xbc9c60f938d3ef137f0dcca54aed580ad204b39f
10:24:43.190 -> getSignature() result: ec0ad707da8a1915f6ff27b42cb5a397a138896009fc20c39619e5f621f5c1da7c60682441a3d39313fc818b339760598c1c93cdf761fcfc9c6a13f4f88b479301
10:24:43.468 -> ETH msg hash: a9127ee30076a68d6aabd3c2176b67fb6ee7e069736bcd44232b4d2e3085dfa6
10:24:44.350 -> signHash() Signature: 2f8fe5b6dc5d221610ac90a63dc38b43794ee08a9d8134d770e33b52071705184f96833ece1a96ebb163ca6f1712f4e231b381d19ed9fde68fccccdbcc6a78c700
10:24:45.330 -> Public Key: 042c9b38918b2d1416ab9a37d724d0d2603bfa89a021a360b5aa32bad8aa83270aceb7c8e269e02540c05a993920450380add4562f68ffa6515864f895a6e1a42f
sign verification on the wallet;
{
"address": "0xbc9c60f938d3ef137f0dcca54aed580ad204b39f",
"msg": "0xa9127ee30076a68d6aabd3c2176b67fb6ee7e069736bcd44232b4d2e3085dfa6",
"sig": "ec0ad707da8a1915f6ff27b42cb5a397a138896009fc20c39619e5f621f5c1da7c60682441a3d39313fc818b339760598c1c93cdf761fcfc9c6a13f4f88b479301"
}
MEW verification fali:
0xae9d583096c0369f0469879bde84b3af60329ae9 did sign the message
or
{
"address": "0xbc9c60f938d3ef137f0dcca54aed580ad204b39f",
"msg": "0xa9127ee30076a68d6aabd3c2176b67fb6ee7e069736bcd44232b4d2e3085dfa6",
"sig": "2f8fe5b6dc5d221610ac90a63dc38b43794ee08a9d8134d770e33b52071705184f96833ece1a96ebb163ca6f1712f4e231b381d19ed9fde68fccccdbcc6a78c700"
}
MEW verification fali:
0xe06204fb22868a7098794eada35b05fb165a05d0 did sign the message

The only idea is coming there
uint8_t msgHash[### IOTEX_HASH_SIZE] = {0};
signer.getEthereumMessageHash(message, sizeof(message), msgHash);
the eth hash size is 32 IOTEX_HASH_SIZEis also 32 or I'm understand wrong.

Problem solved I've made that here: uint8_t message[192] = {0};
Where I add a shorter string I had bunch of zeros at the end.
Comment;
If You want to sign a message and let user to check the signature on ETH tools just use the json structure as bellow.
"address": "Your PUBLIC_KEY",
"msg":"Your message in HEX",
"sig": "signature in hex use signMessage(....) to get it"
{
"address": "0xca50f5411b3b47d7ab0420e305583aee3e4d1e75",
"msg": "0x7b224e616d65223a22516d59586f3547674475756d565275314336716978385948526b674c736d476371545a336b6265326d766b5a476e222c2248617368223a22516d59586f3547674475756d565275314336716978385948526b674c736d476371545a336b6265326d766b5a476e222c2253697a65223a223331227d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"sig": "2f8fe5b6dc5d221610ac90a63dc38b43794ee08a9d8134d770e33b52071705184f96833ece1a96ebb163ca6f1712f4e231b381d19ed9fde68fccccdbcc6a78c700"
}

IoTeX that lib is superb.

IoTeX that lib is superb.

Thank you @Nortberg !
Feel free to contribute with issue, bug fixes or new features :)

IoTeX that lib is superb.
Thanks for the feedback, and for using the library @Nortberg

I am not sure I fully understand what the issue was. However let me try to clarify for future reference. Please correct me if I'm wrong
First issue:
I you were trying to pass a string to getEthereumMessageHash() and getSignature()
std::string str = "{"Name":"QmYXo5GgDuumVRu1C6qix8YHRkgLsmGcqTZ3kbe2mvkZGn","Hash":"QmYXo5GgDuumVRu1C6qix8YHRkgLsmGcqTZ3kbe2mvkZGn","Size":"31"}";
uint8_t message[192];

// The line below just stores the plain string into message
std::copy(str.begin(), str.end(), std::begin(message));

In order to obtain the same signature as with MEW, the plain string needs to be converted to a hex string before passing it to getEthereumMessageHash() and getSignature()
Second issue:
The length of the string str is 125 bytes. This is different than the size of message (192 bytes)
You are not initializing message, so it's contents are undefined.
This could cause issues such as the signature differing between different runs of the program
std::string str = "{"Name":"QmYXo5GgDuumVRu1C6qix8YHRkgLsmGcqTZ3kbe2mvkZGn","Hash":"QmYXo5GgDuumVRu1C6qix8YHRkgLsmGcqTZ3kbe2mvkZGn","Size":"31"}";
uint8_t message[192];

The following ensures all "extra" bytes in message are set to 0
uint8_t message[192] = {0};


Clipboard doesn't work

Description of the problem or steps to reproduce
When I copy in Micro it doesn't go in the clipboard.
Therefore I cannot copy from Micro, it works only internally.
I have wl-clipboard installed.
I also tried terminal, instead of the default (external).
I have this error when pasting: No clipboard received from terminal.
On another machine with similar enviroment I don't have this problem.
Specifications

Commit hash: 225927b9
OS: Artix Linux
Terminal: Tilix
DE: Hyprland

Can you try using wl-clipboard from the command-line. Does it work, and behave well (try both cases where clipboard is empty and non-empty)? There have been reports of wl-clipboard misbehaving with an empty clipboard, which I think has been reported upstream, but this sounds like it might be different?
You can use wl-paste --no-newline and wl-copy to test out wl-clipboard from the command-line.

I tested it in Tilix it works well in both cases:
wl-copy a
wl-paste
a
wl-copy -c
wl-paste
No selection

I had a similar issue, and in my case removing xsel and xclip resolved the problem. I still had them installed in case I wanted to go back to X11.

I went back to X11, after trying some wayland.
I need to switch to nouveau to test it.


Fix time codec

This breaks mainnet replay, and would thus be a forking change. Cf. https://github.com/kadena-io/chainweb-node/pull/1584

@larskuhtz Did you mention in Slack that this failed replay?

@larskuhtz are we interested in forking this for pact-5?


Select current cross reference in cross references list

On selecting a symbol in linear or graph view, its cross references appear in the cross references view.
Sometimes, we go to each cross references for a symbol, one by one. On selecting any other token, the cross references list update.
On selecting the symbol back, the cross references appear again, but we lost track of where we were in the cross references list: it would be nice if the current cross reference for the symbol appears visible (in case there are too many xrefs for the view size) and selected.

I personally do not think the propose solution is the best -- could you please try using the "Pinned xref window" and see if it helps? https://docs.binary.ninja/guide/index.html#cross-reference-pinning


Right-aligned label text is not flush when in fullscreen

Godot version:
3.1.1 stable
OS/device: Windows 8, Toshiba Satellite
Graphics card: Intel HD Graphics 4600
Driver: igdumdim64.dll,igd10iumd64,dll,igd10
Driver version: <IP_ADDRESS>08 (9/16/2013)
Issue description:
When you create a Label with right-aligned text and custom DynamicFont, the text is perfectly flush when in windowed mode, but is not flush in fullscreen. Varying text length leads to different offsets from the right.
In the minimal example project, you'll notice that the labels themselves are perfectly flush (this is shown by the ColorRect children). But the text is far from flush, having a very ugly appearance.
Here's an image showing the issue in my project:

Steps to reproduce:

Create two labels with any dynamic font of your choosing.
Set them to right-aligned.
Vary the length of the labels' text.
Observe a difference in alignment between windowed and fullscreen mode.

Minimal Project:
TestProject.zip

Strange, it seems to work fine for me in both master and 3.1.1, with both GLES3 and GLES2 renderers:

Godot versions: 3.2-dev 6f727c047 / 3.1.1-stable
OS: Windows 10 (build 18362)
Graphics card: NVIDIA Geforce 980 Ti
Graphics driver: NVIDIA display driver 430.64
If you're able to, please post your graphics card and driver version.

@homer666, I edited my post to include graphics card info. I see the issue on both GLES2 and GLES3.


Add config option for sending different rating values to SPADS

Addresses #149

I think this would be improved if it is up to the boss of the lobby to anonymise the ratings or not. Currently with this PR, it is up to the Admin to change the config and this would affect all lobbies. I have a feeling that you'd get pushback from some people to hide the rating in all lobbies.
In the future you could make an improvement to allow some sort of command for the boss to run like
$showratings off

Or something similar and this would only anonymise for this particular lobby.


TextEdit mode: How to know all possible event parameters

When writing in text edit mode, I often forget how a shortcode parameter is called.
I find myself switching to the visual editor changing one setting and then going back. It would be cool if there either were some sort of suggestions/auto-completions or a easy way to see all possible parameters.
Maybe have a sidebar with the events similar to the visual editor but selecting/hovering a event button just shows some small info on the parameters?

Autocomplete should be added, yes. It would be nice to read the data from the existing events for custom ones, but we can do a simple hardcoded lists at the moment and update it later

It should be "relatively" easy to get all the parameters and shortcode texts from the events with the get_shortcode() and get_shortcode_parameters() methods.


net.forward value different between ubuntu(Openface nn4.small2.v1.t7) and Android.

We try to use torch-Android to load Openface nn4.small2.v1.t7 (apkbinary64) to get the net.forward value on android, but the result of net:forward function is different with Ubuntu. We are sure that the torch package on android is same as the package on Ubuntu.
Call you give us same suggest ?

how big is the difference? is it a minor difference with results varying within an epsilon?

Hi @soumith  We find that the error is caused by our mistake.
We try to pass the image data from c to lua Instead of loading image file with torch image.load function, but we forgot to transform RGB value to byte for the FloatTensor...
Sorry for the trouble...
-Vince

Hello @Vincechen611 I am also working on loading nn4.small2.v1.t7 on torch-Android and got error message "unknown Torch class <nn.Inception>". it seems that the "dpnn" package is required. Could you share me some details how to load nn4.small2.v1.t7? Thanks a lot!

Hi @cshbli , dpnn and nn is required. If you still get error, maybe you can try to load nn4.small2.v1.t7 on a 32bit Ubuntu system and save it.
-Vince

Hi @Vincechen611, you are right. I was able to make it work after installing the dpnn. thanks anyway.

what is you type of loading nn4.small2.v1.t7
my lua script is
require 'torchandroid'
--require 'dpnn'
require 'image'
require 'nn'
require 'torch'
torch.setdefaulttensortype('torch.FloatTensor')
net = torch.load('nn4.small2.v1.t7')
--print(net)
imgDim = 96
reps = net:forward(torch.ones(1,3,imgDim,imgDim));
print(reps)

I solved this problem

luarocks install dpnn on linux with torch7
copy dpnn module and moses.lua to torch android install/share/lua/5.1/
edit dpnn/init.lua replay torch.include('dpnn','xxx.lua') using require('dpnn.xxx')
then build android-demo

Hi perp,
I am also trying to run openface demo on Android. The step 3 you have written is not clear. Can you clarify?

Can someone share the steps for running openface demo on Android? In which location/folder should the openface model be kept? I am using the openface model from here https://cmusatyalab.github.io/openface/models-and-accuracies/

Hi @kk291.
The dpnn module dose not exist if you git clone torch android directly.
you need install torch7 on your ubuntu first. the install dpnn module using "luarocks install dpnn"
I copied the dpnn module directly from torch7 to torch android but I got  concatenate a nil value.
then I replace the torch.include in init.lua file in dpnn folder using require like step 3.
then I build the android-demo and everything goes fine.
If you still have any problem feel free to contact me.

Hi perp,
Thanks for your help. I have been able to make the change in dpnn/init.lua. I am able to use "require dpnn" in a .lua file now.

Hi @soumith @perp ,
How are we supposed to pass arguments to a lua file in torch-android?

@perp @kk291 Did any of you get the open face models running? I am having trouble. I am getting the "concatenate a nil value" error mentioned above but cannot seem to be able to solve it


Live event attendee limit

The text in the note should be updated to reflect the correct expiration date (Oct 1st) and requirements for Adv Communications SKU
To help customers meet rapidly changing communication needs, Microsoft 365 live events will temporarily raise default limits until July 1, 2020, for live events hosted in Teams. The following increases are being rolled out in late April 2020:

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

ID: 2b679199-caa5-4cc5-27e5-60a2cf999f69
Version Independent ID: 6878c954-e248-94c2-7602-47437ec7a2dd
Content: Plan for live events in Microsoft Teams - Microsoft Teams
Content Source: Teams/teams-live-events/plan-for-teams-live-events.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@TheBluLion Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hello @TheBluLion how are you?
Thanks for your feedback.
The document has been updated recently, after you created this issue.
Thanks

@scanum please close


Push new build name into environment

Added new feature.
New build name will be stored into environment variable so it is possible to see it from another build step using ${BUILD_DISPLAY_NAME}
It is also fix for bug JENKINS-33687

I do not understand the logic and purpose of this PR.
You save the variable into global node properties, so the value will be available from ANY build. And this behavior will be a subject for all kinds of concurrency issues.
The only thing you need is to add EnvironmentContributingAction to the build from your build step.

PR isn't ready to be merged, I'll rework it soon

@oleg-nenashev @bsideup ping :)

@bsideup  @oleg-nenashev ping


The position of reconstructed mesh in quali_eval

Hi, thanks for your nice work and concise repo!
I'm working on the project that needs to leverage on the reconstructed mesh generated from dbw, and I found the position and scale of mesh have certain gap compared to points computed from colmap.
I'm wondering if the mesh is not placed on the real position of world coordinates, and instead always placed at the origin?

Hi @lw-ethan, the scene is indeed always placed at the origin. It is transformed to the colmap space using a predefined rotation, translation and scale matrix

@monniert, thanks for your reply, I found that it was my mistake:
I kept stuck at the configuration of S_world, R_world, T_world, which should be obtained easily by delta transformation in Blender
I came to realize later the problem arise from the settings of R_world, the mesh applies world coordinate this way verts = (verts * self.S_world) @ self.R_world + self.T_world[:, None], the vertices are at the left side of R_world
However I used the convention that R = RzRyRx * verts, which caused the transformation wasn't as my expect
Changing the conversion R_world = (elev_to_rotation_matrix(elev) @ azim_to_rotation_matrix(azim) @ roll_to_rotation_matrix(roll))[None] to R_world = (roll_to_rotation_matrix(roll) @ azim_to_rotation_matrix(azim) @ elev_to_rotation_matrix(elev)).T[None] met my assumption and solved my problem


Bootstrap classes not being copied to fixed header

If I have a class e.g. bg-primary on the original THEAD element, this is not propagated onto the div with classes th-inner and box. The foreground colour is inherited from the THEAD (as white) but the background colour does not get inherited and stays white also - hence the headers are invisible.

Please submit a plunkr or jsfiddle demonstrating the issue.

Closed due to inactivity.


assignment-1 updated

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
implement python codes
What did you learn from the changes you have made?
how to code in python
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
no
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
yes. trial and error
How were these changes tested?
by using checking commands
A reference to a related issue in your repository (if applicable)
none
Checklist

[x] I can confirm that my changes are working as intended
confirm

you did a great job here!
Please go ahead and close this pull request now. Thanks!


VHDS subscription could refer a destructed init manager

Description:
Brainstormed in my PR https://github.com/envoyproxy/envoy/pull/9209 but then I realize the issue is there before.
https://github.com/envoyproxy/envoy/issues/7617
The background is RdsRouteConfigSubscription has been shared by multiple providers across listeners.
Upon subscription construction the subscription keep a reference to the Init::Manager provided by the listener.
If the RDS config has VHDS field, VHDS subscription will be created and that Init::Manager reference will be dereferenced.
Since subscription is shared across listeners, the above Init::Manager might be already destructed with the initial listener.
Boom.

This is a similar problem as RDS in the scope of SRDS, where a new subscription might be created exceed listenerImpl life-span. I think we can fix it by depending on a noop init manager when we detect that the listener is gone. it's kinda of an addition to the #7617, we can probably solve both in one shot.

Agree. Need to find another signal to indicate init_manager is not required.

I believe this is fixed by #9779, in RDS onConfigUpdate a local init-manager is used instead of listener's init_manager_ in VHDS's subscription creation.

apparently I can't close it. :)


Restore label behaviour

Signed-off-by: Kevin Cormier<EMAIL_ADDRESS>Before

After

/cc @RobDolares


Recommendation on accesses to unimplemented CSRs

RVA23 mandates priv spec 1.13.  I don't believe that there's even a draft of that yet, but rumor has it that it will remove mandatory trapping of accesses to unimplemented CSRs.  If that happens then I assume that the following RVA23 recommendation should be expanded to also include unimplemented CSRs:

Implementations are strongly recommended to raise illegal-instruction exceptions on attempts to execute unimplemented opcodes.

Isn't that arguably a subset of this case?

Yes, and I considered whether that argument would hold here.  I generally consider an "instruction" to be all 32 bits (or 16 or whatever) and an "opcode" to be some subset of that: the major opcode in [6:0], the funct7 and funct3 fields, etc.  To me, the opcode does not include the register number fields (rs1/rs2/rd) and immediate fields.  The CSR number is an immediate field.
Maybe I'm weird and others don't ascribe those meanings to those terms, but if there are any others like me out there then it's best to spend a few extra words and make it crystal clear.

Closed in https://github.com/riscv/riscv-profiles/commit/962bcc6764f3b6ccfbdcfe030c77b05c6a475c5e


Tdr 2269 update db with descriptions

Adds description information for fields on the "Add Closure Metadata" page of the TDR web application.

Could you maybe rename the PR to add more detail? Something like "Update descriptions of ClosureType dependencies"? and maybe the name of the migration to "add_closure_type_descriptions_to_FileProperty_table.sql"


⚠ MorethanTV has degraded performance

In 1f3b1bd, MorethanTV ($MTV) experienced degraded performance:

HTTP code: 200
Response time: 1924 ms

Resolved: MorethanTV performance has improved in 769c145 after 8 minutes.


Added view single task page

Fixes #95
This PR include view page for single task, for now it is without design.
To make this PR small I have added 2 issues that following it #112, #113
Changes you made

Added view_single_task page
Redirect home if not authenticated
Path to the page: tasks/<task_id>

@AvivLiberman could you please add tests to see that you get the correct response from the client for each page

@AvivLiberman could you please add tests to see that you get the correct response from the client for each page
wdym? in the lectures you said we are not testing the UI
@kobihk

@kobihk Done

@kobihk Done

please fix the conflict and then we merge it:)

It is not possible to see the tasks if you do not log in to the app so here is a problem according to what I see your bar shows that needs to be done login .. This means that there is a problem here @AvivLiberman once there is a separation between landing pages and an external page do not do identification checks again.. it happens because you do not perform identifying that there is no need! The identification is done on the login page and this is it .. what I did is enough you sold not do the identification again insid app Arad have too same he changes it next PR

Sorry I don't understand the problem


Set copyright in LICENSE.txt appendix

Adds xAI company name and year (date) to the copyright notice in Apache-2.0 license file 👍

Let's keep the placeholder values.  #TrueOpenSource

I think unfortunately if the copyright notice is invalid, it stays proprietary by default. We gain more by making sure the copyright notice is legally binding!

ping @ibab @TobyPDE , Maybe it's worth merging.

@msrb, agreed 👍 This appears to be guidance on how to use and template the license across the repository and its files rather than a means to actually specify the copyright holder.
I've seen a very mixed usage (e.g. Snyk CLI) on other repositories but it does help with quickly identifying the copyright holder centrally in the repo.
Happy to close this or keep open and wait for the maintainers opinion 🤝

This highlights kinda a bigger major issue here. Since xAI is all about properly controlling vs liberating large models wouldn't their lawyers/team review, fix and clarify the license of their first major open release to the public?

Thank you Jamie, I agree with your assessment that specifying X.AI here is not strictly necessary

@ibab - thanks for the review 👍
In the longer term, it might be worth pulling a PR status check together to ensure new files include the Apache-2.0 header with the correct copyright statement.


Model training error

Click to expand!
Issue Type
Support
Source
source
Tensorflow Version
2.6.2
Custom Code
No
OS Platform and Distribution
Linux Ubuntu 18.04
Mobile device
No response
Python version
3.8.11
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
Sometimes my model works fine it goes up to 10 epochs without any problems. Sometimes it ends up by crashing the program. Even the crash occurred after a few epochs and sometimes in the middle of an epoch. My Model architecture looks like this-

Layer (type)                 Output Shape              Param #
=================================================================
masking_2 (Masking)          (None, 200, 16)           0
_________________________________________________________________
bidirectional_4 (Bidirection (None, 200, 512)          419328
_________________________________________________________________
dropout_4 (Dropout)          (None, 200, 512)          0
_________________________________________________________________
bidirectional_5 (Bidirection (None,<PHONE_NUMBER>
_________________________________________________________________
dropout_5 (Dropout)          (None, 512)               0
_________________________________________________________________
dense_2 (Dense)              (None, 1)                 513
=================================================================
Total params: 1,601,025
Trainable params: 1,601,025
Non-trainable params: 0
_________________________________________________________________

Here I am attaching one example where the program stops in the middle of an epoch:

1493/3750 [==========>...................] - ETA: 32:06 - loss: 2.2078 - true_positives_2: 550.0000 - false_positives_2: 2011.0000 - true_negatives_2: 7292.0000 - false_negatives_2: 2091.0000 - precision_2: 0.2148 - recall_2: 0.2083
1494/3750 [==========>...................] - ETA: 32:05 - loss: 2.2072 - true_positives_2: 550.0000 - false_positives_2: 2011.0000 - true_negatives_2: 7298.0000 - false_negatives_2: 2093.0000 - precision_2: 0.2148 - recall_2: 0.2081
1495/3750 [==========>...................] - ETA: 32:04 - loss: 2.2071 - true_positives_2: 550.0000 - false_positives_2: 2015.0000 - true_negatives_2: 7300.0000 - false_negatives_2: 2095.0000 - precision_2: 0.2144 - recall_2: 0.2079

Standalone code to reproduce the issue
I am attaching my model code:

    model = Sequential()

    model.add(Masking(mask_value=0.0, input_shape=(maxlen, vector_dim)))

    for i in range(1, layers):
        model.add(Bidirectional(GRU(units=256, activation='tanh', recurrent_activation='hard_sigmoid', return_sequences=True)))
        model.add(Dropout(dropout))

    model.add(Bidirectional(GRU(units=256, activation='tanh', recurrent_activation='hard_sigmoid')))
    model.add(Dropout(dropout))

    model.add(Dense(1, activation='sigmoid'))

    if optimizer == "adam":
        optimizer = tf.keras.optimizers.Adam(learning_rate=lr)

    elif optimizer == "adamax":
        optimizer = tf.keras.optimizers.Adamax(learning_rate=lr)

    model.compile(loss='binary_crossentropy', optimizer=optimizer, metrics=[
        tf.keras.metrics.TruePositives(),
        tf.keras.metrics.FalsePositives(),
        tf.keras.metrics.TrueNegatives(),
        tf.keras.metrics.FalseNegatives(),
        tf.keras.metrics.Precision(),
        tf.keras.metrics.Recall()]
    )

    return model

### Relevant log output

```shell
Traceback (most recent call last):
  File "bgru_graph_grid_search.py", line 579, in <module>
    perform_grid_search()
  File "bgru_graph_grid_search.py", line 502, in perform_grid_search
    main(raw_dataset, labels, traindataSetPath, testdataSetPath, realtestdataSetPath, weightPath, resultPath,
  File "bgru_graph_grid_search.py", line 180, in main
    model.fit(train_generator, validation_steps=1, steps_per_epoch=steps_epoch, epochs=epoch, verbose=1, callbacks=[checkpoint])
  File "/home/faysal-gpu/anaconda3/envs/py37_maml/lib/python3.8/site-packages/keras/engine/training.py", line 1184, in fit
    tmp_logs = self.train_function(iterator)
  File "/home/faysal-gpu/anaconda3/envs/py37_maml/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 885, in __call__
    result = self._call(*args, **kwds)
  File "/home/faysal-gpu/anaconda3/envs/py37_maml/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 917, in _call
    return self._stateless_fn(*args, **kwds)  # pylint: disable=not-callable
  File "/home/faysal-gpu/anaconda3/envs/py37_maml/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 3039, in __call__
    return graph_function._call_flat(
  File "/home/faysal-gpu/anaconda3/envs/py37_maml/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 1963, in _call_flat
    return self._build_call_outputs(self._inference_function.call(
  File "/home/faysal-gpu/anaconda3/envs/py37_maml/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 591, in call
    outputs = execute.execute(
  File "/home/faysal-gpu/anaconda3/envs/py37_maml/lib/python3.8/site-packages/tensorflow/python/eager/execute.py", line 59, in quick_execute
    tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
tensorflow.python.framework.errors_impl.InvalidArgumentError: 2 root error(s) found.
  (0) Invalid argument:  assertion failed: [predictions must be >= 0] [Condition x >= y did not hold element-wise:] [x (sequential_2/dense_2/Sigmoid:0) = ] [[nan][nan][nan]...] [y (Cast_3/x:0) = ] [0]
	 [[{{node assert_greater_equal/Assert/AssertGuard/else/_2663/assert_greater_equal/Assert/AssertGuard/Assert}}]]
	 [[assert_greater_equal_4/Assert/AssertGuard/pivot_f/_2745/_651]]
  (1) Invalid argument:  assertion failed: [predictions must be >= 0] [Condition x >= y did not hold element-wise:] [x (sequential_2/dense_2/Sigmoid:0) = ] [[nan][nan][nan]...] [y (Cast_3/x:0) = ] [0]
	 [[{{node assert_greater_equal/Assert/AssertGuard/else/_2663/assert_greater_equal/Assert/AssertGuard/Assert}}]]
0 successful operations.
0 derived errors ignored. [Op:__inference_train_function_16916]

Function call stack:
train_function -> train_function

2022-05-22 09:13:12.319808: W tensorflow/core/kernels/data/generator_dataset_op.cc:107] Error occurred when finalizing GeneratorDataset iterator: Failed precondition: Python interpreter state is not initialized. The process may be terminated.
	 [[{{node PyFunc}}]]

I even try to increase GPU growth
config = tf.compat.v1.ConfigProto(gpu_options=tf.compat.v1.GPUOptions(allow_growth=True))
sess = tf.compat.v1.Session(config=config)

Hi @faysalhossain2007 ,
The code which was shared is full of indentation errors. Could you share a colab gist with issue reported or simple stand alone indented code with all dependencies.  It allows us to determine the source of the issue easily. Thank you!

@faysalhossain2007,
Thanks for opening this issue. Development of keras moved to another repository.
Could you please post this issue on keras-team/keras repo.
To know more please refer:
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999
Thank you!


Extract test framework

I created a test framework because Jest was not working well with Package Exports.
This framework might be useful for others too, so extracting it into its own package might be a good idea.

Extracted in 6f3b9893cea6544070fbe32ad9bd6dd9ebb855cb


qtcreator: 4.14.0 -> 5.0.2

Motivation for this change
@miniBill
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

/result/bin/qtcreator
Warning: No themes found in installation:  "/share/qtcreator/themes"
[1]    195462 segmentation fault (core dumped)  ./result/bin/qtcreator

relevant code
    for (const QFileInfo &themeFile : QDir(":/themes/", "*.creatortheme").entryInfoList()) {
        QSettings settings(themeFile.absoluteFilePath(), QSettings::IniFormat);
        addItem(settings.value("ThemeName").toString(), themeFile.absoluteFilePath());
    }

not sure if the warning is related to the segfault


Fix handling of buy order edge case in baseline solver

To find the optimal path for buy orders we start at the buy token and
use get_amount_in repeatedly until we arrive at the sell token. However
when creating a settlement the path has to be traversed in the sell
direction because that is what the user has balance in.
This is problematic when an amm is not symmetrical: using the result of
get_amount_in in get_amount_out returns a (usually slightly) different
value. This can cause further amm interactions to fail.
This commit fixes this by enforcing the forward (sell) direction of the
resulting paths for buy orders. Sell orders do not need to be fixed as
they are already in the correct direction.
Additionally I have moved order limit checks into settle_order because
it felt more natural there with the forward path check.
Closes #1140
Test Plan
Existing tests. I would have like to add a test for the panic case too but was unable to do so because the way the types are specified in the baseline solver I cannot easily pass in my own impl BaselineSolvable that has the behavior I want. So I would have to craft a pool that showcases this behavior by hand which was too time consuming.

I've added a test to highlight this problem. See the new unit test at the bottom of the file.

Codecov Report

Merging #1159 (0005f90) into fee-balancer (b60c096) will increase coverage by 0.14%.
The diff coverage is 97.34%.

:exclamation: Current head 0005f90 differs from pull request most recent head eff3149. Consider uploading reports for the commit eff3149 to get more accurate results

@@               Coverage Diff                @@
##           fee-balancer    #1159      +/-   ##
================================================
+ Coverage         66.78%   66.92%   +0.14%
================================================
  Files               135      135
  Lines             27008    27094      +86
================================================
+ Hits              18036    18133      +97
+ Misses             8972     8961      -11


Cache miss will throw Zend\Serializer\Exception on PHP7 using Zend\Serializer\Adapter\Json

Due to https://github.com/zendframework/zend-json/issues/23, Zend\Serializer\Exception will be thrown when cache miss on PHP7 if using Zend\Cache\Storage\Plugin\Serializer with (default) Zend\Serializer\Adapter\Json.

mh please provide an example code that fails for you.
As the unserialize method should not be called on a cache miss undependable which serializer is in use (if any)

Example code running on latest master bc215acb2e924c946a552ba2d64d1ee7ff8be4eb with PHP 7.0.5.
<?php
require 'vendor/autoload.php';

$cache = \Zend\Cache\StorageFactory::adapterFactory('memcached', ['servers' => ['<IP_ADDRESS>']]);
$cache->addPlugin(\Zend\Cache\StorageFactory::pluginFactory('serializer', ['serializer' => 'json']));
$cache->getItem('cacheMiss');

$ php -v
PHP 7.0.5 (cli) (built: Apr  8 2016 12:16:01) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans
$ php zend-cache#95.php
PHP Fatal error:  Uncaught Zend\Json\Exception\RuntimeException: Decoding failed: Syntax error in /path/to/zend-cache/vendor/zendframework/zend-json/src/Json.php:68
Stack trace:
#0 /path/to/zend-cache/vendor/zendframework/zend-serializer/src/Adapter/Json.php(89): Zend\Json\Json::decode('', 1)
#1 /path/to/zend-cache/src/Storage/Plugin/Serializer.php(72): Zend\Serializer\Adapter\Json->unserialize(NULL)
#2 /path/to/zend-cache/vendor/zendframework/zend-eventmanager/src/EventManager.php(271): Zend\Cache\Storage\Plugin\Serializer->onReadItemPost(Object(Zend\Cache\Storage\PostEvent))
#3 /path/to/zend-cache/vendor/zendframework/zend-eventmanager/src/EventManager.php(143): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Cache\Storage\PostEvent))
#4 /path/to/zend-cache/src/Storage/Adapter/AbstractAdapter.php(221): Zend\EventManager\EventManager->triggerEvent(Object(Zend\Cache\Storage\PostEvent))
#5 /path/to/zend-cache/vendor/zendframework/zend-serializer/src/Adapter/Json.php on line 93

@yuripave The serializer plugin was trying to unserialize values of missing items (NULL). I thought that is not the case but it is and it's a bug of zend-cache. It just was not realized because the serializer was returning the input value untouched in this case (which in my opinion is also wrong)
Please try #96 if that works for you. Thanks!

Tested and works great, thanks!
Will this backport to 2.4 as well since it's LTS?

Will this backport to 2.4 as well since it's LTS?

No.  We only backport security fixes, and fixes for issues that were regressions introduced by the 2.4 series itself.


Yet another customization use-case

Hey,
I'm looking for a way to add a custom rule to standard.
Pre-scriptum: Yes, I know : There are 200 issues with this topic. And yes, I understand the philosophy behind standardjs that is to actually "not customize it". I've been using standard for like 4 years as a CTO, and I'm even spreading the word and philosophy to every single developer I meet and go like "Just use standard.js"
THAT BEING SAID, in here we're just starting to use Flow types; and I've tried the eslint flow type plugin. I'm trying to make something clever : enforce flow usage in every single .js file with require-valid-file-annotation rule. From what I read, that precise use-case seems pretty common.
Here it is, rephrased :
I'd like to be able to customize an eslint plugin rule without ejecting standard
Again, this is not about some stupid idea about "what would like to be changed in the standard ruleset". I'm pretty OK with the idea to have a standardized "basic Javascript syntax". Disabling the power of "tweaking standard ruleset" is a bad idea; I agree.
BUT, having standardjs enforce "default plugins ruleset" is not a good idea too ! Thinking of it, it's pretty weird... because as a consequence, standardjs philosophy is not only :

"let's use a default, non-customizable, common ruleset"

but also

"let's use every single default, potentially weird, ruleset included in any installed plugin"

... and this is pretty annoying, IMHO. What do you think ?

First of all, sorry for saying this but I just can't stop myself: are you starting to use Flow now? why? have you considered TypeScript? It seems like everyone I'm talking to is choosing TS over Flow so I would love to hear your reasoning ☺
With that out of the way, I think that the cleanest solution would be to have a eslint-config-standard-with-flow (that works in the same way that eslint-config-standard-with-typescript does) and flow-standard (that works in the same way as ts-standard) under the Standard organisation. But I don't think that anyone in the team is currently using Flow.
If you would like to join the team and maintain a flow flavour of Standard I think that it could be nice! 👍 I think that the setup should just be exactly as the already existing TypeScript packages, I would be happy to help you set things up.
If you don't want to maintain anything (which I would be understandable 😁) I would recommend to use standardx. It allows you to extend the config, either via package.json or .eslintrc. You should be able to add both rules and plugins there.

What about a buggy plugin ? Standard is complaining on exported enum no being used and google lead me to https://github.com/typescript-eslint/typescript-eslint/issues/396, which suggest to swap the rule being use. Unless opening an issue here, waiting for it to be reproduced, fixed, merged and publish, I would be happy to hack the config by myself.

@Fr33maan you could use standardx for that, but if you are using TypeScript I would recommend using ts-standard instead, which is optimised for working with TypeScript...

Finally used prettier-standard, thanks for input

@cyrilchapon Thanks for your issue! I sympathize with your situation and providing a way to customize just the plugin rules seems like a reasonable compromise. However, given that we have standardx I don't think that an option like this belongs in standard itself.


Produce some end-of-semester documentation

This should include information about what you learned, what will future developers need to learn, and other thoughts that will be helpful to a future Hany.

Hello Patrick,
I hope the below document helps.
MHS_Next_Tasks.docx


Deckbuilder and card search returning different results

If I search x:"1 credit:" in the regular search I get all the cards having "1c:" in the text. If I make the same search inside the deckbuilder nothing is returned. The only way to get "some results" is to use this string: x:"1[credit]:". In this case, only the cards having "Interface -> 1c:" are filtered (speaking of runner). The cards having "1c:" in the text in a different point (like the boost of Unity) are ignored.

ooooooh.  i bet part of this is not using the stripped_text field.

I can work on this if you want @plural ?


implement github changelog generator

This is the code used to generate the changelog from #44. I am not sure if you want to have this in the module, or if you've a modulesync which would drop it. The used commit was tested on Vox Pupuli. Sadly there wasn't a working release in a longer time for the gem (but they are working on it)

Ping @raphink @mcanevet

@bastelfreak isn't this part of PDK? If so, maybe we should move all our modules to it.

I've no idea. I had no time yet to look into it :(


Remove error.destination property

Remove the ability to bind global error channel directly to a broker destination through error.destination property.
The preferred way to consume error messages in a brokder destination is through the binder specific DLQ mechanism.
Global error channel may still be consumed by a ServiceActivator or StreamListener, but it is not bound to a broker destination.
Remove the internal bridge channel from the global error channel that is used for content type conversion.
Remove tests associated with this feature.
Deprecate class SingleBindingTargetBindable as this is not used by the framework any longer.
Docs polishing.
Resolves #1398

Codecov Report

Merging #1401 into master will decrease coverage by 0.24%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1401      +/-   ##
============================================
- Coverage      61.3%   61.05%   -0.25%
+ Complexity      826      821       -5
============================================
  Files           133      133
  Lines          3972     3965       -7
  Branches        565      565
============================================
- Hits           2435     2421      -14
- Misses         1250     1257       +7
  Partials        287      287

Impacted Files
Coverage Δ
Complexity Δ

...ud/stream/binding/SingleBindingTargetBindable.java
0% <ø> (-70%)
0 <0> (-3)

...oud/stream/config/BindingServiceConfiguration.java
100% <ø> (ø)
16 <0> (-2)
:arrow_down:

Continue to review full report at Codecov.

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


Revert: Allow non-AI actions on empty lines (for 1.85)

main PR: https://github.com/microsoft/vscode/pull/200097

The changes are good. I added a commit that removes the unused parameters as well.


Add properties for dun and sicCode in organization

This PR links to the issue #122
@trieloff @kstreete @cmathis
This PR adds properties back for dun and sicCode in organization inside identifier and classifier.

@trieloff  and @kstreete  - This seems like another area we are using patternProperties without a plan for how we would use that in the data platform. Right now we would just ignore it rather then define some generic field of type map. If we did convert it to a field of type map, I'm not sure what the field name would be. If we need it there for another use-case we will just plan to ignore it for now.

As discussed in #66, there are many, many ways to identify and classify organizations. Introducing a property will give a hard preferential treatment to only two vendors/standards (one vendor that we have not yet engaged enough with to have them claim their own namespace URL, and one standard that has been superseded by another standard).
This is a place where extensibility will become an issue fast. If you don't plan to support it in your implementation, I'm fine with that, but please don't make the standard fit your implementation. With meta:keys you do have a hint of what properties can be expected.

@cmathis @kstreeter @cdegroot-adobe @@cfraser. FYI, this is not merged.


chore: conditional render help or error

Implements #1980

@rafasdc was the goal to remove all margins between form fields? They look really squished together now.

Yeah, that's the intention coming from #1802

Yeah it's just that the reason this gap between form fields exists was to prevent buggy looking jumping if an error is displayed.


Modified ChainerX ArgMin implementation

With respect to #6623, ArgMin in ChainerX is implemented.
Due to recent changes #6675 , the ArgMin ChainerX implementation is hard-coded for simplicity and to avoid further complications.
Native and CUDA Device implementation files are updated, namely native_device/reduction.cc and cuda_device/reduction.cu

Ref issue: #6423

Thank you for the PR! Implementation looks good.
Jenkins, test this please.

Jenkins CI test (for commit 93a80cd1cf2c00d390ee129617b9631adef55af1, target branch master) failed with status FAILURE.

It seems TestArgmin have failed. Could you check the results? @Harshan01

I am checking it out

@niboshi , I have removed the conflicts but the build for MacOS fails for some unknown reason. Can you help me out?

@Harshan01
Thanks!
The test failure is just an occasional one we're working on. Please ignore it.
Jenkins, test this please

Jenkins CI test (for commit 618de5c5756ea527a0898adfee65e2d553056d02, target branch master) failed with status FAILURE.

@niboshi , test in py27 and py35 does not seem related to ArgMin, but in py37, the testcases fail, though the same testcases pass in other checks. Could you give some insights in this issue?

Applied suggested changes.

Jenkins, test this please

Jenkins CI test (for commit 2af54aec7bad4bdb46446735317f51d6fa3a473a, target branch master) failed with status FAILURE.

Jenkins, test this please

Jenkins CI test (for commit 2af54aec7bad4bdb46446735317f51d6fa3a473a, target branch master) failed with status FAILURE.

@niboshi , I have resolved the conflicts. Can you check it out?

Jenkins, test this please

Jenkins CI test (for commit 67e1498219a2d7455f76436405b015d936d9ffb1, target branch master) failed with status FAILURE.

Jenkins, test this please

Jenkins CI test (for commit 67e1498219a2d7455f76436405b015d936d9ffb1, target branch master) failed with status FAILURE.

Jenkins, test this please

Jenkins CI test (for commit 67e1498219a2d7455f76436405b015d936d9ffb1, target branch master) failed with status FAILURE.

Jenkins, test this please

Jenkins CI test (for commit 67e1498219a2d7455f76436405b015d936d9ffb1, target branch master) succeeded!

LGTM
Thank you so much!


Generates deprecated code

This JSON
[{"faceId":"5eeb5ca8-88ab-47e3-a0e1-a72b43739ca0","faceRectangle":{"top":131,"left":177,"width":162,"height":162},"faceAttributes":{"smile":0.001,"headPose":{"pitch":-5.7,"roll":-9.1,"yaw":-34.1},"gender":"female","age":22.0,"facialHair":{"moustache":0.0,"beard":0.0,"sideburns":0.0},"glasses":"NoGlasses","emotion":{"anger":0.0,"contempt":0.0,"disgust":0.0,"fear":0.0,"happiness":0.001,"neutral":0.987,"sadness":0.001,"surprise":0.01},"blur":{"blurLevel":"low","value":0.06},"exposure":{"exposureLevel":"goodExposure","value":0.67},"noise":{"noiseLevel":"low","value":0.0},"makeup":{"eyeMakeup":true,"lipMakeup":true},"accessories":[],"occlusion":{"foreheadOccluded":false,"eyeOccluded":false,"mouthOccluded":false},"hair":{"bald":0.02,"invisible":false,"hairColor":[{"color":"brown","confidence":1.0},{"color":"red","confidence":0.49},{"color":"blond","confidence":0.47},{"color":"black","confidence":0.19},{"color":"gray","confidence":0.12},{"color":"other","confidence":0.03}]}}}]
generated this code:
public var hashValue: Int {
return 0
}
which displayed this error:
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'JSONNull' to 'Hashable' by implementing 'hash(into:)' instead
in a Playground in Xcode 10.2.1

Found the option to generate swift 5


Create c-cpp.yml

Can you please explain what this PR is for and how it is used.

Closing the pull request because the ticket has been inactive for a month.


kontena certificate authorize --type tls-sni-01 fails with challenge: LE gave back empty tls-sni-01 challenge!?!?

This is because LE has disabled all TLS-SNI based challenges as of January 10, 2018 02:16 UTC: https://letsencrypt.status.io/pages/incident/55957a99e800baa4470002da/5a55777ed9a9c1024c00b241
This is a mitigation for a security weakness in how service providers do not sufficiently validate custom user-provided certificates deployed to shared infrastructure, allowing other users of the same provider to illegitimately validate domains owned by other customers of the same service provider: https://community.letsencrypt.org/t/2018-01-09-issue-with-tls-sni-01-and-shared-hosting-infrastructure/49996
This affects automated LE certificate renewals by the Kontena server, and those certificates may expire unless LE either restores TLS-SNI support, or the cert domains are re-validated using some other method.
The current workaround for Kontena users is to use kontena certificate authorize --type dns-01, with either manual or automated mechanisms to update their DNS TXT records for renewals.
Long-term, it's looking fairly clear that Kontena needs to also support the more popular and widely used http-01 mechanism, which is far less likely to be unexpectedly disabled than the relatively unpopular tls-sni-* mechanisms.
$ kontena certificate authorize --type tls-sni-01 --linked-service ingress-lb/lb terom-demo3.kontena.works
 [error] 422 : Unprocessable Entity:
	challenge: LE gave back empty tls-sni-01 challenge!?!?

Status Quo is that all tls-sni challenges have been disabled for new accounts and new domain authorizations, but as a "temporary" mitigation for certificate renewals, tls-sni-01 domain authorizations are whitelisted for the specific accounts and domains that were previously authorized using tls-sni-01 before it was disabled:

https://community.letsencrypt.org/t/2018-01-11-update-regarding-acme-tls-sni-and-shared-hosting-infrastructure/50188
https://community.letsencrypt.org/t/tls-sni-challenges-disabled-for-most-new-issuance/50316
https://community.letsencrypt.org/t/important-what-you-need-to-know-about-tls-sni-validation-issues/50811

This means that certificates requested using kontena certificate authorize --type tls-sni-01 should continue to auto-renew 7 days before expiry.
Testing for tls-sni-01 cert renewals
The ability to auto-renew certificates using existing tls-sni-01 challenges can be tested by attempting to re-authorize the same domain manually.
Fail: Using a new LE account
$ kontena certificate authorize --type tls-sni-01 --linked-service ingress-lb/lb <IP_ADDRESS>.xip.io
 [error] 422 : Unprocessable Entity:
	challenge: LE did not offer any tls-sni-01 challenge

Success: Using the same LE account used to authorize the domain previously
$ kontena certificate authorize --type tls-sni-01 --linked-service ingress-lb/lb <IP_ADDRESS>.xip.io
 [done] Waiting for tls-sni-01 challenge to be deployed into development/ingress-lb/lb
TLS-SNI challenge certificate is deployed, you can now request the actual certificate
$ kontena certificate request <IP_ADDRESS>.xip.io
 [done] Requesting certificate for <IP_ADDRESS>.xip.io
$ kontena certificate show <IP_ADDRESS>.xip.io
development/<IP_ADDRESS>.xip.io:
  subject: <IP_ADDRESS>.xip.io
  valid until: 2018-05-28T11:58:33Z
  auto renewable: true
$ kontena certificate export --cert <IP_ADDRESS>.xip.io | openssl x509 -noout -text
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            fa:1a:dc:6f:c7:3c:1a:a7:63:cc:08:6c:e9:80:04:5e:4c:bf
    Signature Algorithm: sha256WithRSAEncryption
        Issuer: CN=Fake LE Intermediate X1
        Validity
            Not Before: Feb 27 11:58:33 2018 GMT
            Not After : May 28 11:58:33 2018 GMT
        Subject: CN=<IP_ADDRESS>.xip.io

Milestoning to 1.5 because this can be closed once 1.5.0 is available and https://github.com/kontena/docs/pull/71 is merged, allowing users to move from tls-sni-01 to http-01.

Closing as 1.5 is available and defaults to http-01 challenges, and https://github.com/kontena/docs/pull/71 should be up on the docs site soon.


First postings can not be made from frontend, has to be manual request... Allow No postings view.

Added new page for different types of 500 error (one for if the server is not launched, one for if the table is empty aka no postings view).
Could not reproduce not being able to make the first posting from the frontend.


Some Wink Devices Unavailable in Apple Home App with 0.73 and 0.73.1

Home Assistant release with the issue:

0.73
Last working Home Assistant release (if known):
0.72.1
Operating environment (Hass.io/Docker/Windows/etc.):

HASSIO in raspbian, Pi 3B+
Component/platform:

Homekit
Description of problem:
Some wink devices such as locks, garage door, temerature/motion sensors, door/window sensors all show as not available in Apple Home App. Lights and switches appear and work correctly.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

I was able to resolve the problem by removing the home-assistant hub device from Apple Home App and deleting ".homekit.state" file from home-assistant config folder.  After re-adding home-assistant to the Apple Home App, all is working OK.