feat(network): now supports ephemeral interfaces

What type of PR is this? (check all applicable)

[ ] Refactor
[x] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update
[ ] Other: Replace this with a description of the type of this PR

Description
This updates the Network Module to allow for ephemeral networks. This is especially useful for virtual interfaces that come and go depending on whether or not an application has created it or not.
Additionally, this adds rudimentary support for wireguard in the net adapter, treating it as a tunnel. Because wireguard does not communicate connected state (given that it's a stealth VPN), the mere existence of the interface assumes that it is connected. Mullvad and MozillaVPN, for instance, create the interface when establishing connection, and discard the interface entirely when disconnecting, so this is a good indicator for that.
Related Issues & Documents

Fixes #1164
Fixes #1531
Documentation (check all applicable)

[ ] This PR requires changes to the Wiki documentation (describe the changes)
[ ] This PR requires changes to the documentation inside the git repo (please add them to the PR).
[x] Does not require documentation changes

Can this get some love? :)

Just rebased from master branch. Rebuilt and everything is still working great :+1:
Currently using this on a daily basis, and it is highly stable.

Updated to latest from master. Still daily-driving without issues! :tada:

Is it possible to do the same for tun devices. I think this should be more general.

@1995parham

Is it possible to do the same for tun devices. I think this should be more general.

The current implementation attempts to probe the interface. I'm assuming this isn't sufficient for tun devices right now?
https://github.com/Swivelgames/polybar/blob/2ee52f3205cff5741e4c2338123a797ec432d952/src/adapters/net.cpp#L420-L432
Do you have an open issue that you can reference for the issue you're running into?

Thanks for your answer. It is not sufficient I think, because right now it cannot detect interface change (when VPN is off or on).

@1995parham Have you tried pulling down this PR and testing if it fixes your issue? A big portion of this PR was reorganizing src/modules/network.cpp so that it simply marks interfaces that it can't find as disconnected.
If this PR is insufficient, it might be good to create a new Issue ticket to encourage some discussion on how best to fix the issue. It's very possible that it could end up in this PR, or a fast-follow.

I will do it and let you know.

I've checked it. It works for me :heart_eyes: I think this MR deserve more attention. I will continue using it as my daily driver.

Hey @patrick96! Any chance we can get any traction on this? 🙂👍

Why is this not in upstream!!

@BICH0 Unfortunately, this repo seems to be pretty slow moving. Most of the PRs, especially hotly-anticipated ones like #2868 that are out there right now have been hanging out for a couple of years now. The only PRs that seem to get much traction are related to brand new issue tickets. I don't think @patrick96 has notifications turned on for new PRs :sweat_smile:
I tried sending him an email back in January, but I imagine it got filtered into his Spam folder.

Updated to latest. Still daily driving without problems.
For Arch Linux users, I've made this available via the polybar-wireguard-git AUR packages. I update my machine daily, and try to be timely when updating this branch as soon as I see a new version of polybar, so it should stay up to date and in sync with the upstream :+1:

Updated to latest and pushed to polybar-wireguard-git. Still daily driving without problems.

[!tip]
Arch Linux Users can get this feature now via polybar-wireguard-git

Updated to latest and pushed to polybar-wireguard-git. Still daily driving without problems.

[!tip]
Arch Linux Users can get this feature now via polybar-wireguard-git


Font size on v1 activity feed for primary number is incosistent

Summary
Distributed Funds number is smaller than Distributed Reserved Tokens number.
Relevant logs and/or screenshots

Discord link
https://discord.com/channels/775859454780244028/1064375393026588713/1064375397287985182

fixed in https://github.com/jbx-protocol/juice-interface/pull/2797


Client timed out while executing (no jobFinished received)

Hi,
First of all thanks for great compat library.
But I have an issue with long running operations.
I am scheduling a job
 JobInfo job = new JobInfo.Builder(taskId++,
                jobService)
                .setExtras(extras)
                .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)
                .setPersisted(true)
                .setOverrideDeadline(12000000)
                .build();
        jobScheduler.schedule(job);

And I have an JobService with AndroidAnnotations:
public class UploadImageJobService extends JobService {

       private final SparseArrayCompat<JobParameters> jobParamsMap = new SparseArrayCompat<>();

    @Override
    public boolean onStartJob(JobParameters jobParameters) {
        // extracting params and uploading large image
            jobParamsMap.put(jobParameters.getJobId(), jobParameters);
            uploadImage(params);
            return true;
     }
   @Background
   void uploadImage(){
   //uploading image using Retrofit
   if(success)  jobFinished(jobParamsMap.get(jobId), false);
   }
    @Override
    public boolean onStopJob(JobParameters jobParameters) {
        //checking if image is sent
        if (imageSent) {
            return false;
        }
        sendActionLog("onStopJob",
                    jobParameters.getJobId(), "sending not finished retry");
        return true;
    }
}

Uploading begins when there is internet connection but after some time Service just receives onStopJob()
logs:
01-11 13:58:14.756      554-554/? I/JobServiceContext﹕ Client timed out while executing (no jobFinished received). sending onStop. test.UploadImageJobService_ jId=0, u0
01-11 13:58:14.773  11487-11542/test E/UploadImageJobService﹕ job=0 | exam=1981 [onStopJob] PersistableBundle[{Id=1981}]

even if I call
 .setOverrideDeadline(12000000)

Is it a bug or am I doing smth wrong?
How can I force JobServiceContext to wait until I call jobFinished()?
Thanks.

Is this on Lollipop or below? "Client timed out" looks like Lollipop since job timeout is not yet implemented for the compat version. How long is your background task taking? There is a built-in limit of 60 seconds before JobScheduler considers your job as timed-out and stops it.

This was tested on Lollipop Nexus 4.
Sometimes uploading large image taxes even 10 minutes.
But I moved this long running operation to other service and schedule job with checking database list.

Well, that's your problem then. Google really should put the 60 second limit in their documentation, I only found it by looking through the source.


Breaking changes: outFile -> output

Due to the limitations of outFile it will be replaced with output.
Which will:

Allow cache busting
Reference original folder for plugins (+ cache busting)
Fix the mess with multibundle

output : "dist/$name.js
If no multi-bundle specified filename will be 'bundle'
In a case of a multi-bundle:
bundle({
   "vendor" : "~ index.ts",
   "app" : " > [index.ts]"
})

2 files will be created dist/vendor.js and dist/app.js
Setting
hash : true
Will automatically append file cache to the $name unless $hash is found in the output string.
e.g.
output : "dist/$name-$hash.js"

