fix: expose oob role and event

@janrtvld your DCO sign-off failed. https://github.com/hyperledger/aries-framework-javascript/pull/990/checks?check_run_id=7989213031
Could you fix it?

@janrtvld your DCO sign-off failed. https://github.com/hyperledger/aries-framework-javascript/pull/990/checks?check_run_id=7989213031
Could you fix it?

I was about to merge it but I have a doubt:  is it OK the sign-off with<EMAIL_ADDRESS>or should it be signed-off with an actual e-mail account?

@janrtvld your DCO sign-off failed. https://github.com/hyperledger/aries-framework-javascript/pull/990/checks?check_run_id=7989213031
Could you fix it?

I was about to merge it but I have a doubt: is it OK the sign-off with<EMAIL_ADDRESS>or should it be signed-off with an actual e-mail account?

I don't think it matter much here.


The datetime mode doesn't display the year of the date I selected

The date time mode doesn‘t display the year of the date I selected, even if I have selected a future year.

looks like it is actual for dark mode

like this


GCC-unwrapped 11.3.0 is not present in nixos channel 22.11 on aarch64 architecture

Issue description
I have installed https://releases.nixos.org/nixos/22.11/nixos-22.11.4773.ea4c80b39be4/nixexprs.tar.xz and i found gcc-unwrapped version mismatch and while checking nix-tree i found that as part of nix installation wrong gcc 9.5 is installed and the NIX_CC env variable is also set to 9.5.0
Seems like because 22.11 channel dont have separate version for aarch64 it is not working but when i try to use x86_64 the gcc version is correct.
how ever when i use https://releases.nixos.org/?prefix=nixos/22.05-aarch64/ chhanel i am getting correct gcc version that is 9.3.0 which is mentioned in the documentation.
Steps to reproduce
Linux architecture is aarch64-linux
Install https://releases.nixos.org/nixos/22.11/nixos-22.11.4773.ea4c80b39be4/nixexprs.tar.xz
then check the gcc-unwrapped package and it is not 11.3.0 rather it is 9.5.0
which is causing
whereis gcc
gcc: /usr/lib/gcc /usr/share/gcc /nix/store/f38iyls39nx3j2am87q0ni605nb152gv-gcc-wrapper-9.5.0/bin/gcc /nix/store/q7hw7f9lldzlizrad4xaqb1cm5v4qwqh-gcc-9.5.0/bin/gcc
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

system: "aarch64-linux"
host os: Linux 5.19.0-45-generic, Ubuntu, 22.04.2 LTS (Jammy Jellyfish), nobuild
multi-user?: no
sandbox: yes
version: nix-env (Nix) 2.17.0
nixpkgs: /home/myfolder/.nix-defexpr/channels/nixpkgs

@aacebedo Could you please suggest please


Brace constructing a toml::value inserts a new array element in GCC 10.2.1

toml11v3.7.0
The toml2 variable in the below example is copy constructed incorrectly and has an empty array inserted on GCC but is correctly constructed on clang. The error looks to be to do with the toml::value std::intializer_list constructor std::enable_if being too broad (toml/value.hpp:840).
  #include <iostream>
  #include <sstream>

  #include "toml.hpp"

  int main()
  {
      auto stream = std::istringstream{"a = 1"};
      auto toml1 = toml::parse(stream);
      auto toml2 = toml::value{toml1};
      auto toml3 = toml::value(toml1);
      std::cout << toml1 << toml2 << toml3;
      return EXIT_SUCCESS;
  }

$ g++ --version
g++ (GCC) 10.2.1 20200804 (Red Hat 10.2.1-2)
./mva_gcc
a = 1
[[]]
a = 1
a = 1

$ clang++ --version
clang version 10.0.1 (Red Hat 10.0.1-4.el7)
./mva_clang
a = 1
a = 1
a = 1

I am also having this issue

This is really not a nice problem to run into when initializing a class member with the result of parse(), e.g.
struct config_file {
  explicit config_file(const char* filename) : root_{toml::parse(filename)} {}

  const toml::value root_;
};

results in root_ being an array, completely unexpectedly.

This issue is difficult to resolve due to the syntax of C++, and it seems that other libraries have not been able to fully resolve it either. This includes the very well-known library, nlohmann/json.
https://json.nlohmann.me/home/faq/#known-bugs
I just released v4.0.0. After considering several approaches, I decided to stop supporting std::initializer_list because of this issue. Aside from unintentionally creating arrays, there is also the problem of not being able to distinguish between a table and nested arrays (I mean, toml::value{{"key1", "value1"}, {"key2", "value2"}}). Considering the negative impact, we concluded that it is somewhat better to require the explicit use of toml::array and toml::table each time if those are needed.
For more detailed explanations, please refer to the documentation.


feat: add render modes for light / dark support in storybook

Description

Updates storybook css import to be default so we get theme-ing
Adds storybook addon to control color scheme to switch between themes

Tasks
KNO-6149

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#106  👈
#105
#104
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @kylemcd and the rest of your teammates on  Graphite

Merge activity

Jun 6, 3:13 PM CDT: @kylemcd started a stack merge that includes this pull request via Graphite.


Fix autobuild failure in gni-crayxc-smp caused by examples/rdma/simpleRdma because of freeing a Smsg and then reusing it in the machine layer.

Original issue: https://charm.cs.illinois.edu/redmine/issues/1623

Autobuild failure: http://charm.cs.illinois.edu/autobuild/old.2017_06_30__01_01/gni-crayxc-smp.txt
The crash has the following stack trace:
#0  0x000000f800000000 in ?? ()
#1  0x00000000201479d5 in PumpNetworkSmsg () at machine.c:2307
#2  0x00000000201495f0 in LrtsAdvanceCommunication (whileidle=whileidleentry=1) at machine.c:3502 #3  0x000000002014963e in AdvanceCommunication (whenidle=1) at machine-common-core.c:1317 #4  CommunicationServer (sleepTime=<optimized out>) at machine-common-core.c:1341 #5  0x0000000020149a1f in CommunicationServerThread (sleepTime=5) at machine-common-core.c:1360 #6  ConverseRunPE (everReturn=everReturnentry=0) at machine-common-core.c:1292
#7  0x0000000020149ee6 in call_startfn (vindex=0x1) at machine-smp.c:408
#8  0x000000002018e0c6 in start_thread (arg=) at pthread_create.c:301
#9  0x00000000204ed379 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
(gdb) frame 1
#1  0x00000000201479d5 in PumpNetworkSmsg () at machine.c:2307
2307	                ack->fnPtr(ack->token);
The ack (of type CmiGNIAckOp_t) is used even after it is released by SmsgRelease.
The GNI Smsg API requires the message to not be used after a call to Gni_SmsgRelease. (and it needs to be either processed or copied before making the call to Gni_SmsgRelease).

Original date: 2017-06-30 21:50:57

Fix: ~~https://charm.cs.illinois.edu/gerrit/#/c/2743/~~ https://github.com/UIUC-PPL/charm/commit/9823be9c42ef44bfd530ff39feb7f03665be88b7
Copied the received ack message into a new message before the call to Gni_SmsgRelease. (and used the new message thereafter).


A JS error popup appears when a redacted file is loaded into the publishing tool

Steps to reproduce:

Redact a file and export from the redaction tool
Load the file into the publishing tool

Expected Behaviour
File is loaded with no errors
Actual Behaviour
The file is loaded, but a popup appears that says "[object file]".  The below stack trace is visible in the console:
jquery.min.js:2 Uncaught TypeError: Cannot read property 'length' of undefined
at updateStats (index.html:1504)
at updateExposurePoints (index.html:1404)
at updateDateRange (index.html:1343)
at HTMLDocument. (index.html:1314)
at e (jquery.min.js:2)
at t (jquery.min.js:2)

@kylemtowle I believe this is correct in the Develop branch.  Do you want to validate it and merge Develop into Master?

I don't get the message now, is it possible for you to upload the file which fices error

I retested on develop and I no longer get the error.  Closing, thanks.


fix: allow for v1.28 in var.initial_k3s_channel .

A very simple bump. Works "on my machine"...
1.28.2 is out, which fixes the regression in 1.28.0/1. Let us play.

It seems a PR has already been opened for this: https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner/pull/995

Oops... you're right.


Search results with custom render throw warnings

Steps

Create a standard Search component with a custom renderer as per docs here: https://react.semantic-ui.com/modules/search#search-example-standard-custom
Define a function that takes in the result and returns a renderable node (with a unique key)

Expected Result

The rendered result nodes should have the key that is passed to them (and no other props)

Actual Result
Each result is instead wrapped in an element (I believe a div) with all result properties passed on to this element as props. This throws two warnings:

Each child in an array or iterator should have a unique "key" prop. Check the render method of Search
Unknown prop <property name 1, 2 3...> on  tag. Remove this prop from the element.

Example here: https://codesandbox.io/s/3rxzrq0rxp

Note - Everything does work fine in terms of expected user interactions (they are both just minor warnings).
A workaround to number (1) is to ensure that the result object has a 'key' property. However, fixing (2) would break the workaround for (1).
I tried looking through the source code to see if I could find the cause/possibly a fix, but it's a bit too advanced for me :(
For example - https://github.com/Semantic-Org/Semantic-UI-React/blob/master/src/modules/Search/SearchResult.js - the key 'content' in defaultRenderer would be the same across all results, which should throw off a warning as they should be unique?
I'll have another read through it all...

Duplicate #1681.


SMILES length

Whether this vae model has limited the longest length of the input SMILES, and has not set it as a hyperparameter that can be changed？

Hey sorry for the delayed reply. The longest length of the input string is hard-coded into the model. The flexibility of this hyperparameter is limited by the kernel size and stride in the convolutional (and de-convolutional) layers within the bottleneck. You could adapt these layer types to allow for longer strings if 125 tokens is too restrictive for your use case.


Build request: pass yum_proxy value to workers

Signed-off-by: Vadim Rutkovsky<EMAIL_ADDRESS>

Looks good, but there are conflicts due to latest merges.

Rebased

Updated release notes.


Rework get_category function

Rework get_category function in order to make it year-independent and to introduce also Esordienti.

Need to work this out by 3/12


GUVNOR-2414: When deleting a file from a project, an error message is shown even though the file is succesfully deleted.

This PR also resolves GUVNOR-2419: After deleting from one project and switching to another, it is not possible to return to the first one.
Depends on: https://github.com/uberfire/uberfire-extensions/pull/219

@paulovmr Great stuff!
+1 to merge.

Merged into 6.4.x.


How to register and use the same sip instance id every time

Hello,
Would it be possible after the initial register to keep the same instance id somehow ? Do i have to save it on local memory or it there any way to use helper.start(settings); without creating a new instance ?
I need this in order to use a data base for push notifications
Thanks !

use shared_preferences


Failed to locate opened application

Hello,
Using Robotframework+appiumLibrary and WinAppDriver, I am trying to launch a Windows Desktop app that is made using WinForms but it is consistently giving me a "Failed to locate opened application window with appId: C:/xxx/xxx/installer-win46.exe, and processId: 280. The app launches successfully and displayed on-screen but this message indicated to me that it is unable to get the sessionId and the framework is unable to interact with it. I checked the Task Manager and found the process and processId matching what WinAppDriver claimed that it cannot locate.
It will also fail at the Tear Down step, saying that "No application is open". Why is it not detecting the app? I saw some other posting about this issue, but they have a workaround for this issue because they are using a full fledged programming language. Is there any workaround for this for Robotframework?
My Robotframework launch script looks like this:
${REMOTE_URL}     http://<IP_ADDRESS>:4723
${APP}  C:/xxx/xxx/installer-win64.exe

	Open Application  ${REMOTE_URL}  platformName=Windows  deviceName=mymachine  app=${APP}  automationName=appium

The below is the Inspect.exe output indicating that the app is a WindowsForm 10 app.
How found:	Mouse move (712,398)
	hwnd=0x00030694 ??bit class="WindowsForms10.Window.8.app.0.34f5582_r6_ad1" style=0x16C80000 ex=0x50101
