[Bug]: Desktop app hangs after user login through simulated Gitlab SSO.

Checks before filing an issue

[X] This issue doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[X] I have checked the issue tracker and have not found an issue that matches the one I'm filing.
[X] This issue is not a troubleshooting question. Troubleshooting questions go here: https://forum.mattermost.com/c/trouble-shoot/16.
[X] This issue is not a feature request. You can request features and make product suggestions here: https://mattermost.com/suggestions/.
[X] This issue reproduces on the most recent stable version, or the most recent prerelease version of the Mattermost Desktop App.
[X] I have read the contribution guidelines.

Mattermost Desktop Version
5.5.1
Operating System
Fedora 37
Mattermost Server Version
9.1.0
Steps to reproduce

install keycloak
create a realm
create  a client
config client add mappers to simulate gitlab
add a user
open desktop app to login with user created in step 5

Expected behavior
desktop load main UI, after user login in browser
Observed behavior
desktop app hangs at:

Please Note:
while in browser, I can click Open Mattermost in your browser, then use Mattermost as a user signed in..
Log Output
nothing useful:

[2023-10-25 16:08:46.161] [debug] [ViewManager] focusCurrentView
[2023-10-25 16:08:46.162] [debug] [ServerDropdownView] handleClose
[2023-10-25 16:08:46.163] [debug] [DownloadsDropdown...] handleClose
[2023-10-25 16:08:46.164] [debug] [DownloadsDropdown...] handleClose
[2023-10-25 16:08:46.165] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenuItem {}
[2023-10-25 16:08:46.166] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-10-25 16:08:46.167] [debug] [DownloadsDropdown...] handleClose
[2023-10-25 16:08:46.167] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenuItem {}
[2023-10-25 16:08:46.168] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-10-25 16:08:46.169] [debug] [ServerDropdownView] handleClose
[2023-10-25 16:08:46.170] [debug] [DownloadsDropdown...] handleClose
[2023-10-25 16:08:46.170] [debug] [DownloadsDropdown...] handleClose
[2023-10-25 16:08:46.171] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenuItem {}
[2023-10-25 16:08:46.171] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-10-25 16:08:46.172] [debug] [DownloadsDropdown...] handleClose
[2023-10-25 16:08:46.173] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenuItem {}
[2023-10-25 16:08:46.173] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-10-25 16:08:51.594] [debug] [ViewManager] focusCurrentView
[2023-10-25 16:08:51.883] [debug] [ServerDropdownView] handleClose
[2023-10-25 16:08:51.884] [debug] [DownloadsDropdown...] handleClose
[2023-10-25 16:08:51.884] [debug] [DownloadsDropdown...] handleClose
[2023-10-25 16:08:51.885] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenuItem {}
[2023-10-25 16:08:51.885] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-10-25 16:08:53.949] [debug] [App.Utils] flushCookiesStore
[2023-10-25 16:08:53.950] [debug] [ViewManager] handleSetCurrentViewBounds { x: 0, y: 60, width: 2290, height: 1240 }
[2023-10-25 16:08:53.951] [debug] [ModalManager] handleResizeModal {
  bounds: { x: 0, y: 60, width: 2290, height: 1240 },
  modalQueueLength: 0
}
[2023-10-25 16:08:53.951] [debug] [App] [ServerViewState] getCurrentServer
[2023-10-25 16:08:53.952] [debug] [DownloadsDropdown...] updateWindowBounds
[2023-10-25 16:08:53.952] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenu
[2023-10-25 16:08:53.952] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenuItem {}
[2023-10-25 16:08:53.953] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-10-25 16:08:53.953] [debug] [DownloadsDropdown...] updateWindowBounds
[2023-10-25 16:08:53.954] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-10-25 16:08:54.073] [debug] [App.Initialize] UserActivityMonitor.on(status) { userIsActive: true, idleTime: 0, isSystemEvent: false }
[2023-10-25 16:09:54.141] [debug] [App.Initialize] UserActivityMonitor.on(status) { userIsActive: true, idleTime: 2, isSystemEvent: false }
[2023-10-25 16:10:54.205] [debug] [App.Initialize] UserActivityMonitor.on(status) { userIsActive: true, idleTime: 2, isSystemEvent: false }

### Additional Information

broswer version: google chrome 118.0.5993.88

@WestFarmer So for the external SSO to work, you should be seeing something in the debug logs that says new-window. If you're not that would mean that the login is not opening correctly.
With debug on can you confirm that you're not seeing that? If not, are there any modifications made to your server to change the way login works?

We are also seeing the same issue in our environment, Desktop 5.5.1, server 9.1.0. We do get new-window in the debug log, though.

We are also seeing the same issue in our environment, Desktop 5.5.1, server 9.1.0. We do get new-window in the debug log, though.

Can you post your logs for me? If there's sensitive information you can DM them to me on community.mattermost.com @devinbinnie

Here's our log with the URLs scrubbed. We did have to register the URL handler with xdg-mime default Mattermost.desktop x-scheme-handler/mattermost as well. We're on Ubuntu 22.04
[2023-10-25 09:23:18.574] [debug] [ServerManager] [318af5c4-cb22-484...] getOrderedTabsForServer
[2023-10-25 09:23:18.576] [debug] [WebContentsEventM...] [c92177c1-e3e4-430...] [Jeremy] [TAB_MESSAGING] did-start-navigation https://chat.company.com/login/desktop
[2023-10-25 09:23:18.579] [debug] [WebContentsEventM...] [c92177c1-e3e4-430...] [Jeremy] [TAB_MESSAGING] new-window https://chat.company.com/oauth/gitlab/login?desktop_token=2fbba720d9a3bc7ab19ba2d519712919be77ad752e6a31fbb8f35e55d122d172
[2023-10-25 09:23:18.579] [debug] [ServerManager] [318af5c4-cb22-484...] getOrderedTabsForServer
[2023-10-25 09:23:18.812] [debug] [App.Utils] flushCookiesStore
[2023-10-25 09:23:18.813] [debug] [ViewManager] handleSetCurrentViewBounds { x: 70, y: 396, width: 1614, height: 958 }
[2023-10-25 09:23:18.813] [debug] [ModalManager] handleResizeModal {
  bounds: { x: 70, y: 396, width: 1614, height: 958 },
  modalQueueLength: 0
}
[2023-10-25 09:23:18.814] [debug] [App] [ServerViewState] getCurrentServer
[2023-10-25 09:23:18.814] [debug] [DownloadsDropdown...] updateWindowBounds
[2023-10-25 09:23:18.815] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenu
[2023-10-25 09:23:18.815] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenuItem {}
[2023-10-25 09:23:18.816] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-10-25 09:23:18.816] [debug] [DownloadsDropdown...] updateWindowBounds
[2023-10-25 09:23:18.816] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-10-25 09:23:21.837] [error] Logger Log level set to: info
[2023-10-25 09:23:21.970] [error] Logger Log level set to: debug
[2023-10-25 09:23:21.970] [debug] [App.Config] handleConfigUpdate
[2023-10-25 09:23:21.971] [debug] [App.Utils] handleUpdateMenuEvent
[2023-10-25 09:23:21.972] [debug] [DownloadsManager] hasDownloads
[2023-10-25 09:23:21.972] [debug] [ServerManager] getOrderedServers
[2023-10-25 09:23:21.975] [debug] [ServerManager] getOrderedServers
[2023-10-25 09:23:21.979] [debug] [App.App] handleAppSecondInstance [
  '/opt/mattermost/mattermost-desktop',
  '--allow-file-access-from-files',
  '--enable-sandbox'
]
[2023-10-25 09:23:21.982] [debug] [ViewManager] handleSetCurrentViewBounds { x: 70, y: 396, width: 1614, height: 958 }
[2023-10-25 09:23:21.982] [debug] [ModalManager] handleResizeModal {
  bounds: { x: 70, y: 396, width: 1614, height: 958 },
  modalQueueLength: 0
}
[2023-10-25 09:23:21.982] [debug] [App] [ServerViewState] getCurrentServer
[2023-10-25 09:23:21.983] [debug] [DownloadsDropdown...] updateWindowBounds
[2023-10-25 09:23:21.983] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenu
[2023-10-25 09:23:21.983] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenuItem {}
[2023-10-25 09:23:21.983] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-10-25 09:23:21.984] [debug] [DownloadsDropdown...] updateWindowBounds
[2023-10-25 09:23:21.984] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-10-25 09:23:21.984] [debug] [ViewManager] focusCurrentView
[2023-10-25 09:23:22.409] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for en-US, spellchecking might not work properly.
[2023-10-25 09:23:23.440] [debug] [App.Utils] flushCookiesStore
[2023-10-25 09:23:23.440] [debug] [ViewManager] handleSetCurrentViewBounds { x: 70, y: 396, width: 1614, height: 958 }
[2023-10-25 09:23:23.441] [debug] [ModalManager] handleResizeModal {
  bounds: { x: 70, y: 396, width: 1614, height: 958 },
  modalQueueLength: 0
}
[2023-10-25 09:23:23.441] [debug] [App] [ServerViewState] getCurrentServer
[2023-10-25 09:23:23.441] [debug] [DownloadsDropdown...] updateWindowBounds
[2023-10-25 09:23:23.441] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenu
[2023-10-25 09:23:23.442] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenuItem {}
[2023-10-25 09:23:23.442] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-10-25 09:23:23.442] [debug] [DownloadsDropdown...] updateWindowBounds
[2023-10-25 09:23:23.442] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-10-25 09:23:39.801] [debug] [ViewManager] handleReactAppInitialized c92177c1-e3e4-4306-aede-14d1209051f1
[2023-10-25 09:23:39.832] [debug] [App] [ServerViewState] getCurrentServer
[2023-10-25 09:23:39.841] [debug] [App] [ServerViewState] getCurrentServer
[2023-10-25 09:23:40.441] [debug] [App] [ServerViewState] getCurrentServer
[2023-10-25 09:23:48.578] [debug] [App] [ServerViewState] getCurrentServer
[2023-10-25 09:24:10.413] [debug] [App.Initialize] UserActivityMonitor.on(status) { userIsActive: true, idleTime: 0, isSystemEvent: false }

Here's our log with the URLs scrubbed. We did have to register the matermost:// URL handler with xdg-mime default Mattermost.desktop x-scheme-handler/mattermost as well. We're on Ubuntu 22.04

Yep, this all looks like normal Desktop App behaviour to me, and it doesn't look like it's being blocked by anything. Do you have a mime handler for http/https setup as well? At this point I would guess that the browser isn't being opened for some reason.

