Bug: RDF with duplicated lines loading fails

Hello
I'm experimenting with Cayley to import and use the Freebase dump. After the first import of Freebase I've noticed a lot of error regarding duplicated lines but from my understanding of Cayley code this shouldn't have affected the import.
Nevertheless I noticed the imported DB missed many nodes of the graph.
After more testing with smaller datasets I discovered that Cayley seems to stop importing after reaching a duplicated line.
To better test it I've created two sub dataset with the entity "http://rdf.freebase.com/ns/m.03j24kf" (Sir Paul McCartney) using a simple zgrep from the Freebase RDF dump of 12/18/2014. This dump (paul.txt) has line 1726 and 1759 duplicated. I've made also a dump without the duplication(paul1.txt). Both dump are available at https://github.com/LAlbertalli/cayley-examples/blob/master/cayley_dup.tgz
Step to reproduce the issue:

Start Cayley with this command: ./cayley http -db=memstore -dbpath=$HOME/tests/entities/paul.txt -v=2 -alsologtostderr
Run the query: g.V("http://rdf.freebase.com/ns/m.01j7vsv").In("http://rdf.freebase.com/ns/music.artist.album").Out().All()
Run the query: g.V("http://rdf.freebase.com/ns/m.0rr6k3").In("http://rdf.freebase.com/ns/music.artist.track").Out().All()
Restart Cayley: ./cayley http -db=memstore -dbpath=$HOME/tests/entities/paul1.txt -v=2 -alsologtostderr
Run the query: g.V("http://rdf.freebase.com/ns/m.01j7vsv").In("http://rdf.freebase.com/ns/music.artist.album").Out().All()
Run the query: g.V("http://rdf.freebase.com/ns/m.0rr6k3").In("http://rdf.freebase.com/ns/music.artist.track").Out().All()

Results:

Query at line 3 return no result.

Expected results:

All the queries should return the same result (a list of 4382 element).