Will setting hash: true default to using md5? We had discussed that hash could potentially be a string too that would allow different hashing algorithms to be used. So hash could be either a falsey value (false|null|undefined|''), true` (to default to md5) or a string for another hashing algorithm that might get added in the future.

@wagerfield exactly like you said ;-)

devServer will also need addressing in this update. Right now it relies on outFile and doesn't support multiple bundles.


OR gate not able to map to MIG

Hello ,
I wrote a simple OR gate verilog and Yosys blif outputs the following which seems ok

Generated by Yosys 0.9+4081 (git sha1 1667ad65, gcc 9.3.0-17ubuntu1~20.04 -fPIC -Os)
.model top
.inputs c d
.outputs q
.names $false
.names $true
1
.names $undef
.names c d q
1- 1
-1 1
.end
Now if i follow below steps :
read_blif  Yosys/or.blif -a
ps -m
write_verilog -m --filename or_oracel.v
The verilog file written above looks like below (an XOR gate..):
module top(c , d , q );
input c , d ;
output q ;
wire new_n3, new_n4, new_n5;
assign new_n3 = ~c & d ;
assign new_n4 = c & ~d ;
assign new_n5 = new_n3 | new_n4 ;
assign q = new_n5 ;
endmodule
Is there any issue in steps Or there is some issue in the code ??
Thanks

% lsoracle -f x.lso
AIG network stored
[w] no mig in store
There is not an MIG network stored.

I suspect you had an XOR gate stored in the MIG store while the OR gate ended up in the AIG store - you'll not that you loaded the blif as an AIG with -a, but wrote out the MIG store with -m.

I read the blif with -m option , but or gate doesnt seem to reflect
lsoracle> read_blif or.blif -m
MIG network stored
lsoracle> ps -m
nodes: 6
inputs: 2
latches: 0
outputs: 1
MAJ nodes: 3
MIG level: 3
lsoracle [mig]> write_verilog -m --filename or_oracle2.v
module top(c , d , q );
input c , d ;
output q ;
wire new_n3, new_n4, new_n5;
assign new_n3 = ~c & d ;
assign new_n4 = d & ~new_n3 ;
assign new_n5 = ( c & new_n3 ) | ( c & ~new_n4 ) | ( new_n3 & ~new_n4 );
assign q = new_n5 ;
endmodule

@ratul619 could you post the blif file so I can take a look?

.model top
.inputs c d
.outputs q
.names $false
.names $true
1
.names $undef
.names c d q
1- 1
-1 1
.end

Good catch. It's a bug in either the BLIF reader or the node resynthesis that goes from truth table -> MIG. I have an update in progress that should fix it, since it updates all of that code, but I need to test with this particular case now.  We should push it in the next few days.  In the interim I'd recommend using AIG input if possible; that resolved the problem for me.
Thanks for pointing this out!

Hi ,  Should this be solved now ? Thanks


Add ability to add custom tools for ModelTree.

ModelTree doesn't have ability to add custom tools like ModelForm & ModelGrid at this moment. This pull request adds this ability. You can then add a custom button using codes like the following.
    public function index()
    {
        return Admin::content(function (Content $content) {

            $content->header('Categories');

            $content->body(Category::tree(function($tree) {
                $tree->tools(function($tools) {
                    $tools->add('  Export JSON');
                });
            }));
        });
    }

good idea.

@z-song can you consider to merge this pull request? I need this for my "tree to json export" functionality. Thanks.

Merged, Thanks!


MAINT: Updated installation instructions in README

Solves issues #36 and #35

Added apple silicon installation instructions.
Removed altair from installation instructions.

To test this run the installation instructions in the README.md file

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c179878) 93.35% compared to head (9ce64c6) 93.35%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #39   +/-   ##
=======================================
  Coverage   93.35%   93.35%
=======================================
  Files          18       18
  Lines        1054     1054
=======================================
  Hits          984      984
  Misses         70       70

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Yes that makes sense. How can i try on linux? Maybe on the euler server?

Yup, Euler should do!

Yes it works, I added Linux to the instruction title.


node-gcm with phonegap-plugin-push - Background Notification event handler not working

Hello, currently I'm using phonegap-plugin-push  (amazing thank you!) and I'm properly getting notifications with node-gcm.
When the app is foreground, the push.on('notification', function(){}); is working.
When the app is closed // background I don't get any events when the user click on the notification and open the app.
var messageTest = new gcm.Message({
    priority: 'high',
    contentAvailable: true,
    delayWhileIdle: true,
    timeToLive: 3,
    data: {
        key1: 'message1',
        key2: 'message2'
    },
    notification: {
        title: "Hello, World",
        icon: "icon",
        body: "This  is a notification that will be displayed ASAP.",
    },
});

the content received in the  push.on('notification', function(){}); is like :
{"title":"Hello, World","message":"This is a notification that will be displayed ASAP.","additionalData":{"content-available":"1","e":"1","icon":"icon","key1":"message1","key2":"message2","collapse_key":"net.myApp.www","foreground":true}}
This click on the notification open the Ionic / cordova app without problems, but not the event handler.
Do you know how to make it work ?
Regards,

I found the issue :
everything must go in the property data.

Hi, can you provide an example of the working code? I don't get how to resolve this issue.

https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PAYLOAD.md#background-notifications
https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PAYLOAD.md#background-notifications-1


Targeting wasm32-wasi

Is being able to target wasm32-wasi a desirable design goal?
At least from the perspective of dog fooding - what better way to validate the WASI API design, than to implement a production-grade networked service with persistent storage that works as a WASM module? This could also then serve as a reference implementation of a "best practices" service designed from scratch for WASI capability-based access model.
If this is indeed something we want, then it is most probably a good idea to adopt cap-async-std and async-std, which it is build upon sooner, rather than later.

Cleaning up old issues


Can I animate a custom icon? Or is there any example of a "loading/processing" sweetalert?

I need an alert to tell the user it should wait because work is being done, can I achieve this with sweetalert? I was using blockUI and bootstrap modals, but sweetalert looks better.

You can use showLoaderOnConfirm option now, as shown in the example page


A problem about v-ref with v-for

Vue.js version
1.0.16
Reproduction Link

Steps to reproduce
What is Expected?
What is actually happening?
When I use v-ref with v-for, I can't find array or object what I want in $refs of parent.
The feature in url http://vuejs.org/guide/components.html#Child_Component_Refs says that

When v-ref is used together with v-for, the ref you get will be an Array or an Object containing the > child components mirroring the data source.
Do I use it wrongly?

Oh, I have saw issue #2044. I know this problem, and it is not proper to implement.
Sorry.


Fixed tag typo with "v1.100.1"

Please consider this minor typo fix. Thank you.

How did I miss this for nearly half a year??? Merging.


Suggested filter for RWSensors should be now

Issue related to
Sunsynk Home Assistant Dev Add-On
Describe the issue/bug
Currently if the user adds a sensor and does not explicitly choose a filter, the same set of filters get applied to read-only and writable sensors through the suggested_filter function. For example, for RW voltage sensors, an avg filter is used, which results in odd behaviour when the value is changed either on the inverter side or in the add-on itself in that when there is a change, the sensor value will gradually increase (with several decimal places) towards the new value but these intermediate average values are undesirable.
Expected behavior
It is proposed that the suggested filter for all RW sensors is now or last. I cannot think of a use case for a RW sensor where the filter should be different. Would there be any undesirable consequences of using the now or last filters for all RW sensors?
If there is agreement on the above, I will put up a PR.
Current implementation:
def suggested_filter(sensor: Sensor) -> str:
    """Default filters."""
    if sensor.id.startswith("prog"):
        return "round_robin"
    f_id = {
        "battery_soc": "last",
        "fault": "round_robin",
        "grid_connected_status": "last",
        "overall_state": "step",
        "priority_mode": "round_robin",
        "sd_status": "step",
        "serial": "round_robin",
    }
    assert all(s in ALL_SENSORS for s in f_id)

    f_unit = {
        AMPS: "step",
        VOLT: "avg",
        WATT: "step",
        KWH: "last",
        CELSIUS: "avg",
    }
    res = f_id.get(sensor.id) or f_unit.get(sensor.unit) or "step"
    _LOGGER.debug("%s unit:%s, id:%s", res, sensor.unit, sensor.id)
    return res

Proposed change:
def suggested_filter(sensor: Sensor) -> str:
    """Default filters."""
    if isinstance(sensor, RWSensor):
        return "now" # or "last"
    f_id = {
        "battery_soc": "last",
        "fault": "round_robin",
        "grid_connected_status": "last",
        "overall_state": "step",
        "sd_status": "step",
        "serial": "round_robin",
    }
    assert all(s in ALL_SENSORS for s in f_id)

    f_unit = {
        AMPS: "step",
        VOLT: "avg",
        WATT: "step",
        KWH: "last",
        CELSIUS: "avg",
    }
    res = f_id.get(sensor.id) or f_unit.get(sensor.unit) or "step"
    _LOGGER.debug("%s unit:%s, id:%s", res, sensor.unit, sensor.id)
    return res

Or alternatively getfilter can always return a customised filter for RWSensors, just the interval, sample and filter parameters need to be agreed upon.
Also when RWSensors are updated through the HA UI, they could force a filter update?
def getfilter(filter_def: str, sensor: Sensor) -> Filter:
    """Get a filter from a filterstring."""
    fff = filter_def.split(":")

    if fff[0] == "round_robin":
        return RoundRobinFilter(sensor=sensor)

    funcs = {"min": min, "max": max, "mean": mean, "avg": mean}
    if fff[0] in funcs:
        res = Filter(interval=10, samples=6, filter=funcs[fff[0]], sensor=sensor)
        return res

    if fff[0] == "last":

        def last(val: Sequence[int]) -> int:
            return val[-1]

        res = Filter(interval=60, samples=1, filter=last, sensor=sensor)
        return res

    if fff[0] == "now":
        res = Filter(interval=2, samples=1, filter=max, sensor=sensor)
        return res

    if fff and fff[0] != "step":
        _LOGGER.warning("Unknown filter: %s", fff)

    thr = 80
    try:
        thr = int(fff[1])
    except IndexError:
        pass
    except ValueError as err:
        _LOGGER.error("Bad threshold: %s - %s", fff[1], err)

    return SCFilter(interval=1, samples=60, filter=mean, sensor=sensor, threshold=thr)

Should all config not be round_robin?
It might be that we have to speed up RR a bit (maybe read more than 1 per cycle), but reading them every second seems too much

Looking at round_robin in detail, you are right.
The main issue is the logic for selecting the default filter for a RWSensor. Currently only if a sensor name starts with prog does it get the round_robin filter by default, or if it is explicitly added to the suggested filter dictionary. The other RWSensors do not meet those criteria and therefore end up being treated as regular sensors where their unit of measurement is used to determine the default filter. The examples would be non-prog voltage RWSensors which get the avg filter due to their unit or non-prog battery capacity / amp sensors which get the step filter by default, which ultimately also causes averaging. So switching to a filter for all RWSensors which does not do averaging at all will solve the issue.
The secondary issue which is less of a concern is that when a RWSensor value is updated, the force parameter is set to true when publishing which causes the filter to not update its list of values, therefore the updated value is missed by the filter and we are dependant on the filter's interval to pick up the new changes even though we knew about the updated value outside of the filter (the default filter is 60 seconds for round_robin). Here is the current implementation:
async def publish_sensors(sensors: List[Filter], *, force: bool = False) -> None:
    """Publish sensors."""
    for fsen in sensors:
        res = fsen.sensor.value
        if not force:
            res = fsen.update(res)
            if res is None:
                continue
        if isinstance(res, float):
            if modf(res)[0] == 0:
                res = int(res)
            else:
                res = f"{res:.2f}".rstrip("0")

        await MQTT.connect(OPT)
        await MQTT.publish(
            topic=f"{SS_TOPIC}/{OPT.sunsynk_id}/{fsen.sensor.id}", payload=str(res)
        )

Perhaps fsen.update(res) should always be done but if res is None: continue should only be done if not force? If this is done then the only scenario where the RR speed would be an issue is when the user walks to the inverter and updates a RWSensor there - it may take up to 60 seconds for the add-on to pick up the changes, but perhaps that is fine because is a the alternative is to speed up the RR filter for all cases just to make this edge case quicker which might not be the right thing to do.
Proposed change:
async def publish_sensors(sensors: List[Filter], *, force: bool = False) -> None:
    """Publish sensors."""
    for fsen in sensors:
        res = fsen.sensor.value
        res = fsen.update(res)
        if not force and res is None:
             continue
        ...

So after the above ramblings, the suggested changes are as follows:

Use round_robin as the suggested filter for all RWSensors. This eliminates averaging that is currently experienced.
Always call the update() method on a Filter when the value of an RWSensor changes via the add-on so that the Filter has the most up to date value
Keep the rest of the logic of the publish_sensors method the same - if force is false, we do not publish MQTT updates if the filter says we shouldn't, but if force is true, we do.
Don't worry about the up to 60 second delay of the RR filter for now because presumably the user would rather use the add-on to write sensor values than walk to the inverter, but even if the latter occurs we would eventually get the updated values anyway?

Maybe a last question - should we allow for anything but the default (proposed round_robin) filter to be selected by the user for RWSensors? What if a user adds prog1_capacity:avg which would not make sense?

@kellerza I've put up #62 which implements points 1 and 2 above.


Input Text is cleared while typing after update 1.3.3

Hi, after the update to 1.3.3, your module seems to not work anymore. The exactly problem is that the Input Text is cleared while I'm typing.
So, you've probably changed something in your update that causes this bug.
I hope that you can fix this soon.
Thanks.

I'm closing this issue, because I'm using an Interval function that triggers every second a rerender and this probably doesn't match with your module anymore (after the update).
After stopping the Interval function, your module works as before.
So, in my case, I've found a workaround.
Thanks for the work that you put in this module.

@Lowisoft, I just tested what you said it was really happening. I just created a bugfix version, you can use the 1.3.4.
Thank you for your issue!

@guilhermepontes Unfortunately, the 1.3.4 version doesn't fix the issue with the interval in my case. The same code runs fine with 1.3.2, but not with 1.3.3 or 1.3.4. As mentioned before, I've found a workaround and therefore it isn't affecting me anymore.
However, the spinner, that you added in the 1.3.3 version, has disappeared in the 1.3.4 version.
So, I hope that you re-add the spinner soon, because in the 1.3.3 version, it worked perfectly.
Thank you for your quick response!

This is happening for us in version 1.3.4 too.  I can't type anything in the text input at all.  I will debug this issue and see if I can work out what change broke it.

This is the same issue for me in #196.
The problem is, in this commit:
https://github.com/FaridSafi/react-native-google-places-autocomplete/commit/f77062fc75bb6815fc32729509bb83a34ac8c57b#diff-e574d057fb2c5e71b74e6125228256e3R734
userProps is now added to the end of the props, which means adding an onChangeText into the textInputProps overrides the default onChangeText (which obviously breaks the normal behaviour).
Quite obviously, onChangeText should be added after userProps (considering it calls through to any specified onChangeText later on).
I will fork and submit a PR.

Submitted PR #205

Just a further update - there is in fact a second bug.  In componentWillReceiveProps, it compares the text in state with the future text prop.  If no text prop is specified, it goes with the default of '' which inevitably is different from the state's text and therefore forces an update.
My fix removes the default value for text and skips this check if it is undefined.

fix on 1.3.5

Thank you for your quick update! Though I can't check if the issue is solved (due to my workaround) , I'm closing this issue, because I assume that it works now and if it doesn't, feel free to re-open this issue.


Failure in the actual browbeat run

After a successful deploy and install, browbeat run fails with the following:
[root@localhost ovn-heater]# ./do.sh browbeat-run browbeat-scenarios/switch-per-node-100.yml test-base
tuple.index(x): x not in tuple
Environment is stock Fedora 32 on 13 quad core VMs.

What fails is this:
rally-ovs deployment destroy ${deployment}
Line 442 in ./do.sh
I am going to debug it further and see what is the root cause.

It fails to destroy it - tested on both F32 and F33 with the same error. If we step through to the next step in do.sh, that fails because it finds an existing deployment.

I can't figure out exactly what generates it and rally somehow manages to disable normal python error output. There are no files and no line numbers when it encounters an error.
This is reproducible with both F32 and F33. I have played with all the usual suspects - dns, selinux, etc. It is not related to them and it happens every time. Ideas?

This should be fixed with the following PRs:
https://github.com/ovn-org/ovn-scale-test/pull/217
https://github.com/dceara/rally/pull/2
Could you, please, try the following out:
rm -rf runtime/
RALLY_OVS_REPO=https://github.com/dceara/ovn-scale-test RALLY_OVS_BRANCH=fix-deployment-task ./do.sh install
./do.sh rally-deploy
./do.sh browbeat-run browbeat-scenarios/switch-per-node-low-scale.yml test

It works on small scale browbeat file. Both with master and with my OVS branch.
It fails with the attached browbeat file which is the scale I need to run it on.
Actual failure from rally results web page:
Unexpected error: Command 'docker exec ovn-central-1 ovn-nbctl show' failed with exit_status 1. Last stderr data: 'b'Error: No such container: ovn-central-1\n''.
The failure is immediate - first iteration.
On 07/05/2021 12:48, Dumitru Ceara wrote:

@kot-begemot-uk https://github.com/kot-begemot-uk On Fedora 33, you might want to make sure that the SSH keys you use are secure enough, e.g., the following works:
|ssh-keygen -t ed25519 -a 64 -N '' -f ~/.ssh/id_ed25519 cat ~/.ssh/id_ed25519.pub >> ~/.ssh/authorized_keys |
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/dceara/ovn-heater/issues/26#issuecomment-834301542, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4TGWC2X3F6THLOEPD6SUDTMPHPLANCNFSM425YSWJA.

--
Anton R. Ivanov
https://www.kot-begemot.co.uk/

It fails with the attached browbeat file which is the scale I need to run it on.

Hmm, something probably got lost on the way, I don't see any attached file.  Could you, please, add it inline here or drop me a direct email?
Thanks,
Dumitru

switch-per-node-12-600.zip

switch-per-node-12-600.zip

You need the following change to your browbeat file:
--- browbeat-scenarios/switch-per-node-12-600.yml.new   2021-06-01 04:41:03.615420017 -0400
+++ browbeat-scenarios/switch-per-node-12-600.yml       2021-04-13 08:11:34.000000000 -0400
@@ -67,6 +67,6 @@
         max_farm_nodes: 12
         farm_nodes: 12
         ports_per_network: 600
-        cluster_cmd_path: /root/ovn-heater/runtime/ovn-fake-multinode
+        cluster_cmd_path: /root/ovn-scale-testing/runtime/ovn-fake-multinode
         ovn_monitor_all: true
         ovn_central_ip: "<IP_ADDRESS>-<IP_ADDRESS>-<IP_ADDRESS>"

That was daft...
On 01/06/2021 09:45, Dumitru Ceara wrote:

switch-per-node-12-600.zip <https://github.com/dceara/ovn-heater/files/6574028/switch-per-node-12-600.zip>

You need the following change to your browbeat file:
|--- browbeat-scenarios/switch-per-node-12-600.yml.new 2021-06-01 04:41:03.615420017 -0400 +++ browbeat-scenarios/switch-per-node-12-600.yml 2021-04-13 08:11:34.000000000 -0400 @@ -67,6 +67,6 @@ max_farm_nodes: 12 farm_nodes: 12 ports_per_network: 600 - cluster_cmd_path: /root/ovn-heater/runtime/ovn-fake-multinode + cluster_cmd_path: /root/ovn-scale-testing/runtime/ovn-fake-multinode ovn_monitor_all: true ovn_central_ip: "<IP_ADDRESS>-<IP_ADDRESS>-<IP_ADDRESS>" |
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/dceara/ovn-heater/issues/26#issuecomment-851947847, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4TGWCZDJIBVZTXFTYTMLDTQSM3XANCNFSM425YSWJA.

--
Anton R. Ivanov
https://www.kot-begemot.co.uk/

https://github.com/ovn-org/ovn-scale-test/pull/217 got merged, and based on https://github.com/dceara/ovn-heater/issues/26#issuecomment-851959133 closing.


Removing a constraint

I couldn't find any way to remove a constraint :p Is it even possible ?

Has this been added to KeepLayout?

Yes, of course. Just call -deactivate on any attribute like this:
// This creates 3 layout constraints:
view.keepWidth.equal = 150 +keepLow;
view.keepWidth.min = 100;
view.keepWidth.max = 200;

// This modifies existing constraint (created above):
view.keepWidth.min = 110;

// This removes all 3 layout constraints.
[view.keepWidth deactivate];


Uncaught TypeError: Cannot read property 'getUserMedia' of undefined at HTMLButtonElement.captureStreams (publisher.js:129)

I have set up an AWS cluster with the provided Docker container - which appears to be running correctly. The firewall has been opened up as requested - and I see no errors from a server side perspective to indicate any problems.
However, when I go to visit publish.html and click capture - I get the following error;

I see no errors from a Subscriber side - and so the above seems to be limited to the issue regarding resolving what devices my browser has access to. I am running latest Chrome - and my same machine works fine on the MediaSoup demo site.

You absolutely need to run the web server with HTTPS that is trusted by the client (or else the server needs to be on localhost) to capture media.  I don't know if this is your only issue, but it is a start.
Note that I haven't actually used the Docker container by itself, as I run either locally or under Kubernetes (which in my cluster is fronted by an HTTPS reverse proxy).  It would be great to add support to the example for enabling TLS via mounted cert/key.  Alternatively, there's probably an AWS HTTPS reverse proxy that you can enable.
Please let me know if you have any success with this, so I can document what you needed to do to get it running under AWS.
Thanks for the report,
Michael.


Add ability to append child nodes by dragging over parent

This commit adds the ability to append a node as a child to another node via mouse-over. This is particularly useful for target nodes that have no children. The conventional way of adding nodes (dragging horizontally) remains unaffected.
The original code for this commit is based on @matthewboonstra's solution from #505. I edited it to allow moving a dragged node back to its original position after hovering over a preceding parent. I also restored broken horizontal mouse movement functionality and updated the original code based on changes to UiTreeHelper.
Tests with gulp serve on Windows 7 x64:

Successfully executed 25 of 25 unit tests.
Ran 6 specs, got 0 failures for the E2E-tests.

+1 would be great to add this feature.

Looks like a weird bower version issue with Travis. Should work fine with any Angular version. Any way 1.5.7 can manually be set for the automated build? @StefanCodes

Yup, I think I did that when I merged the last round of PRs. Updating Angular and some related component versions in bower.json seems to have pissed off Travis: https://travis-ci.org/angular-ui-tree/angular-ui-tree/builds (started with # 822). Sorry guys.
I have another PR to process as well - I'll get this all sorted out in the next few days.

I'm not entirely sure what the problem was here. Travis complained about the angular version, and the closest thing I found was that angular-fire depended on angular 1.3 (now updated), and bower.json didn't explicitly mention angular 1.4 and 1.5.
Hope that fixes it...

I would like to test this out. I'm fairly new to collaborating on git but I'm a decent coder. How can I collaborate?

@ConnectedReasoning the quickest way to try out @bcanseco 's changes is with:
git clone https://github.com/angular-ui-tree/angular-ui-tree.git (only if you haven't got the code checked out)
git checkout -b bcanseco-master master
git pull https://github.com/bcanseco/angular-ui-tree.git master
You'll end up with the source and just need to setup your dev environment with:
npm install
bower install
To build angular-ui-tree (that is, pack source/* into the distributable angular-ui-tree.[min.]js):
gulp build
Then you can run the tests by running:
gulp test
and, to run the end-to-end tests:
gulp test:e2e (note there's a little more setup required for the e2e tests - see the main readme)
Finally, if you just want to play around with the demo site in your browser, you run:
gulp serve
That will startup a web server and open your browser to the demo site. You can edit the demo pages (under ./example/) and the browser will automatically refresh each time.
What would be ideal is:

the code is visually reviewed for errors or messy edge cases
the README is updated to document the new functionality
a new example page added to the demo site, or the functionality added to an existing page (new example pages require you to modify a few files. See my commit here for an example of all the files you have to touch: https://github.com/angular-ui-tree/angular-ui-tree/commit/0103937cf651ea9c18d58e2e2c4eff94108a9377)

The project owner has been very busy lately, but I have commit rights so am able to merge PRs and create new releases. I spend most of my time working on back end code or in Angular 2 now, so anybody with a lot of Angular 1 knowledge fresh in their head would be a massive help in maintaining code quality! Thank you for whatever you can contribute!

Thank you! I was able to install, build test and run the server. I will create an example to see if I can append child nodes.

OK following I was able to add a new section to demonstrate appending child nodes to parent nodes. It works on my box following a build and serve. Whats next?

Great work, thank you!
This is an interesting scenario I haven't dealt with before. We've got a pending PR from @bcanseco with some additional changes from @ConnectedReasoning. You committed your changes to his repo, but they are probably only in your local Git repo since I can't see them. He'd also have to grant you committer rights on his ui-tree repo in order for you to push those changes. I think the way this is supposed to be done is you would submit a PR to @bcanseco, which would then be added to this PR.
But that's way too complicated and this project isn't so large that we need to jump through all those hoops. I think the easiest resolution would be for you to submit your changes as a new PR to this repo and I'll combine both of them into a new release of ui-tree.

Major props for explaining this stuff in detail to prospective contributors, @StefanCodes. It's people like you that make Github great :+1:
I've also been thinking about some of the points you brought up. This PR is for a pretty major functionality change as opposed to a new feature. As such, it would be present on all of the example pages out of the box. However, one idea would be to shape this new functionality as a toggle-able feature like expandOnHover. If it's off for the other example pages, we could add a new example page with the toggle state on to show that users can enable appending children by dragging over if they wish.
If we went with this, it would be up to you on the default state of the toggle for future releases. Personally, I think this is a huge UX improvement that should be on by default.
Would love to hear thoughts from both of you!

Thanks very much @bcanseco! I had a chance to review the code and I really like the new behaviour! You are very right about it being a core functionality change, though.
This really should be a configurable behaviour so we don't mess with anybody's existing web app behaviour (even though I really do prefer the new way). Do you think you could update your PR to make that configurable?
I think that can be part of treeConfig (main.js) - maybe as something like:
insertAsChildOnHover: false ?
In time I think that behaviour should be on by default (and let users explicitly configure the old behaviour if they need it), but at least for the next version we should make users expressly opt in.

Alright, I went ahead and made this feature toggle-able and mimicked the commit you linked earlier as far as references throughout the project. Also cleaned up the original commit code to ensure everything goes smoothly in the future.
Not sure why Codacy is complaining about that expression now, but that's life :simple_smile:

This is a really great feature that I'm especially interested in seeing work.  I'm happy to try and help, but I'm not sure where to start.  Could one of you who has more history with this issue help me to understand where this issue stands?
Is it simply an issue of the tests failing, or is there another reason that this project isn't getting merged into the main releases? If I know where the problem is, I'll volunteer to take a stab at getting it to work.  Thanks!

Is it simply an issue of the tests failing, or is there another reason that this project isn't getting merged into the main releases? If I know where the problem is, I'll volunteer to take a stab at getting it to work. Thanks!

I don't believe there are any issues. IIRC, Codacy was complaining about a statement that has been present for a long time and working normally. They've since changed their UI so I can't pinpoint it anymore, though.
If you have time, please download this branch and try launching the append-child-on-hover example page. @StefanCodes suggested we control the added behavior with a flag, which is now stored in main.js.
Thanks!

Ugh, sorry guys, it's on me to get this merged, but I've been slammed with work/personal commitments and haven't been able to set aside a few hours to catch up on ui-tree. This PR (and numerous other notifications) haven't done ignored - just ... badly delayed. :)
I will try to get a chunk of time to go through the PRs again and merge/release/comment in the next few days.

@bcanseco can you please rebase your branch so we can auto-merge and I will get this in ASAP

Coverage decreased (-0.8%) to 35.994% when pulling f6b86d23fac91fe89a58c4279ef7feefb78a3a37 on bcanseco:master into c9ab48479accaff1b29c025b22f2202f3914f0de on angular-ui-tree:master.

Thanks! I'll start reviewing this now

@jacobscarter Might have found a bug on the example page. Looking into it.

Coverage decreased (-0.9%) to 35.942% when pulling a04b7d79d0f50f9c88f9fc59cf1d921e5d6ebddc on bcanseco:master into c9ab48479accaff1b29c025b22f2202f3914f0de on angular-ui-tree:master.

Alright, should be good now. @jacobscarter

This is great! Would love to see this merged.

@bcanseco reviewed, LGTM. This PR is super valuable, it's indeed a great usability improvement.
I'm afraid you have to rebase again :-/ We're quite active with merging other PR's atm.
I will clone and test your work tomorrow. Thanks very much!

Coverage decreased (-0.8%) to 36.146% when pulling 7ad5698d18c8a16abc39db19fc25f1a3d5a5d38a on bcanseco:master into 5c2373fff162c5bcb793b0d1d37e4c9d576bf734 on angular-ui-tree:master.


Importing .proto files showing Error

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.73.1
OS Version: Ubuntu 22.01.3 LTS

Steps to Reproduce:
Including .proro files from same directory showing error on vs code. But it is working without any issue.

Make a .proto file. suppose calculator.proto.
Make another .proto file naming max.proto and include this file on calculator.proto, thus showing Import "max.proto" was not found or had errors.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.82.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
Happy Coding!


Only instantiate the file watcher in a hot reloadable scenario

Why make this change?
Related to https://github.com/Azure/data-api-builder/issues/2064
We are getting error messaging associated with making edits to the config file due to a file watcher that is constantly looking for changes to the config file as part of the initial pieces of hot reload. Until hot reload is ready this is not error messaging that we want to be made visible.
What is this change?
Add a function to the runtimeconfig that checks if we are in a hot reloadable scenario. For now, this will always return false, and when we want to make the hot reload feature available, then the logic of this function can change to accommodate those updates.
How was this tested?
Run manually to verify we are not file watching.
Sample Request(s)
No request is needed, simply start dab, make a change to the config file and save it, you will no longer see the error messages.

Were you able to get consistent repro of the error message you get before this change?
Can you provide those repro steps in the PR description so that we can check locally to confirm that the error no longer appears?

Yes, I was, and I will add those steps.

/azp run


Zone Number Addition

Zone #782 = The Cloud Deck (Extreme)
Also known as Diamond Weapon Extreme

Sorry, I forgot to update the zone list for 5.55.  The new list is live now, so it'll either prompt your for an update a day after the last time it checked, or you can set the last update check time back a day in %AppData%\PunishedPineapple\WaymarkLibrarian\Options.cfg to have it check again on the next launch.


Latex multi line rendering error

https://staging.isaacphysics.org/questions/flying_off_earth
Fraction on subsequent line causes uneven rendering on F= ma:

This issue appears to be repeatedly occurring for rendering of newton's second law.

This is a MathJax issue, closing because it will go away when we switch to Katex.


debug in MI is error

my server not support gdb mi2
so i want to debug in mi
i don't know how to setting config for mi debug
can you tell me?

try changing the debug engine to gdb and the gdbpath to the path to your server executable if you want to use a custom gdb mi server. The protocol changes between mi and mi2 are very minimal and it should just work too, otherwise I don't have mi 1 implemented.

thank you!
if i want to debug this code  how to setting config file.
i download this code and set breakpoint , but this not work.
can you tell me how to debug your code .
thank you very much.


[Fix] Admin login problem

I do not want to introduce new languages because the release of new updates will be delayed. I'll take a look at the rest of the forks. I see everything.


autorun script when user logs in first time after registration (first login via SAML)

Describe the feature you'd like
When user logs in for the first time I want to run some simple script to autocreate him a book(which he owns).
Describe the benefits this feature would bring to BookStack users
This could be a replacement for wikipedia namespaces
Additional context
The script could also do things like set him profile picture depending on his role given from SAML for example.
We use bookstack with SAML as closed wiki with documentation.
I want for everyone who logs in to have his own book and not be able to create any more books.

As of v21.04 this function can be done via the logical theme system: https://github.com/BookStackApp/BookStack/blob/master/dev/docs/logical-theme-system.md


Build Error - Could not load cache.

Hello everyone! Maybe someone stumbled on something like this?
Windows 10 x64
Visual Studio 2017
USD 21.02 Build with Python 2.7
After some issues I ran into this and I could not find anything related to this issue:
Command:
H:\usd_from_gltf-master>python ./tools/ufginstall/ufginstall.py H:/UFG-CP37 H:/USD-CP27
Install Settings:
Source Directory:   H:\usd_from_gltf-master
Install Directory:  H:\UFG-CP37
USD Directory:      H:\USD-CP27
Download Directory: H:\UFG-CP37\src
Build Directory:    H:\UFG-CP37\build
Build Config:       Release
CMake Generator:    Default
Already Installed:  DRACO, GIF, JPG, JSON, ZLIB, PNG, STB_IMAGE, TCLAP
Installing:         USD_FROM_GLTF
-------- Installing USD_FROM_GLTF --------
USD_FROM_GLTF: CWD: H:\UFG-CP37\build\usd_from_gltf-master
USD_FROM_GLTF: Run: cmake H:\usd_from_gltf-master -DCMAKE_INSTALL_PREFIX=H:\UFG-CP37 -DCMAKE_PREFIX_PATH=H:\UFG-CP37 -DUSD_DIR=H:\USD-CP27 -DCMAKE_GENERATOR_PLATFORM=x64
USD_FROM_GLTF: CWD: H:\UFG-CP37\build\usd_from_gltf-master
USD_FROM_GLTF: Run: cmake --build . --config Release --target install -- /m
Error: could not load cache
USD_FROM_GLTF: ERROR: Command failed: cmake --build . --config Release --target install -- /m
USD_FROM_GLTF: See log at: H:\UFG-CP37\build\usd_from_gltf-master\log.txt
------------------ Log File Attached ----------------
Thanks in advance!
Cheers, Felipe.
log.txt

I have this same problem

I get the same problem. Is there any update on this?


Bug: Unable to enter maximum amount for NumberInputs

We are using NumberInput which maxes out at Javascript number type. Change to Input and limit to ethers --- constants.MaxInt256 (<- I think)

@mobiusTripper-crypto @Da-Colon this is something we should probably fix before launch

@herbig @mobiusTripper-crypto @Da-Colon  -- I think the scope for this task should be as below. Leave feedback if you feel differently

Change from NumberInput to use normal string Input. We can use NumberInput as a guide for the new component.
This new input should:
a. Handle Decimals -- if the user doesn't enter a decimal, then the number entered is considered whole units (1 ETH, 2 ETH, etc)
Input should have validation in place to not allow more than "x" characters to the right of the decimal point, where "x" is the number of decimals in the ERC20
Don't allow negative numbers
Add min/max if necessary

Nice to have:
Get the ERC20 symbol (ETH, FRAC, etc) and include that as a "rightIcon" on the input (or whatever chakra calls it)
If we need this input to handle integers, make hasDecimals property. If this property is false, then we assume this input is an integer, and can parse like so.

Once this is done, we can either, in a different task:

Replace the relevant inputs in the app with this new component locally
Abstract this component to the Design system and import it from there to use in the app

Upon further evaluation, I do not think min / max on the input is a good idea, as the value changes without any feedback to the user if we just change the value. I think using validation is a more appropriate solution to insure min / max values.


adding error workbooks

Ading AVD Error Search and AVD Reporting workbooks
This PR fixes/adds/changes/removes

Add AVD Error Search workbook
Add AVD Error Reporting workbook

Breaking Changes
I would hope there's no breaking changes

@scautomation thanks for your contribution.
@swathibhat1


Referencing and using custom C# compiler from roslyn myget feed

~Using msbuild to build the solution (instead of dotnet cli) <= do we want to do this?~
Adding a new myget feed for roslyn
Including a package reference to Microsoft.Net.Compilers in all the projects
Adding RoslynVersion property

From @VSadov:

As a first step we are using 2.3.0-rdonly-ref-61530-07 here.
NOTE: This compiler version does not implement any checks for Span. That will come in the next change.

cc @KrzysztofCwalina, @shiftylogic, @VSadov. @joshfree

When I run this branch locally I get errors almost every time
D:\github\corefxlab\dotnet\sdk\2.0.0-preview1-005724\Roslyn\Microsoft.CSharp.Core.targets(71,5): error MSB4062: The "Microsoft.CodeAnalysis.BuildTasks.Csc" task could not be loaded from the assembly D:\github\corefxlab\dotnet\sdk\2.0.0-preview1-005724\Roslyn\Microsoft.Build.Tasks.CodeAnalysis.dll. Assembly with same name is already loaded Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [D:\github\corefxlab\src\System.IO.Pipelines.Extensions\System.IO.Pipelines.Extensions.csproj]
  System.Threading.Tasks.Channels.Tests -> D:\github\corefxlab\tests\System.Threading.Tasks.Channels.Tests\bin\Debug\netcoreapp2.0\System.Threading.Tasks.Channels.Tests.dll
  System.Collections.Generic.MultiValueDictionary.Tests -> D:\github\corefxlab\tests\System.Collections.Generic.MultiValueDictionary.Tests\bin\Debug\netcoreapp2.0\System.Collections.Generic.MultiValueDictionary.Tests.dll
D:\github\corefxlab\dotnet\sdk\2.0.0-preview1-005724\Roslyn\Microsoft.CSharp.Core.targets(71,5): error MSB4062: The "Microsoft.CodeAnalysis.BuildTasks.Csc" task could not be loaded from the assembly D:\github\corefxlab\dotnet\sdk\2.0.0-preview1-005724\Roslyn\Microsoft.Build.Tasks.CodeAnalysis.dll. Assembly with same name is already loaded Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [D:\github\corefxlab\src\System.IO.Pipelines.Compression\System.IO.Pipelines.Compression.csproj]
  System.IO.Pipelines.File -> D:\github\corefxlab\src\System.IO.Pipelines.File\bin\Debug\netstandard1.3\System.IO.Pipelines.File.dll
  System.Buffers.Experimental -> D:\github\corefxlab\src\System.Buffers.Experimental\bin\Debug\netstandard1.1\System.Buffers.Experimental.dll
  System.IO.Pipelines.Networking.Libuv -> D:\github\corefxlab\src\System.IO.Pipelines.Networking.Libuv\bin\Debug\netstandard1.3\System.IO.Pipelines.Networking.Libuv.dll
  System.Buffers.Primitives.Tests -> D:\github\corefxlab\tests\System.Buffers.Primitives.Tests\bin\Debug\netcoreapp2.0\System.Buffers.Primitives.Tests.dll
  System.IO.Pipelines.Networking.Sockets -> D:\github\corefxlab\src\System.IO.Pipelines.Networking.Sockets\bin\Debug\netstandard1.3\System.IO.Pipelines.Networking.Sockets.dll
D:\github\corefxlab\dotnet\sdk\2.0.0-preview1-005724\Roslyn\Microsoft.CSharp.Core.targets(71,5): error MSB4062: The "Microsoft.CodeAnalysis.BuildTasks.Csc" task could not be loaded from the assembly D:\github\corefxlab\dotnet\sdk\2.0.0-preview1-005724\Roslyn\Microsoft.Build.Tasks.CodeAnalysis.dll. Assembly with same name is already loaded Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [D:\github\corefxlab\src\System.IO.Pipelines.Networking.Windows.RIO\System.IO.Pipelines.Networking.Windows.RIO.csproj]

Error went away after closing VS that had codefxlab solution opened.

Error went away after closing VS that had codefxlab solution opened.

I had observed similar issue.


Agent-Listener Communication

When building aan agent, how does the agent knows to which listener connect to.
Where do we use https://www.notion.so/LISTENER-11223344556677889900112233445566  (in the site example) for building the agent?
Thanks

The answer to your question is here: https://github.com/mttaggart/OffensiveNotion/wiki/5.-Executing-the-Agent


SemanticDB for Java improvements

This change updates semanticdb-java to 0.8.10.
As this version properly added support for the -build-tool:mill option, we enable it, but only, if we really use this version (or newer) at runtime.
The thing is: Metals is sending us its preferred versions for semanticdb-scalac and semanticdb-java. There is a high change, that Mill was build with another version. (When I introduced the semanticdb-java support, Metals came with a much outdated version, resulting in  build failures due to these unexpected low version during development.) Before, Mill used the version from the context (requested by Metals), even if the built-time version was newer. Now, we compare the built-time version with the context version and use whatever is newer. This should be the safest option, but there is still a chance of producing too new semanticdb data, which is not understood by the consumer (Metals). I don't know, how to better check for compatibility though.
I added a new mill.util.Version class, which is meant to help with comparing versions.

Thank you @ckipp01 for your feedback. I'm a bit eager to get this merged to improve the user experience. We can improve the version support later.


Fix short code on dnssd advertising and chip-tool

Problem
Short code is incorrect in chip-tool and in the advertisement.The short discriminator is stored the UPPER four bits of the discriminator when the code is parsed.
Change overview
Uses upper 4 bits of discriminator for short code in chip-tool and dnssd advertisement.
Testing
Manual code pairing chip-tool  -> IP lighting app.

fast track: trivial change with checkmarks.


Missing or non-functional SSL parameter

Not sure if this is a bug or a feature request so bear with me.
I'm trying to access a remote database which requires SSL (Which can be blank, don't ask me why.) with orator it errors out, but it works fine using pymysql directly.
Orator Code:
config = {
    "mysql": {
        "driver": "mysql",
        "host": 'replication.example.com',
        "database": 'some_db',
        "user": 'some_user',
        "password": 'some_password',
        "prefix": "",
        "ssl": {'ssl': {}},
    }
}

db = DatabaseManager(config)

Model.set_connection_resolver(db)

Orator Error
Traceback (most recent call last):
  File "/home/ap/Documents/playground/tester.py", line 4, in <module>
    db.Branch.read()
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/orm/model.py", line 66, in __getattr__
    query = cls.query()
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/orm/model.py", line 1922, in query
    return cls().new_query()
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/orm/model.py", line 129, in __init__
    self._boot_if_not_booted()
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/orm/model.py", line 156, in _boot_if_not_booted
    klass._boot()
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/orm/model.py", line 174, in _boot
    cls._boot_mixins()
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/orm/model.py", line 194, in _boot_mixins
    if hasattr(mixin, method):
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/orm/model.py", line 66, in __getattr__
    query = cls.query()
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/orm/model.py", line 1922, in query
    return cls().new_query()
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/orm/model.py", line 1891, in new_query
    builder = self.new_query_without_scopes()
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/orm/model.py", line 1916, in new_query_without_scopes
    builder = self.new_orm_builder(self._new_base_query_builder())
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/orm/model.py", line 1943, in _new_base_query_builder
    conn = self.get_connection()
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/orm/model.py", line 2886, in get_connection
    return self.resolve_connection(self.__connection__)
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/orm/model.py", line 2920, in resolve_connection
    return cls.__resolver.connection(connection)
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/database_manager.py", line 42, in connection
    connection = self._make_connection(name)
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/database_manager.py", line 133, in _make_connection
    return self._factory.make(config, name)
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/connectors/connection_factory.py", line 32, in make
    return self._create_single_connection(config)
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/connectors/connection_factory.py", line 35, in _create_single_connection
    conn = self.create_connector(config).connect(config)
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/connectors/connector.py", line 37, in connect
    self._connection = self._do_connect(config)
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/orator/connectors/mysql_connector.py", line 101, in _do_connect
    return self.get_api().connect(**self.get_config(config))
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/pymysql/__init__.py", line 94, in Connect
    return Connection(*args, **kwargs)
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/pymysql/connections.py", line 325, in __init__
    self.connect()
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/pymysql/connections.py", line 599, in connect
    self._request_authentication()
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/pymysql/connections.py", line 861, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/pymysql/connections.py", line 684, in _read_packet
    packet.check_error()
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/pymysql/protocol.py", line 220, in check_error
    err.raise_mysql_exception(self._data)
  File "/home/ap/Documents/playground/venv/lib/python3.8/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1045, "Access denied for user 'my_user'@'some_server' (using password: YES)")

config = {
    "mysql": {
        "driver": "mysql",
        "host": 'replication.example.com',
        "database": 'some_db',
        "user": 'some_user',
        "password": 'some_password',
        "prefix": "",
        "ssl": {'ssl': {}},
    }
}

db = DatabaseManager(config)

Model.set_connection_resolver(db)

The equivalent using a pymysql connection.
pymysql.connect(
    host='replication.example.com',
    user='some_user',
    password='some_password',
    database='some_db',
    charset="utf8mb4",
    ssl={"ssl": {}},
    cursorclass=DictCursor,
)

Must have been a local issue on my side. Works fine in fresh virtual environment. /shrug


Buffers are only added and not removed

source._get_buffers calls opts.get_bufnrs() to get the buffers for indexing. It checks if each buffer is in buffers and adds it if it's not there. It fails to remove buffers that were not returned from opts.get_bufnrs().
I was experiencing the performance issues described in #40 and this was the cause. The number of indexed buffers only grows, regardless of what get_bufnrs() returns.

I'm testing a change to call close() on any buffers in self.buffers that are not returned by opts.get_bufnrs() and will submit a PR if that works.


multiple users & template refactoring

Improvements

Refactored the templates to be a little more dynamic.
Added multiple user's function

Default username and password are displayed in the login page. To change the username or password go to profile page.
New users can be added by going to /register route or /user/register

Hi, Sorry I took a while to get around to looking at this. Thank you for all your contributions on this project! It's super cool to have someone else interested.
There's a couple of issues I'd like to fix before merging.

There used to be a landing page when you load up the page rather than going directly to login. Your PR moves this landing page to after the login page. I actually don't love the landing page so we can remove it entirely if you think that is nicer design, but I don't think it should go to that landing page after login, otherwise it's not really clear what you're supposed to do next. The workflow with your UI goes login -> admin dropdown -> settings I think this is quite unclear to somebody not used to the interface. I'd prefer to have the login page go directly to the "settings" page where a user can add slides, and then maybe have seperate buttons instead of the dropdown to go to the add slides or user settings page. I know this looks slightly worse but I think it's clearer what you're supposed to do.

I like that you added the footer to all the pages, do you think it would be possible to have the footer lock to the bottom of the page though, I'm not quite sure how to do it in CSS but currently it just floats below the content, it would be nice to have it always at the bottom of the page as sometimes it is in the middle of the page if there's not much content on that page e.g. the landing page.

When I pulled your repo, there was an image in the database called barbacoa.jpg but that image wasn't anywhere on the disk and trying to remove it in the UI kicks up an error in the logs. Don't worry about fixing the FileNotFoundError, I don't mind doing that in a seperate PR, but could you remove the file from the database, just so it's clear.

Thank you again for all your contributions, I'm happy to merge this PR if we get a couple of these small things cleaned up, I also appreciate that you added the start code for a future PR for editing the profile etc. If you have any questions about anything I raised, please feel free to ask!

Issues fixed:

User login reroute. now the user reroutes to the setup page.
Drop-down menu has been removed and moved to its own separate link
Footer is now static on bottom of page
barbacoa.jpg has been removed from database

Hi, Thanks for the changes, this is really good work. Thanks again for all your help.


LiquidPlanner json schema changes

Thanks - I'm going to leave this open until I get time to rebuild and deploy the plugins, but this will get merged soon!


Fix tuple parsing in arguments and type signatures

On a separate note, if you peek at the travis-ci build log, you can scroll down and see that the test-coverage is being generated, but not reported. Looks like we're at about 60% for the project, not too bad honestly for not checking it.


Show recent chats

We could show the recent chats either as a part of wchat script itself (before target search is fired)
or as a separate script

May I be work on this?

How do you pretend to show the recent chats? Why it will be useful @amandhamija98 ?

So what I was thinking was, we could show the name and the last message of the recent chats. By recent chats I mean the top few chats that are visible when one opens whatsapp web.
It will be useful because often we do not have a target in mind before messaging them. Sometimes we see our recent chats (which may be unread) and then decide to reply to them.
We could also segregate the unread and read chats that are recent

@rpotter12 What do you think?

So what I was thinking was, we could show the name and the last message of the recent chats. By recent chats I mean the top few chats that are visible when one opens whatsapp web.
It will be useful because often we do not have a target in mind before messaging them. Sometimes we see our recent chats (which may be unread) and then decide to reply to them.
We could also segregate the unread and read chats that are recent

I think this will be a good idea. :)

This idea will be more useful when show some recent chats of the particular person. Otherwise showing the recent chats of different persons will not be a useful idea.:)

@rpotter12  But in the issue it was written if whatsappweb view could be attained. Because initially if we don't have the target in mind so we can have a look at this list and then decide the target. The feature I have added shows all recent chats if it's target specific then we need to know the target beforehand.I did what was mentioned. Please elaborate what needs to be done I'll modify still I think  being target specific is not that usefull.


Refactor live captions demo

Fix printing on exit to mitigate some cached captions not printed. Reduce verbosity.

Thanks for the review Manjunath.


Updated to use v0.1.1

Just started to use neovim and am loving it.
Saw the brew formula was still installing 0.1.0 by default.
This upgrades it to 0.1.1.
Tested locally and it worked.

Merged, thanks!


WIP: Fixes test_adaptive_memory timeout

Fixes https://github.com/dask/dask-drmaa/issues/58
Attempts to fix the timeout problem with test_adaptive_memory.

Irrelevant as issue ( https://github.com/dask/dask-drmaa/issues/58 ) has been otherwise resolved.


Device not found on Windows

Any ideas on why it might not show up? PC is same range as phone to the AC200MAX. Bluetooth is enabled.

You can only connect one device to your power station at a time. If you recently used the Bluetti app on your phone, close it and disable your phone's bluetooth then try scanning again.

I did confirm that the AC200MAX Bluetooth state does say disconnected. The desktop is about 12 feet away from the Bluetti main unit, so perhaps it's too far away. I've an Orange Pi 3 LTS coming tomorrow to try in closer proximity. Will update once I receive it.

On your PC, does your AC200Max show up as a Bluetooth device via the Add device wizard? (do not pair with it)

Nope, just one Unknown device. I'll try a laptop closer to the unit.

Yeah, worth a try. Indoor range is heavily impacted by obstructions and other 2.4GHz signal interference as well as the sensitivity of your client's bluetooth transceiver.


2 portals going to same sector breaks

if you stop looking at one portal, itll unload the stuff on the other side of the sector, even if the other portal can still see that stuff

Fixed


Not able to run the command

when I try to run the audit-export command with npm audit its throwing error. Here are the logs which I got.
npm audit -- json | audit-export /home/.nvm/versions/node/v16.14.2/lib/node_modules/audit-export/src/index. js: 131 cwes: vuln.cwe.concat(vuln.cves). join(", "),
TypeError: Cannot read properties of undefined (reading 'concat') at processVulnerability (/home/.nvm/versions/node/v16.14.2/lib/node_modules/audit-export/src/index.js: 131:22) at /home/.nvm/versions/node/v16.14.2/lib/node_modules/audit-export/src/index. js: 116:33 at Array.map (<anonymous>) at getVulnerabilities (/home/.nvm/versions/node/v16.14.2/lib/node_modules/audit-export/src/index. js:116:19) at generateHtmlTemplateContent (/home/.nvm/versions/node/v16.14.2/lib/node_modules/audit-export/src/index. js: 71:27) at writeOutput (/home/.nvm/versions/node/v16.14.2/lib/node_modules/audit-export/src/index. js: 53:18) at /home/.nvm/versions/node/v16.14.2/lib/node_modules/audit-export/src/index.js:43:5 at FSReqCallback.oncomplete (node:fs: 188:23)>
Node Version - v16.14.2
NPM - 8.5.0
NVM - 0.35.3
OS - ubuntu 22.04.3 LTS

Hey @varun832! thanks for reporting this issue!
This occurs due to some vulnerability that doesn't have the "CWE" array. I thought all the npm vulnerabilities had this array, so this error was not handled.
I'll work on a fix for this and release it soon!

I have published a new version, fixing this issue 😉
Please, upgrade your tool with npm I audit-export@latest. This will fix your issue.
Also, thanks again for the report 🫶🏼

@TaylorHo thanks for the quick resolution 😄


Unverified into verified OpenSSL stream

Verified TLS into unverified TLS stream shows that a previous OpenSSL error is showing up at the initialization stage of the next TLS stream, causing an abort.

Solved with 60dc04ced02221c8c1adec90ae21e396db7cd203 where I'm just clearing errors on new TLS streams, which is the preferred method. Though theres clearly a previous error laying around somewhere that could cause problems, so this problem is not fully solved yet, but it does show what to do going forward.


[doc] Issue in "Kubernetes folder"

Kubernetes folder:
https://suse-edge.github.io/atip-management-cluster.html#mgmt-cluster-kubernetes-folder
Is the setting installCRDs: "true" for cert-manager recommended?

You can install cert-manager certs using two ways, see https://cert-manager.io/docs/installation/helm/#3-install-customresourcedefinitions
Both have pros and cons, see https://cert-manager.io/docs/installation/helm/#crd-considerations

Yeah, I'm just wondering if that could lead to un-install of all the certs in a cluster accintally. Thus asking if that feature is recommended.

@e-minguez What is the recommended method to install cert-manager?


Enable automatic eslint config searching

Hello, currently if eslint config is not in the root you have to set eslint.workingDirectories property and list all folders with eslint configs.
It would be much easier if vscode could automatically find appropriate esling config, something like typescript does when searching for tsconfig.
Thanks.

I would like to avoid changing vscode config since it can be under gitignore and there can be different configs per each developer

You can add this to the user settings. If nothing else is specified the user settings will be used.

But developers need to change these settings, and they should know that they have to to do that to make eslint work on their local env. It would be good if eslint could just work out of the box without additional knowledge sharing.
If eslint vscode extension already have automatic config searching ability then maybe it worth to enable it by default and then no additional changes from users will be required.

The automatic config searching has drawbacks as well since eslint is very sensitive to the current working directory (to pick the right config file eslint must run in the right working directory). To not surprise anybody we decided to make this explicit.

I thought that the logic of where you can put eslint config is pretty much the same as in typescript. That's why I supposed that automatic esling config is possible because typescript somehow manage it, even with several configs with different nesting and cwd


relational-pouch + pouchdb-find with Angular4?

I'm testing PouchDB with an Angular5 project. I want to use these pouchdb plugins :
pouchdb-find
relational-pouch
So I know how to import PouchDB :
import PouchDB from 'pouchdb';
I also know how to import the pouchdb-find and add to PouchDB
import PouchDBFind from 'pouchdb-find';
PouchDB.plugin(PouchDBFind);

But next I also want to add the relational-pouch plugin:
import PouchDBRelational from 'relational-pouch';
PouchDB.plugin(PouchDBRelational);

The Typescript compiler will compile this, but I'm having errors in my browser:
index-browser.es.js:2780 Uncaught Error: Invalid plugin: got "undefined", expected an object or a function
at Function.PouchDB.plugin (index-browser.es.js:2780)
at eval (pouchdb.service.ts:8)
at Object../src/app/_services/pouchdb.service.ts (main.bundle.js:29)
at __webpack_require__ (inline.bundle.js:55)
at eval (farms.service.ts:2)
at Object../src/app/_services/farms.service.ts (main.bundle.js:21)
at __webpack_require__ (inline.bundle.js:55)
at eval (app.component.ts:1)
at Object../src/app/app.component.ts (main.bundle.js:59)
at __webpack_require__ (inline.bundle.js:55)
PouchDB.plugin @ index-browser.es.js:2780
(anonymous) @ pouchdb.service.ts:8
./src/app/_services/pouchdb.service.ts @ main.bundle.js:29
__webpack_require__ @ inline.bundle.js:55
(anonymous) @ farms.service.ts:2
./src/app/_services/farms.service.ts @ main.bundle.js:21
__webpack_require__ @ inline.bundle.js:55
(anonymous) @ app.component.ts:1
./src/app/app.component.ts @ main.bundle.js:59
__webpack_require__ @ inline.bundle.js:55
(anonymous) @ app.module.ts:1
./src/app/app.module.ts @ main.bundle.js:67
__webpack_require__ @ inline.bundle.js:55
(anonymous) @ main.ts:4
./src/main.ts @ main.bundle.js:215
__webpack_require__ @ inline.bundle.js:55
0 @ main.bundle.js:223
__webpack_require__ @ inline.bundle.js:55
webpackJsonpCallback @ inline.bundle.js:26
(anonymous) @ main.bundle.js:1

I also tried this:
import PouchDB from 'pouchdb';
import PouchDBFind from 'pouchdb-find';
import PouchDBRelational from 'relational-pouch';
PouchDB.plugin(PouchDBFind , PouchDBRelational);

No errors in the browser, but a method from the relational-pouch is not found : setSchema(). So I suspect the plugin was not loaded?
Anybody got an suggestion?

Sorry .. I've solved it
import PouchDB from 'pouchdb';
import PouchDBFind from 'pouchdb-find';
PouchDB.plugin(PouchDBFind);
import * as PouchDBRelational from 'relational-pouch';
PouchDB.plugin(PouchDBRelational);


[Bug Report] Tree in lazy mode, set child node 'default-checked-keys', display wrong

Element UI version
1.4.1
OS/Browsers version
Chrome 57.0.2987.98 (64-bit)
Vue version
2.4.2
Reproduction Link
https://jsfiddle.net/png26am9/9/
Steps to reproduce

tree data is : [{
id: 1,
label: '1st 1',
children: [{
id: 4,
label: '2nd 1-1',
children: [{
id: 9,
label: '3rd 1-1-1'
}, {
id: 10,
label: '3rd 1-1-2'
}]
}]
}, {
id: 2,
label: '1st 2',
children: [{
id: 5,
label: '2nd 2-1'
}, {
id: 6,
label: '2nd 2-2'
}]
}]

and set :default-checked-keys="[6, 4]"

then expand node

What is Expected?
I set 'default-checked-keys=[6, 9]', so the expected result is:

Parent nodes are not partial selection after component initial
After expand '1st 1' and '2nd 1-1', all parent node selected. (The expected display is only '3rd 1-1-1' selected, '1st 1' and '2nd 1-1' partial selection)
After expand '1st 2', parent node don't show reaction, and expand '2nd 2-1', it's correct.

What is actually happening?

Parent nodes should be partial selection after component initial
After expand parent node, both parent node and child node should display in expection
After expand parent node, both parent node and child node should display in expection

我也遇到了，显示是错误的，或是没有效果

The expected behavior No.2 and No.3 are fulfilled in 2.2.0: https://jsfiddle.net/leopoldthecuber/ms2mak5d/3/
For behavior No.1, since you are passing the complete data to the component, what's the purpose of turning on the lazy mode?

User Elememt v2.


Receive "Cannot read property 'forEach' of undefined" when trying to use card

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Checked the Quick Start documentation page and confirmed configuration is correct: https://marksie1988.github.io/atomic-calendar-revive/quickstart.html
Checked the FAQs on documentation page for common solutions: https://marksie1988.github.io/atomic-calendar-revive/faq.html
Checked that your issue isn't already filed: https://github.com/marksie1988/atomic-calendar-revive/issues?q=is%3Aissue

Describe the bug

When trying to use the card, get error message in card configuration that reads "Cannot read property 'forEach' of undefined"
Steps to Reproduce
Try to use card and configure as config examples show
Expected behavior

Card to work
Actual behavior:

Continually showing "Cannot read property 'forEach' of undefined".
Screenshots

`
`
Card Configuration

type: 'custom:atomic-calendar-revive'
entity: calendar.calendar

Versions

HomeAssistant Version: 0.114.4
Plugin Version:  2.1.1

Additional Information

I've never used the card before but have had it installed for a while. This happened when I went to 'configure UI' on dashboard. I played around with formatting thinking I was doing something wrong but nothing changed. I reinstalled the plugin and then uninstalled and reinstalled again, still same issue.

Of course as soon as I post this I figure it out. Used entities: calendar.calendar instead of entity: calendar.calendar and it worked


add ImageView

for svg/png responses
see: see: https://github.com/tanhakabir/rest-book/issues/73#issuecomment-827007087

@tanhakabir had to try this for image loading too, just in case. there is no built-in image renderer:

your features doc seciton is misleading: https://github.com/tanhakabir/rest-book#features

View rich HTML and image responses directly inside the Notebook.


Safe to use packages not on stackage?

I'd like to be able to use hedgehog-0.5 from my libraries, but it's not on stackage.
Is that safe to do?

It's usually safe to do so.
It means that we haven't tried building it against the snapshot you are using and haven't run the test suite against it either. You could stack unpack hedgehog-0.5 and run the test suite yourself using your stack.yaml for some extra assurance.

I mean if my libraries are published to stackage snapshots, is it okay to have hedgehog as a dependency?

Yes, all dependencies get pulled in automatically.
On Thu, Aug 24, 2017, 2:35 PM John Ky<EMAIL_ADDRESS>wrote:

I mean if my libraries are published to stackage snapshots, is it okay to
have hedgehog as a dependency?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fpco/stackage/issues/2786#issuecomment-324610316, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADBB-XH0CNwhXHg_D6vrgkUg9xLdlyEks5sbV_rgaJpZM4O95So
.

Nice!
I'll give it a go!


Switch subscription or directory section

There should be a subsection for instructions in how to switch between Subscriptions or Directories in the How-to guides - Organization section

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

ID: da261ee4-3348-b520-a27c-98f9d9ef40cc
Version Independent ID: 13d12189-ee46-8058-dd99-058adc69f1c5
Content: How to add an existing Azure subscription to your Azure Active Directory tenant
Content Source: articles/active-directory/fundamentals/active-directory-how-subscriptions-associated-directory.md
Service: active-directory
GitHub Login: @eross-msft
Microsoft Alias: lizross

@v-videba
Thanks for your feedback! We will investigate and update as appropriate.

@v-videba Since this is related to customer issues, I'll put this into my task backlog to add to our content set for the next release. @MarileeTurscak-MSFT #please-close


Introduce retry

Features:

added retry mechanism
added global "rejectCancelled" setting
added global request "method" setting (default is GET)
added per-request "flattenResponse" setting
added per-request "defaultResponse" setting
added tiny fetch compatible fetchf(url, config) wrapper to directly make requests without initializing API Handler (useful for single calls)
api.config - exposed global config that can be easily adjusted dynamically
api.endpoints -  exposed list of endpoints so they can be adjusted dynamically
added support for uppercase dynamic URI params
added uriParams setting to requestConfig (useful in the fetchf() wrapper)
performance: smaller bundle size due to lack of external plugins

Typings:

added automatic endpoints types inference even if types have not been specified

Fixes:

always trigger console error for non-specified endpoints, instead of custom logger

Docs:

more clear explanation of package and settings
global and per request settings are now merged as they are pretty much same
added more examples of per-request error handling with each and every strategy
added docs/examples/examples.ts file with more examples of usage

Breaking:

ApiHandler class converted to createApiFetcher (please replace all new ApiHandler with createApiFetcher). This helps us to remove last external dependency making the library dependency-free
RequestErrorHandler class is not re-exported now. It should not be used directly in code
Removed long deprecated throwError strategy so to reduce bundle size. Use reject instead. The behavior is the same
Renamed type: EndpointConfig to RequestConfig
Renamed "handleRequest" method to "request"
More strict TypeScript when generic for createApiFetcher() is defined by default. All endpoints need to be specified.

LGTM! Awesome update 🚀

Thank you for the review!


Image display rotated in web which is taken by IPhone

Media - http://github.com/jamesmontemagno/MediaPlugin
I used Media plugin to capture an image. An image captured by the iPhone is displayed rotated on the web but the same image in mobile show perfect. i used media plugin <IP_ADDRESS>

I think it's better to open this PR on the original repo and this issue should probably be closed @jamesmontemagno


Add references in about page to all opensourced assets

Added references to all design assets. @conorgil, once you start working on this, be sure to double check here in case we failed to mention anything on the dev side.


IE8 support is missing

Hi @0xABAB - when you create a ticket in GitHub, the Snowplow engineering team receives notifications and starts exploring the ticket. If you find that your ticket is mistaken, please add a comment explaining why and close the ticket - don't delete the ticket body and close the ticket without comment.

https://github.com/contact?report=0xABAB


I can't sync mine extensions from vscode stable(1.69.0) to insiders(1.69.0-insider)

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.69.0
OS Version: Windows 11 Insider Preview Build 25151.rs_prerelease.220625-1835

Steps to Reproduce:
1.Emmmmm I just saw that some new features have been updated in the version of insider in vscode changelog. I want to download insider to experience it, and find that the plug-ins and some configurations in my vscode stable have not been synchronized. It's strange.
I can synchronize them manually, but as a preview, and I have logged in to my account, I think it should be synchronized.

Please check this to sync stable with insiders - https://code.visualstudio.com/docs/editor/settings-sync#_syncing-stable-versus-insiders

@sandy081 OK, Thank you!!! it's worked


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2905

Questions ?
Please refer to the Backport tool documentation


Binary search on sorted array

http://quiz.geeksforgeeks.org/binary-search/

How about adding a Binary Search on an Almost Sorted array like : [4,5,6,7,8,1,2,3] ?

That may go in a new issue.

#4  is also for Binary Search @singhpratyush

Oh!! Didn't saw that. Closing this as duplicate.


Support Sandbox.from_id

Depends on https://github.com/modal-labs/modal-client/pull/1171 and https://github.com/modal-labs/modal/pull/9555

@prbot approve


SetValueAndForceNotify does not set canPublishValueOnSubscribe on ReactiveProperty

If a ReactiveProperty has canPublishValueOnSubscribe=false, and the value is set by SetValueAndForceNotify, the flag is not updated to true. This causes future subscriptions to miss out the initial value. It would be symmetric with the regular value setter if the flag would be updated.
Sample code to reproduce the problem:
		var initiallyNotTriggeringProperty = Observable.Never<bool>().ToReactiveProperty();

		initiallyNotTriggeringProperty.SetValueAndForceNotify(true);

		initiallyNotTriggeringProperty
			.Subscribe(p => Debug.Log("Should print: " + p)); //Does not get triggered

The easiest fix to the problem would be to update the SetValueAndForceNotify:
        public void SetValueAndForceNotify(T value)
        {
            SetValue(value);
            canPublishValueOnSubscribe = true; //Fixes the issue

            if (isDisposed) return;

            var p = publisher;
            if (p != null)
            {
                p.OnNext(this.value);
            }
        }

It seems to be a bug.
I have to fix it, thank you!


Remove the deprecated (and now removed) getAccount soroban-rpc method

Something went wrong with PR preview build please check

Preview is available here:http://soroban-docs-pr366.previews.kube001.services.stellar-ops.com/


[Amazon AWS] Extension doesn't work with Amazon SSO

Extension
https://www.raycast.com/Falcon/aws
Description
I have aws-vault working locally with my various SSO profiles, below returns successfully:
❯ aws-vault exec myrole -- aws sts get-caller-identity

However when I try to use list S3 buckets (or any other resources), nothing comes back.
Steps To Reproduce

Setup an SSO profile:

[profile Sandbox.PowerUserAccess]
sso_start_url = https://---.awsapps.com/start
sso_region = us-west-2
sso_account_name = Sandbox
sso_account_id = --
sso_role_name = PowerUserAccess
region = us-west-2
credential_process = aws-sso-util credential-process --profile Sandbox.PowerUserAccess
sso_auto_populated = true

Setup and verify aws-vault.
Install Amazon AWS
Invoke Raycast, type s3
Select Sandbox.PowerUserAccess
Start typing a known bucket name

Current Behaviour
Nothing happens, s3 listing is empty.
Expected Behaviour
Listing known buckets.

@dmitrym0 I can see that your credential process uses aws-sso-util instead of aws-vault. This might be the issue here.
This AWS extension currently has only limited support for SSO use cases... I might take another step at improving this at some point, but I currently have no such plans.
I would be happy to review/contribute to any improvements you might have.

@JonathanWbn Do you have a plan in mind -- how would you add SSO support? Is it possible to do so without major rework?

@dmitrym0 I think it's a rather difficult thing because you naturally require some re-routing behavior. I could not suggest a plan on how to do it without digging in again.

FWIW I can get most to work with SSO, if I run "aws sso login" in a terminal first - but it's admittedly not super stable :-(

I was able to get the bulk of the functionality working by adding a single line here: https://github.com/dmitrym0/extensions/commit/e1f5f70793545f1ec47fbfab1c5455d69ae5b956
and setting this as my profile script:
/bin/zsh -l -c "echo q | aws-vault exec --no-stdout  <profile> -- aws sts get-caller-identity"

Launching the "main" console from various profiles requires a logout first, otherwise everything seems to work fine.
This was a quick patch without the full understanding of how this extension functions. If it makes sense, happy to create a PR.
👍

I could help in that I think! maybe you can link the line of codes where the extension is retrieving credentials? I can add other source method to retrieve credentials, as documented in the AWS documentation

@andreacavagna01 I added support for SSO here https://github.com/dmitrym0/extensions/commit/e1f5f70793545f1ec47fbfab1c5455d69ae5b956


feat: add local Profile Synchronization to wireless network

PR Checklist

[ ] Unit Tests have been added for new changes
[ ] API tests have been updated if applicable
[ ] All commented code has been removed
[ ] If you've added a dependency, you've ensured license is compatible with Apache 2.0 and clearly outlined the added dependency.

What are you changing?

Anything the reviewer should know when reviewing this PR?
If the there are associated PRs in other repositories, please link them here (i.e. open-amt-cloud-toolkit/repo#365 )

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

GitHub release
v3.26.0

Your semantic-release bot :package::rocket:


Add CHS Save Point hazard provider

Is your feature request related to a problem? Please describe.
Save points are less dense than nodal data - adding a provider that handles this difference in density is necessary.
Describe the solution you'd like

add areas that relate to the save points to know which save point is valid for a structure
add ability to leverage nearest neighbor to set the save node for a structure.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

This should be in go-coastal, not go-consequences

This is being tracked through the CHART project dashboard - for CHART, this should be low priority until needed for the FET tool. Feel free to change the priority if there is a different reason or use case.


Git panel incorrectly shows case-sensitive renames on case-insensitive FS

Issue Type: Bug
When a file is renamed to a name that only differs by case, the Git pane incorrectly labels both the old and new names as D for delete.
Reproducing

Create a new repo and commit a file named makefile.
$ git init
$ echo '# Hello' > makefile
$ git add makefile
$ git commit -m 'Add makefile'
[main (root-commit) 5c624f8] Add makefile
1 file changed, 1 insertion(+)
create mode 100644 makefile

Rename makefile to Makefile using git mv, without changing the file contents. Both Git and VS Code correctly detect the rename.
(Note: Make sure to use git mv. If mv was used instead, neither Git nor VS Code detect the move)
$ git mv makefile Makefile
$ git status
On branch main
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        renamed:    makefile -> Makefile

Modify the contents of Makefile. VS Code incorrectly shows Makefile D/makefile D, when it should show Makefile A/makefile D.
$ echo '# World' > Makefile
$ git add Makefile
$ git status
On branch main
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        new file:   Makefile
        deleted:    makefile

I am using a case-insensitive APFS file system, so my hunch is that VS Code looks up the status indicator case-insensitively for the filename, when it should be case-sensitive.
VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T17:44:30.902Z)
OS version: Darwin x64 18.7.0

I am using a case-insensitive APFS file system, so my hunch is that VS Code looks up the status indicator case-insensitively for the filename, when it should be case-sensitive.

Might be something in the decoration service cc @jrieken


Marker generator

https://buzz-about-git-marker-generator.mn-pollinators.vercel.app/markers
This is currently working off the assumption that we change to AR_MATRIX_CODE_5x5_BCH_22_7_7 type markers, see #124.

This will need to be changed to use AR_MATRIX_CODE_4x4_BCH_13_9_3. See #128

It does seem like there is a lot of white space on the markers.

Paul - was there some kind of logic you were using to determine how much white space to include? I know at some points we have discussed that it would not be ideal to be able to just sit there and look around the room without moving around (in the case where moving around is allowed and encouraged). Audrey - If the markers are very large, I can see two issues - one is that the amount of ink/toner needed to print the markers would be much greater, and the other is that you might not need to move around much to "visit" the flowers. I guess I'm not that concerned about the whitespace, but I don't know if it makes that much sense to support such a large variety of larger paper sizes that I think are pretty uncommon anyhow. If you chose to print a PDF and you had an unusual size of paper, would you really have any trouble without having the "correct" paper size for your printer?

One thing to keep in mind is that just adding the pdfmake library has increased our main bundle size by about 1mb. It might be a good time to look at code-splitting so we can start only loading these large libraries (pdfmake, arjs, etc) when needed.

We should look at browser support and potentially disable the print button where it's not supported.
See https://github.com/bpampuch/pdfmake/issues/800

Browser compatibility looks pretty good, by the way—I tested on Firefox, desktop Safari, and mobile Safari.

Browser compatibility looks pretty good, by the way—I tested on Firefox, desktop Safari, and mobile Safari.

In the future, if we need to add anything to the PDF generation, I could see moving it to its own service. Right now, though, I think it's probably fine where it is 🙂

In the future, if we need to add anything to the PDF generation, I could see moving it to its own service. Right now, though, I think it's probably fine where it is 🙂


Update install protoc action to specify version of protobuf

Description
Update the install protoc action to specify version of protobuf so we don't install incompatible versions (3.20+drops support for python 3.6 for example and this was being installed). Update both the python and notebook tests workflows.
Also update dependencies since this was a dependency related break and the poetry.lock file was stale.
poetry update

Update dependencies poetry.lock file only
General Checklist

[ ] Tests added for this feature/bug
if it was a bug, test must cover it.
[ ] Conform by the style guides, by using formatter
[ ] Documentation updated
[ ] (optional) Please add a label to your PR

LGTM!


Email notification

Hi,
I configured sendNotifications as post build action in pipeline_config.yml for all branches.
I can send test emails from Jenkins.
If a build fails, email notification will not be send.
We use SDK version 1.7.1 and the last Jenkins image.
Regards
Jürgen

Hi Jürgen,
thank you so much for reporting the issue.
Could you please show us the postActions section of your pipeline_config.yml?
Best regards,
Junjie

Hi Junjie,
here my configuration.
postActions:
enabled: true
skipFeatureBranches: false
recipients:
- emailaddress
Regards
Jürgen

I think the sendNotification attribute is missing in your config as well as in the documentation.
Please try the config below and let me know whether it works for you.
postActions:
  sendNotification:
    enabled: true
    skipFeatureBranches: false
    recipients:
      - emailaddress

Thank you.

Sorry i posted the wrong configuration. We had this configuration already and it doesn't work.

Hi Jürgen,
would you mind sharing your build logs with us?
In this case, the relevant information should reside between:
--- BEGIN LIBRARY STEP: postActionSendNotification.groovy ---
and
--- END LIBRARY STEP: postActionSendNotification.groovy ---
Thanks,
Benjamin

Hi Benjamin,
The library step above is not part of my build logs.
I think this step ist not called.
Regards
Jürgen

Hi Jürgen,
thanks for this info. Seems like your pipeline does not even try to send emails :)
We just noticed that your ´postActions´ element is indented by 2 spaces. However, the pipeline expects it as a root element (not indented). This might explain your issues.
Best,
Benjamin

Hi Benjamin,
yes that was the issue, i added it under the stages configuration.
I hate yml files :-)
Thank you for you help and kind regards
Jürgen

Hello Jürgen,
since the problem seems to be resolved, I close this issue now.
Best regards,
Florian


clean: comply with rustfmt, build & test project in CI

reformat a few files that were not compliant with the existing rustfmt config (.rustfmt.toml)
add a github action that builds the project, runs cargo test and cargo fmt

@spolu  should be automatically fixed by VSCode with the rust-analyzer extension (built by rust-lang.org) + the following VSCode config:
"[rust]": {
    "editor.formatOnSave": true
  },


XMSS & LMS

OpenSSL should consider providing APIs to do LMS and XMSS.
Refer to the standard: SP 800-208 for details.
Refer also to RFC 8391 and RFC 8554.

I have had a bit of a look at this previously, and the implementation may get quite complex if it needs to be fast.
There is a implementation here that sets up some ACVP test vectors https://github.com/cisco/hash-sigs.
bouncycastle (BC) also has an implementation.
The 'stateful' nature of one time use private keys is a bit different to other signature schemes.. The reuse of any OTS key is very bad. BC also has an API to reserve a block of the private keys.

Also see https://media.defense.gov/2022/Sep/07/2003071834/-1/-1/0/CSA_CNSA_2.0_ALGORITHMS_.PDF

IMO it is a bad idea for software modules to implement signing with stateful signature schemes.
We should consider implementing just the verification part.

Agree with this approach.
It seems that the format of the data is also not standardized as part of the RFC, so that part may need to sit outside openssl somehow.

See discussion in #22357


Import images from slack

Tell me how to properly transfer pictures from slack to zulip?
I even go through the loop and make files.sharedPublicURL, but it still turns out that the pictures are not working
That new links from files.sharedPublicURL are working
Its for all chats, public, private, dms

It is only for pictures, for any other all good

Oh, all files broken too
Like

Okay, I solve this problem
Need get admin slack token xoxe-123...
And for this link of the file add this token parameter

I don't think I've seen a failure mode like this before.
@Vooply can you talk more about your system's configuration (E.g. what file upload backend are you using)?  And also explain clearly what you determined with tokens?  Is the issue that you used a non-admin Slack API token that didn't have access to download files?
@hackerkid @garg3133 in case either of you have a theory for what happened.

My guess is also that this has something to do with them using an incorrect token. More details from @Vooply would definitely be helpful to make sure that this is indeed the case.

Sorry for late
Yes, I used non-admin token
I go to the page in slack export and export files per 1 day, after that found admin token in json file and put it wherever there were files

In 1st step, I used a personal token, to export my data from slack, like dm, private channels
Then need to get the admin token and put admin token to all urls


HHH-13653 Uninitialized entity does not get initialized when a setter…

… is called with enhancement-as-proxy enabled
https://hibernate.atlassian.net/browse/HHH-13653

thanks @gbadner , applied upstream