Passing string var to PromptString in Chain

I'm pretty sure I'm doing something wrong...
I started looking at Dialog Chain's as some conversations require additional questions based on certain criteria.
From the code below (stubbed out code)
`
string optionListString = "";
.......
optionListString += "-- or enter any thing else to cancel\n\n";
                    return Chain.From(() => new PromptDialog.PromptString(optionListString, null, 1)).ContinueWith<string, string>(async (ctx, res) =>
                    {
                        var selected = await res;
                        string reply = "";

                        return Chain.Return(reply);
                    });

`
I get the this exception.

anonymous method closures that capture the environment are not serializable, consider removing environment capture or using a reflection serialization surrogate

It's because I'm passing a string variable optionListString rather than actual literal text. The prompt is generated based on conditions and has some runtime text added to it.
What is the correct way of doing this?

p.s. I ended up looking at chaining because I wanted to implement waterfall dialog - and wanted to loop back when needed; is chaining the only way to get that done?

https://github.com/Microsoft/BotBuilder/blob/master/CSharp/Tests/Microsoft.Bot.Builder.Tests/ChainTests.cs#L343 is another example of a data-dependent chain.
But for looping back earlier in the chain, you might find it easier to implement an IDialog, where you can choose what code executes next (after each message received from the user) based on whatever internal IDialog state you maintain.

Thanks! I'll give it a try and post my code next week so that I can explain
it better.
On Fri, Jul 1, 2016 at 5:33 PM Will Portnoy<EMAIL_ADDRESS>wrote:

https://github.com/Microsoft/BotBuilder/blob/master/CSharp/Tests/Microsoft.Bot.Builder.Tests/ChainTests.cs#L343
is another example of a data-dependent chain.
But for looping back earlier in the chain, you might find it easier to
implement an IDialog, where you can choose what code executes next (after
each message received from the user) based on whatever internal IDialog
state you maintain.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BotBuilder/issues/580#issuecomment-230052024,
or mute the thread
https://github.com/notifications/unsubscribe/AEvq2IyZm453W89OLANTSMqBbRVAda7Rks5qRYewgaJpZM4JDTg_
.

I appreciate your help; I've added more info.
Here is the code I currently have
public static readonly IDialog<string> dialog = Chain.PostToChain()
            .Select(msg => msg.Text)
            .Switch(
                new Case<string, IDialog<string>>(text =>
                {
                    var regex = new Regex(".*?(CASE-A)");
                    return regex.Match(text).Success;
                }, (context, txt) =>
                {
                    var calResponse = getSomeComplexObject();

                    string myBotOutput = "";

                    if (calResponse.data.Count == 1)
                    {
                        myBotOutput = (string.Format("There is only one on complex object called {1}", myBotOutput.data[0].name));
                        return Chain.Return(myBotOutput);

                    }
                    else if (calResponse.data.Count > 1)
                    {

                        myBotOutput = "There are multiple complex objects - which would you like details on?\n\n";
                        myBotOutput += "0) All \n\n";
                        foreach (var item in calResponse.data)
                        {
                            myBotOutput += "" + (calResponse.data.IndexOf(item) + 1) + ") " + item.name + "\n\n";
                        }

                        myBotOutput += "-- or enter any thing else to cancel\n\n";

                        return Chain.From(() => new PromptDialog.PromptString(myBotOutput, null, 1)).ContinueWith<string, string>(async (ctx, res) =>
                        {
                            //capture and process the next step
                            var selected = await res;
                            string reply = "";

                            return Chain.Return(reply);
                            // or maybe there are additional child steps....
                        });

                    }
                    else
                    {
                        myBotOutput = (string.Format("Looks like there are no compled objects"));
                        return Chain.Return(myBotOutput);
                    }

                }),

I stubbed as much as possible, while still keeping it readable.
Prior to looking at chains; I was calling the various tasks and the task itself had the dialog (Example below).
if (Regex.IsMatch(message.Text, ".*?(CASE-A)"))
{
await outputAndgetSomeComplexObject(context, argument);
}
else

and lastly - I think your suggestion was to use something like the following
if (message.Text == "reset")
            {
                PromptDialog.Confirm(
                    context,
                    AfterResetAsync,
                    "Are you sure you want to reset the count?",
                    "Didn't get that!",
                    promptStyle: PromptStyle.None);
            }

I also created a simple waterfall below with repeat portions to make the question even more generic
U: send an email
B: What is the subject?
U: Dinner
B: What is the body?
U: Lets have dinner on Friday
B: Who do you want to send it to?
U: Mark
B: I found Mark Anthony - should I add?
U: Yes
B: I added Mark Anthony - do you want to add more?
U: Yes
B: Who else do you want to send it to?
U: Jim
B: I found more than one Jim, please select the corresponding # for the Jim you want me to add
B: 1) Jim John
B: 2) Jim Smith
U: 1
B: I added Jim John - do you want to add more?
U: No
B: Sending your email
B: Email sent

After looking at the above, one might say that FormFlow is better for something like this than dialog's... but having not completed gotten the hang of dialog and its capability i'd rather not jump yet.

Am I going about this the wrong way?

if you can represent the state of your conversation by a C# class that FormFlow can fill in, then that may make it easier for you to encode the experience you want.
Compared to chaining, I personally find it easier to write out an IDialog implementation for the dialogue I want.
Overall though, the chains are composable pieces.  I'd put them together in small chunks and test them separately and make sure they do what you want before putting together the final solution.

@willportnoy, can a single dialog (that is easily maintained and altered) be created for the flow @zxed specified? If we want to implement many small dialogs (to separate the concerns) with the fluent API, what would be the correct approach? Let's say that we have 3 dialogs, we want to show them to the user consecutively and do an action after each one, would the following approach work?
`
//string s1,s2,s3; //defined as class members
//CustomDialogs return strings on context.Done
//...
var textDialog = from x in new CustomDialog1().ContinueWith(async (x1,y1)=> { s1 = await y1; return Chain.Return(await y1); })
from y in new CustomDialog2()ContinueWith(async (x2,y2)=> { s2 = await y2; return Chain.Return(await y2); })
from z in new CustomDialog3()ContinueWith(async (x3,y3)=> { s3 = await y3; return Chain.Return(await y3); })
select new { piece = x + y + z };
ctx.Call(textDialog, async (x, y) => { var o = await y; await x.PostAsync(o.piece.ToString()); });`
The above, btw, crashes with anonymous method closures that capture the environment are not serializable, consider removing environment capture or using a reflection serialization surrogate

Are you following this code as an example?
https://github.com/Microsoft/BotBuilder/blob/master/CSharp/Tests/Microsoft.Bot.Builder.Tests/ChainTests.cs#L66
It's a method of calling a sequence of dialogs and combining the results in some way.
Instead of concatenating x/y/z, you can project them into an anonymous class that is the result of the chained dialog.
That exception is caused because one of the lambda expressions refer to a variable in an outer scope, so it's captured in the closure.  We could automatically serialize all of the environment captured by closures, but then there's the risk of impractically large amounts of state being serialized automatically.

