GraphQlTester should go by the schema when serializing variables

Motivation
My output types in the schema are the same as my input types except the latter ones don't have id field. For conciseness reasons, I use the same underlying DTO with nullable id for both types. This works well in the main code flow because id is set to null on input while it has some value on the output.
In the tests, though, I want to use my DTOs as input variables, e.g.
graphQlTester
            .document(SOME_QUERY)
            .variable("var", SomeDtoWithIdField)
            .execute()

Now I obviously don't want the variable var to contain the id field because it's not defined in the input type corresponding to SomeDtoWithIdField. I was thinking about how to drop the id from the serialized var and thought that the following code surely wouldn't work because "GraphQL does not use Jackson annotations to drive JSON serialization/deserialization".
class SomeDtoWithIdField {
    @get:JsonIgnore
    var id: Long? = null
}

But my colleague tried that anyway and to my surprise, it worked :-) That is, in my test case the id is not serialized into var while in the main flow the id is serialized to the output type. My hypothesis is that while in the normal flow spring-grqphql uses some custom serializer, GraphQlTester uses Jackson.
Questions

Is this expected behavior? Shouldn't rather GraphQlTester use the same serializer as the main flow?
If both flows should indeed behave consistently, then how could I achieve my use case? Is it somehow possible to hook into the serialization process?

(This question can be read as a sort of reverse of https://github.com/spring-projects/spring-graphql/issues/521)

Not sure what you mean by normal flow because serialization happens on the client side and it depends on which client is used. GraphQlTester is a client, and it delegates to GraphQlTransport, just like GraphQlClient does, and it passes a GraphQlRequest to it with maps of data. If the transport is WebTestClientTransport then will be serialized to JSON via Jackson. This is all expected.

serialization happens on the client side

I don't understand this. GraphQL Java must somehow convert/serialize the return types of the queries/mutations to JSON and custom scalar converters must be taken into account, i.e. generic mappers like Jackson cannot be used.
OTOH I understand that WebTestClientTransport uses Jackson to serialize the variable objects. Is there any way how to use the "native" GraphQL serializer in tests? If yes how would I achieve my use case of ignoring the id field?
My motivation basically is that while the approach with @get:JsonIgnore works for me that's only because I don't need any custom scalar converters in this particular case, so I would like to know what the generic solution would be.

It goes field by field and assembles the output map

Is this method also used if the transport is WebTestClientTransport? If yes then I got something wrong in my configuration as the JsonIgnore shouldn't actually work. If not is there any way how to obtain this output map also in the testing use case?
(Perhaps there's just a misunderstanding of what serialization really means in this case. Creating the map out of the object is IMO also part of the serialization process...)

Re-reading the description again, I think I'm beginning to understand.
I think your expectation is that GraphQlTester will compare SomeDtoWithIdField to  the corresponding GraphQL schema input type and prepare maps of data that contain only the fields that exist in the schema type, and therefore the id field should not be in the resulting output.
GraphQL Java indeed does something similar, but that's on the server side and it's for responses, and it's slightly different because it's checking against the field selection set rather than directly against the schema types. In any case, it's not something that can be re-used on the client side.
It's a valid potential enhancement, assuming I've got it right, for GraphQlClient and GraphQlTester to turn variables into maps of data, by looking at the corresponding schema input and taking only what's needed, before passing that down to the transport to serialize to JSON.

I've improved that documentation note in 089c754c73ee10a218ca6aaba4a2ca8cf2d6e9bb, based on this conversation.

I think your expectation is

Exactly! I think, though, the problem has two parts:

an ability to turn variables into maps of data on the client side according to the schema
ignoring some keys in the map based on the required input type
These could be treated separately (or rather incrementally) if that would simplify things.

Anyway, I'm glad that you consider this as an enhancement. This would greatly improve code reuse in tests because typically you have very similar fixtures for asserting server output as for providing server input (on the client side).

I don't know of a more appropriate place so I will try to ask a related question here.
Is it possible to use a different ObjectMapper for GraphQlTester client than for the server in a single SpringBootTest? I need the serialize test data differently than deserialize them on the server.

It depends on the types of tests and GraphQlTester variant but for each it's possible to customize. For HTTP, it's connected to the codecs in the underlying WebTestClient, for WebSocket you can provide a CodecConfigurer, or for ExecutionGraphQlServiceTester you can provide an Encoder and Decoder.


Created apidoc for Frest

Created apidoc for Frest
Updated README.md for generating apidoc

Good job bro!


Foreign key-ed objects are not filled somehow

Hey all!
I find EFCore a super powerful framework! I am using it on a private project, where I have 1-n relationships between tables. Unfortunately I can not something worked, I also tried to look for solutions over the internet, and I also checked the official Microsoft website,  I am following the examples but still not working. Let me break my issue down four you.
FIrst of all I have a BaseEntity which is extended by the other domain objects:
    public class BaseEntity
    {
        public int Id { get; set; }
    }

Second of all I have a Container table which has several property and three foreign keys, as follows:
    public class Container : BaseEntity
    {
        public int Size { get; set; }
        public string Type { get; set; }
        public DateTime LayDownDate { get; set; } //format in table > 2013-08-30 19:05:00
        public DateTime DesiredTakeUpDate { get; set; }
        public DateTime ContainerRegistered { get; set; }
        public int NumberOfTurns { get; set; }
        public string Others { get; set; }

        public int LocationId { get; set; }
        public Location Location { get; set; }
        public int CustomerId { get; set; }
        public Customer Customer { get; set; }
        public int TruckDriverId { get; set; }
        public TruckDriver TruckDriver { get; set; }
    }

As you can see the foreign keys are: LocationId, CustomerId, TruckDriverId.
As for this issue I am going to show only one of them, since the relation type is same for any, so the solution would be also same, i guess...
So the LocationId looks like the following:
    public class Location : BaseEntity
    {
        public double Latitude { get; set; }
        public double Longitude { get; set; }

        public ICollection<Container> Containers { get; set; }
    }

Let's see how I set up the connections between the tables with the FluentAP in my DBContext:
    public class ContainersContext : DbContext
    {
        ...
        public DbSet<Location> Location { get; set; }
        ...

        public ContainersContext(){}

        public ContainersContext(DbContextOptions<ContainersContext> options) : base(options)
        {
        }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            modelBuilder.Entity<Location>()
                .HasMany(c => c.Containers)
                .WithOne(e => e.Location);

            base.OnModelCreating(modelBuilder);
        }

        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseSqlServer("...");
        }

Well, the issue is the following: Firstly I filled my database with data, so I have some locations and containers where I filled the locationIds correspondingly. When I try to retrieve the containers from the database, I got every information instead of the Location object of the Container. It is null. So what I have to do in order to "connect" the location object to proper container, is the following:
        public IActionResult Index()
        {
            var containers = _containerRepository.GetAll();

            containers.ToList().ForEach(c =>
            {
                c.Location = _locationRepository.GetAll().FirstOrDefault(l => l.Id == c.LocationId);
            });

            ContainerMapViewModel mapModel = new ContainerMapViewModel(containers);

            return View(mapModel);
        }

As you can see, I loop trough all the containers, and set the location of each of them. It works well but I am quite convinced that the EFCore has some smart solution for it. Or maybe I have found a bug? Thanks in advance for any help! ;)

