Feature: SubModels - Iterative Blocks

Primage model in two instances has a need to run multiple agent functions for an unknown number of iterations until an optimisation has reached an end point.
It was agreed that this could be modelled as a sub-model, which inherits from a parents model, executing until an exit condition is satisfied.
This would require:

agent variable mappings

Optional read only access

Read only message access
Environment bound mappings? (spatial messages need env bounds for best case perf)

This could be performed by doing scaling inside spatial message handling?

Optional override of central model fn?
Exit condition

<submodels>
    <submodel>
        <name>BondingModel</name>
        <modelfile>bonding.xml</modelfile>
        <mapping>
            <environmentMapping>
                <!-- Perhaps an env variable needs to be shared between models. -->
            </environmentMapping>
            <agentMapping>
                <name>Boid</name>
                <subName>BondingAgent</subName>
                <variable>
                    <name>x</name>
                    <subName>x</subName>
                <variable>
                <variable>
                    <name>y</name>
                    <subName>y</subName>
                <variable>
                <variable>
                    <name>z</name>
                    <subName>z</subName>
                <variable>
                <!--Agent force variables can be wholly contained within bonding model.-->
            </agentMapping>
            <messageMapping>
                <!--Perhaps read only access to some messages is required-->
            </messageMapping>
        <mapping>
        <bounds>
            <!--Bonding submodel has its own spatial partitioning, somehow we need to configure the env bounds (and radius)-->
            <fromMessage>
                <name>location_message</name>
            </fromMessage>
        <bounds>
        <function>
            <!--Optional replacement for bonding condition, e.g. protein level check + rng-->
        </function>
        <exitCondition>
            <reduction>
                <agentVariable>
                    <agent>BondingAgent</agent>
                    <variable>ForceMagintude</variable>
                </agentVariable>
                <operator>+</operator>
                <condition><0.01</condition>
            </reduction>
        </exitCondition>
    </submodel>
</submodels>
....
<layers>
    <layer>
        <gpu:layerFunction>
            <name>doSomething</name>
        </gpu:layerFunction>
    </layer>
    <layer>
        <subModel>
            <name>BondingModel</name>
        <subModel>
    </layer>
    <layer>
        <gpu:layerFunction>
            <name>doSomethingElse</name>
        </gpu:layerFunction>
    </layer>
</layers>

cc @mondus
In terms of a FGPU2 interface I expect it will look similar to this
// Define the sub model 'bonding_model'
ModelDescription bondingModel("bonding_model");
{
    AgentDescription &bondingAgent = bondingModel.newAgent("agent");
    bondingAgent.newVariable<float>("x");
    bondingAgent.newVariable<float>("y");
    // Submodels MUST contain atleast 1 exit condition
    bondingModel.addExitCondition(SomeExitCondition);
    // TODO .. Define rest of 'bonding_model', messages, layers etc
}

// Define the host model
ModelDescription tumourModel("tumour_model");
{
    AgentDescription &cellAgent= tumourModel.newAgent("cell");
    cellAgent.newVariable<float>("x");
    cellAgent.newVariable<float>("y");
    // TODO .. Define rest of 'tumour_model' agents/messages

    // Add sub model
    SubModelMap &bondingLink = tumourModel.addSubModel("bonding_sub", bondingModel);
    // Define mapping for submodel
    // parent agent name, child agent name, automatically map compatible variables (same name/type/length)
    SubAgentMap &cellMap = bondingLink.mapAgent("cell", "agent", true);
    cellMap.mapVariable("x", "x");  // Manual version also available

    // Add submodel to execution (submodel must be in it's own layer)
    tumourModel.newSubModelLayer("bonding_sub");
    // TODO .. Define rest of 'tumour_model' layers
}

In terms of CUDAAgentModel implementation.
CUDAAgent will have a derived type CUDASubAgent, and CUDAAgentModel a private constructor (which takes a parent model).
Final stage of constructors (both, submodels will be recursive) will initialise a CUDAAgentModel for each sub model. The private constructor will instead init agents as CUDASubAgent, these will kind of act as a proxy over the mapped CUDAAgent, defining unmapped vars with the normal allocation, and deferring mapped accesses to the master model.
Sharing of environment properties (and messages?) will require a bit more thought, but likely follow similar paths.

w.r.t parentless submodel agents, they could be specified in an init function on the submodel. Loading from disk feels like it shouldn't be supported for these temporary (?) agents.
Whether they persist or not between submodel invocations probably depends quite heavily on the model, so it may be worth supporting both? Although I've not got an example for this usage off the top of my head.
A submodel init function, with a simple if statement to check if the pop already exists would work for initialising agents which survive between invocations.
We could potentailly make this case the default, and expect users to run an agent function (or an exit function?) which kills the temporary agent if that is desired behaviour, although this would likely be more costly than resetting agent properties in an once-run submodel function (or a reset from the host?)

For the time being I'm just going to try and get a basic mapped agent submodel demo working, then these edge cases an be added after.