ChildId:	0
Interfaces:	IEnumVARIANT IOleWindow IAccIdentity
Impl:	Local oleacc proxy
AnnotationID:<PHONE_NUMBER>060300FEFFFFFF00000000
Name:	[null]
Value:	"Management Services"
Role:	title bar (0x1)
State:	focusable (0x100000)
Location:	{l:431, t:377, w:468, h:23}
Selection:
Description:	"Displays the name of the window and contains controls to manipulate it"
Kbshortcut:	[null]
DefAction:	[Error: hr=0x80020003 - Member not found.]
Help:	[null]
HelpTopic:	""
ChildCount:	5
Window:	0x30694
FirstChild:	"Close" : push button : normal
LastChild:	"Close" : push button : normal
Next:	"Management Services" : client : focusable
Previous:	[Error: hr=0x80004005 - Unspecified error]
Left:	[Error: hr=0x80004005 - Unspecified error]
Up:	[null]
Right:	[null]
Down:	"Management Services" : client : focusable
IsContentElement:	false
Other Props:	Object has no additional properties
Children:	"IME" : push button : invisible
	"Minimize" : push button : invisible
	"Maximize" : push button : invisible
	"Context help" : push button : invisible
	"Close" : push button : normal
Ancestors:	"Management Services" : window : moveable,focusable
	"Desktop" : client : focusable
	"Desktop" : window : focusable
	[ No Parent ]

Screenshot:

My environment:
Windows 10 x64
Python 2.7.13
WinAppDriver running on Administrator console
Robot Framework 3.0.2
AppiumLibrary <IP_ADDRESS>
Thanks for any help/info given.

Hi @auyong,
It is possible that the process you launched started a different process that ultimately own the application window you see on screen. The error message you posted seems to indicate that this is the case. You can use the inspect tool or Task Manager to see the process id associated with the application window. It is very likely a different process id than the one you are trying to match. Let us know if this is not the case.
The good news is you can create a session by attaching to this application window. This should enable you to have a working session to perform all the operations you need on WinAppDriver.

Hello @timotiusmargo ,
Thanks for getting back so quickly. I used Task Manager, found the process (which has a different name in the Process tab from the Details tab), right clicked on it-> "go to details" and confirmed that the PID and Process Name in Details tab are the same as the one that is reported by the failure. Please see screenshot:
The main "Process" tab of Task Manager shows a different name for the Process:

Go to Details tab of Task Manager, shows correct Process Name and PID, that matches cmd console error:

So, the question now is, which Process Name is being used by WinAppDriver/AppiumLibrary? WinAppDriver's appium server reported the name for the Details tab in the Task Manager, but if you manually look in the Processes tab, it has a different name.
For attaching to the application window, I am not sure how that can be done in Robotframework using the appiumLibrary, as I do not see any keywords to set the capability. It only has a "Get Capability" keyword.

Hi @auyong
Can you describe a little bit more the architecture of the application that you're trying to automate? Are you installing it when you launch it or is it already installed? Is the Console-5.4.2-win64 application a WinForms application or a console application? Having the application in Task Manager doesn't necessarily imply that that process has a window associated with it.
Is there any way for us to replicate this in house?

Hi @khouzam
Thanks for looking into this. The application that I am trying to automate is an installer. Actually there are multiple ways to install the app. One way is using a setup.exe file that calls a WinForm10 application to do the installation (Inspect.exe output at the top of this thread).
Another way is the xxx_Console-5.4.2-win64.exe file that creates an "MsiDialogCloseClass" window (according to Inspect: see below) to do the installation. However, both ways I tried to automate, I am facing the same error message of "failed to locate opened application window...".
How found:	Mouse move (721,327)
	hwnd=0x000B039A 64bit class="MsiDialogCloseClass" style=0x14CA0000 ex=0x40100
RuntimeId:	"[42.721818.1.-2147483647.721818.-2.0]"
BoundingRectangle:	{l:628 t:315 r:1105 b:338}
ProcessId:	6488
ControlType:	UIA_TitleBarControlTypeId (0xC375)
LocalizedControlType:	"title bar"
HasKeyboardFocus:	false
IsKeyboardFocusable:	true
IsEnabled:	true
IsContentElement:	false
IsPassword:	false
IsOffscreen:	false
ProviderDescription:	"[pid:6232,hwnd:0x0 Annotation:Microsoft: Annotation Proxy (unmanaged:uiautomationcore.dll); Main(parent link):Microsoft: MSAA Proxy (unmanaged:uiautomationcore.dll)]"
Value.IsReadOnly:	false
Value.Value:	"Access Manager <IP_ADDRESS>8 Setup"
IsDockPatternAvailable:	false
IsExpandCollapsePatternAvailable:	false
IsGridItemPatternAvailable:	false
IsGridPatternAvailable:	false
IsInvokePatternAvailable:	false
IsMultipleViewPatternAvailable:	false
IsRangeValuePatternAvailable:	false
IsScrollPatternAvailable:	false
IsScrollItemPatternAvailable:	false
IsSelectionItemPatternAvailable:	false
IsSelectionPatternAvailable:	false
IsTablePatternAvailable:	false
IsTableItemPatternAvailable:	false
IsTextPatternAvailable:	false
IsTogglePatternAvailable:	false
IsTransformPatternAvailable:	false
IsValuePatternAvailable:	true
IsWindowPatternAvailable:	false
IsItemContainerPatternAvailable:	false
IsVirtualizedItemPatternAvailable:	false
FirstChild:	"System" menu bar
LastChild:	"Close" button
Next:	[null]
Previous:	"Welcome to the Access Manager <IP_ADDRESS>8 Setup Wizard" image
Other Props:	Object has no additional properties
Children:	"System" menu bar
	"Minimize" button
	"Maximize" button
	"Close" button
Ancestors:	"Access Manager <IP_ADDRESS>8 Setup" window
	"Desktop" pane
	[ No Parent ]

I did a little more digging and also discovered that by running the xxx_Console-5.4.2-win64.exe file, it also generated 3X Windows Installer processes in the Task Manager. I believe with a high degree of confidence that one of these Windows Installer processes is the owner of this MsiDialogCloseClass window, as I tested by ending the tasks one by one, and the MsiDialogCloseClass window only closed after I closed one of the Windows Installer process.
The suggestion to do "attaching to this application window" by @timotiusmargo , I do not think that it will work for me because of this issue filed by vickywyy (we are both using robotframework):
https://github.com/appium/appium/issues/9106
Thanks

Latest Update:
I am finally able to identify the app using the "Attaching to this application window" technique, in Robotframework.
Here's the code snippet that worked for me:
#Go back to Root (Desktop)
Open Application  ${REMOTE_URL}  platformName=Windows  deviceName=mymachine app=Root  automationName=appium
#Put the App's Name into a variable
${element}  Get Webelement  name="<the Name parameter of your app in Inspect>"
#Open the app using the variable
Open Application  ${REMOTE_URL}  platformName=Windows  deviceName=mymachine  appTopLevelWindow=${element}	 automationName=appium

Thanks for the info and help!

Hello,
It seems my joy is shortlived. Somehow, the "Open Application  ${REMOTE_URL}  platformName=Windows  deviceName=mymachine  appTopLevelWindow=${element}	 automationName=appium" line is failing with "Could not find any recognizable digits". I can workaround it by using the keyword "Run Keyword and Ignore Error" so that the test keeps running.
See the screenshot below. It is pretty obvious ${element} is valid but it encounters the "could not find recognizable digits" when I am trying to point to that app using appTopLevelWindow. Thoughts?

Hi @auyong,
Can you please paste the WinAppDriver.exe logs that you can get from the console? We will need to see what is being passed into WinAppDriver, which command/API endpoint, and the error returned to understand the issue.