I've reproduced the issue both using memstore and Bolt as a backend (in production we plan to use Bolt) and using both the http interface and the repl.
1-3 Log:
I0125 19:24:22.686100 00356 cayley.go:108] Couldn't find a config file in either $CAYLEY_CFG or /etc/cayley.cfg. Going by flag defaults only.
I0125 19:24:22.688872 00356 cayley.go:170] Setting GOMAXPROCS to 4
I0125 19:24:22.688914 00356 db.go:52] Opening quad store "memstore" at /home/luca/tests/entities/paul.txt
I0125 19:24:22.692670 00356 db.go:62] Opening replication method "single"
I0125 19:24:22.766387 00356 db.go:95] Wrote 7744 quads.
I0125 19:24:22.766508 00356 http.go:121] Found assets at .
I0125 19:24:22.767614 00356 http.go:141] Cayley now listening on <IP_ADDRESS>:64210
Cayley now listening on <IP_ADDRESS>:64210
I0125 19:24:35.356890 00356 http.go:76] Started POST /api/v1/query/gremlin for <IP_ADDRESS>:38009
I0125 19:24:35.372031 00356 finals.go:286] {
  "UID": 54,
  "Type": 4,
  "Tags": [
    "id"
  ],
  "Direction": 3,
  "Iterator": {
    "UID": 65,
    "Type": "and",
    "Iterator": {
      "UID": 64,
      "Type": "linksto",
      "Direction": 1,
      "Iterator": {
        "UID": 63,
        "Type": "hasa",
        "Direction": 1,
        "Iterator": {
          "UID": 60,
          "Type": "and",
          "Iterator": {
            "UID": 61,
            "Name": "dir:object val:147",
            "Type": "b+tree",
            "Size": 1
          },
          "Iterators": [
            {
              "UID": 62,
              "Name": "dir:predicate val:100",
              "Type": "b+tree",
              "Size": 50
            }
          ]
        }
      }
    },
    "Iterators": [
      {
        "UID": 56,
        "Type": "linksto",
        "Direction": 2,
        "Iterator": {
          "UID": 55,
          "Type": "all"
        }
      }
    ]
  }
}
I0125 19:24:35.392399 00356 finals.go:318] {
  "UID": 54,
  "Type": 4,
  "ContainsCost": 18180,
  "NextCost": 11,
  "Size": 20,
  "Next": 1694,
  "Contains": 0,
  "ContainsNext": 0,
  "SubIts": [
    {
      "UID": 65,
      "Type": "and",
      "ContainsCost": 303,
      "NextCost": 10,
      "Size": 20,
      "Next": 1694,
      "Contains": 0,
      "ContainsNext": 0,
      "SubIts": [
        {
          "UID": 64,
          "Type": "linksto",
          "ContainsCost": 301,
          "NextCost": 8,
          "Size": 20,
          "Next": 1695,
          "Contains": 0,
          "ContainsNext": 1693,
          "SubIts": [
            {
              "UID": 63,
              "Type": "hasa",
              "ContainsCost": 300,
              "NextCost": 6,
              "Size": 1,
              "Next": 2,
              "Contains": 0,
              "ContainsNext": 0,
              "SubIts": [
                {
                  "UID": 60,
                  "Type": "and",
                  "ContainsCost": 5,
                  "NextCost": 5,
                  "Size": 1,
                  "Next": 2,
                  "Contains": 0,
                  "ContainsNext": 0,
                  "SubIts": [
                    {
                      "UID": 61,
                      "Type": "b+tree",
                      "ContainsCost": 1,
                      "NextCost": 1,
                      "Size": 1,
                      "Next": 0,
                      "Contains": 0,
                      "ContainsNext": 0,
                      "SubIts": null
                    },
                    {
                      "UID": 62,
                      "Type": "b+tree",
                      "ContainsCost": 4,
                      "NextCost": 1,
                      "Size": 50,
                      "Next": 0,
                      "Contains": 0,
                      "ContainsNext": 0,
                      "SubIts": null
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "UID": 56,
          "Type": "linksto",
          "ContainsCost": 2,
          "NextCost": 3,
          "Size": 35480,
          "Next": 0,
          "Contains": 1693,
          "ContainsNext": 0,
          "SubIts": [
            {
              "UID": 55,
              "Type": "all",
              "ContainsCost": 1,
              "NextCost": 1,
              "Size": 1774,
              "Next": 0,
              "Contains": 1693,
              "ContainsNext": 0,
              "SubIts": null
            }
          ]
        }
      ]
    }
  ]
}
I0125 19:24:35.399110 00356 http.go:78] Completed 200 OK /api/v1/query/gremlin in 42.220203ms
I0125 19:24:54.572872 00356 http.go:76] Started POST /api/v1/query/gremlin for <IP_ADDRESS>:38010
I0125 19:24:54.583563 00356 finals.go:286] {
  "Type": 7
}
I0125 19:24:54.583595 00356 finals.go:318] {
  "UID": 0,
  "Type": 7,
  "ContainsCost": 0,
  "NextCost": 0,
  "Size": 0,
  "Next": 0,
  "Contains": 0,
  "ContainsNext": 0,
  "SubIts": null
}
I0125 19:24:54.583643 00356 http.go:78] Completed 200 OK /api/v1/query/gremlin in 10.772853ms

Logs 4-6:
I0125 19:27:50.590940 00410 cayley.go:108] Couldn't find a config file in either $CAYLEY_CFG or /etc/cayley.cfg. Going by flag defaults only.
I0125 19:27:50.593557 00410 cayley.go:170] Setting GOMAXPROCS to 4
I0125 19:27:50.593583 00410 db.go:52] Opening quad store "memstore" at /home/luca/tests/entities/paul1.txt
I0125 19:27:50.596085 00410 db.go:62] Opening replication method "single"
I0125 19:27:50.697944 00410 db.go:95] Wrote 7743 quads.
I0125 19:27:50.698064 00410 http.go:121] Found assets at .
I0125 19:27:50.700110 00410 http.go:141] Cayley now listening on <IP_ADDRESS>:64210
Cayley now listening on <IP_ADDRESS>:64210
I0125 19:28:03.387268 00410 http.go:76] Started POST /api/v1/query/gremlin for <IP_ADDRESS>:38011
I0125 19:28:03.402295 00410 finals.go:286] {
  "UID": 630,
  "Type": 4,
  "Tags": [
    "id"
  ],
  "Direction": 3,
  "Iterator": {
    "UID": 641,
    "Type": "and",
    "Iterator": {
      "UID": 640,
      "Type": "linksto",
      "Direction": 1,
      "Iterator": {
        "UID": 639,
        "Type": "hasa",
        "Direction": 1,
        "Iterator": {
          "UID": 636,
          "Type": "and",
          "Iterator": {
            "UID": 637,
            "Name": "dir:object val:147",
            "Type": "b+tree",
            "Size": 1
          },
          "Iterators": [
            {
              "UID": 638,
              "Name": "dir:predicate val:100",
              "Type": "b+tree",
              "Size": 113
            }
          ]
        }
      }
    },
    "Iterators": [
      {
        "UID": 632,
        "Type": "linksto",
        "Direction": 2,
        "Iterator": {
          "UID": 631,
          "Type": "all"
        }
      }
    ]
  }
}
I0125 19:28:03.437456 00410 finals.go:318] {
  "UID": 630,
  "Type": 4,
  "ContainsCost": 21780,
  "NextCost": 12,
  "Size": 20,
  "Next": 4383,
  "Contains": 0,
  "ContainsNext": 0,
  "SubIts": [
    {
      "UID": 641,
      "Type": "and",
      "ContainsCost": 363,
      "NextCost": 11,
      "Size": 20,
      "Next": 4383,
      "Contains": 0,
      "ContainsNext": 0,
      "SubIts": [
        {
          "UID": 640,
          "Type": "linksto",
          "ContainsCost": 361,
          "NextCost": 9,
          "Size": 20,
          "Next": 4384,
          "Contains": 0,
          "ContainsNext": 4382,
          "SubIts": [
            {
              "UID": 639,
              "Type": "hasa",
              "ContainsCost": 360,
              "NextCost": 7,
              "Size": 1,
              "Next": 2,
              "Contains": 0,
              "ContainsNext": 0,
              "SubIts": [
                {
                  "UID": 636,
                  "Type": "and",
                  "ContainsCost": 6,
                  "NextCost": 6,
                  "Size": 1,
                  "Next": 2,
                  "Contains": 0,
                  "ContainsNext": 0,
                  "SubIts": [
                    {
                      "UID": 637,
                      "Type": "b+tree",
                      "ContainsCost": 1,
                      "NextCost": 1,
                      "Size": 1,
                      "Next": 0,
                      "Contains": 0,
                      "ContainsNext": 0,
                      "SubIts": null
                    },
                    {
                      "UID": 638,
                      "Type": "b+tree",
                      "ContainsCost": 5,
                      "NextCost": 1,
                      "Size": 113,
                      "Next": 0,
                      "Contains": 0,
                      "ContainsNext": 0,
                      "SubIts": null
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "UID": 632,
          "Type": "linksto",
          "ContainsCost": 2,
          "NextCost": 3,
          "Size": 85280,
          "Next": 0,
          "Contains": 4382,
          "ContainsNext": 0,
          "SubIts": [
            {
              "UID": 631,
              "Type": "all",
              "ContainsCost": 1,
              "NextCost": 1,
              "Size": 4264,
              "Next": 0,
              "Contains": 4382,
              "ContainsNext": 0,
              "SubIts": null
            }
          ]
        }
      ]
    }
  ]
}
I0125 19:28:03.463538 00410 http.go:78] Completed 200 OK /api/v1/query/gremlin in 76.271824ms
I0125 19:28:11.925203 00410 http.go:76] Started POST /api/v1/query/gremlin for <IP_ADDRESS>:38012
I0125 19:28:11.936940 00410 finals.go:286] {
  "UID": 654,
  "Type": 4,
  "Tags": [
    "id"
  ],
  "Direction": 3,
  "Iterator": {
    "UID": 665,
    "Type": "and",
    "Iterator": {
      "UID": 664,
      "Type": "linksto",
      "Direction": 1,
      "Iterator": {
        "UID": 663,
        "Type": "hasa",
        "Direction": 1,
        "Iterator": {
          "UID": 660,
          "Type": "and",
          "Iterator": {
            "UID": 661,
            "Name": "dir:object val:3745",
            "Type": "b+tree",
            "Size": 1
          },
          "Iterators": [
            {
              "UID": 662,
              "Name": "dir:predicate val:82",
              "Type": "b+tree",
              "Size": 1404
            }
          ]
        }
      }
    },
    "Iterators": [
      {
        "UID": 656,
        "Type": "linksto",
        "Direction": 2,
        "Iterator": {
          "UID": 655,
          "Type": "all"
        }
      }
    ]
  }
}
I0125 19:28:11.973305 00410 finals.go:318] {
  "UID": 654,
  "Type": 4,
  "ContainsCost": 32580,
  "NextCost": 15,
  "Size": 20,
  "Next": 4383,
  "Contains": 0,
  "ContainsNext": 0,
  "SubIts": [
    {
      "UID": 665,
      "Type": "and",
      "ContainsCost": 543,
      "NextCost": 14,
      "Size": 20,
      "Next": 4383,
      "Contains": 0,
      "ContainsNext": 0,
      "SubIts": [
        {
          "UID": 664,
          "Type": "linksto",
          "ContainsCost": 541,
          "NextCost": 12,
          "Size": 20,
          "Next": 4384,
          "Contains": 0,
          "ContainsNext": 4382,
          "SubIts": [
            {
              "UID": 663,
              "Type": "hasa",
              "ContainsCost": 540,
              "NextCost": 10,
              "Size": 1,
              "Next": 2,
              "Contains": 0,
              "ContainsNext": 0,
              "SubIts": [
                {
                  "UID": 660,
                  "Type": "and",
                  "ContainsCost": 9,
                  "NextCost": 9,
                  "Size": 1,
                  "Next": 2,
                  "Contains": 0,
                  "ContainsNext": 0,
                  "SubIts": [
                    {
                      "UID": 661,
                      "Type": "b+tree",
                      "ContainsCost": 1,
                      "NextCost": 1,
                      "Size": 1,
                      "Next": 0,
                      "Contains": 0,
                      "ContainsNext": 0,
                      "SubIts": null
                    },
                    {
                      "UID": 662,
                      "Type": "b+tree",
                      "ContainsCost": 8,
                      "NextCost": 1,
                      "Size": 1404,
                      "Next": 0,
                      "Contains": 0,
                      "ContainsNext": 0,
                      "SubIts": null
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "UID": 656,
          "Type": "linksto",
          "ContainsCost": 2,
          "NextCost": 3,
          "Size": 85280,
          "Next": 0,
          "Contains": 4382,
          "ContainsNext": 0,
          "SubIts": [
            {
              "UID": 655,
              "Type": "all",
              "ContainsCost": 1,
              "NextCost": 1,
              "Size": 4264,
              "Next": 0,
              "Contains": 4382,
              "ContainsNext": 0,
              "SubIts": null
            }
          ]
        }
      ]
    }
  ]
}
I0125 19:28:11.985388 00410 http.go:78] Completed 200 OK /api/v1/query/gremlin in 60.185121ms

I vaguely remember discussions around how we should deal with duplicates and that we thought duplicates were not a reasonable thing to deal with. We should however be noisy when we see them. At the moment, AddQuadSet's error is ignored in db.Load.
#202 changes the behaviour so that at least you know why we are not working for you.

@kortschak thanks for the feedback. I will check your patch but the error I think I found is potentially more dangerous because also data after the duplicated line get lost and this is not only a question of confusion but a real issue when using Cayley in production environment.

Yes, I agree - the change I have made cause a application crash. In production this should be noticed.
I have however found more serious issues from looking at this.

@barakmich, I don't remember where we discussed the duplicate refusal behaviour, but what do you think about adding an option to relax the duplicate refusal (adding a duplicate when in the relaxed state would be a no-op)? If that's OK, I can add it to #202.

@kortschak On the option to relax the duplicate refusal I think it is a good idea. In general importing external database could be a long and expensive operation. Having the import failing due to a duplicate would be a problem and also searching for duplicate before the import could be time consuming and expensive.


Design: Handle generic types in namespace search

Resolves #7352

@bricelam - I tried adding test but the property is identified as navigation and doesn't work unless we support such property as scalar.


Docs should refer to RKE by default.

Since is the primary product, I believe it makes sense to default to the RKE tab instead of the K3S one.
https://rancher.com/docs/rancher/v2.x/en/installation/k8s-install/kubernetes-rke/

Originally, the direction I got from Bill, Craig and Denise was that the K3s instructions should be default because K3s is an easier way to install Kubernetes for people who have never installed Kubernetes before, and because the architecture of K3s servers means that they can be treated as ephemeral.
On one hand, usually it's a good idea to write the docs in such a way that it reflects what the majority of users would want to do, and many users are still using RKE. But on the other hand, the docs also need to be written to decrease friction for less technical people who don't know what they are doing. The Rancher installation process is one of the most involved processes in our docs, and I see the default K3s option as a good move in the right direction to chip away at the complexity of installing Rancher for the first time. I think in this case, it is more important to make the docs less intimidating for newcomers than it is to reflect what the majority are doing. While I see reasonable points on both sides, I think K3s should remain the default.

Makes sense for the install process, but what about things that long time users often reference such as snapshotting and etc.  Perhaps a way to choose your tool of choice in one place at the top or bottom of the screen?

Actually I see they are separate now.. or was I looking at some other place in the docs when I opened this issue?  Either way, looks good and I like the new diagrams

Closing this issue because we removed the tabs for Rancher v2.5 because Rancher can now be installed on any K8s cluster.


Fixes #7 Add localized control text to quality selector menu button

I updated the translated text to "Open quality selector menu", which is more specific and describes the action the user will take when they select the button.
I used sentence case, but let me know if title case would be better. Thanks.


[bug] Windows: 'chmod +x .husky/commit-msg' Command Does Not Work

🐞 Description
The chmod +x .husky/commit-msg command, which is used to make the .husky/commit-msg file executable, does not function in a Windows environment.
Observe that the command fails to execute or is not recognized by the system.
Attempt to use attrib -r +a .husky/commit-msg as an alternative, but it does not replicate the expected outcome of making the file executable.

📄 Logs
No response
🌏 Environment
No response
📝 Notes
No response

If you're a Windows user, use git bash and it should work!

attrib -r +a .husky/commit-msg


Copy-pasting foo results in 0~foo1~ being pasted

Windows Terminal version
1.15.2874.0
Windows build number
10.0.19044.0
Other Software
software on the client:

PowerShell 7.2.6
OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2

software on the remote host:

nano 3.2
OpenSSH_7.9p1 Raspbian-10+deb10u2+rpt1, OpenSSL 1.1.1n  15 Mar 2022

Steps to reproduce

ssh into the remote host
open nano
copy foo in Windows
paste it inside nano

This also occurs when copy-pasting passphrases when using SSH on the remote host.
This doesn't occur when using PowerShell directly (i.e. without Windows Terminal).
Expected Behavior
foo is pasted
Actual Behavior
0~foo1~ is pasted

Hmm. We've got a lot of these on the rise:

#14129
#14234

I wonder if there's something else that's changed

@zadjii-msft j4james posted a likely cause for those 2 bugs here: https://github.com/microsoft/terminal/issues/14129#issuecomment-1276784394

I'm just gonna combine these discussions. /dup #14129


Returning to the initial scene with the root GAv4 object creates duplicate instances

The usage of DontDestroyOnLoad() in the script GoogleAnalyticsV4.cs seems incorrect and leads to duplicate GAv4 objects when the scene is loaded again.
To Reproduce:

Add the GAv4 object to the root of hierarchy of the initial scene.
Run the initial scene and then request the same scene to be loaded again.
Notice there are now two instances of GAv4 in the root of the hierarchy.

Each time you reload the scene that contained the GAv4 object, a duplicate copy will be created. To fix this, the awake method needs to deal with the call to DontDestoryOnLoad():
void Awake()
{
    if (instance == null)
    {
        instance = this;
        DontDestroyOnLoad(gameObject);
    }
    else if (instance != this)
    {
        // someone else is the master instance, so kill itself
        Destroy(gameObject);
        return;
    }

    InitializeTracker ();
...

In the code above the duplicate objects are automatically deleted before they call InitializeTracker ().
I don't see this v4 source code in the repo otherwise I would do a pull request. I used the V4 unity package to get the source code into Unity.

I'm having exactly the same issue. My game consists of only one scene. The scene is reloaded after each "level" completion. After each level I'm getting another instance of GAv4 in the hierarchy.

Me too (Registered to follow issue...)

Yepp, having the same issue.


feat: consume prototype schema for new home view sections

This is the counterpart to https://github.com/artsy/metaphysics/pull/5848 — see that description for more details.
Description
Stubs in a new HomeView screen at the home-view route, so that we can safely iterate on the proposed new schema without touching or being constrained by existing home feed logic.
As of now this just renders some placeholders. A next step would be to actually render some content based on the response coming from homeView.sectionsConnection

(I'm having trouble bring this up in an Android sim, hoping someone else can confirm — would require access to the new MP schema either locally or in staging)
PR Checklist

[ ] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[x] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

A new sandbox screen at home-view route for iterating on the new dynamic home view schema - Roop

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Dev changes (A new sandbox screen at home-view route for iterating on the new dynamic home view schema - Roop)

  Generated by :no_entry_sign: dangerJS against 730ffd0ac188da67cb7d150302312f85c2eff783


mode = 'range';

In case I missed it- Is there an option to choose range of dates with different time for beginning and end dates?
It looks like currently you can get range dates with the same time for the two dates.
For now I am using 2 components (react) to pull 2 dates, each with a different time.
Another problem that I am having with that is that the minDate and maxDate in each instance is not being update when one of them is updated. they start with initial value and won't re-render.
Beside that- I am really enjoying working with this plugin.
Thank you.

I'm able to get different times for a range, so long as both are true:

I select the first date, change time, select the second date, change time
The dates are different

The deficiencies I currently see are:

You cannot currently select different times for the same date
You cannot later change time for whichever date in the range was selected first, all changes will affect the date chosen last

Overall, it's a wonderful plugin, but the above are creating problems for me. Most importantly, different times for the same date, which is an extremely common use case which a single range mode component is much nicer for than two distinct components with datetimes.

Is there an option to choose range of dates with different time for beginning and end dates?

Just mode: 'range' and enableTime: true.
You'll have to set the time after selecting the first date, then the second.

The deficiencies I currently see are:

You cannot currently select different times for the same date
You cannot later change time for whichever date in the range was selected first, all changes will affect the date chosen last

The first one is possible.

I'm not aware of a user-friendly way to have a datetime range and allow later modifications to the first selected datetime etc. If you have any ideas, I'm very open to feedback.
Meanwhile, for datetime ranges, I recommend using two inputs.

Another problem that I am having with that is that the minDate and maxDate in each instance is not being update when one of them is updated. they start with initial value and won't re-render.

Do you hook into onChange() and keep the minDate/maxDate updated?

Closing due to inactivity.
Kindly re-open the issue if necessary. :+1:
Thank you.


Keyboard shortcuts to switch tabs not working in VSCode

I use Ctrl+Shift+ArrowUp/Down to switch tabs in VS Code.
When the marimo browser tab is focused, then the shortcuts stop working

We don't do anything to capture these - we use VSCode's Webview API and keyboard events within the webview do not automatically bubble up to VSCode. This behavior is by design to allow the webview content to handle keyboard inputs independently.
We could bubble up events, but it may lead to worse/unexpected behavior.


makes delete_key configurable & custom actions context menu on right click

Feature 1: Adds ability to remap delete key toggle
Adds simple option in the config to change the key used to enable task deletion feature.
Why this change?
I had an issue with default Alt key not working properly when enabling task deletion, so I switched the key to Shift but then also decided to play around with the svelte and typescript and make it more configurable.
Feature 2: Adds custom context menu on right click on task (Disabled by default)

Custom actions can be configured.

Why this change?
I have my own specific flow on how I am using taskwarrior and it is great that I am able to modify tasks from the obsidian thanks to tw-task-wiki, but the amount of times I had to write +today got me thinking that it would be great if I could just click a button and do it quickly. And here we are :)

Hey, thanks for the PR


Import Feature

Is your feature request related to a problem? Please describe.
Users coming from WordPress most likely would like to import their posts, post types, and media uploads.
Describe the solution you'd like
A side bar item labeled: "Import". Import page allows you to select import source, ie: WordPress json endpoint and allow an assign function to ETL into Beacon.
Additional context
Originally was thinking of having import sources listed like: WordPress, Jekyll, etc, but I think simply putting a URL and using assigns function might be an elegant scalable solution.

With the recent drama I think we really need to have this option.

Hey @mchavezi have you used such Importers in other platforms that you could share? I wonder how other platforms support the conversion between data types and fields, for eg converting from ACF. We also need to find the balance between technical flexibility to allow developers work with different set of data versus the UX for end-users to actually use the Importers, for example it's interesting to have a list like you said because end-users are familiar with those names, it's like saying "hey click here to bring your WP site into Beacon" but at the same time under the hood it should have be flexible enough to import and sanitize data as best as possible.

Hi @leandrocp, I haven't used any importers recently but have been exploring moving my headless WP/Next.js site to Statamic. The Statamic Importer Addon uses concept called "Blueprints" that maps CSV or XML file to content fields. The CSV or XML file can include ACF fields as well, so that would just be another mapping to the Blueprint.


With user-data-dir set to "C\Users{user}\AppData\Local\Microsoft\Edge\User Data". SessionNotCreatedException occurs when launch Selenium.

The error occurs when performing the operation as subject. (I believe the problem is specific to the Edge side, as it was not reproduced with the Chrome Driver)
My environment is as follows.
OS: Windows11
Selenium: 4.10.0
Edge: 119.0.2151.72
Edge Driver: 119.0.2151.32
Below is the log.
org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: Microsoft Edge failed to start: exited normally.  (session not created: DevToolsActivePort file doesn't exist)  (The process started from msedge location C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe is no longer running, so msedgedriver is assuming that msedge has crashed.) Host info: host: 'DESKTOP-TBM0T59', ip: '<IP_ADDRESS>'Build info: version: '4.10.0', revision: 'c14d967899'System info: os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '<IP_ADDRESS>'Driver info: org.openqa.selenium.edge.EdgeDriverCommand: [null, newSession {capabilities=[Capabilities {browserName: MicrosoftEdge, ms:edgeOptions: {args: [--start-maximized, --user-data-dir=C:\Users\su...], extensions: [], prefs: {user_experience_metrics: {personalization_data_consent_enabled: true}}}, ms:ms:loggingPrefs: org.openqa.selenium.logging...}]}]
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:140)
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:96)
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:68)
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:163)
org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:196)
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:171)
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:531)
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:227)
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:154)
org.openqa.selenium.chromium.ChromiumDriver.<init>(ChromiumDriver.java:107)
org.openqa.selenium.edge.EdgeDriver.<init>(EdgeDriver.java:59)
org.openqa.selenium.edge.EdgeDriver.<init>(EdgeDriver.java:55)
org.openqa.selenium.edge.EdgeDriver.<init>(EdgeDriver.java:47)

