Module build failed: UnhandledSchemeError: Reading from "node:util" is not handled by plugins (Unhandled scheme).

When trying to use this dependency I get
node:util - Error: Module build failed: UnhandledSchemeError: Reading from "node:util" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.

It seems the issue occurs everywhere node:util is used. Is there any fix planned or workaround available?
Specifically I am trying to use the createClient function like so:
import { createClient } from 'ldapjs'

export default async function Auth(username: string, password: string): Promise<boolean> {
    const client = createClient({ url: 'ldaps://domain.example.com' })
    // more code here, but its the above line that creates the error (the error comes when createClient is accessed)
 }

Thank you for the report, but we do not support bundlers of any sort.

Hello, I dont see how bundlers are relevant. I am not trying to use a bundler, simply trying to run the createClient function normally, but it gives this bug that leaves me unable to use the dependency (it doesnt work because it crashes  during build). If the project team does not have plans to resolve this, could you still leave it open so the community can help me out?

Hello, I dont see how bundlers are relevant. I am not trying to use a bundler

The error clearly shows that the issue arrises from Webpack. It also does not make any sense because there isn't any code (currently) in this organization that uses the node: prefix when requiring modules:
https://github.com/search?q=org%3Aldapjs+"node%3Autil"&type=code

Despite the project team not having plans to resolve this, could you still leave it open so the community can help me out?

The community is welcome to work on any issues that affect them. For one such as this, that would entail adding a continuous integration configuration that proves the library works with bundlers. However, I will say that such a contribution would need to be extremely easy to maintain. I am simply not interested in maintaining bundler compatibility and I think it very likely that any such contributor will move on after having made the contribution.

Or provide an example of how to use this correctly?

The code snippet provided seems correct to me, but there is not much context in it so I cannot say that with 100% surety.

Thank you for helping. I will debug further meself and see if I can find the source of the problem. It seems that it somehow kicks in when I activate this repository, despite it not being directly related.


Add support for the BASIC family of programming languages

Description
As I reported in #5156, many BASIC programs have been incorrectly labeled as VBA (or Visual Basic .NET if they have not been updated since #4725). There are numerous dialects of BASIC (e.g. AppleSoft, Commodore, GW-BASIC), but most dialects share similar syntax and reserved words, and all dialects are collectively known as BASIC. At the very least, a file with the extension .bas and line numbering should be labeled as BASIC rather than Visual Basic .NET or VBA. Therefore, I have added a BASIC language along with an appropriate grammar and sample, and I have added a heuristic to check for line numbering.
Checklist

[x] I am adding a new language

[x] The extension of the new language is used in hundreds of repositories on GitHub.com

https://github.com/search?q=10+20+30+GOTO+extension%3Abas&type=Code

[x] I have included a real-world usage sample for all extensions added in this PR

https://github.com/telnet23/bas/blob/master/mandelbrot.bas

[x]  I have included a syntax highlighting grammar

https://github.com/telnet23/language-basic

[x] I have updated the heuristics to distinguish my language from others using the same extension

Added a heuristic to check for line numbering

Your query searches for GOTO, but AFAICT the search is case-insensitive.  GoTo is a keyword (albeit an infrequently used one) in VBA and VB.NET.
Do members of the BASIC family generally use all-caps GOTO? Would it be worth adding GOTO to the heuristic for BASIC languages and GoTo for VBA and VB.NET, as a last-case heuristic?

Your query searches for GOTO, but AFAICT the search is case-insensitive.  GoTo is a keyword (albeit an infrequently used one) in VBA and VB.NET.
Do members of the BASIC family generally use all-caps GOTO? Would it be worth adding GOTO to the heuristic for BASIC languages and GoTo for VBA and VB.NET, as a last-case heuristic?

@zspitz Correct, the GitHub search is case-insensitive, which is why I also included 10 20 30 in the search. Line numbers in BASIC programs are often (but certainly not always) chosen to be multiples of 10. The search is not all-inclusive but it does provide clear evidence that BASIC programs have been incorrectly labeled as Visual Basic .NET or VBA.
Some dialects of BASIC are case-insensitive while others are case-sensitive, requiring uppercase keywords. Even in dialects of BASIC that are case-insensitive, programs are sometimes written entirely in uppercase anyway.

@zspitz Correct, the GitHub search is case-insensitive, which is why I also included 10 20 30 in the search. Line numbers in BASIC programs are often (but certainly not always) chosen to be multiples of 10. The search is not all-inclusive but it does provide clear evidence that BASIC programs have been incorrectly labeled as Visual Basic .NET or VBA.
Some dialects of BASIC are case-insensitive while others are case-sensitive, requiring uppercase keywords. Even in dialects of BASIC that are case-insensitive, programs are sometimes written entirely in uppercase anyway.

@lildude Any update on this pull request?

@lildude Any update on this pull request?

I was waiting for you to address the failing tests as the PR isn't complete whilst they're failing.

@lildude OK, all checks have passed now.


