DAPPs - tx notifications

Need to add transactions notifications for DApps.

After testing please move to 6.2. Need to add progress at the bottom of notification.

Checked.
Moved to 6.2 to add progress at the bottom of notification.

releated to https://github.com/BeamMW/dao-core-app/issues/3


Support native  in mat-form-field

Should work similarly to using mat-form-field with an <input>. Styling is obviously best-effort, since we don't have full control over how the OS renders options.

It is resolved as PR #12707.

Can I ask what prompted this feature? Is there a known performance issue? I'm seeing a bug with mat-select in v6 where the same mat-control code renders mat-options in some scenarios but not in others.

@jelling It gives people more options. A native select is inherently more performant, more accessible, and has less code.
If you have a bug to report, please open a new issue.


npm run babel with any change at all breaks plugin

Hi, I know that this is deprecated, but while we are awaiting your new plugin, I was hoping to make a small change to allow handle grabbing. But it seems as if any change at all I make to your plugin (followed by npm run babel) breaks it. Is there some trick to re-compiling after making a change? Here were my steps:

Change line 16 from el.draggie = new Draggabilly(el) to el.draggie = new Draggabilly(el, { handle: '.handle' })
npm run babel

and the errors I get after that are: draggie is not defined
( btw if I run the npm run babel command after making a change on the parent plugin, it works just fine)
Any suggestions? Thanks!

Well, I found a workaround by manually editing the original build file. It seems that the babel build process introduces some odd changes that break the plugin. By comparing my babel build with yours, I was able to just add the code I needed directly to the build.js file. Ugly process, but it works.

This plugin is no longer maintained, in consideration that packery doesn't play very nice with Vue. Development of a "native" bin packer will continue here => vue-binpacker-plugin.


Receive only header data, what is wrong

As in the screenshot visible, I received only header data, no details.
I have a XC90 recharge, so a hybrid car.
The flag in the configuration for electric cars I don't set.
In the developer portal I had only create a app, only the name and then I copied the api key
What can I do?
Thx
Thomas

What is debug log saying

What is debug log saying

can any help me with my issue or my car, maybe the problem is, it is from 2024

now it works, without any change


Update golang to latest patch version

Motivation
Fix security issues in golang
Approach
Update to latest patch version

Coverage remained the same at 89.379% when pulling 52ac648e91c80abd40b76eacf0b59ae5b4bc054b on up-golang into 7b053988866947f624b7f66c6be43de287461e35 on master.


Language Server guide

Would be great if you could include some kind of example or reference guide for how to write a Language Server (standard IDE protocol) for a language written in Chevrotain.
Even for something as simple as the calculator or tinyc. It seems like quite a jungle to get started. Does anyone have experience in this regard or know of some good resources?

I started an app-ml project here.
I will try to add VSCode extension and Language Server support with well documented instructions.  You can then use it as reference.

I wrote one here (but I am using my Chevrotain parser only indirectly there).
In my experience the official example was very helpful. It is not difficult to integrate your Chevrotain parser once you have learned how to set up a language server, so I am not sure if a Chevrotain-specific example is really necessary.

This is a topic that greatly interests me.
For example my Toml-Tools project

https://github.com/bd82/toml-tools
Could be expanded to include more editor tooling capabilities (not just a formatter)
and wrap those tooling in the Language Server Protocol.

As always the limiting factor is free time... I doubt I will personally get around to it
but will be willing to accept contributions 😄

I wrote one here (but I am using my Chevrotain parser only indirectly there).

Thanks for that link @christianvoigt  I may use it as a reference in my Toml-Tools project 👍

Great! Thanks. Well, it could just be a link of reference examples for "in the wild solutions" or perhaps an awesome-chevrotain page or repo... Cheers!

I'm pretty far now, with a well documented project, investigating how to do the "full shebang".
app-domain-ml
Still a WIP.

FWIW, Stardog Union (where I work) uses chevrotain to build parsers for RDF-related languages, and these parsers back our stardog-language-servers. So, if you follow the trail from our language servers repo to our parsers repo, you'll see some "in the wild" uses of chevrotain with the LSP (we also have VSCode extensions that use the language servers, if that's of interest). Our language servers are all relatively new, and they'll continue to improve as time goes on; right now, the one for SPARQL has the most features, so you might look at it and at the AbstractLanguageServer class that our language servers extend.

Sweet :) Thanks! I'm trying to build a "best practices" how to guide with a walk through and examples.
Also trying to add better support for CST with location info for source maps, and how to best deliver auto-suggest etc

ArgDown also seems to contain a Language Server which uses a Chevrotain Parser.

https://github.com/christianvoigt/argdown/tree/master/packages

Sweet. I'll get back to it shortly. Thanks for helping to make this happen!!

I've since then converted the official mini SQL language lexer, parser, actions and error recovery tutorial to TypeScript here and now working to add it as a VSC language extension with syntax highlighting and LSP.
Would love any help. I'm also planning to create some kind of infrastructure for chevrotain to make this process much easier.

@jmrog I'm now finally looking into your stardog LSPs to see what I can use. I also know that some new "token tracking capabilities" have since been added to chevrotain which should make it easier to add such features and also more powerful/useful.

On a related note, I am working on some editor services logic for XML.
Specifically content assist and validations.

See: https://github.com/sap/xml-tools

This is the pure logic of implementing the editor services, not the language server protocol.

@bd82 Good stuff! I've been working on sql-lang the mini SQL chevrotain tutorial ported to TypeScript and now with utilities and documentation for writing a VS Code language extension complete with Language Server. Almost there...

@kristianmandrup is all the source code in that repo supposed to be there in the final version?
or are those left overs from copying stardog code?

@bd82 Still needs to be cleaned up as bit as you point out. Will have it ready by next month I believe. By "almost there" I meant as least there is sufficient info and code there now for someone to implement their own VS Code extension and Language Server. The LSP implementation in turn would work for any compatible editor/IDE.

@bd82 I plan to do a full VSC extension and LSP for the sql mini lang tutorial

O.k. great, I may be interested in creating a VSCode Extension with XML capabilities.

(time permitting...)

So this Language Server example may come in handy 👍

It is looking pretty good now. Please check it out and let me know what you think. What could be improved etc. Pretty extensive and detailed docs and a lot of baseline functionality to work from.
Cheers.

Some Random thoughts:

Could the syntax directory be generated using reflection on Chevrotain's Grammar Structure?

Does this happen here?

Relative dependencies between different packages seem strange.
Should this JSON Error Recovery Parser be removed?
Should the Actions folder be removed?
A separate .md file for each .ts file seems to double the number of files making navigation harder and also create a lot of duplication as large code snippets are copied from the source files to the .md files.

General Impressions
There seems too many LOC(> 3000) and files (for me) to easily understand the relationships.
Also there seems to be too many concerns, in-direction and abstractions, e.g:

Is this model/syntax generation generic? if so could it be used as a "black box" via an npm dependency instead of adding complexity to the example?
Why is an extensible BaseLangaugeServer class needed as the scope of an example/tutorial?
Why is grammar inheritance used in the scope of an LSP example/tutorial?

What is the actual functionality presented?

LSP Diagnostics
Syntax/Model files generation
anything else?

Potential Missing Functionality:

No Error Recovery enabled parser that I can find, so the parser will stop on the first error...