Thanks.

Hi @YoheiSuda2. It looks like Edge is crashing during startup. I will need some more info to investigate further. Are you able to share a short code sample / minimal website that reproduces the issue?

@bwalderman
Thank you for replying.
I'm too busy to provide a sample, so I'll give you the details of the current situation.
Simply passing "C\Users{user}\AppData\Local\Microsoft\Edge\User Data "to --user-data-dir causes a crash, which is reproduced in my environment.
I can work around it by passing "C\Users{user}\AppData\Local\Microsoft\Edge\User Data\Default", but I am unable to specify directly under User Data as before.
Selenium is used in Java 11.
If necessary, we will create a sample and provide it to you after the new year.

This is still a valid issue.
Everything works until user-data-dir option is passed. Then Edge starts but session can't be created.
options.addArguments("user-data-dir=" + userDataDir);
Without this line, it will start edge, load the temp profile, load the site and quit.
With this line, it will start edge, it will load correct profile (fav, session, top right user icon etc) but edgedriver can't connect. It will also not open the site.
Error:
Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: Microsoft Edge failed to start: exited normally.
  (session not created: DevToolsActivePort file doesn't exist)
  (The process started from msedge location C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe is no longer running, so msedgedriver is assuming that msedge has crashed.)
Host info: host: 'WIN11', ip: '<IP_ADDRESS>'
Build info: version: '4.22.0', revision: 'c5f3146703*'
System info: os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '21.0.2'
Driver info: org.openqa.selenium.edge.EdgeDriver
Command: [null, newSession {capabilities=[Capabilities {browserName: MicrosoftEdge, ms:edgeOptions: {args: [user-data-dir=C:\Users\...], extensions: []}}]}]
	at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:114)
	at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:75)
	at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:61)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:162)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:216)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:174)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:518)
	at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:232)
	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:161)
	at org.openqa.selenium.chromium.ChromiumDriver.<init>(ChromiumDriver.java:114)
	at org.openqa.selenium.edge.EdgeDriver.<init>(EdgeDriver.java:60)
	at org.openqa.selenium.edge.EdgeDriver.<init>(EdgeDriver.java:56)
	at org.openqa.selenium.edge.EdgeDriver.<init>(EdgeDriver.java:48)

Here's your repro:

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.edge.EdgeDriver;
import org.openqa.selenium.edge.EdgeOptions;

public class Main {

    public static void main(String[] args) {
        final WebDriver driver;

        final String userHome = System.getProperty("user.home");
        final String userDataDir = userHome + "\\AppData\\Local\\Microsoft\\Edge\\User Data";
        //noinspection SpellCheckingInspection
        final String edgeDriverPath = userHome + "\\Downloads\\edgedriver_win64\\msedgedriver.exe";

        // Set the path to the Edge WebDriver executable
        System.setProperty("webdriver.edge.driver", edgeDriverPath);

        // Set up Edge options to use the existing user data directory
        EdgeOptions options = new EdgeOptions();
        // options.addArguments("user-data-dir=" + userDataDir); // UNCOMMENT THIS AND IT WILL NOT WORK
        // Initialize the Edge WebDriver with the specified options
        driver = new EdgeDriver(options);

        driver.get("https://example.com");

        try {
            Thread.sleep(5000); // Wait for 5 seconds
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

        driver.quit();
    }
}

POM:
    <dependencies>
        <!-- Selenium dependencies -->
        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-java</artifactId>
            <version>4.22.0</version>
        </dependency>