Hi @timotiusmargo,
Here is the log:
C:\WinAppDriver>WinAppDriver.exe
Windows Application Driver listening for requests at: http://<IP_ADDRESS>:4723/
Press ENTER to exit.
==========================================
POST /session HTTP/1.1
Accept: application/json
Accept-Encoding: identity
Connection: close
Content-Length: 508
Content-Type: application/json;charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: Python http auth
{"capabilities": {"alwaysMatch": {"deviceName": "ranAuto", "app": "C:/temp/Suite-2017.2-mgmt-win64/Manage/Access Manager/Console-5.4.2-win64.exe", "platformName": "Windows", "appWorkingDir": "C:/testFramework/testScripts"}, "firstMatch": []}, "desiredCapabilities": {"deviceName": "ranAuto", "app": "C:/temp/Suite-2017.2-mgmt-win64/Manage/Access Manager/Console-5.4.2-win64.exe", "platformName": "Windows", "appWorkingDir": "C:/testFramework/testScripts"}}
HTTP/1.1 500 Internal Error
Content-Length: 239
Content-Type: application/json
{"status":13,"value":{"error":"unknown error","message":"Failed to locate opened application window with appId: C:/temp/Suite-2017.2-mgmt-win64/Manage/Access Manager/Console-5.4.2-win64.exe, and processId: 6908"}}
==========================================
POST /session HTTP/1.1
Accept: application/json
Accept-Encoding: identity
Connection: close
Content-Length: 268
Content-Type: application/json;charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: Python http auth
{"capabilities": {"alwaysMatch": {"deviceName": "ranAuto", "app": "Root", "platformName": "Windows", "automationName": "appium"}, "firstMatch": []}, "desiredCapabilities": {"deviceName": "ranAuto", "app": "Root", "platformName": "Windows", "automationName": "appium"}}
HTTP/1.1 200 OK
Content-Length: 111
Content-Type: application/json
{"sessionId":"78D3A0E6-86B4-4194-A98B-DA30B7B89880","status":0,"value":{"app":"Root","platformName":"Windows"}}
==========================================
POST /session/78D3A0E6-86B4-4194-A98B-DA30B7B89880/elements HTTP/1.1
Accept: application/json
Accept-Encoding: identity
Connection: close
Content-Length: 122
Content-Type: application/json;charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: Python http auth
{"using": "name", "sessionId": "78D3A0E6-86B4-4194-A98B-DA30B7B89880", "value": "Access Manager <IP_ADDRESS>8 Setup"}
HTTP/1.1 200 OK
Content-Length: 97
Content-Type: application/json
{"sessionId":"78D3A0E6-86B4-4194-A98B-DA30B7B89880","status":0,"value":[{"ELEMENT":"42.787810"}]}
==========================================
POST /session HTTP/1.1
Accept: application/json
Accept-Encoding: identity
Connection: close
Content-Length: 436
Content-Type: application/json;charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: Python http auth
HTTP/1.1 500 Internal Error
Content-Length: 99
Content-Type: application/json
{"status":13,"value":{"error":"unknown error","message":"Could not find any recognizable digits."}}
==========================================
GET /session/78D3A0E6-86B4-4194-A98B-DA30B7B89880/screenshot HTTP/1.1
Accept: application/json
Accept-Encoding: identity
Connection: close
Content-Type: application/json;charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: Python http auth
HTTP/1.1 200 OK
Content-Length: 293078
Content-Type: application/json
giB0ER887BahaQIWKyucPXsWq1YO3DH26tUrdAg77HzV1T1GjBhxyW5jx5NtzNlms50/fx58oHzHHXdAFQrwQ6qkpOTkyZN4RBqM4I+jgCcU2G0o13lRm0YLtEJhwIABY8eOhcK5c+c2bNiwdetWKEAc3rGlufk8xIM533vvPWPGjIEuMAr4HDp0aOTIkUOGDIGxICZO4/rrr58+fXrPnj0hwhdffLFu3bp33nnn008/PXjwIGrEPKZYBfTCCeCSWVndGXTj7kE8NTNzuP760VOnpl59da9z5y7s2P7F3/72t+LiYgh++PBhVORtFpblA7tDfLBgELDImFCAphtvvBEmCeV//GP3u+8V1365T7ppM0FrYTFdxWyiI3A5oUwQnZW4KVP6Htr8KmN9lXJ7hpoDWgmJG6Ps5vZXq/pOkebOTEpe3SJlM [...]
==========================================
POST /session HTTP/1.1
Accept: application/json
Accept-Encoding: identity
Connection: close
Content-Length: 508
Content-Type: application/json;charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: Python http auth
{"capabilities": {"alwaysMatch": {"deviceName": "ranAuto", "app": "C:/temp/Suite-2017.2-mgmt-win64/Manage/Access Manager/Console-5.4.2-win64.exe", "platformName": "Windows", "appWorkingDir": "C:/testFramework/testScripts"}, "firstMatch": []}, "desiredCapabilities": {"deviceName": "ranAuto", "app": "C:/temp/Suite-2017.2-mgmt-win64/Manage/Access Manager/Console-5.4.2-win64.exe", "platformName": "Windows", "appWorkingDir": "C:/testFramework/testScripts"}}
HTTP/1.1 500 Internal Error
Content-Length: 239
Content-Type: application/json
{"status":13,"value":{"error":"unknown error","message":"Failed to locate opened application window with appId: C:/temp/Suite-2017.2-mgmt-win64/Manage/Access Manager/Console-5.4.2-win64.exe, and processId: 8240"}}
==========================================
GET /session/78D3A0E6-86B4-4194-A98B-DA30B7B89880/screenshot HTTP/1.1
Accept: application/json
Accept-Encoding: identity
Connection: close
Content-Type: application/json;charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: Python http auth
HTTP/1.1 200 OK
Content-Length: 313410
Content-Type: application/json
kzw/+eST1IDsixYt6j/Rt+WmG6kZnX3hhRe6urrOP//8G2+88ciRI93d3VQgO03p+eefpy40veXLl3/hC1+gvsRjjz22cuXK1NRUKre3t7///vtf/OIXW1pahAb9sY99jCamj3QWArEOD/lYxau9cRSCV8ff/va311xzjTBqSUsEZKRqfDy7LRAAYDZx1113LVmyZP78+fPmzaMXfk9Pz3XXXTcwMNDW1vbKK6/ccccd1CZKRXQJzODRhoPKpk2rZJVBpiNxunQc4YGfQiAiiN90dNQY84Qso6OjIyMjw8PD9Obh9OnTn2+IOnnXStEdzGxStu1nKriWXiNn96HtSoUuEhoAMG4gQAMAAAAgYky8AO2tkAbEYpQKY9++fSkpKWvWrBFVOkufLeko7KtXrxb2MBnjH2KDe5Nl4ZOiuVF7MQ36fEvwk [...]
==========================================
POST /session HTTP/1.1
Accept: application/json
Accept-Encoding: identity
Connection: close
Content-Length: 268
Content-Type: application/json;charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: Python http auth
{"capabilities": {"alwaysMatch": {"deviceName": "ranAuto", "app": "Root", "platformName": "Windows", "automationName": "appium"}, "firstMatch": []}, "desiredCapabilities": {"deviceName": "ranAuto", "app": "Root", "platformName": "Windows", "automationName": "appium"}}
HTTP/1.1 200 OK
Content-Length: 111
Content-Type: application/json
{"sessionId":"10419D48-B95B-425B-A8B2-844EDE03D9D6","status":0,"value":{"app":"Root","platformName":"Windows"}}
==========================================
POST /session/10419D48-B95B-425B-A8B2-844EDE03D9D6/elements HTTP/1.1
Accept: application/json
Accept-Encoding: identity
Connection: close
Content-Length: 122
Content-Type: application/json;charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: Python http auth
{"using": "name", "sessionId": "10419D48-B95B-425B-A8B2-844EDE03D9D6", "value": "Access Manager <IP_ADDRESS>8 Setup"}
HTTP/1.1 200 OK
Content-Length: 121
Content-Type: application/json
{"sessionId":"10419D48-B95B-425B-A8B2-844EDE03D9D6","status":0,"value":[{"ELEMENT":"42.329272"},{"ELEMENT":"42.787810"}]}
==========================================
POST /session HTTP/1.1
Accept: application/json
Accept-Encoding: identity
Connection: close
Content-Length: 436
Content-Type: application/json;charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: Python http auth
{"capabilities": {"alwaysMatch": {"deviceName": "ranAuto", "automationName": "appium", "platformName": "Windows", "appTopLevelWindow": {"element-6066-11e4-a52e-4f735466cecf": "42.329272", "ELEMENT": "42.329272"}}, "firstMatch": []}, "desiredCapabilities": {"deviceName": "ranAuto", "automationName": "appium", "platformName": "Windows", "appTopLevelWindow": {"element-6066-11e4-a52e-4f735466cecf": "42.329272", "ELEMENT": "42.329272"}}}
HTTP/1.1 500 Internal Error
Content-Length: 99
Content-Type: application/json
{"status":13,"value":{"error":"unknown error","message":"Could not find any recognizable digits."}}
==========================================
GET /session/10419D48-B95B-425B-A8B2-844EDE03D9D6/screenshot HTTP/1.1
Accept: application/json
Accept-Encoding: identity
Connection: close
Content-Type: application/json;charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: Python http auth
HTTP/1.1 200 OK
Content-Length: 279546
Content-Type: application/json
I1NEp2kbIQnORm1dqynQUaJVdlve9PioNbP2iTkY99U+YY4KI0eP2yYi7n9vjTZJ00/27pk0dhRtHk0QBEEQBEG0B+0rQFcsm9MusqdVv+2VTzvBhqtD6jNBEAQRVVBdEyecgFOJC36YROw7efIk+qCIXF9ff6jqsObxujXv3/f8DaoSE6/p06cPb6Q1Nja6OAMHDvznf/7nvLy80aNHDx8+HAq4hrqsrAyagAMcUYPu0aPHgw8+OGrUqGuvHX3//fejJv7FF19AFXD99df/7Gc/mzp1anJK6qjR1+bn52NHFRUVbGmzpu3du/fo0aPQZMyYMffeMyM1NfWWSTdPmzYN3cCOAjoTvjUtLi5u9uzZ0Be45c+4t2fPnmDcvnUbOLBHAmps72m3u9uNN96Ym3NbctKwvLumQw7gA6necuvNE7+fOWLEi [...]

Hi @timotiusmargo
did you find anything that looks out of place within the logs?

Hi @auyong,
Below is the line that I am interested in:
POST /session HTTP/1.1
Accept: application/json
Accept-Encoding: identity
Connection: close
Content-Length: 436
Content-Type: application/json;charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: Python http auth
{"capabilities": {"alwaysMatch": {"deviceName": "ranAuto", "automationName": "appium", "platformName": "Windows", "appTopLevelWindow": {"element-6066-11e4-a52e-4f735466cecf": "42.329272", "ELEMENT": "42.329272"}}, "firstMatch": []}, "desiredCapabilities": {"deviceName": "ranAuto", "automationName": "appium", "platformName": "Windows", "appTopLevelWindow": {"element-6066-11e4-a52e-4f735466cecf": "42.329272", "ELEMENT": "42.329272"}}}
HTTP/1.1 500 Internal Error
Content-Length: 99
Content-Type: application/json
{"status":13,"value":{"error":"unknown error","message":"Could not find any recognizable digits."}}

The appTopLevelWindow capabilities needs to be the window handle (e.g. 0xB822E2) that is typically retrieved by getting the window handle attribute from the Access Manager element you found. Consider the following example from https://github.com/Microsoft/WinAppDriver#attaching-to-an-existing-app-window:
var CortanaWindow = DesktopSession.FindElementByName("Cortana");
var CortanaTopLevelWindowHandle = CortanaWindow.GetAttribute("NativeWindowHandle");
CortanaTopLevelWindowHandle = (int.Parse(CortanaTopLevelWindowHandle)).ToString("x"); // Convert to Hex

// Create session by attaching to Cortana top level window
DesiredCapabilities appCapabilities = new DesiredCapabilities();
appCapabilities.SetCapability("appTopLevelWindow", CortanaTopLevelWindowHandle);

In your test, you seemed to provide the element id as top level window. Can you replace it value with the element window handle attribute?

hi @timotiusmargo
I am also facing the same issue as @auyong .Here are the error logs -
==========================================
POST /session HTTP/1.1
Accept-Encoding: gzip,deflate
Connection: Keep-Alive
Content-Length: 178
Content-Type: application/json; charset=utf-8
Host: <IP_ADDRESS>:4723
User-Agent: Apache-HttpClient/4.4.1 (Java/1.8.0_121)
{"desiredCapabilities":{"app":"C:\temp\xyz\Desktop-abc\QAConsole\QAconsole.exe","takesScreenshot":true,"platformName":"Windows","deviceName":"WindowsPC","platformVersion":"1.0"}}
HTTP/1.1 500 Internal Error
Content-Length: 183
Content-Type: application/json
{"status":13,"value":{"error":"unknown error","message":"Failed to locate opened application window with appId: C:\temp\xyz\Desktop-abc\QAConsole\QAconsole.exe, and processId: 6912"}}
As you have mentioned process id associated with the application window do not match. In the task manager PID is 2880 and but  WinAppDriver PID is 6912 .

Windows10 x64
Java.version: 1.8
WinAppDriver running on console
AppiumLibrary 5.0.0
Thanks
Deepak

hi @timotiusmargo @auyong
Can you help me to resolve this issue?
Thanks
Deepak

Hi @DeepakJadon,
As suggested above, you need to attach to an existing window once your application window is launched. Typically your application startup will look like below:

Create a session for your application (this will launch the process and the main window even though locating window may fail)
Wait until your application window shows up
Create a desktop session through which you can locate the application window you are interested
Retrieve the window handle of the application window you located
Create a session by providing the application top level window above

Thanks @timotiusmargo - Let me try your solution!

Hi @timotiusmargo
Case 1
I am using vbscript to launch my application as an administrator and can able to launch app successfully but getting this error ->>>org.openqa.selenium.WebDriverException: Failed to locate opened application window with appId
Case 2
If i directly use the exe of the application , cannot able to launch the application and getting this error ->>> org.openqa.selenium.WebDriverException: The requested operation requires elevation (WARNING: The server did not provide any stacktrace information)
As you said  i need to attached to an existing window once my application is launched. With the vb script i am able to launch ... but getting error [case 1 and case 2] while instantiating the driver
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("platformName", "Windows");
capabilities.setCapability("deviceName", "WindowsPC");
capabilities.setCapability("platformVersion", "1.0");
capabilities.setCapability("app", "Root");
capabilities.setCapability("app", "C:\Users\Desktop\test\console.exe"); [Case 2]
capabilities.setCapability("app", "C:\Users\Desktop\test\final.vbs"); [Case 1 ]
DesktopDriver = new WindowsDriver(new URL("http://<IP_ADDRESS>:4723"), capabilities); [Error while instantiating the driver]
DesktopDriver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);
String Handle = DesktopDriver.getWindowHandle();
WebElement ConsoleWindow = DesktopDriver.findElementByName("Log in");
String QAConsoleTopLevelWindowHandle = ConsoleWindow.getAttribute(Handle);
DesiredCapabilities appCapabilities = new DesiredCapabilities();
appCapabilities.setCapability("appTopLevelWindow",QAConsoleTopLevelWindowHandle);
ConsoleSession = new WindowsDriver(new URL("http://<IP_ADDRESS>:4723"), appCapabilities);
After my application gets launched i need to click on google image button.Here is the snapshot of my application

Whats is wrong with the code?
Thanks Deepak

I tried as above but it does not find the window using FindElementbyName.
Here is what I am trying to do.

