profile
viewpoint
Microsoft microsoft Redmond, WA https://opensource.microsoft.com Open source projects and samples from Microsoft

microsoft/AcademicContent 1946

Free tech resources for faculty, students, researchers, life-long learners, and academic community builders for use in tech based courses, workshops, and hackathons.

microsoft/accessibility-insights-web 496

Accessibility Insights for Web

microsoft/25-days-of-serverless 380

Repository responsible for 25 days of Serverless challenges

microsoft/AaronLocker 324

Robust and practical application control for Windows

microsoft/0xDeCA10B 223

Decentralized & Collaborative AI on Blockchain

microsoft/AADConnectConfigDocumenter 134

AAD Connect configuration documenter is a tool to generate documentation of an AAD Connect installation.

microsoft/acceleratoRs 132

Data science and AI solution accelerator suite that provides templates for prototyping, reporting, and presenting data science analytics of specific domains

microsoft/2D-TAN 118

AAAI‘20 - Learning 2D Temporal Localization Networks for Moment Localization with Natural Language

microsoft/ABAP-SDK-for-Azure 86

ABAP Libraries for SAP native Integration with Azure Services

microsoft/2LCS 64

Lifecycle Services Companion App for administrators

push eventmicrosoft/boll

Ken Chau

commit sha ed56c4eabf0c24a97aa6e3e5bd709320576cc29b

applying package updates

view details

push time in a few seconds

Pull request review commentmicrosoft/botbuilder-js

Move QnAMaker/Luis components into botbuilder-ai

