TypeScript Tools for VS 2015 <IP_ADDRESS> Beta not working

TypeScript Version:  <IP_ADDRESS>
I was using VS2015 Update 3 with the built-in TypeScript tool, version 1.8.6 succesfully.
Today I tried to upgrade it using TypeScript Tools for VS 2015 <IP_ADDRESS> Beta. After installing the tools successfully, there's no more auto-completion in VS (the syntax highlight is still there). And the Build command exits with error.
I decided to roll back to 1.8.6 so I uninstalled <IP_ADDRESS> Beta. I checked that the TypeScript folder under C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft and C:\Program Files (x86)\Microsoft SDKs are gone. But executing the TypeScript_Dev14Full.exe (1.8 version) doesn't recreate those folders again.
So I had to switch back to 2.0 again. I installed it once again. Now after opening my TypeScript project there is even no syntax highlighting, not to mention auto completion and Build, and upon open project properties it shows
An error occurred trying to load the page.
No exports were found that match the constraint:
	ContractName	Microsoft.CodeAnalysis.Editor.TypeScript.ScriptContexts.ITypeScriptProjectProvider
	RequiredTypeIdentity	Microsoft.CodeAnalysis.Editor.TypeScript.ScriptContexts.ITypeScriptProjectProvider

I've been Googling for hours but I haven't found any workable solutions. One of the issues I found at https://github.com/Microsoft/TypeScript/issues/7519 bears the most similar symptoms and it suggests delete the %localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache folder. I did that and it did not work and it shows a message saying 'An exception has been encountered. This may be caused by an extension.' and it asks me to check the ActivityLog.xml
ActivityLog.txt here is the txt version since github doesn't support xml. Please take a look if it's helpful.
I haven't seen any other posts that describe situations similar to mine.
Please help.
Expected behavior:
TypeScript Tools for VS 2015 <IP_ADDRESS> Beta work properly.
Actual behavior:
It does not. See descriptions above.

Sounds like an installer issue. can you try to

Uninstall all versions of TS you have installed
Install latest Update 3: https://msdn.microsoft.com/en-us/library/mt752379.aspx (even if you have installer an earlier version of Update 3 already).
Install TS 2.0.3 from https://www.microsoft.com/en-us/download/details.aspx?id=48593

If this does not work, please share your install logs for these operations. the install logs should be under %TEMP% and should have the prefix dd_typescript*.