What you are missing is loading related data. By default EF never loads related data hence navigation properties are null. EF6 had lazy loading feature which loaded the data when navigation was accessed. This feature is currently not in EF Core (see #3797 ). So in the absence you have to load data manually via eager/explicit loading. (eager loading would be better perf in your case).
More information about how to load related data and details of each method is here in docs. https://docs.microsoft.com/en-us/ef/core/querying/related-data


Question about RNA pol I transcription factor complexes

GO:0000120  RNA polymerase I transcription factor complex
A transcription factor complex that acts at a regulatory region of a gene transcribed by RNA polymerase I.
I have

RNA polymerase I transcription factor complex
rrn3 , tbp1

and to the 2 descendants?
+	RNA polymerase I core factor complex

rrn11 , rrn6 , rrn7
+	RNA polymerase I upstream activating factor complex

acr1 , rrn10 , rrn5 , spp27
which are all also
An activity that contributes to transcription start site selection and transcription initiation of genes transcribed by RNA polymerase I. Factors required for RNA polymerase I transcription initiation include upstream activation factor (UAF), core factor (CF), TATA binding protein (TBP) and RRN3.
https://www.pombase.org/term/GO:0001181
so perhaps the def of
GO:0000120  RNA polymerase I transcription factor complex
A transcription factor complex that acts at a regulatory region of a gene transcribed by RNA polymerase I.
could be
GO:0000120  RNA polymerase I transcription factor complex
A transcription factor complex that acts at a regulatory region of a gene transcribed by RNA polymerase I.
Members  include upstream activation factor (UAF), core factor (CF), TATA binding protein (TBP) and RRN3.
Then we need to figure out how this relates to
GO:0005668:  'RNA polymerase transcription factor SL1 complex'

@colinlog
@RLovering
@pgaudet
(Colin I did not mail your contact , because I'm no longer sure what the question is)

close?

I changed the label and removed the logical definition in this ticket #19313
GO:0000120 RNA polymerase I transcription factor complex -> RNA polymerase I transcription regulator complex
** Remove LD:
'protein-containing complex' and ('capable of' some 'regulation of transcription by RNA polymerase I')
I think that takes care of this one.
Thanks, Pascale

RNA polymerase I core factor complex (GO:0070860)
is_a GO:0000120
so this becomes a "RNA polymerase I transcription regulator complex"
but these are GTFs. Is that OK?

Isn't RNA polymerase I core factor complex a RNA polymerase ?

I think it's a GTF?
https://www.pombase.org/term/GO:0070860


General information in the README

Brief
The README is kind of empty, even though, this repository is supposed to be a Getting Started Guide.
Task
Add the following to the README:

what on earth is Identity-based Encryption,
an introduction to CryptID (implementation independent),
an introduction of the different repositories and layers,
team members,
license,
acknowledgements.

Of course, with lots of links!

Issue closed by merging #2


Best way to change a header with timer [question]

In the thechempower benchmark, now I decoupled the Server and App.
It's a good example to port apps and frameworks.
We are sending a Date header in each request
Http::header('Date: '.gmdate('D, d M Y H:i:s').' GMT');
A lot of servers and frameworks, create it only every second, as the resolution timer is 1 s for the date header.
We are executing, in each request, the gmdate function and join the result string. That's more than 1 million times per second, in the plaintext and json benchmark.
Why not use a timer for that?
Http::header($date_header);
and use a Add::timer() to change the variable every second.
Which way will be better to do it ?
Thank you.

Yes, I agree with you. It is unreasonable to calculate gmdate for each request.
We can create every second like this.
use Workerman\Lib\Timer;
class App {
    public static $dateHeader = null;
}
$http_worker->onWorkerStart = function () {
    Timer::add(1, function(){
        App::$dateHeader = 'Date: '.gmdate('D, d M Y H:i:s').' GMT';
    });
    init();
};

$http_worker->onMessage = static function ($connection) {
    Http::header(App::$dateHeader);
    $connection->send(router());
};

In that example, it's creating a timer for every worker.
Is it possible to have 1 timer for all workers ?

Processes are independent and cannot use the same timer directly.


Make API spec examples more specific for a few fields

Codecov Report

Merging #940 (fc06db1) into master (6b7c502) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #940   +/-   ##
=======================================
  Coverage   91.30%   91.30%
=======================================
  Files          66       66
  Lines        5246     5246
=======================================
  Hits         4790     4790
  Misses        283      283
  Partials      173      173


error run on version  contacts_service: ^0.6.3

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:processDebugResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource linking failed
D:\SRC\Flutter\ppob\build\contacts_service\intermediates\library_manifest\debug\AndroidManifest.xml:11:5-24:15: AAPT: error: unexpected element  found in .

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

I had the same error. Reverted to 0.6.0 it works
Error appearing also on 0.6.1 and 0.6.2


templatectl: Add/Remove items from templates.json via cli

This PR adds a package file for templatectl, which is a rust-based binary that interacts with the /usr/share/remarkable/templates/templates.json file.  It can add entries and remove entries from the file, sparing the end user the need to edit the json file manually.
Additionally, since it is a cli-based app and will be installable via toltec, we can then use it to package template files in toltec for installing to xochitl from the package repository.

closing this one and opening a fresh one

closing this one and opening a fresh one


LiteBans Mute don't work

When i mute somebody with LiteBans he can write and ignore mute

Yes

I don't own a copy of Litebans and it's source code isn't public so I'm unable to investigate further. Contact Litebans support and ask them what PostOrder their PlayerChatEvent listener is; specifically, if it runs later than LATE HuskChat won't be able to catch it.

Closing this as it's blocked by a neccessary follow up with a closed source piece of software


Loop in COMMAND ocrGetText()

Environment (please complete the following information):

Node.js version: 22.11.0
NPM version: 10.9.1
Platform name and version: Android 11 (testing on native android app)
WebdriverIO version: 9.4.1
@wdio/visual-service version: 6.2.2
@wdio/mocha-framework version: 9.2.8
@wdio/local-runner version: 9.4.1
@wdio/globals version: 9.4.1
@wdio/cli version: 9.4.1
Appium version: 2.11.5
tsx version: 4.19.2

Config of WebdriverIO + @wdio/visual-service
services: [
        // your other services
        [
            "ocr",
            {
                contrast: 0.25,
                imagesFolder: "./onboard/output"
            },
        ],
        [
            "visual",
            {
                baselineFolder: path.join(process.cwd(), "onboard", "baseline"),
                formatImageName: "{tag}-{width}x{height}-{dpr}",
                screenshotPath: path.join(process.cwd(), "onboard", "output", "visual"),
                savePerInstance: true,
                clearRuntimeFolder: true,
            },
        ],
    ],

Describe the bug
After my typescript migration, it no longer work, it enter in a COMMAND ocrGetText() loop.

 await browser.ocrGetText({ haystack: await browser.$('myxpath') })

Expected behavior
The text is detected or if not, the following message is return "Error: An error happened when parsing the getNodeOcrData, see: Error: No text was found for the OCR, please verify the stored image."
Additional context
I'm using typescript and my tsconfig contain:
"types": [
            "node",
            "@wdio/globals/types",
            "@wdio/mocha-framework",
            "@wdio/appium-service",
            "@wdio/ocr-service",
            "@wdio/visual-service",
            "i18next"
]

Hi @P-Courteille
Can you provide a simple, reproducible example?

@wswebcreation
The update of @wdio/types doesn't fix my issue.
I have a lead in this discord conversation about multiremote capabilties:
https://discord.com/channels/1097401827202445382/1313534623262703667/1313925316397236234

Hi @P-Courteille
Thanks for all info, my time is limited, but I think I can take a look at it this weekend. Can you provide is minimal producible exmaple, with all configs, package.json and a simple test?

Hi @wswebcreation,
I will try to create this example.
The one I did from scratch doesn't reproduce the behavior so I will compare again with my previous MR and if I don't find anything I will try to create an example by removing all the useless things from my project.
Thank you for your help

According to my following analysis, the issue started with<EMAIL_ADDRESS>
Original dependencies
"devDependencies": {
"@moroo/wdio-slack-reporter": "^8.1.0",
"@types/mocha": "^10.0.10",
"@wdio/allure-reporter": "^9.0.8",
"@wdio/appium-service": "^9.1.0",
"@wdio/cli": "^9.0.9",
"@wdio/local-runner": "^9.1.0",
"@wdio/mocha-framework": "^9.1.0",
"@wdio/ocr-service": "^2.2.1",
"@wdio/visual-service": "^6.2.2",
"canvas": "^3.0.0-rc2",
"i18next": "^23.16.3",
"i18next-sprintf-postprocessor": "^0.2.2",
"mocha-tags-ultra": "^1.0.3",
"tsx": "^4.19.2"
},
Not working target dependencies
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.1",
"@wdio/allure-reporter": "^9.2.14",
"@wdio/cli": "^9.4.1",
"@wdio/globals": "^9.4.1",
"@wdio/local-runner": "^9.4.1",
"@wdio/mocha-framework": "^9.2.8",
"@wdio/ocr-service": "^2.2.1",
"@wdio/visual-service": "^6.2.2",
"canvas": "^3.0.0-rc2",
"i18next": "^24.0.0",
"i18next-sprintf-postprocessor": "^0.2.2",
"mocha-tags-ultra": "^1.0.3",
"tsx": "^4.19.2"
}
Step by step update
➤ FIRST update: $${\color{green}working}$$
npm install<EMAIL_ADDRESS>--save-dev
npm install @wdio/allure-reporter --save-dev
➤ SECOND update: $${\color{green}working}$$
npm install<EMAIL_ADDRESS>--save-dev
npm install<EMAIL_ADDRESS>--save-dev
npm install<EMAIL_ADDRESS>--save-dev
➤ THIRD update: $${\color{green}working}$$
npm install<EMAIL_ADDRESS>--save-dev
npm install<EMAIL_ADDRESS>--save-dev
npm install<EMAIL_ADDRESS>--save-dev
➤ FOURTH update: $${\color{red}not~working}$$
npm install<EMAIL_ADDRESS>--save-dev
npm install<EMAIL_ADDRESS>--save-dev
➤ FIRST downgrade: $${\color{red}not~working}$$
npm install<EMAIL_ADDRESS>--save-dev
npm install<EMAIL_ADDRESS>--save-dev
➤ SECOND downgrade: $${\color{red}not~working}$$
npm install<EMAIL_ADDRESS>--save-dev
npm install<EMAIL_ADDRESS>--save-dev
➤ Return to "THIRD update" : $${\color{green}working}$$
npm install<EMAIL_ADDRESS>--save-dev
npm install<EMAIL_ADDRESS>--save-dev
➤ FIFTH update : $${\color{red}not~working}$$
npm install<EMAIL_ADDRESS>--save-dev
npm install<EMAIL_ADDRESS>--save-dev

Thanks, I'll take a look this weekend

Hello,
My example are finally ready.
Package
Example_OCR+visual.zip

Examples
The package is for both:
https://github.com/webdriverio/visual-testing/issues/657 (OCR loop)
https://github.com/webdriverio/visual-testing/issues/656 (Visual comparison no longer working)

Scripts
Package scripts are available:

npm run Snapshot

First test with toMatchElementSnapshot $${\color{red}➤\ Fail\ with\ takeBase64ElementScreenshot\ error\ and\ malformed\ elementId\ error}$$
Second with toMatchScreenSnapshot $${\color{red}➤\ Fail\ with\ type\ error\ (look\ like\ path\ error)}$$

npm run OCR

First test with OCR directly using browser $${\color{red}➤\ Loop\ on\ INFO\ webdriver:\ COMMAND\ ocrGetText(<object>)}$$
Second with OCR using my multiremotebrowser $${\color{red}➤\ Loop\ on\ INFO\ webdriver:\ COMMAND\ ocrGetText(<object>)}$$

npm run OCR_PO

test with OCR with pageObject class $${\color{red}➤\ Loop\ on\ INFO\ webdriver:\ COMMAND\ ocrGetText(<object>)}$$
(it was in case my implementation was in cause but the issue exist without it so I don't think so)

Notes

In this example I use a WebdriverIO.MultiremoteConfig for only one device with name but on my real device, I've one wdio.conf.ts with multiple sets of capabilities with one or multiple device depending of the parameters used.

You will maybe need to replace my selector by a selector that exists on your device (if it don't):
//android.widget.TextView[@content-desc="Contacts"]
(it was the Contacts icon on the main screen of my phone)

I didn't reproduce the issue about "Snapshot service is not initialized" but technically my concerne was only about "toMatchElementSnapshot" and the "toMatchSnapshot" is not interesting in my case.

Thank you @wswebcreation and have a nice day,
Paul

The origin of the loop is explain in my other https://github.com/webdriverio/visual-testing/issues/656#issuecomment-2528683467

Thanks @wswebcreation, have a nice day

@P-Courteille
I found the problem with the loop, I have a fix for it, but now I have an issue with the commands on the browser object  like await browser.ocrGetText({ haystack: await browser.$(~Gmail) }). The browser instance works perfectly await multiremotebrowser.androidDevice.ocrGetText({ haystack: await multiremotebrowser.androidDevice.$(~Gmail) })
I need to think about how to solve this, hope to have this fixed by the end of the week

Hi @wswebcreation,
Ok, I don't know how you fixed it but from my understanding:

In #extendMultiremoteBrowser, you have one loop to add the command to all remote instance and then to the browser object himself

In the ccharnkij loop, you have only one loop for the instance I think. Nothing for the browser object himself.

In both solution, it seemms to be only for the addCommand and not for overwriteCommand so from my point of view, it's a problem too.

So a mix between the two implementation with an extension to the overwriteCommand is supposed to be, from my point of view, the solution.
Something like that ?
(I haven't tested it)
if (!isStub(automationProtocol)) {
    const origAddCommand = driver.addCommand.bind(driver);
    driver.addCommand = (name, fn, attachToElement) => {
      //Add command to browser object
      driver.origAddCommand(name, fn, attachToElement)
      //Add command to browser instances
      driver.instances.forEach(
        (instance) => driver.getInstance(instance).addCommand(name, fn, attachToElement)
      );
      return origAddCommand(
        name,
        fn,
        attachToElement,
        Object.getPrototypeOf(multibrowser.baseInstance),
        multibrowser.instances
      );
    };
    const origOverwriteCommand = driver.overwriteCommand.bind(driver);
    driver.overwriteCommand = (name, fn, attachToElement) => {
      //Overwrite command to browser object
      driver.origOverwriteCommand(name, fn, attachToElement)
      //Overwrite command to browser instances
      driver.instances.forEach(
        (instance) => driver.getInstance(instance).overwriteCommand(name, fn, attachToElement)
      );
      return origOverwriteCommand(
        name,
        fn,
        attachToElement,
        Object.getPrototypeOf(multibrowser.baseInstance),
        multibrowser.instances
      );
    };
  }

Tell me if I can help and have a nice day.
Paul

Hi @P-Courteille
The fix in the WebdriverIO package seems to be breaking stuff for multi-remote implementations. We (mainly @christian-bromann 😅 ) are looking into fixing/reverting it. The issue is that you can now not handle/manipulate the execution order when the commands are added to the browser-object. Modules that use the multiremote implementation will now only get the multiremote contexts instead of having the option to adjust how the browser instances are executed.
The implementation in the OCR service now (based on the old way) adds the commands on the browserinstance contexts, and also manipulates the execution of each browserinstance on the browser-object. With the latest fix we get into a infinite loop as you are experiencing.


Multiple blocking issues doesn't work

I mentioned
blocked by #1
blocked by #2
and it only checks for issue that is mentioned first. If I close #1 and #2 is still open, the bot doesn't recognize it and says we're good to merge

Make sure you're using version 1.1 in your workflow file, as using version 1 won't update automatically

Suppose we've an issue Feature bug
it is blocked by
Bug 1
Bug 2
Bug 3
Even if all three bugs open, we can close the Feature Bug.
The idea should be that Feature Bug should not be closed until all bugs are fixed. But if someone by mistake closes Feature Bug then it should be reopened as it is still blocked by open issues.

Many projects use closing issues/PRs as a way to say "this idea is no longer being considered", which has nothing to do with whether it was blocked or not. Besides, it's not a good idea for a bot to override a manual user action -- then there would be no way to close an issue/PR.


Analyze the design file

[x] Plan out the HTML structure
[x] Plan out the components
[ ] See if we need any third party packages

The design files can be found here: https://www.frontendmentor.io/challenges/calculator-app-9lteq5N29/hub/calculator-app-guS3Z3ino

The analyzation:
https://www.figma.com/file/fj2KEbSIQXQqUeF2hRHoxy/reactolator-planning?node-id=0%3A1
No third party packages is required.
It will use CSS grids for the buttons, local storage for the theme and "prefers-color-scheme" for the visitors who have not yet set a theme.


Summary Plot Errors on Dashboard

Everything on the dashboard shows up except for the summary plots where there are 2 callback errors and both are related to AttributeError: 'DataFrame' object has no attribute 'convert_dtypes'.

This error got fixed when I updated my pandas from 0.25.1 to 1.0.5.

Thanks for the feedback.
You would have to use the new version of Pandas Library that has the attribute convert_dtypes' . To update Pandas, please use the following.
pip install pandas==1.0.5


vulcan-events: fix TypeError: Cannot redefine property: name

google analitycs and vulcan-events get error so google bot from google search console can't load rest resource to render web page

I think it resolve it:
https://github.com/emberjs/ember.js/issues/4567#issuecomment-38351180

f2 = {...f2}; seems a bit hacky? Maybe you could use lodash's clone, or at least add some comments to make it clearer what's going on?

I'm cloning it to make a copy of f2, because f2 already has a 'name' attribute from f

But f2 is a function? What does {...f2} mean for a function?

For functions {...f2} is a null object {}. f2={}. you're right it's wrong


Fixed #903 to allow requests/sec UI column to display.

Fixed #903 to allow requests/sec UI column to display. Currently styling seems to allow min browser width of 1125px+ without clipping column now.

thanks.


Missing CORS headers

I've got a website for my meetup group and I want it to pull down the details of the next meetup that's been scheduled.  I'm using an API key signature which works when I paste the URL into a browser but when I try it from code on a webpage the browser complains that there are no Access-Control-Allow-Origin headers present in the response from the meetup.com API.
My code looks like this (with the group name and signatures replaced):
var httpRequest = new XMLHttpRequest()
httpRequest.onreadystatechange = function () {
  // ...do some processing here
}
httpRequest.open('GET', 'https://api.meetup.com/GROUP_NAME/events?photo-host=secure&sig_id=SIG_ID&sig=SIG', true)
httpRequest.send(null)

Any ideas how I can get the API to supply the right CORS headers?

CORS is only supported for requests that are authenticated using oauth. We do this so we can validate the consumers redirect_uri with the Origin header sent by the browser.

Is there any way to access the information presented by the API in a read-only fashion without having to jump through such hoops?  I just want to automate showing the next meetup on the site - it's just a flat page with no backend.

Echoing @achingbrain here: we'd like to read the list of meetups for our group from the API using JS on our homepage. CORS is stopping us, it would seem. Obviously we don't want people to have to authenticate in order to show them this list. Any chance of this being possible?

It sounds link you want to use jsonp https://en.m.wikipedia.org/wiki/JSONP. Just send the request with a callback parameter. You can find more information here http://www.meetup.com/meetup_api/

Use jsonp :)

This should work, but I can't get it to work either.   I'm using OAuth2 Implicit flow, and the preflight requests are not returning an Access-Control-Allow-Origin header.  Thoughts?

try using https://cors-anywhere.herokuapp.com/ before the api link as a quick fix


docs: add file with project setup instructions

Add PROJECT_SETUP.md file with step-by-step
instructions for creating a new project using
Poetry.

Closing this following in-person discussion at last JF as docs have changed a lot since this was first opened. Will be followed by new PR if the current docs still could use some clarification.


Change NoOps to SQLite across all project folders

Content must go through a pre-merge checklist.
Pre-Merge Content Checklist
This documentation has been checked to ensure that:

[x] The title, template, and date` are all set
[x] Does this PR have a new menu item (anywhere in templates/*.hbs files) that points to a document .md that is set to publish in the future? If so please only publish the .md and .hbs changes in real-time (otherwise there will be a menu item pointing to a .md file that does not exist)
[x] File does not use CRLF, but uses plain LF (hint: use cat -ve <filename> | grep '^M' | wc -l and expect 0 as a result)
[x] Has passed bart check
[x] Has been manually tested by running in Spin/Bartholomew (hint: use PREVIEW_MODE=1 and run npm run styles to update styling)
[x] Headings are using Title Case
[x] Code blocks have the programming language set to properly highlight syntax and the proper copy directive
[x] Have tested with npm run test and resolved all errors
[x] Relates to an existing (potentially outdated) blog article? If so please add URL in blog to point to this content.

Wait what's this. are we meant to be changing this in the cloud plugin and stuff as well?

Thank @itowlson
Happy with this one if you are; thanks for the extra suggestions.


Integrate the client library with OpenCensus for C++

All operations should be integrated with OpenCensus for C++.  This is probably blocked by abseil/abseil-cpp#111 because OpenCensus depends on Abseil.

I just created #957 and #958 to track this.

Oh, this bug is for the storage client.  I was thinking Bigtable.  For the storage client we need to do more development.  There is no gRPC API for GCS, so we are using libcurl.  I am sure it is still possible to integrate with OpenCensus via Bazel, but it would be more work.
Notice that in either case it would be hard to do a deeper integration in the library without CMake support.  We can build a demo that links (and uses) OpenCensus, but we cannot have the library create spans for a single logical operation that is retried multiple times (for example), because that wouldn't link when the client library is compiled with CMake, and we are not really looking forward to peppering the code with #ifdefs.

FWIW, we have a dep on Abseil now, so that should no longer be a blocker.

This is now obsolete. OpenCensus for C++ does not seem to be under active development after the "merge" into OpenTelemetry.

This is now obsolete. OpenCensus for C++ does not seem to be under active development after the "merge" into OpenTelemetry.


Send inbound TransactionsById requests to the mempool storage service

Is your feature request related to a problem? Please describe.
The zebra_network::Request::TransactionsById variant should be handled by the inbound network service.
Describe the solution you'd like

[ ] This page on the Bitcoin wiki https://en.bitcoin.it/wiki/Protocol_documentation#getdata suggests that transaction lookup is only allowed for mempool transactions, to prevent reliance on nodes having transaction indexes.  We should check what zcashd does.

[ ] The inbound network service should query the mempool for those transactions and construct a response.

[ ] The response should consist of the found transactions, followed by a list of NotFound hashes

[ ] zcashd ignores NotFound, but its code says that SPV clients rely on NotFound. Do SPV clients exist on the Zcash network?

Additional context
See:

https://developer.bitcoin.org/reference/p2p_networking.html#getdata
https://developer.bitcoin.org/reference/p2p_networking.html#tx
https://developer.bitcoin.org/reference/p2p_networking.html#notfound

Blocked on actually having a mempool.  Part of #889.

The TransactionsByHash was renamed to TransactionsById in https://github.com/ZcashFoundation/zebra/commit/c6082602561a15c0dfb37578a9b09b3cd8e017a4 so i changed the title and the contents of this ticket as it confused me to create a new request but it is not needed.

The TransactionsByHash was renamed to TransactionsById in c608260 so i changed the title and the contents of this ticket as it confused me to create a new request but it is not needed.

Thanks!
Sorry I missed this ticket, I changed most of the names last week.

Ok, cool, that makes this ticket a lot easier to code. Will send a PR.

It looks like zcashd and Zebra don't actually need notfound messages:
https://github.com/zcash/zcash/blob/e7b425298f6d9a54810cb7183f00be547e4d9415/src/main.cpp#L5632
https://github.com/ZcashFoundation/zebra/blob/main/zebra-network/src/peer/connection.rs#L115
So can we open another ticket for notfound, and do it later if we have time?

I opened ticket #2726 for notfound.


Pin pillow

Try pinning pillow to see if that solves Jenkins issues.
Pull Request Checklist

[ ] All tests in the tests folder pass with a local build
[ ] Pull request includes a description of why we are doing this
[ ] Init files import new capabilities to appropriate level of package (if applicable)
[ ] CHANGELOG has been updated
[ ] Version in _version.py has been updated
[ ] README has been updated (if applicable)

This does not seem to be the issue with Jenkins.


add to description of OS state

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[X] Other, please clarify Improve description of OS state property

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following appy to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

This change is just a small addition to a property description based on a customer issue.

@ArcturusZhang - is there any chance of getting this PR merged? It only changes one description. The change was made based on a customer support case.


Compiled class files are incorrectly deleted by compileJava, leading to unpredictable build failures

Expected Behavior
When compileJava finds a change in the Java source files, it should recompile and delete the old output. When it doesn't find a change, it should not recompile and keep the old output.

Current Behavior
compileJava deletes "stale output" (see below), i.e. class files, then doesn't recompile because no input changed. Therefore, there are no class files for the project and any run action fails.

Context
I'm trying to compile a very standard Java 17 project with standard project structure using JavaFX.
plugins {
	id 'java'
	id 'application'
	id 'org.openjfx.javafxplugin' version '0.0.10'
}

repositories {
	mavenCentral()
}

version = '0.1'

javafx {
	version = '16'
	modules = [ 'javafx.controls', 'javafx.graphics' ]
}
mainClassName = 'module/package.name.MainClassName'

java {
	modularity.inferModulePath = true
	toolchain.languageVersion = JavaLanguageVersion.of(17)
}

tasks.withType(JavaCompile) {
	options.encoding = 'UTF-8'
}
tasks.named('javadoc') {
	options.encoding = 'UTF-8'
}
compileJava {
	options.fork = true
	options.encoding = 'UTF-8'
}

run {
	jvmArgs = [
		'-Dfile.encoding=UTF-8',
	]
}

tasks.named('run') {
	standardInput = System.in
}

This compilation fails due to the above issue, which can be found with gradle run --info:
// snip

Tasks to be executed: [task ':compileJava', task ':processResources', task ':classes', task ':configJavafxRun', task ':mergeClasses', task ':run']
Tasks that were excluded: []
:compileJava (Thread[Execution worker for ':',5,main]) started.

> Task :compileJava UP-TO-DATE
Deleting stale output file: path\to\project\build\generated\sources\headers\java\main
Deleting stale output file: path\to\project\build\classes\java\main
Deleting stale output file: path\to\project\build\generated\sources\annotationProcessor\java\main
Caching disabled for task ':compileJava' because:
  Build cache is disabled
Skipping task ':compileJava' as it is up-to-date.
:compileJava (Thread[Execution worker for ':',5,main]) completed. Took 0.025 secs.
:processResources (Thread[Execution worker for ':',5,main]) started.

// snip

As far as I can tell from this, the Java compile deletes stale output files only to then not regenerate them. I've confirmed that the class files are indeed missing. Leading to standard run issues like "Main class not found", "module blah not found" etc.
A workaround is to change the configuration of compileJava (e.g. changing options.fork which doesn't really affect the outcome). This will force compileJava to recompile everything, which means that if I run gradle in this reconfig step, the application runs successfully. On the very next try, however (just rerun the command!), the issue reoccurs.

Steps to Reproduce
The repo https://github.com/kleinesfilmroellchen/ToyCpuEmulator should exhibit this behavior. Basically, a very standard Gradle build file with JavaFX and the Java application plugin. Because I can't reproduce this in my other, similar Gradle projects, it may be related to JavaFX but nothing indicates that.

Your Environment

Gradle 7.3.1
OpenJDK 17
Windows 10 21H2
Build scan URL: https://scans.gradle.com/s/pq5yunmivplya

@kleinesfilmroellchen, I've tried to reproduce your issue on the linked project but didn't manage to. Could you pls. provide an exact list of steps to do which should trigger the issue?

Okay, this looks like a problem with other files in my repo. I can't reproduce either with a clean clone and executing gradle run twice or more without changes. I'll therefore close this.


New Feature Request: Audio Support

Hi Naveen,
I using your player for streaming h264/h265 sessions in web and it's working really great!
There are not much available players with h265 support along with audio. This feature would really help the community for further improving their projects.
Currently in the project which I am working on, I am able to get the streaming fine for both h264 and h265. As the next step I am now setting up audio. But unfortunately no players are available with all these features.
So I would like to ask for a feature request, do you think you could add audio support to the player as well? This would help many developers like us in the community to further polish their projects and skills.
Thankyou!

Thanks @naveenrobo for the quick response and I'm glad to hear that.
How much effort and time will be required for this activity? Also if possible can you provide the milestones that is necessary to complete this. Perhaps I can also start from my side in the development so that I could also get an idea on the integration (ps: I am a system side developer and haven't worked much on web. My exposure mostly in web is in debugging and fixing the issues which I come across when integrating web with my application).


New package: Kirei v0.1.0

Registering package: Kirei
Repository: https://github.com/sunoru/Kirei.jl
Created by: @sunoru
Version: v0.1.0
Commit: 2a799463c00c51a46c0e0a28daa29f67499f25fb
Reviewed by: @sunoru
Reference: https://github.com/sunoru/Kirei.jl/commit/2a799463c00c51a46c0e0a28daa29f67499f25fb#commitcomment-102778358
Description: Collection of macros for making your Julia module.

[noblock] The name similarity is clearly silly, and you should ask on Slack to have a maintainer merge the package after the three day waiting period is over.
Would you consider adding documentation for the package, though? Setting up Documenter.jl with GitHub pages is quite straightforward, and would make the package much more useful for others.

[noblock] The name similarity is clearly silly, and you should ask on Slack to have a maintainer merge the package after the three day waiting period is over.
Would you consider adding documentation for the package, though? Setting up Documenter.jl with GitHub pages is quite straightforward, and would make the package much more useful for others.

[noblock] Thanks for your advice! Yes I will ask a maintainer to help me, and yes I am considering adding documentation. I just wanted to register a very early version so that I can publish later releases easily.


Curious to know why this template does not let you choose Authentication

I am just curious to know why this template does not let you choose any other authentication than 'No Authentication' . Is it intentional? If yes then what are the reasons.

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

ID: 32a18270-91cd-2a02-2eb8-2c8b1ed03737
Version Independent ID: c58d57e5-a0c2-201d-f6dd-076ad5971fcb
Content: Use the Angular project template with ASP.NET Core
Content Source: aspnetcore/client-side/spa/angular.md
Product: aspnet-core
GitHub Login: @SteveSandersonMS
Microsoft Alias: scaddie

@RajeshNarkhede This is intentional.
@danroth27 The last time I asked about enabling auth for SPA templates, you mentioned this is being worked on. Any status to provide?

It's still something we want to do, but I don't have a committed timeframe for you yet.


Check failed: unit == "kB"

when I use vllm to deploy gpt2 model, I got this error:

what does this mean?

Hi @weishengying, thanks for trying out vLLM. That is a new error we haven't seen. Could you provide a reproducible script?

@weishengying I got this error too. Do you find any solution?


Using Gulp

Have anybody tried compiling using Gulp?
I tried Gulp, but with no luck and everytime when I try http://localhost:3030
I get:
500 TypeError: object is not a function
   at module.exports.Backbone.View.extend.getInnerHtml (/Users/thunderball/Projects/rendr-test/node_modules/rendr/shared/base/view.js:191:12)
   at module.exports.Backbone.View.extend.getHtml (/Users/thunderball/Projects/rendr-test/node_modules/rendr/shared/base/view.js:198:21)
   at ViewEngine.getViewHtml (/Users/thunderball/Projects/rendr-test/node_modules/rendr/server/viewEngine.js:69:15)
   at ViewEngine.render (/Users/thunderball/Projects/rendr-test/node_modules/rendr/server/viewEngine.js:22:16)
   at View.render (/Users/thunderball/Projects/render-test/node_modules/express/lib/view.js:93:8)
   at EventEmitter.app.render (/Users/thunderball/Projects/rendr-test/node_modules/express/lib/application.js:566:10)
   at ServerResponse.res.render (/Users/thunderball/Projects/rendr-test/node_modules/express/lib/response.js:938:7)
   at /Users/thunderball/Projects/render-test/node_modules/rendr/server/router.js:87:11
   at Object.module.exports.index (/Users/thunderball/Projects/rendr-test/app/controllers/main_controller.js:5:9)
   at /Users/thunderball/Projects/rendr-test/node_modules/rendr/server/router.js:74:12

Does anybody know when could be a problem? I tried same project with Grunt from example and it's working.

@thunderball1 can you post these sorts of questions on Stack overflow?  Then, you can link to it here if you want.


fix AblationLayerVit for Swin models

AblationLayerVit only works with 3-dimensional activations (e.g. (1,50,768)). This fix makes it work with 4-dimensional inputs such as that of the Swin-T model from Torchvision, as it returns activations of shape (1,7,7,768).

Thank you for the contribution !


Bug fix in div(B) computation

On curved meshes the inverse_jacobian carries multiple indices not only the current element as is the case for the tree mesh.

Are there any significant differences in reported div B errors on curved meshes?

Are there any significant differences in reported div B errors on curved meshes?

Not a huge amount for the Alfvén wave tests I ran. But these meshes are only (weakly) warped boxes. I think we would see a larger influence if we had more heavily skewed elements but none of the Trixi MHD testcases have this really


SwiftEmitModule build commands failed

React Native Version: 0.70.1
iOS min. deployment: 13.4
XCode: 14.0.1
Simulator: iPhone 12 Pro
Development System: Mac M1
I'm having trouble interpreting the following build error:
The following build commands failed: 	SwiftEmitModule normal x86_64 Emitting\ module\ for\ vision_camera_dynamsoft_barcode_reader (in target 'vision-camera-dynamsoft-barcode-reader' from project 'Pods') (1 failure)
Not sure if relevant, but this error is happening after a Firebase SDK integration.

I haven't encountered such an error. Maybe it is related to this issue: https://github.com/tony-xlh/vision-camera-dynamsoft-barcode-reader/issues/7

We're trying version 14 of react-native-firebase, which installed without the aforementioned error, as a workaround.


Display more operations in dwarfdump

Coverage remained the same at 94.116% when pulling 7da734195a3922227809937148ecde28697f3c3e on philipc:dwarfdump-op into ad0019a37128cc2425f2ac53573debe5dbb3393a on gimli-rs:master.

FWIW, looks reasonable to me.

Thanks @tromey


How to add a car that won't reroute

hello,
I would like to add a car into this dataset, but when I am given a certain path, the ego car tends to rerouting.
I want to add a car in this dataset, it only follows the path I give, and the path will not be redefined, how can I achieve this?

This is a SUMO question, so I would read more in its documentation.
Nonetheless, you can do as I did here: https://github.com/lcodeca/MoSTScenario/blob/master/scenario/in/add/basic.vType.xml#L23


Test and Evaluate Dust Schemes

There are several dust schemes in GOCART-2G that need full testing and evaluation.

Bring DEAD scheme to process library
Implement DEAD in G2G
Carryout control for 2016 at C180 (compatible with benchmark, but latest model)
Compare control with benchmark
Add NDVI to Ginoux, test, happy with do-no-harm
Test dust schemes:
a) Simple, similar to Ginoux, use externally specified threshold friction velocity
b) DEAD
c) Fengsha
d) K14

Branch:  feature/#255/joshi/dust

@amdasilva Please let me know if I can be of any assistance here.  There are probably some updates to the input files for FENGSHA.  I'm happy to pass those along.


Filter component in Contribute screen is laggy

Describe the bug
When we have many contributions cards (>10), the filter component starts to lag
To Reproduce
Steps to reproduce the behavior:

Open dzcode mobile app
Navigate to Contribute screen
Open the filter component
See that it lags when trying to open/close it
It also lags when you try to select any filter option.

Expected behavior
It should behave instant and smooth.
Environment:

OS: iOS 15.0
Browser : Native Mobile App
Version: latest version as of writing this issue.

Additional context
This is most because, whenever we change the filter options, we trigger a re-render of the whole Contribute screen, including all the contributions cards, you will notice that it's faster if you have fewer contribution cards.
Also, this is even slower on my low-end Android device.

I noticed that too, since it trigger to re-render the whole screen, we should create a custom component for the filters and memoize so it will re-render only whenever the filters has been changed.


added start script in package.json

i had faced a problem while deploying on openshift that i couldn't find "start". this fix helped me.

Coverage remained the same at 79.31% when pulling 495b507a879b8367f894198685ea5bd18252ee68 on munawwarhussain:master into 1e20cea66090b51675ff68d92d2c33af55433555 on hexojs:master.

The branch is "late", and the script has been moved to assets/server.js
This could be added indeed


[LSP] A newly added parameter should appear in the list after file save

Expected behavior
A newly added parameter should be available after file save
Actual behavior
In the test, the following events happen in the given order

notification didChange is sent with parameters

{"textDocument":{"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/edit_codecomplete_param.spec"},"contentChanges":[{"text":"Parameter Code Complete\n=======================\ntable:./csv.csv\nGauge LSP 2\n-----------\n* one \"something\"\n* start \"s\"\n* blah \"more\"\n* two \"another\" \"parameter\"\n* start one \u003cone\u003e\n"}]}

The file is saved on the disk
notif: textDocument/didSave: with parameters ```
{"textDocument":{"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/edit_codecomplete_param.spec"}}

* `Wait for 1 second`
* However, the codecomplete parameters list does not have the parameter `more` added while editing the file

The full log

01:12:46.631 LangServer: reading on stdin, writing on stdout
01:12:46.632 --> request #0: initialize: {"processId":14551,"rootPath":"/Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete","rootUri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete","capabilities":{"workspace":{"applyEdit":true,"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true},"executeCommand":{"dynamicRegistration":true}},"textDocument":{"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true}},"hover":{"dynamicRegistration":true},"signatureHelp":{"dynamicRegistration":true},"definition":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true},"codeAction":{"dynamicRegistration":true},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true}}},"trace":"off","experimental":{}}
01:12:46.633 <-- result #0: initialize: {"capabilities":{"textDocumentSync":1,"completionProvider":{"resolveProvider":true,"triggerCharacters":[""," ",""","\u003c",":",","]},"definitionProvider":true,"documentSymbolProvider":true,"workspaceSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentFormattingProvider":true,"renameProvider":true}}
01:12:46.634 --> notif: initialized: {}
01:12:46.634 <-- request #0: client/registerCapability: {"registrations":[{"id":"gauge-fileWatcher","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete//*{.cpt,.spec,.md}","kind":5}]}}]}
01:12:46.636 --> result #0: client/registerCapability: null
01:12:46.654 <-- request #1: client/registerCapability: {"registrations":[{"id":"gauge-runner-didOpen","method":"textDocument/didOpen","registerOptions":{"documentSelector":[{"scheme":"file","language":"ruby","pattern":"/Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/step_implementations//.rb"}]}},{"id":"gauge-runner-didClose","method":"textDocument/didClose","registerOptions":{"documentSelector":[{"scheme":"file","language":"ruby","pattern":"/Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/step_implementations/**/.rb"}]}},{"id":"gauge-runner-didChange","method":"textDocument/didChange","registerOptions":{"documentSelector":[{"scheme":"file","language":"ruby","pattern":"/Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/step_implementations//*.rb"}],"syncKind":1}},{"id":"gauge-runner-codelens","method":"textDocument/codeLens","registerOptions":{"documentSelector":[{"scheme":"file","language":"ruby","pattern":"/Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/step_implementations//.rb"}]}},{"id":"gauge-runner-fileWatcher","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/step_implementations/**/.rb","kind":5}]}}]}
01:12:46.657 --> result #1: client/registerCapability: null
01:12:46.663 --> request #1: gauge/getRunnerLanguage: null
01:12:46.663 <-- result #1: gauge/getRunnerLanguage: "ruby"
01:12:46.670 --> notif: textDocument/didOpen: {"textDocument":{"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/edit_codecomplete_param.spec","languageId":"markdown","version":1,"text":"Parameter Code Complete\n=======================\ntable:./csv.csv\nGauge LSP 2\n-----------\n* one "something"\n* start "s"\n* two "another" "parameter"\n* start one \u003cone\u003e\n"}}
01:12:46.676 --> notif: textDocument/didChange: {"textDocument":{"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/edit_codecomplete_param.spec"},"contentChanges":[{"text":"Parameter Code Complete\n=======================\ntable:./csv.csv\nGauge LSP 2\n-----------\n* one "something"\n* start "s"\n* blah "more"\n* two "another" "parameter"\n* start one \u003cone\u003e\n"}]}
01:12:46.676 --> notif: textDocument/didSave: {"textDocument":{"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/edit_codecomplete_param.spec"}}
01:12:46.691 <-- notif: textDocument/publishDiagnostics: {"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/someTags/tagAtSpecLevel.spec","diagnostics":[{"range":{"start":{"line":5,"character":0},"end":{"line":5,"character":10000}},"severity":1,"code":"step 'start' do ||\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"}]}
01:12:46.692 <-- notif: textDocument/publishDiagnostics: {"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/someTags/tagCompletion.spec","diagnostics":[{"range":{"start":{"line":5,"character":0},"end":{"line":5,"character":10000}},"severity":1,"code":"step 'one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"}]}
01:12:46.692 <-- notif: textDocument/publishDiagnostics: {"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/someTags/tagInMultipleLines.spec","diagnostics":[{"range":{"start":{"line":10,"character":0},"end":{"line":10,"character":10000}},"severity":1,"code":"step 'one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":11,"character":0},"end":{"line":11,"character":10000}},"severity":1,"code":"step 'start \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":12,"character":0},"end":{"line":12,"character":10000}},"severity":1,"code":"step 'two \u003carg0\u003e \u003carg1\u003e' do |arg0, arg1|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":16,"character":0},"end":{"line":16,"character":10000}},"severity":1,"code":"step 'one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":17,"character":0},"end":{"line":17,"character":10000}},"severity":1,"code":"step 'start \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":18,"character":0},"end":{"line":18,"character":10000}},"severity":1,"code":"step 'two \u003carg0\u003e \u003carg1\u003e' do |arg0, arg1|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"}]}
01:12:46.692 <-- notif: textDocument/publishDiagnostics: {"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/codecomplete_param.spec","diagnostics":[{"range":{"start":{"line":5,"character":0},"end":{"line":5,"character":10000}},"severity":1,"code":"step 'one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":6,"character":0},"end":{"line":6,"character":10000}},"severity":1,"code":"step 'start \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":7,"character":0},"end":{"line":7,"character":10000}},"severity":1,"code":"step 'two \u003carg0\u003e \u003carg1\u003e' do |arg0, arg1|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":8,"character":0},"end":{"line":8,"character":10000}},"severity":1,"code":"step 'start one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"}]}
01:12:46.693 <-- notif: textDocument/publishDiagnostics: {"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/edit_codecomplete_param.spec","diagnostics":[{"range":{"start":{"line":5,"character":0},"end":{"line":5,"character":17}},"severity":1,"code":"step 'one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":6,"character":0},"end":{"line":6,"character":11}},"severity":1,"code":"step 'start \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":7,"character":0},"end":{"line":7,"character":13}},"severity":1,"code":"step 'two \u003carg0\u003e \u003carg1\u003e' do |arg0, arg1|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":8,"character":0},"end":{"line":8,"character":27}},"severity":1,"code":"step 'start one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"}]}
01:12:46.693 <-- notif: textDocument/publishDiagnostics: {"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/someTags/tagAtScenarioLevel.spec","diagnostics":[{"range":{"start":{"line":5,"character":0},"end":{"line":5,"character":10000}},"severity":1,"code":"step 'one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":6,"character":0},"end":{"line":6,"character":10000}},"severity":1,"code":"step 'start \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":7,"character":0},"end":{"line":7,"character":10000}},"severity":1,"code":"step 'two \u003carg0\u003e \u003carg1\u003e' do |arg0, arg1|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":12,"character":0},"end":{"line":12,"character":10000}},"severity":1,"code":"step 'one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":13,"character":0},"end":{"line":13,"character":10000}},"severity":1,"code":"step 'start \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":14,"character":0},"end":{"line":14,"character":10000}},"severity":1,"code":"step 'two \u003carg0\u003e \u003carg1\u003e' do |arg0, arg1|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"}]}
01:12:46.710 <-- notif: textDocument/publishDiagnostics: {"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/codecomplete_param.spec","diagnostics":[{"range":{"start":{"line":5,"character":0},"end":{"line":5,"character":10000}},"severity":1,"code":"step 'one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":6,"character":0},"end":{"line":6,"character":10000}},"severity":1,"code":"step 'start \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":7,"character":0},"end":{"line":7,"character":10000}},"severity":1,"code":"step 'two \u003carg0\u003e \u003carg1\u003e' do |arg0, arg1|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":8,"character":0},"end":{"line":8,"character":10000}},"severity":1,"code":"step 'start one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"}]}
01:12:46.710 <-- notif: textDocument/publishDiagnostics: {"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/edit_codecomplete_param.spec","diagnostics":[{"range":{"start":{"line":5,"character":0},"end":{"line":5,"character":17}},"severity":1,"code":"step 'one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":6,"character":0},"end":{"line":6,"character":11}},"severity":1,"code":"step 'start \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":7,"character":0},"end":{"line":7,"character":13}},"severity":1,"code":"step 'blah \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":8,"character":0},"end":{"line":8,"character":27}},"severity":1,"code":"step 'two \u003carg0\u003e \u003carg1\u003e' do |arg0, arg1|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":9,"character":0},"end":{"line":9,"character":17}},"severity":1,"code":"step 'start one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"}]}
01:12:47.682 <-- notif: textDocument/publishDiagnostics: {"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/someTags/tagAtScenarioLevel.spec","diagnostics":[{"range":{"start":{"line":5,"character":0},"end":{"line":5,"character":10000}},"severity":1,"code":"step 'one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":6,"character":0},"end":{"line":6,"character":10000}},"severity":1,"code":"step 'start \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":7,"character":0},"end":{"line":7,"character":10000}},"severity":1,"code":"step 'two \u003carg0\u003e \u003carg1\u003e' do |arg0, arg1|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":12,"character":0},"end":{"line":12,"character":10000}},"severity":1,"code":"step 'one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":13,"character":0},"end":{"line":13,"character":10000}},"severity":1,"code":"step 'start \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":14,"character":0},"end":{"line":14,"character":10000}},"severity":1,"code":"step 'two \u003carg0\u003e \u003carg1\u003e' do |arg0, arg1|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"}]}
01:12:47.682 <-- notif: textDocument/publishDiagnostics: {"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/someTags/tagAtSpecLevel.spec","diagnostics":[{"range":{"start":{"line":5,"character":0},"end":{"line":5,"character":10000}},"severity":1,"code":"step 'start' do ||\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"}]}
01:12:47.682 <-- notif: textDocument/publishDiagnostics: {"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/someTags/tagCompletion.spec","diagnostics":[{"range":{"start":{"line":5,"character":0},"end":{"line":5,"character":10000}},"severity":1,"code":"step 'one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"}]}
01:12:47.682 <-- notif: textDocument/publishDiagnostics: {"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/someTags/tagInMultipleLines.spec","diagnostics":[{"range":{"start":{"line":10,"character":0},"end":{"line":10,"character":10000}},"severity":1,"code":"step 'one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":11,"character":0},"end":{"line":11,"character":10000}},"severity":1,"code":"step 'start \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":12,"character":0},"end":{"line":12,"character":10000}},"severity":1,"code":"step 'two \u003carg0\u003e \u003carg1\u003e' do |arg0, arg1|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":16,"character":0},"end":{"line":16,"character":10000}},"severity":1,"code":"step 'one \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":17,"character":0},"end":{"line":17,"character":10000}},"severity":1,"code":"step 'start \u003carg0\u003e' do |arg0|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"},{"range":{"start":{"line":18,"character":0},"end":{"line":18,"character":10000}},"severity":1,"code":"step 'two \u003carg0\u003e \u003carg1\u003e' do |arg0, arg1|\n\traise 'Unimplemented Step'\nend","message":"Step implementation not found"}]}
01:12:47.693 --> request #2: textDocument/completion: {"position":{"line":5,"character":15},"textDocument":{"uri":"file:///Users/vagrant/go-agent-17.4.0/pipelines/Ruby-LSP-Tests/data/codecomplete/specs/edit_codecomplete_param.spec"}}
01:12:47.694 <-- result #2: textDocument/completion: {"isIncomplete":false,"items":[{"label":"something","kind":6,"detail":"static","filterText":"something"","textEdit":{"range":{"start":{"line":5,"character":7},"end":{"line":5,"character":17}},"newText":"something""},"insertTextFormat":1},{"label":"s","kind":6,"detail":"static","filterText":"s"","textEdit":{"range":{"start":{"line":5,"character":7},"end":{"line":5,"character":17}},"newText":"s""},"insertTextFormat":1},{"label":"another","kind":6,"detail":"static","filterText":"another"","textEdit":{"range":{"start":{"line":5,"character":7},"end":{"line":5,"character":17}},"newText":"another""},"insertTextFormat":1},{"label":"parameter","kind":6,"detail":"static","filterText":"parameter"","textEdit":{"range":{"start":{"line":5,"character":7},"end":{"line":5,"character":17}},"newText":"parameter""},"insertTextFormat":1}]}
01:12:47.714 --> request #3: shutdown: null
01:12:48.754 <-- result #3: shutdown: null
01:12:48.755 --> notif: exit: null
01:12:48.756 Connection closed
**Version**