I figured it was likely due to "one of the lambda expressions refer to a variable in an outer scope" - since the string was being concatenated based on a dynamic scenario.
What I've now ended up doing is staying away from chained dialogs, and instead; doing something like this
public virtual async Task MessageReceivedAsync(IDialogContext context, IAwaitable<Message> argument)
{
.
.

if (X)
await someFunctionA(context, argument);
else if (Y)
await someFunctionB(context, argument);
.
.
.
context.Wait(MessageReceivedAsync);

and then within those someFunction's I have additional nesting
public async Task someFunctionA(IDialogContext context, IAwaitable<Message> argument)
{
.
.
if (A.1)
await someFunctionA1(context, argument);
.
.
}

I added this commit https://github.com/Microsoft/BotBuilder/commit/f0b6a9ea4291c7461c4b8688b84ceb5285d7d1e6 as an example of control flow logic that was similar to a while loop.

I'm going to close this issue - feel free to open a new issue for further discussion.


RangeError when streaming a large table

I'm trying to stream a large query and do some operations on it.
var connection = mysql.createConnection({
  host    : '...',
  port    : '...',
  user    : '...',
  password: '...',
  database: '...',
  timezone: '+0000'
});
var retrieveQuery = 'SELECT * FROM table;';
connection.query(retrieveQuery)
  .on('error', function(err) {
    // Handle error, an 'end' event will be emitted after this as well
    clbk(err);
  })
  .on('fields', function(fields) {
    // the field packets for the rows to follow
  })
  .on('result', function(row) {
    //...
  })
  .on('end', function() {
    // all rows have been received
  });

After it fetches to around 2M rows, I'm getting this error:
buffer.js:71
    throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
          ^
RangeError: Attempt to allocate Buffer larger than maximum size: 0x3fffffff bytes
    at new Buffer (buffer.js:71:11)
    at Parser.append (/home/ubuntu/soomla-scripts/node_modules/mysql/lib/protocol/Parser.js:111:14)
    at Parser.write (/home/ubuntu/soomla-scripts/node_modules/mysql/lib/protocol/Parser.js:25:8)
    at Protocol.write (/home/ubuntu/soomla-scripts/node_modules/mysql/lib/protocol/Protocol.js:39:16)
    at Socket.<anonymous> (/home/ubuntu/soomla-scripts/node_modules/mysql/lib/Connection.js:96:28)
    at Socket.emit (events.js:107:17)
    at Socket.Readable.read (_stream_readable.js:373:10)
    at flow (_stream_readable.js:750:26)
    at resume_ (_stream_readable.js:730:3)
    at _stream_readable.js:717:7
    at process._tickCallback (node.js:355:11)

It happens around the same amount of rows fetched every time I run it.
Any ideas?

How large is the table? Perhaps TCP buffer size limitations?

Are you saying the the issue is on the DB ?
I'm used to stream data this way on large tables and it used to work perfectly. Maybe this specific table is bigger. What I don't understand is why the data is even accumulated in memory and not streamed line by line?

If you are using INNODB tables that have the buffer pool set too high, it could be MySQL trying to allocate memory for a large dataset beyond the buffer pool size. Can you reduce the MySQL innodb-buffer-pool?

It didn't help. We had to do smaller queries.

Hi @refaelos , this seems like a real issue with this module. I'm going to re-open this so I don't forget to investigate.

Ok thanks.
When we do smaller queries it doesn't happen so either the DB can't handle larger queries or the module doesn't handle them correctly.

Hi @refaelos , my suspicion is that we are, at some point, trying to create a Node.js Buffer object that is too large. If this is the case, we should be able to keep the buffers separate and then change all the code to operate on a virtual buffer that is a view across multiple underlying buffers.

Just my 2 cents here.. What is missing is a check if the write on the stream is successful. If it's not, it has to wait until drain was completed.
Pseudo-code:
let success = myStream.write(myObject);
if(!success) {
    return myStream.once('drain', function () {
          return iterateThroughNext();
        });
}
iterateThroughNext();

Sorry if I misunderstood something here.

Hi @zeluis9, can you point to what part of the code you are referring to?

@dougwilson [https://github.com/felixge/node-mysql/blob/master/lib/protocol/sequences/Query.js](Query class)

Replace line 206 and following with something like this:
this.on('result',function(row,i) {
    if (!stream.push(row)) {
      self._connection.pause();
      return this.once('drain', function(){
        stream.emit('result',row,i);  // replicate old emitter
      });
    }
    stream.emit('result',row,i);  // replicate old emitter
  });

Thanks, @zeluis9, but it is not clear how that will specifically fix the problem outlined in the original post, but what you are highlighting may be an unrelated bug to this. Would you be willing to create a pull request to fix it? Please include a test that files without the change and passes with the change.

I will make it asap @dougwilson :)
Às 18:14 de 26-02-2016, Douglas Christopher Wilson escreveu:

Thanks, @zeluis9 https://github.com/zeluis9, but it is not clear how
that will specifically fix the problem outlined in the original post,
but what you are highlighting may be an unrelated bug to this. Would
you be willing to create a pull request to fix it? Please include a
test that files without the change and passes with the change.
—
Reply to this email directly or view it on GitHub
https://github.com/felixge/node-mysql/issues/1324#issuecomment-189405172.


[ADD ME TO THE ORGANIZATION] Please invite me!!!!

**Name:Daivid Morgan
**Location:United States
**Interest:Indoor Tennis
Discord username(optional):-"Devstar0202"
Why do you want to join?
I want to join because
Please invite me to your github group.
Here is Daivid Morgan from Macedonia.
I love teamwork and I really wanna be one of your teammates.
I wanna contribute your github repositories together.
Thanks. Daivid
You can also join our Discord community here
Feel free to check out other cool repositories of the Open Source Community here.

@DevStar0202 Thanks for your interest. Invitations have been sent to you. Kindly accept it and make your membership public.


All Interpretations Table Enhancements

Suggested new columns:

creator, e.g individual or affiliation who created interpretation
status, e.g. provisional, approved, etc
met criteria

Suggested enhancements:

do not load all table, allow users to just load a component, e.g. search on a specific gene, or specific affiliation, or specific met criteria, etc...

https://broadinstitute.atlassian.net/browse/CGSP-517


Mainpage index.js design

Still in a draft PR, we need more suggestions and feedbacks from other staff members on the new design.
Currently added:

[x] Bilibili livestream
[x] Bilibili videos(seperated by tabs)

Planned features:
add more design and features here

This PR mainly focuses on the implementation of the features, styles and appearance via the modification of CSS will not be the main goal of this PR. Considering open another PR for these changes and improvements.

Merging now.


New scaleform - PAUSE MENU

A pause menu scaleform like on the image, as far as i remember but im not sure its created with some of these scaleforms:
Starting from https://vespura.com/fivem/scaleform/#PAUSE_MENU_BAR
But it might be for this instead, which will also be a nice to have in LemonUI

I think @Eddlm implemented the scaleform once as part of his mods. Ill probably ask him in the 5mods server about what info he has about the "session" scaleform (second picture).

Oh wait, dupe of #15


NormalPass smooth normals

I try to implement the SSAOEffect as shown in the example, and it seems to work pretty good (at least a lot better than the default one included with three.js). Only problem I found is that the "shadows" seem to ignore the normals of the mesh and they are casted in a way that every polygon has hard edges. This is the scenario:

Mesh is an object generated by the GLTFLoader (I assume it is a somethingsomethingBufferGeometry)
Object has been generated with Blender, applied "smooth shading".
Three.js and the GLTFLoader properly recognize the normals from the file (If I don't use the SSAOEffect, I can see the smooth normals on the shine of the mesh).
The material is a pretty basic setup, only a plain color.

What I suppose is that the NormalPass is ignoring or somehow applying a hard-shading to the normals. Tried to find a way in the API to change this, but it's clearly way over me 🤷♂😅

Hi,
the NormalPass uses the MeshNormalMaterial from three to render the normals of your scene. That material respects normal maps, displacement maps and bump maps. My guess is that your SSAO scale, bias or radius is not properly configured for your scene. Another possibility is that the depth values of your scene are too inaccurate due to suboptimal camera settings.
Try the following code and check if your scene normals look fine:
import { DepthEffect, EffectPass, NormalPass } from "postprocessing";

const depthPass = new EffectPass(camera, new DepthEffect());
const normalPass = new NormalPass(scene, camera);

normalPass.renderToScreen = true;
depthPass.renderToScreen = true;

// Uncomment individually to draw normals or depth:
//composer.addPass(normalPass);
//composer.addPass(depthPass);

Take a look at the following images for comparison:

Normals
Depth

Yes indeed! After trying it, it is related to the scale, bias and radius misconfigured properties for my scene. Your tests showed me that both the depth and normal passes give smooth normals, so that's out of the question.
Thank you for the help, the plugin and the info, and sorry for the noob question!

Nice, glad I could help!


Register entry point for pandas backend

pdvega could add an entrypoint to register itself with pandas: https://dev.pandas.io/development/extending.html#plotting-backends
Something like
# in setup.py
setup(  # noqa: F821
    ...,
    entry_points={
        "pandas_plotting_backends": [
            "altair = pdvega.<module>",
        ],
    },
)

where <module> is whatever module has the plot top-level method with the right signature.

My plan on this is to deprecate pdvega and create a new pandas_altair module that will register an altair entrypoint. Much of this package was written in vega directly rather than in Altair.

Good to know. Do you have a rough timeline on that transition? The pandas 1.0 release will be sometime in October. It'd be nice if pandas' document had some rich examples using the various plotting backends. That doesn't have to be tied to the 1.0 release, but we may get a bit of extra attention since it's 1.0.

Good to know. I'd like to tackle it soon, but I don't have as much time for these things as I used to :smile:

Understood only too well :)
On Thu, Aug 22, 2019 at 11:38 AM Jake Vanderplas<EMAIL_ADDRESS>wrote:

Good to know. I'd like to tackle it soon, but I don't have as much time
for these things as I used to 😄
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/altair-viz/pdvega/issues/46?email_source=notifications&email_token=AAKAOISNZ56LEGRBNRRRPYDQF26IFA5CNFSM4IOWGC7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD45VNBY#issuecomment-523982471,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKAOITTK6BINYRETGPJ5ALQF26IFANCNFSM4IOWGC7A
.

See here: https://github.com/altair-viz/altair_pandas


Add signals code from submariner

This code is reusable amongst the submariner-io projects and will
eliminate the submariner dependency in lighthouse.
Signed-off-by: Tom Pantelis<EMAIL_ADDRESS>

I just discovered that the same signals code exists in controller-runtime so no need to maintain a copy.


fix for single select with simple tags

You shouldn't change /dist files but /src

whew, good catch, my fault for not noticing they were in the wrong spot when I opened the PR.  @trickpattyFH20, great if you can push a commit out to your fork that removes this change from /dist/select.js and adds it to /src/select.js

Sorry! I moved the changes from dist to src.
Looks like the build doesn't like "== null" and it wants me to use "=== null" but using triple equals does not work... still gets "Cannot read property 'toUpperCase' of undefined" unless you use just a double equals...
Can this still be merged?

Will be also better of you could squash commits to try keeping master as clean as possible

@brianfeister everything is moved out of dist and into src.
@dimirc I squashed the commits into one and it's ready to go.

@brianfeister I'm not familiar with all the tagging functionality. As you created this PR, can you confirm if its ok and merge it to be able to ship it with next release?

Thanks @trickpattyFH20, it will be in the next release.  Looks like @dimirc is on a roll merging PR's and reviewing things, I'll leave it to him to determine the next release.

v0.9.9 released
Sent from my iPhone

On Feb 17, 2015, at 10:20 PM, Brian Feister<EMAIL_ADDRESS>wrote:
Thanks @trickpattyFH20, it will be in the next release. Looks like @dimirc is on a roll merging PR's and reviewing things, I'll leave it to him to determine the next release.
—
Reply to this email directly or view it on GitHub.


fix(au-select-custom-attribute): use DOM.Element

aurelia-framework does not export Element resulting in error
Unhandled rejection Error: Error invoking AuSelectCustomAttribute. Check the inner error for details.
------------------------------------------------
Inner Error:
Message: key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?

This PR fixes that.

Good catch, thanks!


Blank Page After Deployment

Hi,
First of all thanks for this project and you contribution.
the problem
I've been trying to work with it but i've encountered a problem in deployment.
The stack is deployed but I get blank Page when accessing the KibanaURL (plain, with port 8080 and with /__es? path).
the environment
These are my subnets configurations:
Name  | subnet id | AZ | default | auto assign public ip | ipv6
Cloud C  | <IP_ADDRESS>/20 | eu-west-1c | Yes | Yes | No
Cloud B  | <IP_ADDRESS>/20 | eu-west-1b | Yes | Yes | No
Cloud A | <IP_ADDRESS>/20 | eu-west-1a | Yes | Yes | No
The the stack configuration I've mentiond all 3 subnets under private and public subnets.
The private load balancer is getting *InService * status
The public load balancer is getting OutOfService status
Attempts for resolution

I've tried to config the subnets differently without success
I've tried adding 3 more subnets for only private mode
I've tried to use .json file from kibana4.4 branch
I've tried to modify the yaml to explicitly mention the AZ

Related issues
#47
#25
Any help or guidance will be amazing
Thanks

Can you login to the boxes and check for errors in any log files eg. /var/log/syslog ? When logged in also try to connect to the HTTP endpoint using curl. eg curl http://localhost:8080. Let me know what you find.

Hi,
This is the syslog from kibana instance:
c 21 16:02:20 ip-172-31-12-20 logcabin[27771]: events.js:141
Dec 21 16:02:20 ip-172-31-12-20 logcabin[27771]:       throw er; // Unhandled 'error' event
Dec 21 16:02:20 ip-172-31-12-20 logcabin[27771]:       ^
Dec 21 16:02:20 ip-172-31-12-20 logcabin[27771]: Error: connect ECONNREFUSED <IP_ADDRESS>:9200
Dec 21 16:02:20 ip-172-31-12-20 logcabin[27771]:     at Object.exports._errnoException (util.js:870:11)
Dec 21 16:02:20 ip-172-31-12-20 logcabin[27771]:     at exports._exceptionWithHostPort (util.js:893:20)
Dec 21 16:02:20 ip-172-31-12-20 logcabin[27771]:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1063:14)
Dec 21 16:02:20 ip-172-31-12-20 systemd[1]: logcabin.service: Main process exited, code=exited, status=1/FAILURE
Dec 21 16:02:20 ip-172-31-12-20 systemd[1]: logcabin.service: Unit entered failed state.
Dec 21 16:02:20 ip-172-31-12-20 systemd[1]: logcabin.service: Failed with result 'exit-code'.
Dec 21 16:02:20 ip-172-31-12-20 systemd[1]: logcabin.service: Service hold-off time over, scheduling restart.
Dec 21 16:02:20 ip-172-31-12-20 systemd[1]: Stopped logcabin.service.
Dec 21 16:02:20 ip-172-31-12-20 systemd[1]: Started logcabin.service.
Dec 21 16:02:21 ip-172-31-12-20 logcabin[27792]: Logcabin starting...
Dec 21 16:02:21 ip-172-31-12-20 logcabin[27792]: Google OAuth2 authentication used
Dec 21 16:02:21 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:21Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"Unable to revive connection: http://localhost:9200/"}
Dec 21 16:02:21 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:21Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"No living connections"}
Dec 21 16:02:21 ip-172-31-12-20 logcabin[27792]: Logcabin listening on 8080
Dec 21 16:02:21 ip-172-31-12-20 logcabin[27792]: events.js:141
Dec 21 16:02:21 ip-172-31-12-20 logcabin[27792]:       throw er; // Unhandled 'error' event
Dec 21 16:02:21 ip-172-31-12-20 logcabin[27792]:       ^
Dec 21 16:02:21 ip-172-31-12-20 logcabin[27792]: Error: connect ECONNREFUSED <IP_ADDRESS>:9200
Dec 21 16:02:21 ip-172-31-12-20 logcabin[27792]:     at Object.exports._errnoException (util.js:870:11)
Dec 21 16:02:21 ip-172-31-12-20 logcabin[27792]:     at exports._exceptionWithHostPort (util.js:893:20)
Dec 21 16:02:21 ip-172-31-12-20 logcabin[27792]:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1063:14)
Dec 21 16:02:21 ip-172-31-12-20 systemd[1]: logcabin.service: Main process exited, code=exited, status=1/FAILURE
Dec 21 16:02:21 ip-172-31-12-20 systemd[1]: logcabin.service: Unit entered failed state.
Dec 21 16:02:21 ip-172-31-12-20 systemd[1]: logcabin.service: Failed with result 'exit-code'.
Dec 21 16:02:21 ip-172-31-12-20 systemd[1]: logcabin.service: Service hold-off time over, scheduling restart.
Dec 21 16:02:21 ip-172-31-12-20 systemd[1]: Stopped logcabin.service.
Dec 21 16:02:21 ip-172-31-12-20 systemd[1]: Started logcabin.service.
Dec 21 16:02:21 ip-172-31-12-20 logcabin[27803]: Logcabin starting...
Dec 21 16:02:21 ip-172-31-12-20 logcabin[27803]: Google OAuth2 authentication used
Dec 21 16:02:21 ip-172-31-12-20 logcabin[27803]: Logcabin listening on 8080
Dec 21 16:02:22 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:22Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"Unable to revive connection: http://localhost:9200/"}
Dec 21 16:02:22 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:22Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"No living connections"}
Dec 21 16:02:23 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:23Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"Unable to revive connection: http://localhost:9200/"}
Dec 21 16:02:23 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:23Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"No living connections"}
Dec 21 16:02:24 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:24Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"Unable to revive connection: http://localhost:9200/"}
Dec 21 16:02:24 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:24Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"No living connections"}
Dec 21 16:02:26 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:26Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"Unable to revive connection: http://localhost:9200/"}
Dec 21 16:02:26 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:26Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"No living connections"}
Dec 21 16:02:27 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:27Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"Unable to revive connection: http://localhost:9200/"}
Dec 21 16:02:27 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:27Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"No living connections"}
Dec 21 16:02:28 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:28Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"Unable to revive connection: http://localhost:9200/"}
Dec 21 16:02:28 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:28Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"No living connections"}
Dec 21 16:02:29 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:29Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"Unable to revive connection: http://localhost:9200/"}
Dec 21 16:02:29 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:29Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"No living connections"}
Dec 21 16:02:31 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:31Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"Unable to revive connection: http://localhost:9200/"}
Dec 21 16:02:31 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:31Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"No living connections"}
Dec 21 16:02:32 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:32Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"Unable to revive connection: http://localhost:9200/"}
Dec 21 16:02:32 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:32Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"No living connections"}
Dec 21 16:02:32 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:32Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"Unable to revive connection: http://localhost:9200/"}
Dec 21 16:02:32 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:32Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"No living connections"}
Dec 21 16:02:33 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:33Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"Unable to revive connection: http://localhost:9200/"}
Dec 21 16:02:33 ip-172-31-12-20 kibana5[26908]: {"type":"log","@timestamp":"2017-12-21T16:02:33Z","tags":["warning","elasticsearch","admin"],"pid":26908,"message":"No living connections"}