So the handling of CUDAAgent, or more precisely CUDAAgentStateList is going like this.
CUDAAgentStateList  has an optional member dependent_list.
Any operations which modify the buffers, or number of alive agents is also propagated to dependent_list (which is then recursive, as it may have its own dependent). Such that any bound agent states will always have the operations performed on all buffers bound to the master agent state.
Much of this is trivial, e.g. current_list_size is just set in 2+ places rather than 1.
More complicated is scan/scatter behaviour.
Normally we just pass the variable map (variable name: variable type/size info), d_list, d_swap_list maps (variable name: device pointer) to CUDAScatter. Now however, we create a Merge map which contains each unique variable across all dependant agent states, and pass that to CUDAScatter.
(In writing this, I've just clocked that my solution for variable name clashes in the map is flawed beyond a depth of 1 submodel), it would make sense to move the construction of the ScatterData list to outside CUDAScatter, would mean we don't have to dance around name clashes and likely be more efficient.

Re: Thoughts on moving agents between mapped/unmapped agent states
The strategy seems to be what i've outlined below.
Currently the top two should work, but the bottom two are set to throw assertions.
I don't really like how the code to manage all this is structured, and im trying to conjure a cleaner method.
in[not mapped]->out[not mapped] = No mergelist required, this is old method
in[mapped]->out[mapped] = Mergelist is perfect match
in[mapped]->out[not mapped] = Any temporary variables in the mapped agent state can be dropped as they are nolonger required
in[not mapped]->out[mapped] = Uninitialised temporary variables are created for the agents (it's assumed within the model they are initialised before use)

Similarly
If we have nested sub models
AgentA->AgentB->AgentC
If AgentB cant map the input state, then the same MUST be true for dependent AgentC.
If AgentB can't map the output state, then the same MUST be true for dependent  AgentC

Maybe also a case for sharing agent_birth buffers between all agents.
Store them in descending size order, and assign them largest first. (Tracking pop size, rather than buffer size to decide when to resize/add new buffer).
They're currently allocated per agent when required, but this could save memory if different agents give birth in different layers.


kvm: support qemu-system-x86>=5.2

Description
This PR fixes #5350

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan package

@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1859

@blueorangutan test

@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-2641)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 35040 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5755-t2641-kvm-centos7.zip
Smoke tests completed. 91 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

lgtm, how does this relate to the qemu-kvm-ev package? can/should we include that as well as a acceptable dependency?

@DaanHoogland
debian/control has only impact on Debian-based systems, e.g. Ubuntu, Debian.
I have not tested Ubuntu 21.04 (which has qemu-system-x86 but does not have qemu-kvm) . Without this PR, cloudstack-agent cannot be installed.

lgtm, how does this relate to the qemu-kvm-ev package? can/should we include that as well as a acceptable dependency?

@DaanHoogland debian/control has only impact on Debian-based systems, e.g. Ubuntu, Debian.
I have not tested Ubuntu 21.04 (which has qemu-system-x86 but does not have qemu-kvm) . Without this PR, cloudstack-agent cannot be installed.

ok, so the qemu-kvm-ev discussion only applies to redhat varieties? tnx

lgtm, how does this relate to the qemu-kvm-ev package? can/should we include that as well as a acceptable dependency?

@DaanHoogland debian/control has only impact on Debian-based systems, e.g. Ubuntu, Debian.
I have not tested Ubuntu 21.04 (which has qemu-system-x86 but does not have qemu-kvm) . Without this PR, cloudstack-agent cannot be installed.

ok, so the qemu-kvm-ev discussion only applies to redhat varieties? tnx

@DaanHoogland exactly.

LGTM, checked packages.ubuntu.com - this will ensure qemu-system/x86 is installed on ubuntu 21.04 and later.


Removed the word “Compatibility” from the shields.io badges

Fixes #2863
I'll ad-hoc deploy this to staging before we merge it so I can double-check it works, but I can't see how even I would make a mistake with this one.

Are you sure you want this to say “Platform” and not “Platforms”?

but I can't see how even I would make a mistake with this one.

Are you sure you want this to say “Platform” and not “Platforms”?

aaaaaand there it is 😂

Confirmed working.

I have enjoyed everything about this experience. 10/10 will open bugs again.

I have enjoyed everything about this experience. 10/10 will open bugs again.

Please rate us on TrustPilot 😂

Please rate us on TrustPilot 😂

Don't forget to like and subscribe!

LinkedIn endorsement to follow 👍

Deploying as 2.98.4


Add oh-my-fish

The awesome oh-my-zsh equivalent for the fish shell! Addresses issue #1

@DeltaHeavy Thanks!


Circular Reference

Currently, DeepShiba uses a circular reference internally.
function (f::Func)(vars::Variable...)
    f.inputs = vars
    xs = [x.data for x in vars]
    ys = f.forward(xs...)
    ys = as_tuple(ys)
    outputs = [Variable(y, f, nothing, f.generation + 1, nothing) for y in ys]
    f.generation = maximum([x.generation for x in f.inputs])
    f.outputs = outputs
    length(outputs)  == 1 ? outputs[1] : outputs
end

function backward!(var::Variable)
    (isnothing(var.grad)) && (var.grad = ones_like(var.data))
    funcs = PriorityQueue{Func, Int}()
    seen_set = Set{Func}()
    funcs[var.creator] = 1
    while !(isempty(funcs))
        f = dequeue!(funcs)
        gys = [output.grad for output in f.outputs]
        inputs = get_data.(f.inputs)
        gxs =  f.backward.(inputs) .* gys
        gxs = tuple(gxs...)
        for (x, gx) in zip(f.inputs, gxs)
            if isnothing(x.grad)
                x.grad = gx
            else
                x.grad = x.grad + gx
            end
            if (!(isnothing(x.creator)))
                if !(x.creator in seen_set)
                    funcs[x.creator] = x.generation
                end
            end
        end
    end
end

Variable refers to Func and Func refers to Varible.
This is not good for memory efficiency.
Improvement is needed.

To solve this problem, I tried using WeakRef().
The code has been changed to the following 👇
function (f::Func)(vars::Variable...)
    f.inputs = vars
    xs = [x.data for x in vars]
    ys = f.forward(xs...)
    ys = as_tuple(ys)
    outputs = [Variable(y, f, nothing, f.generation + 1, nothing) for y in ys]
    f.generation = maximum([x.generation for x in f.inputs])
    f.outputs = [WeakRef(output) for output in outputs]
     # here
    length(outputs)  == 1 ? outputs[1] : outputs
end

function backward!(var::Variable)
    (isnothing(var.grad)) && (var.grad = ones_like(var.data))
    funcs = PriorityQueue{Func, Int}()
    seen_set = Set{Func}()
    funcs[var.creator] = 1
    while !(isempty(funcs))
        f = dequeue!(funcs)
        gys = [output.value.grad for output in f.outputs]
         # here
        inputs = get_data.(f.inputs)
        gxs =  f.backward.(inputs) .* gys
        gxs = tuple(gxs...)
        for (x, gx) in zip(f.inputs, gxs)
            if isnothing(x.grad)
                x.grad = gx
            else
                x.grad = x.grad + gx
            end
            if (!(isnothing(x.creator)))
                if !(x.creator in seen_set)
                    funcs[x.creator] = x.generation
                end
            end
        end
    end

I created the following file and measured the memory usage.
using DeepShiba
using Random
using BenchmarkTools

f = func(
    x -> 2x^2,
    x -> 4x
)

function main()
    for i in 1:10
        x = variable(rand())
        y = f(f(f(x)))
    end
end

@time main()

But the result was this.

result

use WeakRef
0.257398 seconds (556.10 k allocations: 29.403 MiB, 6.42% gc time)

don't use
0.215621 seconds (474.51 k allocations: 25.038 MiB, 8.94% gc time)

Unfortunately, this made memory efficiency worse and slowed it down.
I close this issue because this is low priority and high difficulty.


Include erb in pronto-brakeman files

Hey Noah,
I think something like this might do the trick. Do you have an app you could test this in?
I've tested it as far as confirming that my ".erb" files are included in the files array in run. Let me know if there's anything more I can help with?

It works, I'll need to add one tiny change to make sure it reports but this picks up the erb files as expected! Thanks very much!

@bermannoah you're welcome!


Remove normalizr peer dependency from package.json

I don't see this used in any of the code and produces a warning if not using it in the target project.

You're right. Not sure how that got there...


Iteration Plan for April 2020

This plan captures our work in April. We will ship in early May. This is a 4-week iteration.
Endgame

April 27th, 2020: Endgame begins
May 1st, 2020: Endgame done

The endgame details for this iteration are tracked in TBD.
Plan Items
Below is a summary of the top level plan items.
Legend of annotations:

Mark
Description

:runner:
work in progress

:hand:
blocked task

:muscle:
stretch goal for this iteration

:red_circle:
missing issue reference

:large_blue_circle:
more investigation required to remove uncertainty

:black_circle:
under discussion within the team

UX

[ ] Notebook UX explorations https://github.com/microsoft/vscode/issues/91987 @misolori
[ ] :red_circle: Reconsider timeline icons and follow active editor UX @misolori @eamodio

Accessibility

[ ] :runner: Improve status bar accessibility, enable F6 style UI navigation https://github.com/microsoft/vscode/issues/94677 @isidorn
[ ] Investigate accessibility for debugging: Screen readers are not announcing encountered break points https://github.com/microsoft/vscode/issues/90842  @isidorn
[ ] Investigate/assess JAWS support https://github.com/microsoft/vscode/issues/95225 @isidorn
[ ] :runner: Accessibility issues, see query @isidorn

Workbench

[ ] Migrate to dynamic view containers https://github.com/microsoft/vscode/issues/94688 @sbatten @sandy081
[ ] :runner: Stabilize account management UI and flows https://github.com/microsoft/vscode/issues/95163 @rmacfarlane
[ ] :red_circle: Use encrypted keychain for account management @rmacfarlane
[ ] Add support for GH accounts for setting sync https://github.com/microsoft/vscode/issues/95160 @rmacfarlane @tyriar
[ ] Settings sync: Polish setting sync flows https://github.com/microsoft/vscode/issues/94766 @sandy081 @rmacfarlane @misolori
[ ] Settings sync: Explore support for extensions to participate in global state synchronization https://github.com/microsoft/vscode/issues/95209 @sandy081
[ ] :muscle: Adopt GH account for issues reporter https://github.com/microsoft/vscode/issues/95165 @rmacfarlane
[ ] :runner: Stabilize and document Custom Editor support https://github.com/microsoft/vscode/issues/77131 @mjbvz @bpasero @jrieken
[ ] Support url query params for custom editor resources https://github.com/microsoft/vscode/issues/94037 @mjbvz
[ ] :runner: Provide in core implementation for notebooks https://github.com/microsoft/vscode/issues/91987 @rebornix @jrieken @roblourens @weinand @connor4312
[ ] Adopt Open With... https://github.com/microsoft/vscode/issues/94408 @rebornix team
[ ] Allow for better support of guiding users in the presence of deprecates settings https://github.com/microsoft/vscode/issues/91618 @roblourens
[ ] Global undo/redo: support to undo an operation for a file that is not in memory https://github.com/microsoft/vscode/issues/92272 @alexdima
[ ] Introduce a memory limit to saved undo-redo elements. https://github.com/microsoft/vscode/issues/93687 @alexdima

Theme Support

[ ] :runner: Supporting to customize the product icons https://github.com/microsoft/vscode/issues/79130 @aeschli @misolori
[ ] Adopt and enrich the semantic coloring support for bundled VS Code color themes @aeschli
[ ] Work with popular themes to adopt the semantic coloring support @aeschli

Editor

None.

Terminal

[ ] :runner: Allow extensions to customize the environment of terminal processes https://github.com/microsoft/vscode/issues/46696 @tyriar
[ ] Terminal link provider API https://github.com/microsoft/vscode/issues/91290 @tyriar
[ ] xterm.js: Prepare client/server separation for terminals https://github.com/xtermjs/xterm.js/issues/2749 @tyriar

Languages

[ ] :runner: Support richer labels in completion items https://github.com/microsoft/vscode/issues/39441 @octref @jrieken

LSP / LSIF

[ ] :red_circle: Adopt the latest semantic coloring API in the LSP spec @dbaeumer

TypeScript/JavaScript

[ ] :red_circle: Adopt TS release 3.9 @mjbvz
[ ] Collaborate with TS team on documentation of how to work with large TS projects https://github.com/microsoft/vscode/issues/92820 @mjbvz
[ ] :runner: Improve presentation of TS hovers https://github.com/microsoft/vscode/issues/92787 @octref @mjbvz
[ ] :runner: Help TS team to assume ownership of semantic highlighting in TS tooling https://github.com/microsoft/vscode/issues/92789 @aeschli @mjbvz @alexdima

Debug

[ ] :runner: Allow debug extensions to provide configurations to display in Select and Start Debugging https://github.com/microsoft/vscode/issues/88230 @weinand @isidorn
[ ] :runner: Improve the single file debug experience https://github.com/microsoft/vscode/issues/92269 @weinand @isidorn
[ ] :runner: Adapt "auto attach" feature in js-debug https://github.com/microsoft/vscode/issues/88599 @connor4312 @weinand
[ ] :red_circle: Extend Select and Debug for js-debug @connor4312
[ ] :runner: Provide basic support for capturing and viewing performance profiles in js-debug https://github.com/microsoft/vscode-js-debug/issues/388 @connor4312
[ ] Support necessary UI adaptations for profiling https://github.com/microsoft/vscode/issues/94812 @isidorn
[ ] :muscle: Support StepInTarget https://github.com/microsoft/vscode/issues/90793 @weinand @isidorn

SCM

[x] Provide commands for git status https://github.com/microsoft/vscode/issues/93779 @joaomoreno
[ ] Git: Support that extensions can contribute repository sources to clone from. @joaomoreno

API

[ ] :red_circle: April extension authors call @eamodio @fiveisprime
[ ] :red_circle: Explore how to make it easier for extension authors to react to deprecated API @eamodio
[ ] :red_circle: Support to eventually activate an extension on startup @alexdima
API finalization: query
API proposals: query

Extension Contributions

[ ] Improvements to the Remote extensions https://github.com/microsoft/vscode-remote-release/issues/2752 team
[ ] Improvements to the GitHub PR extension https://github.com/microsoft/vscode-pull-request-github/issues/1619 @alexr00 @rmacfarlane
[ ] Improvements to the GH Issues Notebook extension  https://github.com/microsoft/vscode-github-issue-notebooks/issues @jrieken
[ ] :red_circle: :muscle: Provide an extension contributing a flame chart presentation for performance profiles @connor4312

Engineering

[ ] :runner: Explore node-free renderer processes https://github.com/microsoft/vscode/issues/92164 @bpasero @deepak1556
[ ] Investigate into an ARM product build for Windows https://github.com/microsoft/vscode/issues/33620 @joaomoreno
[x] :runner: Adopt working copy service in Search editor https://github.com/microsoft/vscode/issues/89268 @jacksonkearl
[ ] :runner: Bring back automated issue classification https://github.com/microsoft/vscode/issues/95086 @jacksonkearl
[ ] :runner: Ongoing work on proposing and implementing new bots (query) @jacksonkearl
[x] :runner: Contribute to electron's continuous Chromium update @deepak1556

Documentation

None.

Deferred Items

Support for custom views with WebView contents https://github.com/microsoft/vscode/issues/83911 @mjbvz
:runner: Support to preview refactoring changes for other refactorings than Rename https://github.com/microsoft/vscode/issues/77728 @jrieken @mjbvz

I don't understand why you are putting this item to the Iteration Plan Item list

Support for custom views with WebView contents #83911 mjbvz

If it's not planned for this iteration.

I would like to ask which iteration can specifically improve the efficiency of java coding. Many functions of Red Hat's Java language service cannot keep up with the development steps of Eclipse.
Why doesn't Microsoft develop or maintain the Java language service engine extension by itself? I look forward to Microsoft's own development of a Java language service engine extension based on Eclipse JDT, which will be more friendly, convenient, and rapid for the overall VSCode Java update iteration.
Because of the Java development extensions provided by Microsoft so far, only the core Java language service engine extension is missing. This is very regrettable.

Is it difficult to solve half a year's worth of proposals?
Word navigation in QuickOpen
https://github.com/microsoft/vscode/issues/84755

I would like to ask which iteration can specifically improve the efficiency of java coding. Many functions of Red Hat's Java language service cannot keep up with the development steps of Eclipse.
Why doesn't Microsoft develop or maintain the Java language service engine extension by itself? I look forward to Microsoft's own development of a Java language service engine extension based on Eclipse JDT, which will be more friendly, convenient, and rapid for the overall VSCode Java update iteration.
Because of the Java development extensions provided by Microsoft so far, only the core Java language service engine extension is missing. This is very regrettable.

much needed

Could you implement a separate extension host for type commands this iteration?
The keyboard lag is awful at times.
https://github.com/microsoft/vscode/issues/75627
Vim users feel like second class citizens in VSCode right now.

are you guys planning to fix export from jupyter to python script during this iteration?

Below the OPEN EDITORS section header does not have a background color and the VSCODE and OUTLINE headers have an upper border.

This isn't good way of UI.  It's visually messing up sections. It's when designers taking over UI and putting style above productivity. The good way of UI is when each section on screen that is not related to each other should have visual contrast separation. That's why nobody liked Office 2013.
#93764 proposal received just one like, yet has been implemented.


parent() method not implemented

Hey @codeskyblue
Thanks for maintaining the app! It is quite a handy tool!
I am building an app using it but stucking at missing 'd.parent()' method when trying to access the node's parent. So i want to implemente this method.
From the code of uiautomator2, the python wrapper, it is commented that it has to implement a 'parent' method in this android-uiautomator-server app.
I tried to see where the code is located. It seems it should be in stub/Selector.java.
Reading this class, I got confused by 'getChildOrSibling'.
But to be honest, I don't really know what I am doing , I was hoping to write some 'parralle' function, something like child(), but there's no such method...and I got lose...
To fiture it out, I have some questions regarding the function calling processes and I am hoping you can help me to understand them and I can start to contribute as well, if you have time :)