[#7666] New connect method is now instrumented if present.

Fixing as described in #7666.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


jubeat: Performance optimizations in get_mdata

This looks good to me! Just waiting on confirmation that you did a card in on Saucer, Fulfill, Prop, Qubell and Clan to make sure all 5 games were happy with dropping scores on the 2nd and 3rd requests.


Git for CentOS

-CentOS 6 only has git 1.7 available. So I had to take the existing git rpm, and update it to 2.4.5. Ever feature and capability should have been ported (Emacs, perl, etc...) So that it could probably replace the existing git with no ill effect...
-CentOS 5 was pulling an 1.7 version instead of an available 1.8.2 version. The scripts has been updated to pull the compatible version
-Building no longer fails when sudo in not installed requiring the developer to set the SUDO environment variable
-Building the SRPM no longer fails due to bad permissions
Docs updated
-Many (but far less now) integration tests still fail. I'm using this for active software development in CentOS 6.6, and it does work.

Awesome, thanks!

Many (but far less now) integration tests still fail. I'm using this for active software development in CentOS 6.6, and it does work.

Once we get Git LFS v0.6.0 shipped, I want to look at getting CI builds to run on a wider variety of OS's to catch stuff like this.


Doc-service-accounts-How-to

New How to. Not tied to any release. Can merge at any time.
Reviewed by Alex.

Deploy preview for calico ready!
Built with commit 6e5d3bbb881e648c39e4e01d2f9cfa8201972653
https://deploy-preview-2673--calico.netlify.com


🔧(react) remove Misc stories from Storybook sidebar

These files include stories only used from regular documentation, they have no other purpose so we decided to hide them.

Kuddos @levrik !


Add character "Priya"

Add character Priya
Add new poses and emotions for Dee and Dey
Change folder structure for Ringo. It also has sitting and straight options for angle now.
Add new poses and emotions for Ringo

Closed via 629063f


Doc Idea: when you need to restart LxssManager service

Hey there,
First of all, I'm really impressed by this project! I do quite a bit of cross platform development; I'm a developer on a Linux-only server product with clients that support multiple platforms, and being able to work without a VM is amazing.
I just ran into an issue that might be helpful for your docs, if it's not already in there somewhere. I was trying hard to get my changes to /etc/security/limits.conf and /etc/pam.d/common-session to "take effect". I thought if I exited all of my shells and a new init would get launched, that would be similar to rebooting in Linux; but it doesn't quite seem to work that way. After a little searching I found the "LxssManager" Windows service running, and stopped and restarted it. It could be really useful to doc when that step is necessary.

Thanks David! We love to hear that Bash on Windows is appreciated.
You are correct when you say that closing all of the open bash terminals does not necessarily stop the service.
To check if the service is running use the following CMD command in an console:
sc query LxssManager
To restart it use:
sc stop LxssManager
Then:
sc start LxssManager
I'll check if there is a good place in the docs to put this.

Thanks Jack! I wonder if you/your team given any thought to making shutdown/reboot from “inside” the subsystem trigger a restart of that service. Right now I believe reboot/shutdown inside bash fails. Considering a typical workflow of changing rc.d scripts and restarting to test it out, mapping reboot to a restart of that service would probably make the most sense and be the least surprising for a lot of Linux users.
-David
p.s. I live/work in Redmond, so if you guys ever do a focus group or other event, I’d love to participate.

On Jul 6, 2016, at 11:32 AM, Jack Hammons<EMAIL_ADDRESS>wrote:
Thanks David! We love to hear that Bash on Windows is appreciated.
You are correct when you say that closing all of the open bash terminals does not necessarily stop the service.
To check if the service is running use the following CMD command in an console:
sc query LxssManager
To restart it use:
sc stop LxssManager
Then:
sc start LxssManager
I'll check if there is a good place in the docs to put this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Microsoft/BashOnWindows/issues/634#issuecomment-230862990, or mute the thread https://github.com/notifications/unsubscribe/AA2f_q63kgB4A2qfrmucSFpJzA-UxkfBks5qS_TAgaJpZM4JFwf7.

@davidnoor Your original assumption that closing all of your bash.exe instances will cause a new init to be launched is correct.  You should not have to restart the service.  However when I say "init" I mean our private WSL init that does not touch either the /etc/security/limits.conf or /etc/pam.d/common-session file.
Could you share a specific repro of the original issue you were seeing?

@benhillis I can go through the exact steps later this week and try to recreate it. But from my rough memory: my goal was to set the hard and softlimit for nofiles up to 8192 from the 2048 default. I had set up the linux subsystem to use user "dnoor" by default.  I edited /etc/security/limits.conf and added the appropriate lines to give dnoor a hard and soft "nofile" limit of 8192, and then edited /etc/pam.d/common-session to add "session required pam-limits.so".
I closed all my bash windows, and then created a new one. ulimit -n still showed 2048. I tried this again a couple of times, and I also went to Windows task manager and made sure all the "bash" and "Init" processes were dead. I almost gave up, but then thought "I wonder if there's a windows service that acts like a cache of some things that happen when the subsystem starts up", saw the LxssManager service, and then stop/started it. I opened up a new bash window, ran ulimit -n, and it reported 8192.

@davidnoor - I suspect something else you're running is using the setrlimit system call to set these values.  I checked the source of our init process and it doesn't do this so it must be something else you're running.

Ok, fascinating. I’ll try to repro with a “clean” environment when I get a chance.
-David

On Jul 8, 2016, at 10:12 AM, Ben Hillis<EMAIL_ADDRESS>wrote:
@davidnoor https://github.com/davidnoor - I suspect something else you're running is using the setrlimit system call to set these values. I checked the source of our init process and it doesn't do this so it must be something else you're running.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Microsoft/BashOnWindows/issues/634#issuecomment-231417395, or mute the thread https://github.com/notifications/unsubscribe/AA2f_iz_h1y7kzdUCWmUR7GUlQiBJqMAks5qToT-gaJpZM4JFwf7.

@davidnoor Thanks!

I hit the same issue. I was trying to raise the limit for file descriptors as described here : https://underyx.me/2015/05/18/raising-the-maximum-number-of-file-descriptors and according to it I needed to reboot after changing the files needed.
Before and after restarting LxssManager is stilll get 2048 when I execute ulimit -n

I am a long time (20 years) Cygwin user. I am extremely fluent under Unix, Linux and Windows. I intend to keep Cygwin, but I thought I would try out WSL. I installed it on Win10FallCreatorsLatest1709. Immediately, when I start a Cygwin bash, it has my WSL home dir, instead of what I use as my Cygwin home dir. I have the HOME envar pointed to my cygwin home dir. Even in the crippled Cygwin bash (crippled, because it did not start in the right home dir, and did not run .profile or .bashrc or anything) the HOME envar still has the value of my Cygwin home dir. Apparently, somehow, WSL is making even a Cygwin bash start in the wrong home dir. I think it also masks other things, like, the WSL /etc in place of the Cygwin /etc. I do not know what all. I managed to uninstall WSL, and things are back to normal now. I am doing all this on a VM clone of another machine, so I can blow it away if necessary, and will if WSL or anything else messes up my Cygwin. I would like to have WSL, for optional-occasional use, because I am about to start using DockerForWindows in HyperV mode, and stuff like that. I would like, for instance, to be able to run native Linux Docker, as well as DockerForWindows, on the same host, but I understand that running Docker of any kind under Cygwin will not work. The upshot is: Is it possible to use Cygwin and WSL side by side on the same Win10 host? Has anybody else tried to do this? And what the heck is WSL doing to intercept the normal behavior of any Linux-like thing, which is, start a login shell in the value of the HOME envar?
Reply

This one died strangely with "I’ll try to repro with a “clean” environment when I get a chance".

To check if the service is running use the following CMD command in an console:
sc query LxssManager
To restart it use:
sc stop LxssManager
Then:
sc start LxssManager

I met Access Denied error when trying to stop it. What can I do? It is not responsive even I restarted the windows.

To check if the service is running use the following CMD command in an console:
sc query LxssManager
To restart it use:
sc stop LxssManager
Then:
sc start LxssManager

I met Access Denied error when trying to stop it. What can I do? It is not responsive even I restarted the windows.

Use CMD and right click (Run As Administrator)


update bintray plugin to directly push to maven central

details here: https://github.com/bintray/gradle-bintray-plugin

fixed in 1.6.0


Cannot properly install Microsoft.Azure.ActiveDirectory.AADLoginForWindows extension on a VM

Initially reported in https://github.com/terraform-providers/terraform-provider-azurerm/issues/7748
On portal, you can successfully install the extension as the following to a windows VM:
{
  "autoUpgradeMinorVersion": true,
  "forceUpdateTag": null,
  "id": "/subscriptions/...",
  "instanceView": null,
  "location": "westeurope",
  "name": "AADLoginForWindows",
  "protectedSettings": null,
  "provisioningState": "Succeeded",
  "publisher": "Microsoft.Azure.ActiveDirectory",
  "resourceGroup": "rg-d-we1-wherescape-poc",
  "settings": null,
  "tags": null,
  "type": "Microsoft.Compute/virtualMachines/extensions",
  "typeHandlerVersion": "0.3",
  "virtualMachineExtensionType": "AADLoginForWindows"
}

but the same configuration does not work on terraform (equivalent with pure REST API):
resource "azurerm_virtual_machine_extension" "aad" {
  name                       = "aad-${local.resource_name_suffix}"
  publisher                  = "Microsoft.Azure.ActiveDirectory"
  type                       = "AADLoginForWindows"
  type_handler_version       = "0.3"
  auto_upgrade_minor_version = true
  virtual_machine_id         = azurerm_windows_virtual_machine.scheduler.id

  tags = local.tags
}

and the service returns this error:
Error: Code="VMExtensionHandlerNonTransientError" Message="The handler for VM extension type 'Microsoft.Azure.ActiveDirectory.AADLoginForWindows' has reported terminal failure for VM extension 'aad-d-we1-wherescape-poc' with error message: 'Install failed for plugin (name: Microsoft.Azure.ActiveDirectory.AADLoginForWindows, version <IP_ADDRESS>) with exception Command C:\\Packages\\Plugins\\Microsoft.Azure.ActiveDirectory.AADLoginForWindows\\<IP_ADDRESS>\\AADLoginForWindowsHandler.exe of Microsoft.Azure.ActiveDirectory.AADLoginForWindows has exited with Exit code: -2145648639'.\r\n    \r\n'Install handler failed for the extension. More information on troubleshooting is available at https://aka.ms/vmextensionwindowstroubleshoot'"

Terraform or REST API installed extension could be provisioned successfully when you change the typeHandlerVersion to 1.0, but it would not work properly.

@amjads1, could you look into this issue?

I'm having a similar issue. I can install the extension via az vm extension set --publisher Microsoft.Azure.ActiveDirectory --name AADLoginForWindows on Azure CLI 2.9.0, but not through ARM template deployment. Upon ARM template deployment, I get the rror
"message": "The handler for VM extension type 'Microsoft.Azure.ActiveDirectory.AADLoginForWindows' has reported terminal failure for VM extension 'Microsoft.Azure.ActiveDirectory.AADLoginForWindows' with error message: 'Install failed for plugin (name: Microsoft.Azure.ActiveDirectory.AADLoginForWindows, version <IP_ADDRESS>) with exception Command C:\\Packages\\Plugins\\Microsoft.Azure.ActiveDirectory.AADLoginForWindows\\<IP_ADDRESS>\\AADLoginForWindowsHandler.exe of Microsoft.Azure.ActiveDirectory.AADLoginForWindows has exited with Exit code: -2145648639'.\r\n    \r\n'Install handler failed for the extension. More information on troubleshooting is available at https://aka.ms/vmextensionwindowstroubleshoot'"

Looking into this issue and hoping to have an update asap.

I have reached out to the extension owners, awaiting on the response.

Adding @srrstepe who is working on this issue. Can you please share more details and the information you are looking from the user?

Currently there is an issue in Azure Device Registration service where the device registration requests would fail if the resource name is greater that 15 characters. This issue has been fixed and currently under deployment.
Looking a the resource group name “ rg-d-we1-wherescape-poc”, I am assuming the resource name would have been greater than 15 characters as well. In order to confirm if the issue being seen by  @ArcturusZhang is same as the above mentioned issue we need the following logs:
•	Get public scripts here: https://1drv.ms/u/s!AkyTjQ17vtfagYkZ6VJzPg78e3o7PQ
•	RDP/login to a VM instance using the default admin user credentials. (User can enable the admin account on the VM from the portal -> vm -> operation -> run command -> Enable Admin Account)
•	Copy the public scripts downloaded from the above link
•	Open an admin command prompt and run start_ngc_tracing_public.cmd
•	Stop running the logging script by executing  stop_ngc_tracing_public.cmd
•	Please zip and send us the logs under %SYSTEMDRIVE%\TraceDJPP* for analysis.
•	Also please collect the logs in the following folders:
o	%systemDrive%\WindowsAzure\Logs
o	%systemDrive%\WindowsAzure\CollectGuestLogsTemp

Thanks for the update @srrstepe !
@ArcturusZhang - Can you please help us in getting the above requested details so that we can confirm and close on this issue asap?

Hi @amjads1 and @srrstepe thanks for the investigation! But I am only the one to migrate this issue here not the issue author. I have informed the actual issue author to make some comments on your information.

Thanks for the response @ArcturusZhang . Please update with user comments on the requested information.

Hi @ArcturusZhang and @amjads1
I've followed the steps indicated in here and attached the logs.
Hope it helps.
Hugo
CollectGuestLogsTemp.zip
Logs.zip
TraceDJPP.zip

Thanks for sharing the logs @hugo-paredes !
@srrstepe - Can you please look into the logs and confirm if the reported issue is same as the known issue where ADRS is making a change to allow VM resource names up to 64 chars – up from 15?

@srrstepe - Can you confirm on the issue and status based on the logs provided by @hugo-paredes ?

I looked at the logs provided by @hugo-paredes . I could confirm that the issue they were seeing is infact the issue mentioned above. i.e. Resource name greater than 15 characters.
Azure resource Id:/subscriptions/9faac4cb-9dc7-4672-85f6-44027ead7635/resourceGroups/rg-l-we1-fakegdp-main/providers/Microsoft.Compute/virtualMachines/vm-l-we1-fakegdp-op-vm
This issue has been fixed by ADRS team.
I see from the logs that user was indeed able to successfully install the extension on the VM and the device is AAD joined.
Handler Status: [{"status":{"code":0,"formattedMessage":{"lang":"en-US","message":"Successfully joined machine to AAD."},"name":"Microsoft.Azure.ActiveDirectory.AADLoginForWindows","operation":"AADJoin","status":"success","substatus":null},"timestampUTC":"/Date(1597229907302)/","version":"1"}]

Thanks for the confirmation and updates @srrstepe . Appreciate the help!
@ArcturusZhang , @hugo-paredes - Based on the updates from @srrstepe , looks like the issue resolved and you should now be able to install Microsoft.Azure.ActiveDirectory.AADLoginForWindows extension without any errors. Can you please confirm from your side as well so that we can close this issue?

@ArcturusZhang , @hugo-paredes - Based on the above resolution and confirmation from the AAD team, this issue should be resolved now. I will go ahead and close this issue but feel free to re-open if the issue is not yet resolved. Thank you!

Hi @amjads1
I've just tried to login into a VM via AAD and I seem to be able to authenticate. However, I cannot login and I get this message:

Is there any other setting I need to specify to allow this?
Greetings.
Hugo

Seems there are still issues, reopen this issue...

Updates from @srrstepe -
** User might see this error if Conditional Access policies are configured in the customer’s tenant requiring MFA for every resource.
If this is the case,  did he try logging in to using Next Generation creds?
If the customer does not have NGC, then they should consider excluding “Azure Windows VM Sign-In”  app from the CA policy.
If none of this works, please ask the customer to collect logs using the following instructions:

RDP/login to the Azure VM using the default admin user credentials.
https://github.com/CSS-Windows/WindowsDiag/blob/master/ADS/AUTH/Auth.zip
download the ZIP file to client and extarct it
Rename start-auth.txt and stop-auth.txt to .bat files
Create a folder "MSLogs" and move the start-auth.bat and stop-auth.bat
Open up admin command prompt and execute the start-auth.bat
Close the previous RDP session and now try RDP/login in to the Azure VM using the AAD credentials.
Again close the RDP session and RDP/login using the default admin credentials.
execute stop-auth.bat from admin prompt
Please collect the logs it does create under folder “MSLogs"

@hugo-paredes - Can you try the steps highlighted above and update if this resolves your issue?

Moving this over to AAD as this issue looks to be in the AAD extension as compared to the extension framework itself.

Hi.
Is there any update to this issue?
Thanks

@hugo-paredes  is this the same for yourself?
Im having the same problem unless i disable MFA which i do not want to do

@akingscote I don't think so.
When I create a VM using the Azure Portal and enable the AAD login, I'm able to login to the VM without any problem. But, when I do it via the az cli, then it doesn't work.

I am also fighting with the issue and not able to deploy AAD login extension for Win with ARM template. Event thought I am using the same image and copy all extension settings from resources.portal.com. All good with Linux vm's. Any upadtes ?

any updates?

Has there been any update on this issue?  I seem to be having the same issue.  I can install the AAD Login extension with success using hashicorp azurerm version 3.13.0, but it doesn't do a AAD Join of the device at all.  Using the az cli with same settings, it works.  Extension:
resource "azurerm_virtual_machine_extension" "aad_login" {

  name                       = "AADLoginForWindows"
  publisher                  = "Microsoft.Azure.ActiveDirectory"
  type                       = "AADLoginForWindows"
  type_handler_version       = "1.0"
  virtual_machine_id         = azurerm_windows_virtual_machine.azurerm-vm-win10-1.id
  auto_upgrade_minor_version = true
  automatic_upgrade_enabled  = false

  depends_on = [azurerm_windows_virtual_machine.azurerm-vm-win10-1]
}

The VM is Windows 10 Pro and has a SystemAssigned identity.  I can build the same windows 10 Pro system and then use the CLI to install the extension and it does do an AAD Join:
az vm extension set \
    --publisher Microsoft.Azure.ActiveDirectory \
    --name AADLoginForWindows \
    --resource-group rgName \
    --vm-name win10-1

the error still exists.... Trying to deploy the vm + the extension using bicep.

I am having the same issue. I am able to work around this issue with:
provisioner "local-exec" {
command = "az vm extension set --publisher Microsoft.Azure.ActiveDirectory --name AADLoginForWindows --resource-group "xxxxxxxxx" --vm-name "xxxxxxxx" --version 1.0"
essentially joining each vm created in the resource to the domain, but I would like to this work in the future.

Windows Datacenter 2019
Tried to run command on VM
PS C:\Packages\Plugins\Microsoft.Azure.ActiveDirectory.AADLoginForWindows\<IP_ADDRESS>> .\AADLoginForWindowsHandler.exe install
and got
 [Error]:        Could not find if this OS version supports Azure VM Secure join.
I think this is the root cause

I've just deployed a Windows Server 2022 Datacenter Azure Edition Core VM, and the problem still exists, more than four years after this issue was opened. Microsoft, please look into this!


Is the Oracle transaction internally committed upon activity completion by the Copy Activity for Oracle database ?

On the documentation, not seeing any commentary around transactions. Does the activity auto commit the transaction upon successful completion ?
I have a scenario where a dataset has rows that leads to a Primary Key violation on an Oracle table, but the Copy activity completes successfully.
Only a subsequent operation on the table that uses the index leads to an error being thrown -
ORA-01502: index 'XXX' must be unique' or partition of such index is in unusable state.
My expectation was that the initial commit should throw the error on the original Copy activity.

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

ID: aabe9a80-b786-fa4e-40ee-7b0dd6bfa81c
Version Independent ID: fd7d478c-c2d0-f0f1-3cad-ce5233417ac6
Content: Copy data to and from Oracle - Azure Data Factory & Azure Synapse
Content Source: articles/data-factory/connector-oracle.md
Service: data-factory
Sub-service: data-movement
GitHub Login: @jianleishen
Microsoft Alias: jianleishen

Also what is the transaction behavior for https://learn.microsoft.com/en-us/azure/data-factory/transform-data-using-script activity? Assume that if the script completes, the transaction is committed?

@apaulro
Thanks for your feedback! We have assigned the issue to author and will provide further updates.

@Naveenommi-MSFT - it appears that before the data load, the unique constraint is getting dropped during Activity execution, which is causing the data to get loaded with duplicate Primary Key values. Can this behavior be user controlled?

Hi @apaulro
Thank you for your feedback!
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1


IPAD has wrong height result

If uitableviewcell has a Uilable with some text,  FDTemplateLayoutCell will give a wrong height.

our demo project covered UILabel and works on iPad.


Data Integration

I'd like to emphasize the significance of data integration in our system. As a user, I believe that effective data integration is a critical component for ensuring the smooth operation of the recommendation engine and the Travel Companion window. It not only plays a pivotal role in providing accurate information and reliable travel partners but also contributes to the overall success of our platform.
Efficient data integration enables us to harness the full potential of our data sources, facilitating seamless communication between various components. It ensures that the recommendation engine is powered by up-to-date and relevant information, enhancing its performance and delivering a better user experience.


Aqueous Soil auto harvest fail

Minecraft 1.12.2
Forge: <IP_ADDRESS>36
Roots: 3.0.5
Planted Dewgonia and potatoes on Aqueous soil. Grew both with bonemeal and/or Rampant Growth spell. No auto harvest happened into hoppers/chests below or on top of the soil if blocked. I manually harvested and some went below and some didn't but not in consistent numbers and most were on top and very few went below (if available).

#161

Ah. I did a search for Aqueous... not water...


Add config parameter to change per-container stop timeout during daemon shutdown

- What I did
This fix tries to add a flag --stop-timeout to specify the timeout value (in seconds) for the container to stop before SIGKILL is issued. If stop timeout is not specified then the default timeout (10s) is used.
- How I did it
The --stop-timeout has been added to docker create and docker run.
- How to verify it
Additional test cases have been added to cover the change.
- Description for the changelog
Added a lag --stop-timeout to specify the timeout value (in seconds) for the container to stop.
- A picture of a cute animal (not mandatory but encouraged)
This fix is related to #22471.
NOTE: Pull requests have been created in engine-api:
https://github.com/docker/engine-api/pull/256
https://github.com/docker/engine-api/pull/271
NOTE: Another pull request (#23036) has been opened to add --shutdown-timeout to daemon
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

Will this option match the corresponding docker stop --time=-1 parameter value to enable waiting undefinitely for the container to stop?

@pataquets Yes if the option is passed with -1 then the daemon will wit indefinitely for clean stop of the containers.

I'm wondering if this should be a daemon level option, or something that should be specified per container (thinking of the --stop-signal option we added on docker run, and in the Dockerfile).
I like the simplicity of this PR, just thinking out loud if the timeout should be applied to all containers, or only to specific ones.

I think restarts without container stops(in 1.12) will deprecate this.

@LK4D4 that was mentioned in the issue, but it likely won't help if the service has to be stopped, or a server rebooted

@thaJeztah @LK4D4 Thanks for the review.
In the existing docker code, the timeout of container stop before SIGKILL during the shutdown is controlled by two places:

shutdownContainer() (with a timeout of 10s):
https://github.com/docker/docker/blob/e16753ce192cc80d3e207d7b3063a9dab36983cb/daemon/daemon.go#L860-L864
shutdownDaemon() (with a timeout of 15s = 10s + 5s):
https://github.com/docker/docker/blob/e16753ce192cc80d3e207d7b3063a9dab36983cb/cmd/dockerd/daemon.go#L290-L294

When a shutdown of daemon is issued, the daemon will:

Send SIGTERM to each container, wait for 10s, and send SIGKILL if containers hasn't been stopped yet.
At the same time, wait for all containers to stop or 15s (max), then exit.

There are potentially two variables. One is the timeout (10s) for each container to stop (with SIGTERM) before send SIGKILL. The other is the timeout (15s) for daemon to exit.
In this PR, there is only one variable --shutdown-timeout. Basically each container will wait for shutdown-timeout before SIGKILL is issued. At the same time, the daemon will wait for shutdown-time + 5s for all containers to stop, before exit. The added value of 5s is hardcoded for the moment in this PR.
I think the per-container-stop-timeout makes sense. Maybe we could set a per-container-stop-timeout for each container, then add a shutdown-timeout for the daemon to wait overall?
Any suggestions would be appreciated.

I think this makes sense (regardless of the potential ability for 1.12 to restart the daemon without restarting containers).
Every such PR makes me think we should really stop adding command line flags and support a configuration file only...

@thaJeztah @LK4D4 @icecrime To implement a per-container-stop-timeout the following items are likely to be needed:

Add a field StopTimeout to engine-api/types/container/config.go (StopSignal already exists)

Add a flag of --stop-timeout=10 to docker run and docker create

Add a flag of --shutdown-timeout=15 to docker daemon for the wait time before forcefully exit daemon.

When the daemon is shutdown, each container will be stopped based on the StopTimeout in config before issuing a SIGKILL. In addition, daemon will wait for --shutdown-timeout before forcefully exit.

The only potential uncertainly is the docker stop --time=10. When docker stop --time=10 is executed, the stop timeout will be the value passed in command which already has a default value. I think it makes sense for docker stop to respect StopTimeout if the --time flag is not given.

I will move forward to implement the above items and update the PR. In the meantime, please let me know if you have any suggestions or feedbacks.

Perhaps we can combine stop-signal with stop-timeout, similar to the --restart=always:10, so something like docker run --stop-signal=kill:30 (downside is that you'd always have to specify the signal as well)

@thaJeztah @LK4D4 @icecrime I updated the PR and now --stop-signal could take both a signal and a timeout e.g., --stop-signal=SIGTERM:10.
The StopTimeout in Config is defined as *int. This is to allow the case where value StopTimeout is not assigned (then default 10s will be used).
Note: we cannot use -1 or 0 as the default value of StopTimeout because -1 means infinity and 0 means no waiting.
One thing I am not so sure is about how to deal with docker stop. Since docker stop -t always has a default value, it seems like the StopTimeout is useless for docker stop.
If we want to respect the StopTimeout even for docker stop, I think we could change the behavior so that:

If docker stop does not have the flag -t then we will use StopTimeout
Otherwise we will use the value provided by docker stop -t

Any suggestion suggestions or feedbacks on how to deal with docker stop?

It may be nice to combine this with --start-timeout, per docker/docker#22226

We just discussed this; and there's more people that like having a separate flag for --stop-timeout after all (sorry).
Also we'd like to have the per-container feature first, and a separate PR for the default (daemon) option.
Can you do that? Thanks!

Thanks @thaJeztah @jhowardmsft I split the pull request into two. This pull request will cover the 'per-container' stop timeout case and the pull request #23036 will cover daemon timeout case. Please let me know if there are any issues.

Thanks @yongtang! I'm moving this to code review

Thanks all for the code review and suggestions. A pull request for engine-api has been created:
https://github.com/docker/engine-api/pull/256
Please let me know if there are any issues.

Thanks @yongtang, https://github.com/docker/docker/issues/23227 was just merged, so you can rebase to fix the vendor CI 👍

Thanks @thaJeztah. The pull request has been rebased and updated. Please let me know if there are any issues.

Thanks @thaJeztah @cpuguy83.
I did some investigation. It turns out that, if I use the following (with value 0):
flStopTimeout       = cmd.Int([]string{"-stop-timeout"}, 0, "Timeout (in seconds) to stop a container")

then docker run --help will return:
...
  --stop-timeout                  Timeout (in seconds) to stop a container
...

Also, if user does not specify --stop-timeout=xxx in docker run, then the following line:
	if cmd.IsSet("-stop-timeout") {
 		config.StopTimeout = flStopTimeout
 	}

will correctly assign config.StopTimeout to null, which will be correctly picked up and assigned with the default time out value (10s) by the daemon.
Based on the observation, I changed the value to 0 in runconfig and moved DefaultStopTimeout = 10 to container package.
The pull request has been updated with the above mentioned changes. Please let me know if there are any other issues.

Thanks @yongtang!
Thanks! Testing this, I noticed that we're not there yet (at least, I think
additional changes have to be made).
When doing docker stop <containerId>, the default 10 seconds is always applied,
because the client sends it;
docker run --stop-timeout=5 -dit --name five busybox
a28d9bc1202ac77e899122e9331b125c0331a49e5cdd5f32d3a1be505a90756a

docker run --stop-timeout=15 -dit --name fifteen busybox
aeb99e32e1103624bf5e28a06abfc52b644baefe8fa9c47d9794680e199c3e63

docker run -dit --name defaulty busybox
8066899f06eb273e77cf1f7c06244d3b85aa7415cc6cc15bf48e1e85f3a6823d

docker stop five fifteen defaulty

DEBU[0178] Calling POST /v1.24/containers/five/stop?t=10
DEBU[0178] Sending 15 to a28d9bc1202ac77e899122e9331b125c0331a49e5cdd5f32d3a1be505a90756a
INFO[0188] Container a28d9bc1202ac77e899122e9331b125c0331a49e5cdd5f32d3a1be505a90756a failed to exit within 10 seconds of signal 15 - using the force

DEBU[0189] Calling POST /v1.24/containers/fifteen/stop?t=10
DEBU[0189] Sending 15 to aeb99e32e1103624bf5e28a06abfc52b644baefe8fa9c47d9794680e199c3e63
INFO[0199] Container aeb99e32e1103624bf5e28a06abfc52b644baefe8fa9c47d9794680e199c3e63 failed to exit within 10 seconds of signal 15 - using the force

DEBU[0199] Calling POST /v1.24/containers/defaulty/stop?t=10
DEBU[0199] Sending 15 to 8066899f06eb273e77cf1f7c06244d3b85aa7415cc6cc15bf48e1e85f3a6823d
INFO[0209] Container 8066899f06eb273e77cf1f7c06244d3b85aa7415cc6cc15bf48e1e85f3a6823d failed to exit within 10 seconds of signal 15 - using the force

Doing a shutdown of the daemon correctly applies the timeouts set;
INFO[3797] Container a28d9bc1202ac77e899122e9331b125c0331a49e5cdd5f32d3a1be505a90756a failed to exit within 5 seconds of signal 15 - using the force
INFO[3802] Container 8066899f06eb273e77cf1f7c06244d3b85aa7415cc6cc15bf48e1e85f3a6823d failed to exit within 10 seconds of signal 15 - using the force
INFO[3807] Container aeb99e32e1103624bf5e28a06abfc52b644baefe8fa9c47d9794680e199c3e63 failed to exit within 15 seconds of signal 15 - using the force

I think we should have docker stop not send a value if it's the default,
and let the daemon apply either the default value, or the value that was
set on the container (through --stop-timeout), wdyt?

Thanks @thaJeztah. I think it is possible to achieve the behavior. It may involve updating engine-api. Let me give it a try.

@thaJeztah I updated the pull request to take into consideration the case where docker stop does not specify the timeout. In that case, a null is passed and, eventually reach the daemon so that daemon can use the config value specified at the container creation time.
Please take a look and I will create a separate pull request to engine-api if the update fits the behavior.

Thanks @yongtang, that's exactly what I had in mind; it picks the value set by the container, unless I override it, and explicitly set the time;
Just "stop";
docker stop fifteen
DEBU[0354] Calling POST /v1.24/containers/fifteen/stop
DEBU[0354] Sending 15 to 105b3e0b5e0bd213d952042f95671f66cf0a254318baaf24c5b4ab6b88e3190d
INFO[0369] Container 105b3e0b5e0bd213d952042f95671f66cf0a254318baaf24c5b4ab6b88e3190d failed to exit within 15 seconds of signal 15 - using the force

Override the timeout:
docker stop --time=5 fifteen
DEBU[0417] Calling POST /v1.24/containers/fifteen/stop?t=5
DEBU[0417] Sending 15 to 105b3e0b5e0bd213d952042f95671f66cf0a254318baaf24c5b4ab6b88e3190d
INFO[0422] Container 105b3e0b5e0bd213d952042f95671f66cf0a254318baaf24c5b4ab6b88e3190d failed to exit within 5 seconds of signal 15 - using the force

However, I noticed a fun thing; if the timeout of the container is longer than the default timeout (probably the timeout of the daemon), then the container is never killed:
Start a container with a 15 seconds timeout:
docker run --stop-timeout=15 -dit --name fifteen busybox

(logs)
DEBU[0077] Calling POST /v1.24/containers/create?name=fifteen
DEBU[0077] form data: {"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"Domainname":"","Entrypoint":null,"Env":[],"HostConfig":{"AutoRemove":false,"Binds":null,"BlkioDeviceReadBps":null,"BlkioDeviceReadIOps":null,"BlkioDeviceWriteBps":null,"BlkioDeviceWriteIOps":null,"BlkioWeight":0,"BlkioWeightDevice":null,"CapAdd":null,"CapDrop":null,"Cgroup":"","CgroupParent":"","ConsoleSize":[0,0],"ContainerIDFile":"","CpuCount":0,"CpuPercent":0,"CpuPeriod":0,"CpuQuota":0,"CpuShares":0,"CpusetCpus":"","CpusetMems":"","Devices":[],"DiskQuota":0,"Dns":[],"DnsOptions":[],"DnsSearch":[],"ExtraHosts":null,"GroupAdd":null,"IOMaximumBandwidth":0,"IOMaximumIOps":0,"IpcMode":"","Isolation":"","KernelMemory":0,"Links":null,"LogConfig":{"Config":{},"Type":""},"Memory":0,"MemoryReservation":0,"MemorySwap":0,"MemorySwappiness":-1,"NetworkMode":"default","OomKillDisable":false,"OomScoreAdj":0,"PidMode":"","PidsLimit":0,"PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":"no"},"SecurityOpt":null,"ShmSize":0,"StorageOpt":{},"UTSMode":"","Ulimits":null,"UsernsMode":"","VolumeDriver":"","VolumesFrom":null},"Hostname":"","Image":"busybox","Labels":{},"NetworkingConfig":{"EndpointsConfig":{}},"OnBuild":null,"OpenStdin":true,"StdinOnce":false,"StopTimeout":15,"Tty":true,"User":"","Volumes":{},"WorkingDir":""}
DEBU[0077] container mounted via layerStore: /var/lib/docker/aufs/mnt/4cc2e835903d71e58e06229e3e6ddc677bb80710edcfe0f7a7e5f0a2966b7078
DEBU[0078] Calling POST /v1.24/containers/bd5b3c158853c458c3d0b0f59845f70dc36d78df643a3324c8ee866625c52035/start
DEBU[0078] container mounted via layerStore: /var/lib/docker/aufs/mnt/4cc2e835903d71e58e06229e3e6ddc677bb80710edcfe0f7a7e5f0a2966b7078
DEBU[0078] Assigning addresses for endpoint fifteen's interface on network bridge
DEBU[0078] RequestAddress(LocalDefault/<IP_ADDRESS>/16, <nil>, map[])
DEBU[0078] Assigning addresses for endpoint fifteen's interface on network bridge
DEBU[0078] Programming external connectivity on endpoint fifteen (6f6636fd63431aeeadbb894c7bfb2f0de6f6a766f563ea786f33d02a3da4e49a)
DEBU[0078] sandbox set key processing took 104.841449ms for container bd5b3c158853c458c3d0b0f59845f70dc36d78df643a3324c8ee866625c52035
DEBU[0078] received containerd event: &types.Event{Type:"start-container", Id:"bd5b3c158853c458c3d0b0f59845f70dc36d78df643a3324c8ee866625c52035", Status:0x0, Pid:"", Timestamp:0x57569fb4}
DEBU[0078] event unhandled: type:"start-container" id:"bd5b3c158853c458c3d0b0f59845f70dc36d78df643a3324c8ee866625c52035" timestamp:1465294772

Stop the daemon (^C):
^CINFO[0128] Processing signal 'interrupt'
DEBU[0128] starting clean shutdown of all containers...
DEBU[0128] stopping bd5b3c158853c458c3d0b0f59845f70dc36d78df643a3324c8ee866625c52035
DEBU[0128] Sending 15 to bd5b3c158853c458c3d0b0f59845f70dc36d78df643a3324c8ee866625c52035
INFO[0143] Container bd5b3c158853c458c3d0b0f59845f70dc36d78df643a3324c8ee866625c52035 failed to exit within 15 seconds of signal 15 - using the force
DEBU[0143] Sending 9 to bd5b3c158853c458c3d0b0f59845f70dc36d78df643a3324c8ee866625c52035
ERRO[0143] Force shutdown daemon
DEBU[0143] containerd connection state change: SHUTDOWN
INFO[0143] stopping containerd after receiving terminated

It looks like the daemon either doesn't send the timeout, or doesn't wait for sending it before shutting down itself. The container is still running after the daemon is stopped;
ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1  20256  3192 pts/0    Ss   09:48   0:00 bash
root       946  0.0  0.1 259700  2828 ?        Sl   10:19   0:00 docker-containerd-shim bd5b3c158853c458c3d0b0f59845f70dc36d78df643a3324c8ee866625c52035 /var/run/docker/libcontainerd/bd5b3c158853c458c3d0b
root       962  0.0  0.0   1208     4 pts/0    Ss+  10:19   0:00 sh
root       974  0.0  0.1  17500  2076 pts/0    R+   10:21   0:00 ps aux

And re-appears after the daemon is started again;
docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
bd5b3c158853        busybox             "sh"                2 minutes ago       Up 2 minutes                            fifteen

So, indeed; the daemon doesn't wait for the timeout set by the containers,
and if their timeout is longer than 15 seconds (daemon default), the daemon
shuts down without killing the containers:
$ docker run --stop-timeout=20 -dit --name twenty busybox
146d818d38239b1164d0021f2bc8cd64d58112540d34ac3ca8f283ec7ec46b48

docker run --stop-timeout=25 -dit --name twentyfive  busybox
476494bbf2c0d36274ded855c097bf6bc7e58fe95264e65ac48f066987a3d970

^CINFO[0037] Processing signal 'interrupt'
DEBU[0037] starting clean shutdown of all containers...
DEBU[0037] stopping 476494bbf2c0d36274ded855c097bf6bc7e58fe95264e65ac48f066987a3d970
DEBU[0037] Sending 15 to 476494bbf2c0d36274ded855c097bf6bc7e58fe95264e65ac48f066987a3d970
DEBU[0037] stopping 146d818d38239b1164d0021f2bc8cd64d58112540d34ac3ca8f283ec7ec46b48
DEBU[0037] Sending 15 to 146d818d38239b1164d0021f2bc8cd64d58112540d34ac3ca8f283ec7ec46b48
ERRO[0052] Force shutdown daemon
DEBU[0052] containerd connection state change: SHUTDOWN
INFO[0052] stopping containerd after receiving terminated

@yongtang oh! just realized you mentioned the "default timeout" on docker stop in an earlier comment (https://github.com/docker/docker/pull/22566#issuecomment-221460299), I completely overlooked that earlier

Thanks @thaJeztah. The shutdown timeout is a combination of container and daemon. When daemon tries to shutdown, it will wait for 15s before exit. However, this 15s implicitly hints that the container stop timeout is 10s.
The current implementation of this PR didn't automatically use this implicit value of 10s. Instead, the stored stopTimeout is used.
I will update the PR shortly to use this implicit 10s for daemon shutdown so the behavior is OK after this PR.
Though the 10s fix might be temporary as this this PR is related to #23036.
#23036 will change the shutdown timeout of daemon (instead of 15s) and that will impact the implicit 10s.

Yes, I assumed that was the case; we should consider;

the daemon timeout to be set to a longer time if a container has a longer timeout than the default
not sure; what to do if a container has a timeout -1 (indefinitely)? should this always block the daemon from stopping?
if we don't raise the timeout, the container should probably still be killed?

Also, I noticed that docker restart <container> has the same issue as docker stop; it also passes the default timeout from the client, and ignores the timeout set on the container.

Thanks @thaJeztah I updated the docker restart <container> so it now behaves similarly with docker stop <container>.
I also capped the timeout to 10s when stopping containers at daemon shutdown. It ma need to be changed when #23036 is in play.
For daemon shutdown, currently docker is doing:

Issue shutdownContainer to stop all containers. If container failed to stop in 10s, then kill it.
Separately wait for 15s then exit directly.

If we want to make sure all containers stop when daemon shutdown, then we will need to pass a timeout at the shutdownContainer. (Daemon;s 15s shutdown timeout is done separately).
I think we can do two ways:

Scan through all containers, and find the longest timeout value say, 20s, and let daemon wait for 20s + 5s before exit.
Assume daemon timeout is 20s, then cap all container stop timeout value to be max of 20s - 5s.

We could do either way and the same could be applied to -1 case.
I personally would see daemon level shutdown timeout as the hard timeout ( see 2) could be easier to deal with. Though I can do the implemention for either ways.

Thanks again @yongtang, and sorry for all the discussion here; I'm inclined to say that we should scan through all containers (or, since we're already going through all containers, if the container timeout is longer than the current timeout, raise it), after all, ignoring the custom timeout would make this feature not really useful.
However, I don't know what others think here; so I'll try to get some maintainers to look at it ASAP so that we can move forward.

@thaJeztah I rebased the pull request to fix the conflict. The implementation has also been updated. Right now, the daemon shutdown timeout is taken to scan through all containers and use the "max" StopTimeout from containers.
Please take a look and let me know if there are any issues, or we would like to have a different way of handling the shutdown timeout.

Looks like something is failing, not sure why;
22:23:34 # github.com/docker/libnetwork/osl
22:23:34 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:21: undefined: IfaceOption
22:23:34 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:42: undefined: NeighOption
22:23:34 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:67: undefined: NeighOption
22:23:34 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:71: undefined: NeighOption
22:23:34 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:77: undefined: IfaceOption
22:23:34 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:80: undefined: IfaceOption
22:23:34 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:83: undefined: IfaceOption
22:23:34 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:86: undefined: IfaceOption
22:23:34 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:91: undefined: IfaceOption
22:23:34 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:94: undefined: IfaceOption
22:23:34 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:94: too many errors

I tested this locally, and it works as I would expect, i.e.,

both docker restart and docker stop use the timeout set by the container
stopping the daemon also takes that time into account
using --time=something on docker stop or docker restart overrides the timeout that's set by the container

ping @cpuguy83 @vdemeester other than the failing CI, does this behavior LGTY?

I think it makes sence yes :)

Thanks @thaJeztah @vdemeester @cpuguy83. I created a pull request in engine-api to cover the needed changed in engine-api:
https://github.com/docker/engine-api/pull/271
Please let me know if there are any issues.

The janky failure seems to be timeout. Though experimental looks like for real. Not sure why the following linking error appears but will do some investigation.
04:00:15 # github.com/docker/libnetwork/osl
04:00:15 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:21: undefined: IfaceOption
04:00:15 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:42: undefined: NeighOption
04:00:15 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:63: undefined: IfaceOption
04:00:15 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:70: undefined: NeighOption
04:00:15 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:74: undefined: NeighOption
04:00:15 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:80: undefined: IfaceOption
04:00:15 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:83: undefined: IfaceOption
04:00:15 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:86: undefined: IfaceOption
04:00:15 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:89: undefined: IfaceOption
04:00:15 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:92: undefined: IfaceOption
04:00:15 vendor/src/github.com/docker/libnetwork/osl/sandbox.go:92: too many errors
04:00:24 Build step 'Execute shell' marked build as failure

The investigation is ongoing. It seems libnetwork does not really handle darwin yet experimental in docker somehow tries to build on darwin with libnetwork, thus caused the failure.
Will spend more time on this issue.

@yongtang have you found anything, or need help?

docs failure is not related;
04:40:16 ERROR: (503) 1 links to (http://support.oracle.com)
04:40:16 			 link http://support.oracle.com on page engine/installation/linux/oracle.md
04:40:42 Skip

Thanks @thaJeztah. Previously the build error was caused by the import of container pkg (to get the DefaultStopTimeout) in api/client/container/stop.go and api/client/container/restart.go. That triggered the build of almost everything (libnetowrk, etc.) on Mac/darwin. I removed the import to get the build on darwin.

ping @yongtang can you rebase? Then we can get this moving again :+1:

Thanks @thaJeztah, rebased :smiley:.

Setting a stop-timeout per container sounds like it'd be useful. I was looking at the Swarm Rolling Restart command and noticed no way to set the timeout. Having a way to set it per container for all commands instead of using the default sounds perfect.

@yongtang rebase needed again :sweat:

Thanks @vdemeester rebased. 😃

LGTM 🐸
@yongtang needs another rebase :sob:

Thanks @vdemeester. The pull request has been rebased.

@yongtang needs another rebase :sweat:

Thanks @vdemeester, rebased.

LGTM, but this PR needs yet another rebase for the docs :sweat_smile:

Thanks @mlaventure for the review. The PR has been rebased and updated. Please let me know if there are any other issues 😅 .

:tada: yeah! Sorry it took so long @yongtang - thanks so much!

Thanks all for the review and help!


Add support for setting Open Api Base Url in options!

Ollama now support openai compatible api layer. https://ollama.com/blog/openai-compatibility.
Would be good if BaseUrl was added in Opt enum for open ai.
https://github.com/sobelio/llm-chain/blob/bb57935f3086cbd4a8832e7be82411741f7a0513/crates/llm-chain/src/options.rs#L334C1-L335C20

have you looked into https://github.com/sobelio/llm-chain/pull/267 already? not perfect cause it's an envvar, but its something


running the tflite model with a video input?

I want to give the  tflite object detection model an recorded video input instead of an live streaming video
is that possible?

This is not Build/Installation or Bug/Performance issue. Please post this kind of support questions at Stackoverflow. There is a big community to support and learn from your questions. GitHub is mainly for addressing bugs in installation and performance. Thanks!

I want to give the tflite object detection model an recorded video input instead of an live streaming video
is that possible?

@aravindchaluvadi Hi,  I want to do this recently, do you have the python script now ? If have, can you share with me ? Thanks !


Demonstrate Consumption of External Secret Store

This PR is just for demonstrating consumption/testing Crossplane runtime changes in External Secret Store PR.

Closing in favor of https://github.com/crossplane/provider-gcp/pull/421


Spelling Mistake

Thanks for taking the time, we'll make the changes soon

Not a problem pal, using it for my studies anyways so might as well give back in the most petty way possible ;^)


[Feature Request] Add setting to one-tap open a link

It would be nice to have the option to click on the link and have it directly open in the default web browser, instead of having the share and copy menu.
Thanks.

Hello @urmomsangus,
Thanks for your feature request, I think we can add an option to set click as default action when you click on any link, I will add this feature to the todo and try to find the best way to add it
Thanks
Amr Hesham


[1.0.0-124] Crashing when selecting an app and keyboard isn't open

Version: 1.0.0-124
Phone: iPhone 7
iOS: 12.1.2
Messages app completely freezes when opening the app drawer and selecting an app while the keyboard is hidden. (Pressing the button to quick open the app works without issue)

Fixed in v1.0.1-1


Update section3.md

Make the step more clear.

Can one of the admins verify this patch?

ok to test

All is well.


Fix thumb metacarpal rotation on OpenXR provider

Summary
Fixes the rotation of the zero-length metacarpal for the OpenXR provider. Contrary to normal use of LeapC (which contains a rotation). Leap hands in unity expect this bone to have a zero rotation.
Contributor Tasks

[ ] Pair review with a member of the QA team.
[ ] Add any release testing considerations to the MR for the next release.
[x] Check any relevant CHANGELOG files have been updated.
[x] Ensure documentation requirements are met e.g., public API is commented.
[x] Consider any licensing/other legal implications for this MR e.g. notices required by any new libraries.
[x] Add any relevant labels such as breaking to this MR.
[x] If this MR closes a Jira issue, make sure the fix version on the JIRA issue is set to the correct one.

Reviewer Tasks

[ ] Code reviewed.
[ ] Non-code assets e.g. Unity assets/scenes reviewed.
[ ] Documentation has been reviewed. Includes checking documentation requirements are met and not missing e.g., public API is commented.
[ ] Checked and agree with release testing considerations added to MR for the next release.

I'm waiting for feedback from @rorygames that this resolves the issue they saw before I mark it as not a draft.

We may need to wait a little before putting this into develop anyway as we are trying to put together a slim examples-only release ASAP so this fix may have to wait until the following release

There is further work to do here anyway, we've fixed direction but there are still issues with rotation.

@rblenkinsopp is this PR replaced by this one: https://github.com/ultraleap/UnityPlugin/pull/1378 ?

Yeah it is, I'll close it.


OIDC4VP /SIOPV2 : request_uri

if request_uri is in the request, wallet must call eth endpoint to get the request as a jwt

test 6 OIDC4VP

This is the current senario.. Can you give me the specific case where we are having the issue?
@ThierryThevenet

Request_uri could be used for all types of response (vp_token and id_token


Added default 0 value in inventory field in config product.

Issue Reference
Fixed Issue #10229
Description
Added default 0 value in inventory field in config product.

Checked and found that the issue has been fixed and working fine. Please check the video.
video
https://github.com/user-attachments/assets/43227894-aa07-4492-af40-3ca768e6edd7


Java Tutorial didn't work

I have the latest version of modern versions of all Java deps:
JDK: 9.0.4
Maven: 3.5.2
I and am running on MacOS and cloned the gs-spring-boot as described. When I open a source file
I am immediately given the error:

Classpath is incomplete. Only syntax errors will be reported

With optimism flowing eternal, I hit F5 to see if it will compile. Nada. Sadness ensues. I having written a line of Java since the 1990's so I'm completely out of my element and was hoping that the hand-holding of this 101 tutorial would at least give me a "hello world" moment.

Oh also worth mentioning that I do have the following plugins:

Language Support Java(TM) by Red Hat (not the other Language Support module)
Debugger for Java
Maven for Java
Java Etension Pack

I also shutdown vs-code and restarted hoping that might kick things into a higher gear.

I can confirm this issue.
The Java tutorial on visualstudio.com must be missing a few steps, the app doesn't run if you are following the tutorial.

This issue was moved to Microsoft/vscode-docs#1462


Clean up OOP hierarchy

Why

aim to clarify when Props are intended to be read-only vs. when a Registry need to also be able to update them (BoundableProp)
there are many changes in this PR, but actually, the footprint is quite small; a few renames of classes are used everywhere plus the converter changes, have resulted in this volume of changes.

What?

cleaned-up Prop hierarchy
cleaned-up internal RegistryStore interface
run fewer tests in git commits
converters fully support nulls

Checklist
Please ensure the following conditions are met:

[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added any necessary documentation (if appropriate)

Thank you!

closes #75


Fluent Bit stops with SIGSEGV

Description

Fluent Bit is terminated by a SIGSEGV if the configured output is not reachable during the shutdown.
Expected result

Fluent Bit should shut down gracefully. Log chunks that could not be ingested due to the unavailable output are persisted in the filesystem buffer and ingested as soon as the output is functional again.
Actual result

Chunk files in the file system buffer end up in a corrupted state and dropped after a restart.
Steps to reproduce

Create a situation where Fluent Bit cannot ingest logs to the configured output
Restart Fluent Bit
Logs of new Fluent Bit instance indicate that chunks are corrupted and dropped

Troubleshooting

The behaviour is not observed when using the upstream Fluent Bit image (2.1.7). Removing the grafana-loki plugin from the image also solves the issue.

Not valid anymore as the loki plugin got removed already


Access is denied or unhandled exception

Describe the bug
Is it normal that during the process of tweaking/disabling telemetry and so on the program in the background runs such lines in yellow? I running a clean install of windows 11. granted amin rights on CTT-Windows Utility.exe
After tweaking my processes are 110-120ish.
Example:
WARNING: Unable to set SgrmBroker due to unhandled exception
WARNING: The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
Setting Services SharedAccess to Manual
Setting Services SharedRealitySvc to
WARNING: Unable to set SharedRealitySvc due to unhandled exception
WARNING: The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
Setting Services ShellHWDetection to Automatic
Setting Services SmsRouter to Manual
Setting Services Spooler to Automatic
Setting Services SstpSvc to Manual
Setting Services StateRepository to Manual
WARNING: Unable to set StateRepository due to unhandled exception
WARNING: Service 'State Repository Service (StateRepository)' cannot be configured due to the following error: Access
is denied
To Reproduce
Steps to reproduce the behavior:
select Laptop tweaks and run

Currently Chris is working on adding a lot of additional values to be able to reset windows back to default when running the undo tweaks so you will see some messages stating "the argument is null or empty." You can safely ignore these.
For the access denied I am not familiar enough with the StateRepository service, it's possible windows prevented you from using changing it because it was in use or something like that. You can either try to set it manually to see or ignore the warning.

Thank you. DeveloperDurp,
I've remembered that on windows 10 (few years before) wasn't present and assume that I have done something (before this tool was considered a virus via windows and it was a slight pain to be sure that you actually give it proper environment to work)
I've pasted just a small part of this "example" as the list is large and its full of this yellow Warnings. And I think its way above my head to try to tweak on my own. Plus i'm currently trying windows 11 to check if its better than 10 in games :D. But as long as its working - i trust Chris and Panjo

Fixed with last PR #883


Added header

Added media query to make the header section responsive
fix the linters

@WalterOkumu; Since this is just the update of the already approved pull request, I will just merge the changes which I did to make the header section to responsive. thanks


Support highlights and footnotes

I'm using highlighting and footnotes on my notes and it seems the features aren't supported.
It looks like the highlighting feature isn't supported in GitHub neither, but the footnotes seem working partially.
Highlighting
Use two equal signs to ==highlight text==.

Use two equal signs to ==highlight text==.
Footnotes
Here's a simple footnote,[^1] and here's a longer one.[^bignote]

[^1]: meaningful!

[^bignote]: Here's one with multiple paragraphs and code.

    Indent paragraphs to include them in the footnote.

    `{ my code }`

    Add as many paragraphs as you like.

Here's a simple footnote,^1 and here's a longer one.[^bignote]
[^bignote]: Here's one with multiple paragraphs and code.
Indent paragraphs to include them in the footnote.

`{ my code }`

Add as many paragraphs as you like.

You can also use inline footnotes. ^[notice that the carat goes outside of the brackets on this one.]

Great input! I've released a new version of the template that add support for this (https://github.com/oleeskild/digitalgarden/releases/tag/1.7.0). You can update your template by using the "Create PR" button in the digital garden setting in obsidian. Let me know if it works as you expected!

Worked like a charm! Thank you!


Optional, Validating, Multiple-Occurence Param Matcher

Matches (and validates) optional parameters that occur mutliple
times in the query string. For #771.

Current coverage is 0.00% (diff: 0.00%)

Merging #772 into master will not change coverage

@@           master   #772   diff @@
====================================
  Files         210    210
  Lines         395    394     -1
  Methods         0      0
  Messages        0      0
  Branches       16     16
====================================
  Hits            0      0
+ Misses        395    394     -1
  Partials        0      0

Powered by Codecov. Last update 9ec57dd...1a2431d

I think this looks good, except the nested Option still looks strange to me vs. allowing an empty sequence.  👍 as soon as we figure that out.


imap fails since namespace "INBOX"

I am getting the following Error:
[error] #12 couldnt get INBOX Client tried to access nonexiste nt namespace. (Mailbox name should probably be prefixed with: INBOX.) (0.001 + 0 .000 secs).
I am testing the Matrix-EmailBot, Login on Matrix runs fine, also sending an eMail via the same account ist running fine, just imap bridging to Matrix fails.

I am getting the following Error:
[error] #12 couldnt get INBOX Client tried to access nonexiste nt namespace. (Mailbox name should probably be prefixed with: INBOX.) (0.001 + 0 .000 secs).
I am testing the Matrix-EmailBot, Login on Matrix runs fine, also sending an eMail via the same account ist running fine, just imap bridging to Matrix fails.

Did you check if your selected mailbox is available on your IMAP server?
By default the mailbox is 'INBOX' you can manually set it with !setup imap, (host), (username), (password), (INBOX)

@mtauz I have commited a new version. This includes

listing available mailboxes
changing current mailbox in a room
showing the currently selected mailbox

hope this helps
Jojii

It´s running fine, I missed the parameter for INBOX, since I gave the bot a
!setup imap, (host), (username), (password), false - the false for ignoreTLS - so the bot took ist as the (INBOX) parameter.
I think, the bot could answer the given parameters for veryfying like this:
Bridge created successfully! imap, (imap.your.host), (your.username), (*****pw*****),  No mailboxname specified! Using INBOX No port specified! Using 993 You should delete the message containing your credentials ;)


Spell caster mode item idea

A siege mode for spell casters that acts like siege mode and has magic splash damage and magic amp. While of course being rooted in place and is built same as siege mode except with aether lens instead.

yyy.... what? sorry but that is just confusing me and i feel i missing something important, can you write something more about it?

The item siege mode which is already implemented but adapted and change the name to make a version which can be used for spells.

@101necro i not played gamemod cuz i don't have network atm. So what this item do actually?

It's an idea for a transformation item. Moriah's Ring already sort of fills this niche, though. Thank you for the post!


[Question] Kubernetes multiple api support?

Hi,
Does Rancher support multiple Kubernetes api/controller manager for HA? Thanks.

This isnt currently supported. Rancher 2.0 might have plans for this.

OK, thanks.


POC - Batch Trace receive

POC not working code to show how batch tracing could be implemented.
following guidance from
https://opentelemetry.io/blog/2022/instrument-kafka-clients/
https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/messaging/#batch-receiving
The python libraries sort of already implement the above
https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/__init__.py

another possibility is to move the receiving span out of the hooks and have a facade  around the Fetches type which wraps in the tracing. Saving the need to make changes to kgo it self.

Closing, based on prior latest comment (though this idea is interesting)


Promise Rejection in fallback

Can i do something like this ?
function getCache(req, res) {
  return getCacheCB.fire(req.params.userId, req.headers.referer)
    .then(resObj => res.status(resObj.statusCode).send(
        userProfileSerializer(resObj.message, '1.0.0')))
    .catch(resObj => res.status(resObj.statusCode).send(errorSerializer(resObj, '1.0.0')));
}

getCacheCB.fallback((userId, referer) => {
  log.info('Get cache fallback'); // eslint-disable-line
  return service.fetchUserProfile(userId, referer)
});

Looks like Promise.reject does not seems to work.
I get this warning in the console  when the service.fetchUserProfile(userId, referer) function returns promise rejection
(node:78791) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): StatusCodeError: 504 - "\r\n<title>504 Gateway Time-out</title>\r\n\r\n
504 Gateway Time-out
\r\n
openresty/<IP_ADDRESS>\r\n\r\n\r\n"

@yharish991 can you provide a reproducible test case? We are currently testing for fallback functions returning a rejected promise here without issue.

@yharish991 you need to .catch() that rejected promise during the fallback event, is done here. The warning is not fatal, but will always occur unless the fallback's rejected promise is handled during the fallback event.

@yharish991 I have applied a fix that allows you to handle the promise rejection on fallback directly from breaker.fire() instead of only within the fallback event. This will land in the next release, which should be available soon.


Fixed some bugs about parameters and updated comments

I found some bugs and fixed it. Please check my pull request.

Parameter loss_type is being ignored in both ContextualLoss and ContextualBilateralLoss.
Parameter band_width in ContextualBilateralLoss is treated as weight_sp.
Parameter loss_type is better to compared in lower case.
Default value of parameter band_width in ContextualBilateralLoss is 0.5 but F.contextual_bilateral_loss have default value of 1.0.

Thank you.

I found some bugs and fixed it. Please check my pull request.

Parameter loss_type is being ignored in both ContextualLoss and ContextualBilateralLoss.
Parameter band_width in ContextualBilateralLoss is treated as weight_sp.
Parameter loss_type is better to compared in lower case.
Default value of parameter band_width in ContextualBilateralLoss is 0.5 but F.contextual_bilateral_loss have default value of 1.0.

Thank you.


ngImgCrop is not maintained anymore

Thanks @danialfarid for this great work. I've been looking into how you've implemented image cropping functionality and realized that you're using ngImgCrop. It looks like this project is not maintained anymore. Even PRs w/ simple fixes are not being merged. https://github.com/alexk111/ngImgCrop/pull/48
Do you have any other recommendations about image cropping functionality? This one seems promising https://github.com/CrackerakiUA/ui-cropper

Yesterday I did integration with ui-cropper using the same code as used with ngImgCrop ─ just changing ng-crop to ui-cropper. Worked like a charm.

@matepaiva could you please copy your code. I am not sure where to add this


chore(351): add service reliability standard

Is this pull request a content or a code change? (Please fill in the relevant section and delete the other)
Code change
I can confirm:
Accessibility considerations

[x] Please review the accessibility checks for layout changes.

[x] This change will not change layouts, page structures or anything else that might impact accessibility

Content change

[x] Please review the accessibility checks for content changes.

I can confirm:

[x] Content does not include any code or configuration changes (excluding frontmatter information)
[x] Content meets the content standards
e.g. Writing a principle and Writing a standard
[x] Content is suitable to open source, i.e.:

Content does not relate to unreleased gov policy
Content does not refer to anti-fraud mechanisms
Content does not include sensitive business logic

[x] Last updated date for content is correct

See all comments/discussions from previously closed PR here

https://github.com/UKHomeOffice/engineering-guidance-and-standards/pull/352


Which directory structure should we use?

At the top level should we create a folder for each main task on AMI framework?

classification
detection
segmentation
tracking

@alcunha This doesn't seem to have been resolved. Do you have a recommendation as we accelerate ML implementation work?
@f-PLT @mihow Any thoughts?

I think we did resolve this in a conversation! We start implementing in the /src folder. The current directories are:
./src/dataset_tools/
./src/localization/

and then coming soon is:
./src/classification/

The only thing we could consider changing is adding an ami_ml folder under ./src to help with importing during local development. @f-PLT thoughts on how important that is? I would rename the files in the git history as well if we do that.

I'd be in the "rename src to ami_ml" for the reasons mentioned by @mihow as it's pretty common practice.
Not sure how important rewriting the git history would be though given the scale of the project and the small number of commits. I'd definitely merge currently opened pull requests before doing so (whether we rewrite git history or not)

Can this issue be resolved? If not, what is left?


Validate token in the webhook

[x] The token was sent in the HTTP Authorization header with “Bearer” scheme
[x] The token is valid JSON that conforms to the JWT standard (see references)
[x] The token contains an issuer claim with value of https://api.botframework.com
[x] The token contains an audience claim with a value equivalent to your bot’s Microsoft App ID.
[x] The token has not yet expired. Industry-standard clock-skew is 5 minutes.
[ ] The token has a valid cryptographic signature with a key listed in the OpenId keys document retrieved in step 1, above.

I would like to attempt to help out. Is there an IRC channel or Matrix group for this?

@predatorian3 Thanks for your interest. We don't any such communication channel for now. We can make one if you are interested

@tachyons I'm also wondering if we could make the connector configuration a little more flexible so you could use a token generated by Microsoft Teams for custom bots, without the need for an app ID and secret?

Sure, I do not have azure or Microsoft team account at this moment. So it may take some time PRs are welcome


nickname issue

when creating a user, the given nickname is overwritten with a randomly generated nickname. will update relevant files for proper handling.

Links to code changes can be found in 2-nickname-issue


Add JD-GUI

JD-GUI, available from https://github.com/java-decompiler/jd-gui/releases

Sorry, we are only accepting software that is actively maintained. Please see:

Add guidelines for what packages are acceptable for inclusion


Lepton 3.5 with PT1 windows?

I have Lepton 3.5 + PT1 Board and want to work in Windows.
Have anybody a SW for windows?
Thanks for help

FLIR's official Lepton SDK and viewer app support the PT1/PT2 on Windows: https://lepton.flir.com

Thanks.

Unfortunately, this is no Sdk in the right sense. I need lib for building in c++ application in windows


Update admin_guide.md

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Thanks, @scjane :)


Satisfy puppet-lint

add default case
remove validate_re as it is already validated in the cases
add spec test for cmd set to invalid values

@Phil-Friderici Thanks! :+1:


Compile Doc Tests

I was looking through the code and noticed there ere no tests and all doc tests were disabled. So, I fixed the doc tests and enabled them. :smile:
Fixes #50

Thanks for the PR! The "timing loops" were more like pseudo-code in my mind, but I think it's a great idea to test them :+1:. I left a bunch of comments :smiling_imp:.

I think I addressed all your comments :smiley:
I originally wanted to use full paths everywhere so people knew this was from std, by the way. I don't think that's really necessary, though, so I changed it to (hidden) imports.

Thanks! :+1:


Sequence tagging

How can I find an example of sequence tagging in the demo (https://instructions.apps.allenai.org/#data). There is no such task in the dope-down menu

@yeganehkordi can you take this?

what do you mean? Do you mean there is no such task in the data and you want to build it?

I'm not sure but we may have some under another category. Let me check it out!

in the paper, it is mentioned that  sequence labeling is among the tasks

In the paper, sequence tagging is an umbrella term for different tagging tasks. We have two categories for tagging tasks which are Keyword Tagging and Pos Tagging. You can see all of our categories in the hierarchy.
Pos Tagging is probably the best representative of sequence tagging. Here are some tasks: task345_hybridqa_answer_generation, task583_udeps_eng_coarse_pos_tagging, and task1167_penn_treebank_coarse_pos_tagging
To see all of the tasks in a category you can use the demo or the readme file.


connect R with mdf file

It's possible to connect R to mdf file? (sql server mdf file)

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

ID: 65ee57e7-f1a1-3ea5-b188-41af8106ac92
Version Independent ID: 08a2d04e-9ac5-ca1e-49fa-3441ea39b672
Content
Content Source
Service: unspecified

In the "Add a database connection" section, the Connection Properties dialog has an option for "Attach a database file" which might do what you want.
@jflam Can you comment on this option?

yes , I tried it many times but  the connection filed

How did the connection fail? What was the error message?

@RawanRadi Any further input here? If it's no longer an issue then we can close the issue.

yes this error message

@jflam Any comments?

@RawanRadi On further investigation, this appears to be a product bug. In that case, please file an issue on https://github.com/Microsoft/rtvs/issues so the engineering team can follow up with you directly. When creating the issue, include a link to this present issue, https://github.com/MicrosoftDocs/visualstudio-docs/issues/639.
Thanks. In the meantime, I'm closing this issue here in the docs repo.


Removes specific version of cri.

...nanoc complained about the 2.3 version of cri and bundler seemed to use 2.6 anyway. Removing the version works fine. (For me...)
UPDATE
Gets this warning:
WARN: Unresolved specs during Gem::Specification.reset:
    cri (~> 2.3)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.

Seems to me that cri is not used at this point. I don't understand why.

~> 2.3 includes 2.6.

Yep - it puzzles me. I updated the comment with the warning I get.

I've always had this warnings. Typically, upgrading nanoc upgrades cri and then you have 2 different versions of cri and you get the warning. Uninstalling the older one solves it. But it did it every single time the scenario mentioned above happened.

Aha - that explains it. Does it need to have av version in the gemspec?

I’ve seen this issue multiple times, and not just with nanoc. The cause is unclear; some people suggest gem cleanup cri or bundle clean --force.
Are you running with bundle exec? Do you get the issue with bundle exec too?
In any case, I’d say that the specific version of cri is correct; nanoc requires cri ~> 2.3.

I’ll close this PR for now, because it’s not the proper solution.


Asrc 30: Add ADL notes.

Added ADL Notes for the Functional Status variable as well as making changes to support reference information.

There are multiple Checkstyle warnings when building this branch.

The image does not have a transparent background, causing a white square.


Answer_50 has a problem

In the description, the morphological operation is dilating before eroding.  And we have the same problem with open operation.
File: ImageProcessing100Wen/Question_41_50/answers_py/answer_49.py, answer_50.py

我刚刚看了一下，好像确实是写反了。yoyoyo-yo那里也写反了。你可以去yoyoyo-yo/Gasyori100knock那里提一下。因为原作者是他。


Update to Senzing 3.7.0

Pull requests:

https://github.com/Senzing/senzingapi-runtime/pull/62
https://github.com/Senzing/senzingapi-runtime/pull/63
https://github.com/Senzing/senzingapi-runtime/pull/64


Allow bitwise test on undefined

TypeScript Version:  2.8.0-dev.20180228
Search Terms: undefined strictNullChecks bitwise and or
(ref: https://github.com/Microsoft/TypeScript/pull/22088#issuecomment-367531430)
Code
const enum Flags { A = 2 ** 1, B = 2 ** 2 }
function f(flags?: Flags) {
    if (flags & Flags.B) {
    }
}

Expected behavior:
No error. & and | work well on undefined values: undefined | 2 is 2, undefined & 2 is 0. Contrast with undefined + 2 which is NaN.
Actual behavior:
src/a.ts(3,9): error TS2532: Object is possibly 'undefined'.

It's possible 0 and undefined are intended to have the same semantics in this function, but we really don't know. Arguably the signature should be flags: Flags = 0 if that's the case


What Is New Update lol

What is your question?
So Whats The New Update?

new stuffs and softcode achiv


Latex comments broken on reflow selection

Hi,
I have not a gif but this issue is easily reproducible.
When I comment a long line with Latex (comment starts with %) and then run reflow selection, the comment is truncated (reflown) but only the first part is commented. The following new lines are not commented.
I tested only Latex but maybe this issue affects other languages as well.
Thanks

This issue was moved to atom/atom#18030


Annotations and future value properties

Just to check that there are enough extensibility options in the grammar....
imagine in future it's desired to add an explicit constraint on string length, or maybe able to specify that an integer must satisfy a constraint, do you envision using syntax such as the following:
short_string (@length 0..10) : string
odd_int (@satisfies $ % 2 == 1) : integer

Or do you think some other option, possibly non-attribute based, would be used?

That's interesting, but ultimately we need to realize when we are getting into programming language territory. I was originally thinking that locally a programmer could pass callback functions into the JCR processor such that the callback is called when odd_int is evaluated.
Setting this up in the JCR is interesting. Perhaps another way to do this:
odd_int @(check-code my_code) : integer

# code my_code(ruby)
# code my_code: def my_def data
# code my_code:   return data % 2
# code my_code: end

However, I don't think we have to work this out now... though I might include a section in the appendix discussing it.

Just thinking about this a little more, a better syntax might be:
odd_int @(check-code my_code) : integer

# code my_code(ruby-2.0)
## def my_def data
##   return data % 2
## end

JCRCC targets this (although it needs a better write up still)


Create Xamarin.Mac sample app

Demonstrate how to use the library with Xamarin.Mac

Relies on adding the ability to use ASH without SQLite. Not 100% sure how we'll achieve this.

You can create a new ISyncTable implementation that doesn't rely on SQLite.  You still need to do some sort of offline-cache, but it's up to you how that is implemented.  We provide a SQLite version.

Update -
We've decided that we'll look to support macOS and WPF in 1.2. Once we've support we'll write some sample apps.


How to use Identity Roles from AD to authorize user against some API Controllers/Actions

Is it possible to use something like?
[Authorize(Roles = "Administrators, Content Editor")]

https://github.com/Azure-Samples/active-directory-dotnet-webapp-roleclaims


maybe change h2 in template to h1 as to be semantically correct in the final document

Oops, sorry for the duplication. Closing in favour of the more verbose https://github.com/contributoragreements/ca-cla-chooser/issues/43


Golang - incorrectly checks imports for misspelt words

package main

import (
	"github.com/imdario/mergo"
)

reports imdario and mergo as misspelt words. Ideally it should be possible to turn on only parsing comments in a file.

You are right.  This is one of the challenges of having a generic spell checker.  It is not aware of imports and third party libraries (which should not be checked because you do not have control of them).
It would be awesome if cspell was fully language aware, then checking only your could and not some third party import would be easier.
It is possible to add per language regular expressions to include / exclude text to be checked.

The enhancement here is to be able to ignore 3rd party imports.


[Critical] Distributed Testing Should Not Use a Distributed Sampler

🐛 Bug
This is a fairly important bug report that I've been meaning to make for a while.
In general, it is incorrect to try to do testing with a distributed sampler. This is because the distributed sampler is either going to mix in already processed samples or drop samples in order to make the number of batches divide evenly on the number of GPUs.
This is fine when you're doing training because you just want a bunch of data and you arent too picky about it, and its usually fine when you're doing validation and you just want to get a sense of the model performance.
But for testing those are numbers that are potentially going into your paper which you're going to report to the world, and if distributed sampler was repeating or dropping samples, your dataset averages are going to be incorrect. So basically PL is, by default, contributing to the reporting of incorrect results.
To make matters worse, there's no easy way to opt out of this. You need to tel PL not to replace any samplers, then add the samplers for train and val yourself.
The fix for this is to make distributed testing opt-in and false by default. I recommend changing the replace_sampler_ddp parameter to take a string or enum in addition to bool, it can be something like

replace_sampler_ddp value
meaning

False
No distributed samplers

True
All distributed sampler

train
Only training dataloader gets a distributed sampler

train_val
Train and val DLs get distributed samplers

with the default being train_val
Additional context
As always I'm happy to PR this
More context in a slack discussion here (no idea if that link will work):
https://pytorch-lightning.slack.com/archives/CRBLFHY79/p1622595393383300
Note that the larger the dataset the more of an effect this will have (and the few GPUs)
I think this is a very important bug to get fixed because most people won't notice it, their results will just be off and they'll never know. This can make results artificially better or worse.

Actually just following up on something I read on torchmetrics, would it be possible to incorporate join into PLs loop somehow?

Yeah I can PR the proposed API changes if you guys are interested in that approach, that part is simple. The join idea is interesting but it would require some investigation to get it right

Dear @Queuecumber,
Here are my recommendation for this issue:

Let's open a PR to improve documentation and add a section paper submissions with Lightning and add tips around the problem you just raised

I believe  replace_sampler_ddp is more a problem for test than validation as it is usually the dataset used for paper submission.
Small note: In the case where no distributed sampler is used in a distributed setting, TorchMetrics Metric shouldn't be synced as entire dataset is processed by all processes.

Ultimately, I believe supporting join for validation and test would definitely be the safest solution.

Best,
T.C

Dear @Queuecumber,
Here are my recommendation for this issue:
1. Let's open a PR to improve documentation and add a section `paper submissions with Lightning` and add tips around the problem you just raised

Yeah we should have this in the docs, I also recommend the proposed API change as it makes it possible to turn of test-time auto distributed sampler, there's currently no easy way to do that.

2. I believe  `replace_sampler_ddp` is more a problem for `test` than `validation` as it is usually the dataset used for paper submission.
   Small note: In the case where no distributed sampler is used in a distributed setting, TorchMetrics Metric shouldn't be synced as entire dataset is processed by all processes.

Correct

3. Ultimately, I believe supporting `join` for `validation` and `test` would definitely be the safest solution.

I'd love to see something like this but I have no idea how to implement it

Best,
T.C

I should be able to make the PR this week

For reference, here's the prior issue for DDP join: https://github.com/PyTorchLightning/pytorch-lightning/issues/3325
however for testing, why do we need DDP at all since there are no grads that need to be synced

Ok so it sounds like join may not work out any time soon

however for testing, why do we need DDP at all since there are no grads that need to be synced

Correct, so join isn't even necessary here, but there's still a distributed sampler in play and metric syncing would been to be handled right? e.g, if process A had 4 batches and process B had 5 then process B would hang trying to sync it's metrics


v1.41.1

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@martinRenou It would be great to have the most recent version of grpcio-tools available on conda-forge, I would appreciate your review.


creating a list of tasks remaining

[ ] script01-compare 10m sentinel to Ouchterlony (rasterization and comparison)
[ ] patch-based metrics in script02 (depending on what the question is)

[ ] obtain data from Google Earth Engine


Page: Paper count tags are off by one.

yes, this should be solved as soon as #14 is done

fixed by switching to bib as source for the anthology


Ensure that v5 works with the Prototype Kit

What
Why
Who needs to work on this
Who needs to review this
Done when
### Tasks
- [ ] https://github.com/alphagov/govuk-frontend/issues/3972
- [ ] https://github.com/alphagov/govuk-frontend/issues/3759
- [ ] https://github.com/alphagov/govuk-frontend/issues/3484

Going to close this one with everything working in fresh prototypes 🙌
The Prototype Kit has a couple of backwards compatibility issues still. For example, older prototypes that don't expect window.GOVUKFrontend to be deferred in classic <script> tags

https://github.com/alphagov/govuk-prototype-kit/issues/2293


Feature request: Show popup text on fixed location on map

It would be nice to have the option for popup text to be shown in a fixed location, i.e the upper left of the map, rather than always above the feature when clicked.

Hi, thanks for the suggestion. However, this quickly turns very application specific. If you want this functionality, you can add/show whatever DOM element you need in your application, and you can have full control over where it will appear, etc.
If you want it inside the map, but in a corner, it sounds like you should look at making a control, which can easily be added. In fact, I would not be surprised if there is a plugin that already does something like that.

And to add to what @perliedman said it is fairly easy to just specify some custom CSS rules for the default popup and put it in a fixed position wherever you like on the map.

You're right, using a control worked for me. For reference, I ended up doing something similar to this example (in case anyone needs something similar): http://leafletjs.com/examples/choropleth/


DLP column missing

[Enter feedback here]
it would be good to add a column for DLP - DLP for teams does not work with an on-premises mailbox.

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

ID: 8456689d-6f04-fa5e-4f51-f413cb0b9d89
Version Independent ID: e9b85126-0db7-4378-ad44-514e52f9fde1
Content: How Exchange and Microsoft Teams interact - Microsoft Teams
Content Source: Teams/Exchange-Teams-interact.md
Service: msteams
GitHub Login: @dstrome
Microsoft Alias: dstrome

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Prioritizing full functionality of watchers and expression editor (Not supported)

Can you say C# plugin version? From here(where SNAPSHOT)

Looks like i already fixed this issue.

I updated and recheck again. Be patient. :)

You need update .NET plugin too (better call About -> Check For Updates)

Yeah I'm updating everything always :)

Can you report next issues here ? https://github.com/consulo/consulo-csharp/issues
Its really hard to find correct issues of C# plugin

I will close this issue due i cant reproduce. If you reproduced please report it here
https://github.com/consulo/consulo-csharp/issues


NOJIRA peoplesoft term

Year (https://docs.oracle.com/javase/8/docs/api/java/time/Year.html)
or
ServerConfigurationService uct_term

@TurRil Cheers!