Gauge version: 0.9.8
Commit Hash: 61d692c
Plugins
ruby (0.5.0.nightly-2018-04-11)

Closing this as an old issue. This may be fixed in the newer releases.
Will reopen if it still needs fixing.


Session 6: New endpoints by Juan Arroyes

Hello @ja-manomano!
I think you performed well in this exercise.
You put particular attention in making your code work in all areas, including those that weren't covered in the exercise.
I can see your improvement and dedication to bettering your work and prompting.
Try to upload your work on time from now on, other than that i don´t have any significant feedback for you.
I liked your proposed solution,  thank you for your hard work!


Global styles missing from Windows Server build

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows Server 2012, version 6.2

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
(Windows server config)
angular-cli: 1.0.0-beta.21
node: 6.9.1
os: win32 x64

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

Generated an app on my windows machine and my mac and when I run 'ng build' the global styles is generated and a link tag is added to the generated index.html.
However I am trying to generate a build on a windows server
The only significant changes to the config are -
Adding to angular-cli.json
"styles": [
"assets/styles.scss"
]
...
"styleExt": scss
The log given by the failure.

Normally this include a stack trace and some more information.

At the end of 'ng build' log output I see
'Process exited with code 0'
Mention any other details that might be useful.
In the logs from the build step, on both a Windows desktop machine and a Mac I see
chunk    {0} main.f39f2b70462cbf4a98b0.bundle.js, main.f39f2b70462cbf4a98b0.bundle.map (main) 3.6 MB {1} [initial] [rendered]
chunk    {1} styles.b2328beb0372c051d06d.bundle.js, styles.d41d8cd98f00b204e9800998ecf8427e.bundle.css, styles.b2328beb0372c051d06d.bundle.map, styles.b2328beb0372c051d06d.bundle.map (styles) 69 bytes {2} [initial] [rendered]
chunk    {2} inline.d41d8cd98f00b204e980.bundle.js, inline.d41d8cd98f00b204e980.bundle.map (inline) 0 bytes [entry] [rendered]
On the build machine I see
chunk    {0} main.13b4d333803f1cf29d7d.bundle.js, main.13b4d333803f1cf29d7d.bundle.map (main) 3.61 MB {1} [initial] [rendered]
chunk    {1} styles.9851af0d1672bddf0116.bundle.js, styles.9851af0d1672bddf0116.bundle.map (styles) 3.39 kB {2} [initial] [rendered] not the styles[build-hash].bundle.csss is missing
chunk    {2} inline.d41d8cd98f00b204e980.bundle.js, inline.d41d8cd98f00b204e980.bundle.map (inline) 0 bytes [entry] [rendered]
And the generated index.html is missing the style tag