its private ip is <IP_ADDRESS>

These are the instance permissions
Ports | Protocol | Source | elk-abc-ElkSecurityGroup-1AR94VO00LOT6
8080 | tcp | sg-xxxx1 | ✔
22 | tcp | <IP_ADDRESS>/0 | ✔
6379 | tcp | sg-xxxx2 | ✔
9300-9400 | tcp | sg-xxxx3 | ✔

netstat
ubuntu@ip-172-31-12-20:~$ netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0    200 ip-172-31-12-20.eu-:ssh static-37-142-40-:33168 ESTABLISHED
tcp6       0      0 ip-172-31-12-20.e:44064 <IP_ADDRESS>:https      ESTABLISHED
tcp6       0      0 ip-172-31-12-2:http-alt ip-172-31-34-61.e:60588 TIME_WAIT
tcp6       0      0 ip-172-31-12-2:http-alt ip-172-31-34-61.e:60570 TIME_WAIT
tcp6       0      0 ip-172-31-12-2:http-alt ip-172-31-27-14.eu:6587 TIME_WAIT
tcp6       0      0 ip-172-31-12-2:http-alt ip-172-31-27-14.eu:6581 TIME_WAIT
tcp6       0      0 ip-172-31-12-2:http-alt ip-172-31-27-14.eu:6601 TIME_WAIT
tcp6       0      0 ip-172-31-12-2:http-alt ip-172-31-34-61.e:60578 TIME_WAIT
tcp6       1      0 localhost:53400         localhost:9200          CLOSE_WAIT
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags       Type       State         I-Node   Path
unix  3      [ ]         DGRAM                    826      /run/systemd/notify
unix  2      [ ]         DGRAM                    82431    /run/user/1000/systemd/notify
unix  2      [ ]         DGRAM                    836      /run/systemd/journal/syslog
unix  10     [ ]         DGRAM                    837      /run/systemd/journal/dev-log
unix  7      [ ]         DGRAM                    840      /run/systemd/journal/socket
unix  2      [ ]         STREAM     CONNECTED     14459
unix  2      [ ]         STREAM     CONNECTED     13402
unix  2      [ ]         STREAM     CONNECTED     13346
unix  3      [ ]         STREAM     CONNECTED     14968
unix  3      [ ]         STREAM     CONNECTED     101713   /run/systemd/journal/stdout
unix  2      [ ]         DGRAM                    14465
unix  2      [ ]         DGRAM                    14505
unix  2      [ ]         STREAM     CONNECTED     70757    /run/systemd/private
unix  2      [ ]         STREAM     CONNECTED     12152
unix  2      [ ]         STREAM     CONNECTED     44297
unix  3      [ ]         STREAM     CONNECTED     14473
unix  3      [ ]         STREAM     CONNECTED     14511    /var/run/dbus/system_bus_socket
unix  2      [ ]         DGRAM                    10489
unix  3      [ ]         STREAM     CONNECTED     102409
unix  2      [ ]         STREAM     CONNECTED     71083    /run/systemd/private
unix  2      [ ]         STREAM     CONNECTED     70371    /run/systemd/private
unix  3      [ ]         STREAM     CONNECTED     14508
unix  2      [ ]         DGRAM                    14496
unix  2      [ ]         DGRAM                    28127
unix  3      [ ]         STREAM     CONNECTED     14969    /var/run/dbus/system_bus_socket
unix  2      [ ]         STREAM     CONNECTED     15583
unix  2      [ ]         STREAM     CONNECTED     9841
unix  3      [ ]         STREAM     CONNECTED     14509
unix  2      [ ]         STREAM     CONNECTED     14568
unix  2      [ ]         STREAM     CONNECTED     13601
unix  2      [ ]         DGRAM                    14727
unix  3      [ ]         DGRAM                    11050
unix  2      [ ]         STREAM     CONNECTED     45769
unix  3      [ ]         STREAM     CONNECTED     81534
unix  2      [ ]         DGRAM                    11044
unix  3      [ ]         DGRAM                    11051
unix  3      [ ]         DGRAM                    11048
unix  3      [ ]         DGRAM                    9845
unix  3      [ ]         DGRAM                    9846
unix  2      [ ]         DGRAM                    81406
unix  3      [ ]         DGRAM                    11049
unix  3      [ ]         STREAM     CONNECTED     75537
unix  2      [ ]         DGRAM                    14723
unix  2      [ ]         DGRAM                    81481
unix  3      [ ]         STREAM     CONNECTED     81468
unix  2      [ ]         DGRAM                    14275
unix  3      [ ]         STREAM     CONNECTED     14840    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     81535
unix  2      [ ]         DGRAM                    81474
unix  3      [ ]         STREAM     CONNECTED     14510    /var/run/dbus/system_bus_socket
unix  2      [ ]         STREAM     CONNECTED     45524
unix  3      [ ]         STREAM     CONNECTED     13432
unix  3      [ ]         STREAM     CONNECTED     82401    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     14839
unix  2      [ ]         STREAM     CONNECTED     9435
unix  3      [ ]         STREAM     CONNECTED     73257    /run/systemd/journal/stdout
unix  2      [ ]         DGRAM                    72919
unix  2      [ ]         STREAM     CONNECTED     11029
unix  2      [ ]         DGRAM                    72948

