[Discussion] Open source sync server

Would like to understand the possibility of an open source sync server.
Does not have to be a real-time sync and can simply commit to a git repo from the UI and teams can read and push to repos from the UI.
However an open source sync server would be great as well!
I'm happy to help in any way I can to support this effort.
Let me know your thoughts on this.
Created another issue since the other one was closed and over two years old.
Linked to #190

Hey @gschier - I am still interested in building this. Would you be able to help me out on some of the implementation details?
Here is my current thought process:

Build a plugin that is able to export and import current workspace
Link the exporter to a version controlled (git) repo to track all the changes.
Exporter will show conflicts in the UI and the user can resolve the conflict.
Click/Trigger based sync and not a realtime sync.

What are you thoughts on this? Do you see any bottlenecks that I would face if I implement it like this?
Thanks and looking forward to your response,
Rohin Gopalakrishnan

Hi! For some time now, I've been trying to get devs of Insomnia to release the synchronization server as open source. I've found some old issues, where @gschier is considering this (https://github.com/Kong/insomnia/issues/190), he says "I'm not that worried about how it will affect revenue. There are plenty of companies (eg. Sentry and GitLab) that use the same open-source model.". I've tried to start discussion in these issues again, I've tried to text some of the devs. Unfortunately with no response. But since I'd really appreciate the sync server being open source, or at least an open source alternative to the official sync, I propose making this ourselves. Would there be anyone interested in contributing to this? I've already done some reverse engineering, but I'm not able to do this myself. All insights are appreciated!

In any case, i've created this repo: https://github.com/jirian/insomnia-server, feel free to create issues about anything that comes to your mind.

Hi @rohinrohin
Do you see the same behavior with our latest release located here: https://github.com/Kong/insomnia/releases/tag/core%402022.6.0-beta.4

We are providing a better way to move forward: we are transitioning our sync server to be primarily based on Git, which means that you will be able to have the same functionality, look and feel of Cloud Sync across any Git-backed sync, which by definition allows you to be able to host it anywhere you would like.

This is great news @subnetmarco! Will this also be open sourced and or not a premium feature?


Added Apollo Graph Developer & GitOps Fundamental

https://odyssey.apollographql.com/certifications/apollo-graph-associate
https://codefresh.io/codefresh-news/get-gitops-certified-with-argo/

thanks @sudeshana


vbump sts

This PR adds the fix for schema comparing dacpacs issue https://github.com/microsoft/azuredatastudio/issues/17077

Have tested the STS and ADS with the version update and also verified the connectivity testing manually due to the MDS version update recently made to STS.


bendsql will hang for a while when connect to a started warehouse

Warehouse already running:

Connect to the warehouse using BendSQL(video):
https://github.com/datafuselabs/bendsql/assets/172204/733334f1-7b4c-44ec-b2ae-3c864bb53550
This will hang a while after connected to the warehouse:
Welcome to BendSQL 0.12.3-unknown.
Connecting to gw.aws-us-east-2.default.databend.com:443 as user bohu.
Connected to DatabendQuery v1.2.294-nightly-02630a4306(rust-1.75.0-nightly-2024-01-13T06:37:34.143688594Z)

--- hang a while
bohu@(bh-pr12977)/default>

It will run prompt sql to get keywords after connected https://github.com/datafuselabs/bendsql/blob/main/cli/src/session.rs#L71

It will run prompt sql to get keywords after connected https://github.com/datafuselabs/bendsql/blob/main/cli/src/session.rs#L71

I guess it should not so slow, it's almost 1 minutes each time, this is happens in the latest few versions, my old version(I forgot the number) does not has this issue.

We could run
select name from system.tables union all select name from system.columns union all select name from system.databases union all select name from system.functions;

manually to check if the query is too slow.

We could run
select name from system.tables union all select name from system.columns union all select name from system.databases union all select name from system.functions;

manually to check if the query is too slow.

Smart, I think this is the key point.


[Bug] Crashing after duplicating a parent

[Bug] Crashing after duplicating a parent
Description
GeoPix does crash after duplicating a parent.
Steps to Reproduce

Create two simple cubes
Select both and make one of them a parent
Try to duplicate the parent
Crash

GeoPix Version: 2.0.15329
I hope this helps to improve this nice piece of software :)

ah wow thanks for this! I have had this happen to me randomly but hadn't been able to recreate. Taking a look :)