The browser (Chrome) is being opened correctly. The OAuth authorization prompt is opened for Mattermost's access request. After performing the GitLab authorization, we see the "You are now logged in" page from the Mattermost server inside Chrome. Then xdg-open is called from Chrome (sample xdg-open URL: mattermost://chat.company.com/login/desktop?client_token=73d214539204976baaf3acfcd818476c4f9b7c8b18a4587a40fad936e690f728&server_token=phgo11qn9h7swxgnw67urnbr5u1kjxdug757n6azyocoq4f59yp71onyef4b47ca) which brings the Mattermost client back to focus. However, nothing changes within the Mattermost client (it still says "Redirecting to browser...").
The logs I posted above capture the entire sequence of events from opening Chrome all the way through to Mattermost regaining focus after the xdg-open call.

@Nayruden Okay that's a different issue than what the OP had posted, your issue is happening after the user has logged in and the browser is trying to link back to the Mattermost app.
Looking further down into the logs, it looks like you might have your xdg misconfigured:
[2023-10-25 09:23:21.979] [debug] [App.App] handleAppSecondInstance [
  '/opt/mattermost/mattermost-desktop',
  '--allow-file-access-from-files',
  '--enable-sandbox'
]

It looks like it's opening Mattermost, but not providing the link from Chrome in the arguments. Normally our app when installed via package manager should set up a .desktop file which appends any arguments from the command line. You may need to revisit your configuration.

This is the installer from 5.5.1 -- is something misconfigured here? https://github.com/mattermost/desktop/blob/v5.5.1/src/assets/linux/create_desktop_file.sh
#!/bin/sh
set -e
WORKING_DIR=`pwd`
THIS_PATH=`readlink -f $0`
cd `dirname ${THIS_PATH}`
FULL_PATH=`pwd`
cd ${WORKING_DIR}
cat <<EOS > Mattermost.desktop
[Desktop Entry]
Name=Mattermost
Comment=Mattermost Desktop application for Linux
Exec="${FULL_PATH}/mattermost-desktop"
Terminal=false
Type=Application
Icon=${FULL_PATH}/app_icon.png
Categories=Network;InstantMessaging;
EOS
chmod +x Mattermost.desktop

This is the installer from 5.5.1 -- is something misconfigured here? https://github.com/mattermost/desktop/blob/v5.5.1/src/assets/linux/create_desktop_file.sh
#!/bin/sh
set -e
WORKING_DIR=`pwd`
THIS_PATH=`readlink -f $0`
cd `dirname ${THIS_PATH}`
FULL_PATH=`pwd`
cd ${WORKING_DIR}
cat <<EOS > Mattermost.desktop
[Desktop Entry]
Name=Mattermost
Comment=Mattermost Desktop application for Linux
Exec="${FULL_PATH}/mattermost-desktop"
Terminal=false
Type=Application
Icon=${FULL_PATH}/app_icon.png
Categories=Network;InstantMessaging;
EOS
chmod +x Mattermost.desktop

I think the Exec line needs to read like this:
Exec="${FULL_PATH}/mattermost-desktop" %U
If the above script isn't including that I'll have to make a change to it.

That change fixed it! We'll implement this workaround until it's fixed upstream; thank you!

@devinbinnie  sorry for late reply, I am in UTC+8
I installed by tar ball, then manually created a desktop entry :
[Desktop Entry]
Name=MatterMost
Exec=/home/ggfan/1-install/mattermost-desktop-5.5.1-linux-x64/mattermost-desktop
Comment=
Terminal=false
Icon=/home/ggfan/1-install/mattermost-desktop-5.5.1-linux-x64/app_icon.png
Type=Application

also tried appended %U, but still not work for me.
do I need to register like xdg like @Nayruden mentioned ？
xdg-mime default Mattermost.desktop x-scheme-handler/mattermost

for this  to work , do I  need Mattermost.desktop in %PATH  ?

switched to RPM, now it works, but for generic linux install with tar ball, maybe the docs need improvement.

Thanks, we'll look into it. Closing as completed.

I'm using the AppImage, the problem still persists for me.
During login, Mattermost redirects to the browser, I login with Gitlab successfully, then the redirect back to Mattermost fails, as described above.
How do I correctly configure xdg-open when using the AppImage version of Mattermost in Debian 6.6.15-2?


Encounter Error when upload test result to server

me too. How did you deal with it?

ok! Thanks!!

Duplicate of #15


Temporary PR MDS-188 context

Using context is not working. The slottable components dont get the value using Context.get

@alexisdevtailor Good day! Can this task be closed?

Task already finished in another PR


Only show "AZURE" for the "AZURE: ACTIVITY LOG" window in the Visual Studio Code Insiders

OS: Win10
Visual Studio Code Version: 1.84.0-insider (user setup)
Repro Steps:

Install "Azure Storage" extension from Extensions.
Navigate to Azure view -> Open a new Terminal -> Click "AZURE" window.
Check whether shows "AZURE: ACTIVITY LOG".

Expect:
Show "AZURE: ACTIVITY LOG".

Actual:
Show "AZURE".

More Info:
This issue doesn't reproduce for the Visual Studio Code 1.83.1 (user setup).

Please file an issue in the extension's repository. Thank you!


[DRAFT] FEAT: MathPromptConverter to Transform Prompts into Mathematical Problems

Overview:
This PR introduces the MathPromptConverter class, which converts user queries into symbolic mathematical problems using set theory, abstract algebra, and symbolic logic. The converter integrates with OpenAIChatTarget and loads a predefined template (math_prompt_converter.yaml) to dynamically handle user inputs.
Work Completed

Implemented the MathPromptConverter class, extending LLMGenericTextConverter.
Configured the converter to load templates dynamically from the dataset path (math_prompt_converter.yaml).
Updated example scripts to showcase the usage of MathPromptConverter alongside existing converters.

Next Steps

Conduct testing using harmful examples to verify the effectiveness of the mathematical transformations and evaluate the model's responses.
Review and refine the template (math_prompt_converter.yaml) as necessary based on test results.

Related Issue

Closes #457

Additional Context

Reference Paper: Jailbreaking Large Language Models with Symbolic Mathematics

Great work, @KutalVolkan

Once tests are added, it's ready to merge

Hello @rdheekonda,
Thank you for your feedback! 🙂
The tests have been added. If you notice anything else or have additional feedback or best practices to suggest, please let me know, and I will make the necessary changes.

Just need pre-commit to pass

Just need pre-commit to pass

Hello @rlundeen2,
I ran the pre-commit hooks, and everything should be working now. Thank you!


Stop sessions if exception thrown when resetting?

We've been experiencing some intermittent failures caused by Chrome crashing part of the way through a Selenium-based test. This leads to an exception being thrown when SessionsListener::prepareDefaultMinkSession() calls $this->mink->resetSessions(), which crashes Behat completely.
Of course, this is a Chrome bug that Chrome should fix at some point! However, if SessionsListener::prepareDefaultMinkSession() were to catch any exceptions when resetting and call $this->mink->stopSessions(), this could actually restart Chrome and continue the test suite.
If this is a change you'd consider, I can make a PR :-)

It would be great to to have an name of feature that was crashed.
This is related to https://github.com/Behat/Behat/issues/984

And of course tests must go on after crash one of the feature

Here's a PR that fixes this issue for us:
https://github.com/Behat/MinkExtension/pull/267

It would be great to to have an name of feature that was crashed.

The Feature where the primary failure happens is quite visible (it errors out within its steps when Chrome crashes), this just prevents there from being a secondary failure on all subsequent Features. So, I don't think we need to show any additional information!


Connection refused - connect(2) for "api-content.dropbox.com" port 443 (Errno::ECONNREFUSED)