I setted d.debug to true from python uiautomator2 and I saw the all the requests and responses. And I can see there's 'method' field. And after sending it to androiud-uiautomater-server, how does the server accept the request? Where is the server accepting point?

I cloned the project to my local env and tried to build it. I followed the build session from README.md
At the project root, I did

$ ./gradlew build
$ ./gradlew packageDebugAndroidTest

No error so far.
But running ./gradlew cC, the terminal stucked at
<============-> 95% EXECUTING [2m 53s]
> :app:connectedDebugAndroidTest

Is this normal?
And I open another terminal to run:
adb forward tcp:9008 tcp:9008 # tcp forward

and then
adb shell am broadcast -a ADB_INPUT_TEXT --es text SGVsbG8g5L2g5aW9

But the text field in my app didn't have any text inserted.
So, I am not sure if I build sucessfully or not.
Also I changed one method in Selector.java
	public String getText() {
		Log.d("should always return this text");
		return "should always return this text";
	}

So when I send a d(xx).get_text(), it should always got the given texts. However that's not what happed.
I am not sure if it's a build issue or this is just not how it
Other than these two questions, if you have any insight you want to share, please let me know.
Thanks again for your time.
Ran

Is this normal?

Yes, it is a server app, running eternally on the device unless you kill it.
I dont think the broadcast channel is working now. I did not find any code receiving -a ADB_INPUT_TEXT.
Instead, you should connect to :9008 and command uiautomator-server with REST APIs.

@mingyuan-xia ,
Thanks for the replay. That's good to know.
And would you mind explaining a bit more about how should I go for implementing a method for get the parent of a node?

Do you using QQ (499563266)? @xxxxlr

This is my way how to develop and test this repo.
After inited with python -m uiautomator2 init. Open App

shutdown UIAutomator keeper(atx-agent) by click

Usally I don't use cmdline. Instead I open AndroidStudio select file and edit

And Click button to Run test

If everything goes fine. You should see

Open Python type some test code, it should looks fine.

@codeskyblue
We actually chated through QQ yesterday after I posed this question :) But our conversitions got burried there...
Now, I am able to run my local version of uiautomator-server, I can see the method I added, getParent,  in the AutomatorServiceImpl got called.
Thanks for the help :).
But I am stuck on another problem for getParent.
Since getParent is on UiObject2, I need to convert the the result of getParent()（which is a UiObject2 object）to UiObject in order to add it to the cach hashmap：　ConcurrentHashMap<String, UiObject> uiObjects
Here is my modification:
AutomatorServiceImpl.java:
    @Override
    public String getParent(String obj) throws UiObjectNotFoundException {
        Log.d("OKOKOK getParent");
        UiObject ui = uiObjects.get(obj);
        if (ui.toUiObject2() == null) {
            Log.d("UiObject does not support getParent");
            return null;
        } else {
            UiObject2 parent = ui.toUiObject2().getParent();
//            TODO:how to convert UiObject2 to UiObject ? It's possible to add a method : toUiObject in Selector class, but that 's from a selector, I can not find a link between UiObject2 to UiSelector.
            // convertedParent = convertUiObject2ToUiObject(parent)
            return addUiObject(convertedParent);
        }
    }

Do you guys have a better idea of how to achieve this?

what is the difference betwr uiobject and uiobject2

From the surface, I only see the difference between their API.
Also in order to create a uiObject, you need a  UiSelector, and for a UiObject2, you need a BySelector. And I don't see how you can construct one from another.
So I am out of ideas now.
Any thoughts? @codeskyblue @mingyuan-xia

There are some methods

Convert UiObject2 to UiObject
Create another HashMap
Use Object as HashMap Value
...

But thanks for the insightful ideas @codeskyblue.

I believe this is the best way and I added a stub function in the previous question statement to illustrate what I meant. And it might just have no better way to do this...
I tried this approach, however, when later on you want to getUiObject, I believe you either have to add another function, getUiObject2. It's possible, but there are 20 occurance of getUiObject...But maybe this is the way...after all, the lib has to be back compitable with UiObject.
I don't think this approach will pass the code review...

looks like it is really hard to implement this function. Tell me how you going to use it if implemented, let's see if there is another way to do it

Thanks @codeskyblue, @mingyuan-xia
I started to implement it as a dedicated function on server which works ok. However what I did breaked the convension of this lib which is to mimic the native uiAutomator/2 API.
So I don't think I will PR and I will close it for now. But I do appriciated you guys spending time on this issue.

it's still ok to make a pr, just want to know how did you do it.

Hey @codeskyblue ,
I didn't solve the problem of implementing 'getParent', I just skipped it and hide it in a function on the uiautomater-server size... which has no value for a pr... :(
https://github.com/xxxxlr/uiautomator2/blob/master/uiautomator2/__init__.py

which line of code?

Here https://github.com/xxxxlr/uiautomator2/commit/bffc86744ffa32f72849c6f8a8c5fcf3b8a94d57#diff-e3ac58825fae1a1915415aae83582391

got it


Sendgrid templates adapter

@rafroehlich2 fwiw this was only sending text version of templates. #2d84984 defaults to including an empty string for text and html body, unless specifically set to false by user. curious your thoughts.

This is a good catch, thanks! Both text and html are now working for you? I will verify as well a bit later.

@rafroehlich2 yes, both are working for me.

Appears to work for me as well.

Are you looking to create a pull for this branch or should I incorporate the changes in mine? Thanks again for finding this.

@rafroehlich2 sure thing, feel free to cherry-pick or simply incorporate the changes into your own branch. whatever works. thanks.


Intoroduce finch-auth

Fix #159.

Coverage decreased (-0.11%) to 91.78% when pulling a9db41a348282f6c846e51edc585112d0d754026 on move-auth into 29c347f04a0efd95360a5199877a7f8dbfb14231 on master.

Coverage decreased (-0.11%) to 91.78% when pulling a9db41a348282f6c846e51edc585112d0d754026 on move-auth into 29c347f04a0efd95360a5199877a7f8dbfb14231 on master.


for-slice loops

impl for slice loops
for i in 0..=10 { ... } // 0 through 10

for i in 0..<10 { ... } // 0 through 9

started work again with 23fbe7e0ea03e90920260855ea6bc0ca4f740697

I have it sorta parsing, but I need [0] to be Binary(Eq x 0) which I have a hacky way of doing, there might be something better, a new function to parse for-slice expressions

can run on repl with 2de90103f7a04a79fbe91f44d52274e579fe1fd9
forSlice loops uses the same ast as classicFor, so, need to generate a new ast node and make it work accordingly

for i in 0..<10 { Print(i) }

0
1
2
3
4
5
6
7
8
9
~~~
for i in 0..=10 { Print(i) }

0
1
2
3
4
5
6
7
8
9
10
~~~
upper = 10
for i in 0..<upper { Print(i) }

0
1
2
3
4
5
6
7
8
9
~~~
lower = 0
for i in lower..=10 { Print(i) }

08:40:40 ERROR uncaught in repl: syntax error @38 unexpected '..'
~~~


Does not work in latest PCF version