ok tracked this down mostly ,and found a work around that ended up simplifying some other code as well.
fixed in 15334 and later

Nice, thank you! :)


Fix Incorrect Opsgenie Tags Formatting

When there are multiple matches in a single run of ElastAlert and the Opsgenie Tags are dynamic (deriving value from matching documents) then when the tag field for each unique alert is formatted only from the values of the first match. e.g.
Input:
opsgenie_tags: ["user"]
matches: ["alice", "bob"]
Expected Alerts:
Alert1: opsgenie_tags: ["alice"]
Alert2: opsgenie_tags: ["bob"]
Actual Alerts:
Alert1: opsgenie_tags: ["alice"]
Alert2: opsgenie_tags: ["alice"]
Fix
Instead of formatting a tag and changing its value in the entire objects state(self.tags), make a new variable that stores the formatted value, and directly add it to the post object that will be sent by the Opsgenie Alerter.

@abhishekjiitr
Any way you could push this PR to https://github.com/jertel/elastalert2 ?


Task list support

Is your feature request related to a problem? Please describe.
Currently there's no task list support in stacks-editor, as described in GFM dialect. Also, when typing [ ] in markdown mode, then switching to rich text mode, then going back to markdown mode, the text is changed to [ ].
Describe the solution you'd like
Add checkbox tool that can be accessed through the rich text mode toolbar and brackets in markdown mode.
Describe alternatives you've considered
It seems like the editor has support for custom plugins, but I couldn't find any documentation on how to implement one. If it's not possible to add this feature, I'd ask for any orientation on how to accomplish that by creating a custom plugin for it
Additional context
The editor is being used in Tasks.md and this feature is being requested for different users

Hello @BaldissaraMatheus and sorry for the late reply.
While this feature request is certainly reasonable (at the time of writing) it is not in our roadmap and I don't expect it to be any time soon.
The Stacks Editor is built on top of prosemirror and you can extend it via writing your own plugins We don't have extended documentation on how to do that but you can look into our sample plugins to get an idea of how to build one. Be aware that you will need to familiarize yourself with prosemirror APIs in order to create a plugin.
I hope this is helpful. I will keep this issue open for now.
Feel free to circle back here in case you decide to go ahead and build a plugin.
Thank you.


Fix warning relating to glTexParameterfv

Fix warning C4113: 'PFN_glTexParameterfv' differs in parameter lists from 'PFNGLTEXPARAMETERFVPROC'
See https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTexParameter.xhtml for reference (third parameter should be const qualified).