I have the same issue using Typescript 2.0.3.
Using VS 2015 Professional with update 3 (Latest version , from  https://msdn.microsoft.com/en-us/library/mt752379.aspx)
Error :
An error occurred trying to load the page.
No exports were found that match the constraint:
ContractName	Microsoft.CodeAnalysis.Editor.TypeScript.ScriptContexts.ITypeScriptProjectProvider
RequiredTypeIdentity	Microsoft.CodeAnalysis.Editor.TypeScript.ScriptContexts.ITypeScriptProjectProvider
Have attached Installation log files.
dd_TypeScript_Dev14_20160923221717_001_TypeScript_Dev14.msi.txt
dd_TypeScript_Dev14_20160923221717_000_TypeScript_SDK.msi.txt

@mhegazy
I have the same issue ,
An error occurred trying to load the page.
No exports were found that match the constraint:
ContractName	Microsoft.CodeAnalysis.Editor.TypeScript.ScriptContexts.ITypeScriptProjectProvider
RequiredTypeIdentity	Microsoft.CodeAnalysis.Editor.TypeScript.ScriptContexts.ITypeScriptProjectProvider
Using VS 2015 Professional Edtion, With Update 3 from

Have installed Update 3 from Location : https://msdn.microsoft.com/en-us/library/mt752379.aspx)
Have installed Typescript 2.0.3 for VS 2015.

Have attached Installation Logs.
dd_TypeScript_Dev14_20160923221717.txt
dd_TypeScript_Dev14_20160923221717_001_TypeScript_Dev14.msi.txt
dd_TypeScript_Dev14_20160923221717_000_TypeScript_SDK.msi.txt

Just to make sure I understand the sequence correctelly, did you uninstall TS 2.* before installing update 3 or not?

@mhegazy
I have uninstalled Typescript 2.0.3.
Repaired VS 2015 Update 3,
Installed again Typescript 2.0.3
Still the same issue, Have attached Typescript Logs and Batch Installation Logs.
Note: tried with 2.0.2 Beta as well . I had the same  @issue
dd_TypeScript_Dev14_20160923234028_000_TypeScript_SDK.msi.txt
dd_TypeScript_Dev14_20160923234028_001_TypeScript_Dev14.msi.txt
dd_TypeScript_Dev14_20160923234028.txt
Update 3 Installation  Log
dd_patch_KB3165756_20160923233130.txt
dd_patch_KB3165756_20160923233130_028_Preparation_patch_KB3165756.txt
dd_patch_KB3165756_20160923233130_028_Preparation_patch_KB3165756_{919C67A9-2DE8-4929-A910-CB85E009B5CB}.txt

Can you try devenv /setup from a vs command prompet.

Cleared AppData\Roaming\VS\14.0 folder and tried devenv  /setup . still
have the same issue.
If I try with 1.8.4 typescript is trying to load. but that has conflict
with new version installation files. May be VS 2015 Repair will do for
Typescript 1.8.4.
But for 2.0.2 and 2.0.3  have the same issue.
On Sat, Sep 24, 2016 at 12:02 AM, Mohamed Hegazy<EMAIL_ADDRESS>wrote:

Can you try devenv /setup from a vs command prompet.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/TypeScript/issues/11110#issuecomment-249343561,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATko_CyuCiXPMkUrGF4NimVnWm988x0Uks5qtKDlgaJpZM4KFcKI
.

I'm in the same boat.  I can't even get 1.8.x to work again.

I have not been able to set up a local machine to reproduce this issue. I would appreciate any information you can share about what was installed on the machine, and how you got to the broken state.
Also it would be great if you can tell me what versions of TS are installed using Add or Remove Programs now.
Can you also share the versions of C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TypeScript\Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll that you currently have.

When I have installed 2.0.3 ,  Initially there was no issue. But no
features were working. Its not highlighting any syntax, error or nothing.
Just only compile time it throws error.
Otherwise its just behaving like text file. Its no were near Visual studio
code.
Then I thought, this is due to multiple version of Typescript installed .
So.. To clear it I have uninstalled 1.8.4 and Deleted 1.0  from (C:\Program
Files (x86)\Microsoft SDKs\TypeScript) as there was no uninstall option.
After that I have started getting that error.
To Fix this, I have uninstalled 2.0.3 , UnInstalled VS 2015. Installed VS
2015 with Latest Update 3. Then Typescript 2.0.3. Now I don't see that
Error. But now I came to my old state, No syntax highlighting, not showing
errors. * Is this expected behavior or is there anything I am missing?*

Is Visual Studio 2015 has same behavior as Visual Studio Code Or my
understanding is wrong?  *

Now.. For time being till VS 2015 start behaving smoothly with Typescript.
I moved to Visual Studio Code. And have asked my team members to move
Visual Studio Code instead of VS 2015.
Typescript Editor version is : 14.30921.1.0
On Sun, Sep 25, 2016 at 1:24 AM, Mohamed Hegazy<EMAIL_ADDRESS>wrote:

I have not been able to set up a local machine to reproduce this issue. I
would appreciate any information you can share about what was installed on
the machine, and how you got to the broken state.
Also it would be great if you can tell me what versions of TS are
installed using Add or Remove Programs now.
Can you also share the versions of C:\Program Files (x86)\Microsoft
Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft
TypeScript\Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll that you
currently have.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/TypeScript/issues/11110#issuecomment-249403610,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATko_Dmd1P6W3VnLBKxid-ZQrX3pc42zks5qtgWkgaJpZM4KFcKI
.

It's good to know that I'm not the only person who's having this issue. My situation is exactly the same as @GopiAnnan 's , thanks for giving a better description.
To provide more information,
before it's broken
OS: Windows Server 2012
VS: 2015 with the latest Update 3
TypeScript: 1.8
after it's broken
OS: Windows Server 2012
VS: 2015 with the latest Update 3
TypeScript: <IP_ADDRESS> Beta
My current Microsoft.CodeAnalysis.TypeScript.EditorFeature version is 14.300828.1.0
I actually tried TypeScript 2.0 the moment it was out but it wasn't successful (with all the same problems described in this post) so I rolled back to 1.8. I tried 2.0.2 last Friday hoping it would be different, but it was the same.

@TianCNCA, can you install TS 2.0.3, https://www.microsoft.com/en-us/download/details.aspx?id=48593 then share the install log %TEMP%\dd_TypeScript*.log?

@mhegazy here are the files
dd_TypeScript_Dev14_20160926151629_000_TypeScript_SDK.msi.log.txt
dd_TypeScript_Dev14_20160926151629_001_TypeScript_Dev14.msi.log.txt
dd_TypeScript_Dev14_20160926151629.log.txt

@yuit, any thoughts?

I fixed mine by completely uninstalling VS2015, wiping out all the AppData folders for VS, reinstalling VS2015 U3, then installing TS 2.0.3.
So while that doesn't help anyone not willing to nuke their VS install, I did remember something from my original install that might have help diagnose the issue.  When the 2.0.0 beta was released, I started the VS install package, but cancelled it mid-installation (since it suddenly occurred to me not to screw with my TS workflow the night before a big deploy).  TS 1.8.10 was working fine after that, but once I tried to install the proper TS 2.0.3 release, I lost all TS functionality in VS.  So perhaps something was modified mid-installation that wasn't rolled back when cancelled?

@mhov That was not my case. I let my installations finish completely yet all TS functionalities don't work after that.

Same issue with Visual Studio 2015 enterprise Typescript broken and just white text. and js files now wont open just throw error

I am investigating the issue currently. I will post an update and hopefully a solution to this issue

I am trying to repo the problem locally on my machine. Following steps . From looking into logs file you guys share, it seem that (both VS and SDK install and no errors occur. However, in the AcitvityLog.xml, it seems that some components are not update and when tyring to load TypeScript LS, it can't find necessary stuffs

Here we are discussing about 2 issues.

Project properties Typescript Section shows this below Message

An error occurred trying to load the page.
No exports were found that match the constraint:
ContractName    Microsoft.CodeAnalysis.Editor.TypeScript.ScriptContexts.ITypeScriptProjectProvider
RequiredTypeIdentity    Microsoft.CodeAnalysis.Editor.TypeScript.ScriptContexts.ITypeScriptProjectProvider

VS 2015 is not having any Syntax Highlighter with Latest Typescript 2.0.3

To Fix First Issue :
Uninstall  all version of TypeScript 2.0.3, 18.4, 1.0 what ever.
Uninstall VS 2015
Restart Machine
Install VS 2015
Install Typescript 2.0.3
This will solve the first issue. In Project properties , Typescript section you wont be seeing that error.
But still you may have the second issue. Its not highlighting any syntax or error. Its just behaves like Text editor but at compile time it throws all compilation errors.
To  resolve 2nd issue,
If you have installed web extension pack and web essentials uninstall those packages.  (This step may not be required, but that's what I have done)
Leave that VS 2015 instance open
Uninstall Typescript 2.0.3 using your Typescript Installer or Control Panel Programs.  This time you will get alert to close Visual Studio otherwise you have to reboot. Choose the option to reboot. So that VS 2015 will not get closed .  After TS installation you reboot your system.
Now you should be having working environment with TS 2.0.3 with VS 2015 with syntax highlight and error. And on top of this you can install Web Extension Pack if you want.
I have periodically one more error, "NuGet Package instance used by another process, So it not able to upgrade". This may related anything with this?
@yuit I am using Windows 7 Ent.

@GopiAnnan - thank you, the fix for the 2nd issue worked for me. I did not uninstall web extension pack or web essentials.
@yuit I am using windows 10 pro

We have traced this back to Chakra issue on some OS's. we are following up on this and should have an update shortly.

We have a fix for this available. figuring out the release schedule for this. We should have more updates soon.

Had the same issue after upgrading from 1.8 to 2.0 (VS2015 U3, Win10):

no intellisense or automatic indentation
errors only show on build
syntax highligting was present

Solution:

Uninstall TS 2.0.3
Repair Visual Studio Update 3 (latest patch), reboot
Install TS 2.0.3

If anyone else is stumbling into this issue, I tried the uninstall, repair, reinstall method and it didn't work for me, but on a whim I just tried a repair of the TS 2.0.3 install and it worked.
I had VS2013 U3 up at the time so the repair prompted me to close it or restart. I told it to close VS and restart it, it closed visual studio, immediately opened it back up, and prompted me the same question. I manually closed VS, then selected OK again and it completed the repair. With the installer still open and saying completed, I opened up VS 2015 and I have intellisense again.
Most of that's probably voodoo and not important, but bottom line, try a repair on TS 2.0.3 , it might fix it.

TypeScript 2.0.6 should be available now; please give it a try and let us know if there are other issues.

I had these issues with VS2015 update 3 (as listed by @deadZedd ) and typescript 2.0.6, repairing VS and reinstalling typescript was not enough.
I did the steps suggested by @paulvanbrenk (see issue #7519) and had success.. coloring, intellisense, auto format/indentation and completion works again.


:bug: Fix(actions-types): Fix ethCall to be more consistent with tevmCall action

Description
Make eth_call and tevm_call types match
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

Current dependencies on/for this PR:

main

PR #882   👈

PR #883

PR #884

PR #885

This stack of pull requests is managed by Graphite.


Bug(?) Unable to connect as root to MySQL 5.7 or MariaDB 10

I just installed MariaDB 10.1.29 on Ubuntu 18.04. From the command line I can connect using sudo:
sudo mysql -u root -p

But not without sudo.
Also, if I try to connect to the database through DBeaver, I get:
Could not connect: Access denied for user 'root'@'localhost'

While the credentials are correct. I tried installing MySQL 5.7, but I'm experiencing the exact same issue there as well. For a project I've got MySQL 5.6 in a docker instance, no problem there.
Are these new security measures?
Here is also my question on Stack Overflow.

Hi,
I had the same thing last night.
This is not related to dbeaver, but default behaviour of mariadb: root cannot login via localhost
follow these steps here.
http://www.daniloaz.com/en/how-to-create-a-user-in-mysql-mariadb-and-grant-permissions-on-a-specific-database/
this outlines step by step using the CLI in creating a user@localhost (and user@%) and granting them access to the db server. Please note that I found you had to type commands in the correct case.

@rokk-krinn Thanks, that's exactly the path I went to get around the issue. :)

How to connect with DBbeaver as <IP_ADDRESS> instead of localhost though ?

Related to https://github.com/dbeaver/dbeaver/issues/2761

SSH tunnel might work too https://stackoverflow.com/a/60989949/1833322
Another workaround changing database configuration https://stackoverflow.com/a/48158693/1833322

@wout  can you please reopen this issue as a real issue? There are other DB packages that just work, see https://stackoverflow.com/q/39514212/1833322

A list of answer on how to possibly solve this problem. I can't recommend a specific answer

Setting new root password
https://stackoverflow.com/a/35748657/1833322
https://stackoverflow.com/a/41793945/1833322
https://stackoverflow.com/a/52335791/1833322
https://stackoverflow.com/a/23924870/1833322
https://stackoverflow.com/a/6081358/1833322
https://stackoverflow.com/a/53487418/1833322
https://askubuntu.com/a/801950/231084  + explanation how root is able to login
Changing default config file
https://stackoverflow.com/a/48377482/1833322
Changing stuff in authentication
https://stackoverflow.com/a/53487418/1833322
https://stackoverflow.com/a/42742610/1833322
https://serverfault.com/a/809071
https://stackoverflow.com/a/36234358/1833322 + setting no password
Upgrade server
https://stackoverflow.com/a/8958678/1833322
Grant privileges
https://stackoverflow.com/a/16004129/1833322
https://stackoverflow.com/a/23924870/1833322
Insert new user
https://stackoverflow.com/a/17976151/1833322
Use tool to set new password
https://stackoverflow.com/a/21944972/1833322
Reconfigure server
https://stackoverflow.com/a/22469887/1833322
Recreate root user
https://askubuntu.com/a/784347/231084
Create config after setting password in order not having to use password
https://serverfault.com/a/563717
Changing bind-address
https://stackoverflow.com/a/48158693/1833322
https://serverfault.com/a/808978

Same issue here - connecting too mysql-5.1.73-8 (RHEL6 runs old...) through an SSH tunnel.
Had to change my tunnel to go to <IP_ADDRESS>.
From ssh -L 13306:<hostname>:3306 hostname
To ssh -L 13306:<IP_ADDRESS>:3306 hostname
DBeaver was configured to go to <IP_ADDRESS>:13306.


[AKS] do not set network_plugin based on the Python SDK

Related command

az aks create
Description

the CLI should not own defaulting the network
profile properties. Defaulting should be owned
completely by AKS RP, so if a customer does
not set the network_plugin field then the CLI
should treat it as None.
Today, the default provided from the SDK
is kubenet but in the future, the AKS RP
will change this default value when omitted.
This means that other clients (ARM, bicep,
etc.) that do not set network-plugin will
get a different behavior than the CLI because
those clients won't set anything but the CLI
will continue to include the default from the
SDK.
Testing Guide

az aks create - without providing a --network-plugin should succeed and AKS RP will set the default.
History Notes

[aks] az aks create -n myCluster -g myRg: will not set the network-plugin based on the default from the Python SDK.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

AKS

related PR where we've already done this in the aks-preview extension: https://github.com/Azure/azure-cli-extensions/pull/7766

Requeued another live test


chore: 🤖 bump keen dependencies

https://metakeen.atlassian.net/browse/FEE-500

Codecov Report

Merging #183 (5d66705) into develop (deafdad) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #183   +/-   ##
========================================
  Coverage    86.59%   86.59%
========================================
  Files          410      410
  Lines         5437     5437
  Branches       527      527
========================================
  Hits          4708     4708
  Misses         664      664
  Partials        65       65

Continue to review full report at Codecov.

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


Don't fetch the CurrentCulture on every iteration

I was able to improve the plugin's load time by ~30%
Before: 2.65s
After: 1.82s

I tested your change to the StringLogicalComparer class and the results when adding the items to the tree view with 166 filters in 25 categories showed a ~1% difference.
Before: 0.4272 milliseconds
After: 0.4234 milliseconds.
While I appreciate your effort PSFilterPdn is a personal project and not a traditional community developed project.
Because of this I am not accepting 3rd party contributions as doing so would restrict my ability to change to a different open source license.


fix(auth): Make displayName optional for AuthProviderConfig typings

Observation
There is a discrepancy regarding displayName being a mandatory field in AuthProviderConfig.
Source
https://github.com/firebase/firebase-admin-node/blob/031edc2c3eb3b676b95063ce33bfc5673d7dc2bc/src/auth/auth-config.ts#L29-L34
Typings
https://github.com/firebase/firebase-admin-node/blob/031edc2c3eb3b676b95063ce33bfc5673d7dc2bc/src/auth.d.ts#L1062-L1082
Solution
Assuming the typings are the source of truth I made it a mandatory field.

This might be a case of AuthProviderConfig type internally used for create/update requests as well. If not, LGTM.

That's true ... thinking out loud, in that case I could set the displayName attribute of AuthProviderConfig to string | undefined and then in sub-classes such as SAMLConfig to string, maybe that would work?

I think this was a mistake. displayName is not required on a provider. It is definitely not required for update requests.

Do you suggest I change the d.ts file then, and wait for a major version change? Or leave it as is?

If the displayName is allowed to be undefined on some of the objects, then our current typings are incorrect. It should be corrected and the change can be treated as a bug fix.

Yeah, that would be great. I think we should update it in the typings to be optional. Thank you.

Thanks for the responses, @bojeil-google PTAL :)

I already approved :)


Add support for computing CLIP image and text embeddings separately (Closes #148)

This PR adds support for computing CLIP text and vision embeddings separately. It uses a custom ONNX config (based on this) and requires models to be exported  with the --split_modalities flag set in the conversion script. For example:
python -m scripts.convert --quantize --model_id openai/clip-vit-base-patch16 --split_modalities

Usage:
Example: Compute text embeddings with CLIPTextModelWithProjection.
import { AutoTokenizer, CLIPTextModelWithProjection } from '@xenova/transformers';

// Load tokenizer and text model
const tokenizer = await AutoTokenizer.from_pretrained('Xenova/clip-vit-base-patch16');
const text_model = await CLIPTextModelWithProjection.from_pretrained('Xenova/clip-vit-base-patch16');

// Run tokenization
let texts = ['a photo of a car', 'a photo of a football match'];
let text_inputs = tokenizer(texts, { padding: true, truncation: true });

// Compute embeddings
const { text_embeds } = await text_model(text_inputs);
// Tensor {
//   dims: [ 2, 512 ],
//   type: 'float32',
//   data: Float32Array(1024) [ ... ],
//   size: 1024
// }

Example: Compute vision embeddings with CLIPVisionModelWithProjection.
import { AutoProcessor, CLIPVisionModelWithProjection, RawImage} from '@xenova/transformers';

// Load processor and vision model
const processor = await AutoProcessor.from_pretrained('Xenova/clip-vit-base-patch16');
const vision_model = await CLIPVisionModelWithProjection.from_pretrained('Xenova/clip-vit-base-patch16');

// Read image and run processor
let image = await RawImage.read('https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/football-match.jpg');
let image_inputs = await processor(image);

// Compute embeddings
const { image_embeds } = await vision_model(image_inputs);
// Tensor {
//   dims: [ 1, 512 ],
//   type: 'float32',
//   data: Float32Array(512) [ ... ],
//   size: 512
// }

cc @josephrocca

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

🥹 what did we (the web/js community) do to deserve you xenova
🧎

I will merge into main soon 🚀 ... I'm just testing everything by creating a simple Next.js semantic image search application. Results seem pretty good so far:

As you can see, it correctly ranks the first image of a woman exploring a forest much higher (relatively) than the others. (similarity is calculated between query text embedding and image embeds)

The little web app examples you've been putting together are great! Being able to tweet "this is running completely in the browser!" with a little video showing some magic AI thing (that most devs might assume you'd need a big GPU server for), is, I think, opening up peoples eyes to the possibilities here.
(Aside: I've mentioned this before, but there's another subset of users [which includes myself], who really just want little code snippets for various tasks - i.e. where a full-blown application isn't really that useful, because I end up having to dig through code to "extract" out the simple few-lines-of-code that I wanted. If these examples could be linked in the "Supported Tasks" table, that would be perfect I think. I know you're getting around to this eventually - but I know it's sometimes useful to hear pain-points from users a few times so you know that users aren't just requesting some niche "nice-to-have" thing that they happened to ponder for a few moments.)

I will merge into main soon 🚀 ... I'm just testing everything by creating a simple Next.js semantic image search application. Results seem pretty good so far:
 As you can see, it correctly ranks the first image of a woman exploring a forest much higher (relatively) than the others. (similarity is the cosine similarity between query text embedding and image embeds)

This may not be the best place to ask, but how did you generate the ai_description for those images?


Update ubuntu to version 20.04 in Dockerfile and travis.yml

Building docker using "ubuntu:disco" as base image currently fails, now that 19.04 has reached end-of-life.
E: The repository 'http://security.ubuntu.com/ubuntu disco-security Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu disco Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu disco-updates Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu disco-backports Release' does not have a Release file.
The command '/bin/sh -c apt-get -q update && apt-get -q -y install     make     git     curl     wget     libpcap-dev     libelf-dev     hugepages      libnuma-dev     libhyperscan-dev     liblua5.3-dev     libmnl-dev     libibverbs-dev' returned a non-zero code: 100
The command "docker build --build-arg https_proxy=${https_proxy} -t test-disco ." failed and exited with 100 during .

This PR suggests a way to fix this by using Ubuntu focal (20.04) instead, as it's the latest LTS release. Another option could be to use Ubuntu eoan (19.10) but the issue would come back in a few months.
In Ubuntu 20.04, the hugepages package is replaced by libhugetlbfs-bin it seems.
E: Unable to locate package hugepages
The command '/bin/sh -c apt-get -q update && apt-get -q -y install     make     git     curl     wget     libpcap-dev     libelf-dev     hugepages     libnuma-dev     libhyperscan-dev     liblua5.3-dev     libmnl-dev     libibverbs-dev' returned a non-zero code: 100

https://launchpad.net/ubuntu/focal/+package/libhugetlbfs-bin
https://launchpad.net/ubuntu/focal/+package/hugepages

@mercimat thanks for PR

@aregm Thanks for your feedback.
I see that the PR got approved, but closed without being merged. Is that expected ?

Corrected - thanks.


Azure Cloud Shell CLI Data lake error

Describe the bug
Connected to the Azure Portal Cloud shell Bash ..
To Reproduce
Type: az dls fs list --id "datalake-account-id" --path "/"
Expected behavior
list of files or folders in that directory
Environment summary
az --version
azure-cli (2.0.32)
acr (2.0.24)
acs (2.0.32)
advisor (0.5.1)
ams (0.1.0)
appservice (0.1.32)
backup (1.1.1)
batch (3.2.2)
batchai (0.2.2)
billing (0.1.8)
cdn (0.0.14)
cloud (2.0.13)
cognitiveservices (0.1.13)
command-modules-nspkg (2.0.1)
configure (2.0.15)
consumption (0.3.1)
container (0.1.23)
core (2.0.32)
cosmosdb (0.1.21)
dla (0.0.19)
dls (0.0.21)
dms (0.0.1)
eventgrid (0.1.12)
eventhubs (0.1.3)
extension (0.0.13)
feedback (2.1.1)
find (0.2.9)
interactive (0.3.20)
iot (0.1.20)
keyvault (2.0.21)
lab (0.0.22)
monitor (0.1.6)
network (2.1.0)
nspkg (3.0.2)
profile (2.0.24)
rdbms (0.2.2)
redis (0.2.13)
reservations (0.1.2)
resource (2.0.28)
role (2.0.23)
servicebus (0.1.2)
servicefabric (0.0.12)
sql (2.0.25)
storage (2.0.32)
vm (2.0.31)
Python location '/opt/az/bin/python3'
Extensions directory '/home/mirza/.azure/cliextensions'
Python (Linux) 3.6.1 (default, Apr 30 2018, 23:14:03)
[GCC 5.4.0 20160609]
Additional context
Error reported on the console ::
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 197, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 332, in execute
six.reraise(*sys.exc_info())
File "/opt/az/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 306, in execute
result = cmd(params)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 167, in call
return super(AzCliCommand, self).call(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/knack/commands.py", line 109, in call
return self.handler(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 420, in default_command_handler
result = op(**command_args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/dls/custom.py", line 122, in list_adls_items
return cf_dls_filesystem(cmd.cli_ctx, account_name).ls(path, detail=True)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/dls/_client_factory.py", line 37, in cf_dls_filesystem
url_suffix=cli_ctx.cloud.suffixes.azure_datalake_store_file_system_endpoint)
File "/opt/az/lib/python3.6/site-packages/azure/datalake/store/core.py", line 68, in init
self.connect()
File "/opt/az/lib/python3.6/site-packages/azure/datalake/store/core.py", line 85, in connect
self.azure = DatalakeRESTInterface(token=self.token, **self.kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/datalake/store/lib.py", line 249, in init
self.head = {'Authorization': token.signed_session().headers['Authorization']}
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/adal_authentication.py", line 24, in signed_session
scheme, token, _ = self._token_retriever()
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/_profile.py", line 451, in _retrieve_token
return self._get_token_from_cloud_shell(resource)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/_profile.py", line 305, in _get_token_from_cloud_shell
auth.set_token()
File "/opt/az/lib/python3.6/site-packages/msrestazure/azure_active_directory.py", line 693, in set_token
self.scheme, _, self.token = get_msi_token(self.resource, self.port, self.msi_conf)
File "/opt/az/lib/python3.6/site-packages/msrestazure/azure_active_directory.py", line 598, in get_msi_token
result.raise_for_status()
File "/opt/az/lib/python3.6/site-packages/requests/models.py", line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token
mirza@Azure:~$ az dls fs list --id "086b3d2c-d0ed-4991-aa13-a46fd27965bf" --path "/"
400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 197, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 332, in execute
six.reraise(*sys.exc_info())
File "/opt/az/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 306, in execute
result = cmd(params)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 167, in call
return super(AzCliCommand, self).call(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/knack/commands.py", line 109, in call
return self.handler(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 420, in default_command_handler
result = op(**command_args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/dls/custom.py", line 122, in list_adls_items
return cf_dls_filesystem(cmd.cli_ctx, account_name).ls(path, detail=True)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/dls/_client_factory.py", line 37, in cf_dls_filesystem
url_suffix=cli_ctx.cloud.suffixes.azure_datalake_store_file_system_endpoint)
File "/opt/az/lib/python3.6/site-packages/azure/datalake/store/core.py", line 68, in init
self.connect()
File "/opt/az/lib/python3.6/site-packages/azure/datalake/store/core.py", line 85, in connect
self.azure = DatalakeRESTInterface(token=self.token, **self.kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/datalake/store/lib.py", line 249, in init
self.head = {'Authorization': token.signed_session().headers['Authorization']}
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/adal_authentication.py", line 24, in signed_session
scheme, token, _ = self._token_retriever()
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/_profile.py", line 451, in _retrieve_token
return self._get_token_from_cloud_shell(resource)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/_profile.py", line 305, in _get_token_from_cloud_shell
auth.set_token()
File "/opt/az/lib/python3.6/site-packages/msrestazure/azure_active_directory.py", line 693, in set_token
self.scheme, _, self.token = get_msi_token(self.resource, self.port, self.msi_conf)
File "/opt/az/lib/python3.6/site-packages/msrestazure/azure_active_directory.py", line 598, in get_msi_token
result.raise_for_status()
File "/opt/az/lib/python3.6/site-packages/requests/models.py", line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url:

@kbaig109 it is by design that DLS commands don't work out of box in cloud shell because shell is not able to provide the token for CLI users to access the data lake resources. This has been a known issue for a while. Same problem exists with Azure Batch.
Your workaround is to run az login to login and run the command like on a regular desktop.


Trying to PXE kickstart Dell Hardware (Not supporting IPXE)

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

We tried kickstart with VM which support IPXE and that works perfect.
But Dell H/w (PowerEdge C6420) which dont support IPXE , I am unable to kick with harvester .
I tried to kick using UEFI and Legacy boot mode options but no success. I followed below document -
https://docs.harvesterhci.io/v0.3/install/pxe-boot-install/

Hi @yashi4engg are you please able to advise what version of harvester you are using?
There has been a small change to the config.yaml schema post v1.1.0, details of same are available here:
https://docs.harvesterhci.io/v1.1/install/pxe-boot-install

I am trying to install harvester v.1.1.0

As per above comment I am able to kick a host with same config which supports IPXE . But My H/w dont support IPXE and now I am trying to kick it with Legacy boot mode ...I am able to get IP assign and also able to download pxelinux.cfg/default file but contents of file it wont understand so seems there should be some syntax change
Any way you can let me know what should be syntax for defining default file to specify  below parameters :-
root=live:http:///harvester/harvester-v1.1.0-rootfs-amd64.squashfs
harvester.install.automatic=true harvester.install.config_url=http:///harvester/config-join.yaml
currently when i am trying to kick with below default file host went to halt state with erroe -
" Fatal error - Dont Know how to handle root=live:http://*****/harvester/harvester-v1.1.0-rootfs-amd64.squashfs "
My current default file is -
LABEL ipxe-join-efi
kernel Images/harvester-v1.1.0-vmlinuz-amd64 initrd=Images/harvester-v1.1.0-initrd-amd64
MENU DEFAULT
initrd Images/harvester-v1.1.0-initrd-amd64
append root=live:http:///harvester/harvester-v1.1.0-rootfs-amd64.squashfs harvester.install.automatic=true harvester.install.config_url=http://*/harvester/config-join.yml

the rootfs image location doesnt seem to have a valid address could that be the issue?

LABEL ipxe-join-efi
  KERNEL Images/harvester-v1.1.0-vmlinuz-amd64
  MENU DEFAULT
  append initrd=Images/harvester-v1.1.0-initrd-amd64 root=live:http://$ENDPOINT/harvester/harvester-v1.1.0-rootfs-amd64.squashfs harvester.install.automatic=true harvester.install.config_url=http://$ENDPOINT/harvester/config-join.yml

I am not entirely sure on the PXE setup but would something like above work?
I used this as a reference: https://wiki.syslinux.org/wiki/index.php?title=PXELINUX

location is correct but error I am getting is below which suggest its unable to understand what to do with rootfs squash image .
dracut: don't know how to handle 'root=live:http://$ENDPOINT/harvester/harvester-v1.1.0-rootfs-amd64.squashfs'

before the dracut error, do you see a network transfer trying to pull the image?

No network error ...

Hi Team .. I made some changes and now syntax works fine and able to download root=live:http://$ENDPOINT/harvester/harvester-v1.1.0-rootfs-amd64.squashfs file . But now my host is going to emergency mode during installation with below error :-
[OK] Finished Wait for udev to Complete Device Initialization.
[Time] Timed out waiting for device /dev/disk/by-lable/COS_OEM
[DEPEND] Dependency failed for /oem
[DEPEND]  Dependency failed for Local File System
[Time] Timed out waiting for device /dev/disk/by-lable/COS_PERSISTENT
[DEPEND]  Dependency failed for /usr/local
[OK] Stopped Dispatch Password Requests to Console Directory Watch.

I am now stuck with above error ...with above error host failed and trying to go to emergency mode , even in. emergency mode it found root user locked.

is there sos log generated?

No as after above error host went to emergency mode but not allowing do anything . Below is message while going to emergency -
You are in emergency mode .After logging in ,type "journelctl -xb" to view system log, systemctl reboot to reboot, systemctl default or esit to boot in default mode.
Cannot open access to console,the root account is locked.
see sulogin main page for more details .
Press Enter to continue.

Issue resolved..I did some changes in default file and config-join.yml ...


Builder: Missing template: <FONT_INCLUDE>

I just tried builder 0.13 (linux version), upon code generation I receive an error message: builder.codegen.CodeGenException: Missing template: <FONT_INCLUDE>
GUIsliceBuilder/templates only contains c.t and ino.t along with the font spreadsheets, is there supposed to be more?

Thank you @mrbloozman for noting this! I have recreated the same issue in my LINUX VM. I believe the issue is just a missing section in an internal LINUX template resource (linux.t); I'll let @Pconti31 take a look at it in more detail. thx

The FONT_INCLUDE template isn't used when you target linux platform.
This template is only used by arduino.  The code was incorrectly trying to open
FONT_INCLUDE before testing for linux.
Fixed in <IP_ADDRESS> which is  available in the GUIslice-Builder-source repository releases.
Calvin will update the GUIslice API releases as soon as possible.
Paul--

Thanks @ImpulseAdventure and @Pconti31 for looking into this.  I've installed <IP_ADDRESS> and tried generating code again.  Now I'm getting a fatal crash (see attached log).
20190819_215256.txt
Let me know if I can provide more information.

Thanks for your report.  However, to hunt down the problem I need a zip file of your project folder.
It contains the *.prj file we are trying to generate code for.  Without it I have no idea what is doing on.
Thanks.
Paul--

Ah, that's a good hint.  I found an older c file that was generated by a prior version of the builder, which I removed, then regenerated a fresh c file with no issues.  Thanks for these very useful tools.

Thank you @mrbloozman for the followup. For future reference, Paul had identified the issue with the Builder's import of older Builder-generated projects; this should now be fixed in the Builder hotfix release <IP_ADDRESS>.


[Sema] Fix getEffectiveMemberwiseInitializer crash.

Fix getEffectiveMemberwiseInitializer crash due to constructors with invalid types.
Add checks for invalid constructors.
Resolves TF-265.

@swift-ci Please test tensorflow


[hotfix] add norm clearing for the overflow step

This PR solves AssertionError but leads to another related issue. @1SAA @feifeibear


DivMarker / DivIcon classname

I'm attempting to use DivMarkers, the current class defines the iconoptions as follows:
iconOptions: PropTypes.shape({
        iconSize: PropTypes.arrayOf(PropTypes.number),
        iconAnchor: PropTypes.arrayOf(PropTypes.number),
        popupAnchor: PropTypes.arrayOf(PropTypes.number),
        className: PropTypes.arrayOf(PropTypes.number),
        html: PropTypes.string
    }),

I believe this should be:
iconOptions: PropTypes.shape({
        iconSize: PropTypes.arrayOf(PropTypes.number),
        iconAnchor: PropTypes.arrayOf(PropTypes.number),
        popupAnchor: PropTypes.arrayOf(PropTypes.number),
        className: PropTypes.string,
        html: PropTypes.string
    }),

Ah, yes. I have changed className to string. It should make it into the next release.

The bug should be fixed in dash-leaflet==0.1.16.


Single Chain parsed_seq Input Generating Blank Output File

Hello,
I am trying to run TCR-dist on a data set of parsed TCR alpha chains.
An abridged version of my data set is here in .txt format:
clones_file.txt
The code I used to run the basic analysis script is as follows:
python /Users/cajames2/tcr-dist/run_basic_analysis.py --organism human --parsed_seqs_file /Users/cajames2/TCRSeq/clones_file.tsv --make_fake_beta  --make_fake_quals
The script then runs all the way through, but returns blank tables and plots. I ran the test "test_small_human_pairseqs_v1_parsed_seqs.tsv " data set and saw outputs. I also deleted beta chain columns and quality scores and ran only the alpha chain information with --make_fake_beta and --make_fake_quals and it worked just fine.
I think I have traced the issue to something that the parse_tsv_file function is dependent on.  I modified the parse_tsv.py script to print the  all_clones file so that I could see whether my data was being read correctly and this file is blank after I run the run_basic_analysis.py script.  However, when I run the parse_tsv.py script on my data independently, it reads my data and generates a populated  all_clones file.
Do you have any insight into why the parse_tsv_file function won't read my data when run in the context of the run_basic_analysis.py script, but works just fine when run independently?

There are a couple of issues preventing your analysis. First of all, the file you appended does not include the cdr3a_nucseq column, which is required for a number of steps in the analysis and generates errors you can find in the .err files when missing. Second, --make_fake_beta and --make_fake_quals will only function properly when using --pair_seqs_file for your data input; if you are going parse the sequences yourself, you will also need to generate your own fake qualities and fake beta chains. I'm attaching a file with with an example parsed ABtcr that might be helpful in that regard:
FakesExample.txt
Hope this helps. Feel free to email me directly if you need more assistance getting things to work.
Jeremy


win5 and win6 in staging are down

/cc @yusuf-goog

There is a duplicate issue open #96816 to track these. Closing this one.


Limits doesn't work?

it seems this is not synced to KBC

Problém bude asi spíš někde tady: https://github.com/keboola/connection/blob/master/library/Keboola/DeveloperPortalAppSync.php
--
Jakub Matějka
Developer | Keboola Brno
www.keboola.com
On 9 Oct 2018, 15:05 +0200, Ondrej Popelka<EMAIL_ADDRESS>wrote:

it seems this is not synced to KBC
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Adding default tooltips to the menuItems

Fixes #67

This change is

 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.

vaadin-context-menu-addon/src/main/java/com/vaadin/contextmenu/client/ContextMenuConnector.java, line 129 at r1 (raw file):
Previously, elmot (Ilia Motornyi) wrote…
What if the tooltip is added and then removed? Looks like it will stay in the connector

It worked for some reason, but you are right, empty  check is not needed. Tooltip is not visible, if it's empty. Removed check + added example to test

Comments from Reviewable


Feature/small additions

Small Adjustments to the latest big PR and code change.
This PR changes a couple of topics:

Although NumPy is implicitly installed through qiskit (e.g.), I think making it explicit is a good practice.
A module / file for calculating entanglement measures is useful and should be included.
For several good reasons, being able to return the best node is good to include as an option.
(BUG-FIX) Sometimes the angles are given as 1d single entry NumPy arrays. This breaks the code. The suggested solution catches this while not introducing any ambiguity. To avoid this would be better, but it seems to be non-trivial.
Getting the number of qubits in total and the reconstructed state vector are very useful additions. Using tensorly here introduces another dependency, but with the advantage of having a tested and battle-proven routine doing the job.

Please check out the changes and decide if you can proceed @israelferrazaraujo. Thanks a lot!
NB: I would like to add tensorly as a dependency as I think it will be used more often. I will gladly explain why I think that we want to continue with it. We don't necessarily need to include it in this PR, but I would like to start the discussion here.

@israelferrazaraujo  I added the dependency tensorlynow, as we discussed!

@israelferrazaraujo  I added the dependency tensorlynow, as we discussed!

Thanks @carstenblank .

Thanks @carstenblank .


Downgrade gatsby transformer remark

Description
I'm downgrading Gatsby transformer remark to fix the TypeError for customBlocks

No longer relevant, this package was downgraded here: https://github.com/SSWConsulting/SSW.Rules/pull/1540


Wait for service account before running machine controller

Fixes #558
We'll need to do is update the vendor lock in cluster-api-gcp after this PR is merged.

This change is

/assign @jessicaochen
/assign @rsdcastro

/lgtm


Fix slice behavior difference of ImmutableArray

Fix ImmutableArray slice behavior difference with 2.13 and add test case.
Following code won't throw exception anymore
package strawman.collection.immutable

object Test extends App {
  val array = ImmutableArray(1, 2, 3)
  val newArray = array.slice(1, 5)
  println(newArray)
}

@julienrf @szeiger thanks for merging!


_1password-gui: 0.9.10-5 -> 0.9.11-3

Motivation for this change
Changelog:
https://1password.community/discussion/118649/1password-for-linux-beta-0-9-11
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 111666 run on x86_64-linux 1

1 package built:

_1password-gui


Returns nullable arrays as null in toArray.

Currently, a null in any nullable-object-array-typed member of an object would cause toArray() to return null. This is a quite surprising.
With this changes null arrays of objects would be added as null in toArray() output.

Please note that this introduces a breaking changes, as the generated classes won't behave the same. However, I would be interested in any use case where returning null for the whole object in case a single member is null is actually wanted.

Actually, it looks like the whole fromArray/toArray builders would need more extensive testing, including functional one. It seems that a handful of edge cases are not properly covered.


Add loading spinner to forgot button on signin page

refs 5652

replaces basic forgot? button on signin page with spin button
replaces {{input with gh-input}}

Note for testing: please check the loading spinner is not flickering i.e being triggered twice when pressing enter on the email or password field.

Fixed double triggering of signin


Suport to net.ipv4.tcp_keepalive_* in bosh-lite containers

We noticed that some kernel properties available in the aws/vsphere stemcells are not present within the bosh-lite containers. This results is our releases not being able to be deployed to bosh-lite without specific work arounds.
The missing properties we found were:
net.ipv4.tcp_keepalive_intvl
net.ipv4.tcp_keepalive_probes
net.ipv4.tcp_keepalive_time

@tscolari arguably if your release depends on these values you should set it up in the release.
though of course we want to make sure that bosh-lite env is exactly the same as the stemcell. we will at some point switch to using stemcell for the base image of bosh-lite.

@tscolari it doesnt look like garden (or may be procfs) propagate these values into a container. not sure if it's been done on purpose or not, but there is nothing that bosh-lite can do to fix this.
cc @goonzoid


Supply action throws an error when uploading it with the mapping file

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
When using the supply action with a mapping file, it throws a NoMethodError in
/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/supply/lib/supply/client.rb:223: undefined method upload_edit_deobfuscationfile
The method in question:
supply(
  track: "alpha",
  json_key: ENV["GOOGLE_JSON_FILE"],
  apk: "#{apkOutPutPath}",
  mapping: mappingRoute + "release/mapping.txt",
  skip_upload_images: true,
  skip_upload_screenshots: true,
  skip_upload_metadata: skipMetadata,
  validate_only: true
)

Changing validate_only to false still gives the same error. When the mapping line is removed the method doesn't throws any error.
Complete output when running fastlane, including the stack trace and command used
+-------------------------+------------------------------------------------------------------------+
|                                    Summary for supply 2.14.2                                     |
+-------------------------+------------------------------------------------------------------------+
| track                   | alpha                                                                  |
| json_key                | /correctPath/to/key |
| apk                     | /correctPath/to/apk  |
| mapping                 | /correctPath/to/mapping |
| skip_upload_images      | true                                                                   |
| skip_upload_screenshots | true                                                                   |
| skip_upload_metadata    | false                                                                  |
| validate_only           | false                                                                   |
| package_name            | com.pacakge.app                                             |
| rollout                 | 0.1                                                                    |
| metadata_path           | ./fastlane/metadata/android                                            |
| skip_upload_apk         | false                                                                  |
+-------------------------+------------------------------------------------------------------------+

undefined method `upload_edit_deobfuscationfile' for #<Google::Apis::AndroidpublisherV2::AndroidPublisherService:0x007f8d699f8690>
Did you mean?  upload_expansion_file

/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/supply/lib/supply/client.rb:223:in `block in upload_mapping': [!] undefined method `upload_edit_deobfuscationfile' for #<Google::Apis::AndroidpublisherV2::AndroidPublisherService:0x007f8d699f8690> (NoMethodError)
Did you mean?  upload_expansion_file
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/supply/lib/supply/client.rb:360:in `call_google_api'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/supply/lib/supply/client.rb:222:in `upload_mapping'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/supply/lib/supply/uploader.rb:121:in `block in upload_binaries'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/supply/lib/supply/uploader.rb:119:in `each'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/supply/lib/supply/uploader.rb:119:in `upload_binaries'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/supply/lib/supply/uploader.rb:26:in `perform_upload'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/actions/supply.rb:19:in `run'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/runner.rb:239:in `block (2 levels) in execute_action'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/runner.rb:217:in `block in execute_action'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/runner.rb:213:in `chdir'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/runner.rb:213:in `execute_action'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/runner.rb:135:in `trigger_action_by_name'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/fast_file.rb:146:in `method_missing'
	from Fastfile:205:in `block (2 levels) in parsing_binding'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/lane.rb:33:in `call'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/runner.rb:45:in `chdir'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/runner.rb:45:in `execute'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/lane_manager.rb:52:in `cruise_lane'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/command_line_handler.rb:30:in `handle'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/commands_generator.rb:105:in `block (2 levels) in run'
	from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
	from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
	from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:38:in `run!'
	from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/commands_generator.rb:302:in `run'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/commands_generator.rb:42:in `start'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/fastlane/lib/fastlane/cli_tools_distributor.rb:59:in `take_off'
	from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.14.2/bin/fastlane:15:in `<top (required)>'
	from /usr/local/bin/fastlane:23:in `load'
	from /usr/local/bin/fastlane:23:in `<main>

Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
It seems with only an android aplication the fastlane env doesn't produce a succesful output:
[!] Error detecting currently used Xcode installation, please ensure that you have Xcode installed and set it using `sudo xcode-select -s [path]`

Here you go:
[14:11:17]: Generating fastlane environment output, this might take a few seconds...
sh: /Library/Developer/CommandLineTools//usr/bin/xcodebuild: No such file or directory
[14:11:17]: undefined method `split' for nil:NilClass

[!] Error detecting currently used Xcode installation, please ensure that you have Xcode installed and set it using `sudo xcode-select -s [path]`

This looks similar to an error I thought I fixed a while ago (https://github.com/fastlane/fastlane/pull/7763). What version of Fastlane are you using? I think this should be fixed in 2.6.0+
Check the version of the google-api-client gem you have installed. You need at least 0.9.20, which the gemfspec for Supply should be installing. (But maybe you ended up with an old version somehow?)

 The fastlane version was 2.14.2 but the google-api-client gem is 0.9.11. Updating everything now, could it be because I was using "gem update fastlane" specifically?
Thanks for your help!

Hmm - that's odd. I'm not familiar enough with ruby to understand exactly why that would fail to update. :-/ Glad it's working for you, at least, though!


update changelog date

/azp run prepare-pipelines

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-arm-dataprotection


NPM causes strange issue when using Tina + Markdown

Description
A user reported to me over the weekend a strange behavior where they would get an error. `Duplicate use of selection JSON ID Cell'

After testing his repository I couldn't recreate this when using Yarn. I then used NPM latest LTS and would receive the same error.
Steps to reproduce

Create a tina application
Use the basic Markdown editor.
Launch with NPM

Expected result
Yarn versus NPM shouldn't make a difference, I could not understand the reasoning behind this.
Environment
TINACMS and Tina CLI latest.
Tools
Tested on windows 11 NPM and node LTS.

Does this include our starters as well? If not, do you have a reproducible public repo?

I don't have a public repo but I can provide a copy of a private repo that the user provided via a zip file.

@logan-anderson i shoot you a DM it could be windows as he was on windows. Happy to test after the fact but I did get the same issue when we were chatting at the time.


Backport DNS fixes to 1.9

Load balance statefulset DNS response (#31067)
dns: fix various issues with dns proxy (#31251)

The latter is basically a superset of the first one, just cherrypicked both so they cleanly apply

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio_release-1.9
588537e973e0e79c75c3f5b7e8e95d4edaf4c9a4
link
/test unit-tests_istio_release-1.9

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Unable to put in earpiece mode from speaker in IOS

await AudioSession.selectAudioOutput(isSpeaker === "speaker" ? "earpiece" : "speaker");
from loudspeaker to phone I am unable to change it in IOS in android this code works fine .

ios does not share the same audio device ids as android.
See AudioSession.getAudioOutputs().


Continues Chat with OpenAi

How can i chat with Vector / OpenAi and don't close connection with OpenAi.

This is not possible with wire-pod/retail Vector - There is no way continue communication once an answer has been received.


Announce automatically corrected hotkey element value

Summary of the Pull Request
What is this about:
What is include in the PR:
How does someone test / validate:
Quality Checklist

[x] Linked issue: #12100
[ ] Communication: I've discussed this with core contributors in the issue.
[ ] Tests: Added/updated and all pass
[ ] Installer: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Docs: Added/ updated
[ ] Binaries: Any new files are added to WXS / YML

[ ] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.

Do we want some more generic approach here? E.g. announce every change of hotkey value? At the moment, screen reader remains silent while changing hotkey value and (after this change) announcing the value only on losing focus.
Also, there is an issue with TextBoxAutomationPeer - screen reader doesn't read non-alphanumeric values (e.g Win + ` will be read as "Win plus"). I tested this with basic TextBox  (focusing on TextBox which Text contains non-alphanumeric char) and the issue is there.

@stefansjw Should file that TextBox issue against the WinUI repo?
LGTM! It would be nice if narrator would announce something like "This shortcut combination is not allowed", but we should add that to the UI as well. Something we can tackle in a separate issue IMO.

@stefansjw Should file that TextBox issue against the WinUI repo?
LGTM! It would be nice if narrator would announce something like "This shortcut combination is not allowed", but we should add that to the UI as well. Something we can tackle in a separate issue IMO.

Sure, here it is
https://github.com/microsoft/microsoft-ui-xaml/issues/5477


First commit message missing

Creating a log from "first commit" to "master" the very first commit message is missing in the generated changelog.
I've verified this on several repositories


Improved Docs

This contribution is part of the Hacktoberfest spam wave, i.e., low-value contributions for getting a t-shirt. 😞
Please consider creating meaningful contributions. If you just want to get a t-shirt, create 4 pointless PRs in your own repository instead of wasting other people's time.


Soycode jpm

Successfully builds and runs the testing Firefox addon with jpm. Depends on a small change to the grunt-jpm package (see https://github.com/rpl/grunt-jpm/pull/3).

Cool! easier than I was fearing :)

Just to update here - grunt-jpm is now fixed, but fx-runner (which is actually depended on by jpm) doesn't correctly start on Ubuntu (https://github.com/erikvold/fx-runner/issues/4). Will work on resolving that and then revisit merging this.

On second thought, decided to change .shippable.yml to have the needed binary flag for tests to at least work there, which is a better place to have the workaround anyway. So, I'd be open for potentially merging this sooner, feedback of course welcome.

how long do you expect it to take for fx-runner to get fixed? if a while, we could depend on a fixed fork of the upstream code until it's fixed for real.

Been waiting awhile but looks like the fx-runner fix is blocked for the time being. TBH I think the solution in this branch (just hardcoding the location in .shippable.yml) is cleaner than maintaining our own fork of fx-runner, but either way I think it may be a good idea to get this merged in without waiting on fx-runner. LMK your thoughts - thanks!

Going ahead with merging, just to avoid staleness on our side. When fx-runner is fixed it'll just be a matter of removing the -b flag in .shippable.yml.

Looks to be failing the same (new) onDisconnect test as Chrome. This is fixed by - https://github.com/freedomjs/freedom/pull/293
It seems to pass the pre-that-change version of the tests intermittently, but will pass more reliably once that change propagates.


Use carets for sort indicators

Would be an idea to make the boardOrder into two separate variables, one that tracks the column and one that tracks the order (forward or reverse). This would affect setQuizzes pages which are currently being changed and so that change would need to wait.


Floating label should in full width when floatingLabelShouldLockToTop=YES

here is my code
textView.font = FONT_SANS_REGULAR_H1;
textView.placeholderTextColor = UICOLOR_ASKQUESTION;
textView.floatingLabelActiveTextColor=UICOLOR_NAVIGATION_BG;
textView.floatingLabelTextColor=UICOLOR_NAVIGATION_BG;
textView.floatingLabelFont = FONT_SANS_REGULAR_H0;

textView.backgroundColor=[UIColor whiteColor];
textView.floatingLabelShouldLockToTop=YES;

textView.floatingLabelYPadding=3;

When I set textView.floatingLabelYPadding=3 ...also gap from top in floating label when I scroll textview
Please see attachment.

Any suggestion.?
Thanks

hi @anandmahajan - does the PR that was just pulled in here help? https://github.com/jverdi/JVFloatLabeledTextField/pull/112


Sometimes BleDisconnectedException is thrown when writeCharacteristic

bleConnection.writeCharacteristic(A_UUID, data)
      .subscribeOn(Schedulers.io())
      .observeOn(AndroidSchedulers.mainThread())
      .subscribe(
        charValue -> Log.d(TAG, "success"),
        error -> Log.d(TAG, "error"));

Sometimes it throws com.polidea.rxandroidble.exceptions.BleDisconnectedException, have any idea?

If the bleConnection got disconnected during the write - it is totally legit to emit BleDisconnectedException as the write cannot complete then.

So i need to monitor the connection state using observeConnectionStateChanges ?

A good idea is to have only a single .subscribe() in the flow related to BLE.
You can also monitor when the .establishConnection() will emit BleDisconnectedException
.observerConnectionStateChanges() is rather for notifying the UI mostly - it was not meant to be used as an input to other actions.

What does single .subscribe() means?  Do you mean I need to chain establishConnection  and writeCharacteristic  when I want to write data? So observerConnectionStateChanges  can't monitor ble connection state, right?

Yes, this is what I personally do - I construct a chained flow of Observables with a single subscribe because then I am sure that I will get just a single notification that something went wrong.
.observeConnectionStateChanges() is emitting only the connection states - It does not emit errors that may have triggered the disconnect.

Since i have a method that will call writeCharacteristic several times in 1s, if i chain with establishConnection , is that ok?

And one thing i want to make sure, does unsubscribe the subscription created by establishConnection means close the connection? Do i need unsubscribe the subscription created by writeCharacteristic ?

Chaining should be fine as long as you try to establish only one connection at any given time.
Unsubscribing from .establishConnection() is closing it. It is described in the javadoc:
     * The connection is automatically disconnected (and released) when resulting Observable is unsubscribed.
     * On the other hand when the connections is interrupted by the device or the system, the Observable will be unsubscribed as well
     * following BleDisconnectedException or BleGattException emission.

Generally a good idea is to unsubscribe from Subscriptions whenever you are no longer interested in the result.

Thanks your details explanation and advice. Thank you very much!

I'm seeing a writeCharacteristic() attempt cause an error/unsubscription and can't figure out why: StackOverflow


native TemplateBinding support

Seems that TemplateBinding is not supported by Ammy keyword. In order to specify template binding we have to use old syntax.
DataTemplate Key="TabItemHeaderTemplate" {
		TextBlock {
			Text: "{TemplateBinding Content}"
			Padding: "0,0,0,0"
			Margin: 0
		}
	}

Why exactly do you need native TemplateBinding?
Can't you use bind Content from $template ?

Probably in this case I can use normal binding. To be perfectly honest TemplateBinding is more efficient, so in general supporting TemplateBinding syntax will be valuable.

This will require a new syntax though. Something like Width: template_bind Stuff


Add release notes for Prototype Kit v9.11.0

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

Just wondering about the term 'feature release', but there dont seem to be new features?

Just wondering about the term 'feature release', but there dont seem to be new features?

@vanitabarrett explained this better than I can: As we'll be releasing a feature release of GOVUK Frontend and we're changing the minor version in the version number (i.e: that middle number), this is a feature release rather than a patch release.

ah, this is going to be updated with a Frontend release, gotcha


Add support for AreaLights

Based on those researches, integrate supports for Area Lights:

https://eheitzresearch.wordpress.com/415-2/
https://eheitzresearch.wordpress.com/757-2/

Which version of this feature is expected to be implemented

We don't know yet. This is something we are looking for help if you are motivated

Is this still something we want? I was looking at the code it would not really be that hard to convert.

oh yes we want it. but we want it as a regular source (so for all meshes)

Maybe PlayCanvas their implementation (light shapes) can also help. They have predefined shapes though.
Docs: https://developer.playcanvas.com/en/user-manual/graphics/lighting/lights/#light-shapes
Example: https://playcanvas.github.io/#/graphics/area-lights

Do we want shadow support as well?

I don't think so, soft shadows can be simulated to some extent with PCSS or some other filter method. Generating accurate shadows for area lights would be quite time consuming I think.


New configuration form version creation clears old access configurations

Upon creating a new form version, navigating to the form settings and checking the access settings reveals that the previously saved access values do not display
Steps to reproduce the behavior:

Go to 'https://function-adminportal-test.shesha.dev/shesha/forms-designer?id=eb4379c4-ac71-4d18-8eda-0fc77c359e9e'
Before creating a new version, click on 'Settings'
Check 'Access' value
Close the dialog afterwards and click on 'Create new version'
Click on 'Settings'
Check 'Access' value
Actual Results: The value that was showing before creating a new version does not show

Expected behavior
The value should show after creating a new version
Before

Get Endpoint

Create New Version

Related Item #1770


Will model weights be released anytime soon?

We are still figure out this issue. Stay tuned..

Hi @Instruction-Tuning-with-GPT-4 , any updates on releasing the weights? Thanks.


Create detailed subctl guide.

This commit also fixes the behaviour and looks of small code snippets
like subctl ... etc. Where the javascript was adding a clipboard icon
and using yellow. This removes the clipboard icon and uses gray.
The reason for the style/js changes are to move from this:

to this:

Thanks for all the suggestions, I hope it looks more ready now.

@tpantelis Please squash merge if it looks fine to you^  It now needs at least one vote from the code owners :)


Extensions with compatibility issues in about:addons - please list here

Some extensions that have preferences built into the addon page utilize their own css files and don't use all the Firefox default styling settings.
As such, compatibility issues or ugly appearances may arise.
Please see the update here.
If you run across any addons with this issue, please list them here and I will get out a fix when I can.
In addition, please mention the addon as either (1) compatibility - text unreadable or (2) ugly design.
As always, if you are willing/able to help create a fix for an addon, please submit a pull request or post the code somewhere and link to it here.  Not much goes into each fix, but I am only one person and we don't all use the same extensions. See here for addons that have currently have fixes and for a general idea on how to create a fix yourself.

Wrong background on this addons:

Checker Plus for Gmail:
wrong

correct

Checker Plus for Google Calendar:
wrong

correct

Thanks in advance.

Hi @chinook77, thanks for the report on these extensions.  Turns out I needed to make a change to dark_nav_bar_menus.css to prevent extensions from using the dark theme.  Please let me know if this resolves things for you.

Hi, thanks for your work. The add-on background issue is fixed, but this separator in not longer visible.
Before:

After:

I'm glad that fixed it.
For better or worse, that was a design choice on my part (perhaps I should have left it alone as it's primarily a personal preference).
If you would like it back, delete the line containing @import "userChrome-files/remove_bookmarks_bottom_border.css"; in you userChrome.css file.

Thanks for your time.

Hi!
The Dark Mode (WebExtension)'s page is not legible.
https://i.imgur.com/hb54NWK.png
https://addons.mozilla.org/en-US/firefox/addon/dark-mode-webextension/?src=userprofile

Tree Style Tab's debug options are unreadable. This would fix it:
#debug-configs {
    color: var(--primary-light-color) !important;
}

Thanks @Sporif! Fix is now included

@SonicBlader, a fix for SonicBlader is now included

Hi, I may have a chance to try and solve this myself, but currently I haven't delved too deep into it.
These have issues with the about:addons page:
Tab Suspender (memory saver)
Smart HTTPS (revived)
Their config options when you click "More" on the about:addons page are nigh unreadable.
These addons could be enhanced by having a dark mode (when clicking their icon):
uMatrix
Cookie AutoDelete
Firefox Multi-Account Containers

Thanks @crkellen!
I've started working on Multi-Account Containters...let me know if you get any of the others!

I'll be seeing if I can get Tab Suspender tomorrow, I'll let you know how it goes!
null

I have issue with All-In-One-Sidebar background It still light for all the add-ons (extensions, themes, ...) and also from Sage++  extension..


Ensure channel_id is actually unique

Currently, merchant_channels.channel_id is not guaranteed to be unique in the very unlikely case there is a hash collision. It would be very easy to address this:

during establishing the last step before generating channel id is making merchant randomness
the merchant could check if the resultant id would be a duplicate and regenerate the randomness if so
loop until its unique
then send the randomness

Also, add the unique constraint to the db index.

Made this in the wrong repo :facepalm:


Make appropriate Test on Production

I really do love this like this light framework and the improvements you make each day.
I use it on many projects and when cloning a new version, working and uploading to production on an online server, some errors serious errors come making me frustrated since I have to wait for you to provide a solution.
That is why I suggest  you deploy the framework on production to test that everything works well, before releasing in on GitHub.
Thank you

Hi @siteantipas!
I'm aware of the errors that happens, I'm sorry. Right now I have made a new commit that changes the framework structure a little, so I don't recommend to update Wolff right now. I'm making a production environment to test that everything will work fine, so this won't happen again.
From now the incoming commits will try to fix any bug or error instead of adding new functionality to the framework. I'll close this issue when the complete stable and error proof version of Wolff came in.
Thanks and regards :)

Hi @Usbac I'll like to know when you intend finishing this new stable version as I'm planning to use Wolff in  a new project.
Thank you

The first stable version will be finished before the end of the month.
Since then all the non major changes/commits will be retrocompatible :)

The issue has not yet been closed as promised for the end of the month. Does that mean you haven't done online tests and bugs corrections yet?

Hi @siteantipas! I have fixed a lot of bugs and structural problems. I'm sorry about the delay, Wolff isn't in the 1.0 version because I was busy with other works, but the current version is quite stable and has been tested on a production environment without problems.
I'll try to commit the 1.0 version during this week, greetings!

Thank you. I will use version 1.0 in a new project.
On Tue, Jun 4, 2019, 5:37 AM Alejandro<EMAIL_ADDRESS>wrote:

Hi @siteantipas https://github.com/siteantipas! I have fixed a lot of
bugs and structural problems. I'm sorry about the delay, Wolff isn't in the
1.0 version because I was busy with other works, but the current version is
quite stable and has been tested on a production environment without
problems.
I'll try to commit the 1.0 version during this week, greetings!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Usbac/Wolff/issues/11?email_source=notifications&email_token=AF3R5LR3LK3THCQEKEC6E3DPYXWRTA5CNFSM4HKFC7G2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW3MPGI#issuecomment-498517913,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF3R5LVQG3L3STF2UV7SAWTPYXWRTANCNFSM4HKFC7GQ
.


[CH] GraceHashJoin is easy to cause OOM

Backend
CH (ClickHouse)
Bug description
There is a problem in controlling the memory usage of grace hash join.  It uses a fixed bytes limit. This cannot trigger the spill of hash table adaptively.
Spark version
None
Spark configurations
No response
System information
No response
Relevant logs
No response

We could reimplement a new grace hash join in gluten which can spill adaptively. But I don't think this is a good choice.

We track the memory usage of hash table in the join
2024-11-20 10:58:49.163 <Error> GraceHashJoin: xxx total_rows: 586379, total_bytes: 792206888
2024-11-20 10:58:49.171 <Error> GraceHashJoin: xxx total_rows: 590411, total_bytes: 796729200
2024-11-20 10:58:49.180 <Error> GraceHashJoin: xxx total_rows: 594443, total_bytes: 801251512
2024-11-20 10:58:49.189 <Error> GraceHashJoin: xxx total_rows: 598475, total_bytes: 805773824
2024-11-20 10:58:49.197 <Error> GraceHashJoin: xxx total_rows: 602507, total_bytes: 810296136
Exception 2024-11-20 10:58:49.200 <Error> local_engine: Enter java exception handle.
in thread "Executor task launch worker for task 0.0 in stage 11.0 (TID 1040)" org.apache.gluten.exception.GlutenException: Memory limit exceeded: would use 1.50 GiB (attempt to allocate chunk of 4440521 bytes), current RSS 2.80 GiB, maximum: 1.50 GiB.
0. ../contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x000000001469db99
1. ./build/../src/Common/Exception.cpp:109: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000069da63c
2. ../src/Common/Exception.h:111: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x00000000068ca54c
3. ../src/Common/Exception.h:129: DB::Exception::Exception<char const*, char const*, String, long&, String, String, char const*, std::basic_string_view<char, std::char_traits<char>>>(int, FormatStringHelperImpl<std::type_identity<char const*>::type, std::type_identity<char const*>::type, std::type_identity<String>::type, std::type_identity<long&>::type, std::type_identity<String>::type, std::type_identity<String>::type, std::type_identity<char const*>::type, std::type_identity<std::basic_string_view<char, std::char_traits<char>>>::type>, char const*&&, char const*&&, String&&, long&, String&&, String&&, char const*&&, std::basic_string_view<char, std::char_traits<char>>&&) @ 0x00000000069ea0c9
4. ./build/../src/Common/MemoryTracker.cpp:326: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000069e8ee1
5. ./build/../src/Common/MemoryTracker.cpp:383: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000069e8a96
6. ./build/../src/Common/CurrentMemoryTracker.cpp:64: CurrentMemoryTracker::alloc(long) @ 0x00000000069ccb1f
7. ./build/../src/Common/Allocator.cpp:233: Allocator<false, false>::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x00000000069bab7e
8. ../src/Common/PODArray.h:152: void DB::PODArrayBase<1ul, 4096ul, Allocator<false, false>, 63ul, 64ul>::resize<>(unsigned long) @ 0x0000000006a44e40
9. ./build/../src/Columns/ColumnString.cpp:156: DB::ColumnString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x00000000102f5b49
10. ./build/../src/Columns/ColumnTuple.cpp:370: DB::ColumnTuple::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000001031e7e0
11. ./build/../src/Columns/ColumnArray.cpp:605: DB::ColumnArray::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x0000000010195bf7
12. ./build/../utils/extern-local-engine/Storages/IO/NativeReader.cpp:150: local_engine::readNormalComplexData(DB::ReadBuffer&, COW<DB::IColumn>::immutable_ptr<DB::IColumn>&, unsigned long, local_engine::NativeReader::ColumnParseUtil&) @ 0x0000000006e5e0b5
13. ../contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000006e5d8d0
14. ./build/../utils/extern-local-engine/Storages/IO/NativeReader.cpp:71: local_engine::NativeReader::read() @ 0x0000000006e5be69
15. ./build/../utils/extern-local-engine/Shuffle/ShuffleReader.cpp:51: local_engine::ShuffleReader::read() @ 0x0000000006f47122
16. ./build/../utils/extern-local-engine/local_engine_jni.cpp:554: Java_org_apache_gluten_vectorized_CHStreamReader_nativeNext @ 0x00000000068b61d7

Total memory limit is 1.5G, but the memory used by the hash table has been 800M.

This could extend to more cases

there are join and aggregate in the same plan segment
there are muliple joins in the same plan segment

The fixed bytes limit cannot let join spill appropriately in all of these cases

Reimpleting a GraceHashJoin that can spill adaptively in gluten is not a good choice.


fix blurred arrows in TreeView

this pr fixes a nasty behavior using the UseLayoutRounding. using this with the MetroWindow style produces blurred paths, e.g. the arrows in a TreeView.
omg WPF, lessons learned...
before

after

Closes #1907 Blurred arrows in TreeView

@punker76 nice fix. Thanks


AIP-121: lint against cyclic references

AIP-121 states:

The relationship between resources, such as parent-child or resource references, must be representable via a directed acyclic graph.

That should be added.

This rule is necessary for a candidate in CS-2312, so I'm bumping the priority.

I'm trying to nail down the concrete definition of a cycle. There are probably a few scenarios.

Parent with child reference annotated as required - impossible to create valid Parent without Child reference, but Child can't be created without a Parent to create with:

message Parent {
  // ...
  string child = 2 [
    (google.api.resource_reference).type = ".../Child",
    (google.api.field_behavior) = REQUIRED
  ];
}

Parent with any child reference, regardless of field_behavior - requires the "create parent, create child, update parent" cycle

message Parent {
  // ...
  string child = 2 [
    (google.api.resource_reference).type = ".../Child"
  ];
}

Solving for 2 solves for 1 as well, obviously. Though I wonder, would an output_only reference to a child be OK? I think so. Which means only references that are accepted as input are in scope for cycle checks.

Resource A that refers to Resource B, which refers back to Resource A

message A {
  // ...
  string b = 2 [
    (google.api.resource_reference).type = ".../B"
  ];
}

message B {
  // ...
  string a = 2 [
    (google.api.resource_reference).type = ".../A"
  ];
}

This is hard to tell if its even bad because just having the reference cycle does not mean that it will be a cycle at runtime i.e. Resource A instance 123 refers to Resource B instance abc and vice versa. But I think this might be an example of the issue described in the AIP The delete operation may also become more complex. Need some clarity on this - how strict are we really trying to go?

Though I wonder, would an output_only reference to a child be OK? I think so.

yep, agreed. It's only mutable references.

This is hard to tell if its even bad because just having the reference cycle does not mean that it will be a cycle at runtime i.e. Resource A instance 123 refers to Resource B instance abc and vice versa.

I think the precise concern is that cylic references result in multi-phase operations, touching at least one of the resources twice.
I'd say scenario three (A has a mutable reference to B, b have a mutable reference to A) is also invalid.

But I think this might be an example of the issue described in the AIP The delete operation may also become more complex. Need some clarity on this - how strict are we really trying to go?

Yes - the delete operation may require unlinking the resources first (e.g. removing the resource references), then performing the delete afterward on each. This isn't strictly required as it depends on the behavior of the resource, but worst-case it'll require this multi-phase work.
I think we should ensure that no mutable references are cyclic. So among the examples above 1,2,3 are all invalid. If there was a fourth example with an OUTPUT_ONLY cyclic reference, that would be valid.
I'd also note that similar to the field_behavior rule, we'd probably have to only check the current package, avoiding some situation where a service team can't actually fix the issue by themselves.

Thanks that clarifies things a lot.
Is it worth following up in the AIP with a fix to make this distinction?

there's a clause around output_only fields, but maybe it should be updated to be more like the AIP must: https://google.aip.dev/121#cyclic-references

Ok great, I've got the rule PR up


The checkboxes from the official webpage doesn't work

http://materializecss.com/forms.html
"Filled In" works from time to time.
The others doesn't click at all.
Google Chrome 53.0.2785.8 dev (64-bit)

it is unstable chrome...so I will close it.


Remove duplicate dependencies @types/lodash

Notes for Reviewers
This PR fixes #
Signed commits

[x] Yes, I signed my commits.

@sudhanshutech Could you please review and merge

@sudhanshutech Could you please review and merge this?

Nice! Good job on urging for review, @amitamrutiya

I removed the dependencies written twice so there is already present metadata in the package-lock.json file. So there would be no changes in the package-lock.json file and build as well.


References to BYTEs in DEVPROP_TYPE_SBYTE page

The Setting a Property of this Type section refers to the DEVPROP_TYPE_BYTE type (instead of DEVPROP_TYPE_SBYTE).
Every occurrence of BYTE should be replaced with SBYTE.

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

ID: 6e8c4d3f-23a2-54ee-488a-967b9aed5d76
Version Independent ID: 233c99b0-b57d-212a-e995-7d01e40f9103
Content: DEVPROP_TYPE_SBYTE - Windows drivers
Content Source: windows-driver-docs-pr/install/devprop-type-sbyte.md
Product: windows-hardware
Technology: install
GitHub Login: @tedhudek
Microsoft Alias: tedhudek

Hello Riccardo and thank you for the sharp eye.  I have corrected the instances of _BYTE on this page.  We appreciate your contacting us, and have a nice day!


Move event management from deckgl.js React component into LayerManager.

Accidentally merged as part of the rebase; this PR picks up where #708 left off, with a clean history.
This commit does away with LayerEventManager and instead leaves layer event handling in control of LayerManager.
To keep diffs manageable, I stopped short of fixing the picking-on-every-event bug (#634), since it will require adding/removing handlers to/from EventManager every time new top-level handlers are passed to setEventParams() or layers are updated with new per-layer handlers.
For the same reason, I'm also leaving for another PR the work to pull the per-layer handler calls out of draw-and-pick.js.

Thanks @shaojingli, though I'd still like @ibgreen and possibly @Pessimistress to take another pass, since we've had a lot of back-and-forth here.


[Idea] Publish to GitHub pages

This would be really useful for a variety of reasons, mainly so that we could preview and run the JavaScript online

I'm not sure I follow, what do you mean specifically?

Many of these projects have an index.html page, so it would be easy to statically host this repo. Just go to here: https://github.com/coding-horror/basic-computer-games/settings/pages and enable GitHub pages, that's literally all there is to it! 😄

That is a good idea, so we could create runnable versions hosted on the page? 🤔 Can you mock up what it would look like?

You literally already have all of the code

if you publish to github pages you could play the game screenshotted at https://coding-horror.github.io/basic-computer-games/02_Amazing/javascript/amazing.html

Oh you mean the javascript versions. What about the other versions? .net, Java, Python, etc?

Those couldn't really be published because they would need some sort of compiler or something.

Right so I was thinking, we should do it for all of them if we're going to
do it for any of them.. but if you have a proposed version for JS feel free
to send a pull request and let's take a look at it!
On Wed, Feb 23, 2022 at 3:45 PM --Explosion-- @.***>
wrote:

Those couldn't really be published because they would need some sort of
compiler or something.
—
Reply to this email directly, view it on GitHub
https://github.com/coding-horror/basic-computer-games/issues/577#issuecomment-1049244117,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALTWVM5T4ETJRB2MOTVBMDU4VIOBANCNFSM5O6PGPLA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Right so I was thinking, we should do it for all of them if we're going to do it for any of them.. but if you have a proposed version for JS feel free to send a pull request and let's take a look at it!
…
On Wed, Feb 23, 2022 at 3:45 PM --Explosion-- @.> wrote: Those couldn't really be published because they would need some sort of compiler or something. — Reply to this email directly, view it on GitHub <#577 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALTWVM5T4ETJRB2MOTVBMDU4VIOBANCNFSM5O6PGPLA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.>

It's not a thing I can PR. It's just an option in your repo settings. Literally one click and you're done.https://www.pluralsight.com/guides/how-to-host-your-static-webpages-on-github-pages

@coding-horror What about the other versions? .net, Java, Python, etc?

I have a repo of C# console games and I ported the code to Blazor to make them playable online. If interested my example may help you:
https://github.com/ZacharyPatten/dotnet-console-games
It would be easy to make a code generator for this, but I have not done that yet myself.

I've create a PR that provides a simple overview of the games and lings to a playable version. See #631

GitHub pages have been implemented with #631 :tada:
This issue can be closed!
https://coding-horror.github.io/basic-computer-games/

Nice job! Thanks!


Implementation of Shopify analytics

Hello,
I've been working on integrating Shopify analytics into Next.js applications and have developed a solution that might benefit the community.
I noticed there isn't currently a robust solution for this, and many developers seem to be looking for guidance in this area. This gap often makes us choose Remix over Next.js for integrating with Shopify.
To help address this gap, I've prepared a step-by-step guide https://karvedigital.com/insights/integrating-shopify-analytics-into-your-next-js-custom-storefront  and a working example, which is currently hosted in my fork of the repository. https://github.com/oybek-daniyarov/vercel-commerce-with-shopify-analytics
Live example https://vercel-commerce-with-shopify-analytics.vercel.app/
Loom video https://www.loom.com/share/0e4d68c038ee4d989ea00ecf381a2a67?sid=e05a18a9-729f-4414-8a32-74cf95010356
I'm reaching out to ask if you would be interested in this contribution. If so, would it be acceptable for me to create a new branch and open a pull request for this implementation? I understand the example depends on @shopify/hydrogen-react, and I'm open to any adjustments or discussions on how to best integrate this solution into the main repository.

This is awesome! Yeah, we'd love this contribution. Could you also share photos of the Shopify analytics in the dashboard working after this change? Thank you.

Any updates on this?

@leonnardovv there is PR with working example here https://github.com/vercel/commerce/pull/1318


push_to_git_remote causing CI loop

I'm not sure if this is the right place to ask since it really is a CI(Jenkins) related question but I can't seem to figure it out or find a solution anywhere so I'm hoping multiple people here have faced this problem and found a solution.
I'm committing/pushing a version bump to git in my beta lane.
for my Jenkins builds to trigger I'm using webhooks. So when I push to my gitlab repo during my fastlane execution a new build will be triggered thus causing an infinite loop.
What I want to do is exclude a user from triggering builds. I tried to do this but it seems like this wil only work when using polling to trigger your jobs.

Does anyone know a solution/fix for this? I know I could add [ci skip] to my commit but this will cause the build to trigger and abort. I don't want this behaviour either. I just don't want the build to get triggered at all.

I haven't set that up yet (as we are not pushing from git), but will have to do it soon.
I think the solution is to:

use polling+notify commit method (http://kohsuke.org/2011/12/01/polling-must-die-triggering-jenkins-builds-from-a-git-hook/) not webhooks
use Jenkins git advanced options to filter out commits that come from fastlane

Feel free to update the Jenkins specific fastlane documentation when you have a working setup.

@lacostej
I figured out how to do it with webhooks. I will update the specific fastlane documentation in a few. I'm only sure this works for gitlab tho. I will have to see if it works for GitHub as well.

@lacostej
I've created a pull request
https://github.com/fastlane/docs/pull/246


Upload code coverage reports in build pipelines

We are running nyc for integration/live tests pipelines, but the generated code coverage reports are not uploaded.
They should be uploaded and made available, at least as artifacts.  Better if integrated with devops reporting.
Report is generated to

node: ./coverage directory
browser ./coverage-browser directory

@KarishmaGhiya

Also, have the coverage-integration-test:node step in the CI for nightly tests than integration-test:node (need to update the yaml scripts and has to be done in co-ordination with https://github.com/Azure/azure-sdk-for-js/pull/6609 and it's followup PRs to make sure all the sdks have the script/cmd)
@KarishmaGhiya

I didnt get a chance to respond to https://github.com/Azure/azure-sdk-for-js/pull/6430 which added the new npm script for code coverage before the PR got merged.
I have concerns on having a new npm script that would repeat all the tests run by the integration script. If we run the code coverage script daily, we now have the test pipeline running the same tests twice. If we re-use the same pipeline, this increases the time taken by the nightly tests. If we create a new pipeline, we now have double the number of pipelines fighting for dev ops agents.

can we use the same pipeline, but somehow can differentiate between triggered and scheduled builds so only enable code coverage for scheduled nightly build?

With #6713, I hope we no longer need the new npm scripts for code coverage and can re-use the integration script to generate the code coverage