Hi @satterly,
Any further ideas or guidence :)


feat: migrate tests from scarb to sn foundry

Feature Request
exploratory issue ->
go through the tutorial and migrate from scarb to sn foundry
we're not using smart contracts yet so no big change

also, update readme afterwards

if need be, modify devcontainer

blocked by a discrepancy between snforge and scarb that'll be resolved once cairo 2.1 is released

we need #[should_panic] before, I made a PR to starknet-foundry to have it available (probably next week). There will be no changes to do.

@enitrat tried to migrate to sn foundry on august 18th and found it impractical
-> contract first approach, must deploy contracts to test functions

-> contract first approach, must deploy contracts to test functions

Not necessarily but if you want to mock stuff, then you need to do that (unlike cairo-test)

-> contract first approach, must deploy contracts to test functions

Not necessarily but if you want to mock stuff, then you need to do that (unlike cairo-test)

Not sure I understand

Basically, imagine you want to test is_caller_eoa. To do that you want to mock the caller address, create your execution context, and then call is_caller_eoa. This is not possible in the current state of SN Foundry, because you can't mock global variables unless you explicitly interact with a deployed contract
see discussion here
https://github.com/foundry-rs/starknet-foundry/pull/462

I see! Thanks

Do you think we should be able to?
How do other test runners do it?

Important update: we are gathering some bugs in the Kakarot v0 codebase, we need to make sure each issue and each PR in Kakarot-ssj is aware of the lists of known bugs. Look at this link everytime you take an issue and check your issue isn't targeted by a known bug.

Important update: we are gathering some bugs in the Kakarot v0 codebase, we need to make sure each issue and each PR in Kakarot-ssj is aware of the lists of known bugs. Look at this tracking issue everytime you take an issue and check your issue isn't targeted by a known bug. Will add this reminder in many places to make sure we keep track of known bugs.


Add column 6 ("slim [LFBS]: configured session limit") to serverMetrics

@brian-brazil  ... this pull request adds column 6, ("slim [LFBS]:") which contains the session limit for each individual server.
The value can be used i.e. to compare to the number of currently active connections, so it is very much of interest and not just a to some extend "static" piece of configuration.

I think we should also export this metric for frontends, not just servers. I don't have access to metrics of a production server, but if I remember correctly, the limit is meaningless on backends, right?
Please also follow the standard git commit message format http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html.

Nevermind, I just remembered that we already export the limit_sessions on frontends. Thanks!


希望增加导出原生KTX，DDS，PVR 的功能

我下载了源码，不过我的vs是2013版的所以编译不了程序
我知道Texture2D里有直接调用PVRTexLibWrapper和TextureConverterWrapper的功能实现图片转码的，但是现在转换后得到的png透明部分有黑边，应该是ktx原先是黑底的，转PNG时留下的，所以现在希望加个按钮直接导出KTX，DDS或PVR，或者 修改一下转png的参数（虽然我也没有研究过PVRTexToolCLI的具体参数）

Translated from Google Translate:

I downloaded the source, but my vs is the 2013 version of the compiler can not be procedures

I know Texture2D directly call PVRTexLibWrapper and TextureConverterWrapper function to achieve picture transcoding, but now after the conversion of the png transparent part of the black side, it should be ktx was originally black, turn left when the PNG, so now hope Add a button to directly export KTX, DDS or PVR, or modify the parameters to turn png (although I have not studied the PVRTexToolCLI specific parameters

(maybe a better Translate)
I downloaded the source code, but I cannot program it as my vs is version 2013.
I know thatTexture2D used PVRTexLibWrapper and TextureConverterWrapper to achieve image transcoding, but after converted to png, some black line appear at the transparent part. It may be due to ktx originally have a black color background. So I hope that adding function to direct export KTX, DDS or PVR, or turning the parameters in png conversion (although I have not studied the specific parameters in PVRTexToolCLI)

嘗試使用Unity Studio而不是Disunity


Can you share data sets? As research only

Hello, there are too few public multimodal retinal datasets, so I would take the liberty to ask if you can share the dataset. I will only use it for research purposes and will not share it twice. I can accept all your requests and look forward to your reply.

The GAMMA dataset is public dataset, you can download it from https://gamma.grand-challenge.org/

The GAMMA dataset is public dataset, you can download it from https://gamma.grand-challenge.org/

Thank you very much, all the best~

The GAMMA dataset is public dataset, you can download it from https://gamma.grand-challenge.org/

Hello, I would like to build on your paper, but I have some problems with 3D image reconstruction. If it is convenient, can you give me the retinal thickness map after processing? Looking forward to your reply！

The GAMMA dataset is public dataset, you can download it from https://gamma.grand-challenge.org/

Dear David,
I am a graduate student from Zhejiang Normal University, currently conducting research on multimodal eye disease classification. But I have an unsolvable problem with the retinal 3D reconstruction, so I asked you if you could share the retinal thickness map with me. Best wishes to you whether you agree or not. I would be grateful if you could help me. Please let me know if you have concerns about sharing data. Good luck with your work and all the best.
sincerely,
Lian

Sorry for seeing you question so late. You can use the OCTExplorer software to get the thickness map. Best regards~


Grouping or merging identical dependencies

Currently if the same dependency (same name and version) exists multiple places in the dependency tree (transitively), then it's listed multiple times in the project, and vulnerability information is only provided for the first occurence of a the version.
Ideally if the same component is used mulitple times in the dependency, it should be listed only once (per version), and with vulnerability info.

Example:
{
  "name": "dep-track-test",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "express": "^4.16.3"
  }
}

Express contains the same dependencies multiple times (example parseurl@1.3.2):
http://npm.anvaka.com/#/view/2d/express
This is the BOM (is this correct?):
bom.xml.txt

After reviewing the bom, I don't think this is a defect.
Refer to the CycloneDX documentation at https://github.com/CycloneDX/specification/blob/master/schema/bom-1.0.xsd#L110
The optional child components should not represent a dependency-tree. Think of child components as you would for bill of materials. For example, the cigarette lighter is a component of the ashtray which is a component of the dashboard.
In the software world, multi-module builds like those that can be performed by Maven would also quality. For example:

FasterXML Jackson v2.9.4

Jackson Databind v2.9.4
Jackson Core v2.9.4
Jackson Annotations v2.9.4

Since I do not believe npm supports this concept, it's highly unlikely that you would have nested components. For npm projects, I would expect a nearly flat tree, with at most one level deep of nesting.
In the case of the bom provided, it is saying that<EMAIL_ADDRESS>is a subcomponent of multiple other components, which isn't the case. As a result, parseurl is being added multiple times because each instance of parseurl has a different parent component.


fix(proxy): better error when upstream proxy fails

🔗 Linked issue
#722

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

This PR should ensure that proxyRequests fail gracefully instead of leading to an unhandled node error crashing the server.
📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Updated to sendProxy.

I think only we can assume only proxy had been failed and perhaps we can double check if there is not already set statusCode and message on error (that currently is being ingored)

You mean an existing one in event.node.statusCode / statusMessage or in the error directly? If the latter, which values should I check?


GINE: Differences in implementation to the original

❓ Questions & Help

Hello together,
currently I'm testing the newly published GINEConv. When comparing the integration of the edge features of the PyG variant with the original on Github (https://github.com/snap-stanford/pretrain-gnns/blob/master/chem/model.py and https://github.com/snap-stanford/pretrain-gnns/blob/master/bio/model.py), I had to realize that your implementation is slightly diverging from the ones in the original.
In PyG the message function is containing a ReLU:
    def message(self, x_j, edge_attr):         return F.relu(x_j + edge_attr)
While in the original it is just:
    def message(self, x_j, edge_attr):         return x_j + edge_attr
respectively:
    def message(self, x_j, edge_attr):         return torch.cat([x_j, edge_attr], dim = 1)
Is there a reason behind the ReLU ?
Best Regards

The reason is that is works slightly better :) We follow the OGB implementation here, which is implemented by the authors of the pre-training paper themselves.

Thanks :)


derive version numbers from Git Tags

In order to make releases easier and less error prone, as a developer I don't want to care about updating version numbers in the gradle build file when doing a release.

done


x/tools/gopls: A lot of memory consumption

What version of Go are you using (go version)?
1.16

$ go version

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?

I'am starting VSCode with installed Go extension. And gopls process use all memory (24Gb)

What did you expect to see?
What did you see instead?
Attached file with gopls logs
gopls.9316-14GiB-nonames.zip

Thank you for filing this issue and attaching the memory zip. Based on the heap profile, we think that a package in your workspace might have really large byte slice literals, which are known to take up a lot of memory in the type checker. Is that possible? You can look at the heap profile with package names to identify which package that might be.


Control animation independently per dataset

Is it possible to control/disable the animation of the chart per dataset? I have a bar chart that has two datasets: a dataset with a total amount and then a dataset with sub amounts.
This is the animation I am looking for. I can achieve this animation by not having a label on each individual dataset, however, I get a console error for doing this as a unique key is required for each dataset.

Once I add a unique key to each dataset, I get this animation:

I want a way to disable animation on the grey dataset but still enable animation on the colored one. Is this possible?

@katiawheeler I'm trying to do something like this, did you find a solution?


2016.11 compat

this appears to work just fine for 2016.11, we dont actually want to use black/white lists yet

I believe they're supposed to be arrays not dicts, but I don't know if it matters.
https://github.com/saltstack/salt/commit/17b03e9d8b2109fb78c9cfdf5ff65aa988dab130
There should be a way to pull the Salt version from their library so we can have this support both versions.

Should be ready, what do you think @hspak ?

The blacklist,whitelist arguments aren't kwargs here: https://github.com/saltstack/salt/commit/17b03e9d8b2109fb78c9cfdf5ff65aa988dab130#diff-ff0281eb3cb6633302f7d77137e01028R30
Does it still work for 2016.11?

Yes, I have tested on use1

Cool, looks good then! 👍


Femto gps driver modify

add UAVSTATUS message
Modify Femtomes GPS default message output frequency from 20Hz to 10Hz

Thanks for your updates.
I applied the code directly due to merge conflicts. Next time could you please start off latest master?


