Importing Requests from OpenAPI Specification file

Tell us about the task you want to perform and are unable to do so because the feature is not available
Add support for importing requests from the json or yaml files in OpenAPI 3 and Swagger 2 data formats. The developed code should be able to parse the data & examples provided in the specs, let user choose the requests he wants to add to the API Dash collection and create the corresponding request items.

Update: The frontend is already implemented.
The only change required will be the addition on OpenAPI in ImportFormat enum and adding the parser code.

OPENAPI specification document contains multiple endpoints and these endpoints branched into folders based on tags and into sub-folders based on /paths
The POSTMAN implementation creates a separate collection on importing openapi file and maintains branching based on tags and endpoints.
But I'm not sure if APIDASH has nested collections.
Rightnow, I'm implementing the parser using DART:CONVERT package.
The basic implementation will add all the endpoints by parsing them into HttpRequestModel
Can I proceed with this approach?

@sajid-31 You can use this package to parse the OpenAPI spec file - https://pub.dev/packages/openapi_spec
Since OpenAPI spec is usually a dump of all the endpoints, once you have the parsed results, you should focus on allowing user to select the endpoints they want to include and add request models to the collections for the selected endpoints.

There is no documentation for openapi_spec. I'm not sure how to implement using this package.
Can you provide a resource which might help me understand this package.
Or should I look for alternatives?

https://pub.dev/documentation/openapi_spec/latest/openapi_spec/

Query parameters can be added directly to the request model for each request endpoint.
How should path parameters be handled?
Since these can be accessed through environment variables, is it better to create a new environment for an OPENAPI JSON/YAML file upload and add the path parameters as variables, or should they be added to the global variables?

@sajid-31 There is no need to create a new environment. You can add path parameters enclosed as{{param}} in the URL itself. It will get highlighted in red and user can create the requisite environment variable or replace it with a hardcoded string as per personal preference.


User notification to complete incomplete configurations.

Description
As a  Privacy Engineer, I want to be notified that there are steps to be completed to get Fides DSR automation to work.
AC

I’m aware that I need to complete configuration steps to test DSR requests end to end.
The user has all the required permissions.

Details

Once a customer has configured the messaging provider, there is no way for us to confirm this is correct, so we don't need to check that just assume once configured we no longer need to show the banner

Figma link - https://www.figma.com/file/dmEwdK3xZwjKfGVQ9t66xe/Fides-v.2-Master-Working-Files?node-id=1322%3A24913&t=yJ9ZYgRM06OHj2N2-0

Confirmed via Slack - this notification is only triggered when an active storage and/or active messaging provider isn't configured.


Check radio against DL and VRT

Check radio

[ ] matches DL
[x] check VRT passes
[x] check and update migration guides example

@GarthDB I think something might not have gone totally right here, it seems Radio and Radio Quiet are the same, Emphasis not implemented. Should I file a separate issue?


FALCON-2088 Entity submission fails with EntityNotRegisteredException…

… in distributed mode

Testing for the patch:
$ bin/falcon entity -type feed -file /usr/local/falcon/pig_output_feed.xml -submitAndSchedule
schedule/local/ProcessInstanceRerunTest-agregated-logs16-3f908efd(feed) scheduled successfully
submit/falcon/local/Submit successful (feed) ProcessInstanceRerunTest-agregated-logs16-3f908efd
prism/Submit successful (feed) ProcessInstanceRerunTest-agregated-logs16-3f908efd
$ bin/falcon entity -type process -file ../process_pig.xml -submitAndSchedule
schedule/local/ProcessInstanceRerunTest-agregator-20(process) scheduled successfully
submit/falcon/local/Submit successful (process) ProcessInstanceRerunTest-agregator-20
prism/Submit successful (process) ProcessInstanceRerunTest-agregator-20

Basically reverts the changes made in FALCON-1749. Need to understand the root cause of of 1749 better to be able to provide a better fix. Reverting as this is a blocker.
+1

FALCON-1749 is not a blocker for 0.10. Thank you for reverting this @pallavi-rao , +1


Correct way to transform and init a hk.Module with non-default parameter?

Hey all!
I'm trying to run a linear regression example and I've got the following
import jax.numpy as jnp
from sklearn.datasets import load_boston
import haiku as hk
import optax
import jax

X, y = load_boston(return_X_y=True)
train_X = jnp.asarray(X.tolist())
train_y = jnp.asarray(y.tolist())

class Model(hk.Module):
    def __init__(self, input_dims):
        super().__init__()
        self.input_dims = input_dims

    def __call__(self, X: jnp.ndarray) -> jnp.ndarray:
        l1 = hk.Linear(self.input_dims)
        return l1(X)

model = hk.transform(lambda x: Model()(x))  # <-- where I would specify the model shape if at all?

So I'm running into an issue where I'm not able to specify the model shape. If I do not specify it as in the above, I get the error of
__init__() missing 1 required positional argument: 'input_dims'
but if I do specify the shape via
model = hk.transform(lambda x: Model(train_X.shape[1])(x))

I get Argument '<function without_state.<locals>.init_fn at 0x7f1e5c616430>' of type <class 'function'> is not a valid JAX type.

What is the recommended way of addressing this? I'm reading through hk.transform but I'm not sure. Looking at the code examples, there are __init__ functions without default args so I know it's possible.

Hi @IanQS , the second issue does not seem to be related to passing the input shape, but perhaps is from later in your code? In particular it seems to be related to use of the init function returned from Haiku (e.g. model.init in your code). My guess is that you are passing that as an argument to a JAX transformed function somewhere? If you are able to reproduce this issue in a Colab notebook I'd be happy to debug it further.
With regard to your question about how to pass values in, there are a few options. Your train_x.shape[1] approach LGTM (we refer to this as "closing over" the value, and this is the most common pattern I see at DM). I think there are basically two common patterns in our code:
(Option 1) For readonly hyperparameters I think many people prefer to declare them using flags or as constants in the file, and then close over their value:
INPUT_DIMS = ...

def f(x):
  m = Model(INPUT_DIMS)
  return m(x)

f = hk.transform(f)

params = f.init(rng, x)
out = f.apply(params, rng, x)

I think our most complete example for this type of thing is the resnet+imagenet example, which includes both closing over hyperparameters as flags, as well as passing a boolean value into the transform for is_training.
(Option 2): You can pass any arguments you like into the function you transform with Haiku:
def f(x, input_dims):
  m = Model(input_dims)
  return m(x)

f = hk.transform(f)

params = f.init(rng, x, input_dims)
out = f.apply(params, rng, x, input_dims)

Thanks Tom!
I'm a fan of Option 2 (hoping to use this in areas where the shape isn't specified until run-time)
Is there a function signature somewhere for f.init? It wasn't clear to me that this is where I would pass in the shape of input_dims. I'm guessing it's along the lines of
PRNGKey = jnp.ndarray

def init(rng: PRNGKey, input_data: jnp.ndarray, *args):
...

is that correct? It's not clear to me why I would pass in x as in your example
def f(x, input_dims):
  m = Model(input_dims)
  return m(x)

f = hk.transform(f)

params = f.init(rng, x, input_dims)           # <---- HERE
out = f.apply(params, rng, x, input_dims)

My guess is that you are passing that as an argument to a JAX transformed function somewhere

Oh, is that not what we are supposed to do? It looks like what is happening here: VAE example
I've attached my colab link here. Thank you for your help!

Is there a function signature somewhere for f.init?

Given a function f(*a, **k) -> out, hk.transform(f) gives you back a pair of functions: f.init(rng, *a, **k) -> params and f.apply(params, rng, *a, **k) -> out.
If you wanted to get a deeper understanding of what happens inside transform then take a look here: https://dm-haiku.readthedocs.io/en/latest/notebooks/build_your_own_haiku.html
By the way, there is another common option, which is to transform a method on a regular object:
class Model:
  def __init__(self, input_dims):
    self.input_dims = input_dims
    self.init, self.apply = hk.transform(self._forward)

  def _forward(self, x):
    m = hk.Linear(self.input_dims)
    return m(x)

m = Model(input_dims=10)
params = m.init(rng, x)
out = m.apply(params, rng, x)

I've attached my colab link here. Thank you for your help!

So the key issue here is that jax.grad requires all arguments to be JAX Arrays. You can reproduce your error with the following minimal code:
>>> jax.grad(lambda x: x)(lambda: None)
...
TypeError: Argument '<function <lambda> at 0x7f2116434290>' of type <class 'function'> is not a valid JAX type.

I've modified your colab to use the pattern described above (have a regular python object holding the haiku and jax transformed methods) and the loss seems to go in the right direction: https://colab.research.google.com/gist/tomhennigan/456984830510eded8f1675476bf1ff8f/haiku_ianqs_dbg.ipynb

So the key issue here is that jax.grad requires all arguments to be JAX Arrays. You can reproduce your error with the following minimal code:

Ahh! Thank you! I'll have to keep that in mind... I'm sure it'll end up biting me again at some point

Follow up question for you: I've seen 3 ways of defining models in Haiku:

function definitions

objects inheriting hk.Module

transform a method on a regular object (what you helped transform the colab notebook into)

Out of the 3, do you see any weaknesses between them? I know that for method 1), you can only define simple hk.Sequential models (linear pipeline). Is there a fundamental difference between 2 and 3?

I'm trying to learn idiomatic haiku as I'm trying to compare and contrast it with flax to allow me to better choose between one or the other for some things I'm building

I know that for method 1), you can only define simple hk.Sequential models (linear pipeline).

I don't think this is true, you can have an arbitrarily complex driving of modules inside your transformed function. There is no requirement in Haiku for there to be a single top level module inside the transform, or for modules to be called in a particular order. For example you might want to add a residual inside your sequential stack:
def f(x):
  x = jnp.tanh(hk.Linear(..)(x))
  shortcut = x
  x = jnp.tanh(hk.Linear(..)(x))
  x += shortcut
  x = hk.Linear(..)(x)
  return x