All the other config is the default generated config

Thanks! We'll be in touch soon.

What version of the CLI are you using on the build server?
The behavior changed recently regarding the global styles bundle.  Development builds (the default) will produce a javascript bundle instead of a css bundle.  This can be changed by using the --extract-css option.

On the build server the cli version is 1.0.0-beta-21.
Would it be worth upgrading?

Tried updating and am encountering this issue - https://github.com/angular/angular-cli/issues/4072
Reverted to beta-21 and still had the styles issue. It just doesn't seem to be including whatever is specified in the global styles config

The CSS extract (creating a new .css file) options wasn't available in beta.21. You'll need to use the same version on your dev and build machine to get the same results.
Regarding #4072, fully follow https://github.com/angular/angular-cli#updating-angular-cli while upgrading and it should not happen.

hi @filipesilva. Using the css extract flag was just a suggested solution and I immediately ran into the issue I linked.
The issue still occurs with the production build not including the global styles on the build machine with the exact same set up as dev machines. I can see the global styles file being picked up in build logs but they never seem to be included or applied by the browser.
I've followed the upgrading steps and it still isn't happening. Whether it is a production build or not, it should still pick up the global styles.
Can you offer any suggestions as to what to look into?

@patrickoneill46 it really depends on the version you're using. It might have been a bug on the version you are using that was fixed in subsequent versions. I know it sucks to hear but in betas we can't promise support for anything but the latest one.
The best I can say is that on the latest versions, doing a production build does include the .css file, and that you can control whether or not you have a .css file for global styles via the --extract-css flag.
Regardless of whether you have the .css file in the final build, rest assured the CSS is there. When --extract-css is set to false, what happens is that there is a .js bundle that inject the CSS.