Small bug fixes and coverage

Codecov Report

Merging #144 into master will increase coverage by 0.99%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           master      #144      +/-   ##
===========================================
+ Coverage   99.00%   100.00%   +0.99%
===========================================
  Files           1         1
  Lines        1009      1010       +1
  Branches      187       187
===========================================
+ Hits          999      1010      +11
+ Misses          4         0       -4
+ Partials        6         0       -6

Impacted Files
Coverage Δ

src/turbot/__init__.py
100.00% <100.00%> (+0.99%)
:arrow_up:

Continue to review full report at Codecov.

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

Heck yah, 100% coverage baby.


[FEATURE REQUEST] Share common docstrings by using docstring formatting

Description

Example: https://github.com/mwaskom/seaborn/blob/9425588d3498755abd93960df4ab05ec1a8de3ef/seaborn/_docstrings.py#L6, https://github.com/mwaskom/seaborn/blob/master/seaborn/relational.py

Resolved by adding ribs/_docstrings.py in #209


fix: docs for autodeploy event types

Fixing the examples for autodeploy. event.type === "pushed" is not an option, it should be event.action === "pushed.
event.type === "pushed" && event.branch === "main" will change to event.type === "branch" && event.branch === "main" && event.action === "pushed"

Good catch! Thanks.


selectedFromList doesn't get reset to false

As soon as I select a value from the list, selectedFromList gets set to true. Reopening the list doesn't reset it to false. That means that if I

click the menu
clear the text input
select a value
click the menu
click away

Then the func callback will never set inputVal and selectedValue to "" any more.

great repro setup - I'll dive in this week and see if we can fix this before the 1.0 release!
was this using the latest beta btw ?

"ember-cli-auto-complete": "1.0.0-beta.2",

Awesome -thanks dude!
Next time I plan to release a 1.0 I'll get you on the payroll to find all the issues :)


File import SADD Problem

Hello
I have a json file (which i exported from my redis set using riot) like this:
[
  {
    "key": "malware_hashes",
    "type": "set",
    "value": ["1", "2", "3", "4", "5"],
    "ttl": -1,
    "mem": 0
  }
]

when i import this into redis, this create my key correctly but it count all the elements in members array as on member and add value array to my set
here is my command for import:
riot -h <host> -a <pass> file-import ./myfile.json sadd --keys key --members value
and here is the redis data after import:
1) "malware_hashes"
<IP_ADDRESS>:6379> SMEMBERS malware_hashes
1) "[1, 2, 3, 4, 5]"

i want my redis output become like this:
<IP_ADDRESS>:6379> keys *
1) "malware_hashes"
<IP_ADDRESS>:6379> SMEMBERS malware_hashes
1) "1"
2) "2"
3) "3"
4) "4"
5) "5"

can someone help me resolve this issue?
Thanks.

You want to use the dump-import command instead of file-import

Thanks a lot


AutoPr-CostManagement-gahorowi-REST Spec PrNumber 5881

@gahorowi  Closing this PR due to upcoming directory restructuring changes. Please open this PR manually after 06/11 when the restructuring is complete.


WrapAPI Login call failing?

Starting today, perhaps yesterday, I've been unable to login using the WrapAPI login call -- looking at the logs (on WrapAPI), I see "Expired Session". Either I've done something wrong, or perhaps Alarm.com's PDA website has changed again.
Anyone else having issues controlling their alarm via HomeBridge?

Doing some more digging at WrapAPI, I'm seeing this returning in the rawData of the login request:
A 302 status code (moved temporarily)
/login.aspx?m=unexpectederror

Same problem here.

Same problem here, since yesterday. Last time it worked for sure was Sunday night.

Interesting. I'll try and take a look at this tonight.

In my amateur guessing, it looks to me like the initlogin needs to post to the url https://www.alarm.com/pda/Default.aspx, but other calls like login need to post to the url https://www.alarm.com/pda/main.aspx instead.  Not familiar enough with wrapapi service to do quick and dirty test though...

WrapAPI was including some weird looking variables in the POST. They must have always been there and I just didn't notice. Anywho, I removed them and now I no longer get a 302, but I am getting a session expired message. Typically, that would return a new session URL, which I would use to re-login. The only problem is that no longer seems to work. Even if I take the new session URL and immediately try within seconds, I still get the session expired message.
This is definitely a show stopper. I'll have to sleep on it, but in the meantime, if anyone has any other ideas please do share.

I was able to get new WrapAPI calls working with Alarm.com login -- I created fresh initlogin and login calls using the WrapAPI chrome plugin, and they worked, so this can be fixed. I'd share mine, but they're private as they include my login details and I haven't figured out how to scrub that out yet.
I looked into those odd variables and they are a part of ASP.net, and I believe they keep track of the form state (for multi-page processes, I assume). The ones that were previously being submitted we're likely quite old, generated when you first captured the page. Perhaps a ASP server upgrade invalidated the static ones you were passing and caused the web server to throw an error. Just guessing. Another thing I noticed is that the POST URL is now default.aspx, not Default.aspx. Doubt that matters. Or finally, perhaps another small page or process change was made that my fresh WrapAPI capture is now handling properly.
Perhaps try replacing those six values with some that are freshly generated? Even better would be to just collect those weird variables and pass them to the login call, similar to how you do with sessionUrl. That would ensure future compatibility if those values were indeed the issue.
Worse case, you could recreate those two calls using WrapAPI's chrome extension-- that worked for me. The good news is all of the other calls still work.

@jamiesteven Good news. You can mark your variables on Wrap as private and they won't get included when sharing. If you can't figure it out or don't have time, I'll re-create the calls when I get a chance, which will probably be this weekend. Either way, thanks for checking it out.

As @jamiesteven mentioned, updating the cryptic ASP.net form values on the login call restored functionality. The call has been updated to version 0.1.1 and the plugin has been updated on npm to 0.6.1. Everything is working great for me again. In a future version, I will try to programmatically capture and update those variables. Probably when it breaks again ;) I'm closing this issue, but please reopen if you continue to have problems after updating.

Thank you! Updated plugin and it's working again!!!

Yes, same here. Thank you for fixing it! Working now after updating the npm package.  Let us know if you make the next adjustment as well! Much appreciated!

@omarshahine @jomo25 Nice. Glad it's working.
I think one change I probably will make at some point, separate from the aforementioned change, is to replace references to versioned APIs with [apicall]\latest as opposed to [apicall]\version.
That way I don't have to update the plugin itself if/when something like this happens in the future. I'll just have to update the call on WrapAPI and everything should work.

@bryanbartow cool. That will be nice. Won't need to npm update then! Thanks!

Great news, thanks @bryanbartow!

Works like a charm. Thank you @bryanbartow !

Thanks @bryanbartow for jumping on this issue so quickly!  It's amazing how reliant one becomes on these automation tools...when they stop working it feels like a crisis.
Quick follow up question...I applied the update and ran through the WrapAPI tests again.  Basic alarm functions are now working but I've lost the ability to see or control the locks and garage door via Alarm.com's integration.  Has anyone run into similar problems?  I'm already at the office so I don't have the specific errors with me but if anyone else is using this additional integration, I'm anxious to hear if yours is working.  I can post the errors I'm seeing tonight.

@gsteever I don't have locks nor garage door connected to Alarm.com, so it wouldn't be possible for me to test. As this issue was related specifically to the login call(s), I'd appreciate it if you could open a separate issue. My guess is it will get more visibility that way, too.

It turns out this broke sooner than I thought ;) I have added an intermediate step to the plugin, which captures the ASP.net form values and passes them to the login call. This should prevent this particular problem from occurring in the future. You'll have to update your plugin and WrapAPI calls in order for it to work.

FYI, you might want to add the new getviewstate API to your readme file.  I noticed it wasn't there.  I found it by searching on wrapapi.

@solomonj1963 You're right. My bad. I've added it.


Added Audio for Puzzles

List of Changes
Additions

Simons Says Audio Feedback
Information Puzzle Audio Feedback
Calculate Puzzle Audio Feedback

Fine, made the changes myself.


Merchant Passed Email for Native Checkout, Update PayPalCheckout to 1.2.0

Reason for changes
Allows a Merchant to pass a user email to initiate a quicker authentication flow in cases where the user has a PayPal Account with the same email. And Update PayPalCheckout from 1.1.0 to 1.2.0
Summary of changes
Added a new parameter to PayPalNativeCheckoutRequest to handle the user email the merchant passes and modified the MockNativeCheckoutProvider so we can check if the email get passed in correct through the request
Checklist

[ ] Added a changelog entry

👋 These changes look good to me! There are some SwiftLint checks that failed.
The SPM build failures is related to the fact that this PR was open on a fork. So for now we can ignore that one, until we update our CI to support building for fork branches.

Hey @scannillo, I just updated and fixed the SwiftLint issues!

🎉 Great job!


report measure symmetry properly

The CrMi measure can potentially be either symmetric or asymmetric depending on parameterization. It should therefore report symmetry accordingly, and not just always return false on calls to #isSymetric().

Duplicate of #43


Why does /users work?

https://app.demojoyto.win/users
Returns the api response which I wasn't expecting

That is odd isn't it? It's an unintended side effect of the GET on /users being the same for the api and app. Given it doesn't cause any bugs and now we understand the behavior, I'm closing the issue.


Module 1.1 Assignment

Given what you have learned about Git, why would you want to use Git in your classroom?

@madhusona Can you answer the question please 😄

Git is a distributed version control system. By using git we can work together. It's easy to track issues,changes,progress in students project.


[question] Window border

Hey,
could you please tell me where you set the window border in the css because I want to make it thiner/remove it!
Thanks
~ Luna

For removing the border, you'd want to add /* to the beginning of line 24 (the line that says @import url(https://squirrelkiev.github.io/NewcordRevived/src/stuff/paddingWindow.css);) in newcord.theme.css and add */ at the end.
Line would then be /*@import url(https://squirrelkiev.github.io/NewcordRevived/src/stuff/paddingWindow.css);*/
For removing the border, I definitely need to work on making Newcord a little more customisable.


lib: Add sync version

I'm having a bad time to make it work under linux, but the code looks correct

I pushed some changes to put the sync implementation behind a sync feature and in a separate file with matching unit tests.
I'll try to test the example on a Linux device soon. Let me know if you figure out what the problem was.

I have it working standalone since I was meeting some deadlines, but based under the implementation of this pull request.
I should have more time to get back next year 😆