        <!-- Additional dependencies for Edge WebDriver -->
        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-edge-driver</artifactId>
            <version>4.22.0</version>
        </dependency>
    </dependencies>

@YoheiSuda2 , @crimsonvspurple - Did either of you ever find a solution to this? I am facing the same problem with user-data-dir argument in options.

For launching Edge with --no-sandbox switch I suggested launching browser
with shortcut, see https://github.com/MicrosoftEdge/EdgeWebDriver/issues/141
On Wed, 28 Aug 2024 at 17:31, mikeangflo @.***> wrote:

@YoheiSuda2 https://github.com/YoheiSuda2 , @crimsonvspurple
https://github.com/crimsonvspurple - Did either of you ever find a
solution to this? I am facing the same problem with user-data-dir argument
in options.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftEdge/EdgeWebDriver/issues/125#issuecomment-2315681098,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE6MRRKC3RTKDGZEWH2ONB3ZTXUMDAVCNFSM6AAAAABJ7NJVJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJVGY4DCMBZHA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@YoheiSuda2 , @crimsonvspurple - Did either of you ever find a solution to this? I am facing the same problem with user-data-dir argument in options.

I moved to Chrome. Seems like MS don't care about this.

@YoheiSuda2 , @crimsonvspurple - Did either of you ever find a solution to this? I am facing the same problem with user-data-dir argument in options.

I moved to Chrome. Seems like MS don't care about this.

but the Chrome has the same problem :/


<EMAIL_ADDRESS>hash check failed

Should have been fixed in 242d0f2791111fa3335841c85185fc25858b26f1, please check.


Troubleshoot?

Reformatted my SteamOS box and am now trying GamerOS due to drivers. A lot of things aren't working, didn't want to open an issue for each. Wondering how to troubleshoot non-launching games? For instance:
Darkest Dungeon - crashes after Intro.
Every Arcade ROM I've tried - hangs on "Loading Machine 45%"
GalCiv 3 - Crashes after start screen
Obviously this wouldn't work in gamerOS, however in SteamOS in these cases I would drop to the desktop and try to run from the command line, can usually see what the problem is. DD especially I'm sure is something simple.
Or is the solution actually to just submit these findings to GitHub for someone else to look at?

Darkest Dungeon: Looking at the protondb page it looks like the native Linux version of this game crashes on many different distros. People are running it with proton instead.
Arcade ROMs: Many MAME Roms depend on other ROMs. I encountered this myself. Unfortunately, the emulator software doesn't report what files are missing.
Galactic Civilization III: Looking at the protondb page, it seems this game requires the use of proton 3.16
In general, if you want to debug you could do one of two things:

look at the log files in ~/.local/share/Steam/logs
add the included terminal program as a shortcut through the Steam UI and launch the terminal to run commands through the command line


Get latest version of templates compatible with specified cicero version

Is your feature request related to a problem? Please describe.
Currently, a user can call templateLibrary.getTemplateIndex() with the option latestVersion: true to get the latest version of each template or passing a ciceroVersion to specify getting all the templates compatible with a specified version. However, there is no way to get the latest version of each template that is compatible with the specified cicero version. If you pass both, right now you will only receive templates that match that cicero version IFF the version that matches the cicero version is also the latest version of that template.
Describe the solution you'd like
If both options are passed (latestVersion and ciceroVersion), I think this call should return the latest version of each template compatible with that cicero version. (ie. "get me only the latest version of each template for this specified cicero version")

I second that.

@DianaLease This should now be fixed, as suggested in Cicero 0.21.2 https://github.com/accordproject/cicero/releases/tag/v0.21.2
Let me know if this works and if we can close.

Closing this. Feel free to reopen if needed.


Jump to a specific step

What is a non linear stepper ?

Hi,
It's perfectly clear, but on the other hand, the associated example seems perfectly linear on this page (https://bs-stepper.netlify.com/)
How jump to a particular step ?

You have to click on the related step and it'll skip others

Ok !
Is there a way to jump programmatically to a step which is not next() or previous() ?

Not currently but that's something I can add if you're interested ?

Thanks for the feedback @kstratis, so I'll definitely work on that 👍

That's awesome! Thanks!
Do you have an ETA in mind for the next release?

@kstratis I hope this week, it depends on this MR https://github.com/Johann-S/bs-stepper/pull/19

@kstratis new release of bs-stepper published 😉

hey, now we can jump specific steps ahead. Is there also a possibility to step back individually?


can't open folder

Type: Feature Request
i cant open folder in my vscode
VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Windows_NT x64 10.0.22631
Modes:

i cant open folder

/needsMoreInfo


no lighthouse score displayed

Some PWAs don't show a lighthouse score, for example Kontaktlinsen-Preisvergleich.de, submitted yesterday, https://pwa-directory.appspot.com/pwas/5754876214640640 . The lighthouse chrome plugin shows a 100/100 score.
There are currently five other PWAs without score listed on the NEW tab.

Hi @mpoehler thank you for reporting it, we have an issue in our lighthouse server, I will investigate further to find out why it fails for some PWAs.

Seems like more and more are showing up without any score - any clue what the issue is?

@CaptainCodeman yes, the issue is the old service that uses headless shell Chrome to run Lighthouse. We are testing a new one that should be more reliable and we should be able to deploy it this week.

Excellent, thanks for the update!

@CaptainCodeman @mpoehler We rolled out a fix that is rating more PWAs properly, it also uses Lighthouse 1.5.1. We still need to go over few ones that have not been rated.

Looks good now! Thx!


Trello fixes

Pull fixes three bugs:
Uneven receive faucet links:
https://trello.com/c/AdB7ypJi/210-dev-testnet-alignment-issue
https://trello.com/c/ORPhGvoS/208-dev-ux-issue-on-arbeth-receiver-screen
https://trello.com/c/bTLAeLy0/204-arbitrum-test-wallet-link-is-not-visible-properly
Implements a warning for high transaction fees (Could NOT TEST due to not having mainnet funds in the wallet, and no testnet liquidity, but the logic says it should check out, will send to QA to test after Mo confirms logic):
https://trello.com/c/L1JuThSK/128-user-needs-to-be-warned-of-high-transaction-fees
Makes sure no errors are shown on an input when the "No liquidity" message is present:
https://trello.com/c/AJTG4Md3/163-prod-min-n-max-message-still-present-when-there-is-not-liquidity-for-eth-to-btc

Changed up the logic on the negative swap/high fees (tested in testnet but couldn't test negative because no mainnet, although I'm sure it works just fine), fixed small UI error/s thessy pointed out, fixed the package lock issue with the 36000 additions/deletions.  Sorry for late push, was waiting on the UI for the error messages , didn't get that til Thursday/Friday @monokh

@carlsachs can you run npm install and then commit updated package-lock.json file?


Update interpolations

Closes #50, bumps interpolations to 0.15, and bumps interpolations to 0.8.1.

Looks reasonable to me. You may need to use adapt for this to work on the GPU. https://juliamath.github.io/Interpolations.jl/dev/devdocs/#GPU-Support

Looks reasonable to me. You may need to use adapt for this to work on the GPU. https://juliamath.github.io/Interpolations.jl/dev/devdocs/#GPU-Support

Thank you for this link!


Publish on crates.io

Follow the guidelines here: https://doc.rust-lang.org/cargo/reference/publishing.html

@msk Please let me know if I can publish beta from my own account on crates.io or Aicer's Cargo account.

To @azizkayumov: Go ahead and publish the crate.
To @syncpark, @sehkone: Please designate someone else as the co-owner of this crate on crates.io, and ask @azizkayumov to add them as additional owners. We need at least two owners per package in case one of the owners can no longer maintain the crate.

This is awesome! Thank for your help. I published the crate here: https://crates.io/crates/srtree. Will be updating the docs soon.

@syncpark I tried with both of your emails and your Github username to give ownership access on crates.io. Somehow, it couldn't find any account:

Please let me know your username for crates.io.

My GitHub account is syncpark but maybe it’s not allowed as email address. Instead, please use the @.*** @.***>` address.

오전 5:10, Abduaziz Kayumov @.***> 작성:

@syncpark https://github.com/syncpark I tried with both of your emails and your Github username to give ownership access on crates.io. Somehow, it couldn't find any account:
https://user-images.githubusercontent.com/14273342/238760258-e4dbd643-ca0c-4a1d-b97a-08edd568539f.png
Please let me know your username for crates.io.
—
Reply to this email directly, view it on GitHub https://github.com/aicers/srtree/issues/22#issuecomment-1550295677, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQLIVLH5YYG24FV3NSA35A3XGPNM7ANCNFSM6AAAAAAWJQYNLE.
You are receiving this because you were mentioned.

Thank you for clarification. I think your Github account should be connected to crates.io to make it work. Please login with your Github account on crates.io (so that the website knows your Github account).

I just logged in to crates.io http://crates.io/ with Github account. Is there anything else to do?

오전 9:59, Abduaziz Kayumov @.***> 작성:

Thank you for clarification. I think your Github account should be connected to crates.io to make it work. Please login with your Github account on crates.io https://crates.io/ (so that the website knows your Github account).
—
Reply to this email directly, view it on GitHub https://github.com/aicers/srtree/issues/22#issuecomment-1550538212, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQLIVLBCOHP7GWS75JU66FDXGQPITANCNFSM6AAAAAAWJQYNLE.
You are receiving this because you were mentioned.

Ok I just found the “srtree 0.1.0” is registered in my dashboard. Thanks

오전 10:08, 박동기 @.***> 작성:

I just logged in to crates.io http://crates.io/ with Github account. Is there anything else to do?

오전 9:59, Abduaziz Kayumov @.***> 작성:

Thank you for clarification. I think your Github account should be connected to crates.io to make it work. Please login with your Github account on crates.io https://crates.io/ (so that the website knows your Github account).
—
Reply to this email directly, view it on GitHub https://github.com/aicers/srtree/issues/22#issuecomment-1550538212, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQLIVLBCOHP7GWS75JU66FDXGQPITANCNFSM6AAAAAAWJQYNLE.
You are receiving this because you were mentioned.

Thank you for quick reply. Yes, crates.io shows that it has sent an invitation email to you, please accept the ownership invite.

Closing as completed, thank you for your help!

I’ve already accepted the invitation.

오전 10:14, Abduaziz Kayumov @.***> 작성:

Thank you for quick reply. Yes, crates.io shows that it has sent an invitation email to you, please accept the ownership invite.
—
Reply to this email directly, view it on GitHub https://github.com/aicers/srtree/issues/22#issuecomment-1550550543, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQLIVLGSLGOQR6ZRK6Y5VY3XGQRBHANCNFSM6AAAAAAWJQYNLE.
You are receiving this because you were mentioned.

Yes, now it shows your username on crates.io as well. Thank you~


[SDK] Enable proxy deployments for account factories

Problem solved
Enable proxy deployments for account factories

/release-pr

/release-pr


Unable to connec to Inkbird ITC-308-WIFI

I'm having trouble with 2 Inkbird ITC-308-WIFI devices despite them being supported:　https://github.com/make-all/tuya-local/issues/121
To Reproduce
Try to add a ITC-308-WIFI device to the integration
Expected behavior
It is added just like other devices
Additional context
I've been able to add 2 other Tuya devices with this integration, and I had these 2 Inkbird ITC-308-WIFI working with "localtuya", so I know the device IDs, local keys and IDs are correct, but this integration says it could not connect to the device, with either of them.
Tried every protocol version and even disabling the core Tuya integration, to no avail.
Here's a log:
#grep -i tuya_local home-assistant.log
2023-03-24 23:04:04.089 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration tuya_local which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-03-24 23:12:20.860 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call to sleep inside the event loop. This is causing stability issues. Please report issue to the custom integration author for tuya_local doing blocking calls at custom_components/tuya_local/device.py, line 66: self._api = tinytuya.Device(dev_id, address, local_key)
2023-03-24 23:12:22.544 WARNING (MainThread) [custom_components.tuya_local.config_flow] Device matches quad_powerstrip with quality of 84%.  This is causing stability issues. Please report issue to the custom integration author for tuya_local doing blocking calls at custom_components/tuya_local/device.py, line 66: self._api = tinytuya.Device(dev_id, address, local_key)
2023-03-24 23:14:40.366 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call to sleep inside the event loop. This is causing stability issues. Please report issue to the custom integration author for tuya_local doing blocking calls at custom_components/tuya_local/device.py, line 66: self._api = tinytuya.Device(dev_id, address, local_key)
2023-03-24 23:14:42.090 WARNING (MainThread) [custom_components.tuya_local.config_flow] Device matches andersson_gsh_heater with quality of 24%. DPS: {"updated_at":<PHONE_NUMBER>.638998, "1": true, "2": 170, "3": 200, "4": "Program", "6": false, "12": 0, "101": false, "102": false, "103": 0, "104": 1, "105": 15, "106": true, "107": true, "108": false, "109": -10, "110": 10, "113": 10, "114": 25, "115": 10, "117": "off", "118": "0days"}
2023-03-24 23:14:42.092 WARNING (MainThread) [custom_components.tuya_local.config_flow] Report this to https://github.com/make-all/tuya-local/issues/
2023-03-24 23:15:05.385 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call to sleep inside the event loop. This is causing stability issues. Please report issue to the custom integration author for tuya_local doing blocking calls at custom_components/tuya_local/device.py, line 66: self._api = tinytuya.Device(dev_id, address, local_key)
2023-03-24 23:15:47.286 ERROR (MainThread) [custom_components.tuya_local.device] <class 'Exception'>: Unable to find device on network (specify IP address) while initialising device 42806123a4cf12e63300
2023-03-24 23:15:47.288 WARNING (MainThread) [custom_components.tuya_local.config_flow] Connection test failed with <class 'Exception'> Unable to find device on network (specify IP address)
2023-03-24 23:28:34.521 ERROR (MainThread) [custom_components.tuya_local.device] <class 'Exception'>: Unable to find device on network (specify IP address) while initialising device 42806123a4cf12e63300
2023-03-24 23:28:34.524 WARNING (MainThread) [custom_components.tuya_local.config_flow] Connection test failed with <class 'Exception'> Unable to find device on network (specify IP address)
2023-03-24 23:32:21.485 ERROR (MainThread) [custom_components.tuya_local.device] <class 'Exception'>: Unable to find device on network (specify IP address) while initialising device 42806123a4cf12e63300
2023-03-24 23:32:21.487 WARNING (MainThread) [custom_components.tuya_local.config_flow] Connection test failed with <class 'Exception'> Unable to find device on network (specify IP address)

Since it says "specify IP address", I tried that too, and it fails again with the same output in the log.

Have you tried everything in discussion #522?

Just tried again, specifying their respective IPs, and it worked.
Still refused to work with the IP in "auto" though.
So not sure whether this is till a bug or not.


asus x99 deluxe Bios file with modify resizable bar

System

Motherboard: asus x99 deluxe
BIOS Version: 4101
GPU: RTX 3080Ti
I tried this on my motherboard but it doesn't work. Does anyone have a Bios file with modify resizable bar enabled for asus x99 deluxe?
Thanks MARK-PC

All of the instructions are in README and wiki. Several others have it working on ASUS X99 motherboards and issues isn't for support.
I don't do BIOS mod requests but you could try win-raid forum or somewhere else if anyone else wants to.


[native_assets_cli] Publish 0.7.2

coverage: 92.038%. remained the same
when pulling d60745fc4ad182a81a9a3ef4b95080e3ae4d732e on publish-nac
into 82887c2479b3cf115d6cc651908a9c9dd2ccf52e on main.


Sjcl random generator needs to be seeded

Normally this happens automatically when window is detected in module init code:
// excerpt
      ab = new Uint32Array(32);
      if (window.crypto && window.crypto.getRandomValues) {
        window.crypto.getRandomValues(ab);
      } else if (window.msCrypto && window.msCrypto.getRandomValues) {
        window.msCrypto.getRandomValues(ab);
      } else {
        return;
      }

      // get cryptographically strong entropy in Webkit
      sjcl.random.addEntropy(ab, 1024, "crypto.getRandomValues");

Fork of SJCL will need to be patched to work with workers

Probably didn't notice it before because the anon token cache was already full from MV2

closed in #3170

Can probably just replace window with self

https://github.com/sublimator/sjcl/pull/1


lizard markings dont zombify right

Description

lizard markings don't correctly color for zombification.
Reproduction

Be lizard > have markings > get zombied.
Screenshots

Additional context

this is for every marking

Pretty sure there’s a dupe of this if anyone can find it


Don't offer string columns for animated value

Just start using the filter function ready for style components :).
Fixes #7738.
CR: @alonsogarciapablo

Sorry I missed this!

It is fine, we needed for another ticket @javisantana is implementing. 👍


Update README.md

minor changes in phrasing, I think last point needs more emphasis, emphasis added

Thank you, @petyaracz!


Illegal string offset 'ELEMENT'

What are you trying to achieve? (Expected behavior)
Interact with requested element on the page
What do you get instead? (Actual behavior)
[PHPUnit_Framework_Exception] Illegal string offset 'ELEMENT'
How could the issue be reproduced? (Steps to reproduce)
This happens randomly while running tests with Codeception+PhantomJS
By changing some code here: https://github.com/facebook/php-webdriver/blob/community/lib/Remote/RemoteWebDriver.php#L198  to this:
    $elements = [];
    foreach ($raw_elements as $raw_element) {
        if(is_string($raw_element)){
            die("Raw Element: $raw_element");
        }
        $elements[] = $this->newElement($raw_element['ELEMENT']);
    }

    return $elements;

will give us next result:
Raw Element: {"request":{"headers":{"Accept":"application/json","Content-Length":"40","Content-Type":"application/json;charset=UTF-8","Host":"<IP_ADDRESS>:4444"},"httpVersion":"1.1","method":"POST","post":"{\"using\":\"class name\",\"value\":\"loading\"}","url":"/elements","urlParsed":{"anchor":"","query":"","file":"elements","directory":"/","path":"/elements","relative":"/elements","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/elements","queryKey":{},"chunks":["elements"]},"urlOriginal":"/session/05a65dc0-662d-11e7-968f-5d27b83b5460/elements"}}

Might be a duplicate of #468

@paulbriton Not quite sure - the original report I found dates to June, before the Selenium 3.5 was out: http://phptest.club/t/phpunit-framework-exception-illegal-string-offset-element/1547
@hadouke Could you please provide some additional information?

Php-webdriver version:
PHP version:
Selenium server version:
Operating system:
Browser used + version:

Thanks!

@OndraM
Php-webdriver version: 1.4.1
PHP version:  7.0.22
Selenium server version: 3.5.3
Operating system: Windows 10
Browser used + version: PhantomJS 2.1.1

@hadouke Thanks, so it look like of dupe of #468 ... Could you try Selenium server version 3.4?
And BTW, PhantomJS in version 2 did never properly support Selenium (there is many bugs and unfinished features in the protocol implementation in phantom js), so the issue may be there as well.
Also as PhantomJS is no longer developed and maintained, I suggest moving to to headless Chromedriver instead.
I guess there is nothing more we can do, sorry :-(.

This is NOT a PhantomJS issue. I'm getting it with Selenium and Chromedriver


Request: Export Types for API Parameters and Responses

Hi Mistral SDK team (@GaspardBT)! 👋
Would you consider exporting the internal types used in the SDK, such as those for API parameters and responses, in a future release?
I’m trying to improve support for Mistral in promptfoo. Currently, we’re making API calls via HTTP (you can see our setup here), but I'd love to use your SDK, especially for  models like Pixtral.
Thanks for your consideration, and keep up the great work! 🚀

Hey 👋
Would you mind sharing a code snippet of what you are looking to do? To make sure we fully understand 👍
Currently (with the latest version), you can import the types with:
import { ChatCompletionResponse } from "@mistralai/mistralai/models/components";

A full example can be found here.
Would this work for you?

The UsageInfo type (PascalCase properties) does not appear to match the REST API response (snake_case):
export type CompletionChunk = {
  ...
  usage?: UsageInfo | undefined;
  ...
};
export type UsageInfo = {
  promptTokens: number;
  completionTokens: number;
  totalTokens: number;
};

vs:
"usage":{"prompt_tokens":7477,"total_tokens":7613,"completion_tokens":136}


Sync up 6.0/stage with master

This brings bcc on 6.0/stage to the same commit as https://github.com/delphix/bcc/pull/7
Testing
ab-pre-push: http://selfservice.jenkins.delphix.com/job/devops-gate/job/master/job/appliance-build-orchestrator-pre-push/4249/
BB analytics_positive: http://selfservice.jenkins.delphix.com/job/devops-gate/job/master/job/blackbox-self-service/63282/consoleFull

It seems like the analytics_positve test failed.
Before proceeding with the merge, we will also need some work to be backported in the performance-diagnostics repository, notably https://github.com/delphix/performance-diagnostics/pull/36, so I'll hold-off on pushing this change for now.

ab-pre-push on the updated merge: http://selfservice.jenkins.delphix.com/job/devops-gate/job/master/job/appliance-build-orchestrator-pre-push/4687

ab-pre-push on the updated merge: http://selfservice.jenkins.delphix.com/job/devops-gate/job/master/job/appliance-build-orchestrator-pre-push/4687


Intermittent Python gRPC client issue: StatusCode.UNAVAILABLE OS Error: Error received from peer

What version of gRPC and what language are you using?
Python with gRPC 1.14.1 and Protobuf 3.6.1 (gRPC server is Golang at 1.14.0)
What operating system (Linux, Windows, …) and version?
Linux 2.6.32-573.el6.x86_64 (CentOS 6.7)
What runtime / compiler are you using (e.g. python version or version of gcc)
Python 2.7.12
What did you do?
Made a unary request call to a Golang gRPC service.
What did you expect to see?
Expect to see higher success rate around calls
What did you see instead?
Seeing intermittent errors from the client that look like
<_Rendezvous of RPC that terminated with
    status = StatusCode.UNAVAILABLE
    details = "OS Error"
    debug_error_string =
    "{
      "created"<EMAIL_ADDRESS>      "description": "Error received from peer",
      "file": "src/core/lib/surface/call.cc",
      "file_line": 1095,
      "grpc_message": "OS Error",
      "grpc_status": 14
    }"
>

I am unable to reproduce. The errors seem to pop up around the same time and then they subside. The service is not serving a large amount of traffic yet so its hard to tell at what rate this is occurring. In 4 hours, out of ~14K calls 254 fail with this error.
Anything else we should know about your project / environment?
The Python client is running on a Tornado server. I do not have any explicit retry logic around the calls nor do I ever recreate the original channel connection created on startup. Should I potentially be doing these things? Does the Python gRPC client have any retry logic baked in?
The gRPC server is not reporting any errors but I do not have any debug flags set; should I set these and if so I've seen various values, what are the correct ones to set?

I think generally StatusCode.UNAVAILABLE can be considered a retry-able error per the definition: https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto#L172

The server is running in GKE and the cluster is behind Google Load Balancer. Thanks for that link, I will add retry logic for StatusCode.UNAVAILABLE. I was unsure if this was already done internally or not.

This could very well be due to intermittent network connectivity issue. gRPC watches the channel state (default is every 5 secs) and reconnects if the connection breaks. You can try to increase the check frequency by setting GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS to a lower value, say, 100 ms and see if this solves your issue.  More info here.

This could very well be due to intermittent network connectivity issue. gRPC watches the channel state (default is every 5 secs) and reconnects if the connection breaks. You can try to increase the check frequency by setting GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS to a lower value, say, 100 ms and see if this solves your issue. More info here.

Hi!
I've tried it - same error.

@spellanser, what is your setup like? Is it possible to give us a minimal repro where this can be seen consistently without breaking the connection?

@spellanser, what is your setup like? Is it possible to give us a minimal repro where this can be seen consistently without breaking the connection?

Oh, sorry, I've figured it out.
Problem was on my side: wrong firewall settings lead to absence of network access.
Thank you for your quick response!

@spellanser I am experiencing the same issue with my project, I am wondering what was the change you had to make to fix it? The issue comes up intermittently for me too.

I've just created new firewall rule, which allowed my server to connect another server.
If you think your problem is connected to network, you can check it via telnet for example.

@spellanser Thanks. I found out it was not the problem I was experiencing.
I found this other issue https://github.com/grpc/grpc/issues/9767 which is the issue I was experiencing. There is a big PR to implement some kind of retry policy to allow messages to be resent and stuff automatically, but it does not seem to be ready for the public yet. See https://github.com/grpc/grpc/pull/10684.
I ended up writing a simple retry loop in my code to simply retry upon UNAVAILABLE, OS Error gRPC Error and that worked


No engine found

Hello. I'm trying to deploy a model using ur but I got into some problems. First, I got several dependency errors when I was trying to execute examples/integration-tests. After I solved those, I couldn't deploy a model because the system can't find any engine.
I was wondering if everyone can clone the project and run examples/integration-tests straight-away with no problems.
Here is the console log:
Building and delpoying model [INFO] [Engine$] Using command '/usr/local/PredictionIO-0.12.0-incubating/sbt/sbt' at /home/***/Documents/***/PredictionIO/ur to build. [INFO] [Engine$] If the path above is incorrect, this process will fail. [INFO] [Engine$] Uber JAR disabled. Making sure lib/pio-assembly-0.12.0-incubating.jar is absent. [INFO] [Engine$] Going to run: /usr/local/PredictionIO-0.12.0-incubating/sbt/sbt  package assemblyPackageDependency in /home/***/Documents/***/PredictionIO/ur [INFO] [Engine$] Compilation finished successfully. [INFO] [Engine$] Looking for an engine... [ERROR] [Engine$] No engine found. Your build might have failed. Aborting.
Thank you :)

please post questions to the group https://groups.google.com/forum/#!forum/actionml-user
so others can get the benefit of the answer.
You must train before you deploy. Not training is the usual reason for this.

This fact was posted on the Google group mentioned above


Update README.md

indent in code block

why not?

i merged it, thanks!

seems not merged i think

I check again

i done, thanks!!!


3D objects loosing texture after switching from 2D to 3D (2 times)

3D objects from catalog are loosing  texture when you switch from 2D to 3D mode 2 times.
Reproduction:
Add e.g Kitchen from catalog to 2D plan
Switch to 3D (everything is ok)
Switch to 2D
Switch to 3D ( Kitchen is 'grey' untextured)
Following scenario you can reproduce on any Catalog element with textures

Thanks for reporting, we are working on it

it's because of "three-memory-cleaner.js" of the function disposeMesh();
when disposing the mesh it removes the texture from memory so in your case you have 2 options 👍
opt1:
remove this lines :
if(cached3DWindow) {       return Promise.resolve(onLoadItem(cached3DWindow.clone()));     }
opt2 : in three-memory-cleaner.js
remove the lines that dispose the material in disposeMesh(mesh) function


Errors @ Update-Package -Reinstall

Hi,
I'm not getting past the first steps. Update-Package -Reinstall fails and Building the solution fails later. I'm runing VS 2017 community. And I downloaded and installed .net framework SDK version 4.7
------------------------
This is the error:
One or more unresolved package dependency constraints detected in the existing packages.config file. All dependency constraints must be resolved to add or update packages. If these packages are being updated this message may be ignored, if not the following error(s) may be blocking the current package operation: 'Microsoft.VisualStudio.Threading 15.8.168 constraint: Microsoft.VisualStudio.Validation (>= 15.3.15)', 'Microsoft.VisualStudio.Threading 15.8.168 constraint: Microsoft.VisualStudio.Threading.Analyzers (>= 15.8.168)'
Update-Package : Unable to resolve dependencies.
'Microsoft.VisualStudio.Validation 15.0.82' is not compatible with
'Microsoft.VisualStudio.Threading 15.8.168 constraint:
Microsoft.VisualStudio.Validation (>= 15.3.15)'.
At line:1 char:1

Update-Package -Reinstall

  + CategoryInfo          : NotSpecified: (:) [Update-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManag
 ement.PowerShellCmdlets.UpdatePackageCommand

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

ID: 45cb3eec-7693-4e22-bcde-3f85d5a4be14
Version Independent ID: 506c3302-e823-8f1e-d547-083ef0b664df
Content: Automate provisioning of apps using SCIM in Azure Active Directory
Content Source: articles/active-directory/manage-apps/use-scim-to-provision-users-and-groups.md
Service: active-directory
GitHub Login: @barbkess
Microsoft Alias: barbkess

I solved it by running 'Install-Package Microsoft.VisualStudio.Validation -Version 15.3.58' before 'Update-Package -Reinstall'

@guyhorn1964 We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


daemon: Delay block processing

Only process the previous block, this is to remove the need of
processing repeated blocks, so it will only process the prev
block if a newer block was discovered.
This will delay showing the latest block by ~12 seconds.

@stevengcook


Unicode "mathematical small italic" characters don't render on mobile Safari

Function Builder and Expression Exchange are using the Unicode "mathematical small italic" characters for x, y and z. See:
x : http://www.fileformat.info/info/unicode/char/1d465/index.htm
y : http://www.fileformat.info/info/unicode/char/1d466/index.htm
z : http://www.fileformat.info/info/unicode/char/1d467/index.htm
These characters look fine on Safari desktop, Chrome and Firefox. Here's a screenshot from Function Builder, with arrows pointing to where the characters appear. (Function Builder uses only x and y.)

On iOS, these characters do not appear. Here's the same screenshot from iPad2 + iOS 9.3.1:

Using the "browser test page" at http://www.fileformat.info/info/unicode/char/1d465/browsertest.htm, it appears that mobile Safari may not have a font that supports these characters.
We could workaround by using a web-safe italic serif font, but these specific characters were requested by the Function Builder design team.
@jonathanolson suggestions?

Mentioning @jbphet since this affects Expression Exchange.

This issue can be demonstrated in Function Builder 1.0.0-dev.26 and master 791533fe7965fb124939f03247911fdf027be1bf.

Assigning to @ariel-phet to prioritize and assign.

Relevant strings in function-builder-strings_en.json are:
  "x": {
    "value": "\uD835\uDC65"
  },
  "y": {
    "value": "\uD835\uDC66"
  },

Do those need to be translatable? Images have been used before for that type of thing, e.g. Curve Fitting's "help" dialog.
Additionally, if it doesn't need to be translated, AND it seems potentially used across sims, it would be good to create paths so it is consistent across platforms.
If we need them to be translatable, it may be possible to patch in a "character replacement table" in Scenery's Text, that for specific platforms can change which characters are displayed. For iOS, it would presumably replace it with "x" and "y"?
Some of this may be triggered by those Unicode code-points being in the supplementary plane instead of the basic plane (that's why the surrogate pair is needed to encode in JS). Doesn't look like there's any chance for characters to be inserted between, which could cause problems.

Yes, they need to be translatable.

Skype:
[5/17/16, 3:22:07 PM] Jonathan Olson: For https://github.com/phetsims/scenery/issues/545, should I proceed by having Scenery's Text map those x/y values into actual "x" and "y"?
[5/17/16, 3:22:55 PM] Chris Malley: I don't think that's necessary. If we can't render those characters, then we should use a websafe serif italic font.

@jonathanolson would there be any problem with simply doing something like this?
var xString = require( 'string!FUNCTION_BUILDER/x' );
var mathSymbolFont = new PhetFont( {
  family: '"Times New Roman", serif',
  style: 'italic',
  size: 24
}  );
var xNode = new Text( xString, { font:  mathSymbolFont } );

Not opposed to just using built-in fonts, but I prototyped a quick way of embedding fonts (like we used with KaTeX). Using the default math font, it should appear like this on all supported platforms:

We should be able to use whatever open-source font, however there's a moderate drawback: the file size of whatever font is included.
The KaTeX math font (the main one for characters) adds about 53kB, which isn't insignificant. It may be possible to "subset" the font (include only part of it) to reduce the size, but it would be significantly more work to do so (and less maintainable).

Here's the look of "mathematical small italic" in the "Equations" screen of 1.0.0-dev.28:

The KaTeX math font look a little too curly, more similar to Unicode "mathematical small script".  And the team previously decided that they preferred "mathematical small italic" to "mathematical small script".
Here's the look of {  family: '"Time New Roman", Times, serif', style: 'italic' }, a built-in font. It is more similar to "mathematical small italic".

So... My recommendation would be to use the builtin font, because (a) it's closer to the desired look, (b) it doesn't pull in a 53KB font file, and (c) it's simpler.

@ariel-phet Please have a look at this dev version, and let me know whether you agree that the built-in font looks fine for this application:
http://www.colorado.edu/physics/phet/dev/html/function-builder/1.0.0-dev.29/function-builder_en.html

@pixelzoom built-in font looks fine.

We're going with built-in font, which has been encapsulate in scenery-phet.MathSymbolFont, for use by function-builder and expression-exchange.
Closing.


can't freeze graph

Thank you for your job!
I tried to freeze the model, following your guidance to  change line 112 in export_inference_graph.py, from num_classes=5 to num_classes=2, but i got the error below:
Assign requires shapes of both tensors to match. lhs shape= [1056,2] rhs shape= [1056,8]
my tensorflow version is 1.8.0
Can you give me some advices.

I encountered this before, I think there's somewhere else you also need to make modification but I cannot remember where it is. Just one of those scripts.

@yeephycho  thank you for your reply, just to change customized.py _NUM_CLASSES=8 to  _NUM_CLASSES=2


Codecov add env token from secret

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

Project coverage is 34.45%. Comparing base (cb2cf53) to head (57b9274).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #317      +/-   ##
==========================================
+ Coverage   33.63%   34.45%   +0.82%
==========================================
  Files          47       48       +1
  Lines        3865     3375     -490
==========================================
- Hits         1300     1163     -137
+ Misses       2477     2115     -362
- Partials       88       97       +9

Flag
Coverage Δ

unittests
34.45% <ø> (+0.82%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

/lgtm
/approve


Building apps on Ubuntu 14.04

To build application on Ubuntu 14.04 you should use gtk_3_10 tag:
$ go build -tags gtk_3_10 example.go.
Maybe add this info to README?

i have add this information:
see: https://github.com/gotk3/gotk3/commit/c27ddeb1bf2079fbaedc1d1be0f976882ff5c141

Good)


The build queue isn't starting anytime soon even if there are no builds before

What App Center service does this affect?
Build
Describe the bug
Builds are queued for a very long time.
To Reproduce
Steps to reproduce the behavior:

Build a branch
Cancel the build
Try to build again
See the build queue for a long time

Expected behavior
Should build immediately

Hi @mike14u, mind reaching out to intercom support in the main App Center portal for help? We can check out your configuration to see if there is something going on.

Hi @mike14u, @patniko  I believe my team has encountered this bug as well.
Over the past few months we've found that our single concurrent build queue will become frozen if we cancel a build too quickly after its started.
We haven't nailed down the exact steps to reproduce it but.. Our build jobs are set to build on push and sometimes we'll push twice in matter of a few seconds then quickly open appcenter and cancel the first build job which had just started... only to find the build queue is now frozen and the second push remains queued for quite a while (60 mins?). The first build will be marked as cancelled.
We've managed to steer clear of this bug by waiting for the "build agent" to appear in build detail before clicking cancel. And of course by canceling prior to start.

We have just encountered this issue, too. Started when we set builds to run automatically on push, but still remains a problem after switching builds back to manual. Contacted support via App Center, but not sure what we're supposed to do until then.

Ive faced the exact same problem. Anybody have a solution yet ?

I believe this is still an issue as we have also encountered this problem, my latest build is stuck in the queue even though there's nothing pending and other builds have been canceled.

I believe this is still an issue as we have also encountered this problem, my latest build is stuck in the queue even though there's nothing pending and other builds have been canceled.

I am facing the same issue right now. Tried to build approximately 1 hour ago and it failed with no logs. Now builds are just stuck in queue.

Yep seem issue for me.  Anyone worked out how to get it to restart or does it eventually fix its self?

Yep same issue for me. Anyone worked out how to get it to restart or does it eventually fix its self?

I queued another build about 12 hours ago and that failed randomly without logs as well. However, about 9 hours ago, the system started working fine. I didn't contact support so they were probably doing something.

Yeah, the same bug and we have got it since last year

how do you build after that??

I was able to get around this issue by removing the configuration and then setting up the configuration again for the branch. Now my build is running.


STIX compatibility/Authentication/Polling Resolved (Possible fix for #179 & #169)

I have read about issues with authentication/ compatibility with stix version on alot of forums. Made 3 small changes in _version.py, management.py and api.py - for me authentication and polling works perfectly now!
This possibly closes #169 and #179

Why hasnt this been merged in?

pinging @traut - everything looks good except for commenting out old code and the version change.


costs job writer

Current coverage is 65.86%

Merging #71 into master will increase coverage by +6.24% as of ab94a76

@@            master     #71   diff @@
======================================
  Files          115     114     -1
  Stmts         1330    1327     -3
  Branches        94      93     -1
  Methods
======================================
+ Hit            793     874    +81
- Partial         18      19     +1
+ Missed         519     434    -85

Review entire Coverage Diff as of ab94a76

Powered by Codecov. Updated on successful CI builds.


NatssChannel Dispatcher Refactor to use CloudEvents

Fixes #598
Proposed Changes

Refactored the NatssChannel dispatcher to use CloudEvents

/test pull-knative-eventing-contrib-go-coverage

/ok-to-test

/lgtm
/approve
Thanks!! Looks great.

/retest

@pierDipi you need to rebase upon master and use the imports github.com/cloudevents/sdk-go/legacy

/retest

/lgtm


Update TemporalContinuousDistributionSection

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

Files
Coverage Δ

src/flamme/section/continuous.py
100.00% <100.00%> (ø)

:loudspeaker: Thoughts on this report? Let us know!.


Create a separate feedback form page for fortnightly feedback

http://<IP_ADDRESS>:8000/profile/mentor.html
Change this page to show who your mentee is if you're logged in as a mentor and show who your mentor is if you're logged in as a mentee.
Create a separate feedback form page

This issue is similar to #30.

This has been done and the feedback form is now in the profile page


Valset, CosmosBridge, Oracle, and BridgeBank

This PR refactors and expands the smart contracts into four distinct entities:

Valset: manages validator set and validator signature verification
CosmosBridge: manages ProphecyClaims, which are initial validator submissions of events that have occurred on another blockchain
Oracle: manages OracleClaims, which are additional validator submissions which confirm that the original ProphecyClaim is accurate. Manages the processing of prophecies, which are attempts at completing a ProphecyClaim using the OracleClaims made upon it.
BridgeBank: manages BridgeTokens, which assets controlled according to the bridge's rules
a. CosmosBank: deploys and mints BridgeTokens which represent assets on Cosmos
b. EthereumBank: locks and unlocks BridgeTokens which represent assets on Ethereum

The system is managed by an operator which oversees the deployed contracts.
1. Valset tests
  Contract: Valset
    Valset contract deployment
      ✓ should deploy the Valset and correctly set initial validator count
      ✓ should correctly set initial validators (47ms)
      ✓ should correctly set initial validator powers  (49ms)
      ✓ should correctly set the total power
    Signature verification
      ✓ should correctly validate signatures
      ✓ should not validate signatures on a different hashed message
      ✓ should not validate signatures from a different address

2. CosmosBridge tests
Contract: CosmosBridge
    CosmosBridge smart contract deployment
      ✓ should deploy the CosmosBridge with the correct parameters
      ✓ should allow the operator to set the Oracle (51ms)
      ✓ should not allow the operater to update the Oracle once it has been set (75ms)
      ✓ should allow the operator to set the Bridge Bank (51ms)
      ✓ should not allow the operater to update the Bridge Bank once it has been set (74ms)
    Creation of bridge claims
      ✓ should allow for the creation of new bridge claims (58ms)
      ✓ should log an event containing the new bridge claim's information (59ms)
      ✓ should increase the bridge claim count upon the creation of new a bridge claim (85ms)
    Bridge claim status
      ✓ should not show fake bridge claims as active
      ✓ should allow users to check if a bridge claim is currently active (69ms)
      ✓ should allow users to check if a bridge claim's original validator is currently an active validator (76ms)

3. Oracle tests
  Contract: Oracle
    Oracle smart contract deployment
      ✓ should deploy the Oracle, correctly setting the operator and valset
    Creation of oracle claims
      ✓ should not allow oracle claims upon inactive bridge claims (51ms)
      ✓ should not allow non-validators to make oracle claims (42ms)
      ✓ should not allow validators to make OracleClaims with invalid signatures (70ms)
      ✓ should not allow validators to make OracleClaims with another validator's signature (62ms)
      ✓ should allow validators to make OracleClaims with their own signatures (58ms)
      ✓ should not allow validators to make duplicate OracleClaims (110ms)
      ✓ should emit an event containing the new OracleClaim's information (54ms)
    Prophecy processing
      ✓ should not process the prophecy if signed power does not pass the required threshold power (102ms)
      ✓ should allow for the processing of prophecies (226ms)
      ✓ should allow non-unanimous consensus if signed power passes threshold (240ms)
      ✓ should not allow a prophecy to be processed twice (214ms)
      ✓ should emit an event upon successful prophecy processing (258ms)

4. BridgeBank tests
  Contract: BridgeBank
    BridgeBank deployment and basics
      ✓ should deploy the BridgeBank, correctly setting the operator and valset
      ✓ should correctly set initial values of CosmosBank and EthereumBank (43ms)
      ✓ should not allow a user to send ethereum directly to the contract
    BridgeToken creation (Cosmos assets)
      ✓ should not allow non-operators to create new bridge tokens (38ms)
      ✓ should allow the operator to create new bridge token (51ms)
      ✓ should emit event LogNewBridgeToken containing the new bridge token's address and symbol (73ms)
      ✓ should increase the bridge token count upon creation (81ms)
      ✓ should add the new bridge token to the whitelist (88ms)
      ✓ should allow the creation of bridge tokens with the same symbol (200ms)
    Bridge token minting (Cosmos assets)
      ✓ should mint bridge tokens upon the successful processing of a prophecy claim (158ms)
    Bridge token deposit locking (Ethereum/ERC20 assets)
      ✓ should allow users to lock ERC20 tokens (88ms)
      ✓ should allow users to lock Ethereum (53ms)
      ✓ should generate unique deposit ID for a new deposit (38ms)
      ✓ should correctly mark new deposits as locked (103ms)
      ✓ should be able to access the deposit's information by its ID (104ms)
      ✓ should correctly store deposit information (121ms)
    Bridge token deposit unlocking (Ethereum/ERC20 assets)
      ✓ should allow for an Ethereum deposit to be unlocked (41ms)
      ✓ should allow for an ERC20 deposit to be unlocked (47ms)
      ✓ should not allow for the unlocking of non-existant deposits (38ms)
      ✓ should not allow an unlocked deposit to be unlocked again (76ms)
      ✓ should update lock status of deposits upon completion (74ms)
      ✓ should emit an event upon unlock with the correct deposit information (45ms)
      ✓ should correctly transfer unlocked Ethereum (53ms)
      ✓ should correctly transfer unlocked ERC20 tokens (120ms)

Some features contained in this PR have undergone a preliminary review in https://github.com/cosmos/peggy/pull/76.
Thanks to @mossid, @fedekunze, and @adrianbrink for their past work on validator signature verification and consensus.

@denalimarsh can we base this on master now?

@denalimarsh can we base this on master now?

Updated base to master and fixed conflicts.

@fedekunze thanks for the review :)
I've updated the migration script's formatting/comments and added this PR to the CHANGELOG.


Fix issue with XWalkView::setBackgroundColor

cherry-pick to Wrong branch. Ignore it or close it.

@axinging you could close it by yourself if it is wrong PR.


Feature/small settings refactor

Small refactor in settings.py to make it less verbose and a little more readable. No functionality changed. Added 2 TODOs that should be discussed; functions can return string or None, but ideally should be only string.

sorry, wrong target branch


Run package-contents-refresh in the background for stale archives

Though it makes sense to do it synchronously when the archive is empty,
the refresh due to stale archives could be done in the background thus greatly improving startup time.
Otherwise your first start every morning can take a while.

Nice! Thanks for the contribution!


Fix 556-new branch

Description
Please explain the changes you've made
Issue reference
We strive to have all PRs being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] The quickstart code compiles correctly
[ ] You've tested new builds of the quickstart if you changed quickstart code
[ ] You've updated the quickstart's README if necessary
[ ] If you have changed the steps for a quickstart be sure that you have updated the automated validation accordingly. All of our quickstarts have annotations that allow them to be executed automatically as code. For more information see mechanical-markdown. For user guide with examples see Examples.

@greenie-msft here is the new pr, can you please re-shchedule these tests? Thank you!

Linked to #556 and #763

@greenie-msft @paulyuk sorry for spamming you but without your help, being a first-time contributor, i can only wait.
thank you for your help and i hope in the future i will be faster in my contributions :)

@greenie-msft @msfussell @paulyuk
Hi, it doesn't seem to be using a new image containing the changes i made in the quickstarts, but the old one(i didn't understand we would follow this particular flow, so i studied now how things should work).
This i believe is because in the test pipeline it's using the latest image pushed in your current dapr github container repository:
https://github.com/dapr/quickstarts/blob/feature/556-tutorials-fix/tutorials/hello-kubernetes/deploy/node.yaml#L40
--> so these ones https://github.com/orgs/dapr/packages?repo_name=quickstarts
I see that you changed the workflow in this branch: https://github.com/dapr/quickstarts/commit/85d6297d982f82dd6030c89a45c05d3c4f2b2417
But the problem is that this PR needs to be merged(tests here will never complete correctly).
After the merge of these PR, the build pipeline will need to be run on this branch and only then, only until someone else pushes other changed overriding these new images, tests will pass.
So i think we need to coordinate a bit to make this work :)
To recap the necessary steps:

until this PR(#771, the current one) is merged, tests will not pass.
after the merge, i expect the build.yml pipeline to automatically start and publish the new images thanks to your workflow change on the trigger.
if when that pipeline ends publishing the new images, someone on your side(i don't have the necessary permissions) re-runs the tests from the old PR(#763) tests will use the new image and pass.

thank you for your help
P.S. sorry for all the noise, but don't you think this may seem a bit too complex to new contributors?
let me know if you're open to discuss on how to slim this process down or if you already know your desired flow, i'd be happy to help.

@greenie-msft @msfussell @paulyuk @yaron2
up 🚀

@greenie-msft @msfussell @paulyuk
Hi, it doesn't seem to be using a new image containing the changes i made in the quickstarts, but the old one(i didn't understand we would follow this particular flow, so i studied now how things should work).
This i believe is because in the test pipeline it's using the latest image pushed in your current dapr github container repository: https://github.com/dapr/quickstarts/blob/feature/556-tutorials-fix/tutorials/hello-kubernetes/deploy/node.yaml#L40 --> so these ones https://github.com/orgs/dapr/packages?repo_name=quickstarts
I see that you changed the workflow in this branch: 85d6297
But the problem is that this PR needs to be merged(tests here will never complete correctly). After the merge of this PR, the build pipeline will run on this branch and only then, only until someone else pushes other changes on one of the others branches the trigger is listening to, tests will pass.
So i think we need to coordinate a bit to make this work :)
To recap the necessary steps:

until this PR(Fix 556-new branch #771, the current one) is merged, tests will not pass.
after the merge, i expect the build.yml pipeline to automatically start and publish the new images thanks to your workflow change on the trigger.
if when that pipeline ends publishing the new images, someone on your side(i don't have the necessary permissions) re-runs the tests from the old PR(Fix 556 #763) tests will use the new image and pass.

thank you for your help
P.S. sorry for all the noise, but don't you think this may seem a bit too complex to new contributors? let me know if you're open to discuss on how to slim this process down or if you already know your desired flow, i'd be happy to help.
Yes sorry for lapse here over holidays.

The workflow is tricky when you need to change a test workflow or a container image, and effectively we need to merge and test in prod.
I'm very open to discussing how we can simplify this.

Hi @greenie-msft @msfussell @paulyuk
let me know if you need anything else but i think you're ready to merge this if it's ok with you and then re-trigger tests on the other PR to effectively see that they will pass.
THE DCO is not passing now because of someone else's missing sign, I think I'm not able to correct this(the commit was already in Master, I just synced from master in my fork/branch): https://github.com/dapr/quickstarts/pull/771/commits/22ef222310056322a97ec0ff56bd266d33087308

Yes sorry for lapse here over holidays.
The workflow is tricky when you need to change a test workflow or a container image, and effectively we need to merge and test in prod.
I'm very open to discussing how we can simplify this.

For this matter I can create another Issue if you're ok with that, but the general workflow I'd expect would be:
As a contributor wannabe, I fork, make my changes, I am able to launch the build that publishes containers(not on dockerhub, just here on my GHCR that is where the demo takes the images from).
Something like what i did here: https://github.com/MACEL94/AKS-3-Tier-App/blob/master/.github/workflows/api.yaml#L24 but using

Then the tests should be run when i PR in my fork from my branch and target master(using my ghcr).
Then i can do a PR from my fork master to your dapr/quickstarts/master, this PR tests won't pass but at least you'll be able to request me and see in my public history and PR that with the new images, the PR would succeed.
If you took the time to truly read this, thank you for your time

Hi @greenie-msft @msfussell @paulyuk
let me know if you need anything else but i think you're ready to merge this if it's ok with you and then re-trigger tests on the other PR to effectively see that they will pass.
THE DCO is not passing now because of someone else's missing sign, I think I'm not able to correct this(the commit was already in Master, I just synced from master in my fork/branch): 22ef222

Yes sorry for lapse here over holidays.
The workflow is tricky when you need to change a test workflow or a container image, and effectively we need to merge and test in prod.
I'm very open to discussing how we can simplify this.

For this matter I can create another Issue if you're ok with that, but the general workflow I'd expect would be:
As a contributor wannabe, I fork, make my changes, I am able to launch the build that publishes containers(not on dockerhub, just here on my GHCR that is where the demo takes the images from).
Something like what i did here: https://github.com/MACEL94/AKS-3-Tier-App/blob/master/.github/workflows/api.yaml#L24 but using
Then the tests should be run when i PR in my fork from my branch and target master(using my ghcr).
Then i can do a PR from my fork master to your dapr/quickstarts/master, this PR tests won't pass but at least you'll be able to request me and see in my public history and PR that with the new images, the PR would succeed.
If you took the time to truly read this, thank you for your time

Yes I read it all and I understand.  I would like our branches to be more isolated and allow end to end testing.  This is a good idea but let's separate that from this fix to unblock the test in its current form.
Is the PR ready?  If you run make validate and test locally things look good? I'm doing same now.
Also I sent an invite on Discord.  Could you please accept if you'd like to coordinate a bit more?

We synced and goal is to merge this tomorrow Italy time after one more check.

@paulyuk
I pinged you on discord and sent you the screens of my successful tests on minikube in the devcontainer using the new code.
I can also post them here if you'd like me to.

@paulyuk @yaron2 @ItalyPaleAle
Recap of tests done in my local devcontainer
Before tests
minikube delete
minikube start
cd to tutorials/hello-kubernetes
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
helm install redis bitnami/redis
dapr init -k --wait
Tests not passing with the old container image
make validate
and the tests of course were not passing:

Generating the new image
Then I built the dockerfile with the node app locally(so my code was there) and i published it to dockerhub.
I changed the node.yaml in the deploy folder to reference that new local image(which will be the same that will be published by your ci once we merge).

Tests passing using the new image
Now that the image is online and public, i rerun make validate and finally they are green!

So yes, when you have time please i think you can merge the second PR, republish the images, re-run the tests in the original PR and then just merge that original one to master.


HostRegexp should work with Letsencrypt

httpChallenge/Letsencrypt should work with HostRegexp - it can just use the http-host header :)

Our implementation of ACME challenges never relies on HTTP headers, because they can be spoofed.
If you want to use HostRegexp can define your domains via the domains option of the router.
https://doc.traefik.io/traefik/v2.4/routing/routers/#domains
Next time, please follow the issue template.


Force username & email to lowerCase PLUS Remove sensitive data before…

… return authenticated user in password reset

@rhutchison @codydaig @ilanbiala @mleanos any thoughts?

can we use css text-transform: lowercase; instead of ng-change, and then on save (client or server) force to lower?

I agree with @rhutchison that this should be done with the save method, either on the client or server side. I'm not a fan of using ng-change for these types of scenarios.
I don't see a need to transform with css. The real need here is to change the username to lowercase, sometime, before authentication; in order to decrease the chance of user error.
However, if the view must be updated to reflect the lowercase change, then I'd say that's an argument to do the conversion, in the client controller save method; thus, updating the view.

After looking at these changes a bit further, I think the lowercase conversion should be done at the very front-end with the user input; most likely in the client controller method that initiates any API calls. If these changes are made in the middleware, they can get lost & the SOC gets weaker.
To ensure the username & email always get converted to lowercase, the pre-save hook can be used on the User model.

I don't see a need to transform with css. The real need here is to change the username to lowercase, sometime, before authentication; in order to decrease the chance of user error.

However, if the view must be updated to reflect the lowercase change, then I'd say that's an argument to do the conversion, in the client controller save method; thus, updating the view.

Why wouldn't you just have text-transform?  the user doesn't need to know when it's transformed, just that it is being transformed.

@rhutchison I don't like using css as a means to transform data based on business logic/needs. The client/server controller would be sufficient in most cases. If someone wants to update the view to show the transformation, then adding the css text-transform would be an enhancement, IMO.

.toLowerCase is good, but I'd do it in the JS and not in the HTML.

Those ng-change bits should be removed; after that this LGTM and pretty much how I'm doing it already at my copy.
+1 @mleanos - CSS/angular frontend tweaking seems hacky.

reopened #866


Replace Logo and background

Description
Hello,
It would be great if you could change the logo and the background via an ENV. This would mean that the login page would not make it immediately recognisable that it is an Addy.io installation.
BR

I'm afraid I don't have any plans to add this.
If you want to make changes you can fork the repo and make them yourself there.
You must state the changes and disclose the source as per the license - https://github.com/anonaddy/anonaddy/blob/master/LICENSE.md