My planar contractions currently lead to space mismatches.

In my first commit I managed to make the relevant diagrams planar trough the introduction of braiding symbols.
The resulting code however gives a spacemismatch on the contraction :
function northwest_corner(E4, C1, E1, peps_above, peps_below=peps_above)
    @planar opt=true corner[-1 -2 -3; -4 -5 -6] :=
        E4[-1 1 2; 3] *
        C1[3; 4] *
        E1[4 5 6; -4] *
        peps_above[21; 11 10 18 17] *
        conj(peps_below[21; 13 14 15 16])*
        τ[5 7;6 8]*τ[-5 9;-6 10]*τ[8 12;9 11]*τ[7 14;12 13]*τ[15 2;16 19]*τ[19 1;17 20]*τ[20 -2;18 -3]
end

The stack leads to this final function :
function planarcontract!(C::AbstractTensorMap{S,N₁,N₂},
                         A::BraidingTensor{S}   , (oindA, cindA)::Index2Tuple{2,2},
                         B::AbstractTensorMap{S}, (cindB, oindB)::Index2Tuple{2,N₃},
                         (p1, p2)::Index2Tuple{N₁,N₂},
                         α::Number, β::Number,
                         backend::Backend...) where {S,N₁,N₂,N₃}

which spits out :
ERROR: SpaceMismatch("(ℂ^1 ⊗ ℂ^1) ← ((ℂ^1)' ⊗ ℂ^1) ≠ permute(((ℂ^1)' ⊗ ℂ^1) ← (ℂ^1 ⊗ (ℂ^1)')[(2, 4), (1, 3)] * (ℂ^1 ⊗ ℂ^1 ⊗ (ℂ^1)') ← ℂ^1[(2, 3), (1, 4)], ((1, 2), (3, 4))")
Stacktrace:
I suspect that the origin of this bug is a mislabeling of my tau indices but I dont know which is the appropriate labeling.
@Jutho  ?