+/**+ * @module botbuilder-ai+ */+/**+ * Copyright (c) Microsoft Corporation. All rights reserved.+ * Licensed under the MIT License.+ */++import { StringExpressionConverter, IntExpressionConverter, NumberExpressionConverter, BoolExpressionConverter, ArrayExpressionConverter, ObjectExpressionConverter, EnumExpressionConverter } from 'adaptive-expressions';+import { QnAMakerRecognizer } from './qnaMakerRecognizer';+import { QnAMakerDialog, QnAMakerDialogActivityConverter } from './qnaMakerDialog';+import { RankerTypes } from './qnamaker-interfaces/rankerTypes';++/**+ * Declarative components in QnAMaker.+ */+export class QnAMakerComponentRegistration {+    public getDeclarativeTypes(_resourceExplorer: any) {

We don't want to introduce dependency to botbuilder-dialogs-declarative into botbuilder-ai-orchestrator, so cannot add return type of DeclarativeType here.

chon219

comment created time in a few seconds

PullRequestReviewEvent

startedmicrosoft/TypeScript

started time in a few seconds

startedmicrosoft/cascadia-code

started time in a few seconds

Pull request review commentmicrosoft/botbuilder-js

Move QnAMaker/Luis components into botbuilder-ai

  */  import { BoolExpressionConverter, NumberExpressionConverter, StringExpressionConverter } from 'adaptive-expressions';-import { AdaptiveTypeBuilder } from 'botbuilder-dialogs-adaptive';-import { BuilderRegistration, ComponentRegistration, ResourceExplorer } from 'botbuilder-dialogs-declarative';  import { OrchestratorAdaptiveRecognizer } from './orchestratorAdaptiveRecognizer'; -export class OrchestratorComponentRegistration implements ComponentRegistration {-    private readonly _builderRegistrations: BuilderRegistration[] = [];-    private _resourceExplorer: ResourceExplorer;--    public getTypeBuilders(): BuilderRegistration[] {-        return this._builderRegistrations;-    }--    public constructor(resourceExplorer: ResourceExplorer) {-        this._resourceExplorer = resourceExplorer;--        this._builderRegistrations.push(-            new BuilderRegistration('Microsoft.OrchestratorRecognizer', new AdaptiveTypeBuilder(OrchestratorAdaptiveRecognizer, this._resourceExplorer, {+export class OrchestratorComponentRegistration {+    public getDeclarativeTypes(_resourceExplorer: any) {

We don't want to introduce dependency to botbuilder-dialogs-declarative into botbuilder-ai-orchestrator, so I have to use any instead of ResourceExplorer here.

chon219

comment created time in a minute

PullRequestReviewEvent

startedmicrosoft/Msdyn365.Commerce.Online

started time in 2 minutes

issue commentmicrosoft/botbuilder-tools

Dispatch create fails with Cannot find model expert in the specified application version

Hi guys, thanks a lot for your help !!! @tsuwandy, I just sent you an email with the .dispatch file and the json files in my dispatch folder. Let me know if you need anything else.

datarocker974

comment created time in 2 minutes

push eventmicrosoft/boll

Ken Chau

commit sha 2a81b59b80cccc665eafc9b78302df3497ba963f

applying package updates

view details

push time in 2 minutes

startedmicrosoft/react-native-code-push

started time in 3 minutes

startedmicrosoft/CNTK

started time in 3 minutes

Pull request review commentmicrosoft/botbuilder-js

Added useBotState()

+/**+ * @module botbuilder+ */+/**+ * Copyright (c) Microsoft Corporation. All rights reserved.+ * Licensed under the MIT License.+ */++import { BotAdapter } from './botAdapter';+import { BotState } from './botState';+import { RegisterClassMiddleware } from './registerClassMiddleware';++export class AdapterExtensions {+    /**+     * Adds middleware to the adapter to register one or more BotState objects on the turn context.+     * The middleware registers the state objects on the turn context at the start of each turn.+     * @param botAdapter The adapter on which to register the state objects.+     * @param botStates The state objects to register.+     */+    public static useBotState(botAdapter: BotAdapter, ...botStates: BotState[]): BotAdapter {+        for (const botState of botStates) {+            const key = botState.constructor.name;

We may have multiple State instances extending BotState like UserState and ConversationState, but there is only one instance for each kind of state in a dialog manager, which will be consumed at the onTurn() method of DialogManager or somewhere else.

chon219

comment created time in 4 minutes

PullRequestReviewEvent

issue openedmicrosoft/vscode-arduino

Library search, Serious lack of performance and visual feedback!

I absolutely love vscode with Arduino for everything 10 stars for that!

But the issue is with the library search... Im very sorry to say this but Holy Cow i have never seen a worst implemented search box, which made me want to go here and post this after being frustrated with it for so long. And maybe this post can help someone else frustrated that thinks that their is something wrong with their libraries/setup.

--Simple Visual that are truly needed without anyone having to say this --

  1. There is NO visual indication if it is searching!
  2. There is NO visual indication if finished searching! (How long do we wait? XD)
  3. There is NO visual indication of a button to press(which makes me believe that it auto searches, which makes the above two points more frustrating!)

--Bugs-- Other than those actual visual flaws, there are bugs but of course they are relativly more unexpected to fix. Atleast i can say what they are for future reference.

  • Searching for a library, sometimes they don't show up(may be because of the visual flaws stated above, and maybe we have to wait for example 10min before they show up, well we don't know that since it's impossible to say if it still searching XD).
  • Temporary Solution 1: Refresh Library Index multiple times and search again or Close and reopen visual studio multiple times combining pressing refresh library index and clearing search box and retyping... Repeat all of those step multiple times until it finds your wanted search result.
  • Temporary Solution 2: If you have imported on previous projects and want to avoid the pain of going through the library manager searching, copy and paste from .vscode folder the libs you need.

created time in 4 minutes

push eventmicrosoft/boll

Ken Chau

commit sha c8946293d1814c64e256e74824f03c0c82ea4dd5

applying package updates

view details

push time in 4 minutes

issue openedmicrosoft/vscode-java-installer

v0.3.10 error win32 x64

:warning:Please attach %TEMP%\vscode-java-installer\log.txt and %TEMP%\vscode-java-installer\AdoptOpenJDK-MSI.log for more details.

version: 0.3.10 env:

JAVA_HOME: undefined
PATH:
"C:\Program Files (x86)\Common Files\Oracle\Java\javapath
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\WINDOWS\Sys"
C:\Program Files\Java\jdk1.8.0_241\bin
C:\Program Files\Java\jre1.8.0_241\bin
C:\WINDOWS\system32\config\systemprofile\.dnx\bin
C:\Program Files\Microsoft DNX\Dnvm\
C:\Program Files\Microsoft SQL Server\130\Tools\Binn\
C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\
C:\xampp\php
C:\ProgramData\ComposerSetup\bin
C:\WINDOWS\System32\OpenSSH\
C:\Program Files (x86)\Dev-Cpp\MinGW64\bin
C:\Program Files\Git\cmd
C:\Users\Noor Links\AppData\Local\Programs\Python\Python38\Scripts\
C:\Users\Noor Links\AppData\Local\Programs\Python\Python38\
C:\Users\Noor Links\AppData\Local\Microsoft\WindowsApps
C:\Program Files\JetBrains\PyCharm Community Edition 2020.1.1\bin
C:\Users\Noor Links\AppData\Local\atom\bin
C:\Users\Noor Links\AppData\Roaming\Composer\vendor\bin
C:\Users\Noor Links\AppData\Local\Microsoft\WindowsApps

D:\Microsoft VS Code\bin
JDKs:
C:\Program Files\Java\jdk1.8.0_241	env.PATH,WindowsRegistry,WindowsRegistry,DefaultLocation

log:

[14:25:26] AdoptOpenJDK-11-x64
[14:49:52] RequestError: Error: read ECONNRESET
[14:49:52] Retry downloading ... [1]
[15:30:06] Download JDK ... [Completed]
[15:30:06] Install JDK
[15:30:06] Installing AdoptOpenJDK-11-x64...
[15:30:07] Error occurred
[15:30:07] Error: Command failed with exit code 1619: C:\WINDOWS\System32\msiexec.exe /i "C:\Users\NOORLI~1\AppData\Local\Temp\vscode-java-installer\binaries\jdk\11\x64\OpenJDK11U-jdk_x64_windows_hotspot_11.0.8_10.msi" MSIINSTALLPERUSER=1 ADDLOCAL=FeatureJavaHome,FeatureEnvironment,FeatureJarFileRunWith /passive /l*v "C:\Users\NOORLI~1\AppData\Local\Temp\vscode-java-installer\AdoptOpenJDK-MSI.log"
This installation package could not be opened.  Verify that the package exists and that you can access it or contact the application vendor to verify that this is a valid Windows Installer package.



created time in 4 minutes

startedmicrosoft/qlib

started time in 5 minutes

startedmicrosoft/maro

started time in 6 minutes

issue openedmicrosoft/WSL

Der Remoteprozeduraufruf ist fehlgeschlagen.

Environment

Win32NT 10.0.20221.0 Microsoft Windows NT 10.0.20221.0

Steps to reproduce

When I start "Ubuntu" from Microsoft Appstore the following will happen: Installing, this may take a few minutes... Der Remoteprozeduraufruf ist fehlgeschlagen. Please create a default UNIX user account. The username does not need to match your Windows username. For more information visit: https://aka.ms/wslusers Enter new UNIX username: user Der Remoteprozeduraufruf ist fehlgeschlagen. Enter new UNIX username: WSL logs:

Expected behavior

Ubuntu installs

Actual behavior

Installing, this may take a few minutes... Der Remoteprozeduraufruf ist fehlgeschlagen. Please create a default UNIX user account. The username does not need to match your Windows username. For more information visit: https://aka.ms/wslusers Enter new UNIX username: user Der Remoteprozeduraufruf ist fehlgeschlagen. Enter new UNIX username:

created time in 6 minutes

push eventmicrosoft/botframework-cli

Fei Chen

commit sha 6ecd1dc964bddc5c2e8eb0b4f2ca1e5930d9b829

fix typo

view details

push time in 6 minutes

push eventmicrosoft/boll

Ken Chau

commit sha 1b4124b55d2fd079b02f09cd9197992469ef0ce2

applying package updates

view details

push time in 6 minutes

issue commentmicrosoft/terminal

error 0x80070002 when launching `powershell.exe'

Just add the path of the power shell to the environment variable

Thank you so much it works!

sadalhayat

comment created time in 7 minutes

PR opened microsoft/vscode-pull-request-github

[WIP] Feature/copy pr link in header

Summary

As discussed in the below issues, this PR attempts to resolve this by adding a copy icon adjacent to the title. When the user clicks the copy icon, the PR URL which is copied to the user's clipboard.

Resolves: https://github.com/microsoft/vscode-pull-request-github/issues/1172 Resolves:https://github.com/microsoft/vscode-pull-request-github/issues/1906

Light (Visual Studio) <em>Extension_Development_Host</em>_-<em>Pull_Request__755</em>—<em>business-intelligence Dark (Visual Studio) <em>Extension_Development_Host</em></em>-<em>Pull_Request__755</em>—_business-intelligence

RFC

  • links is wrapped in <a> tag rather than <button> (currently done this to avoid the inherent styling that comes with <button>)
  • lined usage of navigator to copy to clipboard (unsure if this works on other OS's)
  • Copy icon SVG doesn't have the same contrast for darker themes
  • No clear feedback after the user hovers/clicks the icon

Other solutions thought of

  • Discreetly add a hidden button to the PR title when clicked add to the clipboard
  • After creating the PR automatically add the PR link to the clipboard with a notification (just like VS codeshare does)
+22 -3

0 comment

4 changed files

pr created time in 7 minutes

startedmicrosoft/PartsUnlimited

started time in 7 minutes

push eventmicrosoft/boll

Ken Chau

commit sha 771472246f118989212ac087d4d4aacf2ee797f5

applying package updates

view details

push time in 8 minutes

issue commentmicrosoft/WSL

Option to prevent automatic update of /etc/hostname

Build 20180 or greater has this feature

Setting the host name in /etc/wsl.conf works for me in Windows 10 Version 1909 Build 18363.1082.

$ readelf -p 1 /init | grep -i "network\."
  [   cbb]  network.generateResolvConf
  [  60a3]  network.hostname
  [  6479]  network.generateHosts
cerebrate

comment created time in 9 minutes

push eventmicrosoft/boll

Ken Chau

commit sha c30295ac700b96177c19ded4d9ab7a0b1fbd0dbd

applying package updates

view details

push time in 10 minutes

startedmicrosoft/onefuzz

started time in 11 minutes

push eventmicrosoft/boll

Ken Chau

commit sha ff4c841e8eadbfe6bc25d19cbf265be5aff3577e

applying package updates

view details

push time in 12 minutes

more