# trello_backup.log
I, [2015-02-11T02:00:01.354858 #17647]  INFO -- : Loading environment...
I, [2015-02-11T02:00:02.551011 #17647]  INFO -- : OK
I, [2015-02-11T02:00:03.151022 #17647]  INFO -- : 53c696d4571f05f4aba78a17 - Fetching Trello data for board...
I, [2015-02-11T02:00:03.831347 #17647]  INFO -- : 53c696d4571f05f4aba78a17 - OK
I, [2015-02-11T02:00:03.831472 #17647]  INFO -- : 53c696d4571f05f4aba78a17 - Writing data to Dropbox...
I, [2015-02-11T02:00:05.172126 #17647]  INFO -- : 53c696d4571f05f4aba78a17 - OK
I, [2015-02-11T02:00:05.172685 #17647]  INFO -- : 53b2c4cd6c86e16958978b33 - Fetching Trello data for board...
I, [2015-02-11T02:00:08.657948 #17647]  INFO -- : 53b2c4cd6c86e16958978b33 - OK
I, [2015-02-11T02:00:08.658088 #17647]  INFO -- : 53b2c4cd6c86e16958978b33 - Writing data to Dropbox...
I, [2015-02-11T02:00:10.198237 #17647]  INFO -- : 53b2c4cd6c86e16958978b33 - OK
I, [2015-02-11T02:00:10.198746 #17647]  INFO -- : 5092651ba6d669c174005fc0 - Fetching Trello data for board...
I, [2015-02-11T02:00:17.538996 #17647]  INFO -- : 5092651ba6d669c174005fc0 - OK
I, [2015-02-11T02:00:17.539131 #17647]  INFO -- : 5092651ba6d669c174005fc0 - Writing data to Dropbox...
/usr/lib/ruby/2.1.0/net/http.rb:879:in `initialize': Connection refused - connect(2) for "api-content.dropbox.com" port 443 (Errno::ECONNREFUSED)
        from /usr/lib/ruby/2.1.0/net/http.rb:879:in `open'
        from /usr/lib/ruby/2.1.0/net/http.rb:879:in `block in connect'
        from /usr/lib/ruby/2.1.0/timeout.rb:76:in `timeout'
        from /usr/lib/ruby/2.1.0/net/http.rb:878:in `connect'
        from /usr/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
        from /usr/lib/ruby/2.1.0/net/http.rb:852:in `start'
        from /usr/lib/ruby/2.1.0/net/http.rb:1369:in `request'
        from /home/trello_backup/app/vendor/gems/ruby/2.1.0/gems/rest-client-1.6.7/lib/restclient/net_http_ext.rb:51:in `request'
        from /home/trello_backup/app/vendor/gems/ruby/2.1.0/gems/dropbox-sdk-1.6.4/lib/dropbox_sdk.rb:87:in `do_http'
        from /home/trello_backup/app/vendor/gems/ruby/2.1.0/gems/dropbox-sdk-1.6.4/lib/dropbox_sdk.rb:165:in `do_http'
        from /home/trello_backup/app/vendor/gems/ruby/2.1.0/gems/dropbox-sdk-1.6.4/lib/dropbox_sdk.rb:196:in `do_http_with_body'
        from /home/trello_backup/app/vendor/gems/ruby/2.1.0/gems/dropbox-sdk-1.6.4/lib/dropbox_sdk.rb:211:in `do_put'
        from /home/trello_backup/app/vendor/gems/ruby/2.1.0/gems/dropbox-sdk-1.6.4/lib/dropbox_sdk.rb:818:in `put_file'
        from backup.rb:54:in `block in <main>'
        from backup.rb:29:in `each'
        from backup.rb:29:in `<main>'

I've just run this script successfully from my local machine using Ruby 2.1.0 and it worked fine, although I ended up generating a new Dropbox app OAuth token, because I was following along with the instructions in the README. I've updated the token on the production machine to match, because I think there is only ever a single valid token and I didn't want the cron job to start failing because it had the wrong token.
I can only assume this was a temporary connectivity problem, particularly since the cron job had successfully backed up two of the boards before it failed.
Closing.


Moving from SysWhispers1 to SysWhispers2

Correct me if im wrong but from what i understand to move from 1 -> 2 all i should have to do is replace .h file on the #include part of my code if the code using SysWhispers1 was working with that old .h syscalls file?
I ask because im getting a error when using x86_64-w64-mingw32. Error is "Undefined reference to '{INSERT syscall NAME}'

@ceramic-skate0
Im having the same problem, when u figure it out please till me !!! 👀


Should I support Python 3.1-3.2?

Python 3.3 has several features that would make Nustack nicer, the main one being able to stop chained exceptions so that users don't get 3 or 4 deep nested tracebacks when they try to lookup a nonexistent variable.
So, should I support Python 3.2, or just 3.3+?

@Jonathan50 @liam4, what do you guys think?

Whaaat? We're using python 3.2?
Why aren't we using 3.5, which is the most up-to-date version?

I use Python 3.5 :package:
Maybe, if you want to increase where it can be used.
Some GNU/Linux distributions may still be using 3.3<.

I use Python 3.5 too. I just wanted some feedback on if you guys think support Python 3.1-3.2 is worth it.

3.1 final June 27th, 2009
3.1.4 June 11th, 2011
3.2 February 20th, 2011
3.2.6 October 12th, 2014
3.3 September 29th, 2012
3.3.6 October 12th, 2014
3.4 March 16th, 2014
3.4.3 February 12th, 2015
3.5 September 13th, 2015
3.5.1 December 6th, 2015
3.6 December 16th, 2016
As you can see 3.3 was released in 2012 which is kind of a long time ago, but 3.5 was only released in September, not that long ago. I'd probably go for 3.4 or 3.5. The question is, when do we think Nustack will be ready for general big project usage? If we doubt it'll be ready for at least a year or two we should probably go with 3.6 :P

Currently, I use Python 3.4. You might want to use that, as it is probably more stable.

I've decided to support Python 3.2, since then Nustack can run on PyPy3.

cool


Change logo to 🗣

Change logo to 🗣
Why?
Changing logo to 🗣 will give more brand recognition to our project compared to a random clip art of a chat, as it is unique. We can, for the time being, keep it as a fallback for the two people who still use desktop Safari in 2024. To make the logo visible, I added a few drop shadows so it can be seen from black backgrounds.
Screenshot

As the emoji is browser dependent, it is just rendering text, which is better legally then keeping 🗣as a logo, legally speaking, I guess.
Peace, love, and 🗣

here's how it looks on google chrome w/ my chromebook

This logo uses too much RAM, change the logo to use less RAM on AmigaOS

This is bad. It is not clean. Make it clean.

Literally 1984


typo

https://github.com/MicrosoftDocs/office-docs-powershell/issues/4012

Docs Build status updates of commit 79596a3:
:clock10: Full build: the average full build time is 11 min(s) 47 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 79596a3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Test-CsEffectiveTenantDialPlan.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Perfect.

Docs Build status updates of commit 531cf24:
:clock10: Full build: the average full build time is 11 min(s) 47 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 531cf24:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Test-CsEffectiveTenantDialPlan.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Logo missing from ApexDocs

http://developer.salesforce.org/HEDAP/ApexDocumentation/

**lurch: add

Tracking W-009503

Change made directly in Github.


Zeitwerk mode

Resolves #396
Rails 6.0 provides Zeitwerk mode and uses different eager load logic: it calls ::Zeitwerk::Loader.eager_load_all in Rails::Application::Finisher. So we need to call eager_load_all manually.

Thank you!

When can we expect this to be released in a new gem version? Looks like the latest 2.12.0 doesn't include this fix.


Unmarshalling errors relating to catalog seen in logs.

Server version - v0.43.0-rc1
Following error seen in logs every 5 minutes:
time="2015-10-22T17:11:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T17:16:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T17:21:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T17:26:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T17:31:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T17:36:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T17:41:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T17:46:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T17:51:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T17:56:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T18:01:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T18:06:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T18:11:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T18:16:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T18:21:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T18:26:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T18:31:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T18:36:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T18:41:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
time="2015-10-22T18:46:18Z" level=error msg="Error unmarshalling rancher-compose.yml under template: logspout/0, error: yaml: line 6: mapping values are not allowed in this context"
root@sangee043rc1-10acre-master-0:/home/sangeethahariharan1#

The rancher-compose.yml file in the catalog had an formatting issue. This error is no longer seen after @cloudnautique fixed the catalog entry.

This error is not seen in the logs anymore.

Hello,
This is happening again, lots of error messages in production right now. Please do something quick.
Error unmarshalling config.yml under template: DATA/library/infra-templates/ebs, error: yaml: unmarshal errors:\n  line 7: cannot unmarshal !!map into string Error unmarshalling config.yml under template: DATA/library/infra-templates/efs, error: yaml: unmarshal errors:\n  line 7: cannot unmarshal !!map into string

@ahfeel We've removed the labels causing these errors for now. Note: there is no harm in these errors.

@ahfeel, to resolve these errors you can refer to #6837


White-space Trim Not Happening on Partial Tags

White-space Trim Not Happening on Partial Tags.  Unlike all other blocked content tags, forceTrim = true is never passed into the EnsureLeftTrim or EnsureRightTrim functions for {>Partial} tags.

closed with  PR#43.  White-space is now  trimmed on partial tags when the engine level TrimWhiteSpace setting is enabled.


Add support for Whisper timestamps and task/language configuration

This adds the following options to the speech-to-text serving: :timestamps, :language, :task. By default no language is assumed and the model infers it on its own.
I deprecated Audio.speech_to_text in favour of Audio.speech_to_text_whisper. Initially I added extra_options: [...] to the serving and delegated some of the logic to the Text.Generation behaviour that Audio.Whisper implements, but that could be confusing form the user perspective, since they would need to lookup options in other modules. Also, there were still some Whisper-specific bits, so I think it's most practical to have a separate serving.
We have the %Text.GenerationConfig{} struct for loading generation options (sequence length, some token information, sampling options), but Whisper has a number of specific options on its own. I don't think it makes sense to add those fields to the generic struct, so instead we load the config as %Text.Generation{extra_config: %Text.WhisperGeneration{}}.

Are we good to ship a new Nx too? :)

I will look at streaming next, so if we want to play safe, we can wait for that :)


plot method in GraphWidget

Usage: http://nbviewer.ipython.org/gist/chriddyp/e8c21827120220791684
@theengineear

:+1:

yeah, you're right, releases looks a bit nicer (e.g. https://github.com/ipython/ipython/releases)

looking good, just a couple notes in there from me


Remove quotation marks from testimonial and testimonialBy before submit

The frontend already applies quotation marks.

Add help to admin form element that explains not to add additional quotes

Add regex pattern to testimonial string https://github.com/research-software-directory/backend/blob/677d919d733b953bffa33c386c1b0fcbd75505ec/schemas/software.json#L582-L585
"pattern": "[a-zA-Z0-9\ !@#$%-_+=;:,.?]+\."

(not sure if we should enforce the closing period)


Return type of functions intersection incorrect

Bug Report

🔎 Search Terms

function intersection
🕗 Version & Regression Information

This is a crash
This changed between versions ______ and _______
This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
I was unable to test this on prior versions because _______

⏯ Playground Link

Playground link with relevant code
💻 Code

// We can quickly address your report if:
//  - The code sample is short. Nearly all TypeScript bugs can be demonstrated in 20-30 lines of code!
//  - It doesn't use external libraries. These are often issues with the type definitions rather than TypeScript bugs.
//  - The incorrectness of the behavior is readily apparent from reading the sample.
// Reports are slower to investigate if:
//  - We have to pare too much extraneous code.
//  - We have to clone a large repo and validate that the problem isn't elsewhere.
//  - The sample is confusing or doesn't clearly demonstrate what's wrong.
namespace Case1 {
  interface Fnumber {(): number}
  interface Fstring {(): string}
  interface Fns {(): number|string}

  type F = Fns & Fnumber
  function test(f: F): ReturnType<F> {
    return f()
  }
}

🙁 Actual behavior

Type 'string | number' is not assignable to type 'number'.
  Type 'string' is not assignable to type 'number'.(2322)
(parameter) f: () => string | number (+1 overload)

🙂 Expected behavior

(parameter) f: () => number

The intersection type F should only have a return type of number

I found a workaround:
type NarrowReturn<F extends (...args: any) => any, R = any> =
  (ReturnType<F> & R) extends never ? never : (...args: Parameters<F>) => (ReturnType<F> & R)

@fatcerberus thank you for the explanation.
It looks like I had some misunderstandings about intersection types before.
Let me share my latest understanding:
Function call signatures (https://www.typescriptlang.org/docs/handbook/2/functions.html#call-signatures) are a special type of property in object types, and an object type can contain multiple call signatures. When intersecting object types, different call signatures are treated as different object properties. So when intersecting multiple different call signatures, we get a new object type that contains multiple call signatures, rather than a single "narrower" function type.

Yep, that’s a really good way to think about it.  No attempt is made to merge the call signatures though, unlike with normal properties.


Exec tachikoma update<PHONE_NUMBER>2324

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io

Coverage remained the same when pulling 6027f6af15a56926e40478211bbecc438ca9cc5f on tachikomapocket:tachikoma/update-20150115102324 into 76de8b1d8ea7e430b163c6625d1d34f8cc890231 on app2641:master.


Use Unsafe to obtain location of direct Buffer address field

in java 16, Strongly Encapsulate JDK Internals by Default (https://openjdk.org/jeps/396).
And, UnsafeUtil class still in use reflection access (https://github.com/xerial/snappy-java/blob/master/src/main/java/org/xerial/snappy/pure/UnsafeUtil.java#L44).
so, when use jdk 16+, get error message
[UNSUPPORTED_PLATFORM] pure-java snappy requires access to java.nio.Buffer raw address field.
Base project aircompressor is already fix this issue (https://github.com/airlift/aircompressor/pull/128)
please fix to usefully for jdk16+

I've dropped the pure-java support in https://github.com/xerial/snappy-java/releases/tag/v<IP_ADDRESS> I think this is no longer an issue


RPC interface

Is there any documentation or test instructions available for the RPC interface?

@xiaohq002
Thank you for your advice. We will fill in the corresponding interface example for you to use later.


Create sonar-workflow.yml

Description
Add description...
Checklist

[ ] Description added to PR
[ ] PR is linked to issue
[ ] Solution can start locally

Codecov Report

Merging #30 (1b2d7af) into main (2fdb9b1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #30   +/-   ##
=======================================
  Coverage   98.98%   98.98%
=======================================
  Files          21       21
  Lines         197      197
=======================================
  Hits          195      195
  Misses          2        2

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Update Example to Use kubectl auth reconcile

With rbac.authorization.k8s.io/v1 going GA and no longer beta it is more appropriate to use kubectl auth reconcile for applying permission resources. kubectl apply will fail if you change the roleRef where as kubectl auth reconcile will not fail.
Also, kubectl auth reconcile is much more descriptive when it makes changes and outlines exactly what changes were made.
Example:
$ kubectl auth reconcile -f role-dev-namespace.yaml --remove-extra-subjects --remove-extra-permissions

OUTPUT:
role.rbac.authorization.k8s.io/dev-user-full-access reconciled
        reconciliation required create
        missing rules added:
                {Verbs:[*] APIGroups:[ extensions apps] Resources:[*] ResourceNames:[] NonResourceURLs:[]}
                {Verbs:[*] APIGroups:[batch] Resources:[jobs cronjobs] ResourceNames:[] NonResourceURLs:[]}

https://kubernetes.io/docs/reference/access-authn-authz/rbac/#kubectl-auth-reconcile

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

ID: 84495e76-eca6-ddc9-989f-01c844aaa29d
Version Independent ID: de2a46f6-59c7-f4bd-c409-ea8d04741a6d
Content: Control cluster resources with RBAC and Azure AD in Azure Kubernetes Service - Azure Kubernetes Service
Content Source: articles/aks/azure-ad-rbac.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

@joeizy Thank you for reaching out to us, we will further look into it and get back to you at the earliest.

Thank you @joeizy for the feedback.
We've added a task to our backlog and will prioritize accordingly.
#please-close

There have been many changes to this article since this feedback was submitted. The feedback is no longer relevant, so I will keep this work item closed and close our internal work item.


CELTS Admin Activity Log

The CELTS team requested we make an interface to allow them to see the activity of other CELTS admins and Student Staff.  Things like, who created events, edited events, deleted events, banned a user, etc.

 CELTS #194: CELTS Admin Activity Log


ISPN-14786 Remove Wildfly modules

https://issues.redhat.com/browse/ISPN-14786

is this for real? :scream:

Merged, thanks


Because the View boxes don't look like buttons, it was confusing on how to select the default.

Issue:  The first time I get into Rancher I have to select a default view & neither one of the views is selected by default.  So the continue button stays grey and I'm not sure how to fix it.  The default view boxes don't say I need to click on one?
After I select one is highlighted blue.

I think we need to make this so that the options either have a radio option available or something?

@tfiduccia @vincent99 As discussed on Monday radio buttons next to the text would solve this

Radio buttons were added

Login screen once rancher is deployed on master-head - commit id: 27000be7


Demo of adding a command to the command palette

This command will be visible in the Atom command palette.
Users can access it by hitting ⌘-⇧-P (or platform equivalent), then starting to type the command name. It will be found using fast fuzzy search and will show up as "Jupyter: New Command".
The user can also bind it to a keyboard shortcut of their choosing using the excellent Atom keybindings menu, which looks like this:

Closing, let's revisit this later since this was for demoing to others.


3.5-rudi-build-fix

build fixes

disable enterprise feature test and dependency

looks commented out to me


Rename files directory to resources directory

Renamed the 'files' directory within tests/unit to 'resources'.  Now it
matches the product test directory structure.
Testing: make lint test

looks good

lgtm


Crash in NSManagedObjectContext+RKAdditions.m

My app communicates with our server and syncs data back and forth and persists data with Core Data with RestKit's help. Occasionally there is a an invalid address crash when saving changes via RKManagedObjectStore persistentStoreManagedObjectContext and calling saveToPersistentStore.
backtrace.txt
This crash is intermittent and occurs in RestKit v0.24.1 and on NSManagedObjectContext+RKAdditions.m line 65.

I have been seeing this same crash in my app since iOS10 was released.  I get an error saying: ** Collection <__NSCFSet: 0x156880e0> was mutated while being enumerated.  When I po that address I get a set with various core data entities.  This happens with Restkit 0.26 and 0.27.  I haven't gone any further back.
I've also been seeing an error when trying to save an MOC: Error saving to persistent store: Error Domain=NSCocoaErrorDomain Code=132001 "(null)" UserInfo={message=attempt to recursively call -save: on the context aborted. I didn't see this prior to iOS10.
This feels like a core data concurrency issue.  I am currently debugging my app with the concurrencyDebug flag set to try to track this down.  However, the only thing that has really changed is iOS 10.  My app hasn't had any changes in this area in quite some time.

I found my issue.  I was using an NSFetchedResultsController to execute my fetch requests.  This was happening on a background thread (constantly running process to upload/download data/media from the server).  After changing this area to just execute fetch request agains the MOC my app is behaving much better.  This was the last area of my app that was failing the core data concurrency debug assertions.  After fixing this I haven't seen any more crashes.  Hope this helps.

Have you tested with the concurrency debug flag set? That thing is a life saver.

@burniejm I just started to do that and it looks promising, thanks for pointing out that debug flag for me!

hi @burniejm I've got same problem with 'error Domain=NSCocoaErrorDomain Code=132001'. I'm using NSFetchedResultController also. What exactly that you change to fix it?


glutaryl-CoA hydrolase activity

id: GO:0044466
name: glutaryl-CoA hydrolase activity
namespace: molecular_function
def: "Catalysis of the reaction: glutaryl-CoA + H2O = CoA + glutarate." [GOC:pm, PMID:16141203]
synonym: "glutaryl-CoA thioesterase activity" EXACT []
xref: EC:<IP_ADDRESS>
is_a: GO:0047617 ! acyl-CoA hydrolase activity
created_by: jl
creation_date: 2012-01-17T04:16:43Z
But EC:<IP_ADDRESS> is 'succinyl-CoA hydrolase' and is already correctly a xref for GO:0004778 succinyl-CoA hydrolase activity

[ ] There doesn't appear to be an EC for this reaction, so just remove EC:<IP_ADDRESS> xref.

[ ] Add RHEA:40575

[ ] Update def to match RHEA:40575

[ ] Also, chain length of glutaryl-CoA is 5C, so parent can be changed to a more specific 'short-chain-acyl-CoA hydrolase activity' parent, which is consistent with its MetaCyc classification.  But need to wait for resolution of 'short-chain-acyl-CoA hydrolase activity' issue raised in #26441 before doing that.

Hi @sjm41
Glutaryl-CoA seems to represent a specific substrate - looking at RHEA:40575, the papers cited talk about acyl-CoA thioesterase and succinyl-CoA thioesterase. This terms seems out of scope for GO; what do you think ?
Thanks, Pascale

QuickGO says there are only 5 annotations to this term, all of which are EC2GO via the erroneous EC:<IP_ADDRESS> association. So looks like nobody is really using this term. I think it can go.  I'll re-assign this ticket to you to do that.
Thanks!

Dear all,
The proposal has been made to obsolete GO:0044466 glutaryl-CoA hydrolase activity. The reason for obsoletion is that this term represents a specific substrate of GO:0047617 acyl-CoA hydrolase activity, and therefore is outside the scope of GO.
There are no annotations or mappings to this term; this term is not present in any subset.
You can comment on the ticket: https://github.com/geneontology/go-ontology/issues/26443
Thanks, Pascale

Obsolete formyl-CoA hydrolase activity
No annotations, no entry linked to the RHEA and EC xrefs. Citing a 1963 paper: https://www.ncbi.nlm.nih.gov/pubmed/14063284


scope_exit fails to compile with explicit function reference template argument

see https://github.com/PeterSommerlad/SC22WG21_Papers/issues/15

should now work with additional overload provided.


Update sdn-features-packet-transforms.md

Refining flow description per discussion w/Eng

This is no longer needed, closing.


[1808] accrediting provider enrichments

Context
Full read/create/update for accrediting provider enrichments.
Because of all the questions about feasibility & shape of update when working on just the list of names/codes we gave up on splitting the card in three and this PR is for the whole feature.
Changes proposed in this pull request

Include code/name, & enrichment if available, of accrediting bodies for a provider.
Update enrichments in database when accredited body info is posted as part of provider#update

Guidance to review
Checklist

[ ] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

Draft - todo
Draft PR because although this works there is still this to do

[ ] Test coverage for read
[ ] Test coverage updating existing enrichment
[ ] Test coverage for read
[ ] Make fetching this data optional by way of include param in controller

 Expose accredited provider name/code list in backend api

Looking good! I didn't delve into the specs yet, will wait for them to be done, but the implementation looks good.

Squashed, rebased & force-pushed

Just did a test to see how slow this is on what I think is the worst-case scenario: a provider with 9 accredited bodies:
  Provider Load (0.7ms)  SELECT  "provider".* FROM "provider" WHERE "provider"."id" = $1 LIMIT $2  [["id", 11637], ["LIMIT", 1]]
  RecruitmentCycle Load (0.4ms)  SELECT  "recruitment_cycle".* FROM "recruitment_cycle" WHERE "recruitment_cycle"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
  Provider Load (44.2ms)  SELECT DISTINCT "provider".* FROM "provider" INNER JOIN "course" ON "provider"."provider_code" = "course"."accrediting_provider_code" WHERE "course"."provider_id" = $1 AND "course"."discarded_at" IS NULL AND "provider"."recruitment_cycle_id" = $2  [["provider_id", 11637], ["recruitment_cycle_id", 1]]
  ProviderEnrichment Load (0.7ms)  SELECT  "provider_enrichment".* FROM "provider_enrichment" WHERE "provider_enrichment"."provider_id" = $1 LIMIT $2  [["provider_id", 11637], ["LIMIT", 1]]

@timabell I don't see any reason to worry about optimising this, yet.

I'm happy with what's here, aside from handling the cases where there is no UcasProviderCode.


About PAIRS: 600000

Hi, Thank you for your excellent work. I have a quetion about PAIRS. Why is it set to 600000?

Hi, Thank you for your excellent work. I have a quetion about PAIRS. Why is it set to 600000?

Hi~ Thanks for your interest. You can do some ablations to decide the optimal number. For example, it is enough for FC-based module with only 20w pairs on GOT10K.


Support for Groups Topics

Is there a way to make the bot send a message to a specific group's topic?

Not yet, but feel free to open a PR for it if you wish!

Is there a way to make the bot send a message to a specific group's topic?

You can use ->withData() method to set message_thread_id in request


DAH backwards donuts

the in>out & out>in donuts waves in DAH are flipped backwards in your guide....
so for example when the notice message "Donuts: In > Out"  comes up, the boss does the out>in donuts mechanic,
and the message "Donuts: Out > In" comes up when the in>out donuts mechanic happens

The guide informs about where the safe-zone for the player ("in>out" for inward waves, or "out>in" for outward waves), in accordance with the basic style of displaying mechanics in other guides.
Additionally, we have added a text about the direction of the waves.


Migrate from Travis to GitHub Actions

Resolves #358

@est31 Hmm...is Actions enabled for this repository?  The setting is Settings > Actions > Actions Permissions >  Allow All Actions

Hmm...is Actions enabled for this repository? The setting is Settings > Actions > Actions Permissions > Allow All Actions

It is enabled. I think github doesn't enable actions though until such a pr has been actually merged.


Unable to set the ExchangeGUID if Exchange Hybrid env is not present

IMHO, the procedure as written in the article must specify that an Exchange Hybrid environment is necessary as there's no way to pre-stage a mailbox in cloud only environment with a specific ExchangeGUID matching the source mailbox or change it afterwards. If I'm missing something, or if there's a way to accomplish this, please advise. Look forward to the final release of this much needed solution.
This is in reference to article: https://docs.microsoft.com/en-us/microsoft-365/enterprise/cross-tenant-mailbox-migration?view=o365-worldwide
Happy holidays!

@AlfredoLarracuente Thank you for your feedback. For any mailbox moving from a source organization, you must provision a MailUser object in the Target organization: The ExchangeGUID needs to be set on the new mail user object in the target tenant. You can use Set-MailUser -identity<EMAIL_ADDRESS>-Exchangeguid ***
Hope this helps!
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @AlfredoLarracuente Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Add bazinga-tools extension

Description
This extension adds a shortcut so users can access tools on https://bazinga.tools easier.
Type of change

New extension

Screencast
https://user-images.githubusercontent.com/635902/152481278-855c59f3-5e4b-4338-9304-e2b7bac5abb9.mp4
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast

hi @pernielsentikaer
Thanks for the quick response! 👍
I just checked it out and IMO there are some differences:

In most use cases, it's necessary to deal with multi-line text or local files, and bazinga-tools supports that out of the box. Also, it provides syntax highlighting.
Bazinga-tools also provides tools that don't fit in https://www.raycast.com/Kang/toolbox, most of which require a more structural input instead of a simple string, e.g. the border radius tool accept 4 integers and the markdown generator needs 2D table data.

So I think it'd be useful to provide an extension to allow users to access bazinga tools quicker from Raycast.

Hi @luin 👋
Valid point, thanks for taking your time to clarify 😄
The only thing I can come up with is the title and subtitle regarding the naming convention
Do you have an idea to make it a bit more lightweight?

@pernielsentikaer Thanks for the feedback! I should have read the guideline more carefully.
I updated the titles so the subtitle becomes the product name and the title becomes the action. Does this change make sense?

🎉


Creative search function broken

It seems your mod + emi brakes the creative search function it deosnt happen evry time
https://pastebin.com/zecd20bg

turns out I did not fix it
also this might be an emi bug
https://discord.com/channels/922828438274986004/922828438274986007/1177286400694030426

https://github.com/emilyploszaj/emi/issues/283

should be fixed in the next release


Add Placeholder in Input

Allow prop to provide placeholder if needed:
<CommentInput placeholder="Give your opinion" />

Placeholder option has been released in version 0.3.1 #20


Improve The Filecoin Protocol Section

Problem Description
Currently we only have a link to a very long video & 'How Filecoin Actors Work'
Purpose
We want launchpad residents to come from the program with an understanding of the technical details of the Filecoin blockchain
Proposed Solution
Edit 'How Filecoin Works' into a few shorter videos. See other Issue
Add this to content with summary
Record a updated/ anonymous version of zenground0's 'How Filecoin Actors Work
Re architect the curriculum
Where Can we find out more about this topic?
Issue #145
branch @v4-linds-filecoin
Private video How Filecoin Actors Work
Whitepaper 'Engineering Filecoins Economy'
Additional context
Perhaps re-arrange & rename sections
Milestones
1) Milstone Name Text
2) Milstone Name Text
Acceptance Criteria
Describe the out put and criteria for this output for considering this task completed

Will have @enolal826 review when ready

Done: https://curriculum.pl-launchpad.io/curriculum/filecoin/how-filecoin-works/


[EDA] Refactor: REL_Relationships_Con_TDTM - After Insert

Critical Changes
Changes
General Updates
To improve readability, modularity, and performance, we've refactored the REL_Relationships_con_TDTM class. The functionality of this class hasn't changed.
Issues Closed
New Metadata
Apex Classes
ContactRelationshipsModel.cls
ContactRelationshipsModel_TEST.cls
ContactRelAutoCreateMappingModel.cls
ContactRelAutoCreateMappingModel_TEST.cls
ContactRelAutoCreateService.cls
ContactRelAutoCreateService_TEST.cls
ContactsRelationshipsModel.cls
ContactsRelationshipsModel_TEST.cls
RelAutoCreateSettingsMapper.cls
RelAutoCreateSettingsMapper_TEST.cls
RelAutoCreateSettingsMapperService.cls
RelAutoCreateSettingsMapperService_TEST.cls
Deleted Metadata
Testing Notes
https://salesforce.quip.com/Ii1vARibP5JM#fDdACAHmz0O

Passes QA - Merging


is there a way to recover automatically?

Hi. I tried the plugin, and it seems that I have to use the command /recover fix, is there a way to make the recover automatic?

It should automatically repair the damage. However, a delay is configured by default.

oh thanks! does the plugin have conflict with worldedit or viaversion? somehow I tried it but it does not repair automatically

I never heard of any conflicts with Via version and World edit.

oh thanks! does the plugin have conflict with worldedit or viaversion? somehow I tried it but it does not repair automatically

What Version are you using? And what Minecraft Server version?

I am running minecraft 1.20 with spigot1.20 installed

Can you send me your config. Just want to make sure that everything is correct.

yea sure
config.json
I also installed oreobfuscation on my server, I wonder if this could cause conflict

Can you test the jar file on a server with no other plugins installed. If it works try removing the plugins one by one.


Get wraps function from six

Another PR in this series: #345 .

Easiest way of testing this is by merging, so let's try.

Finally! It works on RTD.


Update test matrix to include Python 3.7 and Django 2.1

Fixes #371
Signed-off-by: Aleksi Häkli<EMAIL_ADDRESS>

Hey @markddavidoff and @camilonova, I've updated the project to support Python 3.7 and test changes against Django 2.1 in addition to the current test matrix.
It would be great if you could review the changes.
There are no logical changes to the project aside from code cleanup, the only changes should be to the test setup and project syntax.
The Python 3.7 support was added into the .travis.yml file with a special syntax that tests only the python: 3.7 target with sudo mode and xenial distribution and doesn't alter other test environments for the time being.
As part of the changes the requirements were updated to support the new setup and most notably the Django requirements was also moved to setup.py instead of requirements.txt so the tox.ini requirements list would be compatible with using the -r requirements.txt format for including the package version list from an external file, removing the need for duplicate version definitions. prospector was updated to a new version and astroid version freezes were removed from the version listing as those are defined by prospector itself.
Some minor code changes were implemented to support strict pylint checks and new prospector version, and MessageMiddleware was added into the test setup to support newer Django versions in the tests.
At the moment Django 2.1 and Django master branch support is not functional in tests and should be the next thing to fix, but that would probably produce some other changes that are unrelated to the version support changes, and I think those should be done in a separate PR.

@aleksihakli apparently i wrote out but never submitted my review but i had some comments/questions. sorry for the delay

@markddavidoff Yeah I looked at the other PR and you had commented there in the period while this PR was open so I assumed this one was fine with you.
Should we roll back the changes in here and reimplement them? They haven't been released yet, they're just in the master.
No actual logic changes were done, I just fixed up some old deprecated branching that actually did nothing to make some prospector checks pass on the upgrade.


Update License

As the open source program manager, I should have flagged this earlier.
https://handbook.sourcegraph.com/departments/engineering/dev/process/licenses/

Closing after talking about this internally


Range violation on dub describe

I first had an RangeError exception when using the dub library and I thought its my implementation but then I tried dub describe --import-paths and it also gives a range violation. dub describe seems to work fine.
I don't know why but I cant reproduce it on any project other than this one: https://github.com/TeamAvocado/Avocado/tree/2a3cbdc52da07bd97993caad202bb0d710d7c78f
Might be all those sub-projects.
Stacktrace when using library:
core.exception.RangeError@../../.dub/packages/dub-0.9.24/source/dub/description.d(36): Range violation
----------------
??:? _d_arraybounds [0x8b0b6b]
??:? dub.description.__array [0x83e387]
../../.dub/packages/dub-0.9.24/source/dub/description.d:36 dub.description.ProjectDescription.lookupTargetinout(ref inout(dub.description.TargetDescription) function(immutable(char)[])) [0x83e455]
../../.dub/packages/dub-0.9.24/source/dub/project.d:901 immutable(char)[][] dub.project.Project.listBuildSettings(dub.compilers.compiler.BuildPlatform, immutable(char)[], immutable(char)[], immutable(char)[][], dub.compilers.compiler.Compiler, bool) [0x8155d9]
...

When using dub describe --import-paths it just prints "Range violation"

After some debugging I found out that the ProjectDescription is not empty and it contains most information but the targets and lookup is empty
Root Package: avocado
Configuration: library
Build Type: debug
Compiler: dmd
Architecture: ["x86_64"]
Platform: ["linux", "posix"]
Package length: 13
Targets: []
Lookup: []
Searching for key debug

Full dub describe output: http://i.webfreak.org/C6A2A9/describe.txt

ok the range violation is thrown because of the target-type: none
However if changing it to library it does not contain the sub-packages as source path, only when not using sourcePaths: ["."] for every sub-package.
I think this is a bug because sub-packages should act like regular packages and regular packages support sourcePaths: ["."] as path. It passes the files to the compiler correctly because its using the files but for IDEs/plugins it would be better passing the folder as source path or just not crashing dub/host using dub.

As far as I can tell, everything works as intended. Since the root package in this case doesn't have a binary target, it also doesn't conceptually have build settings. There is a proper error check now.
But you could list the settings of the individual sub packages with dub describe :code --list-imports or similar. If you need the build settings for a combined build, use "targetType": "library" and dub describe --combined --list-imports.

dub describe --import-paths works for each sub-package. And it also works if using them as dependency in the root package.
BUT when the sub-packages have sourcePaths: ["."] instead of source or something it doesn't work as intended. Like you get subPackage/source as source path if you use some folder other than .
So instead of giving me subPackage as import path how I would expect it to it doesn't give anything as import path
This is what happens then instead: http://hastebin.com/kazobilile.avrasm


cannot conduct "mt" experiments

When I try
python train.py task=mt80 model_size=48 batch_size=1024

I got the following error
AssertionError: Expected data directory /root/data to contain mt80, please double-check your config

Hi @kaiyama12345679, did you download the mt80 dataset from our website? It is available here: https://www.tdmpc2.com/dataset
After downloading, you will need to point to the dataset using the data_dir argument. I hope this helps!

@nicklashansen, thank you so much for your reply. I have downloaded the mt30 and mt80 from your huggingface repository to /root/data, and set data_dir=/root/data.
However the above error still occured in my environments.

I'm sorry, I misunderstood. When I set data_dir=/root/data/mt30 or data_dir=/root/data/mt80, it works!
Thank you for your help!

Great that you solved it!


Suggestions

[Enter feedback here]
Suggest removing the word "Primary" in the heading "Primary: Hybrid and multicloud concerns." Perhaps there is another section yet to be added called secondary? Should it instead be "Primary Hybrid and multicloud concerns?" or "Common concerns with Hybrid and multicloud?"
Under the same heading, there is the sentence "Existing operations management platforms were not build for these types of environments." which has a spelling error. It should be "...built..."

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

ID: eb496583-bc70-51c0-72ad-be82b742e1c1
Version Independent ID: dcd37951-e125-4faa-ec81-824348b8b4cc
Content: Introduction to Hybrid and Multicloud - Cloud Adoption Framework
Content Source: docs/scenarios/unified-operations/index.md
Service: cloud-adoption-framework
Sub-service: overview
GitHub Login: @BrianBlanchard
Microsoft Alias: brblanch

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 365296

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 365296

Any maybe Hybrid shouldn't be capitalized, as it does not appear to always be capitalized in subsequent docs.

Any maybe Hybrid shouldn't be capitalized, as it does not appear to always be capitalized in subsequent docs.

Added to the review backlog.

Added to the review backlog.


Revisit implementation of Runner

Currently, the runner handles the transition between templates.
Current implementation is buggy because of complex transition control (such as recursive LoopTemplate)
We may use recursion to implement this.

pros

much simpler execution. template handles how the child template behaves. So, back and forth between templates are handled by the template itself. A simpler runner and locality of code are established.

cons

We need to save all the states of templates we visited, which means we must implement a stack! This is rather complex when someone wants to provide a runner via API.

Should we build a save and load feature for stack then maybe?

Note: both implementations can update FlowState. With recursion, flow_state = yield is enough.

Considering the above, we should use recursion for now because of easy implementation. We may change it later if needed.

Jump is difficult to deal with

Think about this. If jump land to LoopTemplate(B), what will happen after loop B is ended? Go to LoopTemplateA or back to jump? LoopTemplateA may act based on other child templates etc...
- Looptemplate(A)
    - ...
    - Looptemplate(B)
    - ...

Like GOTO, "jump" can be abolished.

We should abolish "jump" and use control flow.

we may only need

for
while
if (2-way)
case

Do we need function or subroutine?

Actually, no. Because template object itself can be plugged to anywhere.
Template cannot be modified at runtime. Is it possible to force this with type checking?

Closed with https://github.com/combinatrix-ai/PromptTrail/compare/cfb4f36...ddbb7b8 for now


Plugins vith mods Forestry

Sponge Version:  1.12.2-2768-7.1.2
Forge Version:  1.12.2-<IP_ADDRESS>68
Total Economy Version: 1.8.2
Description of issue
jobs lumberjack ignored Traits
Console errors
no
Steps to reproduce
I use mod Forestry, and i try use option:
jobsets.conf
lumberjackSet { break {
"forestry:logs.3[axis=y,variant=cherry]" ...
"forestry:logs.3[axis=y,variant=willlow]" ...
"forestry:logs.0[axis=y,variant=lime]" ...
But I do not get the result.
You use code:
src\main\java\com\erigitic\jobs\JobManager.java
BlockState state = event.getTransactions().get(0).getOriginal().getState();
String blockName = state.getType().getName();
Optional action = optSet.get().getActionFor("break", blockName);
but don't count traits.
Can you add an check meta date? May by options.
And 2 problem.
You use the check for blockCreator. Can you add option for disable check to blockCreator for different works?
Related Configuration Files
Create a Gist (https://gist.github.com/) for each configuration file related to this issue

There actually is an option for id-traits (the code for that is not located in the listener). If you set that option, the traits will be taken into account by the rewards system.
Secondly, could you explain your reason for wanting to disable the exploit protection?

Now that I'm on my Laptop, I can provide you with an example for the ID traits:
break {
  "forestry:logs.3" {
    idTrait=variant
    variant {
      cherry {
        exp=15
        money=3.75
      }
    }
  }
}

This should work as you expected it to.

For work as a lumberjack. I want to plant trees, grow and chop.

When trees grow, the sapling is replaced with the tree.
Therefore the player is no longer the block creator.

ist working!
"Therefore the player is no longer the block creator." No, i checked.
src\main\java\com\erigitic\jobs\TEAction.java
public Optional evaluateBreak(Logger logger, BlockState state, UUID blockCreator)

blockCreator == UUID my user. I tried grow a oak, and another trees.

The blockCreator parameter is @Nullable in this method.
If I'm not completely mistaken, the block creator only persists until a plugin, mod or Minecraft replaces the block. Therefore, upon growing the sapling into a tree, the block creator should become null.
I will re-verify my thoughts later in the day though.

@fxusers It appears I was mistaken. My apologies for that.
You're right. One is not able to get rewards for trees planted by himself.
I would say that is a bug which we need to investigate.
Perhaps we can look up if the tree was grown by natural means like bone meal or just time.


Re-evaluate AWS network architecture.

I think we're using the "classic" AWS network architecture or whatever it's called.  I think they also have some sort of VPC thing which may or may not be better in some respects.  Should look into it.

Migrated to Trello.
https://trello.com/c/q9L4DFEY


The typed letters in the completions list are not highlighted

OS: All
Build Version: 20201113.10
Repro Steps:

Open dependon-with-copy2.json file in VS Code -> Click on the second resource and delete the existing dependsOn property -> Type a letter, e.g. "c".
Check the completions list.

Expect:
The letters "c" in the completions list are highlighted.
Actual:
The letters "c" in the completions list are not highlighted.

More Info:
This issue doesn't reproduce for resources/variables/parameters/functions/outputs.

Don't know why this is doing that, but not worth the effort to fix, I think.


Incorrect coloring of separator-symbol (related to vim-ctrlspace)

environment

vim: NVIM v0.2.0
vim-airline: 81f089322a670376be1daf7817f110812f785387
also vim-ctrlspace 92dd9591d33f4b18a59c7c6850cc7e56dd1f83a7
OS: Fedora Workstation 25
Have you reproduced with a minimal vimrc: yes
What is your airline configuration:" init.vim
" vim-airline and vim-ctrlspace plugins are extracted to $HOME/.nvim-airline-test
" I open this by this config arguments: `-u ~/.nvim-airline-test/init.vim`
set rtp+=$HOME/.nvim-airline-test
set nocompatible
set t_Co=256
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#switch_buffers_and_tabs = 1
set laststatus=2 " airline always
set showtabline=2
set hidden

if you are using terminal:

terminal: termite, konsole
$TERM variable: xterm-256color
color configuration (:set t_Co?): 256

if you are using Neovim:

does it happen in Vim: yes
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Aug  7 2017 13:04:58)

actual behavior

This happens only when I open more than one buffer and have count of buffers number at right side of tab title (you could see 2 on the screenshot) and g:airline#extensions#tabline#switch_buffers_and_tabs is set to 1.
expected behavior
If I have only one buffer, everything is okay:

Or if I don't set g:airline#extensions#tabline#switch_buffers_and_tabs:

please provide a minimal vimrc to reproduce this problem.

@chrisbra see What is your airline configuration:, I already did.


grpc remote deploy

Codecov Report
Base: 28.47% // Head: 28.38% // Decreases project coverage by -0.09% :warning:

Coverage data is based on head (f49137e) compared to base (cf7aaf5).
Patch coverage: 0.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #440      +/-   ##
===========================================
- Coverage    28.47%   28.38%   -0.09%
===========================================
  Files           54       54
  Lines         4942     4957      +15
===========================================
  Hits          1407     1407
- Misses        3402     3417      +15
  Partials       133      133

Flag
Coverage Δ

unittests
28.38% <0.00%> (-0.09%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/codeconfig/codeconfig.go
7.48% <0.00%> (-0.27%)
:arrow_down:

pkg/codeconfig/function.go
0.00% <0.00%> (ø)

pkg/codeconfig/server.go
0.00% <0.00%> (ø)

pkg/project/types.go
8.76% <ø> (ø)

pkg/provider/pulumi/aws/aws.go
50.00% <ø> (ø)

pkg/provider/pulumi/aws/gateway.go
0.00% <ø> (ø)

pkg/provider/pulumi/aws/policy.go
61.11% <ø> (ø)

pkg/provider/pulumi/azure/apimanagement.go
0.00% <ø> (ø)

pkg/provider/pulumi/gcp/gateway.go
0.00% <ø> (ø)

pkg/provider/pulumi/gcp/gcp.go
38.66% <ø> (ø)

... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Ignore IRequestStartup on Nancy.Testing

Is there any way to ignore IRequestStartup on Nancy.Testing? I've recently switched some old helpers from nancy like
static class MyUserAuthentication {
    static void Configure(container, pipelines) {
        pipelines.Before.AddItemAtTheEnd(ctx => {
            if (!container.Resolve<IWahtever>()) {
                return HttpStatusCode.Unauth;
           }
           return null;
        });
    }
// Then in the bootstrapper
RequestStartup(TinyIoCContainer container, IPipelines pipelines) {
    MyUserAuthentication.Configure(container, pipelines)
}

To be able to test it without using a TinyIoCContainer I transformed it into a class that implements IRequestStartup but not on my tests the class is always being picked up by the AppDomainScannerThing.
I've set up a small repro on https://github.com/felipeleusin/NancyRequestStartupError so you guys can check it out. Is this the intended behaviour? Imo, there should be option on the ConfigurableBootstrapper
with.RequestStartup<IRequestStartupType>()

I would gladly send a PR if that's the case

Answered on jabbr by philliphaydon that is working as inteded, so closing this issue


Unneeded calls to the autoloader

Please consider the following code:
<?php

namespace NS;

use CuyZ\Valinor\MapperBuilder;

require('vendor/autoload.php');

\spl_autoload_register(function (string $class) {
    echo "L: ", $class, PHP_EOL;
});

final class Target
{
    /**
     * @param   array{
     *              foo?: string,
     *              bar?: int,
     *              baz?: array<string, int>,
     *          } $foo
     * @param   array<string,string> $bar
     */
    public function __construct(
        public readonly array $foo,
        public readonly array $bar,
    )
    {
    }
}

try {
    $payload = (new MapperBuilder())
        ->mapper()
        ->map(
            Target::class,
            [
                "bar" => [],
                "foo" => [
                    "foo" => "foo",
                ]
            ]
        );

    var_dump($payload);
} catch (\CuyZ\Valinor\Mapper\MappingError $error) {
    $messages = \CuyZ\Valinor\Mapper\Tree\Message\Messages::flattenFromNode(
        $error->node()
    );

    foreach ($messages as $message) {
        echo $message, PHP_EOL;
    }
}

When running this code, the following output is emitted:
L: NS\array
L: NS\array
L: NS\foo
L: NS\foo
L: foo
L: foo
L: foo
L: NS\string
L: NS\string
L: NS\bar
L: NS\bar
L: bar
L: bar
L: bar
L: NS\int
L: NS\int
L: NS\baz
L: NS\baz
L: baz
L: baz
L: baz
L: NS\array
L: NS\array
L: NS\string
L: NS\string
L: NS\int
L: NS\int
L: NS\array
L: NS\array
L: NS\string
L: NS\string
L: NS\string
L: NS\string
L: NS\array
L: NS\array
L: NS\foo
L: NS\foo
L: foo
L: foo
L: foo
L: NS\string
L: NS\string
L: NS\bar
L: NS\bar
L: bar
L: bar
L: bar
L: NS\int
L: NS\int
L: NS\baz
L: NS\baz
L: baz
L: baz
L: baz
L: NS\array
L: NS\array
L: NS\string
L: NS\string
L: NS\int
L: NS\int
L: NS\array
L: NS\array
L: NS\string
L: NS\string
L: NS\string
L: NS\string
/pwd/test.php:44:
class NS\Target#146 (2) {
  public readonly array $foo =>
  array(1) {
    'foo' =>
    string(3) "foo"
  }
  public readonly array $bar =>
  array(0) {
  }
}

It becomes clear that the autoloader is uselessly called for classnames that are never going to result in a hit. This can get expensive for an autoloader that checks the file system for a class to include. Especially since the calls are repeated multiple times:

NS\int, NS\string and NS\array can never successfully load a class, because int, string and array are reserved class names.
foo, bar and baz as keys of the array shape and thus should not be considered class names in the first place.

As a result I did not expect any calls to my autoloader happening at all.

Thanks for the investigation! I took some time to submit #499 which will reduce the number of calls to the autoloader by a lot. Preventing class existence checks for shaped array keys would require a lot more work, which I may have time to do later (so I'm keeping this issue opened for now).

Good news, I found some time to submit #515 which fixes this issue.
Thanks again for reporting it!


Correction for raw affiliation Montpellier Interdisciplinary Center on Sustainable Agri-food Systems (MoISA), University of Montpellier, CIRAD, CIHEAM-IAMM, INRAE, Institut Agro

Correction needed for raw affiliation Montpellier Interdisciplinary Center on Sustainable Agri-food Systems (MoISA), University of Montpellier, CIRAD, CIHEAM-IAMM, INRAE, Institut Agro
raw_affiliation_name: Montpellier Interdisciplinary Center on Sustainable Agri-food Systems (MoISA), University of Montpellier, CIRAD, CIHEAM-IAMM, INRAE, Institut Agro
new_rors: 0005r2j17;003vg9w96;05kpkpg04;051escj72;03rnk6m14;011xg1225
previous_rors: 0005r2j17;003vg9w96;05kpkpg04;051escj72;03rnk6m14
works_examples: W4388070512
contact: bdc6b126e035aec0f871bdf79be549fd:ab261af188da8a2b @ supagro.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Update microsoft365-maturity-model--governance-and-compliance.md

Footnote markdown was not working. This change replaces footnotes with simple text equivalwent, so also removes the footnote markdown syntax
Please use this template to ensure easier processing of your pull request
Category

[x] Content fix
[ ] New article

Related issues
Contents of the Pull Request
Replaves all [^1] with ^1 in order to change markdown to simple html superscripts
Guidance
Please target your PR to master branch. Released documents are in live branch.

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

File
Status
Preview URL
Details

Community/microsoft365-maturity-model--governance-and-compliance.md
:white_check_mark:Succeeded
View

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


Selecting Rows does not work with tonic

Hi!
Thank you for the creat crate!
I tried using it from tonic app and can't select Rows.
To reproduce,   please add code from your example  to tonic hello-world
use ydb::{ClientBuilder, Query, Row};
use tonic::{transport::Server, Request, Response, Status};

use hello_world::greeter_server::{Greeter, GreeterServer};
use hello_world::{HelloReply, HelloRequest};

pub mod hello_world {
    tonic::include_proto!("helloworld");
}

#[derive(Default)]
pub struct MyGreeter {}

#[tonic::async_trait]
impl Greeter for MyGreeter {
    async fn say_hello(
        &self,
        request: Request<HelloRequest>,
    ) -> Result<Response<HelloReply>, Status> {
        println!("Got a request from {:?}", request.remote_addr());

        let client = ClientBuilder::new_from_connection_string("grpc://localhost:2136?database=local").unwrap()
            .client().unwrap();
        client.wait().await.unwrap();
        let table_client = client.table_client();
        let _ = table_client
            .retry_execute_scheme_query("DROP TABLE test")
            .await; // ignore drop error

        // create table
        table_client
            .retry_execute_scheme_query("CREATE TABLE test (id Int64, val Utf8, PRIMARY KEY(id))")
            .await.unwrap();

        // select first 10 rows
        let rows: Vec<Row> = table_client
            .retry_transaction(|mut t| async move {
                Ok(
                    t.query(Query::new("SELECT * FROM test ORDER BY id LIMIT 10"))
                        .await?
                        .into_only_result()?
                        .rows()
                        .collect(),
                )
            })
            .await.unwrap();

        for mut row in rows {
            let id: Option<i64> = row.remove_field_by_name("id").unwrap().try_into().unwrap();
            let val: Option<String> = row.remove_field_by_name("val").unwrap().try_into().unwrap();
            println!("row id '{}' with value '{}'", id.unwrap(), val.unwrap())
        }

        let reply = hello_world::HelloReply {
            message: format!("Hello {}!", request.into_inner().name),
        };
        Ok(Response::new(reply))
    }
}

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let addr = "[::1]:50051".parse().unwrap();
    let greeter = MyGreeter::default();

    println!("GreeterServer listening on {}", addr);

    Server::builder()
        .add_service(GreeterServer::new(greeter))
        .serve(addr)
        .await?;

    Ok(())
}

error: future cannot be sent between threads safely
  --> examples/src/helloworld/server.rs:19:47
   |
19 |       ) -> Result<Response<HelloReply>, Status> {
   |  _______________________________________________^
20 | |         println!("Got a request from {:?}", request.remote_addr());
21 | |
22 | |
...  |
60 | |         Ok(Response::new(reply))
61 | |     }
   | |_____^ future created by async block is not `Send`
   |
   = help: within `Row`, the trait `Send` is not implemented for `Rc<Vec<ydb::types::Column>>`
   = note: required for the cast from `Pin<Box<[async block@examples/src/helloworld/server.rs:19:47: 61:6]>>` to `Pin<Box<(dyn Future<Output = Result<tonic::Response<HelloReply>, Status>> + Send + 'async_trait)>>`

How to select Rows in a tonic app?

@makorne hello, thanks for the bug with repro.
I was fixed the bug, try your code with new ydb version (0.6.2)

Great, it works now!!!
One is bad:  the trait From<YdbError> is not implemented for   tonic::Status for every  ?
and have to use ugly unwrap()

Even if the trait From will be implemented for tonic::Status - the problem will actual with other libraries, which hasn't the tonic as dependency and can't simply add the implementation.
What about create own type of error and use adapter as proxy-level from grpc to your code?
I use it in ydb sdk from client side to call grpc services: for convert error and data types.
It need some boilerplate code (can be much simplify by macroses) and allow use userful types.


Container reference schema validation

What kind of change does this PR introduce?

Did you add tests for your changes?

Does this PR introduce a breaking change?

What needs to be documented once your changes are merged?

Make your Pull Requests in the webpack/webpack repo.


bundle node-pre-gyp

The best practice about how to install node-pre-gyp has shifted recently. The correct approach is bundling which is clear in the readme after mapbox/node-pre-gyp#269.

Codecov Report

Merging #16 into master will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
+ Coverage   97.14%   97.18%   +0.04%
==========================================
  Files           1        1
  Lines          70       71       +1
==========================================
+ Hits           68       69       +1
  Misses          2        2

Impacted Files
Coverage Δ

src/vtinfo.cpp
97.18% <0%> (+0.04%)
:arrow_up:

Continue to review full report at Codecov.

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


provider url_template

The API documentation mentions a provider 'url_template'.
However I cannot seem to get the 'leaflet.html' example working.

@karelcallens if you could point at me at the code you used and elaborate on how is it not working, that'd be great!

line 31 in leaflet.html points to L.TiledTorqueLayer which is undefined

url_template is deprecated, as it doesn't use the torque tile format. Follow the progress of https://github.com/CartoDB/torque/issues/220 for the provider that will fulfill its purpose


add nav links to main example README

Add nav links to the ./examples/README.md so that people who click the examples tab on the zarf.dev website can actually see more information about the different examples we have created.

Should this link to close #468?


Add basic data types for Ball, Point, and Velocity

This has some basic data types related to the game state (specifically the Ball aspect) and modifies the existing loop and state functions to accept the Ball state and return a new Ball state.
This also introduces some basic lenses which simplifies accessing nested data.

merged Jeremy's addition of basic data types for Ball, Point, and Velocity


[question] MakinaMaps behind traefik, serves styles with a wrong hostname

We have Makina maps behind a traefik proxy,
out of a sudden, the styles.json contain the wrong URLs
Mixed Content: The page at 'https://africa.tiles.openplaceguide.org/#map=3/1.75/20.99' was loaded over HTTPS, but requested an insecure resource 'http://web.addismaptransit.com:8080/styles/bright/style.json'. This request has been

Where can I configure the URL which should be referenced in the style.json ?
EDIT: I already tried to replace the $http_host variables in the nginx template and restarted:
            proxy_set_header Host africa.tiles.openplaceguide.org;

This did not help.

I already tried to replace the $http_host variables in the nginx template and restarted:

It may be in cache.
The right move should be to forward host / proxy header in traefik I guess.

Thanks for the quick answer. @frodrigo
docker volume rm makina-maps_nginx-cache

fixed it.
I guess I have some kind a race condition in the traefik config and depending on which container starts first, it get's confused. And then the wrong host was stored in nginx cache.
Thanks once again, also for this awesome project.


Undefined global key

key is undefined at this line:
https://github.com/wincent/wincent/blob/d183dbd5065bc65b5b829868250ce149f26a8cac/aspects/nvim/files/.config/nvim/lua/wincent/vim/map.lua#L32
because key is local to the if block here:
https://github.com/wincent/wincent/blob/d183dbd5065bc65b5b829868250ce149f26a8cac/aspects/nvim/files/.config/nvim/lua/wincent/vim/map.lua#L10-L16
To fix this, you can add local key before the if block and remove the local keyword in the if block, i.e.:
  local rhs_type = type(rhs)
  local key
  if rhs_type == 'function' then
    key = wincent.util.get_key_for_fn(rhs, wincent.g.map_callbacks)
    wincent.g.map_callbacks[key] = rhs
    rhs = 'v:lua.wincent.g.map_callbacks.' .. key .. '()'
  elseif rhs_type ~= 'string' then
    error('map(): unsupported rhs type: ' .. rhs_type)
  end

Thanks @kdheepak. Good catch. I'm not calling this function from anywhere so hadn't noticed it was busted.

No worries! Thanks for making all this public! It’s been an excellent resource!


Licensing clarification

I have not quite been able to figure out whether this repository falls under the 3-clause BSD lisence, or if that is just the upstream's lisence. The GitHub UI implies that the BSD lisence is indeed in use, but it might just automatically derive that from the LISENCE file.

@igrr : Put it another way, people of the world would appreciate explicit confirmation that everything in this repository still falls under the original axTLS license, which is BSD. While everyone knows that this project is developed for the purposed of being included in https://github.com/esp8266/Arduino , which is LGPL-licensed. Thanks.

Sorry for the confusion. I thought that 'LICENSE' file in the repository root is as clear as it gets.
In terms of licensing, this project is not related to Arduino, and it has the same license as the upstream project. In fact, given that Cameron Rich is the copyright owner, I don't see myself distributing this under any other license, even if I wanted to. Thanks.

@igrr: Thanks for the response. The LICENSE file should be enough for any open-source professional, like you and me. Unfortunately, many people and organizations don't understand open-source licensing well enough (for example, your employer still doesn't completely grok it), so it's a good idea to ask in any case which even remotely can lead to confusion. Thanks again for affirmative response.

In fact, given that Cameron Rich is the copyright owner, I don't see myself distributing this under any other license, even if I wanted to.

Well, he's copyright owner for his code, and you're copyright owner for your code, and his license doesn't disallow you to re-license complete library with your modifications under another license. Of course, nobody would do that out of top of their head, but e.g. being paid to do just that would be a good reason.
So, my plan for one of these months would be to look at the SNI implementation you wrote, and integrate into MicroPython's fork, and maybe even post upstream (I agree that takes resources, and I'm short of them now too, and axTLS isn't the most responsive upstream).

and his license doesn't disallow you to re-license complete library with your modifications under another license

Okay, point taken.

So, my plan for one of these months would be to look at the SNI implementation you wrote, and integrate into MicroPython's fork, and maybe even post upstream.

Great, let me know if I you need my help on this. Sadly we have accumulated a fair amount of duct tape fixes and workarounds for memory issues in this fork... But SNI part shouldn't have much overlap with these random changes, except for maybe the place where the context is cleaned up.

for example, your employer still doesn't completely grok it
Probably OT, but if there are some issues which you care about, please do send me an email. Thanks.


Install failed: WARNING: unable to establish a database connection to 'db'

Tried spinning the image up locally and it failed.  I used the example docker-compose.yml code.

What failed? Error messages? Log dump?
On Wed, Feb 3, 2021 at 2:42 PM Jeff Sittler<EMAIL_ADDRESS>wrote:

Assigned #8 https://github.com/phpcollab/docker/issues/8 to @jtgasper3
https://github.com/jtgasper3.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/phpcollab/docker/issues/8#event-4287907474, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHZULEMGNEMQSE4JSHXV6LS5HGORANCNFSM4XBWP4XQ
.

console output:
db_1         | 2021-02-03T22:32:05.535105Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
db_1         | 2021-02-03T22:32:05.536211Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
db_1         | 2021-02-03T22:32:05.536332Z 0 [Note] IPv6 is available.
db_1         | 2021-02-03T22:32:05.536354Z 0 [Note]   - '::' resolves to '::';
db_1         | 2021-02-03T22:32:05.536375Z 0 [Note] Server socket created on IP: '::'.
db_1         | 2021-02-03T22:32:05.540564Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
db_1         | 2021-02-03T22:32:05.550167Z 0 [Note] Event Scheduler: Loaded 0 events
db_1         | 2021-02-03T22:32:05.550573Z 0 [Note] mysqld: ready for connections.
db_1         | Version: '5.7.33'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
db_1         | 2021-02-03T22:32:08.256635Z 2 [Note] Got packets out of order
phpcollab_1  | Welcome to
phpcollab_1  |         _            _____      _ _       _
phpcollab_1  |        | |          / |    | | |     | |
phpcollab_1  |   _ __ | |  _ __ | |     ___ | | | __ | |
phpcollab_1  |  | ' | '_ | '_ | |    / _ | | |/ ` | '
phpcollab_1  |  | |) | | | | |) | || () | | | (| | |) |
phpcollab_1  |  | ./|| || ./ ____/|||_,|.__/
phpcollab_1  |  | |         | |
phpcollab_1  |  ||         |_|
phpcollab_1  | [03-Feb-2021 22:32:11 UTC] Unexpected value
phpcollab_1  | ==================
phpcollab_1  | ❗ ERROR: Setup
phpcollab_1  | ==================
phpcollab_1  | Exception: Error connecting to database in /var/www/phpcollab/classes/Container.php:124
phpcollab_1  | Stack trace:
phpcollab_1  | #0 /var/www/phpcollab/classes/Installation/Installation.php(89): phpCollab\Container->getPDO()
phpcollab_1  | #1 /var/www/phpcollab/classes/Installation/Installation.php(59): phpCollab\Installation\Installation->testDatabase()
phpcollab_1  | #2 Standard input code(51): phpCollab\Installation\Installation->setup(Array)
phpcollab_1  | #3 {main}
phpcollab_1  |
phpcollab_1  | WARNING: unable to establish a database connection to 'db'
phpcollab_1  |   continuing anyways (which might have unexpected results)
phpcollab_1  |
phpcollab_1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
phpcollab_1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
phpcollab_1  | [Wed Feb 03 22:32:11.405345 2021] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.38 (Debian) PHP/7.4.14 configured -- resuming normal operations
phpcollab_1  | [Wed Feb 03 22:32:11.405476 2021] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'

Oh try the stack.yml file contents. I think I added a env or two there.
On Wed, Feb 3, 2021 at 2:46 PM Jeff Sittler<EMAIL_ADDRESS>wrote:

console output:
db_1 | 2021-02-03T22:32:05.535105Z 0 [Note] Skipping generation of RSA key
pair as key files are present in data directory.
db_1 | 2021-02-03T22:32:05.536211Z 0 [Note] Server hostname
(bind-address): '*'; port: 3306
db_1 | 2021-02-03T22:32:05.536332Z 0 [Note] IPv6 is available.
db_1 | 2021-02-03T22:32:05.536354Z 0 [Note] - '::' resolves to '::';
db_1 | 2021-02-03T22:32:05.536375Z 0 [Note] Server socket created on IP:
'::'.
db_1 | 2021-02-03T22:32:05.540564Z 0 [Warning] Insecure configuration for
--pid-file: Location '/var/run/mysqld' in the path is accessible to all OS
users. Consider choosing a different directory.
db_1 | 2021-02-03T22:32:05.550167Z 0 [Note] Event Scheduler: Loaded 0
events
db_1 | 2021-02-03T22:32:05.550573Z 0 [Note] mysqld: ready for connections.
db_1 | Version: '5.7.33' socket: '/var/run/mysqld/mysqld.sock' port: 3306
MySQL Community Server (GPL)
db_1 | 2021-02-03T22:32:08.256635Z 2 [Note] Got packets out of order
phpcollab_1 | Welcome to
phpcollab_1 | _ _____ _ _ _
phpcollab_1 | | | /
| | | | | | phpcollab_1 | _ __ | | _ __ | | ___ | | | __ | | phpcollab_1
| | ' | '_ | '_ | | / _ | | |/ ` | '
phpcollab_1 | | |) | | | | |) | || () | | | (| | |) |
phpcollab_1 | | ./|| || ./ *_/|||,*|
.__/ phpcollab_1 | | | | | phpcollab_1 | || |_|
phpcollab_1 | [03-Feb-2021 22:32:11 UTC] Unexpected value
phpcollab_1 | ==================
phpcollab_1 | ❗ ERROR: Setup
phpcollab_1 | ==================
phpcollab_1 | Exception: Error connecting to database in
/var/www/phpcollab/classes/Container.php:124
phpcollab_1 | Stack trace:
phpcollab_1 | #0
/var/www/phpcollab/classes/Installation/Installation.php(89):
phpCollab\Container->getPDO()
phpcollab_1 | #1 https://github.com/phpcollab/docker/pull/1
/var/www/phpcollab/classes/Installation/Installation.php(59):
phpCollab\Installation\Installation->testDatabase()
phpcollab_1 | #2 Standard input code(51):
phpCollab\Installation\Installation->setup(Array)
phpcollab_1 | #3 https://github.com/phpcollab/docker/issues/3 {main}
phpcollab_1 |
phpcollab_1 | WARNING: unable to establish a database connection to 'db'
phpcollab_1 | continuing anyways (which might have unexpected results)
phpcollab_1 |
phpcollab_1 | AH00558: apache2: Could not reliably determine the server's
fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName'
directive globally to suppress this message
phpcollab_1 | AH00558: apache2: Could not reliably determine the server's
fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName'
directive globally to suppress this message
phpcollab_1 | [Wed Feb 03 22:32:11.405345 2021] [mpm_prefork:notice] [pid
1] AH00163: Apache/2.4.38 (Debian) PHP/7.4.14 configured -- resuming normal
operations
phpcollab_1 | [Wed Feb 03 22:32:11.405476 2021] [core:notice] [pid 1]
AH00094: Command line: 'apache2 -D FOREGROUND'
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/phpcollab/docker/issues/8#issuecomment-772878721, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHZULD7ZYX426K3DSIJSWLS5HG4PANCNFSM4XBWP4XQ
.

I'm doing some additional testing.

I was able to connect to the DB with a test script and create a table.  not sure why phpCollab failed.  Maybe a timing issue?

used the stack.yml and it worked.  I'll update the README :)