It might be worth taking a look at this visualized to get a better intuition for what is happening: https://colab.research.google.com/gist/tomhennigan/cbb2297aac0093088936da4f53c97577/example-of-non-trivial-network-without-top-level-class.ipynb

Out of the 3, do you see any weaknesses between them?

I think the differences are just cosmetic. I work primarily with ML researchers and the advice I give them is to use the approach that will enable them to explore their ideas as quickly as possible. Usually this means having very few layers of abstraction and indirection. This may sound like bad advice from a software engineering point of view, since it would have a tendency to lead to unmaintainable or hard to test/debug code, however most research code ends up being thrown away, and for the code that is not thrown away, it is often straightforward to make the code more robust later on.
I suspect which approach will be best for you depends on what you will use the code for (e.g. how many configuration parameters are you require, how you want to drive those config params [e.g. flags or arguments] and whether you want to write unit tests covering them).

I'm trying to learn idiomatic haiku as I'm trying to compare and contrast it with flax to allow me to better choose between one or the other for some things I'm building

I don't think you can go wrong with either library. One useful thing about Flax is that it has a larger GitHub community and there are likely more examples or projects you can fork. It has been a while since I looked at Flax, but IIRC they also had abstractions for training inside the library which may also be useful (in Haiku these are out of scope, we just offer NN modules and examples of how to write training loops).
Haiku's core design (e.g. which modules are in the core library, default values for initializers etc) follow on from Sonnet which DM used for a number of years. Haiku itself has been used by DM research for 18mo+ and it has held up well for us from small projects all the way up to AlphaFold and friends, so if you decided to use it you can be confident that it should work well (if your needs are similar to ours).
Either way you go it should be straightforward to move code between either library if you change your mind later. When porting code I use the following checklist:

[ ] Are parameter initializers the same between these libraries (often they are subtly different).
[ ] Are other defaults (e.g. epsilons, betas) the same.
[ ] Is the implementation of the module equivalent (e.g. is this the "fast" implementation or the numerically stable one).
[ ] How will I migrate a checkpoint from old to new.

I don't think this is true, you can have an arbitrarily complex driving of modules inside your transformed function. There is no requirement in Haiku for there to be a single top level module inside the transform, or for modules to be called in a particular order. For example you might want to add a residual inside your sequential stack:

Ahh, sorry, I was conflating hk.Sequential with defining the computation graph in a function. Yeah, that makes sense as defining the graph in a function is probably another way of expressing it compared to a module. It probably all thunks down to the same thing

decided to use it you can be confident that it should work well (if your needs are similar to ours).

Thanks! I'm looking at it for research, and also in terms of spinning up a startup on it. I'm mostly evaluating which library makes the most sense: has the most clear documentation; is better tested; has fewer / more explicitly mentioned sharp edges and so forth.


[Question] A problem in rendering normal image by MiniEngine

I try to render a normal image in miniengine. So I modify the last line in function [shader("closesthit")] void Hit in file D3D12RaytracingMiniEngineSample/DiffuseHitShaderLib.hlsl as: g_screenOutput[DispatchRaysIndex().xy] = float4(normal, 1);. However, there are always large black squares on the output image. How can I fix this problem?

Black squares are usually the result of blurring NANs or INFs. This comes from the bloom system, so try disabling bloom in the engine tweaks. (Press "back/menu" on a game pad or backspace on the keyboard to bring up the menu.) I expect you will see certain pixels have bad normals. Possibly these pixels are not executing the hit shader and are uninitialized.


EFO terms need to be assigned to prepublished studies

In order to include prepublished studies into the EBI Search Index and Covid portal, they need to have an EFO term assigned to them and some infrastructure to support curators to add this information.

As per our discussion during the Iteration meeting, the most efficient solution to enable rapid large-scale EFO annotation (assuming a lot of copy-pasting involved) would be to download the SUBMITTED pre-published study template, add the EFOs in the template and re-upload it via the Deposition App.
This would require:

a special 'Download' button in Deposition UI, available only for curators - since the resulting template is different to all others
a special Upload page in Deposition UI, available only for curators to upload and manage multiple versions of the template
appropriate Deposition backend changes to cater for processing this new template and for catering with multiple files per submission
appropriate integration changes in the Curation App.

If there's not a lot of copy-pasting involved (across multiple rows) then we need to find a better solution.
@ljwh2 @sprintell

Typically each study will have a different EFO, but the curator would have a list and just need to paste it in.
I'm wondering how much overlap there is with this proposed process and goci #102, also #212? If we can upload different versions of the template, would this allow editing of other data and adding associations?

The same process could most likely be used to cater for all 3 cases.

This seems like a good solution for adding EFOs to prepublished submissions. I think you could start working on that while we discuss the bigger picture stuff (ie application of the same process to in other scenarios). Do you have all the answers you need about copy-pasting? I'm not sure I totally understood the question.


Add support for custom local tasks

This allows user to create custom local tasks for Cargo using tasks/
directory. Any executable in that dir will became new cargo Command (no need for
normal cargo- prefix).
Ex.:
text/foo:
#!/bin/sh
echo "Foo"

$ cargo foo
Foo

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @huonw (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Could you explain the motivation for this in a little more detail? Also, the directory it is searching seems somewhat surprising/peculiar (in particular, why is it a sibling directory to the one in which cargo is invoked?), so some discussion of that might help too.

The issue with sibling dir was fixed. My bad.
The rationale is that sometimes we need additional tasks that are specific for that one project. Of course we can create Makefile and use that but I thought that using cargo extensible nature would be better idea than creating another layer of dependencies and tools for project development. Maybe I am wrong and I hope that there will be discussion on that matter. It is just wild thought.
Only issue is that in most cases executables are platform/OS dependant. My thought was that they will be distinguishable by env::consts::EXE_SUFFIX and should be just scripts.

I don't really the advantage of writing cargo foo in your shell instead of ./tasks/foo.

 Almost like .PHONYMakefile targets. That was my reasoning for cargo tasks. Make, Rake, NPM and other build tools allows custom made tasks just for simplification of workflow. That is reasoning. This also allow using ex. cargo watch together with custom tasks
@steveklabnik sometimes there are tasks that aren't "general purpose" and requiring installing into path some scripts that are for one project only? That doesn't seem ok.
Example of task that could be done via Cargo tasks is ./configure script that will run and check for all external dependencies. My mind reasoning behind that is to replace additional Makefiles in projects.

Example of task that could be done via Cargo tasks is ./configure script that will run and check for all external dependencies.

That's what build scripts are for.

It would be nice if it allowed to shadow the built in commands, e.g. for embedded systems cargo build should commonly produce a .bin file, which requires a "real" cargo build run and then a few calls to objcopy.

It would be hard as I have no idea how to make Cargo run 'native' command. It would be easier to create image command that would run 'cargo rustc' with needed options.
--
Łukasz Jan Niemier
Dnia 12 lis 2015 o godz. 21:48 Vladimir Pouzanov<EMAIL_ADDRESS>napisał(a):

It would be nice if it allowed to shadow the built in commands, e.g. for embedded systems cargo build should commonly produce a .bin file, which requires a "real" cargo build run and then a few calls to objcopy.
—
Reply to this email directly or view it on GitHub.

r? @alexcrichton (this needs design input)

Thanks for the PR @hauleth! This is a fairly significant change to Cargo, however, and as a result I think this needs to go through an RFC rather than be designed here. As a result I'm gonna close this for now, but here's some thoughts of mine:

It seems reasonable to me that projects will have various custom tasks they'll want to perform in common situations and they'll want to script them.
It's easy to check in a shell script, but this isn't portable (e.g. across Unixes or to Windows)
Checking in a binary is a big no-no
These sorts of "local tasks" probably want to be written in Rust like build scripts to be maximally compatible


Init scripts not working with Localstack >= 2.0

Localstack 2.0 was released on March 30th which does not support legacy init scripts. Deprecation warning.
As this library defaults to the latest image, I'd imagine I'm not the only one who spent an hour debugging why this feature is not working as expected :)

Defaulting to latest image is no longer the case. Init scripts would still need attention thought.

Created PR


Nadeko instantly crashing

22:28:51 NadekoBot | Starting NadekoBot v1.10.2
22:28:51 NadekoBot | Shard 0 logging in ...
22:28:52 NadekoBot | Shard 0 logged in.
22:28:52 NadekoBot | Shard 0 loading services...
Unhandled Exception: StackExchange.Redis.RedisConnectionException: It was not possible to connect to the redis server(s); to create a disconnected multiplexer, disable AbortOnConnectFail. SocketFailure on PING
at StackExchange.Redis.ConnectionMultiplexer.ConnectImpl(Func`1 multiplexerFactory, TextWriter log) in c:\code\StackExchange.Redis\StackExchange.Redis\StackExchange\Redis\ConnectionMultiplexer.cs:line 890
at NadekoBot.Services.Impl.RedisCache..ctor(UInt64 botId)
at NadekoBot.NadekoBot.AddServices()
at NadekoBot.NadekoBot.d__43.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NadekoBot.NadekoBot.d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NadekoBot.Program.Main(String[] args)
The error has continually popping up

do you have Redis installed?
On Oct 5, 2017 9:32 AM, "EpikIMMORTAL"<EMAIL_ADDRESS>wrote:

22:28:51 NadekoBot | Starting NadekoBot v1.10.2
22:28:51 NadekoBot | Shard 0 logging in ...
22:28:52 NadekoBot | Shard 0 logged in.
22:28:52 NadekoBot | Shard 0 loading services...
Unhandled Exception: StackExchange.Redis.RedisConnectionException: It was
not possible to connect to the redis server(s); to create a disconnected
multiplexer, disable AbortOnConnectFail. SocketFailure on PING
at StackExchange.Redis.ConnectionMultiplexer.ConnectImpl(Func`1
multiplexerFactory, TextWriter log) in c:\code\StackExchange.Redis
StackExchange.Redis\StackExchange\Redis\ConnectionMultiplexer.cs:line 890
at NadekoBot.Services.Impl.RedisCache..ctor(UInt64 botId)
at NadekoBot.NadekoBot.AddServices()
at NadekoBot.NadekoBot.d__43.MoveNext()
--- End of stack trace from previous location where exception was thrown
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.
HandleNonSuccessAndDebuggerNotification(Task task)
at NadekoBot.NadekoBot.d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.
HandleNonSuccessAndDebuggerNotification(Task task)
at NadekoBot.Program.Main(String[] args)
The error has continually popping up
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Kwoth/NadekoBot/issues/1686, or mute the thread
https://github.com/notifications/unsubscribe-auth/Ad3s_5N1cwB5Wnn5o9BfCYhOQhPx78J2ks5spD-ugaJpZM4PufGn
.