Update : it was indeed the convention of \tau indices.
The contractions now work but in all likeliness there are still conventions that I don't understand !

Hi Gertian, what is the confusion about the tau indices? It's as always:
outgoing1 outgoing2 incoming1 incoming2
where the tau tensor maps incoming1 to outgoing2 and vice versa (whether it is braided above or below does not matter for fermions/symmetric braiding).

Lets say we have two lines a, b crossing. Naively I thought that all definitions such as
tau[a1 b1; b2 a2] --> a1, b1 cross into b2 a2
and
tau[a1 b2;b1 a2] --> a1, b2 cross into b1 a2
would both lead to a planar diagram but this is not true.
I suspect that there is some rule related to drawing the crossings that I'm not aware of that solves this ambiguity ?

The correct way to think of the tau is that

Ok that makes sense.
So in a contraction this would be tau[a1 a2; b1 b2]
Could you however reinterpret this as a crossing from a2,b2 to b1 a1 and hence use tau[a2 b2;a1 b1] ?


[Question] Which base model to use for finetuning on vqav2 dataset.

Question
Hi,
I want to finetune the model specifically on the the vqav2 dataset and want to compare it to a zero-shot result. However, as I understood, the llava model has already been finetuned on the dataset during the instruction tuning step.
So I am wondering, which base model should I best use to finetune on this data set and for comparison with just a pretrained model? Should I use one of the projectors as a base, that are mentioned in the MODEL_ZOO.md? Or what are they used for?
Thanks in advance!