Using this with jqLite

Hi @jgermade !
You may remember me from the jqlite project.
I am looking for a way to inject CSS through JS dynamically and i was wondering, can i use this library with jqlite?
And if so, can i have some examples?
How would you add this code:
".myClass": {
        text-indent: -9999px,
        width: 16px,
        height:16px,
        border: none,
        margin-left: 15,
        margin-right: 15,
        cursor: pointer
    }

and this:
.media-player input[type='range']::-webkit-slider-thumb
{
-webkit-appearance:none;
border: 1px solid #000000;
height:36px;
width:16px;
border-radius:3px;
background:#ffffff;
cursor:pointer;
margin-top:-14px;
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
};

thanks in advance!

Hi @RongBranovate
If you use latest version of jqlite (v0.2.4), you can do following:
$('.myClass').css({
        textIndent: '-9999px',
        width: '16px',
        height: '16px',
        border: 'none',
        marginLeft: 15,
        marginRight: 15,
        cursor: 'pointer'
    });

basically replace css properties by camelCase version, not sure if you can reach an element with '::-webkit-slider-thumb' selector
thanks for your feedback @RongBranovate !!

css.js is just a single tool to transform a css string into html:
article#item-id.parent.element[data-some="attribute"] section.post a.link

to

Hi @jgermade ,
yeah, i understand, and you ware right... you can't use psudo elements in jquery .css() function... too bad :(


SSD1680 e-ink driver

Summary
E-Ink display SSD1680 support
Impact
None
Testing
Tested on EPS32 TTGO t5v2 with mono 2.9 e-ink display

Can you please also rebase on top of the latest master, not sure why the tlsr8278adk80d/nsh is trying to enable custom board configs, the history of the file shows that the defconfig never had those... cc. @xiaoxiang781216

@acassis Thx for Your remarks. I was wondering if split it into two commits or no. The reason, why I decided to pull all together was testing possibility. I can split it into two commits. I have some questions
1. Current implementation of driver was not tested on 3 color displays. Portrait mode with 3 colors should work. Landscape mode with 3 colors is not implemented (more complicated bit stripping). I decided to add #error macro in order to inform that some modes are not implemented.
   What should I do with the code for 3 color displays. Remove it or leave in current state? Maybe I should remove options with 3 color displays in Kconfig file?

2. Using E-Ink display has a little bit different philosophy in comparison to LCD or OLED. There is special command that redraw the screen. This operation is time consuming (about 1s) and energy consuming. Now display redraw content after changing the last row. I would like to add special IOCLT command or use the existing one, that as argument takes area. Area with width and height 0 determine, that we want to redraw screen. I didn't want to add driver that have an impact on using frame buffer. Is it acceptable in first version?

3. Missing library for coping bits, like memcopy for coping the bytes. Now special functions are in driver file. Is it acceptable?

4. There are 5 very similar functions ssd1680_snd_cmd_with_data0 .. ssd1680_snd_cmd_with_data4. I wanted to avoid using vargs macros. Is it acceptable or replace it by one function with variable number of arguments?

You can keep the entry in the Kconfig and just include ("not implemented yet").
Maybe you can support two options: an automatic redraw to use it similar to a LCD/OLED, then the last byte of framebuffer is written (last line/last column) is written it do the redraw and the IOCTL option to let user to redraw manually when some area of the display is written.
Yes, if you cannot use memcpy or similar, it is okay to have your own implementation.
I also thing it is better to have these 5 similar functions than using vargs, but there are some few drivers using vargs. If you decide to go this way, you are not the first one to follow this path.

@adamkaliszan seams there is an issue in the netnsh:
Configuration/Tool: ttgo_eink5_v2/netnsh
------------------------------------------------------------------------------------
  Cleaning...
  Configuring...
  Building NuttX...
src/esp32_ssd1680.c: In function 'board_lcd_initialize':
Error: src/esp32_ssd1680.c:137:9: error: implicit declaration of function 'esp32_spibus_initialize'; did you mean 'esp32_gpioirqinitialize'? [-Werror=implicit-function-declaration]
   spi = esp32_spibus_initialize(CONFIG_SSD1680_SPI_BUS);
         ^~~~~~~~~~~~~~~~~~~~~~~
         esp32_gpioirqinitialize
Error: src/esp32_ssd1680.c:137:7: error: assignment to 'struct spi_dev_s *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
   spi = esp32_spibus_initialize(CONFIG_SSD1680_SPI_BUS);
       ^
cc1: all warnings being treated as errors

Please normalize your defconfig like this:
./tools/refresh.sh --silent ttgo_eink5_v2:fb

to fix the following ci fail:
HEAD detached at pull/6378/merge
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   boards/xtensa/esp32/ttgo_eink5_v2/configs/fb/defconfig
	modified:   boards/xtensa/esp32/ttgo_eink5_v2/configs/netnsh/defconfig
	modified:   boards/xtensa/esp32/ttgo_eink5_v2/configs/nsh/defconfig

@adamkaliszan CONFIG_LCD_SSD1680_2_9=y is redundant setting

@adamkaliszan your fb defconfig still incorrect, you need to Normalize it using the refresh.sh script, then you will see that this option was removed:
diff --git a/boards/xtensa/esp32/ttgo_eink5_v2/configs/fb/defconfig b/boards/xtensa/esp32/ttgo_eink5_v2/configs/fb/defconfig
index b4ef353f11..4eaa7f56d7 100644
--- a/boards/xtensa/esp32/ttgo_eink5_v2/configs/fb/defconfig
+++ b/boards/xtensa/esp32/ttgo_eink5_v2/configs/fb/defconfig
@@ -31,7 +31,6 @@ CONFIG_IDLETHREAD_STACKSIZE=3072
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
 CONFIG_LCD_PORTRAIT=y
-CONFIG_LCD_SSD1680_2_9=y
 CONFIG_MM_REGIONS=3
 CONFIG_NSH_ARCHINIT=y
 CONFIG_NSH_BUILTIN_APPS=y

I will split this pull request int two parts: driver and BSP.

I would like to withdraw this pull request. I have added new pull request with driver only, without BSP


What is FastReport Designer Community Edition

What is FastReport Designer Community Edition?
In the  readme file it says that FastReport Designer Community Edition can be used to create the templates. What is it? How does it compare to online designer?
What is the license on it and what are the requirements to use it?

Hi,
FastReport Designer Community Edition is created specially for working with FastReport Open Source templates. It works only in Windows. FastReport Designer Community Edition is based on retail sources but it have some limitations: printing and exporting features, some objects are missing.  You can you FastReport Designer Community Edition and Viewer Community Edition for free.
FastReport Online Designer is commercial product for working with reports in the web browser. It have not Community edition at the moment.

it's a desptop application(.exe)


Annoying Intellisense Bug

Intellisense is not working for javascript defined variables e.g. document, window, etc.
Version: 1.78.2
Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: vscode.dev

same here. On vscode.dev.

Please share example code and steps to reproduce the issue

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

The intellisense works for html and css, but not for JavaScript.

not for JavaScript.

Please share steps explaining exactly what doesn't work

Step 1: go to vscode.dev in a browser (I used chrome).
Step 2: Click on the hamburger menu (three lines button) in the top left.
Step 3: File > New Text File
Step 4: Click select language, search for JavaScript and select it.
Step 5: Try writing some JS. For me, intellisense knew about keywords like 'var' and 'if', but not about global variables and functions like 'window' or 'Math' or 'document'.

Yeah, that's exactly what's happening to me.

intellisense knew about keywords like 'var' and 'if', but not about global variables and functions like 'window' or 'Math' or 'document'.
Yeah, that's exactly what's happening to me.

Step 1: go to vscode.dev in a browser (I used chrome).
Step 2: Click on the hamburger menu (three lines button) in the top left.
Step 3: File > New Text File
Step 4: Click select language, search for JavaScript and select it.
Step 5: Try writing some JS. For me, intellisense knew about keywords like 'var' and 'if', but not about global variables and functions like 'window' or 'Math' or 'document'.

Yeah, that's exactly what's happening to me.

Hey @mjbvz, this issue might need further attention.
@Patrick-Gledhill, you can help us out by closing this issue if the problem no longer exists, or adding more information.

The problem's fixed for me, at any rate.

I also can't reproduce this. Tentatively closing as fixed


I2C Repeated Start Conditions

I am trying use this library with some TI chip. Could you please explain how to use i2c.read(reg,length) to do Pointer Byte Set Followed by a Repeat Start and Word (Two Byte) Read as showing in the following figure? Now I can only use i2c.read and i2c.write seprately.

A typical I2C read situation that resembles reading from mpu6050 chip:

The Pointer Byter from Master byte you mentioned resembles the Reg Address byte shown above, and they were both followed by a Repeat Start signal from the master device (CH347). And the whole process may break down to two seperated steps: write 1 byte and read couple of bytes (2 bytes in your specific situation).
To perform a Repeat Start and Word Read (that your document called Repeat Start and Word Read) using this libraray, the code may look like this:
from ch347api import I2CDevice as i2c

dev = i2c(addr=0x48)  # in case of A0=0, A1=0, replace with actual 7-bits address of yours
pointer = 0xff  # replace with your pointer byte
response = dev.read(reg=pointer, length=2)  # Repeat Start and Word Read

I hope this would help :)

I tired you code but I found it doesn't work. I am currently using the following code:
i2c.write(reg=regbit)
d = i2c.read(reg=None, length=2)


chore: fix pr pipeline

Codecov Report
Patch coverage: 100.00% and project coverage change: +4.02 :tada:

Comparison is base (1f58281) 84.74% compared to head (a276491) 88.77%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##            alpha    #5345      +/-   ##
==========================================
+ Coverage   84.74%   88.77%   +4.02%
==========================================
  Files          11       14       +3
  Lines         177      579     +402
  Branches       32      221     +189
==========================================
+ Hits          150      514     +364
- Misses         21       61      +40
+ Partials        6        4       -2

Impacted Files
Coverage Δ

...eact-query-devtools/src/CachePanel/ActiveQuery.tsx
94.02% <100.00%> (ø)

... and 24 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


http: allow put_file()ing file-like objects

Since writing to HTTPFile is not supported, currently you can not upload arbitrary streams (unlike other filesystems where you could open a new file in writing mode through fs.open(path, 'wb') and copy the original stream through shutil.copy_file_obj() to the new file). Not sure if this would be worth documenting at the moment, but would be extremely useful to compensate for the missing w method at the moment while we are thinking about other solutions.