1.Launch my application . 2. Wait for a few seconds for the splash screen to go away 3. Attach to the application to login [The login is a dialog with edit fields username and password and a Login button

When I try to reattach, I get an error -  System.InvalidOperationException: System.InvalidOperationException: An element could not be located on the page using the given search parameters..
Here is my code -
`using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium.Appium.Windows;
using OpenQA.Selenium.Remote;
using OpenQA.Selenium;
using System;
using System.Threading;
namespace QA_automation
{
public class QASession
{
protected const string WindowsApplicationDriverUrl = "http://<IP_ADDRESS>:4723";
private const string QAAppId = @"C:\Program Files\myData\mykit\0.1\setup\QA.exe";
private const string QAAppArgs = @"-product=qamode";
    protected static WindowsDriver<WindowsElement> session;
    protected static WindowsElement userName;
    protected static WindowsElement passWord;

    public static void Setup(TestContext context)
    {
        if (session == null)
        {
            DesiredCapabilities appCapabilities = new DesiredCapabilities();
            appCapabilities.SetCapability("app", QAAppId);
            appCapabilities.SetCapability("appArguments", QAAppArgs);
            appCapabilities.SetCapability("deviceName", "WindowsPC");
            appCapabilities.SetCapability("platformName", "Windows");
            session = new WindowsDriver<WindowsElement>(new Uri(WindowsApplicationDriverUrl), appCapabilities);

			// wait for splash screen to disappear
            Thread.Sleep(TimeSpan.FromSeconds(8));

			//Desktop root attach
            DesiredCapabilities desktopCapabilities = new DesiredCapabilities();
            desktopCapabilities.SetCapability("app", "Root");
            var DesktopSession = new WindowsDriver<WindowsElement>(new Uri(WindowsApplicationDriverUrl), desktopCapabilities);

			//attach to original window
			var QAWindow = DesktopSession.FindElementByName("(Beta) QAkit Version: <IP_ADDRESS>");
            String QAConsoleTopLevelWindowHandle = QAWindow.GetAttribute("NativeWindowHandle");
            QAConsoleTopLevelWindowHandle = (int.Parse(QAConsoleTopLevelWindowHandle)).ToString("x"); // Convert to Hex

            DesiredCapabilities QAappCapabilities = new DesiredCapabilities();
            appCapabilities.SetCapability("appTopLevelWindow", QAConsoleTopLevelWindowHandle);
            var QASession = new WindowsDriver<WindowsElement>(new Uri("WindowsApplicationDriverUrl"), QAappCapabilities);

			// Enter userName and passWord which are in hierarchy
			// window[(Beta) QAkit Version: <IP_ADDRESS>]/Dialog[Login]
            QASession.FindElementByName("User Name:").SendKeys("UserA");
            QASession.FindElementByName("Password:").SendKeys("sample");

//...
}`
Not sure why it is not attaching the window. Please help.Thank you!

When I ran the test in debug mode, the desktopSession had the following exceptions :

Hi @madhavankumar,
//attach to original window
				var QAWindow = DesktopSession.FindElementByName("(Beta) QAkit Version: <IP_ADDRESS>");
                String QAConsoleTopLevelWindowHandle = QAWindow.GetAttribute("NativeWindowHandle");
                QAConsoleTopLevelWindowHandle = (int.Parse(QAConsoleTopLevelWindowHandle)).ToString("x"); // Conv

Can you use Inspect to confirm if the correct Window is being targeted?

@timotiusmargo
Hi, I'm trying to start an application using winappdriver but the PID numbers are different from each other. The target application is triggered via a program that we do not have the right to start directly after doing a little investigation, so how can I make the application started automatically after the pid numbers are different.


Remove required_approvals and stick to using bors

So we can implement the workflow @matklad suggested here.

bors r+

bors r+

bors r+
My mistake, I thought github settings changes auto-saved but I had to scroll down and click "save" :facepalm:

bors r+
This should pass now that https://github.com/tigerbeetledb/tigerbeetle/pull/388 is merged.

@batiati can you take a look at this flaky CI failure?: https://github.com/tigerbeetledb/tigerbeetle/actions/runs/3895100141/jobs/6650260999

bors r+
(Trying again to merge this; hopefully will have better luck with the flaky test).

can you take a look at this flaky CI failure?:

I suspect it is actions/upload-artifact@v3's fault, the artifact is not being restored sometimes. I'll change the CI to use actions/cache@v3, the same action used by the Go client CI.


Add Linux logo

I'm sorry, but this is WITCHCRAFT! I was stumped by the Tux logo and could never get it small enough. BRILLIANT work!

Thank you very much! 😊


Support for specifying GET query string params

Add params as an optional parameter to the Request object's
constructor
params passed to Client.api_get are passed to the Request object
Any keyword args passed to subresource query methods are passed as
params into Client.api_get

Crucially, this makes using the pagination params (page and per_page) possible (see #14).

Review please @jamescun.
/cc @jacobpgn

@hmarr :+1:


chuangmi.plug.hmi205 unsupported device

Hi I have a few mi plug USA version from Walmart USA
I have the token and when I add the device into the system, it gives this error
According https://github.com/rytilahti/python-miio/issues/427 , this is same as other variant of chuangmi.plug
Could you add support for this model?
Thanks

Ok.
I will add that model on next version.

Is this fixed? I'm still getting:
mi        | 2020-03-02 06:36:10 [info]: Register Device to ST >> id(92545575) type(chuangmi.plug.hmi205)
mi        | 2020-03-02 06:36:10 [warn]: ST Smartpapps does not support chuangmi.plug.hmi205 DTH!!!

Update a smartapp.


About training time

Hi,
I want to know how long it will take to train this model.
You set the epoch = 10000, and the depth of model is also twice that of Kool et-al,  so I think the good results are probably due to this reason.May I ask if you have used the model of Kool et-al to do comparative experiment under the same super parameter setting?

with the same setting (including same numbers of encoding and decoding layers, and hidden dim) and 100 epochs:
Kool-et.al : L_train: 8.063, L_base: 8.054
Our model : L_train: 8.020, L_base: 8.021

Thanks!


streamline docker-compose files for nightly

Addresses issue #163.
Log data has been left mounted for some services as they seem to be logging locally.

@rsdmike Needs a rebase


BrowserSync alternative for prod

Question: BrowserSync is included for testing the dist build locally, but I'm trying to run this in a containerized platform and don't want it synchronizing Browser behaviors. I swapped it out for Express, but copy/paste of URls with query params will never work (syncToUrl.js seems to not trigger). What are you guys running for a web server in your hosted environment, and is there some trick to get syncToUrl to work?

We're happy to help but I don't understand the problem you're having.
NPM should install into your container all software necessary for the integration tests, including chromium via puppeteer. We're just using browser-sync to run a simple web server: https://github.com/cncf/landscapeapp/blob/master/tools/ciServer.js
The actual web server to run in production can be any server that serves out the static files in /dist. We're using Netlify to build and host the pages, but you could use Apache, NGINX, Caddy, Envoy, or anything else.

Thanks, Dan. After taking a different tac on this, I was able to properly configure Express to work in this single-page-application paradigm.
As for Puppeteer ... thats a whole different challenge re: installing and running chromium in a containerized build environment (probably a different Issue), so any insights there are appreciated.


docs: rework custom fonts usage guide

What kind of changes does this PR include?

New or updated content

Motivation
The discussion in #docs channel in Discord showed that it makes sense to introduce certain updates to the Using custom fonts guide
Description

sections: now, there is a more explicit distinction between description of strategies and their usage.
code blocks: removed commented line with a title from inside the block and moved to the title prop after the code language name
markdown syntax update for numbered lists
removed redundant titles in the More resources section
minor grammar fixes

Looking good @bandantonio / @Jutanium! Some thoughts/suggestions left (individually, because somehow this didn't end up being a review...)  :raised_hands:


Receiving SMS

Add wiki page on receiving SMS using a service.

I'll take this one.

That'd be great, this is a very commonly asked for guide


Enable metrics collection of and introduce dashboard for envoy proxy side car used in reversed vpn

Co-authored-by: Sebastian Stauch<EMAIL_ADDRESS>How to categorize this PR?

/area networking
/area monitoring
/kind enhancement
What this PR does / why we need it:
Prior to this change there is very limited visibility into what is happening on the envoy proxy side car of the vpn-seed-server in the shoots' control planes. This change enables metric collection from the envoy proxy side car as well as exposes the metrics in form of a grafana dashboard in the operator grafana of each shoot.
With the metrics and the dashboard it is hopefully easier going forward to understand some problems of the reversed vpn.
Which issue(s) this PR fixes:
None.
Special notes for your reviewer:
Release note:

Enable metrics collection of and introduce dashboard for envoy proxy side car used in reversed vpn

/invite @DockToFuture @wyb1 @istvanballok


Personal profile page for blogger

Created a Fully functional profile page
You can create and update your profile details
You can create draft for blog
You can see your blog posted
Maintainable code easily we can integrate backed to it
A user friendly and easy to customize profile page
it will be a great feature
can you assign me i can work on it

@Sawan-Kushwah do you realize how many issues you have made ?

work here
https://github.com/ANSHIKA-26/WordWise/tree/main/frontend


"sh: Syntax error: ";" unexpected"

I'm getting this error when spawning any layout, no matter how simple or complex. I realize this is not much information for diagnosis, is there a verbose or debug mode for teamocil?

Can you paste the content of the layout you are trying to spawn?

sample.yml doesn't even work.
session:
  name: "test"
  windows:
    - name : "window one"
      root: "~/.teamocil"

By the way I'm using Ubuntu server 10.04 with RVM and Ruby 1.9.2-p290

The 'splits' section is mandatory for each window. This is the bare minimum that I was able to get away with:
session:
  name: "teamocil"
  windows:
    - name: "vim"
      root: "~/Projects/events/"
      splits:
        - cmd: "vim"

Yes, the splits is mandatory, because Teamocil considers its first item as the main split for that window. All examples in the examples directory should work.
Teamocil should throw an error and not try to execute the list of tmux commands though.

Thank you. I've now modified my layouts and they are working fine. Indeed, a more meaningful error message would be great, I had no idea whether it had to do with teamocil, tmux or my shell environment.


[Bug] CanResize recovers to True automatically after minimizing the window.

Check the following items

[X] I have looked up relevant Issue

Description of the issue
After setting the CanResize to False, the window seems to act well.
When minimizing the window and recover it, the CanResize status returns to True.
Package Version
Latest
Environment
Windows 11 22635
Expected Behavior
/
Reproduction
Set CanResize to False
Additional Information
No response

Related code in SukiWindow.axaml.cs:
private void OnWindowStateChanged(WindowState state)
{
    if (state == WindowState.FullScreen)
        CanResize = CanMove = false;
    else
        CanResize = CanMove = true; // THIS LINE
}

Fixed in #254


Commitment tier update - 100 GB/day minimum requirement

As announced in this product update, the minimum required commitment tier for dedicated clusters in Log Analytics is now 100 GB/day:
https://azure.microsoft.com/en-us/updates/dedicated-clusters-in-azure-monitor-logs-now-support-any-commitment-tier/
Log Analytics documentation has also been updated:
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/logs-dedicated-clusters?tabs=azure-portal#cluster-pricing-model

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

ID: 0cb0159a-b354-de80-375f-4cf999956293
Version Independent ID: f50afe4d-4441-8696-ecd4-5f462b92a56d
Content: Set up customer-managed keys in Microsoft Sentinel
Content Source: articles/sentinel/customer-managed-keys.md
Service: microsoft-sentinel
GitHub Login: @yelevin
Microsoft Alias: yelevin

@louisewiljander
Thanks for your feedback! We will investigate and update as appropriate.

@louisewiljander
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.


"Check For Updates" doesn't show anything if no editor window opened

VSCode Version:
1.3.1
OS Version:
MacOS 10.11

Steps to Reproduce:

Start VS Code.
Close all editor windows.
From the toolbar select "Code" → "Check For Updates...".

Nothing will be shown, as it looks like, informational popups only work inside the editor window.

This works for me on MacOS with 1.3.1 and the insiders build 1.4.0.


Feat/markdown renderer

:tada: This PR is included in version 0.3.0 :tada:
The release is available on:

GitHub release
Atom package

Your semantic-release bot :package::rocket:


Add TypeScript support

Now that official TypeScript support for Svelte has been announced, It would be very convenient to also add it to the Repl.
The Repl has become a very useful tool, not only to showcase applications and share code snippets, but also to report issues.

Wold be nice for sure!  Would make REPL useful again!

Wold be nice for sure! Would make REPL useful again!

It is definitely not useless, but TypeScript support would be great!

I will send you a gift basket

omg, just found out, that ts in repl is not working. coming from angular, that hurts.
you are cutting off many devs trying out svelte via learning on repl.

Any update on this ?
It's still awaited feature.

Any update on this ?

I don't know the team's plans, but do note that when learn.svelte.dev is fully ready for use, it will open the door wide for lots of REPL innovation, including Typescript. I would wait for that tool to be finished up with the basic SvelteKit tutorials and examples, and then would expect Typescript to be right around the corner. Due to its use of WebContainers running Node in the browser, adding Typescript compilation will be similar to how we do it in our repos presently, just add svelte-preprocess to the svelte config file. If they plan to bring intellisense into their browser editor is yet to be seen, as well if they plan to turn learn.svelte.dev into a full blown REPL is also yet to be seen. But these things can't be too far out.

While this feature and WebContainers are awesome, I still like the REPL as a lightweight alternative(in addition, not instead) to a virtual OS simulation on the web.

The Svelte 5 Preview Repl seems to support TypeScript. Can it be assumed that when Svelte 5 is released, that repl will graduate?

Is this planned?

TypeScript is working in the REPL (Playground) for me now. I think this can be closed.

I just did a very quick and dirty test, and it seems like it's basically just ignoring ts
I guess we should expect it to have some support similar to typescript playground. solid has something similar in place
svelte 5 playground (it doesn't complain at all)

ts playground

solid playground

or perhaps we should open a different issue for this....


File Upload to Object Storage

Description
Allow files to be uploaded by public users to their submission(s).
Allow team members to list/read/download/delete files.
SHOWCASE-1128
Types of changes

New feature (non-breaking change which adds functionality)
Documentation (non-breaking change with enhancements to documentation)

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have checked that unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

Further comments
Will add tests if we pursue this strategy.

SonarQube Analysis: https://sonarqube-vmvfjv-tools.pathfinder.gov.bc.ca/dashboard?id=common-forms-toolkit-pr-138

SonarQube Analysis: https://sonarqube-vmvfjv-tools.pathfinder.gov.bc.ca/dashboard?id=common-forms-toolkit-pr-138

Stale. Will reopen when needed.

Stale. Will reopen when needed.


More vulnerabilities in log4j 2.16

According to https://logging.apache.org/log4j/2.x/security.html, a vulnerability could cause DOS with some crafted lookups.
This is fixed in log4j 2.17.
I'd be happy to post a patch when I find some time if no one else is able to, thought it might take a while to understand how to build/make changes to this project.

haha this CVE will never end ^^
I'll do that in the next days :)
But if you want to do it before, it's simple, just replace the JARs by the new ones, and make a big search/replace in the code ;)
Example in the previous PR: https://github.com/nvuillam/npm-groovy-lint/pull/195/files

Solved with @ppettina 's PR :)


belgian keyboard  in rdpinput.c

in ~/.xsessionrc we put "setxkbmap -model pc104 -layout be", but after a few seconds keyboard switches back to layout "us".
traced this down to "rdpinput.c", function"rdpLoadLayout", which does not know "Belgian" (0x00000813 or 0x0000080C).  Thus this function, which runs after normal X init scripts, reverts keyboard back to "us"
added Belgian case to function

case 0x00000813: /* Belgian */
            set.layout = "be";
            break;

partial success : without needing to call setxkbmap, keyboard is azerty (good), but altgr does not work (bad)
"setxkbmap be" makes altgr work.  Strange : output of "setxkbmap -query" before calling "setxkbmap be" and after calling is identical.  Yet before altgr does not work
ended up stubbing call to rdpLoadlayout in "rdpup.c", function "rdpup_process_msg" , thus preventing xrdp from changing the keyboard layout. We set the keyboard layout in ~/.xsessionrc
disadvantage : keyboard layout is fixed, not changing depending on rdp client

I've add Belgian keybaord #858. Now it should work fine.


Wrong indentation code

The second code block has a space before each line of code. This breaks the code in Python.

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

ID: 8a236500-e18a-cfd4-ad38-8cb1d149f49f
Version Independent ID: b6639581-6175-f913-7a45-52d1e551f779
Content: Python: Filesystem operations on Azure Data Lake Storage Gen1
Content Source: articles/data-lake-store/data-lake-store-data-operations-python.md
Service: data-lake-store
GitHub Login: @twooley
Microsoft Alias: twooley

@MichaelHogervorst Thanks for the feedback and bringing this to our notice. At this time we are reviewing the feedback and will provide an update as appropriate

@MichaelHogervorst, thanks for reporting this issue. Much appreciated. The code block has been updated. I'm going to close this issue.

#please-close

@twooley Thank you Tessa!


Scss folder

Hello, do i need the Scss folder ?

No, the scss folder can be deleted if you like. It's there as an option for people to use over css.


Question: GPU based

Is this image capable of using GPU?

I don't think so, unfortunately. There's not CUDA installed in the image, so it wouldn't find the libraries. Basing the image off one of the official CUDA images could solve this problem.

Thanks for reply.
I will just fall back to your maryTTS image as it is more light.


TextField margin shouldn't be larger at the top if there's no label

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Use a TextField with dense, or normal margins without a label (e.g.: with a placeholder instead)
Current behavior 😯
margin-top is twice the size of margin-bottom
Expected behavior 🤔
margin-top equals margin-bottom
Context 🔦
I think the larger margin at the top is to accomodate for a shrunk floating label. This is fine and works pretty well. But if the input has no label, the extra margin feels wrong to me.
This is something that's very easily implemented in user land with very few style overrides, using the sx prop, CSS, whatever. I just wanted your thoughts on that, if that's something that should be done by MUI directly or not? If not, feel free to close !
Cheers,
David
Your environment 🌎

npx @mui/envinfo
  System:
    OS: Linux 5.15 Linux Mint 21 (Vanessa)
  Binaries:
    Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.13.0/bin/yarn
    npm: 8.1.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
  Browsers:
    Chrome: 106.0.5249.103
    Firefox: 105.0.3

Browsers: Chrome and Firefox

Yes, it's totally OK to not have this in MUI core


Missing artwork?

I believe we are missing a consistent chunk of the game's artwork in our current repo.
I could push my own artwork repo if needed.

The full artwork was never part of the repo.
IIRC, artwork files stored in the repo are only the new/changed files from the original artwork (or from the latest installer?)

oh ok.

We should get a clean R7 only, artwork repo up and running


Apply generalized broadcast to vstd

This PR applies the generalized broadcast mechanism to vstd, and removes the automatic unconditional broadcast (except for pruning) of #[verifier::external_body] broadcast fns. This PR is intended to not make any changes to the externally visible behavior outside vstd, instead it just applied the new mechanism so that the old one can be removed.

verusfmt will fail because there are a couple of pending PRs and fixes to tune the support for broadcast group / broadcast use but this should be otherwise ready for review.

Ok, now this should be ready for review. cc @Chris-Hawblitzel

veritas report for verus main (270a4d04f74604948c904b48d298e9c8ae0da8d8) with features: singular

project
refspec
success
total verus time (ms)
smt run time (ms)

verus-vstd
main (270a4d04f74604948c904b48d298e9c8ae0da8d8)
true
9231
5401

memory-allocator
main (9ee40b614443962b15e7315106568f20a1810ebf)
true
68669
48696

page-table
page-table (4c8fec30b7997c79d9d4e9520dee27d2bcdc6a2f)
true
24686
37097

verified-storage
main (5372264cc1616589264adda20829b4e88a09fbd8)
true
6190
4554

veritas report for verus generalized-broadcast-vstd (8c6f3d930ffc57b8670cfe1794425d1bbed2d5a5) with features: singular

project
refspec
success
total verus time (ms)
smt run time (ms)

verus-vstd
generalized-broadcast-vstd (8c6f3d930ffc57b8670cfe1794425d1bbed2d5a5)
false
1600
0

memory-allocator
main (9ee40b614443962b15e7315106568f20a1810ebf)
true
63483
45441

page-table
page-table (4c8fec30b7997c79d9d4e9520dee27d2bcdc6a2f)
true
22698
34836

verified-storage
main (5372264cc1616589264adda20829b4e88a09fbd8)
false
6326
5538

Performance is unaffected, but something's not quite right yet (for verified-storage). The failure on vstd may be that veritas needs a different configuration after this PR.

veritas report for verus main (f6c8fecf18877b751929de7f6e807daf59ee9c2e) with features: singular

project
refspec
outcome
total verus time (ms)
smt run time (ms)

verus-vstd
main (f6c8fecf18877b751929de7f6e807daf59ee9c2e)
success (609 verified, 0 errors)
9626
5720

memory-allocator
main (9ee40b614443962b15e7315106568f20a1810ebf)
success (745 verified, 0 errors)
64473
50035

page-table
page-table (4c8fec30b7997c79d9d4e9520dee27d2bcdc6a2f)
success (294 verified, 0 errors)
25114
38649

verified-storage
main (5372264cc1616589264adda20829b4e88a09fbd8)
success (188 verified, 0 errors)
6050
4465

node-replication
main (5d496003efc39a8e09d90b4147ab95106b76d6aa)
success (254 verified, 0 errors)
8141
2734

veritas report for verus generalized-broadcast-vstd (7244402ed08dfa3cf91334a8abf641d456ae222c) with features: singular

project
refspec
outcome
total verus time (ms)
smt run time (ms)

verus-vstd
generalized-broadcast-vstd (7244402ed08dfa3cf91334a8abf641d456ae222c)
success (815 verified, 0 errors)
22026
9764

memory-allocator
main (9ee40b614443962b15e7315106568f20a1810ebf)
success (745 verified, 0 errors)
66161
48324

page-table
page-table (4c8fec30b7997c79d9d4e9520dee27d2bcdc6a2f)
success (294 verified, 0 errors)
22442
35394

verified-storage
main (5372264cc1616589264adda20829b4e88a09fbd8)
success (188 verified, 0 errors)
6002
4231

node-replication
main (5d496003efc39a8e09d90b4147ab95106b76d6aa)
success (254 verified, 0 errors)
8360
2837

The longer vstd verification time is likely due to using admit() instead of #[verifier::external_body] and due to some axioms now being actual proofs.

Now that performance matches (@Chris-Hawblitzel asked me offline for potential performance degradation) I'm going to land this to prevent vstd from diverging again. Let me know if you have further comments.


Configuration values with type "Object" get converted to an array

Deployer version: v7.0.0-rc.8
Deployment OS: Ubuntu 20.04

When setting a config value to be a specific class, somewhere along the way the config value gets converted to an array
I went down the rabbit hole (luckily it was a small rabbit) and think I found the root cause
In https://github.com/deployphp/deployer/blob/master/src/Configuration/Configuration.php#L213 we see
    public function load(): void
    {
        if (!$this->has('master_url')) {
            return;
        }

        // This part somehow transforms the object into an empty array
        $values = Httpie::get($this->get('master_url') . '/load')
            ->jsonBody([
                'host' => $this->get('alias'),
            ])
            ->getJson();

        $this->update($values);
    }

I do not quite get yet why Deployer needs to get content from http://localhost:45113/load here, but If it truly wants to do that I guess we can no longer store objects in the configuration.
If that would be the case it would make sense to not even allow storing objects in the first place.
We could work around that, but maybe you see another solution?
Could you maybe elaborate on (the future of) storing Objects in the config in combination with this?
  Please, provide a minimal reproducible example of deploy.php

<?php

namespace Deployer;

// % composer global show deployer/deployer
// Changed current directory to /home/rutger/.config/composer
// name     : deployer/deployer
// descrip. : Deployment Tool
// keywords :
// versions : * v7.0.0-rc.8
require_once getenv("HOME"). '/.config/composer/vendor/autoload.php';

class TestClass
{
    public static $test = 'test';

    public function execute(): string
    {
        return(get_class($this));
    }
}

host('localhost')->set('some_config', new TestClass());

print_r('Here the config returns a class' . PHP_EOL);
$someConfig = host('localhost')->get('some_config');
print_r($someConfig);

task('test', function () {
        $someConfig = host('localhost')->get('some_config');
        print_r('Here the config returns an array' . PHP_EOL);
        print_r($someConfig);
        echo $someConfig->execute();
    }
);

Yes, Deployer can store only JSON seriazable  objects.
This is done to be able to communicate between tasks, as each task runs in parallel on separate worker process. Can uses httpie to send state to the master.

Thanks again for the quick reply
The output of the example looks like
 % ~/.config/composer/vendor/deployer/deployer/bin/dep test localhost
Here the config returns a class
Deployer\TestClass Object
(
)
task test
Here the config returns a class
Deployer\TestClass Object
(
)
Here the config returns an array
Array
(
)
[localhost]  Error  in deploy.php on line 33:
[localhost]
[localhost]   Call to a member function execute() on array
[localhost]

In Deployer 6 though this worked like a charm
If this stops working in Deployer 7 it would be worth not allowing to set an object in the first place AND mentioning this as breaking change for those coming from deployer 7
With your information, my suggested workaround for those facing the same issue would be
host('localhost')->set('some_config', get_class(new TestClass()));

task('test', function () {
        $someConfig = host('localhost')->get('some_config');
        $someConfigClass = new $someConfig;
        echo $someConfigClass->execute();
    }
);


Create an echo provisioner, Update developer documentation,

Background:
To help developer learn how to write a provisioner so that it's easier to do. (also to help robb learn...).
Update the documentation to make it clearer and easier to get started and learn c60.

@robblovell   Is this completed?


Issue with multiple image download

Hi,
I am trying to download multiple jpeg files with your plugin but it seems to interpret the image as a document. I get the following error in chrome console element : Resource interpreted as Document but transferred with MIME type image/jpeg:
Is there a way to treat the images as a image/jpeg with your plugin?
Greetings

The plugin creates temporary iframe to trigger the downloads. Probably that's why it treats the files as documents. This is not an issue if you try to download pdf files (which I was doing when I wrote this code). I'd experiment with download attribute of a element to get around your issue.


 For pricing details, see the Cloud App Security licensing datasheet.
Note
You don't need an Office 365 license to use Cloud App Security.

This is a bit contradictory, I suppose it means that I as a user don't need a license but my Organization does? Maybe this can be made more clear?

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

ID: 8d3a8799-0915-2446-b772-cf5e3c80a238
Version Independent ID: 31f10a22-3c95-5ebe-622d-7431c5cb76f1
Content: Deploy Cloud App Security
Content Source: CloudAppSecurityDocs/getting-started-with-cloud-app-security.md
Service: cloud-app-security
GitHub Login: @shsagir
Microsoft Alias: shsagir

@p0shkar Thanks for contacting Microsoft with feedback about our product documentation. Depending on the complexity, it could take from a few business days to a few weeks to look further into your question, issue, or suggestion. We'll contact you if we need further information, and you'll receive an email message each time we "@mention" you in a comment.
Thanks again for submitting your feedback. Your suggestions help improve our documentation.

@p0shkar Thanks for your feedback. We've submitted a documentation change based on your suggestion, and the updated article should be live by tomorrow. Please let us know if there's anything more we can do for you. To follow up on this issue, leave us a comment with an @mention.


Sort callbacks with checkpoint saving and uploading first

Sort the callbacks so that CheckpointSaver goes first, then HuggingFaceCheckpointer, and finally all other callbacks. This saves time during final checkpoint saving and uploading.
A rough sketch on the reordering based on Llama 70B profiling:
Before

After

e2e run in staging: ift-meta-llama-3-8b-aoprwt-reordered-q01HKT

@mvpatel2000 What tests would you like to see? I can add a test for the helper function that checks to see that the callbacks are in the expected order. Anything else?

I think that's fine!


Avoid preempting all neuron cores in NeuronModelForCausalLM when fewer cores are required

By default, transformers-neuronx preempts all cores when it initializes the neuronx runtime.
This means that when instantiating a NeuronModelForCausalLM that is mapped on fewer cores, it will take all cores and prevent another model to be loaded in parallel.
It would be better to modify the environment using NEURON_RT_NUM_CORES to use only the required number of cores.

Integrated into 0.0.18


Update to Python 3.11 and set POWERTOOLS_SERVICE_NAME for Python Lambda functions

Updated to Python 3.11.  As part of this platform was updated from manylinux2010_x86_64 to manylinux2014_x86_64, otherwise pip pulls in a very old (1.x) version of pyjwt, likely due to an ffi dependency.
Set POWERTOOLS_SERVICE_NAME so tracing doesn't report service_undefined

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

hmmm it seems my updates to the steam_login got added to this PR.  In the future will need to branch stuff off in my fork I guess (sorry, long time engineer, new to git.)
Release notes on the Steam Auth Changes:

Read the correct SteamId when borrowing or family sharing
Use the correct server to server endpoint per https://partner.steamgames.com/doc/webapi_overview#3
Correctly handle 103 retry responses (as seen in production)
Correctly handle VAC and Publisher bans with appropriate logging
Logging and dead code clean-up
Use Lambda Power Tools to simplify usage of Secrets Manager
Added Metrics for the function result and measuring the response time of the call into Steam.  This is important because many OnCall events start with something like "Steam users unable to play..." so quickly root causing or ruling out auth issues is critical for those investigations.

Ok, created a branch going to open a new PR without the scope creep.


feat: Allow configuring resources on buffer metrics sidecar

Fixes https://github.com/kube-logging/logging-operator/issues/1363
I followed the same pattern of other fields that are used for the metrics sidecar like bufferVolumeImage and bufferVolumeArgs by adding a new option called bufferVolumeResources which allow configuring the resources on the container. Let me know what you think!
I skipped adding this to the FluentbitSpec since that's deprecated now.
I tested manually with something like this (I didn't find a good spot for unit tests):
apiVersion: logging.banzaicloud.io/v1beta1
kind: Logging
metadata:
  name: logging-test
spec:
  fluentd:
    bufferVolumeMetrics:
      port: 9200
      path: /metrics
      prometheusAnnotations: true
    bufferVolumeResources:
      limits:
        cpu: 150m
        memory: 100Mi
      requests:
        cpu: 100m
        memory: 50Mi
  controlNamespace: default
  fluentbit: {}

and
apiVersion: logging.banzaicloud.io/v1beta1
kind: Logging
metadata:
  name: logging-test
spec:
  syslogNG:
    statefulSet:
      spec:
        template:
          spec:
            containers:
            - name: syslog-ng
              volumeMounts:
              - mountPath: /buffers
                name: buffer
        volumeClaimTemplates:
        - metadata:
            name: buffer
          spec:
            accessModes:
            - ReadWriteOnce
            resources:
              requests:
                storage: 10Gi
    bufferVolumeMetrics:
      port: 9200
      path: /metrics
      prometheusAnnotations: true
      mount_name: buffer
    bufferVolumeResources:
      limits:
        cpu: 150m
        memory: 100Mi
      requests:
        cpu: 100m
        memory: 50Mi
  controlNamespace: default
  fluentbit: {}

@cbuto yesterday I failed to realize there is a pr already in progress here:
https://github.com/kube-logging/logging-operator/pull/1410
That is still only part of the story though, so give me some time to sort it out how to move on.

@cbuto yesterday I failed to realize there is a pr already in progress here: #1410
That is still only part of the story though, so give me some time to sort it out how to move on.

@pepov Thanks for the review! No worries, I’m happy to close this or continue on depending on what happens with the other PR.

@cbuto if you have time to continue working on this, then please go ahead! If not let us know and I can take it over from here.

@cbuto thanks for the prompt reactions!


Make sources table editable; add deletion.

Planned to add full CRUD here, but will need to change the table row model (as in Linelist table) first. So just deletion for now, and full CRUD in a subsequent PR.
Lots of similar boilerplate here to the LinelistTable. I'm planning to continue on with two separate structures, but will see if we can share a generalized class between the two afterwards.

What do you mean by "need to change the table row model (as in Linelist table)"?
These changes LGTM. I don't think it's worth trying to share anything with the Linelist table if they are going to stay as separate tables.
BTW see the slack for the test-prod failure - syncing should get rid of it.

What do you mean by "need to change the table row model (as in Linelist table)"?

Sorry: creating a dedicated row type in order to flatten the data.

 Create barebones source config UI backed by sources API/MongoDB


DSC documentation

Hello,
is it possible that you  provide some documentation / examples of the DSC resources ?
Keep up the good work!

Sorry, found it, thx
https://github.com/gaelcolas/Chocolatey/tree/master/Chocolatey/examples/Resources

You're actually right, I should do a better job of it.
Reopening this issue.

I'm sorry but how am I supposed to use this with zero examples?


Cannot find phplib5.3.28 in user/lib/apache2/modules

First of all I am sorry if the formatting is not perfect as I am not very sure how to format the problem I am having with installing PHP-5.3.28. I am installing PHP 5.3.28  in Ubuntu 14.04 LTS. Before installing 5.3.28 I installed PHP-5.3.29. For both cases I used phpbrew command from CLI.
Output
Source directory: /home/subrara/.phpbrew/build/php-5.3.28
Congratulations! Now you have PHP with 5.3.28 as php-5.3.28

We found that you enabled 'mysql' variant, you might need to setup your
'pdo_mysql.default_socket' or 'mysqli.default_socket' in your php.ini file.

To configure your installed PHP further, you can edit the config file at
/home/subrara/.phpbrew/php/php-5.3.28/etc/php.ini

To use the newly built PHP, try the line(s) below:
$ phpbrew use php-5.3.28

Or you can use switch command to switch your default php to php-5.3.28:
$ phpbrew switch php-5.3.28

Enjoy!
...

Expected Result
I was looking for a file called phplib5.3.28.so under my /usr/lib/modules/ folder but its not there! However phplib5.3.29.so is already residing there, which must have been added when I first installed PHP-5.3.29. Why the file was not created with 5.3.28 installation? By the way. there is another .so file called phplib5.so but I believe this is not the one I am looking for as it looks more generic for php5 and not sub-verison specific.
Reason I am looking for phplib5.3.28.so file under /usr/lib/moduels folder
I created a page with phpinfo() which says the PHP version is 5.3.29 i.e. the one I installed before.
I used commands phpbrew use php-5.3.28 and phpbrew switch php-5.3.28. When I run php -v CLI gives me the desired version info, i.e. 5.3.28!
Inside /etc/apache2/mods-enabled there is a file called php5.load which contains the following line:
LoadModule php5_module        /usr/lib/apache2/modules/libphp5.3.29.so. So I thought if I have the .so file for php-5.3.28 then I probably updating php5.load with that .so file might do the trick! But unfortunately the file phplib5.3.28.so does not at all exist!! And because it is there I cannot tell apache to use version 5.3.28.
Why installing 5.3.28 when I already have 5.3.29
The problem is when I installed php 5.3.29 I used sudo phpbrew install 5.3.29 +default. I am very new to Linux and PHP so may be sudo caused some issues. Moreover using only +default did not install variant mysql (or may be not compiled!). Because I can connect to the database server, see available databases, use a database etc. I then tried to install mysql as an extension but it failed. So I decided to installed a separate version i.e. 5.3.28.
Command
    phpbrew --debug install php-5.3.28 +curl +mysql +default

Platform
OS: Ubuntu 14.04LTS

Running PHP: 5.3.29 (as per phpinfo())
Installing PHP: 5.3.28
PHP version (as per phpinfo())

PHP version (as per CLI)

I restarted apache2 several times: sudo service apache2 restart with no effect. phpinfo() still shows 5.3.29.
I am not sure whether this would be treated as an issue or a question. But whatever it is, I request you to please suggest me a work around... I am completely screwed up and stuck!

you need to add +apxs2 to enable apache2 support

Yes, this works :) Thank you!


Codelab needs to be updated

Codelab Step needs to be updated.
Screenshot and description of base and completed module are past version.

Change Version :  https://github.com/googlecodelabs/while-in-use-location/pull/6/commits/2f6b5d40c7a77617995d8954c965b240ed67eb91

Codelab
Github

Thanks for the catch!
It should be resolved now. There was a short period where I hadn't updated the codelab and you caught it! :)
If you still see the issue, please re-open and link me to the step and I will fix ASAP.


V4 Support

Hello there,
are there any plans to support podman version 4.x.x?

Hello!
It is definitely on the radar. I don't want to make any promises but I might look into it sometime next week :)

thank you very much :)

Let's leave this issue open as a tracking issue :)


Hard negative mining for wikipedia pretraining

Hi, did you use hard negative mining in addtion to in batch training when you pretrained the model on wikipedia? Will it be too time consuming? Thanks!

hard negatives seems to be unimplemented #31, though you can find one from this unofficial implementation (note that this is for "Zero-shot Entity Linking")

hard negatives seems to be unimplemented #31, though you can find one from this unofficial implementation (note that this is for "Zero-shot Entity Linking")


chore(main): release 0.10.0

:robot: I have created a release beep boop
0.10.0 (2023-12-15)
Features

add homebrew install config (2ebc655)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/kevinah95/hacienda/releases/tag/v0.10.0 :sunflower:


[API input configuration]

Describe the feature you'd like
Consider updating the documentation for API input configuration using a context manager for input files to upload
Proposed code:
data = {
    "chunkSize": 1000,
    "chunkOverlap": 200,
    "metadata": file_path,
    "question": "what is Pierre mentioning about Paris"
}

def query(data):
    # Use a context manager to handle the file
    with open(file_path, 'rb') as f:
        # use form data to upload files
        form_data = {
            "files": (file_name, f)
        }
        response = requests.post(API_URL, files=form_data, data=data)
    return response.json()

output = query(data)
output

@HenryHengZJ  what needs to be done here? I can do this if you give me some hints.


Display "local_addresses"

I just noticed @bittorf is generating a NetworkGraph that contains the local_addresses property but it is not displayed, and that's a shame :-)

Where we should display it? In node's data panel?

Is in the NetJSON NetworkGraph spec, so it would be good to display it as a comma separated list of addresses


Fix CI bug

Should solve https://github.com/dionysos-dev/Dionysos.jl/issues/304

Codecov Report

Merging #309 (b9435be) into master (9eb97f6) will decrease coverage by 0.53%.
Report is 3 commits behind head on master.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##           master     #309      +/-   ##
==========================================
- Coverage   79.77%   79.25%   -0.53%
==========================================
  Files          62       62
  Lines        4381     4381
==========================================
- Hits         3495     3472      -23
- Misses        886      909      +23

see 7 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Error: Could not connect to debug target at http://localhost:port: Promise was canceled

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
https://code.visualstudio.com/api/get-started/your-first-extension#debugging-the-extension

clone this repository: https://github.com/microsoft/vscode-extension-samples
code ./helloworld
Then, inside the editor, press F5. This will compile and run the extension in a new Extension Development Host window.
error:

Log File

vscode-debugadapter-2.json.gz
vscode-debugadapter-3.json.gz
VS Code Version:
Version: 1.51.0-insider
Commit: 7a3bdf4ee9588755d447aa1c3b5db4a123fc11a9
Date: 2020-10-23T07:32:22.213Z
Electron: 9.3.2
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 19.6.0

@alvinhui do you have any antivirus or firewall running locally? We've seen some issues in the past where that was blocking the debug connection.

Did you solve the problem? I had the same issue

I also have the same problem after upgrading to version 1.52.0


Optimize text and string computations

The "Learn" example seems to be generating one string object per word and one text object per string.
This needs to be fixed and some optimization should be added for this regardless.

Done in https://github.com/nsensfel/tonkadur/commit/ff29f424d468952e7d3eebc3e17e05e2a6e8d3d2.


[Kubernetes] When an IngressRoute references a TLSOptions item which isn't present, new traefik pods don't start

Do you want to request a feature or report a bug?
Bug
What did you do?
Created an IngressRoute which referenced a TLSOptions item which was not there
What did you expect to see?
New traefik pods would load despite the misconfiguration.
What did you see instead?
New pods would not load due to the misconfiguration, traefik loaded fine after removing the TLSOptions reference from the affected ingressroute
What is your environment & configuration (arguments, toml, provider, platform, ...)?
Version:      2.1.6
Codename:     cantal
Go version:   go1.13.8
Built:        2020-02-28T17:40:18Z
OS/Arch:      linux/amd64

          "--providers.kubernetesingress=true",
          "--providers.kubernetescrd=true",
          "--providers.kubernetesingress.ingressclass=traefik",
          "--entrypoints.http.address=:80",
          "--entrypoints.https.address=:443",
          "--entrypoints.traefik.address=:8080",
          "--entrypoints.http.proxyprotocol=true",
          "--entrypoints.https.proxyprotocol=true",
          "--entrypoints.http.proxyprotocol.trustedips=<IP_ADDRESS>/16",
          "--entrypoints.https.proxyprotocol.trustedips=<IP_ADDRESS>/16",
          "--entryPoints.traefik-metrics.address=:8082",
          "--ping.entrypoint=http",
          "--serverstransport.insecureskipverify=true",
          "--log=false",
          "--log.level=FATAL",
          "--accesslog.format=json",
          "--accesslog.fields.defaultmode=keep",
          "--accesslog.fields.headers.defaultmode=keep",
          "--accesslog=true",
          "--api=true",
          "--api.insecure",
          "--metrics.prometheus",
          "--metrics.prometheus.entryPoint=traefik-metrics",
          "--tracing=true",
          "--providers.file.filename=/etc/traefik/traefik-config.yaml"

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
{"ClientAddr":"<IP_ADDRESS>:40781","ClientHost":"<IP_ADDRESS>","ClientPort":"40781","ClientUsername":"-","DownstreamContentSize":19,"DownstreamStatus":404,"Duration":114906,"OriginContentSize":19,"OriginDuration":14214,"OriginStatus":404,"Overhead":100692,"RequestAddr":"www.example.co.uk","RequestContentSize":0,"RequestCount":77,"RequestHost":"www.example.co.uk","RequestMethod":"GET","RequestPath":"/directory/search_tag/training%20in%20research%20delivery","RequestPort":"-","RequestProtocol":"HTTP/1.1","RetryAttempts":0,"StartLocal":"2020-03-11T12:32:22.689005625Z","StartUTC":"2020-03-11T12:32:22.689005625Z","downstream_Content-Type":"text/plain; charset=utf-8","downstream_X-Content-Type-Options":"nosniff","entryPointName":"http","level":"info","msg":"","origin_Content-Type":"text/plain; charset=utf-8","origin_X-Content-Type-Options":"nosniff","request_Accept":"text/html,text/plain,text/xml,text/*,application/xml,application/xhtml+xml,application/rss+xml,application/atom+xml,application/rdf+xml,application/php,application/x-php,application/x-httpd-php","request_Accept-Encoding":"br,gzip","request_Accept-Language":"en","request_User-Agent":"Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)","request_X-Forwarded-Host":"www.example.co.uk","request_X-Forwarded-Port":"80","request_X-Forwarded-Proto":"http","request_X-Forwarded-Server":"traefik-ingress-controller-84795cc76f-grznj","request_X-Real-Ip":"<IP_ADDRESS>","time":"2020-03-11T12:32:22Z"}
time="2020-03-11T12:32:22Z" level=error msg="Tracing jaeger error: error when flushing the buffer: write udp <IP_ADDRESS>:37838-><IP_ADDRESS>:6831: write: connection refused" tracingProviderName=jaeger
{"ClientAddr":"<IP_ADDRESS>:10234","ClientHost":"<IP_ADDRESS>","ClientPort":"10234","ClientUsername":"-","DownstreamContentSize":19,"DownstreamStatus":404,"Duration":126568,"OriginContentSize":19,"OriginDuration":10858,"OriginStatus":404,"Overhead":115710,"RequestAddr":"www.example.co.uk","RequestContentSize":0,"RequestCount":78,"RequestHost":"www.example.co.uk","RequestMethod":"GET","RequestPath":"/directory/search_tag/boost'r%20hybrid","RequestPort":"-","RequestProtocol":"HTTP/1.1","RetryAttempts":0,"StartLocal":"2020-03-11T12:32:23.001207426Z","StartUTC":"2020-03-11T12:32:23.001207426Z","downstream_Content-Type":"text/plain; charset=utf-8","downstream_X-Content-Type-Options":"nosniff","entryPointName":"http","level":"info","msg":"","origin_Content-Type":"text/plain; charset=utf-8","origin_X-Content-Type-Options":"nosniff","request_Accept-Encoding":"gzip","request_Cloudfront-Forwarded-Proto":"http","request_Connection":"Keep-Alive","request_User-Agent":"Amazon CloudFront","request_Via":"1.1 2d1e1e8dc0f3eb7773ec9d89a7d50ce2.cloudfront.net (CloudFront)","request_X-Amz-Cf-Id":"raJ8NK4qj1CcEYtvje2nczmohbpQOfL4CTQcPbAxubjPIWnUOwM3-g==","request_X-Forwarded-Host":"www.example.co.uk","request_X-Forwarded-Port":"80","request_X-Forwarded-Proto":"http","request_X-Forwarded-Server":"traefik-ingress-controller-84795cc76f-grznj","request_X-Real-Ip":"<IP_ADDRESS>","time":"2020-03-11T12:32:23Z"}
E0311 12:32:23.435469       1 reflector.go:125] pkg/mod/k8s.io/client-go@v0.0.0-20190718183610-8e956561bbf5/tools/cache/reflector.go:98: Failed to list *v1alpha1.IngressRoute: v1alpha1.IngressRouteList.Items: []v1alpha1.IngressRoute: v1alpha1.IngressRoute.Spec: v1alpha1.IngressRouteSpec.TLS: v1alpha1.TLS.Options: readObjectStart: expect { or n, but found [, error found in #10 byte of ...|options":[{"name":"t|..., bigger context ...|master-openresty","port":80}]}],"tls":{"options":[{"name":"tlsoptions","namespace":"citipark-ecom-pr|...
{"ClientAddr":"<IP_ADDRESS>:29997","ClientHost":"<IP_ADDRESS>","ClientPort":"29997","ClientUsername":"-","DownstreamContentSize":19,"DownstreamStatus":404,"Duration":120844,"OriginContentSize":19,"OriginDuration":9981,"OriginStatus":404,"Overhead":110863,"RequestAddr":"central.exposecms.com","RequestContentSize":0,"RequestCount":79,"RequestHost":"www.example.co.uk","RequestMethod":"GET","RequestPath":"/times/employee/55","RequestPort":"-","RequestProtocol":"HTTP/1.1","RetryAttempts":0,"StartLocal":"2020-03-11T12:32:23.49085403Z","StartUTC":"2020-03-11T12:32:23.49085403Z","downstream_Content-Type":"text/plain; charset=utf-8","downstream_X-Content-Type-Options":"nosniff","entryPointName":"http","level":"info","msg":"","origin_Content-Type":"text/plain; charset=utf-8","origin_X-Content-Type-Options":"nosniff","request_Connection":"close","request_Cookie":"CakeCookie[employee_id]=55; PHPSESSID=db228477bf5d747a4a5389c1b8876483","request_X-Forwarded-Host":"central.exposecms.com","request_X-Forwarded-Port":"80","request_X-Forwarded-Proto":"http","request_X-Forwarded-Server":"traefik-ingress-controller-84795cc76f-grznj","request_X-Real-Ip":"<IP_ADDRESS>","time":"2020-03-11T12:32:23Z"}
E0311 12:32:24.809140       1 reflector.go:125] pkg/mod/k8s.io/client-go@v0.0.0-20190718183610-8e956561bbf5/tools/cache/reflector.go:98: Failed to list *v1alpha1.IngressRoute: v1alpha1.IngressRouteList.Items: []v1alpha1.IngressRoute: v1alpha1.IngressRoute.Spec: v1alpha1.IngressRouteSpec.TLS: v1alpha1.TLS.Options: readObjectStart: expect { or n, but found [, error found in #10 byte of ...|options":[{"name":"t|..., bigger context ...|master-openresty","port":80}]}],"tls":{"options":[{"name":"tlsoptions","namespace":"citipark-ecom-pr|...
{"ClientAddr":"<IP_ADDRESS>:40781","ClientHost":"<IP_ADDRESS>","ClientPort":"40781","ClientUsername":"-","DownstreamContentSize":19,"DownstreamStatus":404,"Duration":109318,"OriginContentSize":19,"OriginDuration":11212,"OriginStatus":404,"Overhead":98106,"RequestAddr":"www.example.co.uk","RequestContentSize":0,"RequestCount":80,"RequestHost":"www.example.co.uk","RequestMethod":"GET","RequestPath":"/directory/search_tag/training%20institute","RequestPort":"-","RequestProtocol":"HTTP/1.1","RetryAttempts":0,"StartLocal":"2020-03-11T12:32:25.687732297Z","StartUTC":"2020-03-11T12:32:25.687732297Z","downstream_Content-Type":"text/plain; charset=utf-8","downstream_X-Content-Type-Options":"nosniff","entryPointName":"http","level":"info","msg":"","origin_Content-Type":"text/plain; charset=utf-8","origin_X-Content-Type-Options":"nosniff","request_Accept":"text/html,text/plain,text/xml,text/*,application/xml,application/xhtml+xml,application/rss+xml,application/atom+xml,application/rdf+xml,application/php,application/x-php,application/x-httpd-php","request_Accept-Encoding":"br,gzip","request_Accept-Language":"en","request_User-Agent":"Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)","request_X-Forwarded-Host":"www.example.co.uk","request_X-Forwarded-Port":"80","request_X-Forwarded-Proto":"http","request_X-Forwarded-Server":"traefik-ingress-controller-84795cc76f-grznj","request_X-Real-Ip":"<IP_ADDRESS>","time":"2020-03-11T12:32:25Z"}
time="2020-03-11T12:32:25Z" level=error msg="Tracing jaeger error: error when flushing the buffer: write udp <IP_ADDRESS>:37838-><IP_ADDRESS>:6831: write: connection refused" tracingProviderName=jaeger

This log output pretty much kept looping the same stuff after that, can supply if necessary.

The error provided is that the ingressRoute was malformed.
Can you please provide the ingressRoute that caused this issue?

IngerssRoute (With referenced middleware):
`apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: 'www.example.co.uk-https'
namespace: 'example'
spec:
entryPoints:
- https
routes:

match: Host(www.example.co.uk)
kind: Rule
services:

name: 'master-openresty'
port: 80
middlewares:

name: security-headers
namespace: 'example'
tls:
secretName: 'a58ebb6197da843f22cf40cf5049362b-ssl'
options:

name: tlsoptions
namespace: 'example'

apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: security-headers
namespace: 'example'
spec:
headers:
frameDeny: "true"
sslRedirect: "true"
stsSeconds: 31536000
stsPreload: "true"
browserXssFilter: "true"
sslForceHost: "true"
contentTypeNosniff: "true"
referrerPolicy: "same-origin"
featurePolicy: "self"
stsIncludeSubdomains: "true"
`

Hello @Daynnnnn ,
From the reference documentation (https://docs.traefik.io/v2.1/reference/dynamic-configuration/kubernetes-crd/#resources),
tls options is not a list, can you try:
  tls:
    secretName: 'a58ebb6197da843f22cf40cf5049362b-ssl'
    options:
      name: tlsoptions
      namespace: 'example'

and see if that works the way you expect?

Duplicate of #6370

Hey @dtomcej,
Ahhh okay  I guess it's a different issue to what I thought, but my underlying point still stands. I don't think a miss-configured ingressroute should result in the whole reverse proxy failing to start - this could also mean an accidental space could take down all the http services on a cluster, which is very scary.

@Daynnnnn, thanks for confirming that was the issue.
We are currently working on implementing validation via #6109 which should prevent this.
Feel free to follow that issue for more updates!


Statistics and Analytics

Allow user to see statistics and analytics for entire app and for each board

What kind of statistics and analytics though?


Parameter unwindPath for multiple fields (#174)

This relates to #174. It adds functionalities as described below:

unwindPath parameters changed to array of strings (on both library and CLI);
Add logic to unwind multiple times;
Add unit test.

Coverage remained the same at 100.0% when pulling 976d04f7c1ceba6454ec33861aa6522c8c7acdae on eduardomourar:master into 62e8b0cb8a16932fd9d075b95723bd017b8199cb on zemirco:master.

Coverage remained the same at 100.0% when pulling 2c1b159e0e9afa852ebc9a46782744b4f7db6350 on eduardomourar:master into 62e8b0cb8a16932fd9d075b95723bd017b8199cb on zemirco:master.


Expose shader settings via a configuration resource

There are a few critical settings (number of bands and glossiness to start with) that are currently hard-coded. These should be exposed via a fully public configuration resource so users can quickly tweak these values without needing to modify the shader source code.

Is a property on the material struct the best way to plumb that resource setting through to the shader?
So a change to the ToonShaderConfiguration resource would result in triggering a modification of all current ToonShaderMaterial materials ?

I think you can probably extract the resource directly to the render world, which would let it be shared across all toon-shaded materials and reduce data duplication. Rendering folks will have better advice than me though.


P2 SpotBug fixes

Add package-private ByteExtensions class containing clone byte[]. Fixes:

May expose internal representation by returning reference to mutable object (EI_EXPOSE_REP)
May expose internal representation by incorporating reference to mutable object (EI_EXPOSE_REP2)

Making inner classes static to fix.

Should be a static inner class (SIC_INNER_SHOULD_BE_STATIC)
@JonathanGiles What are the implications of making an inner class static? Is there one instance of the inner class for each instance of the outer one?

Can one of the admins verify this patch?

In my experience, most inner classes I create are static. Static inner classes can be thought of as simply a class nested inside its parent - but without access to any specific outer class instance information. Conversely, inner classes that are non-static are created specifically as an instance related to a specific instance of the outer class, and therefore have access to the scope of the outer class. A summary can be found here: https://docs.oracle.com/javase/tutorial/java/javaOO/nested.html

@JonathanGiles thanks for the explanation! so thats all it means? the static keyword?

Pretty much. Read the summary I linked to for a little more info.


Update opentelemetry to 102.1 for security reasons.

PR Description
This updates Opentelemetry to fix a security issue with a denial of service attack. As part of that vcenter had some breaking changes.
PR Checklist

[x] CHANGELOG.md updated
[x] Documentation added
[x] Tests updated
[x] Config converters updated

@ptodev not sure what you mean by 32953.

@mattdurham We need to incorporate that change into otelcol.processor.resourcedetection.

Thank you! Missed that one, will give it another look over to make sure I didnt miss anything else.


matrix error after restoring default zoom

I got the following code:
<ReactSVGPanZoom
  width={1010}
  height={660}
  toolbarPosition="right"
  miniaturePosition="none"
  className="world-map"
  background="#81d6ff"
>
  {worldMap}
 </ReactSVGPanZoom>

where worldMap is an SVG with a viewbox of 0 0 1010 660 and tons of paths.
On load I get the following warning:
warning.js?6327:35 Warning: Failed prop type: SVG should have props `width` and `height`
    in t (created by Home)
    in Home (created by Connect(Home))
    in Connect(Home) (created by Route)
    in Route (created by Router)
    in div (created by Layout)
    in div (created by Layout)
    in Layout (created by Connect(Layout))
    in Connect(Layout) (created by Router)
    in Router (created by BrowserRouter)
    in BrowserRouter (created by Router)
    in Router (created by App)
    in Provider (created by App)
    in App

Which is fine as it's just a warning and has no repercutions over behavior. After the map SVG loads, I zoom using the scroll wheel and things work perfectly fine. However if I click the toolbar button to reset the zoom to the original value, I get the following error.
Error: <g> attribute transform: Expected number, "matrix(NaN,NaN,NaN,NaN,…".

which seems to be coming from DOMPropertyOperations.js?cedd:141
At this point, zooming in or out stops working, no matter if I want to do it with the toolbar or the scroll wheel.
The bug can be reproduced at https://mmellado.github.io/visitedcountries/ (FB login required, sorry about that), however, the full code can be found in http://github.com/mmellado/visitedcountries
Is this a legitimate bug or am I not using the component properly?
Thanks!

Found the bug. There was no width or height assigned to the worldMap SVG. Both errors went away after adding a width and height on it.
Leaving this issue as documentation for anyone running into this problem in the future


Fixing extension name for newsholder page

Hello @sheadawson
The name of the extension wasn't correct as far as I can tell. Can you verify this and maybe merge it in?
Spek

Thanks actually this can be removed now as the lumber jack extension is applied in NewsHolder.php

Fixed in 8b1751a831987ca31fdeaee769ac3609e303ee7e

Yupp, I saw that later on too.

Do you want to publish a new release so people with stable pref get this change @sheadawson ?

I do, I'll get to it later today ;)
On Tue, Dec 8, 2015 at 9:33 AM, Peter Thaleikis<EMAIL_ADDRESS>wrote:

Do you want to publish a new release so people with stable pref get this
change @sheadawson https://github.com/sheadawson ?
—
Reply to this email directly or view it on GitHub
https://github.com/sheadawson/silverstripe-newsly/pull/4#issuecomment-162652697
.

--
Shea Dawson
Web Developer
LiveSource
mobile +64 20 4028 5647
skype squatchnz
email<EMAIL_ADDRESS>*web *www.livesource.co.nz

Thanks :)


[IOTDB-937] change jdbc into session and don't need to create metadata

https://issues.apache.org/jira/browse/IOTDB-937

@SteveYurongSu add tests, take a look.

Please add more tests for:

exporting aggregation query results
importing / exporting query date sets with special characters

Please add more tests for:

exporting aggregation query results
importing/exporting query date sets with special characters

added.


Proper support of user-defined constants

And also of rename:

Issue was actually matching constants without a relying on a \b (end of word)


Fixed a typo

Which issue does this PR address?
Closes #
Acceptance Criteria

[ ] Corresponds to the concept
[ ] Corresponds to the design

Definition of Done

[ ] corresponds to the design principles
[ ] corresponds to the code standards
[ ] passes Continuous Integration checks
[ ] available as feature branch on GitHub

[ ] contains the cleaned up commit history
[ ] commit messages satisfy our commit message guidelines
[ ] a single commit closes the issue via Closes #issuenr

 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.

We do not accept PRs that do not substantially improve our toolkit. For potential improvements check out the open issues of this repository.


Neon EVM Testnet not being deprecated at chainid.network, but deprecated on chainlist.org

Hello, a week ago in this PR I've deprecated Neon EVM TestNet chain and the PR got accepted for Chainlist website. I understand you guys are reading the changes from there, but I still see the Neon EVM TestNet on https://chainid.network. Can you collaborate?

@mnedelchev-vn Neon EVM TestNet should only be visible if the toggle to display deprecated networks is enabled.
Can you clarify what you would have expected instead?

@FrederikBolding I was hoping to remove Neon EVM TestNet at all! Is that even possible with your UI?

why do you want that?