@bd82 Thanks for having a look at it. My initial goal has mainly been experimentation. The packages folder is not "real", just an indicator that the folders under it could be split out into one or more separate modules. It has yet to be structured in a more meaningful way. May main focus during the past couple of weeks has been to create a way to generate the VS Code syntax (json) file directly from the parser meta data (see tests and markdown docs on VS Code extension.
I just put it all in the sql-lang product for now, as I want to explore a full solution using the sql-lang before extracting the utils into one or more separate chevrotain helper modules.
I added error recovery only for the sql-lang parser example, taken directly from your tutorial. Have yet to generalise it.

Could the syntax directory be generated using reflection on Chevrotain's Grammar Structure?

Does this happen here? yes, but needs additional meta data (I think) or a grammar language that is more "open"

Relative dependencies between different packages seem strange. Yes, I have not yet bothered to make it into a proper mono repo. Could also be done via the tsconfig file, I know - but forgot how. Been used to using lerna for this

Should this JSON Error Recovery Parser be removed? Well, is just a port of tutorial example for now

Should the Actions folder be removed? Well, is just a port of tutorial example for now

A separate .md file for each .ts file seems to double the number of files - this is for my own sanity so I can "keep it all in my head", as I'm not as well versed in all this infrastructure

Is this model/syntax generation generic? yes, it should be extracted into an npm module to be used as a "black box"

Why is an extensible BaseLangaugeServer class needed as the scope of an example/tutorial? It is also to be extracted eventually. Only there during experimentation/development phase

Why is grammar inheritance used in the scope of an LSP example/tutorial? Please elaborate

Why is grammar inheritance used in the scope of an LSP example/tutorial? Please elaborate

I meant what is this turtle Parser?

https://github.com/kristianmandrup/sql-lang/blob/master/packages/turtle/turtle-parser.ts

Should this JSON Error Recovery Parser be removed? Well, is just a port of tutorial example for now

The tutorial Error Recovery code uses a JSON grammar, so I am not sure it is relevant for the LSP for SQL scenario.
Maybe I did not understand what you are building?
Is it:

a Mini SQL Grammar/Parser with LSP Server example.
A Full Chevrotain Tutorial with LSP example added?.

I thought it is the first one, but if it is the second one it could explain some of what I've been confused about.
Any if you are implementing diagnostic language services (via LSP).
You may not want to stop on the first error, so you may want to enable error recovery
for your SQL grammar, you may even want to manipulate how the error recovery behaves, Examples from XML Editor Tooling project:

Enabling Error Recovery
Manipulating Error Recovery Logic
Defining Some Invalid Tokens to improve recovery behavior

Exactly. The goal was to take the mini SQL language and make a full implementation including VS Code language extension with LSP (1 and 2 in effect). I wanted the code to facilitate it all "close at hand", in order to get a working implementation. Next step figuring out how to best extract the individual parts into reusable modules.
I kept the turtle parser around since it demonstrates using simple namespaces, something I'm interested in. I might want to extend the language to demonstrate that (or another simple language example).
I'd love to see this sort of scoping functionality be easy to add to any chevrotain parser, especially nested scopes. Do you have any examples of that? I've seen that for ANTLR and I have the ANTLR books (and sample source code) as reference...
Thanks for the tips! I'll check it out tmrw.

Some things I could see included in a Chevrotain Grammar + LSP + Editor Services scenario.

Error Recovery
Enabling Location Tracking on the CST-Nodes
Defining an AST that includes additional syntactic information (e.g open/close tags tokens in an XML Element).
Logic to startup LSP Server and expose capabilities
Several Capabilities, e.g:

Content Assist
Diagnostics
Outline
Folding

Syntax/Model generation.

The problem is that that is a lot of "functionality" for an example/tutorial.
It sounds like it could fill out multiple blogs. And some specific functionality needs to be "dumbed down" for a tutorial scope and also not generic enoguh so it may not be production quality code...

I'd love to see this sort of scoping functionality be easy to add to any chevrotain parser, especially nested scopes. Do you have any examples of that?

Are you talking about fully qualified names, lexical scopes, identifier scope resolving, ... ?
If so that is part of building a compiler and should normally be done by processing the AST, meaning after Chevrotain has finished its role of syntactic analysis.
Another reason not to add such logic during the parsing phase is that a name may not necessarily need to be defined before (line number) it is used.
Or some names could only be resolved once some imports/linking is done.
For example in JavaScript a function may be defined after it is called (in line numbers).

The BaseLanguageServer includes:

Diagnostics (error hints)
Hover tooltips (identifies entities in Turtle grammar and shows "expected"
symbols in the case of an error)

    const lexDiagnostics = this.getLexDiagnostics(document, tokens);
    const parseDiagnostics = this.getParseDiagnostics(document, errors);

    return this.connection.sendDiagnostics({
      uri,
      diagnostics: [...lexDiagnostics, ...parseDiagnostics]
    });

Error Recovery: TODO
Enabling Location Tracking on the CST-Nodes - Already in place (see diagnostics methods in AbstractLanguageServer)
Defining an AST that includes additional syntactic information (e.g open/close tags tokens in an XML Element): See below
Logic to startup LSP Server and expose capabilities - already there (see cli and worker in base-language-server)

class BaseLanguageServer {
  // ...
  get capabilities() {
    return {
      // Tell the client that the server works in NONE text document sync mode
      textDocumentSync: this.documents.syncKind[0],
      hoverProvider: true
    };
  }
// ...
}

Capabilities:

Content Assist: partly done (see handleHover in AbstractLanguageServer)
Diagnostics - done (see onContentChange in BaseLanguageServer)
Outline: done (language-configuration.json)
Folding: done (language-configuration.json)
Syntax/Model generation: See util/syntax-gen and utils/model-gen

As far as I understand, the language-configuration.json provides folding, comment/uncomment and outline out of the box. Makes sense when you think about it. All that is needed
{
  "comments": {
    "lineComment": "//",
    "blockComment": ["/*", "*/"]
  },
  "brackets": [["{", "}"], ["[", "]"], ["(", ")"]]
}

I read multiple blogs to get this far. A good one is on the  dot language by Fredericco Tomassi, where he uses chevrotain with VS Code, I believe.
You're right, all that belongs in the compiler. I'll remove the turle-lang "module" then. Any chance you will add compiler tooling to the mix in the future for such common cases to make it easier to write a compiler?
Yeah, would be nice with a number of blog posts to go through this when it's ready! Would love to collaborate on that, perhaps with Fredericco as well.

A good one is on the dot language by Fredericco Tomassi, where he uses chevrotain with VS Code,

Any chance for a link? sounds interesting.

Any chance you will add compiler tooling to the mix in the future for such common cases to make it easier to write a compiler?

That is unlikely, Chevrotain is quite complex and large with ~10,000 productive LOC and probably ~40,000 Total LOC. This is fairly large for a "spare time side project". I'd like to cleanup & simplify things rather than increase the scope of the project.

Would be nice with a number of blog posts to go through all this when it's ready! Would love to collaborate on that, perhaps with Tomassi as well.

Yes could be very interesting, I helped The Tomassetti brothers a little with this article in the past.
Summary
Sounds like there is a fair bit of functionality in your LSP example.
And some potential for utility npm packages (syntax gen).
If it could be simplified/cleaned-up/minimized enough we could also consider adding it as an "official" example.

https://github.com/SAP/chevrotain/tree/master/examples

This will provide higher visibility and integration into Chevrotain's CI/Build
So it will always be up-to-date with latest Chevrotain APIs.

Here is the link: https://tomassetti.me/language-server-dot-visual-studio/
This blog post is also really good (why a DSL?): https://tomassetti.me/domain-specific-languages/
I'll check out your article. I'll try to wrap up my current effort with sql-lang to serve as a foundation for devs going that route. Then we can build on that progressively.
I see wrapping any parser/compiler with a minimal editor/IDE extension as essential for any language to be useful.
I'll try to add some compiler tooling libs next year when I have time.
I'd be happy to have it as an official example down the road as you suggest.

I've now extracted part of my project as chevrotain-editor-utils
Will do the same for the LSP specific (chevrotain-lsp-utils)

For the LSP utils I need to remove/reduce interdependencies by using interfaces and higher order functions or classes in some case. Almost there.
How about we implement LSP with content assist for a minimal language:
= and * with scoped identifiers
a = 1
{
  b = 2
}
{
  c = 3
  a * [content assist suggestion: a, c via scoped identifier lookup table
}

Thanks for the links.

I see wrapping any parser/compiler with a minimal editor/IDE extension as essential for any language to be useful.

True, but there is always the question of available resources 😢
I will hopefully be expending the XML Tools capabilities (next quarter?).
But I may need to implement similar language services for a couple of additional languages
to be able to start generalizing possible generic capabilities. So such capabilities
seems a little unlikely at this time.

How about we implement LSP with content assist for a minimal language:

I think that using the same language (Mini SQL) for the whole Editor example makes more sense.
Could the language be expended to include scoping? would colum aliases with nested subqueries introduce scoping rules? (I am very rusty with SQL...)
BTW Note that while Chevrotain supplies an API for syntactic content assist.

https://sap.github.io/chevrotain/docs/guide/syntactic_content_assist.html#syntactic-content-assist

I actually did not use it while implementing the XML Editor Content Assist.
Instead I implemented custom logic on the CST structure (using a CST Visitor).
I found that to be:

Faster
Supports error recovery scenarios
Easier to sync with the ASTNodes.

The content assist would normally work on the compiler level, ie. the compiler creating a tree structure with parent child scoping, with a lookup table of local vars on each scope, then checking all the way up the tree for the first match, serving all the available options at that position. So it would always have to be custom. This could be combined with syntactic content assist as you point out. Didn't notice that feature before! I'll see what I can do end of this week or at least before New Year. Yeah, the compiler could use CTS Visitor to build up the tree structure with lookup tables. Ideally reusing existing sub-trees as Anders Hejlsberg pointed out. I come from a Pasacal, Turbo Pascal background myself back in the day and I'm from Denmark as well. We're pretty strong on prog. languages (C++ comes to mind).

Didn't notice that feature before! I'll see what I can do end of this week or at least before New Year.
Yeah, the compiler could use CTS Visitor to build up the tree structure with lookup tables

I did not use the CST to build the lookup tables, some content assist
may not be about names rather about values e.g ENUM Values (without prefix).
The CST Visitor I implemented for content assist instead did two things:

Figure out what kind of content assist scenario a specific offset represents, e.g:

XML Element Value scenario
XML Attribute Key scenario
...

Link to the relevant AstNodes built by a separate CSTVisitor.

Thanks. I've now started a scope lang.
Visitor
https://github.com/kristianmandrup/sql-lang/blob/master/src/scope-lang/nested-scope-visitor/actions-visitor.ts
Spec: All tests pass
https://github.com/kristianmandrup/sql-lang/blob/master/src/scope-lang/nested-scope-visitor/actions.spec.ts
a=1 { b=2 { c=3 } }
Not sure how to build a nested lookup map from this though. Another pass required I guess, ie. the first step of the compiler?
    const ast = toAstVisitor(inputText);
    const stm1 = ast[0];
    const stm2 = ast[1];

    expect(stm2).toEqual({
      type: "SCOPE",
      statements: [
        {
          type: "ASSIGNMENT",
          variableName: "b",
          valueAssigned: "2"
        },
        {
          type: "SCOPE",
          statements: [
            {
              type: "ASSIGNMENT",
              variableName: "c",
              valueAssigned: "3"
            }
          ]
        }
      ]
    });

I managed to figure it out. Using scope stack in an additional traverse step.
https://github.com/kristianmandrup/sql-lang/blob/master/src/scope-lang/scope-stack/scope-stack-builder.spec.ts
Turning this
export const scopeTree = {
  type: "SCOPE",
  statements: [
    {
      type: "ASSIGNMENT",
      variableName: "b",
      valueAssigned: "2"
    },
    {
      type: "SCOPE",
      statements: [
        {
          type: "ASSIGNMENT",
          variableName: "c",
          valueAssigned: "3"
        }
      ]
    },
    {
      type: "SCOPE",
      statements: [
        {
          type: "ASSIGNMENT",
          variableName: "d",
          valueAssigned: "4"
        }
      ]
    }
  ]
};

Into a tree with varsAvailable list for each scope :)
   [
      {
        "type": "ASSIGNMENT",
        "variableName": "b",
        "valueAssigned": "2",
        "varsAvailable": [
          "b"
        ]
      },
      {
        "type": "SCOPE",
        "statements": [
          {
            "type": "ASSIGNMENT",
            "variableName": "c",
            "valueAssigned": "3",
            "varsAvailable": [
              "b",
              "c"
            ]
          }
        ]
      },
      {
        "type": "SCOPE",
        "statements": [
          {
            "type": "ASSIGNMENT",
            "variableName": "d",
            "valueAssigned": "4",
            "varsAvailable": [
              "b",
              "d"
            ]
          }
        ]
      }
    ]

From language-server-dot-visual-studio/
To add the completion provider (aka "content assist) for a VSC extension
connection.onInitialize((params): InitializeResult => {
    return {
        capabilities: {
           // ...
            completionProvider: {
                resolveProvider: true,
                "triggerCharacters": [ '=' ]
            },
            hoverProvider: true
        }
    }
});

Sample onCompletion handler:
connection.onCompletion((textDocumentPosition: TextDocumentPositionParams): CompletionItem[] => {
    let text = documents.get(textDocumentPosition.textDocument.uri).getText();
    let position = textDocumentPosition.position;

   // use parsed model to lookup via position
    // return a list of auto complete suggestions (for = assignment)
    return results;

In my case it should use the compiled model with scope information to present the varsAvailable array as the return value. How would I best do this I wonder? I need to somehow retain the position of each assignment, then perhaps have an index that links to each assignment object.
{
        "type": "SCOPE",
        "statements": [
          {
            "type": "ASSIGNMENT",
            "variableName": "d",
            "valueAssigned": "4",
            "position": 17,
            "varsAvailable": [
              "b",
              "d"
            ]
          }
        ]
      }

const assignmentIndex = {
3: {varsAvailable: ['a'] }
9: {varsAvailable: ['a, b'] }
17: {varsAvailable: ['b', c'] }
}

Alternatively have a range for each, then find overlapping range?
Then for a given document char position, say 18, it should look up the closes assignment index less than that (or in range), in this case 17. Perhaps there is a better yay to do this with chevrotain?

To add position info, I need to add this to the parser. Looks a little cumbersome IMO.
  assignment(ctx: any) {
    console.log("assignment = ", ctx);
    const variableName = ctx.Identifier[0].image;
    const {
      startOffset,
      endOffset,
      startLine,
      endLine,
      startColumn,
      endColumn
    } = ctx;
    const position = {
      startOffset,
      endOffset,
      startLine,
      endLine,
      startColumn,
      endColumn
    };
    // value assigned
    const valueAssigned = this.visit(ctx.reference);
    return {
      type: "ASSIGNMENT",
      variableName,
      valueAssigned,
      position
    };

Would have been more elegant to have
position: {
  offset: {
    start: 13
    end: 14
  },
  line: {
    start: 1,
    end: 1
  },
  column: {
    start: 7,
    end: 14
  }
}

Perhaps retain both position state models (nested and list), even if duplicate, so they are easy to work with either way (grouped or individually)?

position: {
  offset: {
    start: 13
    end: 14
  },
  line: {
    start: 1,
    end: 1
  },
  column: {
    start: 7,
    end: 14
  }
}

This is prettier, but also creates 4 times as many objects which would be slower and consume more memory. (By how much I do not know though...)

I tried extracting positioning node decoration into a separate visitor baseclass
export class PositionVisitor extends BaseVisitor {
  positioned = false;

  constructor(opts) {
    super();
    this.positioned = opts.positioned;
  }

  get isPositioned() {
    return Boolean(this.positioned);
  }

  decorate(node, ctx) {
    return this.decoratePosition(node, ctx);
  }

  decoratePosition(node, ctx) {
    if (this.isPositioned) {
      const {
        startOffset,
        endOffset,
        startLine,
        endLine,
        startColumn,
        endColumn
      } = ctx;
      const position = {
        startOffset,
        endOffset,
        startLine,
        endLine,
        startColumn,
        endColumn
      };
      node.position = position;
    }
    return node;
  }
}

So that I can simply decorate in assignment
  assignment(ctx: any) {
    // console.log("assignment = ", ctx);
    const variableName = ctx.Identifier[0].image;

    // value assigned
    const valueAssigned = this.visit(ctx.reference);
    const node = {
      type: "ASSIGNMENT",
      variableName,
      valueAssigned
    };
    return this.decorate(node, ctx);
  }

However it complains:
Errors Detected in CST Visitor <AstVisitor>:
        Redundant visitor method: <decorate> on AstVisitor CST Visitor
        There is no Grammar Rule corresponding to this method's name.
        For utility methods on visitor classes use methods names that do not match /^[a-zA-Z_]\w*$/.

        Redundant visitor method: <decoratePosition> on AstVisitor CST Visitor
        There is no Grammar Rule corresponding to this method's name.
        For utility methods on visitor classes use methods names that do not match /^[a-zA-Z_]\w*$/.

How do I circumvent this? using _ or $ prefix perhaps to indicate these are not to be treated as visitor handler methods?

Then for a given document char position, say 18, it should look up the closes assignment index less than that (or in range), in this case 17. Perhaps there is a better yay to do this with chevrotain?

Are you trying to link the compiled Model (AST+Symbol Table) with the syntactic offset position in the text?

How do I circumvent this? using _ or $ prefix perhaps to indicate these are not to be treated as visitor handler methods?

Disable (delete) the Visitor validation...
I think the CST Visitor needs some upgrades/refactoring...

https://github.com/SAP/chevrotain/issues/1039

Are you trying to link the compiled Model (AST+Symbol Table) with the syntactic offset position in the text?

Yes, exactly. I almost have it working already. Will likely finish it tmrw or at least by this week. See latest commit ;)
I kept the validation for now. Didn't realise the validate call in the visitor constructor did this method validation.
I think #1039 sounds like a good idea. Many other (better and more flexible) ways to go about it.

What I did was provide an AST in the content assist "scenario identification" CST Visitor. And manually traverse the AST while visiting the CST.

Pass AST a top
Manually traverse AST SubNodes as we go deeper in the CST

Now have a working content assist solution with nested scopes, displaying list of variables in scope as completion items for assignment :)
See nested-scope-example
Will extract this example into a separate repo shortly

Regarding content assist, I found the following quick start

Now have a working content assist solution with nested scopes, displaying list of variables in scope as completion items for assignment :)

O.k. I found this repository much easier to understand as it uses has a small scope/grammar and fewer files.
I provided some feedback here:

https://github.com/kristianmandrup/chevrotain-nested-scope-lang-content-assist/pull/1

There still seem to be code parts that are unrelated, e.g:

JSON grammar:

https://github.com/kristianmandrup/chevrotain-nested-scope-lang-content-assist/tree/master/src/error-recovery

Large syntax file:
https://github.com/kristianmandrup/chevrotain-nested-scope-lang-content-assist/blob/master/syntaxes/sqf.json

But I guess these are leftovers from the source it was copied from or place holders
for future features... In more productive code this would be a bit of source code history pollution, but in demo/example code I guess it does not matter as consumers are normally only interested in the latest master branch.

Exactly! The unrelated parts were for reference (sec code co-location) until I add the full set of features to the library. WIP ;)
I’ll have a look at your comments shortly. Thanks again :)

While this is not a guide, it may still be of interest: https://github.com/langium/langium


Update impact recipe

Description

Closes #issue_number
Link to documentation:

Before you get started

[ ] ☝ Create an issue to discuss what you are going to do

Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

[ ] 🛠 This pull request has a descriptive title
[ ] 🛠 Code is written according to the code quality guidelines
[ ] 🛠 Documentation is available
[ ] 🛠 Tests run successfully
[ ] 🛠 The list of authors is up to date
[ ] 🛠 Any changed dependencies have been added or removed correctly
[ ] 🛠 All checks below this pull request were successful

New or updated recipe/diagnostic

[ ] 🧪 Recipe runs successfully
[ ] 🧪 Recipe is well documented
[ ] 🧪 Figure(s) and data look as expected from literature
[ ] 🛠 Provenance information has been added

To help with the number of pull requests:

🙏 We kindly ask you to review two other open pull requests in this repository

@esmvalbot Please run recipe_impact.yml

People tend not to like models being removed, so maybe we should add an issue to re-add the model soon.
I also wonder: Do we really get areacello added to an atmosphere variable? If so, that seems like a bug worthy of its own issue as well.

For future reference, also note https://github.com/ESMValGroup/ESMValTool/issues/2198#issuecomment-863176348

I also wonder: Do we really get areacello added to an atmosphere variable? If so, that seems like a bug worthy of its own issue as well.

Issue created: https://github.com/ESMValGroup/ESMValCore/issues/1265


Is this project maintained anymore?

I am thinking about using binaryjs to transport live video streams. Is this project maintained anymore? Are there any other projects suggests.

Was wondering too, noticed all the demos are offline too. :cry:

I end up using Kurento Media Server and their JS APIs. I cant risk using BinaryJS  :disappointed: for now.


Fix README to be useful

forgor how markdown works but i remembered
gonna fix this when I have time which is soon:tm:


check_watertight fails with CAD_to_OpenMC h5m output

I've used CAD_to_OpenMC to convert a CAD file to h5m format, and the output file can be visualized using the h5m visualization tool at sirepo.com/cloudmc:

However, simulations fail with this geometry, and in debugging I attempted to check the geometry with the DAGMC check_watertight and make_watertight tools.  The output is below:
$ check_watertight geometryInput-dagmcFile.nano.h5m
geometry check
number of surfaces=243
number of volumes=243
MOAB ERROR: --------------------- Error Message ------------------------------------
MOAB ERROR: could not check model for watertightness!
MOAB ERROR: main() line 122 in check_watertight.cpp

$ make_watertight $PWD/nano.h5m
Loading input file...
MOAB ERROR: --------------------- Error Message ------------------------------------
MOAB ERROR: file set not found!
MOAB ERROR: get_sealing_mesh_tags() line 1976 in Gen.cpp
MOAB ERROR: --------------------- Error Message ------------------------------------
MOAB ERROR: could not get the mesh tags!
MOAB ERROR: make_mesh_watertight() line 1803 in MakeWatertight.cpp
MOAB ERROR: --------------------- Error Message ------------------------------------
MOAB ERROR: could not make model watertight!
MOAB ERROR: main() line 75 in make_watertight.cpp

Is the h5m output missing some internal metadata that is expected in DAGMC files?

It should definitely be possible/easy to add the property to the h5m-file produced by CAD_to_OpenMC. In case of the stl meshing backend (triangulation by cq/OCCT) the same tolerance parametrization is directly communicated to the mesher. In the case of the gsmh-backend, some kind of translation is necessary.

Awesome! Let me know if there's anything I can do to lend a hand w/ that.

A number for the faceting tolerance is now added to the h5m-file by CAD_to_OpenMC. This is for the development branch - which is soon to be released as a new main.

@sjcrs I would be very much interested if you could try if that helped the problem.  There are quite a few improvements in the merging routines in the development branch.

I pulled the develop branch and ran the same geometry from above.  It seemed to fix the root problem I was having initially, and I'm able to run OpenMC with the geometry.  However, when I run check_watertight and make_watertight on that same volume, I'm getting the same MOAB output I shared above.

OK - a step forward at least - but not far enough. This geometry you are running - is that something you'd be allowed/willing to share with me? Then I could give it a go here and see if I can reproduce the problem.
Also - it looks like you are using the "stl" backend, correct?

Ok cool - I will grab it and experiment. One thing: The development branch includes the (admittedly not very well named) stl2-backend which includes a major improvement if you have shared surfaces in a model. Stay tuned.

@sjcrs I have now run a few tests with the Nano - I am seeing some issues when using the merging routine, and unfortunately also with the experimental imprint routines (which should accomplish pretty much the same thing.
The thing will mesh fine without merging however, both with the gmsh and with the stl, and stl2 backends. This is of course unsatisfactory, since imprinting is important, when objects have [partially] shared surfaces.

I created a couple of testing scripts just to automate runs a bit - you're more than welcome to fiddle with them if you want
testArduino.zip

An update: @sjcrs I've now tinkered quite a bit with the routines, made a new release, found bugs etc. The will be another respin release in a day or two. I can now mesh the arduino quite nicely with the 'stl2' backend. This includes catching surfaces that are shared between parts in the step-file.
Check_watertight crashes however with a moab-related error. So setting closer but no cigar yet perhaps, abeit I am not entirely sure that this error is caused by CAD_to_OpenMC.

Great to hear! I'll be on the lookout to test this respin with a few different test geometries.  That arduino model is of no real importance, but it seems like it's a pretty good pathological example to use for debugging!

Indeed - it's from failures you learn. I agree that the Arduino example is great in terms of pathology. It has lots of weird features.

Here's the error I am getting
geometry check
number of surfaces=6476
number of volumes=243
check_watertight: /home/erkn/openmc/MOAB/moab/src/Skinner.cpp:1419: moab::ErrorCode moab::Skinner::create_side(moab::EntityHandle, moab::EntityHandle, moab::EntityType, const moab::EntityHandle*, moab::EntityHandle&): Assertion `side_type == tmp_type' failed.
Aborted (core dumped)

returning yet again to this issue. I've now imported this step-file into our CAD-tool of choice, resulting in lots of complaints about overlapping objects.

I suspect (but have not pinpointed it yet) that this issue is caused by 1D and 2D object having tags, that confuses the model builder.


Portal link takes you to the old deployment config screen

Versions
What package version of the SDK are you using. 4.2
What nodejs version are you using 11
What browser version are you using Edge
What os are you using Win10
Describe the bug
This is actually an Azure Portal issue, but I was encouraged to submit here for visibility.
When following the links to setup continuous deployment in a Bot Service in Azure, the links take you to the deprecated deployment configuration screen instead of the new Deployment Center. Navigating to the underlying App Service allows you to access the Deployment Center.
To Reproduce

Log in to Azure
Navigate to the Bot Service
Click on "Publish your bot from your local environment..."
Click on "Publish updates automatically..."

Expected behavior
Deployment Center
Screenshots

Additional context
Add any other context about the problem here.
[bug]

This is now being tracked internally in our bugs database.

@codefoster I spoke with the portal team and they are tracking to have this fixed for their next deployment.  Right now, it looks like that deployment is scheduled on or about 2/21.


External Implementation in node 0.10 and 0.12

Not sure if its an issue or mistake on my part, but just wanted to run with you something.
In node10, prior to nan, our native method was returning an external object, something like this
return scope.Close(External::Wrap(handle));
with nan, now I have changed this it to
NanReturnValue(NanNew<External>(handle))
This works compile time in both node10 and node12,
but fails runtime in node10, with error something like
# API call returned invalid object
#==== Stack trace ============================================
Security context: 0x316ec8757281 <JS Object>#0#

Although it works fine in node12.
On Looking at v8.h for node10, it looks like they suggest to use Wrap/Unwrap.
(from the documentation)

The Wrap function V8 will return the most optimal Value object wrapping the
C++ void*.

Should nan, use Wrap for node10 and External::New for node12?

Hmm, might be, but I guess Unwrap needs to be used if Wrap has been used and unfortunately that method has been removed in new versions of v8. This implies that there is a need to also add a NanUnwrapExternal which would call Value() or Unwrap() on the External handle according to version.

Actually, it seems you cannot return an External. According to the documentation, you should only use External on internal fields of an Object, not return it directly.

In v0.12 and io.js, you use value.As<v8::External>()->Value().  You should be able to return the value from v8::External::New() just fine, it's essentially a property-less object with a hidden field where the pointer is stored.

The thing is that External::Wrap would make a Local from a T*. That is no longer possible. You have to do NanNew(T) to convert manually.
On March 4, 2015 5:31:17 PM EET, Ben Noordhuis<EMAIL_ADDRESS>wrote:

In v0.12 and io.js, you use value.As<v8::External>()->Value().  You
should be able to return the value from v8::External::New() just
fine, it's essentially a property-less object with a hidden field where
the pointer is stored.

Reply to this email directly or view it on GitHub:
https://github.com/rvagg/nan/issues/291#issuecomment-77179009

On checking in detail, looks like node v0.10, doesn't like JavaScript Objects which are returned from the C++ layer using Local.
It has some extra Foreign Type check, which rejects the JavaScript Object.
We added the following to work around that
#if (NODE_MODULE_VERSION < 12)
#define TO_EXTERNAL(sb)
External::Wrap(sb)
#define FROM_EXTERNAL(sb)
External::Unwrap(sb)
#else
#define TO_EXTERNAL(sb)
NanNew(sb)
#define FROM_EXTERNAL(sb)
External::Cast(*sb)->Value()
#endif


Failed to resolve in "app" gradle

I keep gettings failed to resolve: agency.tango.andriod.material-intro-screen:26.1.0
In the intro activity java file I have a gazzilion errors with R. addslide, getbackbuttontrasnlationwrapper etc?

https://bintray.com/tangoagency/maven/material-intro-screen/0.0.5


Not working with Sendy Version <IP_ADDRESS>

I got the plugin working and followed the steps, but the sign up button just keeps running and does not end.

Any updates on this issue?


fixed findNewEnd method

Hi,
findNewEnd method is stuck in infinite loop, when I have edge connecting nodes from different compound nodes.
My idea is, if the node is inside compound then node.data("parent") is equal to compound.data("id"). In this case we have to go up in the nodes hierarchy to find the compound node itself, so we can connect it with the edge when expanding/collapsing

@mohsom thanks for your contribution. we'll review when we get a chance.

Hi guys, how is it going with the review?

Related #69 Might be partially fixed in unstable branch https://github.com/iVis-at-Bilkent/cytoscape.js-expand-collapse/commit/4b9448378271a859b8756ec6276a04db1dd9d628

@mohsom The infinite loop problem must be solved in the unstable branch. Can you test and verify the fix?

@mohsom The infinite loop problem must be solved in the unstable branch. Can you test and verify the fix?

sure, I will test the fix ASAP. Thanks

@hasanbalci I've just checked the fix, works good! Thank you!


bpftrace list probes errors out with fentry/fexit not available for your kernel version

What reproduces the bug? Provide code if possible.
Installing bpftrace from source and simply running -l command reproduces the issue on Fedora 37
$ /usr/local/bin/bpftrace -l
stdin:1:1-1: ERROR: fentry/fexit not available for your kernel version.
*:*

$
$ ls -l /sys/kernel/btf/vmlinux
-r--r--r--. 1 root root 5769698 Nov 28 19:07 /sys/kernel/btf/vmlinux
$
$ file /sys/kernel/btf/vmlinux
/sys/kernel/btf/vmlinux: data
$

$ /usr/local/bin/bpftrace --version
bpftrace v0.19.0-76-g5ac0
$
$ cat /etc/fedora-release
Fedora release 37 (Thirty Seven)
$
$ uname -r
6.5.12-100.fc37.x86_64
$

bpftrace --info output
$ bpftrace --info
System
  OS: Linux 6.5.12-100.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Nov 20 22:28:44 UTC 2023
  Arch: x86_64

Build
  version: v0.19.0-76-g5ac0
  LLVM: 15.0.7
  unsafe probe: no
  bfd: yes
  libdw (DWARF support): yes

libbpf: failed to find valid kernel BTF
Kernel helpers
  probe_read: yes
  probe_read_str: yes
  probe_read_user: yes
  probe_read_user_str: yes
  probe_read_kernel: yes
  probe_read_kernel_str: yes
  get_current_cgroup_id: yes
  send_signal: yes
  override_return: no
  get_boot_ns: yes
  dpath: no
  skboutput: no
  get_tai_ns: yes
  get_func_ip: yes
  jiffies64: yes

Kernel features
  Instruction limit: 1000000
  Loop support: yes
  btf: no
  module btf: yes
  map batch: yes
  uprobe refcount (depends on Build:bcc bpf_attach_uprobe refcount): yes

Map types
  hash: yes
  percpu hash: yes
  array: yes
  percpu array: yes
  stack_trace: yes
  perf_event_array: yes
  ringbuf: yes

Probe types
  kprobe: yes
  tracepoint: yes
  perf_event: yes
  kfunc: no
  kprobe_multi: yes
  uprobe_multi: no
  raw_tp_special: yes
  iter: no

$

@viktormalik
https://github.com/iovisor/bpftrace/commit/4151babaf9b616e8006762cfa853c01fde3408ae

cc @jordalgo can you have a look? It seems that the recent addition of fentry/fexit aliases causes problems when kfunc is not available.

Some additional debug logs, seems errors are coming from libbpf ?
$ /usr/local/bin/bpftrace -l -d
[DEBUG] libbpf: Unsupported BTF_KIND:19
[DEBUG] libbpf: loading kernel BTF '/sys/kernel/btf/vmlinux': -22
[WARN] libbpf: failed to find valid kernel BTF
ERROR: BTF: failed to find BTF data for vmlinux, errno 3
ERROR: BTF: failed to find BTF data
[DEBUG] libbpf: Unsupported BTF_KIND:19
[DEBUG] libbpf: loading kernel BTF '/sys/kernel/btf/vmlinux': -22
[WARN] libbpf: failed to find valid kernel BTF
ERROR: BTF: failed to find BTF data for vmlinux, errno 3
ERROR: BTF: failed to find BTF data
stdin:1:1-1: ERROR: fentry/fexit not available for your kernel version.
*:*

$

The file its looking for is present
$ ls -l /sys/kernel/btf/vmlinux
-r--r--r--. 1 root root 5769698 Nov 28 19:07 /sys/kernel/btf/vmlinux
$
$ file /sys/kernel/btf/vmlinux
/sys/kernel/btf/vmlinux: data
$

Found some references to similar errors "Unsupported BTF_KIND:19" at other places (bpftune), check below links
https://github.com/oracle/bpftune/issues/35#issuecomment-1635542029
<EMAIL_ADDRESS>As for the libbpf version this is what I have on the system where issue was reproduced
$ rpm -qa | grep -i libbpf
libbpf-0.8.0-2.fc37.x86_64
libbpf-devel-0.8.0-2.fc37.x86_64
$

cc @jordalgo can you have a look? It seems that the recent addition of fentry/fexit aliases causes problems when kfunc is not available.

No problem. Will have a look.

I believe this is just a biproduct of fentry/fexit being alphabetically first in the attach point provider list. kfuncs/kretfuncs should trigger a similar error "kfunc/kretfunc not available for your kernel version" as they both use the same check:
 if (!bpftrace_.feature_->has_kfunc())

That being said, I'm not sure if we want bpftrace to completely error out when listing things if only one feature is not supported.

I believe this is just a biproduct of fentry/fexit being alphabetically first in the attach point provider list. kfuncs/kretfuncs should trigger a similar error "kfunc/kretfunc not available for your kernel version"

Is that really the case? I remember fixing this in the past so that listing everything lists available probes only. Also, after reverting 4151babaf9b616e8006762cfa853c01fde3408ae, bpftrace -l works as expected (with no kfunc: probes shown on a system without BTF).
It looks to me as if the fentry/fexit alias somehow disrupted this.


Littleproxy can not get "Proxy-Authorization" header when use HTTP CONNECT requests

I run littleproxy as bellow:
`
public static void start() throws RootCertificateException  {
ProxyAuthenticator proxyAuthenticator = new ProxyAuthenticator() {
@Override
public String getRealm() {
return null;
}
@Override
public boolean authenticate(String userName, String password) {
if ("data5u".equals(userName) && "123456".equals(password) ) {
return true;
}
return false;
}
};
	server = DefaultHttpProxyServer.bootstrap()
		.withAddress(new InetSocketAddress("<IP_ADDRESS>", 8888))
		.withAuthenticateSslClients(false)
		.withTransparent(false)
		.withConnectTimeout(40000)
		.withProxyAuthenticator(proxyAuthenticator)
		.withManInTheMiddle(new CertificateSniffingMitmManager())
		.withName("")
		.withProxyAlias("")
		.start();
}

`
then send HTTP CONNECT to server:
			 	Document document = Jsoup.connect("https://www.baidu.com/") 	        .proxy("<IP_ADDRESS>", 8888) 	        .validateTLSCertificates(false) 	        .header("Proxy-Authorization", "Basic " + BaseEncoding.base64().encode("data5u:123456".getBytes())) 		.userAgent("Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36") 		.timeout(10000) 	        .get();
but authenticate not works, got "Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required""
Who can help me?

Are you sure the Proxy-Authorization header is not sent in the GET request instead of in the CONNECT request?
I don't know how Jsoup.connect() works but you might want to look into that.

@lnvodv Yes, even though i used HttpUrlConnection, but still can't get the Proxy-Authorization header or some self designed headers.
`
    	URL link = new URL("https://www.baidu.com");
	Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("<IP_ADDRESS>", 8888));
	HttpURLConnection connection = (HttpURLConnection)link.openConnection(proxy);

    	connection.setDoOutput(true);
    	connection.setRequestProperty("Proxy-Authorization", "Basic " + BaseEncoding.base64().encode((proxyUser+":"+proxyPass).getBytes()));
    	connection.setRequestProperty("Self-Header","test");
    	connection.setUseCaches(false);
    	connection.setConnectTimeout(60000);

`

You're using HTTPS, so the Proxy-Authorization header is encrypted.
LittleProxy won't see that header unless you're able to expose it using
MITM, and it looks like you're trying to do just that.  I was recently
experimenting with MITM to accomplish exactly the same thing, and I wasn't
able to make it work.  I'm not saying it can't be done, just that there's
something needed that might be really hard to figure out.
If you want your Java code to use the same proxy for every connection, you
can try this approach:
https://stackoverflow.com/questions/1626549/authenticated-http-proxy-with-java
If you want the freedom to use different proxies for different connections,
you can do that using Apache HttpClient.  (I'm pretty sure you could use
the Java 11 HttpClient instead, if you prefer.)  You would need to write
some code to download the HTML, then call Jsoup.parse(html, baseUri).
On Fri, Nov 16, 2018 at 7:12 AM mcj8089<EMAIL_ADDRESS>wrote:

@lnvodv https://github.com/lnvodv Yes, even though i used
HttpUrlConnection, but still can't get the Proxy-Authorization header or
some self designed headers.
`
	URL link = new URL("https://www.baidu.com");

Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("<IP_ADDRESS>", 8888));
HttpURLConnection connection = (HttpURLConnection)link.openConnection(proxy);
	connection.setDoOutput(true);
	connection.setRequestProperty("Proxy-Authorization", "Basic " + BaseEncoding.base64().encode((proxyUser+":"+proxyPass).getBytes()));
	connection.setRequestProperty("Self-Header","test");
	connection.setUseCaches(false);
	connection.setConnectTimeout(60000);

`
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/adamfisk/LittleProxy/issues/425#issuecomment-439404808,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEiGLlz8RstyK6sPag1MvfGgVdlTSKCAks5uvsfFgaJpZM4YkSi0
.

@mrog He's not using HTTPS for the proxy CONNECT request. His proxy server is expecting the Proxy-Authorization header in the CONNECT request (unencrypted request).
My guess is that he is not putting the header inside the CONNECT request, but inside the GET request, which is encrypted.
What he needs to do is find a way to include the header inside the CONNECT, and not inside the GET. I am not familiar with Jsoup.connect, so I cannot help with that. But I know it's doable with OkHttp or Apache httpclient.

You're right that the proxy connect request is HTTP, but the proxy
authentication header is being added in a way that makes it visible to the
web server (https://www.baidu.com/), not to the proxy.  If that URL were
changed to a site that uses HTTP instead of HTTPS, then LittleProxy would
be able to see all the headers (not just the headers intended for the
proxy) and everything would work.
On Fri, Nov 16, 2018 at 9:53 AM lnvodv<EMAIL_ADDRESS>wrote:

@mrog https://github.com/mrog He's not using HTTPS for the proxy
CONNECT request. His proxy server is expecting the Proxy-Authorization
header in the CONNECT request (unencrypted request).
My guess is that he is not putting the header inside the CONNECT request,
but inside the GET request, which is encrypted.
What he needs to do is find a way to include the header inside the
CONNECT, and not inside the GET. I am not familiar with Jsoup.connect, so I
cannot help with that. But I know it's doable with OkHttp or Apache
httpclient.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/adamfisk/LittleProxy/issues/425#issuecomment-439456116,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEiGLoZZgQ68Xn56QTrdhVYuT1FrMGCOks5uvu10gaJpZM4YkSi0
.

Thanks all. I have sloved this problem by set the jdk.http.auth.tunneling.disabledSchemes value blank.
change jdk1.8.0_111/jre/lib/net.properties(  my jdk version is jdk1.8.0_111 ) , set jdk.http.auth.tunneling.disabledSchemes=, then I can get the Proxy-Authorization header


Hourly backup schedules set as monthly

Steps to reproduce the behaviour

Set hourly schedule for importing to cloud
Click export
It will set to monthly, not the hourly

Screenshots

Expected behaviour
Hourly schedule is actually setting to hours
Actual behaviour
Hourly schedule is setting to monthly, not the hourly
Software specifications

GnuCash Android version: 2.1.3
System Android version: Android 7.0
Device type: Nexus 5x

@schvabodka-man We do not handle hourly schedules at the moment. But since the dialog is generated through a library, there was no easy way to remove it from the UI.
We could consider implementing an hourly schedule if there is demand for that. This is the first request I've had on that.
What do you think @rivaldi8 ?

@codinguser I'm not sure. At least now, it seems to me that it would add complexity for little benefit. I'd like to know some use cases for it first. We are also still having issues with scheduled exports and missing other features like specifying multiple weekdays. So again, I'd rather define first what features we want to support to help decide how to deal with the whole thing.
@schvabodka-man why do you need to export hourly?

Because i like to have hourly backups obliviously

@rivaldi8 I agree with you, priority should be on fixing the existing bugs. But we have HOURLY in the UI as well. My preference would be to remove it from there and not have to deal with it.
But at the moment, someone could set a schedule for hourly backup and then proceed to delete a book thinking they have a backup, only to find themselves very mistaken. That would be on us.

@codinguser Is it even possible to remove the hourly recurrence option from this dialog? There's no documentation and, after a quick look at the code, I can't see how to do so.

I'm not sure that it's possible. I remember looking for it in the docs
once, and also exploring the code a bit.
Unless something has changed in newer versions, no, it's not possible.
On Mon, 16 Jan 2017 at 18:06, Àlex Magaz Graça<EMAIL_ADDRESS>wrote:

@codinguser https://github.com/codinguser Is it even possible to remove
the hourly recurrence option from this dialog? There's no documentation
and, after a quick look at the code, I can't see how to do so.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/codinguser/gnucash-android/issues/625#issuecomment-272916460,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQ42yeRkdyyW8DzrJ8SNJd1K3pB3JTgks5rS6OvgaJpZM4LIH4y
.

Then, if it's something we can't workaround easily, I'd try to fix #641, which might make it easier to implement hourly schedules. Otherwise, we'll have to look harder into finding out how to remove the option.

@rivaldi8 so you can go ahead with #641 given the latest roadblock on the Storage Access Framework


Hot to stop a flow via command line?

Hi,
is there any way to stop a flow from running via command line ? Pause/Resume is also missing.
Thanks!

Hi,
please can you use the mailing list for general enquiries?
There is no way to stop a flow. There's been some recent discussion on the mailing list about being able to disable nodes. That would provide something like stopping a flow.
Nick

sure, thanks. This is only required for embedding node-red somewhere else...


Replaced loop checks with helm wait operation

Signed-off-by: Rishabh Gupta<EMAIL_ADDRESS>Description
This PR replaces loop checks with helm wait operations.
How Has This Been Tested?
Tested changes on a local cluster.
The zip file contains ofc-bootstrap binary compiled from this branch and includes scripts and templates. To test this branch extract the contents of zip and provide init.yaml (example) and then run ./ofc-bootstrap
ofc-bootstrap.zip
Addresses issue #86
Checklist:
I have:

[x] checked my changes follow the style of the existing code / OpenFaaS repos
[ ] updated the documentation and/or roadmap in README.md
[ ] read the CONTRIBUTION guide
[ ] signed-off my commits with git commit -s
[ ] added unit tests

Sorry didn't see @viveksyngh took the issue in PR #89 closing it now.


Verbose log output / debug docker image inside

Hey!
We have got a trouble with moon service in our k8s cluster, but didnt find any logs to help us to troubleshoot it. Is there any chance to add debug docker image or enviroment variable ( configmap ), which enables additional logging with huge verbosity?
Debug would be easy with this feature.
It would be nice if debug docker image will also have:
bash (or another shell)
dnsutils
trace/tcpdump
With love,
STC team

Will add specified tools, pprof support and bash.
Regarding logging - we are already logging every event. Will described in docs how to debug.


Test issue-21 and 23 in main

Do all work for this task in a branch called issue-37
Branch off of main, merge issue 23 into this branch and test

Reaffirmed that issues-21 and 23 work just fine when merged into main, Add Club may just not work yet because we are not yet subscribed to the Clubs collection which is to be implemented in Browse Clubs page


Add support for enabling Swagger UI

Perhaps as a config option

Yeap I hate o add swagger-tools to load on app.js when generated with swagger-project create
var SwaggerExpress = require('swagger-express-mw');
var SwaggerUi = require('swagger-tools/middleware/swagger-ui');
var express = require('express');

module.exports ...

...

SwaggerExpress.create(config, function(err, swaggerExpress) {
  if (err) { throw err; }

  // ----- xx ----
  app.use(SwaggerUi(swaggerExpress.runner.swagger));

  // install middleware
  swaggerExpress.register(app);
  ...

Note we can load directy UI:
'use strict';

var SwaggerExpress = require('swagger-express-mw');
var app = require('express')();
module.exports = app; // for testing

var config = {
  appRoot: __dirname // required config
};

SwaggerExpress.create(config, function(err, swaggerExpress) {
  if (err) { throw err; }

  // enable SwaggerUI
  app.use(swaggerExpress.runner.swaggerTools.swaggerUi(config));

  // install middleware
  swaggerExpress.register(app);

  var port = process.env.PORT || 10010;
  app.listen(port);

  console.log('try this:\ncurl http://<IP_ADDRESS>:' + port + '/hello?name=Scott');
});

Hi,
It seems that with the latest changes to swagger-node-runner, the workaround to get Swagger UI running (see above) no longer works as the dependency on swagger-tools has been removed completely.
Is there a workaround available?

A simple workaround is to just install swagger-ui into a project directory and serve it with the serve-static middleware.

@theganyo Could you explain a little more about how you implemented that?

@dmk255 All you need to do it configure/customize your swagger-ui as you would normally. Then, put swagger-ui/dist in your application folder. Let's say we put it in folder /ui, then we simply serve it on whatever path, say, /swagger-ui. It would be something like this (not tested):
app.use(serveStatic('ui', {'swagger-ui': ['index.html']}))


Create parameters.md

Close because of a lot of things irrelevant. But your efforts will be counted.


Typemill could use a Page-manager plugin

Being able to drag and drop things around the sidebar is good for most use cases, as Typemill was designed for smaller sites. Even so, It'd be awesome to be able to install a plugin that adds a more advanced content/page manager for those of us who want to build more complex content hierarchies with lots of folders.
Such a plugin might include:

Easy ways to reorder content (of course)

Bonus points for a "move to folder" button that would let you a folder select from a list, a la Google Drive, for those of us with tons of folders.

Easy ways to rename pages, as well as change the slug and navigation titles
Buttons for publishing and unpublishing pages
Mass page operations

You know, classic CMS stuff. I know this would take a long time to make, and might not precisely fit the goals of the project... but it would be awesome for me.

thank you for the input!
It is not possible right now because the navigation is coupled with the core. But in theorie it is possible because the navigation is an independent Vue app build upon an api and the app could be replaced by anything else if you make the template "pluggable".
From your points only "mass page operations" and "move folders" is completely not possible right now (move folders is restricted intentionally because it has a big impact that many editors might not know). Everything else is possible in meta. But you can of course create another UX and integrate everything into the navigation tree. Might be hard to create a useful UI with many operations, but not impossible of course.
Overall I think that managing pages in Typemill is already very very fast and easy compared many other CMS, but I will think about improvements in V2 of Typemill for sure.


How to eval the models

Excuse me, does this repository contain scripts for model inference evaluation?

Sorry, due to our current workload on other projects, we haven't had time to organize the evaluation scripts yet. We will gradually release the evaluation code soon. In the meantime, you can first refer to the evaluation code of f-DPO: https://github.com/alecwangcq/f-divergence-dpo, which we initially referenced for the evaluations in our paper. Thank you very much for your understanding.


Defered render not show anything

As the screenshot shows, it doesn't show anything. The shader and model directory is correct.

I think I've had this before on some PCs. It only occurs on Windows it seems, I think it's a bug in wgpu but I'm not sure what the cause is.
Could you check this branch? IIRC I fixed it before by explicitly using DX12 instead of Vulkan as the wgpu backend on Windows.

Seems still not work on windows.

I made a mistakes, should be fixed now


v 0.10 Sentence ID not found for challenge: - any Practice exercises

for any Practice type  exercises  via direct link from duome or with duo strength (i.e. non Level 5 practice) -  Sentence ID not found

I don't have experience with Duo Strength or duome.eu. Can you provide an example of one of the direct links?
Off the top of my head, I'd guess that if you're directly loading a challenge/sentence, then my current technique for getting sentence IDs won't work since it depends on watching for the /sessions URL (e.g. https://www.duolingo.com/2017-06-30/sessions) that Duolingo requests at the start of the session. Maybe there's some other way to get the sentence ID, though.

Basically they both just provide links to practice exercises https://www.duolingo.com/skill/es/Intro/practice you can add "/practice " to any skill to access it.
Example above is for Spanish
It's the same link for Level 5 skill practice / restore, and extension works in such case


searching for something that starts with a dash causes an error

Version : 0.31.0
Command : ag -Q '->my function('
Error message : ag: invalid option -- '>

Try
ag -Q "'->my function('"
as a workaround

Thank you, but it does not work for me.

Ag can't know whether an argument beginning with a dash is an option flag (e.g. -Q in your example) or a positional argument that just so happens to start with a dash (->my function( in this case). You can tell Ag where the option flags end and positional arguments begin with a double dash (--):
ag -Q -- '->my function('

(This works with anything that uses getopt for options parsing, not just Ag.)

Thanks, it works! So this is more a limitation of my shell I guess (in which case this should be closed).


define Base.one(::InfiniteCardinal)

where there is zero it is nice to have one

Done.

For the curious :)


refactor: replace Regex  in consumesCommon.js

What kind of change does this PR introduce?
This PR introduces a bugfix to handle compatibility issues with Safari versions below 16, which do not support zero-width assertion regular expressions. It modifies the code to avoid using features like named capture groups or other unsupported constructs.
Did you add tests for your changes?
Yes, tests have been added to ensure the fix works correctly across all affected browser versions, including Safari versions below 16. The tests also validate that the functionality remains unchanged in other environments.
Does this PR introduce a breaking change?
No, this PR does not introduce a breaking change. It ensures backward compatibility by using alternative methods for regular expression handling.
What needs to be documented once your changes are merged?
The documentation should include:
An explanation of the changes made to support older Safari versions.
A note about the limitation of zero-width assertions in Safari below version 16.
Guidance on how users can test for compatibility in their own applications.
Checklist

[x] Tests updated (or not required).
[x] Documentation updated (or not required).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

这个零宽断言正则  /(?<=[-0-9A-Za-z])\s+/g， 会打到最终的构建产物中，safari 15及以下版本不支持零宽断言正则表达式。
浏览器会报错Invalid regular expression: invalid group specifier name。
替换兼容性更好的写法来解决这个问题，希望能尽快修复下

@ahabhgk cc~

@nkxrb Can you sign the CLA first? Thank you

@nkxrb Can you sign the CLA first? Thank you

ok

I can't approve this since there aren't any tests

@ahabhgk From my perspective Rspack and webpack have different positions on this issue. Rspack uses this regular expression in the client code, which causes browser compatibility issues. Webpack seems to use this regular expression only in Node.js side and does not have similar problems.

Thank you for your contribution! This issue has been fixed by https://github.com/web-infra-dev/rspack/pull/8749 and we have added the co-author credit. ❤


Patterns are broken when metrics used with functions like transform

Patterns are broken when metrics used with functions like transform / averageSeries

This is the expected behaviour and the workaround is to use alias patterns.


Allow the exclusion of manageEvent()

The code for the event manager is relatively large. Allow its exclusion from a build through an env variable.

Code checked in. Need to verify that it actually works by building one of the examples.

Now it works, with REACT_APP_ at the beginning of the variable name used.


fix(docs): make function call argument correspond to signature

Change Summary
Fix type error inside docs/concepts/validation-decorator.md code-block.
Related issue number
Checklist

[x] The pull request title is a good summary of the changes - it will be used in the changelog
[x] Unit tests for the changes exist
[x] Tests pass on CI
[x] Documentation reflects the changes where applicable
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @dmontagu

please review

Thanks @waterfountain1996


Compile error when using pod

This problem can be fixed after i added "import Foundation" in ViewRecycler.swift

Could you fix this defect asap, thx, unless i have to use private pod repo.

@jiaopen I don't find this issue. Could you share your Xcode version?

Version 9.2 (9C40b)

I think i find the problem.
I used a plugin in pod file
plugin "cocoapods-static-swift-framework"

static_frameworks

however i still believe that ‘import Foundation’ should be in ViewRecycler.swift.


cxx-gen: Add span() to Error type

The Error type exposed in cxx-gen is very minimal currently. For use in CXX-Qt, we'd like to access the span if the Error has one. This would allow us to greatly improve our build script diagnostics (very similar to how CXX displays errors itself).
cc: @ahayzen-kdab
See: https://github.com/KDAB/cxx-qt/issues/536

Hi, thanks for the review.
Thanks for pointing this out. Wasn't expecting a syn::Error to contain multiple spans.
Will look at cxxbridge-cmd to try and figure out a more adequate API.
I'll let you now when I have something better to suggest.

Mimicking syn::Error with an IntoIterator impl seems all right to me. Or generate_header_and_cc could just return Vec<cxx_gen::Error> as the error type. Feel free to do whatever is easiest for cxx-qt-build, since I do not personally use cxx-gen for anything. Or @adetaylor might have an opinion.

@dtolnay I've implemented IntoIterator for cxx_gen::Error.
That works out alright for Cxx-Qt (see https://github.com/KDAB/cxx-qt/pull/547) and is compatible with previous uses of the cxx-gen API.
As mentioned in the Commit, I only implemented this on Error and not &Error, as that would require the internal cxx::gen::Error to implement Clone, so to keep the API changes minimal, I left this out.
For Cxx-Qt this means we have to expand the errors directly when creating our diagnostic type, but that's not too bad.


Can't use Google Drive with Opera.

When I try to connect CKP with Google Drive using Opera, I get "function unsupported." I'm assuming it's related to the fact that Opera doesn't connect to a Google account the way Chrome does. I realize CKP is designed for Chrome, but I figured this was worth a shot.

Yeah, probably Opera doesn't support the chrome.identity API that we use to connect to Google Drive.  It is possible to do it differently, but I think it would be less usable for Chrome users.


Where can I get more info about pro?

I tried to contact the maintainers via email to ask about the pro version (pricing, capabilities, etc) and got no response. It was about a month ago, so now I'm asking here.
I sent an email to<EMAIL_ADDRESS>is this correct?

Apologies, this slipped through the cracks, check your inbox


Adding ability to specify resources in IAM send permissions

what

Adding support for the user to pass a custom list of resources that the SES user has access to send to.
Fixing coalesce error that throws when enable input is set to false

why

By default, this module only allows the user to send to the verified domain (via sendRawEmail in the IAM permissions), which makes it unusable for anyone who wants to send to external domains (even if the email address is verified).

references

#40

/test all

/test all

/test all

/test all


Company Status - UI

Corporate Console - Company Status - UI Enhancements
Enhance the corporate console company view to allow CCLA signatories to view the status and perform the next-steps after joining a company.
Background
The current implementation provides a company view but does not show the current status. The redesigned UI will have a view that includes the current status and actions:

The company name will be displayed
The status will be displayed to include the current state, such as "Joined", "Pending Approval", or "Rejected"

User Story
As a CCLA Signatory:

I need to know what the status of my join-company request so that I can understand where the process is
I need to know what the next step is after I have the access I need for my company within EasyCLA so that I can sign for my projects quickly and easily

Tasks

Update UX to include a table view to include the company name, status and Action columns
Call backend company and signature endpoints to fetch appropriate results.
Show progress indicator when the table data is loading
Display status based on the database record details
Invoke actions from the table view based on existing workflow logic. When appropriate, indicate actions that will be taken by the EasyCLA system and any follow-up steps required.

Acceptance Criteria

UX provides the above features and works as advertised
Product manager review and sign-off
Demonstrate the set of capabilities to the product team while the code is
running in the STAGING environment.

References
Corporate Console - Successful Join and Follow-Up - https://confluence.linuxfoundation.org/pages/viewpage.action?pageId=28484537#PRD-EasyCLAv1Performance&UIUpdates-CorporateConsole.1

Notes on User Join / "Joined", "Pending Approval", or "Rejected"
User not part of a company: the user's user table record has an empty user_company_id field in their user record.

If the user is already part of a company (meaning the user has a user_company_id entry in their user record), Can they join another company?

Users with a value in their user_company_id field in the users table have confirmed their affiliation with the company that whitelisted them. I don't think this is related to this feature request.

Based on the data (not the code), I would guess that the process of joining a company today to managed by the cla-*-company-invites table.
Today

When someone types in the company exactly as it is written in the cla-*-companies.compan_name field the user is provided the option to "Request Access" to join the existing company
If the user presses "Request..." then a record is created in the cla--company-invites table with the user's cla--users.user_id in the user_id column, and the company they're requesting access to
(cla--companies.company_id) in the cla--company-invites.requested_company_id field.
When a current CLA Manager and/or Signatory approves the request to join then the user's LF ID is added to the cla-*-companies.company_acl list.

Note: If they are rejected, the user is never told (as far as I can tell). When the user is waiting for approval/rejection nothing is shown on the screen. There is no way for the user to tell if anything happened.

@jpalmerLinuxFoundation I have the same question that David had: Why would a user be rejected? What does "rejected" mean?

@CareyLF @dealako, In the process of joining a company. It is possible for anyone to request to join. If they make the request by mistake or are trying to join for some unknown/invalid reason, I want to not only give the Company ACLs the ability to reject their request. The net change here is that we also update the request on the requester side to "(rejected)". If we don't let them know we've responded to their request then they contact support and have to find out from LF Support that they were rejected. Now they possibly feel embarrassed and defensive. I would like the requester to handle this within their company, if possible. Please let me know if you have follow up questions.
I'm open to changing the verb we're using. "Rejected" is a bit harsh.


A userscript does not work correctly

@freezewind commented on Thu Nov 16 2017
Steps to reproduce

Install the userscripts from https://greasyfork.org/en/scripts/292-my-novel-reader
Go to https://www.snwx8.com/book/144/144937/56698154.html
Click the icon   in right bottom corner
Go to the end of page, and then the script will load the next page

Expected behavior
Showing the correct text
Showing the icon in right bottom corner after step 3

Actual behavior
Showing the garbled text
Missing the icon in right bottom corner step 3

Your environment
Firefox 56
Adguard 6.2.436.2170
Win 10 v. 1709 build 16299.64

@ameshkov commented on Thu Nov 30 2017
Seems like an issue with encoding

Reproduced.  The problem may be in userscript-wrapper, because our proxy server sends what seems to be correct Chinese text in response to this xhr request from browser:
https://local.adguard.com/adguard-ajax-api/api?type=gm-xml-http-request&unique_name=My%20Novel%20Reader&url=https%3A%2F%2Fwww.snwx8.com%2Fbook%2F144%2F144937%2F56698155.html&data=&headers=&method=GET&overridemimetype=text%2Fhtml%3Bcharset%3DGBK

Reassigned to @maximtop , but the issue is not major, hurry not

https://www.snwx8.com removed to https://www.snwx3.com so, the userscript's line 342 should be exchanged.
behavior not reproduced

I tested it again. It still reproduced. I think you didn't go to the end of page or you read a page that doesn't has next page.
Tested page:
https://www.snwx3.com/book/144/144937/56698154.html

https://www.sqsxs.com/book/0/2/4.html

@wanesoft I tested it again. It still reproduced. I think you didn't go to the end of page or you read a page that doesn't has next page.
Tested page:
https://www.sqsxs.com/book/0/2/4.html

We're back to this problem, here's the latest news. First. The request and response appear normal. The encoding breaks at the moment of data transfer from the browser to our script, but we see a normal page in the preview. I can't explain it yet.

Second. We are closing the connection, but the script needs to save it, so even if the encoding problem is solved, the third page will not load.

encoding fix
core/pull-requests/2084

@wanesoft
Thank you for your work. The encoding and the third page are loaded.
But, it is still missing the icon in right bottom corner that showed in Expected behavior.

Anyone here? At least tell me that you guys know that it still a issue left here. I am worry no one here because it marked as Resolved Fixed.

As @wanesoft said, there will always the problem with our implementation and the script logic:

Second. We are closing the connection, but the script needs to save it, so even if the encoding problem is solved, the third page will not load.

We were able to fix the encoding issue, but this issue with closing connection created by GM_xmlhttprequest is quite problematic. @wanesoft what do you think? Also, what's the point of keeping it alive for the script itself?

Oh, I able to load the third and more pages, so I think it is fixed in the least nightly.

perhaps the connection is not the main problem. I'll check it out

after a little research, there is a reason for the button disappearing: the script removes all child elements of <body> (line number 5475 $('body > *:not("#container, .readerbtn, .noRemove, #reader_preferences, #uil_blocker,iframe[name=\'mynovelreader-iframe\']")').remove();), except a small list of elements. so, and we put the styles needed for the script in this place (that's normally) also. and... it's gone


Make islands transient.

Fixes #72.
Now clearing a nav mesh is just removing a nav mesh! We use to have empty islands a long time ago to support a "region" of interest for each island. Now islands don't have this so we can just make them live wherever the nav mesh is.

Codecov Report
Attention: Patch coverage is 97.92844% with 11 lines in your changes missing coverage. Please review.

Project coverage is 96.9%. Comparing base (42b0ca3) to head (ee4fb45).

Additional details and impacted files

Files
Coverage Δ

crates/bevy_landmass/src/lib.rs
82.6% <100.0%> (-0.6%)
:arrow_down:

crates/bevy_landmass/src/lib_test.rs
99.7% <100.0%> (+<0.1%)
:arrow_up:

crates/landmass/src/agent_test.rs
100.0% <100.0%> (ø)

crates/landmass/src/avoidance_test.rs
98.9% <100.0%> (-0.2%)
:arrow_down:

crates/landmass/src/debug.rs
99.3% <100.0%> (-0.1%)
:arrow_down:

crates/landmass/src/debug_test.rs
100.0% <100.0%> (ø)

crates/landmass/src/lib.rs
92.3% <100.0%> (ø)

crates/landmass/src/lib_test.rs
100.0% <100.0%> (ø)

crates/landmass/src/nav_data.rs
98.6% <100.0%> (-0.2%)
:arrow_down:

crates/landmass/src/nav_data_test.rs
99.6% <100.0%> (-0.1%)
:arrow_down:

... and 8 more


Yi-34B-200K have empty output under default config (max_position_embedding=20000)

In Samsum benchmark, the Yi-34B-200K with max_position_embedding=20000 only output empty token (eos token) or 2-3 "\n" even when the context length is really small (around 1k).
However, if I change the max_position_embedding from default to 32000 in model's config.json, the model output the summarization correctly.
There is definitely something wrong, the setting of max_position_embedding should not effect the performance of short-context samples greatly.

@CaesarWWK Hello, did you slove this problem?

@CaesarWWK Hello, did you slove this problem?

Nope. Recently I'm focusing on DPO,  I did not use vllm since then.


Issue with implicit casts to complex in recursive calls

The following code reproduces the issue:
from numba import njit

@njit
def test(arg):
    ans = test2(arg - 1)
    print(ans)
    return ans

@njit
def test2(arg):
    if arg == 0:
        return 1  # complex(1) works
    else:
        return 1j * test(arg)

test2(1)

Expected output: 1
Actual output:<PHONE_NUMBER>800017408
If return 1 is replaced with return complex(1), then the code works as expected.
Numba version: 0.56.4
Numpy version: 1.23.5
Python version: 3.10
OS: Windows 10

Thank you, @GaidaiIgor for submitting the issue.
I can confirm the bug on my local machine, the following MWR helps understand what's going on:
from numba import njit

@njit
def foo(n):
    print(n) # 1
    x = bar(n - 1)
    print(x) #<PHONE_NUMBER>800017408
    return x

@njit
def bar(n):
    if n == 0:
        return 1
        # return complex(1)  # works
    else:
        x = foo(n)
        print(x) #<PHONE_NUMBER>800017408
        return 1j + x

print(bar(1))
# (4.6071824188000174e+18+1j)

I presume the issue is being cause due to the fact that 1 is not being typecasted properly during implicit type-casting (hence explicitly casting complex(1) works). Labelled the issue as a mis-compilation bug issue for now.


[SIS-082] search activity cards backend new

Description
Added searching functionality and preview functionality to the AddActivity Screen.

Ticket # 82
Type of change
Please delete options that are not relevant.

[X] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Documentation changes
[ ] Style (formatting, missing semi colons, etc; no production code change)
[ ] Refactor (refactoring production code, eg. renaming a variable)
[ ] Chore (updating grunt tasks etc; no production code change)
[ ] Build (changing build dependencies, updating packages, etc.)

Checklist:

[X] My PR title is formatted as [SIS-<issue number>] <issue name> (eg. [SIS-010] Create UI button)
[X] I have linked my issue/ticket on the project board to this PR
[ ] I have sent my PR to #team-sistema-prs on Slack and requested two people to review
[ ] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (if required)
[X] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works

Hi, there's been a front-end change the designers made. Instead of the tags being lined up, we're going to make a carousel so that users can horizontally scroll through the tags! Please see Figma here. If you can have this done before Sunday, that'd be great, thank you :)
The bottom black bar is a scrollbar that progresses as it scrolls, HOWEVER, if it is too much effort to implement (like there isn't a default one in ScrollView or something), please don't worry about it. In which case, you can just leave the thin grey bar as a border.

UR CRAZYYYY MINGIIIIII!!!!!!


Storing models for cheap on Factom

The Factom blockchain is built for data storage, offering a fixed cost of $0.001 for 10kb of data. The Factom chain anchors to the Bitcoin and Ethereum blockchain giving it accountability.
I'm curious if this option has been explored for model storage instead of storing it in Etheruem?
Each Factom entry has a unique hash and that can be used in the smart contract to lookup the required model.
More information on Factom - https://www.factom.com

Thanks for your interest in this project! That's a good suggestion. Storing lots of data in Ethereum isn't ideal but I have some concerns with other storage methods. Maybe you already saw my FAQ about it: https://github.com/microsoft/0xDeCA10B#what-about-storing-models-off-chain ?
I've looked into Factom a bit and some of those concerns might apply to Factom as well. The information on their site was vague. Here are some questions for my notes or you to answer if you happen to know the answers:

Is it cheap to update data? Factom advertises that data is immutable but if I can efficiently update a model then that might be good to do rather than storing a new model for every update.
We might have to use an oracle to get the model if it is stored externally, this cost might be too high for some models.
Is the data storage persistent? A peer-to-peer network is mentioned and if it is like IPFS, then it's not reliable.


Ability to opt into change detection on *ReadOnlyItem in mutable QueryData derive

What problem does this solve or what need does it fill?
Currently, the QueryData derive macro transforms fields of the type &'static mut T to Mut<'w, T> when generating the item type for the query. However, the readonly item type continues to use &'w T as the reference type. This makes it impossible to use change detection on the readonly form of mutable queries.
As an example from my code:
#[derive(QueryData)]
#[query_data(mutable)]
pub struct TextBoxQuery {
    pub data: &'static mut TextBox,
    pub style: &'static mut TextBoxStyle,
    pub text_style: &'static mut TextBoxTextStyle,
}

// derive(QueryData) output
pub struct TextBoxQueryItem<'w> {
    pub data: Mut<'w, TextBox>,
    pub style: Mut<'w, TextBoxStyle>,
    pub text_style: Mut<'w, TextBoxTextStyle>,
}

pub struct TextBoxQueryReadOnlyItem<'w> {
    pub data: &'w TextBox,
    pub style: &'w TextBoxStyle,
    pub text_style: &'w TextBoxTextStyle,
}

What solution would you like?
I would like a way to inform the QueryData derive macro to use bevy_ecs::change_detection::Ref<'w, T> instead of &'w T. I believe it would be useful if we can choose between applying it to the whole struct or to individual fields, like so:
Example 1: Whole struct application
#[derive(QueryData)]
#[query_data(mutable, detect_changes)]
pub struct TextBoxQuery {
    pub data: &'static mut TextBox,
    pub style: &'static mut TextBoxStyle,
    pub text_style: &'static mut TextBoxTextStyle,
}

// derive(QueryData) output
pub struct TextBoxQueryItem<'w> {
    pub data: Mut<'w, TextBox>,
    pub style: Mut<'w, TextBoxStyle>,
    pub text_style: Mut<'w, TextBoxTextStyle>,
}

pub struct TextBoxQueryReadOnlyItem<'w> {
    pub data: Ref<'w, TextBox>,
    pub style: Ref<'w, TextBoxStyle>,
    pub text_style: Ref<'w, TextBoxTextStyle>,
}

Example 2: Per field application
#[derive(QueryData)]
#[query_data(mutable)]
pub struct TextBoxQuery {
    #[query_data(detect_changes)]
    pub data: &'static mut TextBox,

    pub style: &'static mut TextBoxStyle,
    pub text_style: &'static mut TextBoxTextStyle,
}

// derive(QueryData) output
pub struct TextBoxQueryItem<'w> {
    pub data: Mut<'w, TextBox>,
    pub style: Mut<'w, TextBoxStyle>,
    pub text_style: Mut<'w, TextBoxTextStyle>,
}

pub struct TextBoxQueryReadOnlyItem<'w> {
    pub data: Ref<'w, TextBox>,
    pub style: &'w TextBoxStyle,
    pub text_style: &'w TextBoxTextStyle,
}

What alternative(s) have you considered?
The only other option I can see is for me to manually implement WorldQuery on TextBoxQuery, and I do not wish to manually implement WorldQuery due to how brittle it is.

The detect_changes option name is up for discussion if necessary. I just chose the most obvious option because I didn't want to spend hours bikeshedding my own feature request before even posting it.

Seems like a very reasonable request. Mild preference for approach two, with per-field attributes since it's a bit more flexible.

@alice-i-cecile I think you misunderstood. There aren't two separate approaches here - I am proposing supporting both forms of usage.

Ah, I'm fine with that as well.

I've come up with a (in my opinion) nicer way of achieving the goal here, which has been laid out in #13329.

Closed in favour of #13329.


cannot extract model file from FlowNet2_checkpoint.pth.tar

Hi, I downloaded the model file from chrome webbrowser directly and I got the FlowNet2_checkpoint.pth.tar file.
Then I tried to extract the flownet2.pth from it as described in ./scripts/download_model.sh, but it turned out I couldn't extract it.
I cannot use gdown to download the model file.

I also ran into the problem. You just need to rename the package flownet2.pth.tar to flownet2.pth. It's already a model file instead of a tar.

The Colab notebook is likely failing for the same reason.

The Colab notebook is likely failing for the same reason.

Loading pretrained model from 'checkpoints/flownet2.pth'.
Traceback (most recent call last):
File "main.py", line 13, in
dp.process(params)
File "/home/gsk/consistent_depth-master/process.py", line 117, in process
return self.pipeline(params)
File "/home/gsk/consistent_depth-master/process.py", line 71, in pipeline
self.flow.compute_flow(frame_pairs, params.flow_checkpoint)
File "/home/gsk/consistent_depth-master/flow.py", line 143, in compute_flow
optical_flow_flownet2_homography.process(args)
File "/home/gsk/consistent_depth-master/optical_flow_flownet2_homography.py", line 250, in process
flownet2_ckpt = torch.load(args.pretrained_model_flownet2)
File "/usr/lib/python3/dist-packages/torch/serialization.py", line 419, in load
f = open(f, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'checkpoints/flownet2.pth'

i also met this problem.it is hard for me to solve .damn it .

I also ran into the problem. You just need to rename the package flownet2.pth.tar to flownet2.pth. It's already a model file instead of a tar.

Yes, this works.


Create Controller

The option for "Minimal Dependencies" doesn't exist when I go to add a controller.
I get the following:

MVC Controller - Empty
MVC Controller with read/write actions
MVC Controller with views, using Entity Framework
API Controller - Empty
API Controller with read/write actions
API Controller with views, using Entity Framework

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

ID: c78ab24c-ddc8-521d-f032-68b9dfaab803
Version Independent ID: 23d99a0f-1eb8-3f0b-5a09-f2520aa3b496
Content: Getting Started on ASP.NET Core - New database - EF Core
Content Source: entity-framework/core/get-started/aspnetcore/new-db.md
Product: entity-framework
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@kenyachan  that tutorial is out of date. I created https://github.com/aspnet/Docs/issues/7300 to track this.
I'll have https://docs.microsoft.com/en-us/aspnet/core/data/ef-rp/intro updated to .Net Core 2.1 SDK tomorrow. See https://github.com/aspnet/Docs/pull/7163
I think redirecting to my tutorial is a better option if I can talk @divega  into the redirect.

@divega do you want this updated or redirected to https://docs.microsoft.com/en-us/aspnet/core/data/ef-rp/intro

At first glance, the ASP.NET Core tutorials use the EnsureCreated() method which I wouldn't recommend besides very simple testing scenarios. I see the clarification that databases created with EnsureCreated() cannot be managed with Migrations, but I would like to see the tutorial to switch completely to using EF Core Migrations. Can we make that happen?

We were under the impression EnsureCreated is OK early in development before the first deployment. The tutorial does several migrations as things progress. Is that OK or should we scrap EnsureCreated  ASAP?
on points 2 & 3, I think it's better to update this doc and make it xplat. We have xplat version of several tutorials (including a RP/EF tutorials) - although not all our xplat tutorials have been updated to 2.1
cc @tdykstra


unused type parameter message is wrong for jsdoc @template

/**
 * @template {string} K
 * @template V
 */
class MM {
    constructor() {
        /** @type {V} */
        this.t;
    }
}

Expected behavior:
Message: "K is declared but its value is never read"
Actual behavior:
Message: "All type parameters are unused."
Note that the message is the same if K comes second. The code in checkUnusedTypeParameters looks suspicious where it tries to handle template tags, so it's probably just wrong.

Hey! I would like to take this up!

Hi @sandersn — I've tried to debug this and found that isReferenced property of Symbol object remains undefined for every TypeParameter. Due to this isTypeParameterUnused function always return true for each parameters.
Could you please give some reference where I can initialize isReferenced property of SymbolObject.?
Thanks

isReferenced is basically only modified in resolveName[Helper]. When the compiler checks /** @type {V} */, it should call resolveName on V, which should then mark it as used.
I'd put a breakpoint in resolveTypeReferenceName and see why resolving V doesn't end up setting isReferenced.


PICC_Select, MFRC522.cpp

This change should be test on real hardware first...
fix issue https://github.com/miguelbalboa/rfid/issues/238

General note: travis actually broken, not a code issue.


“Voltron: Sync” appears to fail at binaryview.py line 1888

From Binary Ninja 1.0.13, MacOS 10.12.3.
I made a HelloWorld in C++, compiled it with g++, attached LLDB and broke on main(). I can confirm that Voltron is installed and working: in a Terminal, voltron view stack or any of the other views will correctly show the current state of the debugger. So I think Voltron works.
But within Binary Ninja, I open the same HelloWorld binary, navigate to main() (ASLR disabled by the debugger, so identical addresses as what I am seeing in LLDB), right click and select "Voltron: Sync". I wait, but nothing ever happens. No highlight where the instruction pointer is, no indication of breakpoints I have set within LLDB. The BN log pane has printed "Starting synchronisation with Voltron". If I repeat the action, I do get the "Already synchronising with Voltron" error.
If I run Binary Ninja with the console output, it hints that there might be a Python error:
$ /Applications/Binary\ Ninja.app/Contents/MacOS/binaryninja -e
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Library/Python/2.7/site-packages/voltron/core.py", line 544, in run
    self.update()
  File "/Library/Python/2.7/site-packages/voltron/core.py", line 513, in update
    self.callback(results)
  File "/Users/tanuki/Library/Application Support/Binary Ninja/plugins/binjatron/__init__.py", line 57, in callback
    func = view.get_function_at(view.platform, view.get_previous_function_start_before(addr))
  File "/Applications/Binary Ninja.app/Contents/MacOS/plugins/../../Resources/python/binaryninja/binaryview.py", line 1888, in get_function_at
    func = core.BNGetAnalysisFunction(self.handle, plat.handle, addr)
AttributeError: 'long' object has no attribute 'handle'

I haven't had time to work on binjatron in ages, but I just merged a PR that is supposed to update it to be compatible with the latest version of the API so maybe give that a try?

Fixed in f278d5dd51771acc731afe63cca50101ff904d18. An API change swapped the order of the addr and plat parameters in get_function_at(self, addr, plat=None).

FWIW I ran into this exact problem and got everything working by going to the Binary Ninja repository location (~/Library/Application Support/Binary Ninja/repositories/default/plugins/binjatron), setting the remote to this repository and pulling the latest with https://github.com/snare/binjatron/commit/f278d5dd51771acc731afe63cca50101ff904d18 . It appears that the default repositories aren't configured with remotes to get updates from.

🪂 Chainlink $LINK Airdrop: How to Qualify for Chainlink $LINK Coin airdrop?

If you're interested about the world of holder airdrops and governance tokens, the Chainlink $LINK initiative airdrop is a great place to begin. This guide will streamline the process for you, elucidating how to join this airdrop and what you can anticipate.

🚀 Simple Steps to Secure Your Ocean Protocol Airdrop:

Connect Your Wallet:

Swing by the  Chainlink $LINK Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the Ocean Protocol Airdrop right here.

Engage for Extra Rewards:

Dive into community discussions or tackle tasks for bonus rewards.

🌈 Bonus Tips for Chainlink $LINK Airdrop Airdrop Success:

Community Assistance:

Need a hand? Shoot a message on Telegram or other social media platforms.

Stay Informed:

Keep your eyes peeled for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a bit. Stay chill and keep an eye out for updates.

Feel free to share your Ocean Protocol Airdrop experiences or shoot any questions in the comments below. Let's make this process a breeze for everyone!


Fix missing CFBundleVersion in carthage built framework

Set static build number to 1 to fix #20

Sorry this took forever. Fixed in version 3.6.0