Latest version of test harness is using browser-sync (https://www.npmjs.com/package/browser-sync) instead of a raw websocket.
Update to support this, with fallback to websocket

Works using PCF Scripts 1.9.9 and PCF Start 1.9.9 but not in 1.11.4


Onboarding - broken links

https://github.com/Azure/portaldocs/blob/master/portal-sdk/generated/portalfx-onboarding.md#portal-extension
I would very much like to join the program, with a view to creating a Azure extension/application for a project, however the links are broken?

Thanks a lot for helping us identify issues with our document. We have fixed the links and added tests to ensure we do not introduce any more broken links. If you see any other issues please let us know. Thanks,
Amit


animation default property not set in plots

The animation docs say that child components will be animated by default.  However, the property is not set in defaultProps.  This appears to affect all chart types.

Fixed in #126. Please refer to the updated docs when 0.6 will be releaed.


Unexpected token < while parsing file

I can't get reactify to work. No matter what I do I keep getting this Parse Error.
ReactifyError: /path/to/my/file: Parse Error: Line 6: Unexpected token < while parsing file: /path/to/my/file

My file itself contains basically nothing for testing purposes.
var React = require('react');

var App = React.createClass({
  render: function() {
    return {

testing

    };
  }
});

What am I doing wrong?

no
ST->{startime}
this is code ?
Error: Parse Error: Line 151: Unexpected token >
because i add this "->"


Add success state for clipboard copy events

@deekoder i had a comment.. The message should be "Copied to clipboard"


code2flow seems to be more convenient，Whether you have considered changing the syntax like this？

if someting{
}else{
}
while(){
if condition {
break;
}
.....
}
Whether you have considered changing the syntax like this？

could you tell me why?

I‘ve just not considered it… and changing it now is too late.


Bug while opening SQL Premium questions

Bug in SQL Premium Questions

Select Database
click settings
select premium qns
select any one question (it is not opening)

This is how it opens. PFA

Unfortunately, this is how i have that in the database, im gonna think about this issue but i dont think i can solve it.

I'm looking only for SQL premium questions. Do we have any alternate ?

I'm looking only for SQL premium questions. Do we have any alternate ?

If you can name a specific question, i can ss for you, @31b4 my dc.

Basically, I want to try and test the ouput in the leetcode itself for all the sql premium problems.

Basically, I want to try and test the ouput in the leetcode itself for all the sql premium problems.

yes, for that you have to buy premium, its not possible with any extension


Handling of non-string DataFrame column names

The test suite is currently broken on master after the latest dev release of HoloViews. The breakage is due to https://github.com/holoviz/holoviews/pull/5354 that raises an error earlier than before if the column names of a DataFrame contain an integer.
It means that in the current state this breaks white it used to work:
import numpy as np; import pandas as pd
import hvplot.pandas

df = pd.DataFrame(np.random.rand(10, 2))  # columns is [0, 1]
df.hvplot()

and raises:
DataError: pandas DataFrame column names used as dimensions must be strings not integers.

PandasInterface expects tabular data, for more information on supported datatypes see http://holoviews.org/user_guide/Tabular_Datasets.html

Pandas .plot
Pandas .plot is actually very flexible on the column names it accepts, these all work:
df.plot()
df.plot(y=1)

dft = pd.DataFrame(np.random.rand(10, 2), columns=[pd.Timestamp('2022/01/01'), pd.Timestamp('2023/01/01')])

dft.plot()
dft.plot(y=pd.Timestamp('2022/01/01'))

hvPlot, before
Things worked partially, i.e. plotting all the columns at once worked while to specify a given column you'd have to find out its string representation.
df.hvplot()  # Works

df.hvplot(y=1)  # Error!
df.hvplot(y='1')  # Works!

dft.hvplot()  # Works
df.hvplot(y=pd.Timestamp('2022/01/01'))  # Error!
df.hvplot(y='2022-01-01 00:00:00')  # Works!

hvPlot, now
All the examples above fail with a DataError. What happens is that at line L1226 a DataError is raised (also at L1224 but it's caught) when trying to instantiate the hv.Dataset, that is given self.source_data. If it was given self.data instead no DataError would be raised as the columns of self.data are converted to strings the _transform_columnar_data method. I'm not sure why hv.Dataset is given self.source_data.
https://github.com/holoviz/hvplot/blob/6f6da2d2f39970bb3ea0731641c4038bc934ec27/hvplot/converter.py#L1210-L1226
Solutions
The current state is clearly a regression, compared to a previous state that wasn't already ideal.
HoloViews should:

[ ] not just check for integers before raising a DataError at it seems that Pandas allows more than strings and integers as column names
maybe add support to non-string column names, if that's even technically possible

Until 2. happens, a solution should be found for hvPlot itself:

[ ] Untangle the usage of self.source_data and self.data I referred to above, to avoid the DataError when calling df.hvplot()
[ ] To allow users to reference the actual column name (e.g. df.hvplot(y=1)) it may be required to record a mapping of the original column names with their string representation.

Feedbacks on this @jlstevens @philippjfr ?
Note that it also broke the following but I expect the potential hvPlot fixes listed above to fix that too:
s = pd.Series(np.random.rand(10))
s.hvplot()

Does hvplot make any claims about how the .data of the elements it generates relates to the original source (e.g. when using df.hvplot?
If no claims are made (which I believe is the case) then imho this should be fixed at the hvplot level by decoupling the input data from the data in the output (which surely can be done efficiently without copying?). As hvplot supports other data types with named dimensions (xarray) I would expect a consistent entrypoint to accessing dimension data where the necessary remapping could take place.

I just noticed that we did not get all Holoviews FutureWarning in #932.
import hvplot.pandas
import pandas as pd

pd.DataFrame([1, 2, 3, 4]).interactive()

/home/shh/Development/holoviz/repos/hvplot/hvplot/interactive.py:272: FutureWarning: Having a non-string as a column name in a DataFrame is deprecated and will not be supported in Holoviews version 1.16.
  ds = hv.Dataset(self._obj)

Oh indeed! Thanks for reporting that!


This page is outdated for the new repos. There is no import repository option

[Enter feedback here]

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

ID: 15a9c9ac-02c4-839a-555b-8d9d22d08fab
Version Independent ID: 259fcc03-e73d-2004-dfa6-067728a85981
Content: Import a Git repo into your project - Azure Repos
Content Source: docs/repos/git/import-git-repository.md
Product: devops
Technology: devops-code-git
GitHub Login: @vijayma
Microsoft Alias: vijayma

@r4kris are you saying you do not see the "import repos" button in your DevOps organization?
As seen in below screenshot, the import button is clearly visible:

If you don't see this I would recommend creating a support request, but the docs are accurate here. Closing this at this time.


Make Inventory::Persister.from_raw_data public

The ManageIQ::Messaging client automatically does YAML.load on received messages so any queue worker using this will need access to from_raw_data not just from_yaml
Example: https://github.com/agrare/manageiq-inventory-persister/blob/master/persister.rb#L18

ManageIQ::Messaging added support to bypass the auto yaml encoding so this is unnecessary.


[OpenAI] Prepare for beta.5 release

API change check
API changes are not detected in this pull request.


Turn off FullSearch optimization for active lids blueprint createLe…

…afSearch().
@geirst : please review
This replaces #25119

The FullSearch optimization doesn't always work when the query doesn't have any constraints, e.g. "select * from mycluster where true" after removing all documents (as seen in https://github.com/vespa-engine/vespa/issues/25108). This is fixed by this PR. The optimization is now only used when evaluating a pre-filter used in combination with ANN search.


modified file paths and variable declarations

TEMPLATES_FILE was pointing to a non-existent file.
cur_time was being referenced before it was declared. Underscores added for better file naming.
OUTPUT was being saved as .txt when output is .json. Location of saved data file moved to /data directory.
fake_pii_csv was pointing to a non-existent file.

Thanks for the PR. I'll review the rest of them in the next few days.


Review c_how_chronologue_works.md

Great job! Please find all my comments and suggestions enclosed within
Let me know if you have any questions :)

I did a quick read. Looks good to me. @kickoke What do you think?

I've applied spelling suggestions from our new linter where I deemed fit. :)

Good to merge in my opinion

@valeriahhdez
Thanks for your remark about the time-travel mechanism. I think "predict" is probably more precise than "looks into the future".
We could add a disclaimer that while Chronologue tries to be as accurate as possible, a 100% guarantee of the future being the same as the recording is not possible. What do you think?


CSV Export not getting .csv extension

Reported (and reproduced)  at client-site on windows.
The build-in excel exports are getting their .xls extensions

I'm seeing the .xls extension dropped too, on my Windows 10, in local and in toolbox-dev.xh.io.


[6.0] SILGen: Don't use diagnoseUnexpectedEnumCase intrinsic for noncopyable enums.

Explanation: Fixes a compiler crash when a switch over a noncopyable enum contains a redundant enum case pattern after a wildcard pattern.
Scope: Bug fix.
Issue: rdar://130037881
Original PR: https://github.com/apple/swift/pull/74505
Risk: Low. Avoids an assertion failure in a rare code pattern.
Testing: Swift CI, test case from bug report
Reviewer: TBD

@swift-ci Please test


Limit repr of arrays containing long strings

[x] Fixes https://github.com/pydata/xarray/issues/3759
[x] Tests added
[x] Passes isort -rc . && black . && mypy . && flake8
[ ] Fully documented, including whats-new.rst for all changes and api.rst for new API

This also more strictly limits the length of array reprs where the max_width is small, such that it doesn't always display the first and last item. Lmk if that could have a adverse impact anywhere.

LGTM. thanks


What are my options for poi_type?

I'm sure this is somewhere in the Wiki, but can anyone point me to where I can learn what my options are for poi_types? The examples used "conf" as the conference location and "bar" for Marvel bar. What else is there?

Great question, @mtaylorlong! :+1:
Currently, the POI's can be listed under the following types:

conf
restaurant
cafe
bar
beer

However, anyone can edit the script.js file to add in additional options as we expand the map. For the latest POI options, you can check the Wiki site under the data notes page. :smiley_cat:

Closing this issue, but anyone can view it in the closed issues, and the information can be seen on the Wiki site. :sunglasses:


Code Changes

[ ] Convert all materialize related code to Bootstrap
[ ] Keep only the latest version of Bootstrap. For certain pages, there are two versions.
[ ] Convert entire CSS to Tailwind [ To be done later]
[ ] Convert entire website to NextJS + React [To be done later]

Just a Question, Why we wanted to convert Materialize Codes to BootStrap?

I want to work on this

Just a Question, Why we wanted to convert Materialize Codes to BootStrap?

We want to have a single CSS framework for the entire project

So we need to convert materialize.min.css to bootstrap.min.css ?

So we need to convert materialize.min.css to bootstrap.min.css ?

Ya.
But make sure you do it for the related components in the remainder of the pages too.

But make sure you do it for the related components in the remainder of the pages too.

yes, i tried it there are some components, which we have to change. I will try to do this ASAP

But make sure you do it for the related components in the remainder of the pages too.

yes, i tried it there are some components, which we have to change. I will try to do this ASAP

You are in which program? DWOC or SWoC

I am in both program, but, i will do this as SWoC atendee

I am in both program, but, i will do this as SWoC Participant

No worries. In that case, I can give you labels for both

@Siddhant-K-code how are you doing the same can you share the documents or relevant site for this.

@Siddhant-K-code how are you doing the same can you share the documents or relevant site for this.

Bruteforce method -> comparisons of Official Documentations

@Siddhant-K-code how are you doing the same can you share the documents or relevant site for this.

Bruteforce method -> comparisons of Official Documentations

Thanks!


gtk::idle_add() and gtk::timeout_add() are unsafe

Different than the ones in GLib, these do not require Send on the closure. It is however possible to call them from an arbitrary thread, in which case this would allow moving something that is not Send from that arbitrary thread to the GTK main thread.
Of course by requiring Send on the closure, this becomes rather less useful because it's usually used for doing things on GTK objects from the main thread... and no GTK object is Send so couldn't be used anymore.

Something like the following could be used to work around the limitations if we add Send:
use std::thread;
use std::ops::Deref;
#[derive(Clone, Debug)]
struct SendCell<T>(T, thread::ThreadId);

impl<T> SendCell<T> {
    pub fn new(data: T) -> Self {
        SendCell(data, thread::current().id())
    }
}

impl<T> Deref for SendCell<T> {
    type Target = T;

    fn deref(&self) -> &T {
        assert_eq!(thread::current().id(), self.1);
        &self.0
    }
}

unsafe impl<T> Send for SendCell<T> {}

Or the more complete version here, including a case where it's needed: https://github.com/sdroege/gstreamer-rs/blob/0dcf9c2be75827c89d30e3f7b23ccfda89f6b593/examples/src/bin/gtksink.rs#L17
I would suggest that we get this into glib for now... it seems like something that is needed commonly enough. And then fix up the functions mentioned here.
@GuillaumeGomez @EPashkin Any comments?

As mentioned here https://twitter.com/simukis/status/893498864279355392 we could also add idle_add_on_this_thread or similar, but that has the disadvantage that you need to know that this thread currently owns the default main context (or that it owns the main context you care about). And doing it wrong is even harder to debug then.

The wrapper over gtk_idle_add/gtk_timeout_add could check if no cross-thread sending happens.
Something like this:
fn idle_add<F>(f: F) {
    let thread_default = g_main_context_get_thread_default();
    if is_default_ctx_owned_by_this_thread {
        panic!("no can do!");
    }
    gtk_idle_add(...);
}

If unstable features are available, check could be replaced with, which would just pass the Send stuff through:
trait Foo {
    fn assert_sendness() {}
}

impl<T> Foo for T {
    default fn assert_sendness() { if ... { panic! () }  }
}
impl <T: Send> Foo for T {
    fn assert_sendness() {}
}

But yeah, I’m not sure how best to detect if the default context is owned by the current thread. g_main_context_is_owner() would probably be the important function, but I think comparing result of g_main_context_get_thread_default() with g_main_context_default() could also work.

It would also mean that we need two variants for each GSource thingy. One for "this thread", one for "that other thread that runs the current thread default main context".
There's also the problem that in theory you can run the same main context on multiple threads. Nothing is preventing that, as long as it doesn't happen at the same time, and it's not necessarily a problem (except for GTK on Windows).

@sdroege, you think that this macro is not enough to safety https://github.com/gtk-rs/gtk/blob/master/src/rt.rs#L21-L22?

Ah I missed that part. It is indeed enough for the function variants in gtk, as long as the default main context is only ever handled from a single thread (which might be safe to assume for gtk applications). It however makes these functions a bit useless (you can't use them from another thread, which is often exactly why you want to use them), but for that there are the ones in glib still.
The more general problem for all the other things (in e.g. GLib and GStreamer) still stays though.

I guess it makes sense closing this one then and moving everything to GLib instead.

👍 for adding SendCell from gstreamer in GLib.

Maybe without From implementation to prevent runtime errors with closures.


Add option to strip version #s (while preserving copyright info)

Open source licenses typically require the preservation of copyright info, but do not require version #s to be retained.  And security considerations necessitate removing version #s.  It would be very helpful to have that as an option for the Closure compiler.

I have no idea how this would be done. The compiler simply recognizes comments with /*! /** @preserve /or/* @license */` and ensures they are kept. It also de-duplicates them.
That's the extent of the processing though.
This sounds like something better suited for a pre or post compilation tool.


Visual changes and default avatar...

Default avatar for recentbans table
Default avatar for search/UID
table for recent bans is now better... Wrap was not working since the text that came from database was forcing the table to grow in length, just a <br> fixed the pain in our a.s 👍

@Thomas-Smyth now it should be ok with the image 👍 Check the placeholder for sure did send you an example via Discord if you don't like it let me know so we fix something else in place of that. The third one will be made later and PRed

Those are fixed on: https://github.com/Squad-Community-Ban-List/Squad-Community-Ban-List/pull/11


QR Codes containing more data(level > 13) such as MnemonicQR are unreadable

Error Description
When I try to read an exported MnemonicQR code in one of the Online QR Code Readers(i.e https://webqr.com ) or try to read with JS QRCode libraries (jsQR, vue-qrcode-reader), it fails to read(relatively small size QR codes succeed).
To Reproduce
Steps to reproduce the behaviour:

Go to 'Account' page
Click on 'Backup Mnemonic'
Download 'MnemonicQR Code'
Open a browser and navigate to https://webqr.com
Upload the downloaded MnemonicQR Code
See the result => error decoding QR Code

To reproduce with js QR libraries:

https://jsfiddle.net/bahadiryilmaz/7xm1zeyw/61/
https://codesandbox.io/s/jsqr-file-reader-forked-i17ch?file=/index.js

Expected behavior
Content of the QR Code should be shown
Screenshots & Attachments
mnemonicqr-doesntwork:

transactionqr-with-231-chars-message-doesnt-work:

qrcode-with-less-data-works:

When I checked out the "the symbol-qr-library" repository and debugged this case; I noticed that the width of the QR code to be produced was fixed, and this was causing the QR code to be compressed and therefore become unreadable.
Although it says

If width is too small to contain the qr symbol, this option will be ignored.

on qrcode library API => https://www.npmjs.com/package/qrcode#width
I couldn't see that was happening.
So when I removed the width parameter, the issue was resolved.
I can push the fix and create a PR if needed.


To support multiple ports for autoscaling

ISSUE TYPE

Bug Report
Improvement Request
Enhancement Request

COMPONENT NAME

Autoscaling

CLOUDSTACK VERSION

<IP_ADDRESS>

SUMMARY

Could you please enhance CloudStack to enable support for multiple ports in autoscaling? The current limitation of only one port restricts the deployment of real-time production infrastructure with autoscaling groups.

EXPECTED RESULTS

To address this issue of limited ports in the next release!

ACTUAL RESULTS

at first sight this looks like a valid feature request @palashbiswas-git , but can you elaborate on the configurations/requests/settings that you expect and how they would bahave, including error handling.

Hi @DaanHoogland ,
I'm currently working with a container-based application that supports autoscaling. However, I'm facing a limitation due to having a single load balancer and single port, which prevents me from parking it under an Autoscaling group, especially when I have multiple containers in a single VM/Instance. As you know, except for frontend web-based applications, most applications work with multiple ports where the VM needs to connect to other corresponding nodes, containers, and other services.
Because of this limitation, I believe many Cloudstack users are unable to secure those backend critical systems/applications through autoscaling groups.
Therefore, it would be greatly appreciated if this feature could be included in an upcoming enhancement.
I hope this clarifies the issue and the configuration/setting we are looking for in the future.
Thank you.

Hi @palashbiswas-git
Have you tried cloudstack autoscaler for kubernetes ?
https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler/cloudprovider/cloudstack
When a Kubernetes pod scales up , cloudstack automatically provisions a node
https://github.com/apache/cloudstack-kubernetes-provider/issues/52#issuecomment-1968230660

Hi @kiranchavala,
You are correct that this can be achieved through Kubernetes. However, our requirement is to use either containers or normal VMs, where we can't handle multiple load balancers or a single load balancer with multiple ports if it's part of an autoscaling group.

This is a great feature for us. Right now, in order to overcome this limitation, we deploy an NGINX instance in our VM, configured with static routes. These static routes would then route traffic to the multiple dockers in the VM.
Then, we scale the entire VM altogether.
Its a pretty hacky workaround, but it helps simplify our deployment.
Autoscaling with multiple ports would be really great! I full support.

@palashbiswas-git , I am sure you have a valid use case, and I think something like this could be implemented in the future. I read this as a generic problem statement and not a very explicit one. I am moving this to discussion to further distill it and create (probably multiple) issues once it is more clear.


Fix #7167: React Context Consumer value

fix https://github.com/zeit/next.js/issues/7167 this PR check the version of React only when running next build and next dev

I'd like to figure out what happens here. Moving it to next start is definitely not the way to go. I guess the check has to be React.hasOwnProperty('Suspense')

@timneutkens I will give it a try

@timneutkens it doesn't have anything to do with the check itself the problem is caused by const React = require('react')  when running npm start

But why, it's literally requiring React 🤔

@timneutkens maybe something happen here https://github.com/zeit/next.js/blob/canary/packages/next-server/server/render.tsx with that imported react
https://github.com/zeit/next.js/blob/6a5c39deaab2760d44fa29f7b3d9e981f123da37/packages/next-server/server/render.tsx#L94-L108

@timneutkens I tried going from an about page to the index page where Consumer is used and it worked without problem but when ssr index the problem happen


change cubicConversionError default to match cu2qu

In light of the changes in cu2qu v1.2.0 https://github.com/googlei18n/cu2qu/releases/tag/v1.2.0

(sorry I pressed the "Comment" button too early 😁 )
So, the problem is that currently ufo2ft uses a different cubicConversionError default value from the default value which cu2qu and (following the latter) fontmake is using.
In ufo2ft, this is defined in absolute font units, and the value is currently 2, e.g. it is 2 units whether the UPEM is 1000 or 2048.
In cu2qu, the default is defined as a factor of the EM square; it was 0.0025, and it has been changed to 0.001 since v1.2.0.
I propose we change the ufo2ft default so that it matches cu2qu's one. That means changing the default value of cubicConversionError keyword argument to be None, meaning use the cu2qu's default value (like we do in fontmake). And also, if a non-None value is specified, then that should be interpreted as a factor of the EM square (we can get the UPEM from the defcon font instance).
This would be an API breaking change, but I suspect not many people are using that cubicConversionError argument.
I'm cc-ing here the people I remember having seen using ufo2ft compile function directly instead of via fontmake: @adrientetar @khaledhosny

Let’s do like cu2qu and fontmake, relative to the UPM and 0.001. 2 is a bad default.

I think some sil folks also use it directly
On Jun 22, 2017 4:11 AM, "Cosimo Lupo"<EMAIL_ADDRESS>wrote:

Closed #141 https://github.com/googlei18n/ufo2ft/issues/141 via #145
https://github.com/googlei18n/ufo2ft/pull/145.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/googlei18n/ufo2ft/issues/141#event-1134269656, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAP9ywQvmWJM2uz2DOk2H3-EkHI2Pxy0ks5sGiGggaJpZM4NwHm3
.


Separate EF roadmap from .NET Core

Next version of .NET Core scheduled for November 2020. this means not add new features to EF Core for one year, while if developing it separated from .NET Core can releasing next version(4,5) very soon before next .NET Core.
Many request features that very important in real projects remained in the Backlog. please change policy and listen user voices!

@mojtabakaviani EF typically has three types of releases:

Major versions
Minor versions
Patches

For the patches, we are planning to be able to release more quickly that .NET Core as a whole is able to. However, we haven't got there yet, and it still might not work out this way.
For major versions, we will likely still be tied to the .NET Core releases, at least for the time being. There are advantages (both technical and business) in doing this.
For minor versions, we don't intend to do a release between 3.1 and 5.0 because the important things we need to work on will take us that length of time to do. Looking further into the future we might consider additional minor versions, but we'll have to see how everything works out after 5.0.
Also, the primary reason for important features being in the backlog is not the release schedule but rather having people available to work on these features.

I know these. But in major's version just add some features and we must wait one year for next version, if project is open source contributers and issuers must assign next features and roadmap, now is a public source! Anyway i will hope speedup version releasing.


CP: Revert "Fixed the broken beam python on flink with PortableRunner"

Cherry-pick of #33178

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Filed https://github.com/apache/beam/issues/33180 to follow up on this

R: @Abacn @liferoad


create new convertor to convert md to html with high performance

A python md-to-html convertor

A new convertor for markdown


Roll engine to 0cc0784dd515c0b6831f7bfe36a701a7682f83d1

@abarth @zanderso

LGTM

Still blocked on the linked roll due to failures on the Mac bot.

Closing since I assume we've rolled the engine now.


[now dev] Fix index-based asset lookup logic

There was a bug in the index lookup logic such that GET /404 would be matching the /index.* file. Fixed in this PR.

Codecov Report

Merging #2138 into canary will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           canary   #2138      +/-   ##
=========================================
- Coverage    4.44%   4.43%   -0.01%
=========================================
  Files         243     243
  Lines        8648    8652       +4
  Branches      901     902       +1
=========================================
  Hits          384     384
- Misses       8247    8251       +4
  Partials       17      17

Impacted Files
Coverage Δ

src/commands/dev/lib/dev-server.ts
0% <ø> (ø)
:arrow_up:

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 0f74a06...f322896. Read the comment docs.


No "Wind.png" in the assets

Hello,
And thanks for this project, i love it.
I ran into an issue today : There's no "Wind.png" in the assets so i added one to my own Smart-Mirror but thing is the Image i used is CC-BY, so the author name is to be mentionned, can anyone find a CC "Wind.png" ( or even create one ? )
Cheers

You might be running smartmirror.py from the wrong directory. Also make sure you have not made saved other copies outside the Smart-Mirror directory.

https://github.com/HackerHouseYT/Smart-Mirror/tree/master/assets
I might be wrong but i see no "Wind.png" in there

Sorry about that. Just added an icon for Wind.png.


.cancerresearch is not registerable?

No specification 13
no exemption from specification 9
Only domains registered are through registry itself https://ntldstats.com/backend/Neustar-Inc
ntldstats says branded
tld-list has no known registrars
namestat says generic (!) and also "delegated, not available" https://namestat.org/cancerresearch

It looks like this means there's no "General Availability" date for namestat. So maybe we have to ingest this date as well from somewhere and add another parameter, something like .isAvailable? or something

.data is another one of these

Ingested the best of what I could find for gTLD dates from ICANN.
Should be fixed in https://github.com/Cobertos/tld-data/commit/fdb0d9844be01ae70816eb80b4e1852aaa7576e1 with .isInGeneralAvailability. Both .data and cancerresearch come back false.

Note that the General Availability date is not currently accurately pulled, might be able to look at https://www.rrpproxy.net/News , as suggested by a Twitter friend


Memory leak on local cluster

On dask version 2.10.1, I am getting high memory usage on a simple problem:
import dask.array as da
from dask.distributed import LocalCluster
lc = LocalCluster(n_workers=4, threads_per_worker=1, processes=False, memory_limit='8GB')
n_points = 1250*60*60*4
n_scales = 300

scales = da.arange(n_scales)
omega = da.fft.fftfreq(n_points) * 2 * np.pi
x = omega * scales[:, None]
x = x.rechunk((1, 1250*60*5))

x.to_hdf5('testdata.hdf5', '/x')

When I run this code, I get a warning "Memory use is high but worker has no data to store to disk.  Perhaps some other process is leaking memory?", and this is confirmed by htop. Is there an issue with my code that is causing a problem?

Hard to say, but several things could be causing this. https://github.com/dask/dask/issues/3530 is a common culprit, though HDF5 could be doing things, or perhaps something else entirely.
What's the communication pattern of the rechunking? If you use smaller chunks do you see the same issue?

No improvements after doing export MALLOC_MMAP_THRESHOLD_=16384 before running the code.
The code I posted above is the only thing I'm doing right now, so there's not much going on. If I set the chunksize smaller, say (1, 1250*60), then I still run out of memory. If I set it even smaller to (1, 1250), then the memory again keeps climbing but at a slower rate.

The numpy/memory management issue would also be my first guess.  I
recommend trying to narrow down the cause by removing HDF5 from the
situation and see if the problem persists or goes away.  I would also
probably try removing Dask and use a concurrent.futures.ThreadPoolExecutor
with similar operations in numpy and see if the problem persists or goes
away (this is how we tracked down the numpy issues in that issue).
On Wed, Feb 5, 2020 at 6:20 AM jchutrue<EMAIL_ADDRESS>wrote:

No improvements after doing export MALLOC_MMAP_THRESHOLD_=16384 before
running the code.
The code I posted above is the only thing I'm doing right now, so there's
not much going on. If I set the chunksize smaller, say (1, 1250*60), then I
still run out of memory. If I set it even smaller to (1, 1250), then the
memory again keeps climbing but at a slower rate.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/5864?email_source=notifications&email_token=AACKZTHSXI446EONGSYRVI3RBLDMDA5CNFSM4KQE3NJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK3SZJA#issuecomment-582429860,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKZTFGGD5YWXDRVOCKV7TRBLDMDANCNFSM4KQE3NJA
.

I ran a test by removing HDF5 and specifying a smaller array that would fit in memory, so x.compute() instead of x.to_hdf5. I only decreased the number of rows in the array; otherwise, the chunks were the same. There was still large memory usage that eventually spilled over into swap before the computation finished, and I got the same potential memory leak warning from dask. In addition, my target array doesn't fit into memory so this isn't a long-term solution.
So far the only solution I've found was to manually create an array with numpy memmap, and then fill the array row-by-row with numpy operations using the threading backend with joblib. In that situation I did not encounter the memory issue.
My project uses xarray--that's why I hoping to use a dask array for out-of-core computations. I would then create a dataset from that dask array and save the results directly to a netcdf file, rather than using bare numpy memmap's.
Technically I could create a dask array from the numpy memmap, create the xarray Dataset, and write that out to a netcdf file, but that's two writes to disk, each 40+ GB, so I'd like to avoid that situation if possible. This might not be relevant to my original question, but do you happen to have any suggestions or workarounds?

I suggested removing HDF5 just to remove a bit of technology from your test
and make bug hunting easier, not as a recommendation for what you should be
doing in your actual workflow.   See
http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports
If you want to avoid computing the thing you might instead compute the sum
of the array.
On Wed, Feb 5, 2020 at 10:26 AM jchutrue<EMAIL_ADDRESS>wrote:

I ran a test by removing HDF5 and specifying a smaller array that would
fit in memory, so x.compute() instead of x.to_hdf5. I only decreased the
number of rows in the array; otherwise, the chunks were the same. There was
still large memory usage that eventually spilled over into swap before the
computation finished, and I got the same potential memory leak warning from
dask. In addition, my target array doesn't fit into memory so this isn't a
long-term solution.
So far the only solution I've found was to manually create an array with
numpy memmap, and then fill the array row-by-row with numpy operations
using the threading backend with joblib. In that situation I did not
encounter the memory issue.
My project uses xarray--that's why I hoping to use a dask array for
out-of-core computations. I would then create a dataset from that dask
array and save the results directly to a netcdf file, rather than using
bare numpy memmap's.
Technically I could create a dask array from the numpy memmap, create the
xarray Dataset, and write that out to a netcdf file, but that's two writes
to disk, each 40+ GB, so I'd like to avoid that situation if possible. This
might not be relevant to my original question, but do you happen to have
any suggestions or workarounds?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/5864?email_source=notifications&email_token=AACKZTEY6IADLHMKDOVMLETRBMAF3A5CNFSM4KQE3NJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK4PB4I#issuecomment-582545649,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKZTC2PXK2DZIHSTEYM43RBMAF3ANCNFSM4KQE3NJA
.

Hmm the array is going to be transformed later (logs, exponentials, and then fft), so no reductions. I don't see an alternative besides writing to disk because the array is so large.

Yeah, I'm not trying to tell you how to change your application.  I'm
trying to tell you how to identify the bug that you're running into.
On Wed, Feb 5, 2020 at 12:14 PM jchutrue<EMAIL_ADDRESS>wrote:

Hmm the array is going to be transformed later (logs, exponentials, and
then fft), so no reductions. I don't see an alternative besides writing to
disk because the array is so large.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/5864?email_source=notifications&email_token=AACKZTAE7JG2TJKOYGJY3CTRBMMZNA5CNFSM4KQE3NJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK42GOY#issuecomment-582591291,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKZTDR3FDHQLNMVSTAJVTRBMMZNANCNFSM4KQE3NJA
.

Right. The problem does seem to indicate the numpy memory segmentation issue. So not much that can be done at this point. Thanks for the help.

I have tweaked your example a little - please note that I have not checked that this produces the correct results, only that it doesn't grow indefinitely in memory:
import dask.array as da
from dask.distributed import LocalCluster
import numpy as np

lc = LocalCluster(n_workers=4, threads_per_worker=1, processes=False, memory_limit='8GB')
n_points = 1250*60*60*4
n_scales = 300

scales = da.arange(n_scales, chunks=(1,))
omega = da.fft.fftfreq(n_points, chunks=(1250*60*5,)) * 2 * np.pi

def mul_2d(arr1, arr2):
    return np.atleast_2d(arr1*arr2)

x = da.blockwise(mul_2d, "ij",
                 scales, "i",
                 omega, "j")

y = da.to_zarr(x, 'testdata', overwrite=True)

da.compute(y)

With dask 2.10.1 this still raises the warning but the memory usage stabilizes at around 10GB. What is more interesting to me is that this is a decent example of my issue in  #5859 (pinging @eriknw, as this might be a decent test). When I run the above code with 2.9.1 there are no warnings and maximum memory usage is around 500MB.

@JSKenyon thank you so much for the tweak! My memory usage has also stabilized, even with 2.10.1, and I can now proceed. It's very interesting how dramatically better your approach is on my machine.


Populating dynamically

Before writing this initial release, I was contemplating on how this catalog could be build dynamically. There was definitely a good bit of challenge in this while working at effx since many companies had different logical constructs for what a service is and how it's represented.
Possible sources:

Kubernetes
Consul

One way to do this would be to write a custom option that knows how to interact with the various APIs to pull this information. You would just need to write a custom catalog.Option that periodically syncs the catalog.Spec.Services array with some backend. All of these attributes are public so if someone wanted to do this, they could without needing to contribute it back to this project.


fix(arabic-translation): fixing and correcting the arabic translation (#83).

Fixing and correcting Arabic translations of the following documents:

src/locales/ar/account.json
src/locales/ar/admin.json
src/locales/ar/auth.json
src/locales/ar/common.json
src/locales/ar/components.json
src/locales/ar/dashboard.json
src/locales/ar/errors.json
src/locales/ar/layout.json
src/locales/ar/users.json

Wow ❤ Thanks a lot!!
We will review it (not me unfortunately I can't read Arabic yet 😢) and merge it quickly!

It's merged thanks a lot @OussamaSALAHOUELHADJ

Hey @ivan-dalmet, I am glad to be working on this project and I am available at any time to help, I am happy to help 😄

@ivan-dalmet  Sorry, I don't use Twitter much, but here's my account


Fix Issue [#2178] and Issue [#2167] #2187

Changes
Please list issues fixed by this PR here, using format "Fixes #the-issue-number".
Checklist

[x] An issue to be fixed by this PR is listed above.
[ ] New tests are added to ensure new features are working. Please refer to this page to see how to add a test.
[x] ./frb_internal precommit --mode slow (or fast) is run (it internal runs code generator, does auto formatting, etc).
[ ] If this PR adds/changes features, documentations (in the ./website folder) are updated.
[ ] CI is passing. Please refer to this page to see how to solve a failed CI.

Remark for PR creator

./frb_internal --help shows utilities for development.
If fzyzcjy does not reply for a few days, maybe he just did not see it, so please ping him.

Looks great, the CI fails mainly maybe because your local Flutter version differs from the CI's.
To make CI green and avoid things related to that, one way is to not execute ./frb_internal precommit (which by default touch everything), revert to previous commit, and

For lints, a quick auto fix command is cargo clippy --fix --allow-dirty --allow-staged -- -D warnings && cargo +nightly fmt, or alternatively manually check the CI error and change code
For "Command Generate", can run cargo run --manifest-path /path/to/flutter_rust_bridge/frb_codegen/Cargo.toml -- generate on frb_example/integrate_third_party folder

Anyway you can ignore the lints thing and I can do that if your env is somehow not working, and just run the latter generate thing

Thanks for the informations. I am going to try to set correctly my dev env. I would like to be able to submit a clean/green Pull Request.

In addition, the precommit is indeed quite slow since it runs everything. Thus, for normal development, it is better to run single commands like I mentioned above, which is faster since only run one thing per command.

Retry with flutter 3.22.0-0.2.pre


Python 3 (and 2) compatibility

The future is here!

Hi Chris,
many thanks for this! However, I'm totally new to these merge-requests. Any pointers on how to proceed? Do we just merge this with the current branch? Do we bump up the release no.? What would you suggest?

If you don't see any problems with this PR you should merge it (I tested in with python 3, but it should be compatible with python 2).
As for the release, it's totally up to you. You can make a new release now or wait for more PRs/features/bugfixes and release later.


🚀 Feature: Customize ScaffolderPage

🔖 Feature description
Our org is trying to add a filter and buttons to ScaffolderPage. However, customizing on this page is very limited at the moment.
I would like to contribute to this component so that it takes custom components as well.
🎤 Context
In our use case, we have created a button to export all the entities into a spreadsheet file. We have this button available in catalog pages but not in the scaffolder page. We would like to add this feature to the scaffolder page for our users.
We would also like to add a custom picker / filter to the scaffolder page.
These are currently blocked as customizing in the scaffolder page is limited.
✌ Possible Implementation
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Hi @DavidAn830, just wanted to let know that there is an upcoming scaffolder/next version being actively tested at this stage which is a redesign of the scaffolder. The documentation about this is here: https://backstage.io/docs/features/software-templates/testing-scaffolder-alpha. Being able to provide your own component in places or completely is part of this redesign.
Related is this RFC that is looking for the same customization abilities: https://github.com/backstage/backstage/issues/17417

@awanlin Thanks for that information! Do you know when scaffolder/next is going to be up and running?

Yeah, I don't know the timeline for this @DavidAn830 but what's currently available is pretty stable in my experience. I highly recommend you determine that yourself by testing it out. You can use it behind a feature flag to help slowly roll it out or test with real world examples


NTR: [zinc ion export from cell]

Please provide as much information as you can:

Suggested term label:
zinc ion export from cell

Definition (free text)
The directed movement of zinc ions from a cell, into the extracellular region.

Reference, in format PMID:#######
PMID:17355957

Gene product name and ID to be annotated to this term
SLC30A5

Parent term(s)
GO:0140352 export from cell

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information

+[Term]
+id: GO:0140882
+name: zinc export across plasma membrane
+namespace: biological_process
+def: "The directed movement of zinc ions from a cell, into the extracellular region." [PMID:17355957]
+synonym: "zinc ion export from cell" EXACT []
+intersection_of: GO:0006810 ! transport
+intersection_of: has_primary_input CHEBI:29105 ! zinc(2+)
+intersection_of: has_target_end_location GO:0005829 ! cytosol
+intersection_of: has_target_start_location GO:0005576 ! extracellular region
+intersection_of: results_in_transport_across GO:0005886 ! plasma membrane
+created_by: pg
+creation_date: 2022-07-08T04:56:15Z

@lbreuza
We use 'import/export' across plasma membrane to indicate transmembrane transport; the general term 'import into/export from cell' is used to group transmembrane compounds and endocytosis for specific compounds. Maybe this is not necessary to distinguish? But this is to explain why the term label is different from what you requested.
Thanks, Pascale


Fix broken unit tests

The unit tests seem to be broken after pulling the latest grasshopper master

Assigning to @bp323 for review

Changes Unknown when pulling 170657fe0e381ebc75d022d3d5a77ca4a18ff86a on Coenego:issue-354-unit-tests into ** on CUL-DigitalServices:master**.

Verified and merged.


Export result into multi sheet

Anyone had idea how to export into multi sheet?
Thanks.

You have to build up the individual sheets and append to a workbook object before exporting.  Here is a demo exporting two tables:
/* convert tables to worksheet objects */
var ws1 = XLSX.utils.table_to_sheet(document.getElementById('table1'));
var ws2 = XLSX.utils.table_to_sheet(document.getElementById('table2'));

/* make new workbook and add the worksheets to the workbook */
var wb = XLSX.utils.book_new();
XLSX.utils.book_append_sheet(wb, ws1, "Table 1");
XLSX.utils.book_append_sheet(wb, ws2, "Table 2");

/* from https://docs.sheetjs.com/#writing-workbooks */
var out = XLSX.write(wb, {bookType:'xlsx', type:'binary'});

function s2ab(s) {
  var buf = new ArrayBuffer(s.length);
  var view = new Uint8Array(buf);
  for (var i=0; i!=s.length; ++i) view[i] = s.charCodeAt(i) & 0xFF;
  return buf;
}

saveAs(new Blob([s2ab(out)],{type:"application/octet-stream"}), "sheetjs.xlsx");


Writing custom transform plugins in Rust?

Is it currently possible to write a custom transform plugin and use swc from Rust code? My planned use-case is a Rusty program that compiles to WASM, accepts Uint8Array containing the data of the file to transform (custom transformation) and returning Uint8Array back to JS

If you guys need any help while doing so, please feel free to ping me on github / slack. I'll help as mich I can

I've just started, but I think I got it so far. I'll ping you on Slack if I will have other questions thanks!


buildmycube -m option default configuration improvements : open wifi network

A weird problem after a 'buildmycube -m false' (meaning I don't want BSF to sneak in my device) is the wifi network : it is closed by default and nobody gave me the password. The wifi network when using the -m false setup should be open.
I think the wifi network should always be open no matter the -m option value. But this one is not my call.

This commit does the job ade9a93af817ac153623864cd061b67675bfde49 and can be merged in oneUpdateFile.

We have to know that wifi AP will be open for everybody by default
We will have to use --wifi-pwd to set a password and thus lock the wifi AP

Done #82


See list of vendors is a company?

Surfaced by Dave Osterman:
If you go to https://www.buildpgh.com/scout/companies/2212, you see a list of contracts and contacts from four different companies, but no real vendor information.

"See list of vendors" was on the x-drive, so it got imported like everything else. Without any additional information about breaking these up, it's pretty difficult to know what to do. I think @rileystewart will have to handle this one...

More questions about this from Kate Weiland...

We should just rename this to something else as a stopgap measure for now @rileystewart


Binary package for latest release

Latest release 0.2.12 does not come with CDN links to a binary package.
Though previous releases did: https://github.com/inaka/elvis/releases/tag/0.2.11 (that link: https://github.com/inaka/elvis/releases/download/0.2.11/elvis)
Could you guys make the link https://github.com/inaka/elvis/releases/download/0.2.12/elvis work?
I think this has to do with Github's Downloads section of releases.
cc @Euen @elbrujohalcon

Thanks!


Add Copy Google Cloud Platform Icons extension

Description
Easily copy google cloud platform icons in your favorite cloud architecture diagram software.
Type of change

New extension

Screencast
https://user-images.githubusercontent.com/17577332/140665264-92b3833b-4e06-4048-9c56-5444ee649d3b.mp4
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I checked that extension's icon has size of 512x512

@pomdtr do you need help with anything?

No help needed, I will revisit this next week

Good to hear, just wanted to make sure that you were not stuck @pomdtr


fix Increase timeout for compaction tasks in some sc cases

What problem does this PR solve?
Problem Summary:
Awaitility default timeout: 10s may be not enough for some compaction tasks in some schema change test cases.
Release note
None
Check List (For Author)

Test

[x] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall


calling sem-add in quick succession overwrites updates

I'm porting old sql schema changes to sem. I scripted the process and called sem-add on each change.
sem-add ./update-002.sql ; git commit -m "db schema update 002"
sem-add ./update-003.sql ; git commit -m "db schema update 003"
sem-add ./update-004.sql ; git commit -m "db schema update 004"
.
.
sem-add ./update-364.sql ; git commit -m "db schema update 364"
sem-add ./update-365.sql ; git commit -m "db schema update 365"

I got files in the scripts directory:
20150423-205830.sql
20150423-205831.sql
20150423-205832.sql
20150423-205833.sql
20150423-205834.sql
20150423-205835.sql
20150423-205836.sql
20150423-205837.sql
20150423-205838.sql
20150423-205839.sql
20150423-205840.sql
20150423-205841.sql
20150423-205842.sql
20150423-205843.sql
20150423-205844.sql
20150423-205845.sql
20150423-205846.sql
20150423-205847.sql
20150423-205848.sql

19 files, versus 365 files added using sem-add. Inspecting the files, I see that there are gaps in my 1-365 sequence.
Using time-stamps is too a naïve method in this case. I will work around by sleeping for a second between executing sem-add.
ps. Thanks for this tool!

That is a good point. Minimally we should check for the existence of a file and throw an error to at least expose this edge case. Alternately, append an incrementing number at the end in the event of conflicts, to preserve the timestamp ordering but prevent the overwrites.

Thanks so much for reporting!
One possible implementation here: https://github.com/gilt/schema-evolution-manager/pull/20
This will generate a suffix on duplicate filenames. So filenames will look like:
20121113-150902.sql
20121113-150902.z1001.sql
20121113-150902.z1002.sql
the "z" is there to enforce lexicographic sorting
If you have 10k files / second, you'll get an error.
Curious what you think about this approach ... one alternative is to inject the sleep(1) into sem-add itself when there is a duplicate. That would avoid needing the .zxxxx suffixes.

I did a quick test, and this looks to work well. The suffix is fine. Using sleep isn't that nice IMO, it adds 365 seconds of waiting in my specific use-case. :)

Looks like we can use milli, micro, nano or pico for strftime:

ruby -e '{ "milli" => "%3N", "micro" => "%6N", "nano" => "%9N", "pico" => "%12N"}.each_pair {|k,v| puts %Q{With #{k}: #{Time.now.strftime("%Y%m%d%H%M%S_" + v)}}}'
With milli:<PHONE_NUMBER>3431_116
With micro:<PHONE_NUMBER>3431_116354
With nano:<PHONE_NUMBER>3431_116372000
With pico:<PHONE_NUMBER>3431_116378000000

Thanks all! have merged the PR and published a new release -
https://github.com/gilt/schema-evolution-manager
On Fri, Apr 24, 2015 at 2:38 PM, perl2ruby<EMAIL_ADDRESS>wrote:

Looks like we can use milli, micro, nano or pico for strftime:
ruby -e '{ "milli" => "%3N", "micro" => "%6N", "nano" => "%9N", "pico" => "%12N"}.each_pair {|k,v| puts %Q{With #{k}: #{Time.now.strftime("%Y%m%d%H%M%S_" + v)}}}'
With milli:<PHONE_NUMBER>3431_116
With micro:<PHONE_NUMBER>3431_116354
With nano:<PHONE_NUMBER>3431_116372000
With pico:<PHONE_NUMBER>3431_116378000000
—
Reply to this email directly or view it on GitHub
https://github.com/gilt/schema-evolution-manager/issues/19#issuecomment-96027707
.


Update corise link

Hi,
A small thing I noticed is that the link of the repo is outdated:
https://corise.com/search-fundamentals?utm_source=daniel
->
https://corise.com/course/search-fundamentals?utm_source=daniel

Thanks!


explore CircleCI for build matrix

According to @drazisil, CircleCI now supports build matrices:

With the Release of CircleCI 2.0 and Workflows, we can do a build matrix. I created a proof of concept, if you would like to take a look. https://circleci.com/workflow-run/31659e67-7b38-4ed0-ba84-cd3f54c5d931
The config file is here https://github.com/drazisil/mocha/blob/workflows-matrix/.circleci/config.yml

We should evaluate to see if running our complex build process on CircleCI would buy us anything.  I think it's probably important to first enumerate requirements (blue-sky).
cc @ScottFreeCode

Let me know if you run into any issues.

I'm not as familiar with CircleCI as I am with Travis.
I want to put out there that Travis is beta-ing "build stages", which run in sequence and each of which can have multiple jobs that run in parallel. They're working on some fairly complex stuff although my impression is that what's there so far is fairly rudimentary -- initially it didn't play nice with the build matrix and now it does but you only get one matrix (and its stage is always named "test"). See here for more details: https://blog.travis-ci.com/2017-09-12-build-stages-order-and-conditions
(If I find I have a lot of time on my hands I may look at CircleCI and see what the pros and cons compared to Travis are.)

Travis is giving us all we need at this moment, feel free to re-open if this needs to be brought up again


Redirect to different proxies depending on auth

Hi!
I'd like to set a proxy server, over the same IP, i.e (localhost:9090), but with different authentications to redirect the traffic over one or another proxy. Let's say
http://test1:test1@localhost:9090/ will redirect to proxy http://a.b.c.d:1234 http://test2:test2@localhost:9090/ will redirect to proxy http://e.f.g.h:1235
I'm new in this, so I don't actually know if this should be done here, or in a server (apache, nginx, etc) to redirect the traffic to one or another proxy server depending on the auth
I have read the doc, but I can't find anything like it
In case it can be done straight with python-proxy , what's the way?
Thanks in advance

I figured it out myself, so I'm closing the issue
I just had to change in the proto.py the Basic authentication handling, and the schedule function in server.py
Amazing library BTW


VUE-COMPOSITION-API: why does ref not feel reactive on contenteditable, especially on this case

Version
2.6.11
Reproduction link
https://codesandbox.io/s/zealous-ardinghelli-b05ph
Steps to reproduce

Go to: https://codesandbox.io/s/zealous-ardinghelli-b05ph
Place cursor to text
Click the “INSERT IMAGE BETWEEN TEXT” button
Pay attention to the shown ref() below the button

What is expected?
the ref() can “catch up” the inserted image to the text.
What is actually happening?
the ref() can’t “catch up” the inserted image to the text.

Been asking on this: https://stackoverflow.com/questions/66708115/vue-composition-api-why-does-ref-not-feel-reactive-on-contenteditable and this: https://forum.vuejs.org/t/vue-composition-api-why-does-ref-not-feel-reactive-on-contenteditable/113409
but no answer.

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.

The problem could be related to the library vue content editable you are using


comment out flaky SchedulerJobsTest (FINERACT-852)

Also adds a new assertion for a clearer failure message than the
confusing low-level technical ArrayIndexOutOfBoundsException for
whenever this test will be re-activated later.

@awasum what's your view re. just ignoring a test?
Ideally we should fix it, of course, but in the meantime... merge this?

@awasum what's your view re. just ignoring a test?
Ideally we should fix it, of course, but in the meantime... merge this?

Ideally someone more familiar with the code should help us fix this. @Nayan , @nazeer1100126 , @vishwasbabu , @avikganguly01 . Help with resolving a flaky test as seen here: https://github.com/apache/fineract/pull/756 so that we dont comment this out. If we cannot find anyone to help fix this, we may ignore the test by this weekend. Is that too far? Once we ignore this, we may forget that we did like in the other ignored test for data import and others.


the value of feed_prev_depth in mvd_train.config?

I want to train MVD-Fusion on my customed dataset. Can you also provide the mvd_train.config file(including the value of feed_prev_depth)?

Thanks!


Deleted at

Very small patch to set the deleted_at date on volumes when they go to DELETING.

The main unknown here is how the migration is going to behave in production...


Fix Concave, Skip and Clip Collision Build Bugs

Most of Qodot's MapData is passed by Span, a data type that references another existing value. Modifying the Span value will modify the original value as well.
Qodot generates Mesh and Collision Shape data running 2 passes of SurfaceGatherer.Run() on each Entity. During each Run(), SurfaceGatherer loops through each Brush and Face of an SolidEntity, checking if the current Brush or Face it's on should be skipped. It then loops through each Vertex of the current Face. If the current SolidEntity is an Entity or Group type, it subtracts the center position from the current Vertex. Then finally it adds the Vertex to the Surface Output.
The problem is that it loops through the Vertices as a Span type, which is passed by reference. Therefore, every time the Entity's Center position is subtracted from the Vertex, it modifies the original value. For Skip textures, it only ends subtracting from this value once because they are filtered out during the Mesh Generation Run. Meanwhile, all other texture types are subtracted twice, causing the sets of vertices to be offset.
The fix is to copy the Span's current FaceVertex (vertexSpan[v]) to a new local FaceVertex struct, then modify the copied value and insert that into the Output array, leaving the original MapData intact.
With this change, there is no longer a need to add the entity.center to the vertex position in qodot_map.gd's build_entity_collision_shapes() function, nor is there any need to comment out GeoGenerator's entity.center += brush.center line.
FilterBrush is also moved back to the start of the Brush loop as in the original Qodot for 3.5. This seems to solve the crashes related to Clip texture filtering.
Tested both on the default qodot.fgd with worldspawn and on a custom FGD with special SolidEntity classes.

Thank you for this! Have you got a good test project I can use to examine the before/after output of this change. WIll check this out as soon as possible!

I don't yet but I'll fix one up this morning.

Here's a minimum reproduction example using the example qodot.fgd. It uses Skip and Clip on the worldspawn, Skip on a mover SolidEntity, and Clip on a Trigger.
Current Qodot design has Skip restricted to removing faces (though it is capable of removing the faces of something entirely Skip textured) while Clip is restricted to only removing faces if the entire brush (not necessarily entity) is textured with Clip.
This feels a bit redundant so I've been thinking of other design ideas to distinguish Clip and Skip (Ember already made a proposal awhile ago https://github.com/QodotPlugin/Qodot/issues/72 but I think there's a simpler solution to get the same result) but that's outside of the scope of this fix.
Here's the minimum repro project, hope it uploads!
QodotTest.zip

Fixed Concave Collision Building. Turns out it was a small oversight in SurfaceGatherer's Run() method. I've also updated the build_entity_collision_shapes function in qodot_map.gd, since with the Skip and Clip fix it's no longer necessary, just like the convex section of the code.

I tested these changes and there seems to be an issue where the collisions are displaced for solid entities with collision type set to convex in the FGD.

Works fine with concave collisions, no issues there.

Can you share your Map file, because I'm not running into any problems with this code across 3 different projects.

Can you share your project, because I'm not running into any problems with this code across 3 different projects.

Nevermind. It was a mistake on my part when cloning the changes of this PR.

Tested, looks great!


Issues with using vCenter node driver

TBD

document permissions for non admin users, most likely the same perms as: https://www.koding.com/docs/terraform/providers/vsphere/index.html/

As we've documented it, I'm going to close this issue.
https://rancher.com/docs/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/