Hello, if you want to finetune llava-1.5-7B, you can choose vicuna-7B-1.5  as the base model. For the projector weights, you can  choose llava-v1.5-mlp2x-336px-pretrain-vicuna-7b-v1.5

Hello, if you want to finetune llava-1.5-7B, you can choose vicuna-7B-1.5 as the base model. For the projector weights, you can choose llava-v1.5-mlp2x-336px-pretrain-vicuna-7b-v1.5


Error creating user via createsuperuser: create_superuser() missing 1 required positional argument: 'name'

again, this might be a windows thing?
Harry@HJWPSAMSUNG ~/workspace/DjangoUnleashed-1.8 (master)
$ venv/Scripts/python manage.py createsuperuser
Email address:
Error: This field cannot be blank.
Email address<EMAIL_ADDRESS>(0.001) QUERY = 'SELECT "user_user"."id", "user_user"."password", "user_user"."l
ast_login", "user_user"."is_superuser", "user_user"."email", "user_user"."is_sta
ff", "user_user"."is_active" FROM "user_user" WHERE "user_user"."email" = %s' -
PARAMS = ('harry@example.com',); args=('harry@example.com',)
Password:
Password (again):
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "c:\Users\Harry\workspace\DjangoUnleashed-1.8\venv\lib\site-packages\djan
go\core\management\__init__.py", line 338, in execute_from_command_line
    utility.execute()
  File "c:\Users\Harry\workspace\DjangoUnleashed-1.8\venv\lib\site-packages\djan
go\core\management\__init__.py", line 330, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "c:\Users\Harry\workspace\DjangoUnleashed-1.8\venv\lib\site-packages\djan
go\core\management\base.py", line 390, in run_from_argv
    self.execute(*args, **cmd_options)
  File "c:\Users\Harry\workspace\DjangoUnleashed-1.8\venv\lib\site-packages\djan
go\contrib\auth\management\commands\createsuperuser.py", line 50, in execute
    return super(Command, self).execute(*args, **options)
  File "c:\Users\Harry\workspace\DjangoUnleashed-1.8\venv\lib\site-packages\djan
go\core\management\base.py", line 441, in execute
    output = self.handle(*args, **options)
  File "c:\Users\Harry\workspace\DjangoUnleashed-1.8\venv\lib\site-packages\djan
go\contrib\auth\management\commands\createsuperuser.py", line 149, in handle
    self.UserModel._default_manager.db_manager(database).create_superuser(**user
_data)
TypeError: create_superuser() missing 1 required positional argument: 'name'

Whoops! That code shouldn't be there. I rebased it to the wrong chapter. I'll remove it and push the code again.

That should now work properly. Thanks for the input!


Transaction / session cancellation

Background: https://airtable.com/tblD3oZPLJgGhCmch/viwINAgXA5on9pr2T/recGdKHLMwjLLbJ1C
PM: @dianasaur323
Eng Partner: @jordanlewis

@lhirata, the CANCEL SESSION statement was included in the first 2.1-alpha release, so it's ready for at least preliminary docs.
Here's the PR: https://github.com/cockroachdb/cockroach/pull/23861
Here's the release note:

Added the CANCEL SESSION statement as well as an IF EXISTS variant to CANCEL QUERY.


Add a Insertable implementation for Vec

Similar to the Insertable implementation on structs itself this makes it
easier/possible to write generic code

This needs explicit tests (as does the derive TBH), but other than that this looks fine.

To write this test we need to merge #1567 first.

I believe this was a breaking change.

Now with this impl, this code fails to compile because the insert_into is going to move v, whereas before v would have just been borrowed by insert_into. The fix is easy enough though (&v).insert_into(). Maybe makes sense to call this out more clearly in the CHANGELOG?

I believe this was a breaking change