I agree. It might require a bigger design discussion, but something I wondered when I started to the migration to the fsspec was why this was not supported natively (since that would potentially render the requirement to the callbacks redundant, since we could simply wrap read() or write() methods of the original stream with the callback updates).

Should be callback.set_size(getattr(f, "size", None)) ? Or if hasttr(fm "size"):


No way to add custom OpenAI endpoint?

I am trying to use LM Studio as a server for Perplexica.
I looked at closed issues here like this one and have seen that the instructions are to specify a custom OpenAI endpoint in the settings. However, in the settings, I do not see that option. This is with a fresh install.

As you can see from the screenshot, the option for a custom OpenAI endpoint seems to be missing.
Was this option removed recently? I just installed Perplexica about an hour or so ago.

Hi, I changed how the providers were structured and forgot to add this provider. It should now be fixed by https://github.com/ItzCrazyKns/Perplexica/commit/3b4b8a8b0227cee590014f99e10aefd9e1176791, you just need to re-install and the patch will apply.
docker compose up -d --build

Updated; there is still no place to put in the OpenAI endpoint URL. And now 'Custom OpenAI' is the only option available from the dropdown; Ollama is now missing.


Implementing SGD for linear regression

I can see that Stochastic Gradient Descent has already been implemented. But linear regression works using simple gradient descent. What are the challenges to implementing SGD for Linear Regression.
SGD implementation: https://github.com/AtheMathmo/rusty-machine/blob/master/src/learning/optim/grad_desc.rs#L159
https://github.com/AtheMathmo/rusty-machine/blob/master/src/learning/lin_reg.rs#L157

Thanks for the report! Note that unfortunately, this project is kind of suffering from a maintenance bottleneck at this point: see the comments on #181 (and please let us know in the discussion there if you want to help bring the project to life again!)


Where is ./scripts/demo_SVR.sh

I can't find demo_SVR.sh

it's inference/demo.py (i updated the readme). Cheers;

Thanks.


Why it doesn't work on windows 10

Tell us about your request
A clear and concise description of what you want to happen or the change you would like to see
Which service(s) is this request for?
Let us know which product(s) you want this for?
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Are you currently working around the issue?
A clear and concise description of any alternative solutions or features you've considered or are using today.
Additional context
Add any other context or screenshots about the feature request here.
It doesn't work on windows 10 what kind of software that doesn't work on windows 10

hey @skchinna7 , Docker supports running Docker on Windows 10 Pro, Enterprise and Home using WSL 2.
For enterprise users you can look at using Docker Enterprise engine on Windows server editions.
Closing ticket, reopen if I missed something.


Apply to influxdb-ruby v0.2.0

In influxdb-ruby v0.2.0, this plugin doesn't work.
This PR applies to influxdb-ruby v0.2.0 for this plugin.

Hmm..., this PR may cause this issue: https://github.com/influxdb/influxdb-ruby/issues/55.
Could you try to avoid this issue?
e.g.)  Replace "." to "_" and so on.

Sorry, I don't use  invalid db names.
I'm using simple name (e.g. dstat)
Sample is as follow:
% /opt/influxdb/influx
> show databases
name: databases
---------------
name
dstat

> use dstat
Using database dstat
> show series
....
name: influxdb.dstat.host01.net_total
------------------------------------------
_key
influxdb.dstat.host01.net_total

name: influxdb.dstat.host01.swap
-------------------------------------
_key
influxdb.dstat.host01.swap

name: influxdb.dstat.host01.total_cpu_usage
------------------------------------------------
_key
influxdb.dstat.host01.total_cpu_usage

> select * from "influxdb.dstat.host01.total_cpu_usage"
...
2015-07-24T08:18:25Z	0.0			99.572			0.0			0.201			0.227			0.0
2015-07-24T08:19:25Z	0.0			99.284			0.093			0.202			0.413			0.008
2015-07-24T08:20:25Z	0.0			98.359			0.245			0.355			1.041			0.0
2015-07-24T08:21:25Z	0.0			98.053			0.212			0.491			1.244			0.0
2015-07-24T08:22:25Z	0.0			98.342			0.220			0.347			1.091			0.0
2015-07-24T08:23:25Z	0.0			98.345			0.355			0.329			0.971			0.0

Thanks for your response.

I'm using simple name (e.g. dstat)
Sample is as follow:

[snip]
I understand.
Your concrete example helps me to understand invalid dbname issue detail.
From a conclusion, I've misunderstood this issue.
Your PR looks good to me.

I recommend bumping the version to 0.2.0 to follow in line with Influxdb-ruby. Also, 0.2.0 officially doesn't support 0.8 Influx so the README should reflect that. #22 does both of these.

@williampratt, thank you for your recommendation.
I like your idea!
I added "NOTE" which description of description of InfluxDB version compatibility to README.

OK. I'll remove this change.

Thanks!


Does Connaisseur have caching mechanism that prevents repeat verification of an image?

Describe the feature
Our environment requires to create/delete lots of pods with same image. It pressures our internal registry as each pod image verification request reaches container registry.
If there is a cache mechanism such that connaisseur automatically approves images that have been previously verified, it would largely reduce registry's pressure and verification latency of pods.
Optional: Is your feature request related to a problem? Please describe.

Optional: Implementation ideas

I think it is doable to implement an in-memory cache. When a verification request comes in, check whether the image is in the cache and auto-approve the in-cache image.
Optional: Additional context

This will be part of the Golang rewrite, see https://github.com/sse-secure-systems/connaisseur/discussions/1513.

Thanks @peterthomassen! is there a roadmap for golang-rewrite being released?

@qx121 yes there is a roadmap and it says it's released at this very moment.

I love how you do a language change in a minor release. :sunglasses:


Hi in some devices i have this error  com.downloader.Error@c4e822c

com.downloader.Error@c4e822c
response code is 400
please help me

This error could be caused by not requesting user explicit read and write storage permissions, you can refer to this stackoverflow question here


PLUTO QAQC Enhancements