Yes

I am still getting the same error but the nadako updater is telling me I dont have redis installed, and when I try to install it it is telling me that to make sure I have sufficient privileges

Are you running the latest Nadeko installer as Admin?

I do believe so

Got it. Was a problem with the redis. Deleted the files and reinstalled it and it is working


ROX-23767: upload roxctl scan results

Description
This updates the scan-images-with-roxctl job in build.yaml to use our new central-login and roxctl-installer-action. The scan results are then uploaded to the Security tab of the repo. Note that currently scan-images-with-roxctl is always skipped.
The purpose of this change is to

dog food our new roxctl actions in our own build pipeline.
surface security vulnerabilities regularly and early before the major release work starts.
not block or distract engineers by constantly failing build jobs. For example, non-fixable vulnerabilities may be present in the images for a long time. This should not cause the job to fail permanently.

The resulting Security tab should look similar to the one on my fork https://github.com/stehessel/stackrox/security/code-scanning. Note that vulnerabilities are separated by image and branch / tag.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change
See my fork linked above. Unfortunately I could not run the full build.yaml pipeline on my fork, so I ran just the relevant part with a fixed image input.
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

@stehessel can you give me access to your fork?

@gavin-stackrox done

@stehessel can you give me access to your fork?

I'd also like to see the security tab. Will it be updated for every build?

I'd also like to see the security tab. Will it be updated for every build?

I invited you to my fork as well. It's also for me the first time using the security tab feature. But my understanding is that each upload represents the current state separated by category and branch. So if we upload the vulnerabilities for push on master and release branches, I expect one should be able to see the vulnerabilities for the image built from the latest commit on master and release branches. If the new uploaded scan results has less vulnerabilities than the previous one for a category (=image, see upload action), they are resolved automatically.
But like I said I could not fully test the whole thing on my fork without replicating all our build secrets etc, so we'll have to merge and see to some extent.


Write with response request to return the response value

Hi,
Thanks again for creating and maintaining this plugin, it's great!
Is your feature request related to a problem? Please describe.
I've successfully used the plugin in a Capacitor-based test app and I've recently come across a possible limitation when writing to a characteristic using the 'write with response' method.
It seems that it is not currently possible to get the response value returned by a BLE device after a successful write request.
Describe the solution you'd like
Would it be possible to amend callbacks for 'write with response' methods to resolve with the value set on a characteristic?
I think this would require the following changes on Android, Device.kt file:
if-else block starting on line 127:
if (status == BluetoothGatt.GATT_SUCCESS) {
  resolve(key, "Characteristic successfully written.")
}

to be changed to:
if (status == BluetoothGatt.GATT_SUCCESS) {
  if ( characteristic.writeType == BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT ) {
    val data = characteristic.value;
    var value = "";
    if ( data != null ) {
      value = bytesToString(data);
    }
    resolve(key, value)
  } else {
   resolve(key, "Characteristic successfully written.")
  }
}

Equivalent set of changes would be required on iOS side, Device.swift file, line 156 as well as Web, web.ts file, line 255.
The API entry for the write method would also require changing from:
write(deviceId: string, service: string, characteristic: string, value: DataView): Promise<void>;

to something like this, I guess:
write(deviceId: string, service: string, characteristic: string, value: DataView): Promise<DataView>;

and a new interface possibly getting added to definitions.ts file (based on ReadResult):
export interface WriteResponseResult {
  /**
   * android, ios: string
   * web: DataView
   */
  value?: Data;
}

to be used in the BluetoothLePlugin interface for the write(...) function.
BleClient.ts, code starting at line 443 would also need to be changed to take into account the proposed changes.
Describe alternatives you've considered
I don't think any alternatives are possible for this use case.
Additional context
I only provided sample code for Android as I don't have access to Apple development environment and wasn't able to test my sample code on an iOS device.
A quick test on an Android device logged what seemed to be the expected results.
Plugin version
@capacitor-community/bluetooth-le: 1.5.0
Thank you in advance!

Thank you for using this plugin and for this feature request. However I'm not sure if it's possible to implement on all platform.
In the Apple Core Bluetooth documentation, it says Write a characteristic value, with a response from the peripheral to indicate whether the write was successful. So the response is not about the value, but only whether the write was successful.
Also in Web Bluetooth, writeValueWithResponse returns a Promise<void>, so no value is coming back.
What prevents you from doing a read after the write to get the value?

Hi,
My apologies for a late reply.
Thank you for checking and confirming that iOS and Web APIs don't support reading a value from a write-with-response request.
Reading after a successful write is a good suggestion. It's just in that particular case a BLE device vendor only supports a write operation for the characteristic I wanted to check the value for.
Thanks again for a really useful library!
Closing this as it can't be implemented on all supported platforms.


Sonoff basic and firmware 3.0.0

do sonoff basic work with firmware 3.0.0?

Yes, it works. Please check readme and close the issue!


Feature | Add Session Refresh Time to ENV

This PR adds the refresh token interval found in token.blade to the config so that the default time of 2 seconds can be changed by the user.
This helps #1116 and #1076

@lucasmichot @osiset - can you review this for me. We can then do a minor/major release for Laravel 9 support and add this in as well if it is good.

@osiset @lucasmichot - removed that 👍


[FEATURE]-Add virtual Initialize() method to EssentialsDevice to handle starting device initialization / syncronization actions

Is your feature request related to a problem? Please describe.
At the moment, there isn't a clear best practice or delineation between the device activation phases, which should just be used to instantiate, register and associate device classes to get them ready to communicate, and a subsequent initialization phase, where devices should begin to communicate and synchronize state.
Describe the solution you'd like
There already exists a DeviceManager.AllDevicesActivated event that EssentialsDevice should subscribe to and call the new Initialize() method.  The Initialize() method is where logic to start communicating with a 3rd party device, or to syncronize state with a device should take place.  For devices where this process may be resource intensive, a user thread can be created to handle the initialization logic.
Most existing devices in the Essentials Devices Common library and any plugin devices that communicate with 3rd party devices should eventually be updated to adhere to the new model.
Additional context
Wiki Documentation should be updated to describe this new explicit phase and best practices.

After some discussion with Neil, this method should be on the Device class that is in PD Core. This issue will be moved to PD Core.


Need to call aquireTokenSilent after ssoSilent necessary?

Library