According to RFC 1105 this is not considered as a breaking change that requires a major version bump. Specifically see [this section] (https://github.com/nox/rust-rfcs/blob/master/text/1105-api-evolution.md#minor-change-implementing-any-non-fundamental-trait).

Maybe makes sense to call this out more clearly in the CHANGELOG?

Feel free to open a PR adding a notice about this to the change log.


Declare the icons "as const" instead of strings

Makes it possible to separate and group the icons by type:
export type CoreIcon = `<svg ${string}class="nrk-${string}</svg>`;
export type CoreIconExpressive = `<svg ${string}class="nrk-${string}-expressive${string}</svg>`;
export type CoreIconLogo = `<svg ${string}class="nrk-logo-${string}</svg>`;
export type CoreIconBaseline<T extends CoreIcon> = T extends CoreIconExpressive ? never : T extends CoreIconLogo ? never : T;

It's not...perfect, but it allows for some basic type safety. Then we can drop import * which breaks tree shaking in nrk-tv-web.

Made a PR for this branch to replace custom parser with dtsLiteral from @nrk/svg-to-js
https://github.com/nrkno/core-icons/pull/308


[#153721919] Update readme

What does this PR do

Implement Feedback

What are the relevant pivotal tracker stories
#153721919

Coverage remained the same at 88.786% when pulling aeb884f579aaa9d346c8edbbdeba7d0640fd2cc8 on cp-feedback1 into 6bae013d25599ec2b78d138e608257d1e6c0d49f on develop.

Coverage remained the same at 88.786% when pulling 6fae35556b43c669f84038011d5d3e9f002dfed6 on cp-feedback1 into 6bae013d25599ec2b78d138e608257d1e6c0d49f on develop.

Coverage remained the same at 88.786% when pulling 8aa86002322258b2125f5fee9b6dd3af984308e6 on cp-feedback1 into 6bae013d25599ec2b78d138e608257d1e6c0d49f on develop.

Coverage decreased (-0.3%) to 88.442% when pulling 67156bc8c9ff792d8141d22147a7a4d8d926639a on cp-feedback1 into 6bae013d25599ec2b78d138e608257d1e6c0d49f on develop.

Coverage increased (+0.4%) to 89.227% when pulling 672045f3b732cb3a478cfc4c2031af219d4dbf29 on cp-feedback1 into 6bae013d25599ec2b78d138e608257d1e6c0d49f on develop.

Coverage decreased (-3.3%) to 85.474% when pulling 544d126eaa6bbc6034ccc15ce4903eeb1664d652 on cp-feedback1 into 6bae013d25599ec2b78d138e608257d1e6c0d49f on develop.

Coverage decreased (-3.3%) to 85.474% when pulling 46dd5c14a4955ac01968b91c4cb6f30fd160bbd7 on cp-feedback1 into 6bae013d25599ec2b78d138e608257d1e6c0d49f on develop.

Coverage decreased (-3.3%) to 85.509% when pulling 3c4399dd60e0928da3541a857e08028b8cc87f6b on cp-feedback1 into 6bae013d25599ec2b78d138e608257d1e6c0d49f on develop.


Cross tab/pane variable use

Description of the new feature/enhancement
The ability to declare variables in one pane or tab and call them from another. This might be difficult/impossible across different types of pane instances (e.g. one PowerShell and one bash), but at least for panes that are the same type.
A user could use this for a multi-pane set up where one is for live data that sets a variable as it continuously runs and the other pane is used for any quick analytics on the most recent variable declaration.
This could be accessed by the tab/pane ID or name along with the variable. Something like a declaration of variable $users in Tab-2. Then in Tab-1 someone could call Tab-2.$users and retrieve the data set in Tab-2.

Can you provide a bit more detail for your example of how this would be used? Pretend what you wanted existed, how does that look to you from a practical perspective. (I have some data i've grabbed from a mongo db that I want to call in a variable that can be reached from another tab/pane). Something like that (not sure if I accurately got the sentiment down).

In principle, part of this could be implemented with a format similar to xterm's OSC 52 (Manipulate Selection Data). However, it would require changing the shells as well, and I think those changes would be unlikely to be accepted if the feature were not supported by any other terminals.
PowerShell variables have the extra complication that their values might not be serializable.

Thanks for the request! I'd rather offer application developers, and shell users, better forms of IPC than "they happen to be living in the same Terminal". Sorry!
I'm going to close this one out in favor of ecosystem improvements that everybody can get behind, not something that's specific to one or two terminal emulators on Windows.


Unreal: Fix missing 'object_path' property

Changelog Description
Epic removed the object_path property from AssetData. This PR fixes usages of that property.
Fixes #4936
Testing notes:

In Unreal, load a layout.
Try changing version of the layout.

Is this method backwards compatible? Or it's a UE4 vs UE5 thing?

Is this method backwards compatible? Or it's a UE4 vs UE5 thing?

Works with 5.0 onwards! Haven't checked for 4 because we're not supporting it anymore.


Logs tab improvement

Description
A clear description of the bug is:
After pressing the load more logs button, it showed me all the logs. I thought it would have pages, not all of them, or a change button to load all.

Also, with the large number of logs, the tab gets very slow to open.
And can we change the way it closes to be consistent with the other tabs? Now you have to click on the top part only to close. On other tabs, you can click on close, oustide the tab, or esc.

verified on devnet
version : 2c8c89b
logs now loads 20 by 20 so it is controllable


A list of needed js question

is it possible to create a list of incomplete javascript question

which makes contribution easier

Look at the bottom of the README -> https://github.com/neetcode-gh/leetcode/blob/main/README.md
There is only one problem missing in the JS column.


Added user_actual_id to rudder page event

Summary
Included user data under user_actual_id/user_actual_role to rudder page event.
Ticket Link
https://mattermost.atlassian.net/browse/MM-29799

Can you let me know when this gets to test cloud and I'll double check

Sure, will ping you then!

/cherry-pick cloud-ga

Cherry pick is scheduled.


Cannot re-use controller code without hacks

Node version: 14
Sails version (sails): 1.4.0

Observed
If two controller files export the same object, include-all throws an Error on startup.  The Error's message is misleading.
Example
/api/controllers/one.js:
module.exports = require('../some-lib/example-controller');

/api/controllers/two.js:
module.exports = require('../some-lib/example-controller');

Reproduced at
https://github.com/alxndrsn/sails-repeated-controllers-issue
See the controllers which clash at:

https://github.com/alxndrsn/sails-repeated-controllers-issue/blob/master/api/controllers/one.js
https://github.com/alxndrsn/sails-repeated-controllers-issue/blob/master/api/controllers/two.js

Error:
error:
error: Error: Duplicate filename detected: `include-all` attempted to load two files named `one.js` (case-insensitive).
    at /some-path/node_modules/include-all/lib/help-build-dictionary.js:119:17
    at /some-path/node_modules/@sailshq/lodash/lib/index.js:3260:15
    at baseForOwn (/some-path/node_modules/@sailshq/lodash/lib/index.js:2230:14)
    at /some-path/node_modules/@sailshq/lodash/lib/index.js:3230:18
    at Function.<anonymous> (/some-path/node_modules/@sailshq/lodash/lib/index.js:3533:13)
    at helpBuildDictionary (/some-path/node_modules/include-all/lib/help-build-dictionary.js:54:7)
    at Function.module.exports.optional (/some-path/node_modules/include-all/index.js:67:10)
    at loadActionModules (/some-path/node_modules/sails/lib/app/private/controller/load-action-modules.js:27:14)
    at async.auto.controller (/some-path/node_modules/sails/lib/app/load.js:102:9)
    at runTask (/some-path/node_modules/sails/node_modules/async/dist/async.js:1619:13)
    at /some-path/node_modules/sails/node_modules/async/dist/async.js:1559:13
    at processQueue (/some-path/node_modules/sails/node_modules/async/dist/async.js:1569:13)
    at taskComplete (/some-path/node_modules/sails/node_modules/async/dist/async.js:1588:9)
    at /some-path/node_modules/sails/node_modules/async/dist/async.js:1612:17
    at /some-path/node_modules/sails/node_modules/async/dist/async.js:906:16
    at /some-path/node_modules/sails/lib/app/load.js:192:14

error: Could not load Sails app.

Expected
Either:

the error message should be accurate - there is only one file called one.js, or
declaring two controllers which share the same code should be allowed

Workaround
Replace one/both of the controller definitions like:
module.exports = require('../some-lib/example-controller');

with
module.exports = { ...require('../some-lib/example-controller') };

Hi @alxndrsn, I may be missing something here. Could you tell me more about your use case, and why you would need two controllers with identical code instead of just using one? Have you run into this issue with two controllers that have different code?

@eashaw e.g. exposing the same functionality at different URLs, with different policies applied.

Hi @alxndrsn, I'm not sure what your project requires, but the way we would handle that is using a policy that encompasses the same functionality at different urls.

Hi @alxndrsn, I'm not sure what your project requires, but the way we would handle that is using a policy that encompasses the same functionality at different urls.


EMR list_step responses don't contain start date not in output

There is a bug in the LIST_STEP_TEMPLATE and other EMR templates around the start date for steps: the conditional looks at ready_datetime but then outputs start_datetime.
This from https://github.com/spulec/moto/blob/896f040fca975865c1d441d90016446c72db3ed4/moto/emr/responses.py#L794-L796
            {% if step.ready_datetime is not none %}
            <StartDateTime>{{ step.start_datetime.isoformat() }}</StartDateTime>
            {% endif %}

Nothing in the code looks at step.ready_datetime that I could see (use create, start, and end), so I'm guessing the conditional is wrong. This exists in a few other templates too.

This looks like it has been fixed.

Not sure that it is. The template at least still has the same block in master
https://github.com/spulec/moto/blob/ec3f6bbc6ce1b477efb1ec76ca333f7271ac0c88/moto/emr/responses.py#L838-L840

I agree @ashb - haven't used EMR much, but that looks wonky. Reopening


Add secret arguments to integration tests

There is no way to pass secrets to the tox integration test runs.
This PR enables using a secret named INTEGRATION_TEST_ARGS as extra arguments.

Could you add this new parameter to the README.md file please?

Could you add this new parameter to the README.md file please?

The README is updated.

Does this PR still need some changes ? The changes sounds good to me and has been tested by Niels on Indico

This method does not seem to work.

This method does not seem to work.

Can you elaborate?

Good addition! I would add this to the README as well, how to make use of secrets in integration tests.


UI: Wrong tab look selected in editor when extension info is open with dark theme

VSCode Version: Code 1.15.0 (8b95971d8cccd3afd86b35d4a0e098c189294ff2, 2017-08-09T20:06:21.685Z)
OS Version: Darwin x64 16.5.0
Extensions: Built-in dark theme

Steps to Reproduce:

Open new file tab.
Open details for an extension, and stay on that tab

Actual:
Looks like the regular tab is selected due to the extension color header is clashing.

This is more confusing when two extensions are open

I do not think background colour for extension header pane is necessary. This is after removing background color


KAFKA-8345: KIP-455 Protocol changes (part 1)

This PR implements parts of the changes needed for KIP-455: Create an Administrative API for Replica Reassignment
cc people who voted for the KIP - @viktorsomogyi @sql888 @bob-barrett @gwenshap @hachikuji @cmccabe

LGTM pending jenkins.  If it's not too much trouble, we should consider having the calls return UnsupportedVersionException

Let's see how Jenkins feels about this new commit 🤞

LGTM.  Test failures are in connect tests which are not related.
org.apache.kafka.connect.integration.RebalanceSourceConnectorsIntegrationTest.testStartTwoConnectors
org.apache.kafka.connect.integration.RebalanceSourceConnectorsIntegrationTest.testReconfigConnector


IPFS gateway server with warp

First edition of IPFS http gateway using warp

So this supperseeds #25? It still needs an entry in regen_protobuf_structs.sh. Also closes #27.

not exactly. I am intending to cleaning things up and take them out of here into separate pieces one by one, that make more logical sense. This is a huge-catchall at the moment and shouldn't be merged as is, but as a reference point what needs to be done. Will put the specifics into a checklist.


:robot: Add automation for kubevirt types

Add automation for kubevirt types
Issue:
currently we hand code kuebvirt types, but we should automatie them

moving to next due to capacity

addressed by #918


ArrayPartition for parameters

ArrayPartition introduced to partition parameters as statics and constants

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

31 of 31 (100.0%)  changed or added relevant lines in 5 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+2.8%) to 54.638%

Files with Coverage Reduction
New Missed Lines
%

src/ode_problem.jl
1
98.25%

Totals

Change from base Build<PHONE_NUMBER>:
2.8%

Covered Lines:
701

Relevant Lines:
1283

💛  - Coveralls


Enable CONFIG_NETFILTER_XT_MATCH_HASHLIMIT in kernel defconfig

While compiling wireguard-module on dragon board 410c it fails to build due to the above option being unset
| /mnt/oe/openembedded-core/build/tmp-glibc/work/dragonboard_410c-oe-linux/wireguard-module/0.0.20170324-r0/WireGuard-0.0.20170324/src/Kbuild:30: *** "WireGuard requires CONFIG_NETFILTER_XT_MATCH_HASHLIMIT to be configured in your kernel. See https://www.wireguard.io/install/#kernel-requirements for more info".  Stop.

ok, i can make that change, would that be enough:
+CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m
or does it need to be =y?
If so, i will add it to kernel/configs/distro.config in our tree

module should be ok.


Test item attributes are being overwritten by the AI Prediction attribute

Describe the bug
tfacon is overwriting existing test item attributes.
To Reproduce
Steps to reproduce the behavior:

Upload a report to ReportPortal where failed test items have attributes.
View a test item and notice its existing attributes.
Run tfacon against that launch ID.
Open the launch in ReportPortal and navigate to that same test item. It should now have an "AI Prediction" attribute.
Notice that the previously existing attributes are gone.

Expected behavior
The test case should have the new "AI Prediction" attribute alongside its previous attributes.
Screenshots
Example of the test case (with no failure since this is from a different launch, but the attributes should be the same)

Example post-tfacon:

Hello @JunqiZhang0 , please do you have any update on this issue?
Thanks

Hi @petr-balogh @clacroix12  the fix will be merged today, but the new release will be triggered next week（contains all big fixes filed recently）

I can confirm it's fixed now. Thanks!