For 24v3
Inspired by work during corrections #831. Slight overlap with #847 though this has more focus on QA and will hopefully be less rambling
Outlier Analysis
Unreasonable increase in building area
Currently (and since this table's creation in 2021) this actually is showing changes in LOT area, not building area. This maybe should just be split into two different checks

lotarea - since we have geometries, maybe more informative than a change in lot area would simply be comparing reported lot area to calculated area (with st_area in postgis). Most of the ones flagged this past time were lots that in the past had had far too low lot areas that were now fixed, and so they're unhelpful to be reported.
bldgarea - since we can't calculate this, we could use the current intended check (in addition to the bldgarea/lotarea vs floors check)

Unreasonably small apartments
In #538, I added ownername as a field and ability to filter out NYCHA records. It would be great to be able to filter out or flag other records that have simple explanations

During QA, I found many records with class b units, that might actually have accurate areas. It would be great if we could somehow get this in the table, though I don't know if that info is currently available in PLUTO's build. Some investigation could be done can we easily join DOB records? Are there owners other than NYCHA that correspond to class b records?
There were multiple vacant lots with new PTS entries that were clearly wrong. Can these be identified upstream? Maybe this belongs more in #847, but flagging is lower risk than trying to implement something automated

New and Vanished BBLs
It would be nice to have these as two separate tables. That could be handled on QA app side rather than the data export, either way
Other
A handy report for us would be corrections corresponding to the current build version that do not get applied, as presumably that should never happen

The "Unreasonably small apartments" section is largely handled by @sf-dcp 's ongoing work, and is out of scope for this issue


delete some code

What this PR does / why we need it:
Delete some redundant code
Which issue(s) this PR fixes

Fixes #
Please leave this checklist in the PR comment so that maintainers can ensure a good PR.

/assign @mhbauer

/assign @carolynvs

/ok-to-test
/lgtm

/retest

/approved

/approve


chore(connlib): respond with empty records to HTTPS query

Applications may query domains for HTTPS RR using the HTTPS record type. connlib operates on OSI layer 3 and thus can only hand out IPs for the particular domains. The correct way to signal this to applications is to answer the HTTPS query with NOERROR and return an empty set of records.
RFC9460 says the following:

If one or more "compatible" (Section 8) ServiceMode records are returned, these represent the alternative endpoints. Sort the records by ascending SvcPriority.
Otherwise, SVCB resolution has failed, and the list of available endpoints is empty.

This implies that returning no records is valid behaviour and forces the client to consider the HTTPS DNS query as failed and query for A / AAAA records instead (if it didn't do so via happy-eyeballs already).

Just curious if this is tested? I believe it was mainly Safari on macOS/iOS that needed this.

Yeah, originally the problem was that macos/ios tries to use  HTTPs and A/AAAA at the same time and if the query from upstream DNS came back before our response from our A/AAAA macOS/iOS would use that name resolution.
But I believe as long as we don't forward the queries it doesn't matter too much what we do with it, it's good to conform to the RFC.

Removing from merge queue to have the opportunity to test before merging!

Tested this on my MacBook with wire::dns::res=trace enabled. Saw lots of HTTPS queries made by Safari when navigating websites. All the ones that are resources worked flawlessly.


Question - spectrogram - display only f0

Hi,
I was wondering if anyone knows how to extract the fundamental frequency from audio / buffer.
I currently use a Praat script to render the f0 curve, but this is not the "greatest solution" as Praat is not a command line tool and might work or not depending on the server libraries...
Regards

Extracting pitch is non-trivial, but it’s relevant that Praat has published its pitch extraction algorithm:
http://www.ucl.ac.uk/~ucjt465/tutorials/praatpitch.html
This topic was mentioned in  #269.

Maybe pitch.js can help: https://github.com/audiocogs/pitch.js

@thijstriemstra :thumbsup:

Thanks for your answers !
I'll take a look at pitch.js

Looks like Chrome is also getting AudioBufferSourceNode.detune: https://www.chromestatus.com/features/5677186052784128


CSS nested class inheritance

If a node at a given level has a .class spec, then it should bring in css sub-properties that are nested within that .class in the style sheet?  Overall, not really dealing with nested classes basically.  Need to figure out what the proper behavior is and see how to impl.

no longer relevant :)


Moving logos slider showcasing companies

We are ready to start exploring the design of the logo carousel for the DVC Home page redo.  The folder with logos is here.  We are still working on collecting them.  I would like to see it be a relatively thin line between sections, one logo high, so that it doesn't take up too much space and people can continue to digest the rest of the material on the site.  Also, this way it would look like it's never-ending.
Originally posted by @jendefig in https://github.com/iterative/dvc.org/issues/3833#issuecomment-1362019112

@jendefig @shcheklein Is this still a p1, and what's the status?

I think that we have enough logos now that we could make this look right.  I just need @jurv11 to give me the rest of the labels from Studio side that we have permission to use that aren't already on the iterative.ai site.
We can add to them as time goes on.

@yathomasi We have enough logos now so that this would be desirable to get finished, including permission for Huggingface which will be great.  I talked to @shcheklein and If we could get just this part of the web redesign over the finish line, that would be great as it will likely be pretty impactful, and then we will hold on the other sections we need to complete.

FYI looks like huggingface brand logos are not single colour: https://huggingface.co/brand
@jendefig  - I can't upload the assets to the DVC Permitted logos due to permissions

@omesser I already put the logo in SVG form and now PNG in the folder!


Draft Contributing guidlines

This draft still needs a lot of work.
Hey guys could you take a look and give me early feedback on the wording?
Thx

Here is what I recommend:

[ ] Do this
[ ] Do that
[x] Do another thing

What do you think?


mozilla-tts: how to build

I am currently trying to reproduce your docker container,
but versions sounds a lot metallic compared to yours.
I copied out the model but it does not sound as good.

Mhm. It looks like it does not yet load the PWGAN model.


Attestation APIs like AttestationAdministrationClient::ResetAttestationPolicy should use the correct application/text as the content-type header

For example, the ResetAttestationPolicy API seems to set the content-type to application/json, but the swagger suggests application/text:
https://github.com/Azure/azure-sdk-for-cpp/blob/72cdbaa0fed2ba847607a0a5f372d70f83c41f2d/sdk/attestation/azure-security-attestation/src/attestation_administration_client.cpp#L267-L272
https://github.com/Azure/azure-sdk-for-cpp/blob/72cdbaa0fed2ba847607a0a5f372d70f83c41f2d/sdk/attestation/azure-security-attestation/src/private/attestation_common_request.cpp#L58
Swagger:
https://github.com/Azure/azure-rest-api-specs/blob/89cf9b25cff57a5336e3a2bd7fc19a0072f5a7be/specification/attestation/data-plane/Microsoft.Attestation/stable/2022-08-01/attestation.json#L131-L133
See .NET SDK for reference:
https://github.com/Azure/azure-sdk-for-net/blob/33f807e6358fe876b0cbf768c5bb02c172eaaba9/sdk/attestation/Azure.Security.Attestation/src/Generated/PolicyRestClient.cs#L183-L184
And Python:
https://github.com/Azure/azure-sdk-for-python/blob/3c950394efa40a59d18b78a9b1ab913c0ff38f69/sdk/attestation/azure-security-attestation/azure/security/attestation/_generated/aio/operations/_policy_operations.py#L193-L194
The same applies to methods like Set Policy.
cc @LarryOsterman, @RickWinter

@ahsonkhan just to confirm. The recommendation is to update https://github.com/Azure/azure-rest-api-specs/blob/main/specification/attestation/data-plane/Microsoft.Attestation/stable/2022-08-01/attestation.json#L83 and  https://github.com/Azure/azure-rest-api-specs/blob/main/specification/attestation/data-plane/Microsoft.Attestation/stable/2022-08-01/attestation.json#L132 with the application/json value for the consumes' key words value. Correct? The title specifies application/text


[Scaler] Azure Monitor

A generic Azure Monitor trigger for resources that support monitor but don’t yet have a scaler.
/cc @jsturtevant

Bumping this as this came up today by @jornbeyers.
Having this scaler would allow customers to target any Azure resource without having a dedicated scaler. This would end up being a "generic Azure scaler" where the scalers like Azure Service Bus are more scalers that make it more convenient.
There are two flavors of this that I see:

Query metric in Monitor based on customer input (similar to how Promitor does this)

Required info is metricName, resourceUri, resourceGroup, subscriptionId

Run in-line Kusto query (advanced)

Happy to flesh out a spec proposal if you want

Adding this to v1.1 to support metrics we don't expose via our other Azure scalers yet

@tomkerkhove, per my manager's suggestion I was thinking of picking this up. Do you have some time this week to sync on this? And I can align my code with your spec.

I'm going out-of-office tomorrow so might be a bit short notice, but I had something like this in mind.
Authentication
My suggestion would be to support managed identity & service principle-based auth.
Our docs should also clearly document what permissions should be granted, in this case Monitor Reader should be sufficient, similar to Promitor
Managed Identity
MI is super simple:
apiVersion: keda.k8s.io/v1alpha1
kind: TriggerAuthentication
metadata:
  name: trigger-auth-monitor
spec:
  podIdentity:
    provider: azure

Service Principle
I'd suggest to use following parameters for Service Principle-based auth, but they are just suggestions:

adServicePrincipleId - Application ID of SP
adServicePrinciplePassword - Password of SP

apiVersion: keda.k8s.io/v1alpha1
kind: TriggerAuthentication
metadata:
  name: trigger-auth-monitor
spec:
  podIdentity:
      provider: azure
  env:
  - parameter: adServicePrincipleId
    name: MONITOR_AD_APPID
  secretTargetRef:
  - parameter: adServicePrinciplePassword
    name: secrets-demo
    key: ad-sp-password

Trigger Metadata
There are a couple of options:

Pragmatic - Specify subscriptionId & resourceGroupName as seperate entries
Advanced - Enforce full uri a la subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.ServiceBus/namespaces/contoso-orders

Personally I'm more of a fan of the pragmatic approach as people just have to provide the info and we compose the full resource URL which makes it easier to use it given they don't have to know/care how it works
Pragmatic
apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
metadata:
  name: order-processor-scaler
  labels:
    app: order-processor
    deploymentName: order-processor
spec:
  scaleTargetRef:
    deploymentName: order-processor
  # minReplicaCount: 0 Change to define how many minimum replicas you want
  maxReplicaCount: 10
  triggers:
  - type: azure-monitor
    metadata:
      resource:
        uri: Microsoft.ServiceBus/namespaces/contoso-orders # Required. URI to the Azure resource
        tenantId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx # Required. Used for authentication (unless I'm mistaken)
        subscriptionId: yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy # Required. Used for determining the full resource URI
        resourceGroupName: keda # Required. Used for determining the full resource URI
      metric:
        filter: EntityName eq 'orders' # Optional. Used to define more specific part of the resource, in this example a queue in SB namespace
        name: ActiveMessages # Required. Officially supported metric from https://docs.microsoft.com/en-us/azure/azure-monitor/platform/metrics-supported
        aggregation:
          interval: 00:15:00 # Optional. Interval over which the metric values should be aggregated and reported
          type: Total # Required. Aggregation type to use for metric based on what is supported https://docs.microsoft.com/en-us/azure/azure-monitor/platform/metrics-supported
      auth:
        adServicePrincipleId: ABC # Optional. Used when no trigger auth is linked
        adServicePrinciplePassword: xxx # Optional. Used when no trigger auth is linked
    authenticationRef:
      name: trigger-auth-monitor

Advanced
apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
metadata:
  name: order-processor-scaler
  labels:
    app: order-processor
    deploymentName: order-processor
spec:
  scaleTargetRef:
    deploymentName: order-processor
  # minReplicaCount: 0 Change to define how many minimum replicas you want
  maxReplicaCount: 10
  triggers:
  - type: azure-monitor
    metadata:
      resource:
        uri: subscriptions/xxx/resourceGroups/yyy/providers/Microsoft.ServiceBus/namespaces/contoso-ordersMicrosoft.ServiceBus/namespaces/contoso-orders # Required. URI to the Azure resource
        tenantId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx # Required. Used for authentication (unless I'm mistaken)
      metric:
        filter: EntityName eq 'orders' # Optional. Used to define more specific part of the resource, in this example a queue in SB namespace
        name: ActiveMessages # Required. Officially supported metric from https://docs.microsoft.com/en-us/azure/azure-monitor/platform/metrics-supported
        aggregation:
          interval: 00:15:00 # Optional. Interval over which the metric values should be aggregated and reported
          type: Total # Required. Aggregation type to use for metric based on what is supported https://docs.microsoft.com/en-us/azure/azure-monitor/platform/metrics-supported
      auth:
        adServicePrincipleId: ABC # Optional. Used when no trigger auth is linked
        adServicePrinciplePassword: xxx # Optional. Used when no trigger auth is linked
    authenticationRef:
      name: trigger-auth-monitor

Closing
I've based this proposal of what I've seen on Promitor and is very similar to what we provide with our Generic Metric Scraper.
From what I'm seeing one thing is missing which is how often our metric server should query Azure Monitor. I'd advise to use every one/five minutes since there is already a 5 min delay on Monitor which could otherwise result in incorrect metrics. This could be surfaced & tweaked in the spec via a property like scrape.interval or query.interval
What are your thoughts @jeffhollan @ahmelsayed @melmaliacone?

@tomkerkhove This looks good to me, but I don't have as much context as everyone else on this thread. I agree with you on the pragmatic approach over the advanced. And one-five minutes sounds good to me as well. I'm going to wait for the others to respond and then pick this up Friday and start playing around.

Awesome thanks! Feel free to join the standup tomorrow if you have time, I'll try to join as well

@tomkerkhove Can you forward me the invite? I don't think I have it<EMAIL_ADDRESS>

I'll make sure to be there! Thanks for mentioning it, Tom.

My pleasure! You can find it here https://github.com/kedacore/keda#community

This feature will allow to use KEDA with security sensitive workloads.
Instead of providing KEDA read access to the data plane, where messages with sensitive information is located, this feature will allow to grant KEDA access to metrics only.
I'm looking forward to start using it.

Sounds like a good scenario! Happy to say @melmaliacone is already working on this!
Any update on the progress @melmaliacone?

@tomkerkhove, got caught up in work stuff but I'm heads down on this until I finish this. I expect to have a PR the end of this week or the beginning of next. I know the pieces I need to glue together, just need to actually do it.

Awesome, thank you!

Reopening for docs.
Would you mind sending a PR for that @melmaliacone?

Reopening for docs.
Would you mind sending a PR for that @melmaliacone?

Will do! Ran into some computer issues that required a fresh OS install, but it's at the top of my list.

Thanks!

Done via https://github.com/kedacore/keda-docs/pull/82, thanks!