[ ]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>[x]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
Description
I have found different examples but no documentation about it:
Here https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/d1b306f8acf438d62033b045520e30f81f5bcd55/samples/msal-browser-samples/VanillaJSTestApp2.0/app/ssoSilent/auth.js
you call acquireTokenSilent after ssoSilent. It states that this is just necessary in order to support IE.
...
myMSALObj.ssoSilent(silentRequest).then(() => {
        const currentAccounts = myMSALObj.getAllAccounts();
        accountId = currentAccounts[0].homeAccountId;
        showWelcomeMessage(currentAccounts[0]);

        // call aquireTokenSilent
        getTokenRedirect(loginRequest, currentAccounts[0]);
    }).catch(error => {
....

And here https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/samples/msal-browser-samples/TypescriptTestApp2.0/src/AuthModule.ts you don't use it.
this.myMSALObj.ssoSilent(this.silentLoginRequest).then(() => {
        this.account = this.getAccount();
        UIManager.showWelcomeMessage(this.account);
}).catch(error => {

Since the recently published version works for IE11, is calling aquireTokenSilent after ssoSilent necessary anyway, or.. under which circumstances should we do this?

ssoSilent already returns Promise < AuthenticationResult > , doesn't aquireTokenSilent do the same thing anyway?
Thank you,
Daniel

Technically, you can pass the same scopes to ssoSilent that you would pass so acquireTokenSilent, however we recommend that you invoke them separately, especially if you have an application where you need to request access tokens for multiple resources.

@jmckennon thank you for the answer, however it's not clear to me, yet.
Perhaps I need to explain better, basically the code is as follows:
this.authApp = new PublicClientApplication(msalConfig);

this.authApp
        .handleRedirectPromise()
        .then((result: AuthenticationResult) => {
            if(!result) { // (right now I'm only interested in this path here)
                const accounts = this.authApp.getAllAccounts();

                if (accounts.length !== 1) {
                    return;
                }

                const ssoRequest = {
                    scopes: [],
                    loginHint: accounts[0].username,
                } as AuthorizationUrlRequest;

                const ssoResult = await this.authApp.ssoSilent(ssoRequest);

                // ?? do we need this here ??
                // const silentTokenRequest = { scopes: ssoResult.scopes, account: ssoResult.account } as SilentRequest;
                // const silentTokenResult = await this.authApp.acquireTokenSilent(silentTokenRequest);

                // set our app's authState with either ssoResult or silentTokenResult ??
            }
        })
;

If I understand you correctly:

we don't need to call aquireTokenSilent here since we are only interested here in the authenticated state.

Later, i.e. when we try to call the API however, we should call aquireTokenSilent with the corresponding scopes to get the correct access token for the intended purpose.

Is this correct?

If I understand you correctly:
we don't need to call aquireTokenSilent here since we are only interested here in the authenticated state.
Later, i.e. when we try to call the API however, we should call aquireTokenSilent with the corresponding scopes to get the correct access token for the intended purpose.
Is this correct?

Exactly, that is our recommended usage.

Perfect, thank you.


Issue while running on android

Issue while building the project for android

Clone the project
Try to run on android device.

Fixed in new new V4 Ui kits


fix(interfaces): fix optional interfaces

No, no, no, please don't merge this PR - see the reasons from https://github.com/aurelia/router/pull/422#issuecomment-252486018

Same as other ticker.


Drop Transaction.ProcessRequest

Summary
I'd like to propose to drop Transaction.ProcessRequest from the coraza package (see https://github.com/corazawaf/coraza/blob/ddbce89245135ea7243ff1b5399ec2ac786479e9/transaction.go#L452). The reason is that it is too specific and makes assumptions about the usage of the library in the core package. Ideally this kind of specific helpers should go to another package or be an example.
On a side not, net/http package isn't supported by tinygo making this inconvenient, that was my original motivation for this request but if I could ignore this function in tiny_go, I believe this is a too specific function.
cc @jptosso @fzipi

I agree with moving this function and all transaction helpers to another package, like coraza/v3/utils/http

Implemented in v3 https://github.com/corazawaf/coraza/pull/296


Update concepts-migrate-dbforge-studio-for-mysql.md

text formatting

@JordanS22 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good; merging. Thanks @JordanS22.


Just enters infinite loop if it calls just on non-existant justfile

Steps to reproduce:
mkdir just_test && cd just_test
mkdir a
echo -e "build:\n    @echo 'top-level justfile'\n    @just a/" > justfile
echo -e "build:\n    @echo 'a/ justfile'" > a/justfile
just
# So far everything should be working correctly
rm a/justfile
# This loops infinitely
just

Thanks for the report!
Hmm, this is an interesting one. When just gets an argument with a slash in it, as in just a/, it starts its search for a justfile in that directory. Since it looks from that directory up, in this case it finds the justfile in just_test (which is the current justfile), executes the default recipe, and thus enters an infinite loop.
We could change it to only look for a justfile in the directory passed as an argument, and not search upward. However, I'm not sure if that's the right behavior.
For example, if we have:
project/
  justfile # with recipe project-recipe
  foo/bar/justfile

If one is in bar, and one wants to run something in the project justfile, one would need to type just ../../project-recipe, which would be annoying.
We could special case it so that .. was special, and it would look upwards in case of a .., but not otherwise, but I'm not sure it's worth the benefit.
Thoughts?

I think I'm going to close this as working-as-intended-ish. It's strange behavior, but I don't think there's an elegant fix.


Update fs2-core to 2.5.4

Updates co.fs2:fs2-core from 2.5.3 to 2.5.4.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "co.fs2", artifactId = "fs2-core" } ]

labels: library-update, semver-patch

Superseded by #1067.


Dendency to PageFactory

Hi there
Just wanted to implement the FlowView it looks great. But broswing through your Examples, it's depending on the PageFactory Framework. At our project I can't affort to spend the time to reimplement everything via the PageFactory.
Any possibilties to use it without that dependency?

It doesn't rely on PageFactory at all. It just rely on standard Xamarin.Forms bindings mechanism. Could you write more details, so I could help?

Hi, I have the same problème, i'm trying to implement your Examples but you use the PageFactory Framework.
I installed DLToolkit.Forms.Controls.FlowListView in my PCL project.
for instance in your example you use :
using DLToolkit.PageFactory;
IBasePage
public class SimpleExamplePageModel : BasePageModel
Could you give me an example the without the PageFactory Framework ?
Thank you very much

You can do something like:
xaml:
<flv:FlowListView x:Name="flView"  HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"
			 SeparatorVisibility="None" HasUnevenRows="false"
			>

			<flv:FlowListView.FlowColumnsTemplates>
				<!-- First column definition: -->
				<flv:FlowColumnSimpleTemplateSelector ViewType="{x:Type views:TestView}"/>
				<!-- Second column definition: -->
				<flv:FlowColumnSimpleTemplateSelector ViewType="{x:Type views:TestView}"/>
			</flv:FlowListView.FlowColumnsTemplates>

</flv:FlowListView>

class:
        public MyClass()
        {
            InitializeComponent();

            flView.FlowItemsSource = new string[]{
              "mono",
              "monodroid",
              "monotouch",
              "monorail",
              "monodevelop",
              "monotone",
              "monopoly",
              "monomodal",
              "mononucleosis"
            };
        }

views\TestView.xaml:
 <ContentView.Content>
    <StackLayout Orientation="Vertical">
      <Image Source="contacts.png" HorizontalOptions="CenterAndExpand" Aspect="AspectFit" />

      <Label HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"
			  XAlign="Center" YAlign="Center" Text="{Binding }"/>
    </StackLayout>
  </ContentView.Content>

Thank you it works 👍


Only mesh is imported

Hi, I just encountered a strange thing when loading a .gltf model with 3 skeletal animations on runtime. Got an error during loading:
NullReferenceException: Object reference not set to an instance of an object
UnityGLTF.GLTFSceneImporter.ConstructClip (UnityEngine.Transform root, UnityEngine.Transform[] nodes, System.Int32 animationId) (at Assets/UnityGLTF/Scripts/GLTFSceneImporter.cs:859)
UnityGLTF.GLTFSceneImporter+<ConstructScene>d__57.MoveNext () (at Assets/UnityGLTF/Scripts/GLTFSceneImporter.cs:969)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Scripting/Coroutines.cs:17)

However I'm able to see some bones and primitive imported to scene hierarchy.
When validate through gltf-validator, I get this report:
Error | Message | Pointer
-- | -- | --
NODE_PARENT_OVERRIDE | Value overrides parent of node 81. | /nodes/87/children/1

Info | Message | Pointer
-- | -- | --
MESH_PRIMITIVE_UNUSED_TEXCOORD | Material does not use texture coordinates sets with indices (1, 2, 3). | /meshes/0/primitives/0/material
-- | -- | --
NODE_EMPTY | Empty node encountered. | /nodes/84
NODE_EMPTY | Empty node encountered. | /nodes/85
IMAGE_NPOT_DIMENSIONS | Image has non-power-of-two dimensions: 1080x1080. | /images/0

The thing of the model is that it has 90 degree rotation in default pos and animation pos, due to .fbx export with force start/end keying. Not sure if this is the problem. Nothing else special.

ok, looks like I need to update to latest GLTFSceneImporter.cs, where it added the following code:
				if (channel.Target.Node == null)
				{
					// If a channel doesn't have a target node, then just skip it.
					// This is legal and is present in one of the asset generator models, but means that animation doesn't actually do anything.
					// https://github.com/KhronosGroup/glTF-Asset-Generator/tree/master/Output/Positive/Animation_NodeMisc
					// Model 08
					continue;
				}


Add Stargate avax

USDC
wantAddr =  "0x1205f31718499dBf1fCa446663B532Ef87481fe1"
vaultAddr = "0x79F26046D122d2F26B1D37237D5C056fB580447A"
stratAddr = "0x3871E20e08ae59bDa4b42A1a6C27403bEedDa042"
USDT
wantAddr =  "0x29e38769f23701A2e4A8Ef0492e19dA4604Be62c"
vaultAddr = "0xA27BF4d56870A37e37a687B8ab3740d8487Ee2C6"
stratAddr = "0x0c326F2e869ae301628540C540633c5D25c7f40a"

new strat address: 0x0c326F2e869ae301628540C540633c5D25c7f40a
pending call to "upgrade strat"

avax USDT: pending first harvest

avax USDT: pending ownership transfer

Please look at how this is implemented with the deployed vaults and match. Also you need changes on the API. Please look at my fix yesterday.

API PR: https://github.com/beefyfinance/beefy-api/pull/724

Please look at how this is implemented with the deployed vaults and match. Also you need changes on the API. Please look at my fix yesterday.

@MirthFutures will this resolve once API is merged, or do I need to make a USDC.png file? I see a USDC.svg file.

You need to link the image resources manually in your vault entries here like this:
logo: 'single-assets/USDC.svg',
This is independent of the api.

@MirthFutures rejoice


Some performance optimization on dashboard and issues page

This PR do some loading speed optimization for feeds user interface pages.

Load action users batchly but not one by one.
Load action repositories batchly but not one by one.
Load action's Repo Owners batchly but not one by one.
Load action's possible issues batchly but not one by one.
Load action's possible comments batchly but not one by one.

One conflict.


FIX: miss blob header in inline-nydus-file

DESCRIPTION
Inline-nydus-file consists of blob data, blob header, bootstrap data, bootstrap header. However the part of blob header is missed now.
REPRODUCTION
# Source Directory
export source=${SOURCE_DIR}
# Output File
export output=${OUTPUT}

sudo nydus-image create --log-level info  --blob ${output}--source-type directory --whiteout-spec none --fs-version 5 --inline-bootstrap ${source}

# There is no blob header
sudo hexdump -C ${output}

EXPECT
Inline File consist of blob data, blob header, bootstrap data, bootstrap header in order.
FIX

Fix a condition.
Add smoke for inline file in V5 & V6

@ccx1024cc , a new test job has been submitted. Please wait in patience.

@ccx1024cc , The CI test is completed, please check result:

Test CaseTest Result

merge-target-branch:x:FAIL

Sorry, your test job failed. Please get the details in the link.

@ccx1024cc , your pull request has been updated. A new test job will be submitted. Please wait in patience.

@ccx1024cc , the test job has been submitted. Please wait in patience.

@ccx1024cc , The CI test is completed, please check result:

Test CaseTest Result

merge-target-branch:x:FAIL

Sorry, your test job failed. Please get the details in the link.

/retest

@yqleng1987 , the test job has been submitted. Please wait in patience.

@yqleng1987 , The CI test is completed, please check result:

Test CaseTest Result

merge-target-branch:white_check_mark:SUCCESS

build-docker-image:white_check_mark:SUCCESS

compile-nydus:white_check_mark:SUCCESS

compile-ctr-remote:white_check_mark:SUCCESS

compile-nydus-snapshotter:white_check_mark:SUCCESS

start-nydus-snapshotter-config-containerd:white_check_mark:SUCCESS

run-container-with-nydus-image:white_check_mark:SUCCESS

Congratulations, your test job passed!


Windows Machine File Copy Task not working properly

Hello,
I'm testing the new Build System of VSO and I can't  copy any file into my server. Last week this task worked fine but this week it doesn't work. After spending hours searching if something had changed in my server configuration or in my Build configuration I've discovered that the script version changed from 1.0.7 to 1.0.9.
Please, could you take a look on my last friday log (1.0.7):
(NOTE: The IPs of both logs are different,don't take into account)
2015-09-16T11:19:38.3997061Z Executing the powershell script: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\tasks\WindowsMachineFileCopy\1.0.7\WindowsMachineFileCopy.ps1

2015-09-16T11:19:40.3797770Z ##[debug]Entering script WindowsMachineFileCopy.ps1

2015-09-16T11:19:40.3797770Z ##[debug]environmentName = group1

2015-09-16T11:19:40.3807775Z ##[debug]resourceFilteringMethod = machineNames

2015-09-16T11:19:40.3817774Z ##[debug]machineNames =

2015-09-16T11:19:40.3817774Z ##[debug]sourcePath = C:\a\e3184712\Prova\WebApplication1\bin

2015-09-16T11:19:40.3827774Z ##[debug]targetPath = C:\Deploy

2015-09-16T11:19:40.3837772Z ##[debug]copyFilesInParallel = true

2015-09-16T11:19:40.3837772Z ##[debug]cleanTargetBeforeCopy = false

2015-09-16T11:19:40.6497889Z ##[debug]Starting Get-EnvironmentResources cmdlet call on environment name: group1 with machine filter:

2015-09-16T11:19:44.2623050Z ##[debug]Completed Get-EnvironmentResources cmdlet call for environment name: group1 with machine filter

2015-09-16T11:19:44.2623050Z ##[debug]Starting Invoke-EnvironmentOperation cmdlet call on environment name: group1 with operation name: Copy Files

2015-09-16T11:19:44.7207957Z ##[debug]Completed Invoke-EnvironmentOperation cmdlet call on environment name: group1 with operation name: Copy Files

2015-09-16T11:19:44.7227965Z ##[debug]envOperationId = 8df664e1-ed2e-49b7-8878-7ccf668403ce

2015-09-16T11:19:44.7427958Z ##[debug]Get Resource properties for <IP_ADDRESS>

2015-09-16T11:19:44.7457966Z ##[debug]		 Starting Get-EnvironmentProperty cmdlet call on environment name: group1 with resource name: <IP_ADDRESS> and key: Microsoft-Vslabs-MG-Resource-FQDN

2015-09-16T11:19:44.9143001Z ##[debug]		 Completed Get-EnvironmentProperty cmdlet call on environment name: group1 with resource name: <IP_ADDRESS> and key: Microsoft-Vslabs-MG-Resource-FQDN

2015-09-16T11:19:44.9152995Z ##[debug]		 Resource fqdn - <IP_ADDRESS>

2015-09-16T11:19:44.9183000Z ##[debug]		 Starting Get-EnvironmentProperty cmdlet call on environment name: group1 with resource name: <IP_ADDRESS> and key: WinRM_Http

2015-09-16T11:19:45.0716581Z ##[debug]		 Completed Get-EnvironmentProperty cmdlet call on environment name: group1 with resource name: <IP_ADDRESS> and key: WinRM_Http

2015-09-16T11:19:45.0766582Z ##[debug]		 Resource <IP_ADDRESS> does not have any winrm port defined , use the default - 5985

2015-09-16T11:19:45.0816571Z ##[debug]		 Resource Username - Administrator

2015-09-16T11:19:45.1176579Z Copy started for - '<IP_ADDRESS>'

2015-09-16T11:19:45.1186745Z ##[debug]Starting Invoke-ResourceOperation cmdlet call on environment name: group1 with resource name: <IP_ADDRESS> and environment operationId: 8df664e1-ed2e-49b7-8878-7ccf668403ce

2015-09-16T11:19:45.6153407Z ##[debug]Completed Invoke-ResourceOperation cmdlet call on environment name: group1 with resource name: <IP_ADDRESS> and environment operationId: 8df664e1-ed2e-49b7-8878-7ccf668403ce

2015-09-16T11:19:45.6160306Z ##[debug]ResourceOperationId = 9816e9ef-f5f8-4f57-b277-56d9e756216f

2015-09-16T11:19:45.6674515Z ##[debug]Loading .NET assembly:	Microsoft.IdentityModel.Clients.ActiveDirectory.dll

2015-09-16T11:19:45.7585014Z ##[debug]Loading .NET assembly:	Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll
..................
..................

and the current week log (1.0.9):
2015-09-21T09:51:30.1103266Z Executing the powershell script: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\tasks\WindowsMachineFileCopy\1.0.9\WindowsMachineFileCopy.ps1

2015-09-21T09:51:30.2533124Z ##[debug]Entering script WindowsMachineFileCopy.ps1

2015-09-21T09:51:30.2543121Z ##[debug]environmentName = group1

2015-09-21T09:51:30.2553095Z ##[debug]resourceFilteringMethod = machineNames

2015-09-21T09:51:30.2563160Z ##[debug]machineNames =

2015-09-21T09:51:30.2573106Z ##[debug]sourcePath = C:\a\e3184712\Prova\WebApplication1\bin

2015-09-21T09:51:30.2603708Z ##[debug]targetPath = C:\Deploy

2015-09-21T09:51:30.2619372Z ##[debug]copyFilesInParallel = true

2015-09-21T09:51:30.2643102Z ##[debug]cleanTargetBeforeCopy = false

2015-09-21T09:52:17.0119156Z ##[debug]Starting Get-EnvironmentResources cmdlet call on environment name: group1 with machine filter:

2015-09-21T09:52:21.7915196Z ##[debug]Completed Get-EnvironmentResources cmdlet call for environment name: group1 with machine filter

2015-09-21T09:52:21.7925196Z ##[debug]Starting Invoke-EnvironmentOperation cmdlet call on environment name: group1 with operation name: Copy Files

2015-09-21T09:52:22.2649418Z ##[debug]Completed Invoke-EnvironmentOperation cmdlet call on environment name: group1 with operation name: Copy Files

2015-09-21T09:52:22.2679654Z ##[debug]envOperationId = 2021c252-1132-4eb3-964d-cda746017f09

2015-09-21T09:52:22.2979596Z ##[debug]Starting Get-EnvironmentProperty cmdlet call on environment name: group1 with key: Microsoft-Vslabs-MG-SkipCACheck

2015-09-21T09:52:22.4505734Z ##[debug]Completed Get-EnvironmentProperty cmdlet call on environment name: group1 with key: Microsoft-Vslabs-MG-SkipCACheck

2015-09-21T09:52:22.4607708Z ##[debug]Get Resource properties for <IP_ADDRESS> (ResourceId = 15)

2015-09-21T09:52:22.4675901Z ##[debug]		 Starting Get-EnvironmentProperty cmdlet call on environment name: group1 with resource id: 15(Name : <IP_ADDRESS>) and key: Microsoft-Vslabs-MG-Resource-FQDN

2015-09-21T09:52:22.5329895Z ##[error]A parameter cannot be found that matches parameter name 'ResourceId'.

2015-09-21T09:52:22.5329895Z ##[debug]		 Completed Get-EnvironmentProperty cmdlet call on environment name: group1 with resource id: 15(Name : <IP_ADDRESS>) and key: Microsoft-Vslabs-MG-Resource-FQDN

2015-09-21T09:52:22.5339901Z ##[debug]		 Resource fqdn -

2015-09-21T09:52:22.5389907Z ##[debug]	 Starting Get-EnvironmentProperty cmdlet call on environment name: group1 with resource id: 15(Name : <IP_ADDRESS>) and key: WinRM_Http

2015-09-21T09:52:22.5399890Z ##[error]A parameter cannot be found that matches parameter name 'ResourceId'.

2015-09-21T09:52:22.5409906Z ##[debug]	 Completed Get-EnvironmentProperty cmdlet call on environment name: group1 with resource id: 15(Name : <IP_ADDRESS>) and key: WinRM_Http

2015-09-21T09:52:22.5479960Z ##[debug]	 Resource: <IP_ADDRESS> (Id : 15) does not have any winrm http port defined, checking for winrm https port

2015-09-21T09:52:22.5489894Z ##[debug]Starting Get-EnvironmentProperty cmdlet call on environment name: group1 with resource id: 15(Name : <IP_ADDRESS>) and key: WinRM_Https

2015-09-21T09:52:22.5507294Z ##[error]A parameter cannot be found that matches parameter name 'ResourceId'.

2015-09-21T09:52:22.5517431Z ##[debug]Completed Get-EnvironmentProperty cmdlet call on environment name: group1 with resource id: 15(Name : <IP_ADDRESS>) and key: WinRM_Https

2015-09-21T09:52:22.5517431Z ##[debug]	 Resource: <IP_ADDRESS> (Id : 15) does not have any winrm https port or http port defined, using http port by default

2015-09-21T09:52:22.5737384Z ##[debug]		 Resource Username - Administrator

2015-09-21T09:52:22.6247439Z Copy started for - ':5985'

2015-09-21T09:52:22.7467385Z ##[debug]Loading .NET assembly:	Microsoft.IdentityModel.Clients.ActiveDirectory.dll
..................
..................

I think that something is different between this two versions because my configuration is the same.
Thanks in advance!
César.

Adding @bryanmacfarlane and @kmkumaran
@apieraf
Are you using hosted agent? If yes the error indicates that hosted agent does not have the latest (M88) dlls. The ‘ResourceId’ parameter error is because of that. Bryan can confirm when the hosted images will be refreshed.
To unblock yourselves, can you download and setup an agent with latest bits and give a try once again.

Yes, we are using a hosted agent.
So, don't worry. We can wait until the machines will be updated.
Please notify me when that hapens.
Thanks!
César.


Spring beans and JPA test coverage

Issues References:
Fix spring-data-jpa field lookup with layered @MappedSuperclasses
Make embedded fields with camel-case work in Spring Data JPA repositories
Spring's @Scope#scopeName is now taken into account
Fix spring-data-jpa field lookup with layered @MappedSuperclasses
We have added a "super" structure over the existing Cat entity. With the current implementation Cats extends Mammal and mammal are animals.
Make embedded fields with camel-case work in Spring Data JPA repositories
We've created a query over an embedded camelCase field.
Spring's @Scope#scopeName is now taken into account
We've created an HTTP Request filter in order to add headers to the response:

x-session: Keep the same value per HTTP session
x-count: count the number of requests
x-request: increase his value per request
x-instance: represents the instance ID. Must be a unique per pod.

CodeReview improvements

Improve test error messages
Remove some unused imports and disable * imports
Add Readme
Add comment to some test in order to point to the related issue number.
Some other cosmetic changes

Just one reminder, once this gets into master, please prepare PR for 1.7 branch.

Jose is on PTO, merging. If something needs additional work, it can be done in follow-up PR.
@pjgg please prepare PR for 1.7 branch

Jose is on PTO, merging. If something needs additional work, it can be done in follow-up PR.
@pjgg please prepare PR for 1.7 branch


Email templates from local server not retrievable

Bug report
Describe the bug
It is not possible to retrieve mail templates from a server with a local ip adress.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Set env variable GOTRUE_MAILER_TEMPLATES_CONFIRMATION to a local ip or domain that gets resolved to a local ip
Start docker container
Register a new user
See default template used and error in console

{"level":"error","msg":"Cancelled attempted request to ip in private range","time":"2022-12-17T12:27:16Z","transport":"local_blocker"}
{"level":"error","msg":"Cancelled attempted request to ip in private range","time":"2022-12-17T12:27:16Z","transport":"local_blocker"}
{"level":"error","msg":"Cancelled attempted request to ip in private range","time":"2022-12-17T12:27:16Z","transport":"local_blocker"}
{"level":"error","msg":"Cancelled attempted request to ip in private range","time":"2022-12-17T12:27:16Z","transport":"local_blocker"}
{"level":"error","msg":"Cancelled attempted request to ip in private range","time":"2022-12-17T12:27:16Z","transport":"local_blocker"}
{"level":"error","msg":"Cancelled attempted request to ip in private range","time":"2022-12-17T12:27:16Z","transport":"local_blocker"}
{"level":"error","msg":"Cancelled attempted request to ip in private range","time":"2022-12-17T12:27:16Z","transport":"local_blocker"}
{"level":"error","msg":"Cancelled attempted request to ip in private range","time":"2022-12-17T12:27:16Z","transport":"local_blocker"}
{"level":"error","msg":"Cancelled attempted request to ip in private range","time":"2022-12-17T12:27:16Z","transport":"local_blocker"}
{"level":"error","msg":"Cancelled attempted request to ip in private range","time":"2022-12-17T12:27:16Z","transport":"local_blocker"}
2022/12/17 12:27:16 Error loading template from /templates/email/comfirmation.html: Get "https://www.example.com/templates/email/comfirmation.html": context canceled

Expected behavior
The template is retrieved and sent out.
Screenshots
Not applicable.
System information
supabase/gotrue:v2.19.4@sha256:c53237780a3669e39aef34de9c82161e289c29ddcded5ae3018f0039f7b02875
Additional context
Relevant issue from the netlify repository https://github.com/netlify/gotrue/issues/324. Not sure if they will fix this anytime soon, could this be fixed in this fork instead?

Hey @jojomatik, are you running gotrue in a docker environment? If you are, then this issue isn't related to gotrue but it's because localhost in a docker environment refers to the container's localhost and not the docker host. In order to connect to the docker host from the container, you will need to set the environment variable to point to http://host.docker.internal:MYPORT/path/to/email/template

Hi @kangmingtay, yes I'm running in a docker environment and want to access the template. The template is not on the docker host but on another docker container with a local IP (192.168.x.y). I'm not sure what host.docker.internal resolves to but it seems like gotrue is blocking any LAN-IPs, so I don't actually think this will help. Have you tried it?

Hey @jojomatik, is your other docker container running in the same docker network as the gotrue container? I haven't tried to reproduce it but it would be great if you can provide a reproducible example so i can take a look at it when i'm free.

I am getting the same issue. I think it stems from the block list listed (followed up the chain of dependencies) to here:
Netlify http commons
`var privateIPBlocks []*net.IPNet
func init() {
for _, cidr := range []string{
"<IP_ADDRESS>/8",    // IPv4 loopback
"<IP_ADDRESS>/8",     // RFC1918
"<IP_ADDRESS>/10",  // RFC6598
"<IP_ADDRESS>/12",  // RFC1918
"<IP_ADDRESS>/24",   // RFC6890
"<IP_ADDRESS>/16", // RFC1918
"<IP_ADDRESS>/16", // RFC3927
"::1/128",        // IPv6 loopback
"fe80::/10",      // IPv6 link-local
"fc00::/7",       // IPv6 unique local addr
} {
_, block, _ := net.ParseCIDR(cidr)
privateIPBlocks = append(privateIPBlocks, block)
}
}`

Same issue. It really seems unneccessary to have to host these templates outside the docker environment...
@kangmingtay can we reopen this please?

Hi @hf, is this fixed now or are there any outstanding tasks to be completed? I don't have enough time right now to test myself, but would still be curious. Also we could close the issue if it's fixed

hey everyone, this seems to be resolved already but feel free to reopen it if anyone's still running into the same issue!


Push access?

Hi,
You appear to have given me push access to this repository - at least, i got an email from GitHub saying so.
Was this deliberate? If not, you might like to revoke it. If so, let me know what you'd like me to do!
tom

That's interesting, I don't see you any of those teams from a quick look:

Maybe we found a Github bug?

@tomwhoiscontrary I sent a message to Github support, here's the reply:

I can confirm that tomwhoiscontrary does not have push access to diaspora/markdown-it-diaspora-mention.
I'm not sure what email he is referring to. You might ask him to send us the email (including full headers) so that we can figure out what happened.

Okay, i've looked at the email a bit more closely - it's not addressed to me, it's addressed to<EMAIL_ADDRESS>but since that's a mailing list i'm on, i received it. Do you have any contributors associated with Pivotal Labs? If so, could they be using that as their email address by mistake?
I'm happy to pass the email on - where should i send it? GitHub support, i guess. Is there a ticket number i can attach?

Yes, Pivotal hosted the founders of Diaspora and 2-3 of the Pivotal stuff did contributions and are still in the team. Check https://github.com/orgs/diaspora/people whether you recognize anybody and maybe reach out to them about that ;)
I just used the Contact form you can reach through the link in the footer.

Okay, this sounds like a plausible explanation. I don't recognise any of the people in your organisation, but i'll take it up with the IT guys at work tomorrow and see what i can find out.


[parent] hotshot state prover service

Reference: https://www.notion.so/espressosys/Light-Client-Contract-a416ebbfa9f342d79fccbf90de9706ef?pvs=4#caf9ef3b0858410fa59dd2ab5612131e

[ ] read the most up-to-date block height and state from the query service
[ ] read the most up-to-date stake table from the query service
[ ] generate proof and submit to the contract

First twos are currently blocked by endpoint implementation: https://github.com/EspressoSystems/espresso-sequencer/issues/761

already have this issue in #1986  and #1988


Auto Mute

An auto muter for bots that use voice chat, this could be good for streamers since they would auto bots so that they don't get copyright striked

#371


add google translation in Blog

in strength blog

in life blog

in words blog

To improve google translation in Cardinal Vices

I will change it like Depression & Suicide blog

@akshitagupta15june please assign me this task


OpenAi websocket disconnection when using chat

Description
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
Attempting to chat the websocket refuses to connect due to ssl cert error. I confirmed certifi was installed and updated.
Is this a bug or a feature?

[ x] Bug
[ ] Feature

Steps to Reproduce
env:
OPENAI_API_KEY=
verba start
use chat box , websocket disconnects
Additional context
✘ WebSocket Error: Error communicating with OpenAI
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/aiohttp/connector.py", line 1025, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "uvloop/loop.pyx", line 2084, in create_connection
File "uvloop/loop.pyx", line 2079, in uvloop.loop.Loop.create_connection
File "uvloop/sslproto.pyx", line 517, in uvloop.loop.SSLProtocol._on_handshake_complete
File "uvloop/sslproto.pyx", line 499, in uvloop.loop.SSLProtocol._do_handshake
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 917, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/openai/api_requestor.py", line 668, in arequest_raw
result = await session.request(**request_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/aiohttp/client.py", line 581, in _request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/aiohttp/connector.py", line 544, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/aiohttp/connector.py", line 944, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/aiohttp/connector.py", line 1257, in _create_direct_connection
raise last_exc
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/aiohttp/connector.py", line 1226, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/aiohttp/connector.py", line 1027, in _wrap_create_connection
raise ClientConnectorCertificateError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host api.openai.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')]
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/goldenverba/server/api.py", line 179, in websocket_generate_stream
async for chunk in manager.generate_stream_answer(
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/goldenverba/verba_manager.py", line 662, in generate_stream_answer
async for result in self.generator_manager.generators[
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/goldenverba/components/generation/GPT4Generator.py", line 71, in generate_stream
completion = await openai.ChatCompletion.acreate(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/openai/api_resources/chat_completion.py", line 45, in acreate
return await super().acreate(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 217, in acreate
response, _, api_key = await requestor.arequest(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/openai/api_requestor.py", line 372, in arequest
result = await self.arequest_raw(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/openai/api_requestor.py", line 685, in arequest_raw
raise error.APIConnectionError("Error communicating with OpenAI") from e
openai.error.APIConnectionError: Error communicating with OpenAI
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 240, in run_asgi
result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 69, in call
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/fastapi/applications.py", line 292, in call
await super().call(scope, receive, send)
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 149, in call
await self.app(scope, receive, send)
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/starlette/middleware/cors.py", line 75, in call
await self.app(scope, receive, send)
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in call
raise e
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in call
await self.app(scope, receive, send)
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/starlette/routing.py", line 341, in handle
await self.app(scope, receive, send)
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/starlette/routing.py", line 82, in app
await func(session)
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 324, in app
await dependant.call(**values)
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/goldenverba/server/api.py", line 193, in websocket_generate_stream
await websocket.send_json(
File "/Users/brett/PycharmProjects/training/.venv/lib/python3.12/site-packages/starlette/websockets.py", line 171, in send_json
text = json.dumps(data, separators=(",", ":"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/init.py", line 238, in dumps
**kw).encode(obj)
^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/encoder.py", line 200, in encode
chunks = self.iterencode(o, _one_shot=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/encoder.py", line 258, in iterencode
return _iterencode(o, 0)
^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/encoder.py", line 180, in default
raise TypeError(f'Object of type {o.class.name} '
TypeError: Object of type APIConnectionError is not JSON serializable

Thanks for the issue! we're looking into it

We released the new version of verba, this should fix the issue


Add one round chat node using ollama.Client.chat

Add two new nodes OllamaOneRoundChat and OllamaOneRoundChatAdvance ollama.Client.chat
Add retry when generate or chat get error
Check response or response["message"]["content"] before return
Check response key when using
Using logging instead print
Rename file CompfyuiOllama.py -> ComfyUI_Ollama.py

Thanks for the PR. by the way you need to add the node name to js file that trigger the model list refresh. its in the web/js path.
why the addition of the retry?

@stavsap  Thank you for reviewing my PR. I have added the new node name to web/js/OllamaNode.js

When using the OllamaGenerateAdvance node through the ComfyUI API, I encounter an error message 'KeyError: "eval_duration", which I cannot reproduce. It often appears without any reason. Adding retry is to facilitate the operation and maintenance of API users. Although WebUI users only need to click again when encountering errors, such errors will increase the workload of API users in operation and maintenance.
When using LLM, it is common to receive a portion of output that is meaningless or does not meet the format requirements of the user. In the retry loop, judgment for such situations is added to reduce the operational workload of API users, and to facilitate all users to determine whether the LLM output meets the format requirements. I am still working on this part. Currently, only empty LLM outputs are evaluated.

sorry for using machine translation, my English is not good

by the way what is the difference between the generate api and chat? isnt generate works the same? i dont notice that it recalls the context between calls.


✨(frontend) add use as a template feature

Purpose
We are adding the ability to pre-fill a form from a resource. To do this, we must be able to do it in the form page, or in the list of resources
Proposal

[x] Add a button to all resource forms
[x] Add an option in the action dropdown of a list

I found several bugs during my local tests. If test-front-admin job is green I think it reveals that several tests are missing 😉

Add action seems to use first resource value as default values

https://github.com/openfun/joanie/assets/9265241/6d6dc5b4-3db0-45fa-b531-c8d49a66a683

Product creation wizard is broken

https://github.com/openfun/joanie/assets/9265241/f6041e55-c0ba-4f16-8614-91fd7e666ba7

Only one button "Use as template" is enough in the product edit view


ag_residues always 0

Hi,  I am talking only about provided notebooks.
I don't see how you  include antigen structure in affinity calculation process:
ag_residues  always 0.
ag_residues=0,
self.ag_residues = ag_residues
antigen_max_pixels = self.ag_residues
idx_list += [i+max_res_h+max_res_l for i in range(min(antigen_max_pixels, img.shape[-1]-(h+l)))]
technically, my interest - check affinity for complex I folded myself, it is not  clear how it can be done.
for example : how create npy file which contain chothia numbering  for antibody (anarci?) and antigen  at the same time.

Hi igortu,
ag_residues is a legacy variable, so it is not a bug that it is always zero.
ANTIPASTI expects Chothia numbering for the antibody regions; you might find this function helpful. Although I have not tested it myself, it appears straightforward and promising. It is part of the IgFold repository and AbNumber-based.
Alternatively, if you already have a PDB file with any numbering scheme and a list of residues using Chothia numbering, you can save them in the appropriate folders under notebook/test_data/ (i.e., structure/ and list_of_residues), and then adapt the second cell of the affinity prediction notebook.
Hope this helps!

Am I understand correctly   that masked dccm matrix (input_shape) has always constant  size and  somehow include information about antigen?
How exactly you create list of residues files from pdbs?  They have  different from anarci format.

Hi @igortru,
Sorry for my late reply. I had missed this message.
Yes, the dccm matrices have always the same shape:

The antibody chains are aligned following the Chothia numbering convention
As the Normal Modes are computed for the antibody-antigen complex, the antigen information is contained in the antibody pixels through a mechanism that we call 'antigen imprinting' (see our paper for more details)

The obtention of a list of residues from a PDB files occurs in the generate_fv_pdb function under the Preprocessing class (click here for the exact location). These need to follow, as mentioned, the Chothia numbering convention; I am unsure what you mean by 'they have different from anarci format'.
Best,
Kevin

Hi, Kevin!
thank you for explanations

about format:
if I use alphafold predictions , I need provide npy file for
get_lists_of_lengths function
before
generate_fv_pdb call.

def load_test_image(self):
    r"""Returns a test normal mode correlation map which is masked according to the existing residues in the training set.

    """
    pdb_id = self.test_pdb_id

    if self.alphafold is True:
        h, l, _ = self.get_lists_of_lengths(selected_entries=str(pdb_id[:-3]).split())
 ////
               self.generate_fv_pdb(self.test_structure_path+pdb_id+self.file_type_input, lresidues=lresidues, hupsymchain=hupsymchain, lupsymchain=lupsymchain)

Hi,
Specify the desired PDB code as the selected entry. This will point to the directory where the residue lists are stored and fetch the corresponding numpy array. For this to work, the residue list needs to already be saved in that directory (either automatically via the main pipeline or manually, if you don't have a Chothia-annotated PDB).
Hope this is helpful!

Hi Kevin!
you are author, you decide what implemented,
but in my opinion
your tool just template
which requries understanding what is going inside.it is not user friendly.
you do not provide command line version.
From my perspective, all numbering issues need to be hidden inside.
Run some numbering tool like ANARCI , generate corresponding numbered pdb, etc.
I have tried your tool on my heavy chains only predicted antibody-antigen  pairs ( AF2 multimer).it was not easy modify you tool for this task.
I have received results which are very different from experimental.


Launch parameters for VoTT

A request from the CSE OneWeel sync-up:

Allow options/config to launch VoTT with some settings predefined (e.g. folders, exporting settings, tags list, etc.) to simplify the workflow.
A config.file shared across a distributed team as a part of the tagging job: image source + tagging settings.

@kichinsky, right now we are thinking of introducing both tool configurable settings as well as cloud based storage option which would allow collaborating teams to share project level settings.


Fix leftover 'Compiler' occurrences by renaming to 'Sass'

Not 100% sure that this is correct, but it works for me.
Without this change i get:
In lib/sass/src/compiler.cr:144:5

 144 | Compiler.compile_file(file, **options)
       ^-------
Error: undefined constant Compiler

This looks about right.
It seems specs are only testing the class methods. To make sure this keeps working, could you add two specs to compiler_spec for this? They should probably just do Sass.new.compile_file instead of Sass.compile_file.

Ok, i added two tests now (just copied the simplest tests for the class methods). I also changed the names of the describe blocks for the class-methods from "#compile_file" to ".compile_file".

Thank you


Auto Installing Repo in HACS with each reboot

The sensor plugins and departure card repositories being are automatically installed on their system via HACS?  I am in the USA so there is no need for the Swedish bus system plugin to be installed.  I did not install that repo but it is there.  I deleted the card and the sensor repositories, rebooted HA and it returned as a New Repository.  Happens every time I reboot and has been doing this for the past few days.  To me, this seems like a potential security issue!!

@mrpool217 I don't really undestand, if you don't activelly install the cards, they don't get installed automatically. This seems more than a HACS issue.

It has been found and they said it was a HACS issue.  I am sorry for
placing the issue on your git but I was not sure what the source was so I
posted in both locations.  The actual issue wasn't that the cards were
being installed but rather the Custom Repositories for your card and sensor
were being installed automatically into HACS on my instance of Home
Assistant.  If I removed them and rebooted, they would come back after I
rebooted.  I posted in DrZZs discord to see if it was something I did wrong
and several people found the same thing happening for them.  I then posted
the issue to make sure we could find the cause and fix it as soon as
possible.
Although I have no use for the HASL card and sensor, I appreciate your
hard work on those.  Please keep up the good work and effort!
Also, thank you for responding to my posting.  I have been busy with work
and only just now have been able to return home and reply.  I work in the
medical field and this COVID thing has been keeping me really busy.
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Virus-free.
www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Sun, May 17, 2020 at 3:23 AM dimmanramone<EMAIL_ADDRESS>wrote:

@mrpool217 https://github.com/mrpool217 I don't really undestand, if
you don't activelly install the cards, they don't get installed
automatically. This seems more than a HACS issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hasl-sensor/lovelace-hasl-departure-card/issues/10#issuecomment-629761295,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMPWDCK7JJVONGZ6WVSSDH3RR6NJ3ANCNFSM4NDFZE4A
.


Allow building swift-syntax as dynamic libraries using an environment variable

This allows us to build swift-syntax as dynamic libraries, which in turn allows us to build SourceKit-LSP using SwiftPM on Windows. Linking swift-syntax statically into sourcekit-lsp exceeds the maximum number of exported symbols on Windows.

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test Windows

A bit off-top: but perhaps it would be a good idea to document all the environment variables in one place? There are quite a few of them in this repository.

We actually had an issue for this: https://github.com/swiftlang/swift-syntax/issues/1922
Addressing it in https://github.com/swiftlang/swift-syntax/pull/2870.

@swift-ci Please test macOS

@swift-ci Please test macOS


JSON RPC not working

Installing squeezebox-controller running from Python produces this:

from squeezebox_controller import SqueezeBoxController
controller = SqueezeBoxController("<IP_ADDRESS>",9000)
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.10/http/client.py", line 1374, in getresponse
response.begin()
File "/usr/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.10/http/client.py", line 300, in _read_status
raise BadStatusLine(line)
http.client.BadStatusLine: POST %2Fjsonrpc.js HTTP%2F1.1

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.10/dist-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.10/dist-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.10/http/client.py", line 1374, in getresponse
response.begin()
File "/usr/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.10/http/client.py", line 300, in _read_status
raise BadStatusLine(line)
urllib3.exceptions.ProtocolError: ('Connection aborted.', BadStatusLine('POST %2Fjsonrpc.js HTTP%2F1.1\r\n'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.10/dist-packages/squeezebox_controller/init.py", line 98, in init
self.player_macs = self._populate_player_macs(playername_cleanup_func )
File "/usr/local/lib/python3.10/dist-packages/squeezebox_controller/init.py", line 374, in _populate_player_macs
count = int(self._make_request('-', ["player","count", "?"])['result']['_count'])
File "/usr/local/lib/python3.10/dist-packages/squeezebox_controller/init.py", line 396, in _make_request
return handler(player)
File "/usr/local/lib/python3.10/dist-packages/squeezebox_controller/init.py", line 390, in handler
req = self.request_lib.post(self.end_point_url, json=payload)
File "/usr/local/lib/python3.10/dist-packages/requests/api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 547, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine('POST %2Fjsonrpc.js HTTP%2F1.1\r\n'))

controller = SqueezeBoxController("<IP_ADDRESS>",9000)
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.10/http/client.py", line 1374, in getresponse
response.begin()
File "/usr/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.10/http/client.py", line 300, in _read_status
raise BadStatusLine(line)
http.client.BadStatusLine: POST %2Fjsonrpc.js HTTP%2F1.1

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.10/dist-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.10/dist-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.10/http/client.py", line 1374, in getresponse
response.begin()
File "/usr/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.10/http/client.py", line 300, in _read_status
raise BadStatusLine(line)
urllib3.exceptions.ProtocolError: ('Connection aborted.', BadStatusLine('POST %2Fjsonrpc.js HTTP%2F1.1\r\n'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.10/dist-packages/squeezebox_controller/init.py", line 98, in init
self.player_macs = self._populate_player_macs(playername_cleanup_func )
File "/usr/local/lib/python3.10/dist-packages/squeezebox_controller/init.py", line 374, in _populate_player_macs
count = int(self._make_request('-', ["player","count", "?"])['result']['_count'])
File "/usr/local/lib/python3.10/dist-packages/squeezebox_controller/init.py", line 396, in _make_request
return handler(player)
File "/usr/local/lib/python3.10/dist-packages/squeezebox_controller/init.py", line 390, in handler
req = self.request_lib.post(self.end_point_url, json=payload)
File "/usr/local/lib/python3.10/dist-packages/requests/api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 547, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine('POST %2Fjsonrpc.js HTTP%2F1.1\r\n'))

Closing this as I was using the wrong port.


Unable to install pybgs with opencv-python pip

I have installed opencv-python using pip command, but while trying to install pybgs using pip, I get the following error which says :
By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "OpenCV", but
CMake did not find one.
  Could not find a package configuration file provided by "OpenCV" with any
  of the following names:

    OpenCVConfig.cmake
    opencv-config.cmake

  Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
  "OpenCV_DIR" to a directory containing one of the above files.  If "OpenCV"
  provides a separate development package or SDK, be sure it has been
  installed.

-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-8eq0c4r_/pybgs/build/temp.linux-x86_64-3.5/CMakeFiles/CMakeOutput.log".
error: command 'cmake' failed with exit status 1

Does the above essentially mean that, opencv has to be build for using bgslibrary and a pip install of the same will not work?

Hi @shubham162019 ,
Yes, unfortunately you need to install opencv lib.
The opencv-python package is limited to python scripts only,
As the core of bgslibrary is on C++, and the pybgs is just a wrapper around it, so when you do pip install pybgs it will download the C++ source code and compile the python wrapper locally.

Thanks.


TargetingFilter - Sticky

Hello,
According to the documentation, staged rollout functionality is sticky. Is there any way to see what users are opt'ed into the feature if we are using a percentage based rollout?

Sticky means the same user will get the same evaluation result between different calls. You can either test it out locally; or more commonly, people will send evaluation results in telemetry for analytics/monitoring purposes.

Is this data internally managed by App Configuration or something stored in the user's browser? Wondering if the same user will be opt'ed in, no matter what device they use.
If it is internally tracked by App Configuration, any plans on exposing the data for us to view in the portal / via CLI?

Is this data internally managed by App Configuration or something stored in the user's browser?

App Configuration doesn't track any user Id, nor save it in the user's browsers. The user is the one you set in TargetingContext.UserId (check out the step 2 TestTargetingContextAccessor.cs) to the feature management library. The user Id is used locally for feature flag evaluation, and it won't be sent to App Configuration.

Wondering if the same user will be opt'ed in, no matter what device they use.

You absolutely can do this by setting the user in the Include Users.


Avoid loading NuGet.targets if already loaded

Signed-off-by: Ilya Shipitsin<EMAIL_ADDRESS>

@chipitsine Can you provide some details about why this is needed?
cc @rrelyea, @jeffkl

in complex environments NuGet.targets might be occasioanely imported many times
     xxx\Current\bin\Microsoft.Common.CurrentVersion.targets(6086,3): warning MSB4011: "xxx\Current\bin\NuGet.targets" cannot be imported again. It was already imported at "xxx\yyy.props (63,3)". This is most likely a build authoring error. This subsequent import will be ignored. [xxx\yyy.proj]

IsRestoreTargetsFileLoaded is property that means NuGet.targets is already imported

Including @nkolev92
What is impact of loading multiple times in one project? Is there a repro of how this happens?

@rrelyea the impact is that warning (which could be treated as an error if a user has their build configured that way), and confusion around import ordering. This would only address the former.
I would also like to know more details about exactly what projects are causing this warning--what are the "complex environments" like?

I'm afraid I cannot provide particular details due to some NDA.
but google shows similar issues

yep, the impact is to mute warnings

@nkolev92, do you have a preference on this? The MSBuild team is willing to take it.
The only downside is that if you have a situation where you import NuGet.targets early, then in the normal location, it might be harder to set properties to configure NuGet behavior. That's true today if you're in that situation, but you get the warning.
One possible workaround: -warnAsMessage:MSB4011 on the command line should quiet this.

I do not recall getting a lot of feedback (read: any) around duplicate imports of the NuGet targets file.
So I am inclined to say, I'm ok with this change.
Is there even a default template that could lead you to this situation?

/azp run


Wrong response from script

Even though the post gets through and appears in the spreadsheets, the response isn't as expected. Se below. I expect it to reply { 'result': 'success', 'row': nextRow }
Suggestions why this is not working?
The console.log output is:
body:ReadableStream
bodyUsed:false
headers:Headers {}
ok:true
redirected:true
status:200
statusText:""
type:"cors"
url: "https://script.googleusercontent.com/macros/echo?user_content_key=EWSseDIyMx8ENILuImnj3wcvKUaFRuGOKbqOM-Gc_PDGrB1XzULbrcXY4HHNDvIj8Vix3fZmQh4rveqvKl6WKqPbp6Rvp2CFm5_BxDlH2jW0nuo2oDemN9CCS2h10ox_1xSncGQajx_ryfhECjZEnPqJW_LD0jUKaPZLOziaiM07QXJUwLQ7n8Ab_gtb0cXkPAqkB6ZDUVPzoI336pbgIp0mgLDwm9cO&lib=M4zG9cxq1ENE8zGROop-QDlmGtjrdEMxxxx"
__proto__:Response

Visiting the url, a page with the Google App Script logo appears along with a centered text saying:
Script function not found: doGet

Hi! i have the same issue, did you solve it?

Any suggestion on this issue... I am having the same issue. I get this error "Script function not found: doGet" . What additional set up do I need to do for this...
Thanks
Sanjay

@Edufool I just had to deploy a new version of a web app (select "New" from the select input).

You should be doing a POST request, not a GET request.


Implement sliding movement (Queen, Rook, Bishop)

Queen, rook, and bishop have a similar movement pattern. They can be implemented in a similar fashion with a generalized "generate sliding movements" function.
For some inspiration, check this.

good luck