Oh, interesting, I wonder why that warning slipped through on my side (because the Windows CI builds are compiled with /W4 /WX but C4113 seems to be /W1: https://learn.microsoft.com/he-il/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4113?view=msvc-160

Merged. Many thanks!

Merged. Many thanks!

No problem at all! 🙂 Thanks for merging 🥳
Yes I believe it showed up as I'm using Glad as my OpenGL loader and this showed up by chance as I'd forgotten to define SOKOL_EXTERNAL_GL_LOADER 🤦♂


Can I store payload received from background message handler into local storage?

I'm using firebase-messaging-sw.js for handling push notifications when the browser is minimized or the tab doesn't have focus. Now it works fine and I receive the payload.
Now what I want is to store the payload received into browser's localStorage using store.js. That means I need to include the store.js script into the firebase-messaging-sw.js file, which I tried and didn't work.
Let me make this more clear. I'm doing the same in onMessage() method for storing the payload into store when the browser is in foreground. Which works because the code is written in an .php file where I can easily include and execute scripts. I want a similar thing for setBackgroundMessageHandler().
Is there any way to do this?

Local Storage isn't available in service worker - you'll need to use IndexedDB which will work in both the window and the service worker.

Okay but I don't understand what it means. Could you please provide an example or any link?

IndexedDB API info can be found here: https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API


How to run the project locally?

Hi, I'm trying to set up the project locally, but when I run npm install (which after install call npm run -s build), fail with the following error:
Error File '/path/to/local/angular-generic-table/src/index.ts' not found.
The script in the package.json uses tsconfig-aot.json as the config file, which upon inspection seems to have a reference to unknown file at src directory.
  "files": [
    "index.ts"
  ],

Tried also to link the project as npm package using the following package.json line:
"angular-generic-table": "file:/path/to/local/angular-generic-table"
But it fails on the same issue..
Can you please explain how to run the project locally, as I would like to fork it and contribute.
Thanks.

Yeah currently it's not super obvious and the project and setup could use some tidying since we went for scoped packages. But in the meantime you should be able to ignore the build error, the project is based on angular-cli and so long as all the dependencies were installed you should be able to start the project locally by running ng serve.

Hi @nadav96, were you able to run the project locally? I've edited the tsconfig file now so it should be a bit easier to get everything up and running. Basically you should just need to fork/clone the repo and run npm install followed by ng serve.


Possible ArrayIndexOutOfBoundException in FilterOutputStream from static analysis.

FilterOutputStream extends FileOutputStream, but here is the problematic snippet :
    public void write(byte[] b, int offset, int length) throws IOException
    {
        for (int i = 0; i < length; i++)
        {
            write(b[offset + i]);
        }
    }

This overriding implementation doesn't provide any checks  like the one in FileOutputStream class :
        if (b == null) {
            throw new NullPointerException();
        } else if ((off < 0) || (off > b.length) || (len < 0) ||
                   ((off + len) > b.length) || ((off + len) < 0)) {
            throw new IndexOutOfBoundsException();
        } else if (len == 0) {
            return;

b[offset + i] particular part can end up throwing  ArrayIndexOutOfBoundException as there are no checks here.
If this looks like an important issue a pr regarding it can be made.

I've added the necessary checks to the class. Took a while to do this as  I needed to make sure try it on the j2me build first.


can't find launch.json

Issue Type
Bug
Description
can't find the launch.json file
VS Code Info
VS Code version: Code 1.20.1 (f88bbf9137d24d36d968ea6b2911786bfe103002, 2018-02-13T15:34:36.336Z)
OS version: Windows_NT x64 10.0.15063

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz (4 x 3408)

Memory (System)
15.87GB (12.18GB free)

Process Argv
D:\Microsoft VS Code\Code.exe

Screen Reader
no

VM
33%

Extensions (4)

Extension
Author (truncated)
Version

rainbow-csv
mec
0.2.0

python
ms-
2018.1.0

cpptools
ms-
0.15.0

python
tht
0.2.3

Reproduces only with extensions

You mention that this problem only occurs with extensions enabled. Please disable all extensions (CTRL+SHIFT+P --> 'Disable all installed extensions') and restart VS Code.
Then check if the problem still persists. If not, try to find which one causes the trouble by enabling one extension after the other.
If the problem is not caused by an extension, please provide us with a reproducible list of steps that cause this behavior.


Support for multiple keyboard layouts?

I use two keyboard layouts on my computer - Dvorak and Russian. It says in the README that the first keyboard layout should be set to QWERTY, and the second one to Dvorak. However, that would interfere with layout switching. Is there any way to use this project and still keep the third layout?

Yes, currently this is an issue, if you switch the layout, the mapping is still in place. I'm playing with ways how to detect if the layout is dvorak, and only enable the mapping if a dvorak layout is active. However, I could not reliably get the name of the keyboard layout yet.

Finally added

Could anyone share a way, how to make it work with other layouts? Currently the mapping is applied to all layouts and the only way to fix it is to press L ALT 3 times after every layout switch


exit 33

pragma solidity ^0.8.0;

import<EMAIL_ADDRESS>import { MinerTypes } from<EMAIL_ADDRESS>
contract Miner {
    function getBeneficiary() external returns (MinerTypes.GetBeneficiaryReturn memory) {
        bytes memory addr = bytes("0xff00000000000000000000000000000000000414");
        MinerTypes.GetBeneficiaryReturn memory response = MinerAPI.getBeneficiary(addr);
        return response;
    }
}

I returned some errors when executing the call!

:link: zboto Link

https://wallaby.filscan.io/tipset/message-detail?cid=bafy2bzacedhkumgmmus2ydz57en3tegf3hqkkv6jfweagkipxxpfcwtwjy4mi

The address doesn't look right to me... where did you get this value ?

@phantom-rabbit as Lola wrote before, the address should be from a valid miner.
Is this one a miner address?
'0xff00000000000000000000000000000000000414`

pragma solidity ^0.8.0;

import<EMAIL_ADDRESS>import { MinerTypes } from<EMAIL_ADDRESS>
contract LoansContract {

    function getBeneficiary() external returns (MinerTypes.GetBeneficiaryReturn memory) {
        bytes memory addr = bytes("0xff000000000000000000000000000000000003e9");
        MinerTypes.GetBeneficiaryReturn memory response = MinerAPI.getBeneficiary(addr);
        return response;
    }

}

I changed the address, which is the same error. This is the address of t01001

@phantom-rabbit Your address is not correct. If the miner address is t01001 then you address should be
0x0003e9.
Try this
pragma solidity ^0.8.0;

import<EMAIL_ADDRESS>import { MinerTypes } from<EMAIL_ADDRESS>
contract LoansContract {

    function getBeneficiary() external returns (MinerTypes.GetBeneficiaryReturn memory) {
        bytes memory addr = bytes("0x0003e9");
        MinerTypes.GetBeneficiaryReturn memory response = MinerAPI.getBeneficiary(addr);
        return response;
    }

}

@phantom-rabbit try what Lola mentioned. This address t01001 is filecoin ID type. What you used is the ethereal version for the Filecoin EVM of that address. However, Filecoin libraries expect the filecoin addresses.

@phantom-rabbit I leave you here more info about addresses. What you need to pass is the bytes representation of a filecoin address.
https://spec.filecoin.io/appendix/address/

@phantom-rabbit any comments on this? I will soon close the issue otherwise. Thanks!!

Thank you for your positive reply. I am busy with other things at this time. Sorry for not responding in time, I will try again. Thank you.

I tried to call the above contract, but an error still occurred

in heperspace https://hyperspace.filfox.info/en/message/bafy2bzacedhcz2dcr3uri2wqlpdb4lextel3mzu4cujxwi4dv7lyqhrexzsrm

@emmanuelm41  Please help me check

@phantom-rabbit Use this tool to convert from string to bytes representation, and use that bytes representation as argument
https://github.com/Zondax/filecoin-signing-tools/blob/7c7970e2f45d4f4e01362176188ffe906bf897a7/signer-npm/js/src/index.ts#L40-L42

Sorry, I still can't execute

Could you share the new value you used? and maybe the tx hash so I can check it on the beryx explorer

https://hyperspace.filfox.info/en/message/bafy2bzaceczbce7yvufibmn53rzcrpsp7wna5zjbq7ze5uvcn5prtynprpw34

pragma solidity ^0.8.17;

import<EMAIL_ADDRESS>import { MinerTypes } from<EMAIL_ADDRESS>
contract LoansContract {

    function getBeneficiary() external returns (MinerTypes.GetBeneficiaryReturn memory) {
        bytes memory addr = bytes("0x1111");
        MinerTypes.GetBeneficiaryReturn memory response = MinerAPI.getBeneficiary(addr);
        return response;
    }

}

You should pass there is the address (in bytes format) of a miner in the hyperspace network. You need to convert this address (https://hyperspace.filscan.io/address/miner?address=t01130) to bytes format, as it is in string format. You can use this package for that https://github.com/Zondax/filecoin-signing-tools/blob/cf8e6523f7226a1374c490ced2b02d739835ec60/signer-npm/js/src/index.ts#L40.
This should be different. There you have the error. That is not a valid address.
bytes memory addr = bytes("0x1111");


Vulnerability roundup 107: faust-0.9.90: 1 advisory [5.5]

search, files

[ ] CVE-2021-32275 CVSSv3=5.5 (nixos-21.05, nixos-unstable)

CVE details
CVE-2021-32275
An issue was discovered in faust through v2.30.5. A NULL pointer dereference exists in the function CosPrim::computeSigOutput() located in cosprim.hh. It allows an attacker to cause Denial of Service.

Scanned versions: nixos-21.05: 3b1789322fc; nixos-unstable: 34ad3ffe08a.
Cc @magnetophon
Cc @pmahoney

CVE-2021-32275 tracked by https://github.com/grame-cncm/faust/issues/482, and still an issue.

Should we mark this as broken?

Probably best to add a meta.knownVulnerabilities entry with the CVE identifier, like this:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/graphics/ImageMagick/6.x.nix#L123


Function redirectOrNew return nil connection when change node type aws redis cluster

Hello ~,
Yesterday, while testing scale with AWS redis cluster, my application had been panic at line:
resp = c.redirectOrNew(addr, cc, cmd.Slot(), mode).Do(ctx, cmd) of rueidis v1.0.43

Redis topology:

cluster enabled
1 master 1 replica

Action: scale in node type
This error has never happened with previous testing.
After checking function redirectOrNew:
func (c *clusterClient) redirectOrNew(addr string, prev conn, slot uint16, mode RedirectMode) (p conn) {
	c.mu.RLock()
	cc := c.conns[addr]
	c.mu.RUnlock()
	if cc.conn != nil && prev != cc.conn {
		return cc.conn
	}
	c.mu.Lock()

	if cc = c.conns[addr]; cc.conn == nil {
		p = c.connFn(addr, c.opt)
		c.conns[addr] = connrole{conn: p, replica: false}
		if mode == RedirectMove {
			c.pslots[slot] = p
		}
	} else if prev == cc.conn {
		// try reconnection if the MOVED redirects to the same host,
		// because the same hostname may actually be resolved into another destination
		// depending on the fail-over implementation. ex: AWS MemoryDB's resize process.
		go func(prev conn) {
			time.Sleep(time.Second * 5)
			prev.Close()
		}(prev)
		p = c.connFn(addr, c.opt)
		c.conns[addr] = connrole{conn: p, replica: cc.replica}

		if mode == RedirectMove {
			if cc.replica {
				c.rslots[slot] = p
			} else {
				c.pslots[slot] = p
			}
		}
	}
	c.mu.Unlock()
	return p
}

it seems that the condition at if and else - if are not true, then nil is returned to calling. I think c.conns has been changed by refresh between the first and second lock.
Thank you.

Hi @dangngoctam00, thank you for your detailed report. The bug was introduced by https://github.com/redis/rueidis/commit/3139c13ca43b983f16a136238fa71deb1bd2e0a6 and will be fixed by https://github.com/redis/rueidis/pull/641
You can also use the v1.0.47-alpha.2 release for a quick fix.


The target origin provided does not match the recipient window's origin

I'm working locally : "http://locahost/myproject". Since updating from 3.5.6 to 3.5.8, I get this error and it completely fails to init plyr :
www-widgetapi.js:159 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://localhost').
Any idea on how to solve this ? Thanks !

Any other errors? That error is unrelated and can be safely ignored

You're right I had that error before just never noticed it.
It seems to a css problem :
This rule seems to overriden (videos.scss line 15)
.plyr__video-wrapper {
  height:100%;
}

by this rule (videos.scss line 26)
.plyr__video-embed, .plyr__video-wrapper--fixed-ratio {
  height:0;
}

Confirmed. It was that css problem. Solved it by overriding that rule with my own css.

Hmm if that's an issue for you, it may also be for others. That deceleration is in there to allow the player to calculate the ratio (using the padding-bottom trick) based on the size of the video (if using YouTube or Vimeo).


Async message processing.

There are some instances where the AsyncPlayerChatEvent isn't actually async which means all the message processing is done on the main thread. I believe this happens when the player's message is sent using the spigot api but possible in other instances as well. We need to detect those instances and execute the code on another thread.

All you should need to do is check Event#isAsynchronous(). No special detection or anything should be necessary
I can PR this if you want

All you should need to do is check Event#isAsynchronous(). No special detection or anything should be necessary
I can PR this if you want

Yes, that's true, but there's a pr that changes some stuff (the one that cancels AsyncChatEvent when ChatChatEvent is cancelled) so idk. I really can't be bothered to think rn. If you think you can make it work with that PR, then sure.

So I've done some work on this and as far as I can tell it's not going to be possible to make it work the way it needs to.
If AsyncPlayerChatEvent is fired async, everything works fine.
If AsyncPlayerChatEvent is fired sync, there are some issues. You can't perform async computations or processing and then use those results to update the event. So #setMessage(), #setFormat(), #setCancelled(), etc. don't work. The way things are set up currently, those things depend on processing, which should be done asynchronously, but you can't update them with that async value unless you block the main thread and wait for the async processing to complete, which defeats the purpose.
I believe the only way to ensure that the processing is always completed async is to cancel the AsyncPlayerChatEvent entirely and handle the console format, sending the message, etc. entirely on your own, although I may be overlooking a simple solution lol.
I believe AsyncPlayerChatEvent only gets called synchronously when a plugin uses Player#chat(), so it isn't something that will happen very often.

We can't cancel the APCEvent. That's because plugins like DiscordSRV, listen to that event with the MONITOR priority. I knew this will be an issue that's why I didn't take on this task yet. Also the addition of bungee support will require us to completely redo the MessageProcessor class since right now it is a mess.
Btw we only take the result from the process method which tells us if the event should continue running or if it should be cancelled.


Cannot Build tye after updating VS2019 16.8 preview3.0 / sdk 5.0.0-rc1 / VsCode (Lots of PackageReference are not loaded anymore)

Describe the bug
As I was rebasing a PR and trying to fix a review comment on it, it seems that I can't use either VS2019 16.8 Preview 3.0 or VsCode (Insider) anymore
Lots of PackageReference are not visible in the dependency tree
Most of the errors are "Unknown class / namespace"
This picture is only a small part of all the errors

To Reproduce
same on master/main branch
git clone https://github.com/dotnet/tye
checkout
dotnet tool restore
./restore.cmd
./build.cmd
./startvs.cmd

Note that all of this works:

build.cmd
./eng/common/build.ps1 -build
./eng/common/build.ps1 -test

Further technical details

The platform : Windows
dotnet --info:

C:\dev\github\tebeco\tye   multiple-target-frameworks ≣ 
[00:43]❯ dotnet --info
.NET SDK (reflecting any global.json):
 Version:   5.0.100-rc.1.20452.10
 Commit:    473d1b592e

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.20211
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\5.0.100-rc.1.20452.10\

Host (useful for support):
  Version: 5.0.0-rc.1.20451.14
  Commit:  38017c3935

.NET SDKs installed:
  2.1.809 [C:\Program Files\dotnet\sdk]
  3.1.402 [C:\Program Files\dotnet\sdk]
  5.0.100-preview.8.20417.9 [C:\Program Files\dotnet\sdk]
  5.0.100-rc.1.20452.10 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.All 2.1.21 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.21 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.0-preview.8.20414.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.0-rc.1.20451.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.21 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.0-preview.8.20407.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.0-rc.1.20451.14 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.7 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.0-preview.8.20411.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.0-rc.1.20452.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download
 C:\dev\github\tebeco\tye   multiple-target-frameworks ≣ 

VsCode :

@JunTaoLuo any idea what could be going on here?

MOAR info:
"in case of doubt, try to build Signalr"
I almost managed to get (on release/v5.0-rc1 > restore.cmd; build.cmd; cd src/signalr > startvs.cmd build

probably unrelated

I manually edited a csproj in dotnet/tye and SOME part of the tree now appear, but that's all, still IDE glitch / can't build

Odd, I just upgraded to Preview 3.0 and I'm able to work in VS. I also tried a fresh clone and it seems to work. Everything seems to work on my machine so I'm not sure what's going on.
From what you described I wonder if there's an issue with packages that were restored. Maybe try clearing your obj/bin folders and see if that makes a difference?

Attempted multiple git clean -fdx + git reset --hard and changed to master
that's weird

I think something is broken in my box but I can't understand why it would affect only tye yet
I can't even repair RC1 ... error is very very weird

Changing TargetFramework from net5.0 to netcoreapp3.1 seems to have fixed Microsoft.Tye.Core but break again when I change it back to net5.0
I really think VS2019 is just completly broken sicne RC1 update

uninstalled all SDK / VS / InstallCleanup / reinstall VS2019 from scratch
same issue
TBH this might be a big show stopper for me
This is the only repo that seems to be affected and I'm not sure yet how
If you have any contact on the VS team whilling to do a live call to pin down the issue .... I'll take the opportunity

maybe @terrajobst has some info on that
ok so ...
here is what happen when I run from the CLI :
restore.cmd and build.cmd are using DOTNET_ROOT that is supposed to point to ./.dotnet which is driven by dotnet/arcade which for this repo is supposed to be `preview6

Now let's open Visual Studio

What is going on here ???

@JunTaoLuo can you confirm me that this was already disabled for you ?
I had to disable this :

and then VS is not mutating these files anymore
I think there's possibly a bug  in VS is it can't find it own generated targets

Ah yes, I have disabled that option. FYI, I found some issues in the SDK that mentions some of the symptoms here: https://github.com/dotnet/sdk/issues/13179 and https://github.com/dotnet/sdk/issues/13614. However, those are specific to WPF apps which this is not so I'm not sure if they are relevant. @dsplaisted would you be able to help here?

I wonder if updating the SDK used by the current repo to at least RC1 it might help
but i'm not sure how to do so with arcade
bonus:
Rx has issue since preview6 and i think i saw a reference to Rx in a project

I was just about to reply, but yea I tried rc1 SDK which we use in other repos and it fixed the problem it seems.

this would confirm the "non retro compatible behavior" regression from Preview3
preview3 installer "rc1 sdk by vs"
I believe VS uses that RC1 to generate project.assets.json
and it uses the one from global.json to "read" it
I also suppose that there was some sort of breaking change in that targets json output
the result is the impossibility for vs to process the file

Makes sense, I didn't know we were behind on the SDK version in this repo.

beware about that RX issue with WinRT changes
You might want to recheck that the code of this repo using Rx still runs

closing I suppose since not linked to tye


container support with app service

Since we have the multi / container support with app service it will be great to extend the arrow form the container decision "Yes" to app service as well :)

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

ID: 510808e8-db5d-6b07-9a04-6edb743a2dfc
Version Independent ID: 20d098aa-ef31-cb26-d677-765cfc9a7164
Content: Decision tree for Azure compute services
Content Source: docs/guide/technology-choices/compute-decision-tree.md
Service: guidance
GitHub Login: @MikeWasson
Microsoft Alias: pnp

Thanks - yes, we're going to tweak the flowchart a bit to reflect this.


qt5: Add qtnetworkauth submodule

Motivation for this change
Add QtNetworkAuth module available since Qt 5.8.
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] 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 nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

$ nix-env --file . -qa
error: anonymous function at pkgs/development/libraries/qt-5/5.9/qtnetworkauth.nix:1:1 called without required argument ‘qtSubmodule’, at lib/customisation.nix:74:12

@ttuegel it seems merging this has broken the eval

Reverted now.

Indeed, fe0ab94 refactored all qt5 packages and then this is broken now. Unfortunately I'm not using NixOS anymore at the moment, so I'll not update this PR.
Thanks anyway!

Indeed, fe0ab94 refactored all qt5 packages and then this is broken now.

Sorry, I foolishly assumed that Git would report a merge conflict if there was a problem with the refactoring. Somehow I always seem to find trivial conflicts need to be manually resolved, while Git "automatically" resolves non-trivial conflicts badly.


Styling password.liquid

Problem
Hi there, I am trying to style my password.liquid template.
I just recently created a new theme (my first try at theming Shopify).
I see that there is a password.liquid layout and template. I create a scss file named password.scss under /style/templates/
The changes I make do not affect anything when I import it into the theme.scss file. If I use element tags inside my password.scss such as <p> or <h1>
it will affect the homepage of the entire theme.
I am on Windows 10, which I understand has Slate has not been tested for.
How would I go about styling my templates or layouts for password, or any other file? I can't find any documentation to help with this.
Thanks.

Hey @dtmle -- please review these docs for an explantation of template specific bundles.
What it sounds like is that you're import password.scss in your scripts/layout/theme.js file, which would include the style declaration wherever the theme.liquid layout is used (which is the default layout for every template).
Try creating a scripts/templates/password.js file and importing it from there. That way, your styles will only be included when the password template is loaded.

Flagging this for documentation. We could improve the clarity on how styles work with template bundles.

Hi @t-kelly
I'm a new contributor for Shopify and would love to work on this to get acquainted with the community :smile:

@tanhengyeow at the moment, it's hard to contribute to the docs because they're in the repo Wiki which doesn't let contributors open PRs to edit it. If you're interested in helping improve the docs, I would recommend posting and edits/additions here, and we can work on getting them added to the Wiki.
We are looking at having a dedicated docs repo so we can accept contributions from the community via PRs. Until then, we'll need to do our best with this workflow.


Add git init and related commands

Summary
This pull request adds descriptions to git.html for the following commands:

git init
git reset
git add
git pull
git merge
git fetch

Contributors
This pull request has the following contributors: @ksun0, @Pyeskyhigh, @naluconcepcion, @gsegurapa, and @eosband.

Cleaned this up by changing a couple of formatting details and selecting text from the two versions from the two classes .  Thanks!


External Operators 2

Description
This is a follow-on PR after the initial investigation in #18904 to support loading libraries containing MXNet backend components (particularly operators). Since #19241, the version script was removed and now Linux builds of libmxnet.so expose all MXNet symbols. This opens the door for dynamically loading libraries that depend on libmxnet.so.
This PR adds a build option BUILD_EXTENSION to the CMakeLists.txt file to give a path to the extension directory to build. This enables the existing MXNet build infrastructure to provide all includes directories automatically which simplifies building extensions.
An example is also added in examples/extensions/lib_external_ops that builds an operator that is equivalent to a built-in/backend operator into a shared object and uses the existing mx.library.load API to load that library at runtime.
Caveots
Windows is not supported since by default all symbols are hidden in mxnet.dll so dynamically loading libraries will not work. Similarly with Mac, the version script does not expose the necessary symbols at this time. These other platforms can be considered in the future based on user request & community motivation.

Thanks @mseth10 for adding the tests to the CI!
@leezu anything else we need here before taking the next step?


update versions, 10.9 is in brew, use suportedList, use REST-API

This PR:

~updates the windows versions~
sets default macOS version to 10.9
refactored some code for supported versions
use REST API to fetch latest version for Windows

Hey @makigumo, thanks for the PR! It looks like the Homebrew version on the runner images doesn't have 10.9 yet. I've added support in d54ee51617b932a0b856a7186c9ea4dfe209729a, but don't want to make it the default until the runner images are updated.
Also, the API idea is neat, but it's not clear if it'll always be in-sync with the download URL, so I think it's better to keep it manually updated for now.

Thanks for clarifying.
We could fetch the download URL via the same API, if this is something you are willing to pursue:
function fetchURL(mariadbVersion) {
  const json = execSync(`curl -Ls https://downloads.mariadb.org/rest-api/mariadb/${mariadbVersion}/latest/`, (error) => {
    if (error) {
      console.error(`exec error: ${error}`);
      return mariadbVersion;
    }
  });
  const latestJson = JSON.parse(json);
  const fullVersion = Object.keys(latestJson.releases);

  const file = latestJson.releases[fullVersion].files.filter(function(el){
    return el.os == "Windows" &&
      el.package_type == "MSI Package" &&
      el.cpu == "x86_64";
  });
  const resultUrl = (file.length === 1) ?
    file[0].file_download_url :
    `https://downloads.mariadb.com/MariaDB/mariadb-${fullVersion}/winx64-packages/mariadb-${fullVersion}-winx64.msi`

  return resultUrl;
}

Nice, didn't see that. Think I'd prefer to keep it simple for now (but will keep this in mind).


Added Routes to app.js; Created Login and Signup pages; Added passwor…

…d hash and salt in User.js

reviewed and looks great!


Deal with exceptions

I noticed that when there's an error in the calculation, as for example, no independent are selected (no assigned forces), or even if the modification in the force diagram result in an error of this sort. How should we overcome this? Perhaps if the functions form_from_qid and force_from_form throw an exception this would do? and we can show the user a proper message?

this is now indirectly solved...


Refactor distros so we don't have to add a new one whenever it gets branched

This is very WIP, I want to have feedback from the test suite firstly.

@ondrejbudai this PR looks very promising. Do you plan to finish it any time soon? I'm asking, because the lack of support for 9.4 / 8.10 is currently blocking the latest osbuild-composer releases in RHEL gating. Thus I created https://github.com/osbuild/images/pull/195 as a quick fix. But if this PR would be finished earlier, I'd be happy to close mine.

I hope to finish it! :) Will try to take a look at this in the upcoming days.


Provide 3D (.sfb) models at runtime instead of compile time

Is there any way to provide 3D models at runtime instead of compile time?
Current workflow is to run the sceneform plugin to convert .fbx/.gltf to .sfa/.sfb etc; this adds a block to build.gradle and the .sfb is updated on every build in case the .sfa changed.  Works great but models are baked-in at compile time.
Would be very useful to do the same offline conversion to .sfa/.sfb but provide the converted model via e.g. firebase instead of baking it in at compile time; obvious use case would be allowing an app installed weeks or months ago to pick up new models immediately (since it isn't feasible to expect a deployed app to be updated in a timely manner).  So as character designs evolved simply restarting the app would update to latest "look."

Dupe of https://github.com/google-ar/sceneform-android-sdk/issues/35


Update table.vue

fix: resize 时先计算宽度，再计算高度，避免在计算高度时由于宽度滚动条引起的固定列高度错误
#5415
Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

fix: resize 时先计算宽度，再计算高度，避免在计算高度时由于宽度滚动条引起的固定列高度错误
#5415
Please make sure these boxes are checked before submitting your PR, thank you!

[ ]  Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[ ]  Make sure you are merging your commits to dev branch.
[ ]  Add some descriptions and refer relative issues for you PR.