feat/module/map/frontend

First cut of front end for the map.
TODO:

Hook up data from firebase (map and pins + filters)
Take My Pin button somewhere
Debug weird problem where map resets to the center for some odd reason

I've just pushed a new couple of commits to fix the comments and the bind stuff. I don't know why I didn't think of that earlier. I was running into this context problems, and just defaulted to the old way of doing it, whoops.
@chrismclarke It's not currently possible to put the popups over the controls as the mapview and controls are parent to the map component (i.e. they sit in different trees). It could be achieved by having them in the same tree, but it could also be solved by centering the map on the pin when it is clicked also. Would need to double check with Saskia about the UX on this one of course, since i don't think floating over the controls makes sense either (you're blocking user input then).
As for the multi-select, you'll see that the default react-select (with isMulti option) doesn't work to how the current designs dictate, thus the extra include. It is MIT license though, so you could just take it, remix out the things you don't want and put it somewhere in the code base. I'm currently having to use !important css tags since the imported select doesn't allow some style overriding which is unfortunate (I would argue though, this is really a future problem, not a problem for now though as getting it done is probably higher up there).
Similar story goes for ItemCounter and ItemLabel components. They are super localised for the use in the multi select, so I don't see any value in trying to make them generic (unless you've got plans to use them somewhere else of course, but I'd just make the GroupingFilter component more generic in that case).
I can imagine that the page container might want to have different sizes based on the content that lives within. It could be achieved by passing the route name as a prop to the component, and that way you can just use a styled component prop to toggle the styles you want. I'll make another PR to show you what I mean

It's not currently possible to put the popups over the controls
Thought would most likely be that way, longer term solution might be to have the search box expand/contract as a popup is toggled but for now not to worry.

As for the multi-select...
Cool, it's still super lightweight (5kb) so not worried, more a case that I really don't like the existing react-select component so might be worth moving everything over. But again, really not a priority. Agree similarly for !important styles and styled components, the whole module is nicely organised/contained so I don't think there will be any real confusion as to where things come from.

I've collated other bits from here into #144 as a summary for whenever there's a map v2 push, and will add there with any feedback that comes or updates on specific issues. Thanks again @nzchicken for all your work on this.


Define analytics to record

For data collection on gameplay

Unity Analytics is enabled for this project. Re-assigning to @EGL and @wadek2 to define what analytics need to be recorded.

number of plays

fails vs. wins
time to fail

session length
timestamp and location
track downloads


termination event needed!

I ran an ensemble successfully in the ensemble operator tonight, and realized it ended and was waiting for more events! We obviously need a termination action, for which in this case the ensemble state machine would exit and the operator exit on zero. Tomorrow!

This will be closed by #11


React: Connect Leaderboard component to render the highest scoreing players.

As a visitor or user, I would like to be able to see the current players with the highest scores in the game's database.

Is there a way to contribute to this project?

Hello Johan,
I’m sure me team would be more than welcoming of contributors after our last sprint ends. We were planning on continuing to work on the project after the semester ends. If you’re still interested, please check back with us anytime after May first.
Trevor Chaney

On Apr 22, 2020, at 23:12, Johan Altamar<EMAIL_ADDRESS>wrote:
Is there a way to contribute to this project?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Not able to reorder list with ion-checkbox in the list item

If I put an ion-checkbox in the list item, I can't reorder it.

@jntr06 can you provide a minimum plunker example? You can use this as a base:
http://plnkr.co/edit/me3Uk0GKWVRhZWU0usad?p=preview
also, make sure to follow the issue template. please include the output of ionic info
Thanks!

Hi manucorporat,
Please refer to the plunker link below.
I have added sample code for the issue. Not sure why reorder is not working in plunker.
Issue is even if the reorder is working fine in my system but it is not working any more as soon as I am including a check box in the list.
Can you please help
home.html
<ion-list reorder = "true">    <ion-item *ngFor ="let item of items" >    <ion-checkbox></ion-checkbox>    <ion-label>{{item}}</ion-label>    </ion-item>  </ion-list>
home.ts
`export class HomePage {
greeting: string;
constructor(private nav: NavController) {
this.initialize();
}
	initialize(){

  this.items = ['USA','France','Italy','Australia','England']
}

goToPage1() {
  this.nav.push(Page1);
}

}`
http://plnkr.co/edit/iluWZWmibT6FSNi8K72B?p=preview

http://plnkr.co/edit/iluWZWmibT6FSNi8K72B?p=preview

@jntr06 thanks a lot for the plunker, it helps a lot. I will look into it tomorrow!

@jntr06 fixed! it should work in next release! thanks for the report!

Thank you :)


Make sdkgen database agnostic

Fate of api_calls need to be decided. Maybe we can have database plugins.

I think in some thing like a DatabaseInterface .
The user can make your own DatabaseInterface and pass it to api. If nothing is provided the api will use the default implementation using rethinkdb.
export interface DatabaseInterface {
     loadData(params: any) => Promise<any>;
     saveData(obj: any) => Promise<any>;
     etc...
}

export defineDatabaseImplementation(db: DatabaseInterface) {
   ...
}

By default the sdkgen will generate api code that uses RethinkDB for

healthcheck
saving the device info
locking and saving api calls.

But you can specify the option $useRethink = false to generate nothing related to the database and implement those 3 functions with working "no op"s.
The above functions can still be implemented with the exposed api.hooks.
I'm closing this issue as fixed.


Broken install with pip on python 2.x

Pydocstyle does not install properly on python 2.
$ python --version
Python 2.7.13
$ pip install pydocstyle
Collecting pydocstyle
  Using cached pydocstyle-2.1.0-py2.py3-none-any.whl
Collecting six (from pydocstyle)
  Using cached six-1.11.0-py2.py3-none-any.whl
Collecting snowballstemmer (from pydocstyle)
  Using cached snowballstemmer-1.2.1-py2.py3-none-any.whl
Installing collected packages: six, snowballstemmer, pydocstyle
Successfully installed pydocstyle-2.1.0 six-1.11.0 snowballstemmer-1.2.1
$ pydocstyle
Traceback (most recent call last):
  File "/tmp/test/bin/pydocstyle", line 7, in <module>
    from pydocstyle.cli import main
  File "/tmp/test/local/lib/python2.7/site-packages/pydocstyle/__init__.py", line 1, in <module>
    from .checker import check
  File "/tmp/test/local/lib/python2.7/site-packages/pydocstyle/checker.py", line 12, in <module>
    from .config import IllegalConfiguration
  File "/tmp/test/local/lib/python2.7/site-packages/pydocstyle/config.py", line 10, in <module>
    from configparser import RawConfigParser
ImportError: No module named configparser
$ pip list
pip (9.0.1)
pydocstyle (2.1.0)
setuptools (36.5.0)
six (1.11.0)
snowballstemmer (1.2.1)
wheel (0.30.0)

configparser  is not installed through pip.

I confirm the issue on Python 2.
Checking the metadata.json inside the whl package downloaded by pip, configparser is missing:
{
  "classifiers": [
    "Intended Audience :: Developers",
    "Environment :: Console",
    "Programming Language :: Python :: 2",
    "Programming Language :: Python :: 3",
    "Operating System :: OS Independent",
    "License :: OSI Approved :: MIT License"
  ],
  "description_content_type": "UNKNOWN",
  "extensions": {
    "python.commands": {
      "wrap_console": {
        "pydocstyle": "pydocstyle.cli:main"
      }
    },
    "python.details": {
      "contacts": [
        {
          "email"<EMAIL_ADDRESS>          "name": "Amir Rachum",
          "role": "author"
        }
      ],
      "document_names": {
        "description": "DESCRIPTION.rst"
      },
      "project_urls": {
        "Home": "https://github.com/PyCQA/pydocstyle/"
      }
    },
    "python.exports": {
      "console_scripts": {
        "pydocstyle": "pydocstyle.cli:main"
      }
    }
  },
  "extras": [],
  "generator": "bdist_wheel (0.29.0)",
  "keywords": [
    "pydocstyle",
    "PEP",
    "257",
    "pep257",
    "PEP",
    "8",
    "pep8",
    "docstrings"
  ],
  "license": "MIT",
  "metadata_version": "2.0",
  "name": "pydocstyle",
  "run_requires": [
    {
      "requires": [
        "six",
        "snowballstemmer"
      ]
    }
  ],
  "summary": "Python docstring style checker",
  "version": "2.1.0"
}

See pip -v install pydocstyle log:
Collecting pydocstyle
  1 location(s) to search for versions of pydocstyle:
  * https://pypi.python.org/simple/pydocstyle/
  Getting page https://pypi.python.org/simple/pydocstyle/
  Looking up "https://pypi.python.org/simple/pydocstyle/" in the cache
  Current age based on date: 913
  Freshness lifetime from max-age: 600
  Freshness lifetime from request max-age: 600
  The cached response is "stale" with no etag, purging
  Starting new HTTPS connection (1): pypi.python.org
  "GET /simple/pydocstyle/ HTTP/1.1" 200 888
  Updating cache with response from "https://pypi.python.org/simple/pydocstyle/"
  Caching b/c date exists and max-age > 0
  Analyzing links from page https://pypi.python.org/simple/pydocstyle/
    Found link https://pypi.python.org/packages/21/1d/2afb75448d496a1a53815a5e2edd5fc8828eff6730ae29ce18801d2d4077/pydocstyle-2.1.0-py2.py3-none-any.whl#md5=eeddf1eb4b069cb0a6ad8ff8c2cc07d9 (from https://pypi.python.org/simple/pydocstyle/), version: 2.1.0
    Found link https://pypi.python.org/packages/32/6a/b500937a4098be1e890f34590219ee6998f02a0256ab228969494b64fbca/pydocstyle-2.1.0.tar.gz#md5=291d7b3df72766aecba2683f87dde9b3 (from https://pypi.python.org/simple/pydocstyle/), version: 2.1.0
    Found link https://pypi.python.org/packages/3a/ae/e00f314bdf4654329aab3f0443cb5b213c79cc25002e49a2f8cbf8a09936/pydocstyle-1.0.0.zip#md5=74a42c1c8148f80c8f2931b615b54a24 (from https://pypi.python.org/simple/pydocstyle/), version: 1.0.0
    Found link https://pypi.python.org/packages/42/ae/67a288482857b728f2e84db2e5f48c6e5d6a9d44ba4eefbaf63e42a88e54/pydocstyle-1.1.0-py2.py3-none-any.whl#md5=1fa964c5625aaba2ae27319fb16417db (from https://pypi.python.org/simple/pydocstyle/), version: 1.1.0
    Found link https://pypi.python.org/packages/5c/ca/0849f5a833575eb43c57dc5a40ca825615b234d161cc69bc9ce5867d7169/pydocstyle-2.0.0-py2.py3-none-any.whl#md5=fabd0b1aa293481a466eb0366f32bfe7 (from https://pypi.python.org/simple/pydocstyle/), version: 2.0.0
    Found link https://pypi.python.org/packages/64/d7/94b423691e720d96ff34014b67f8dfb8ab7b434dfc338f8d178543c61932/pydocstyle-1.1.0.zip#md5=f52fa81219abb856deab9af0df270227 (from https://pypi.python.org/simple/pydocstyle/), version: 1.1.0
    Found link https://pypi.python.org/packages/b0/33/52e2fa5662fbb2a8bc9bdfe31327cd58c2f856b31851b73fc5baf86a2a14/pydocstyle-2.0.0.zip#md5=2be57712e2743d23949bafed957d8c86 (from https://pypi.python.org/simple/pydocstyle/), version: 2.0.0
    Found link https://pypi.python.org/packages/c1/08/14df5ee08a1bce1598de4e1cdedb7e55e09060971a7241d40d15a1d7a14a/pydocstyle-1.1.1.zip#md5=4e2c692743e34adcce507479c8e76ebb (from https://pypi.python.org/simple/pydocstyle/), version: 1.1.1
    Found link https://pypi.python.org/packages/c8/ae/3177fa31d3e97a47ddb7c5871c398c056d9f06a31b8d6792e71e4bbf81d5/pydocstyle-1.1.1-py2.py3-none-any.whl#md5=72c612755d05e9cb6eb05d4c3ed5182b (from https://pypi.python.org/simple/pydocstyle/), version: 1.1.1
    Found link https://pypi.python.org/packages/fe/e6/e6ed14c372bd1ed58a19ef20e8f83a4ebbd1ecdbc9818f063be38189a5f6/pydocstyle-1.0.0-py2.py3-none-any.whl#md5=5adf95b7d25a60f05e7f8d9e5fddfb8b (from https://pypi.python.org/simple/pydocstyle/), version: 1.0.0
  Using version 2.1.0 (newest of versions: 1.0.0, 1.1.0, 1.1.1, 2.0.0, 2.1.0)
  Looking up "https://pypi.python.org/packages/21/1d/2afb75448d496a1a53815a5e2edd5fc8828eff6730ae29ce18801d2d4077/pydocstyle-2.1.0-py2.py3-none-any.whl" in the cache
  Current age based on date: 913
  Freshness lifetime from max-age: 31557600
  The response is "fresh", returning cached response
  31557600 > 913
  Using cached pydocstyle-2.1.0-py2.py3-none-any.whl
  Downloading from URL https://pypi.python.org/packages/21/1d/2afb75448d496a1a53815a5e2edd5fc8828eff6730ae29ce18801d2d4077/pydocstyle-2.1.0-py2.py3-none-any.whl#md5=eeddf1eb4b069cb0a6ad8ff8c2cc07d9 (from https://pypi.python.org/simple/pydocstyle/)
Collecting snowballstemmer (from pydocstyle)
  1 location(s) to search for versions of snowballstemmer:
  * https://pypi.python.org/simple/snowballstemmer/
  Getting page https://pypi.python.org/simple/snowballstemmer/
  Looking up "https://pypi.python.org/simple/snowballstemmer/" in the cache
  Current age based on date: 195
  Freshness lifetime from max-age: 600
  Freshness lifetime from request max-age: 600
  The response is "fresh", returning cached response
  600 > 195
  Analyzing links from page https://pypi.python.org/simple/snowballstemmer/
    Found link https://pypi.python.org/packages/0d/ed/2df260c89f15385f7e84f0957196897a70d3313d26a03bf4fc6f463cd4f5/snowballstemmer-1.1.0.tar.gz#md5=95a4beecbc9e45837da577c2e124c309 (from https://pypi.python.org/simple/snowballstemmer/), version: 1.1.0
    Found link https://pypi.python.org/packages/20/6b/d2a7cb176d4d664d94a6debf52cd8dbae1f7203c8e42426daa077051d59c/snowballstemmer-1.2.1.tar.gz#md5=643b019667a708a922172e33a99bf2fa (from https://pypi.python.org/simple/snowballstemmer/), version: 1.2.1
    Found link https://pypi.python.org/packages/76/6a/ef9df987c70c64ee7fea28da8608179ad0f44f3aaa390b4868c3aa39fb41/snowballstemmer-1.0.0.tar.gz#md5=e100e0f0a77d47504e041657fa54c4df (from https://pypi.python.org/simple/snowballstemmer/), version: 1.0.0
    Found link https://pypi.python.org/packages/a7/06/cce759f87ac50d6c7adc77e26cd4cd247a3dd632de31cf0f761dddb73aef/snowballstemmer-0.1.0.tar.gz#md5=db0164d2bece6622c1243cf2a4504331 (from https://pypi.python.org/simple/snowballstemmer/), version: 0.1.0
    Found link https://pypi.python.org/packages/bb/48/50528f822b5335a2f8155f4773bd49241129a0832469c2195710831755da/snowballstemmer-1.2.0.tar.gz#md5=51f2ef829db8129dd0f2354f0b209970 (from https://pypi.python.org/simple/snowballstemmer/), version: 1.2.0
    Found link https://pypi.python.org/packages/d4/6c/8a935e2c7b54a37714656d753e4187ee0631988184ed50c0cf6476858566/snowballstemmer-1.2.1-py2.py3-none-any.whl#md5=198b60fa6a36d22c6c6f0b9304c6a40b (from https://pypi.python.org/simple/snowballstemmer/), version: 1.2.1
  Using version 1.2.1 (newest of versions: 0.1.0, 1.0.0, 1.1.0, 1.2.0, 1.2.1)
  Looking up "https://pypi.python.org/packages/d4/6c/8a935e2c7b54a37714656d753e4187ee0631988184ed50c0cf6476858566/snowballstemmer-1.2.1-py2.py3-none-any.whl" in the cache
  Current age based on date: 911
  Freshness lifetime from max-age: 31557600
  The response is "fresh", returning cached response
  31557600 > 911
  Using cached snowballstemmer-1.2.1-py2.py3-none-any.whl
  Downloading from URL https://pypi.python.org/packages/d4/6c/8a935e2c7b54a37714656d753e4187ee0631988184ed50c0cf6476858566/snowballstemmer-1.2.1-py2.py3-none-any.whl#md5=198b60fa6a36d22c6c6f0b9304c6a40b (from https://pypi.python.org/simple/snowballstemmer/)
Collecting six (from pydocstyle)
  1 location(s) to search for versions of six:
  * https://pypi.python.org/simple/six/
  Getting page https://pypi.python.org/simple/six/
  Looking up "https://pypi.python.org/simple/six/" in the cache
  Current age based on date: 195
  Freshness lifetime from max-age: 600
  Freshness lifetime from request max-age: 600
  The response is "fresh", returning cached response
  600 > 195
  Analyzing links from page https://pypi.python.org/simple/six/
  Found link https://pypi.python.org/packages/02/c3/8e2a38edaac777ee2bbe479b3a65b020ade549efd6a224c2f4e95c818799/six-1.6.0.tar.gz#md5=eb22a24e8be9497dd71930bf2321b6ec (from https://pypi.python.org/simple/six/), version: 1.6.0
    Found link https://pypi.python.org/packages/02/f8/d16f06e49b0d2ef40548bf42826f926c8964ad3b1d00f8098dcc6ef15aea/six-1.3.0.tar.gz#md5=ec47fe6070a8a64c802363d2c2b1e2ee (from https://pypi.python.org/simple/six/), version: 1.3.0
    Found link https://pypi.python.org/packages/0b/5e/4b3f417a85d9cd30b172a1512a2d3cdd0ffb05a5deacb8adf2ef30db100d/six-1.5.1.tar.gz#md5=bb00c982fc0ec0dd6a760500b0941fa9 (from https://pypi.python.org/simple/six/), version: 1.5.1
    Found link https://pypi.python.org/packages/0e/f9/66471f9b7e9291cca697b2e61a10645a537f389a9d5c0679d50dd86b20f7/six-0.9.0.tar.gz#md5=5ce2947347101b9f54674c19ef88233d (from https://pypi.python.org/simple/six/), version: 0.9.0
    Found link https://pypi.python.org/packages/0f/dd/379fa572b72da0b482545116139529af8da92e686ea136271beecddd4e81/six-1.5.0.tar.gz#md5=72b33ff89f3b2f21dd2cb28fb94f7031 (from https://pypi.python.org/simple/six/), version: 1.5.0
    Found link https://pypi.python.org/packages/10/e3/a7f8eea80a9fa8358c1cd89ef489bc03675e69e54ed2982cd6f2a28d8295/six-1.9.0-py2.py3-none-any.whl#md5=9ac7e129a80f72d6fc1f0216f6e9627b (from https://pypi.python.org/simple/six/), version: 1.9.0
    Found link https://pypi.python.org/packages/11/3f/2b3c217c5427cdd12619024b1ee1b04d49e27fde5c29df2a0b92c26677c2/six-1.8.0.tar.gz#md5=1626eb24cc889110c38f7e786ec69885 (from https://pypi.python.org/simple/six/), version: 1.8.0
    Found link https://pypi.python.org/packages/16/64/1dc5e5976b17466fd7d712e59cbe9fb1e18bec153109e5ba3ed6c9102f1a/six-1.9.0.tar.gz#md5=476881ef4012262dfc8adc645ee786c4 (from https://pypi.python.org/simple/six/), version: 1.9.0
    Found link https://pypi.python.org/packages/16/d8/bc6316cf98419719bd59c91742194c111b6f2e85abac88e496adefaf7afe/six-1.11.0.tar.gz#md5=d12789f9baf7e9fb2524c0c64f1773f8 (from https://pypi.python.org/simple/six/), version: 1.11.0
    Found link https://pypi.python.org/packages/1b/2a/ad686ae156581a70a7be28e7762f7d956bec30d62dafe9295b78dc019692/six-1.7.1.tar.gz#md5=f9fbad970c6e855cabde7ec1144b9058 (from https://pypi.python.org/simple/six/), version: 1.7.1
    Found link https://pypi.python.org/packages/1d/8e/220ce5a36dac3aabccee871a34561ceba82ce14b53760143cf5e01bb4d2c/six-1.5.2.tar.gz#md5=322b86d0c50a7d165c05600154cecc0a (from https://pypi.python.org/simple/six/), version: 1.5.2
    Found link https://pypi.python.org/packages/20/0a/617bf23511160454995bf1cbe6789f22beeb8b49c1f3b1bbf4b5cd6a55ca/six-1.7.0-py2.py3-none-any.whl#md5=e5ca7e89cc79d755ea128fc7e2cb136e (from https://pypi.python.org/simple/six/), version: 1.7.0
    Found link https://pypi.python.org/packages/2b/4a/233721f6c6afeed5a2034f617f120fa646da935039f08e67ab8dc008a3e6/six-1.7.3.tar.gz#md5=784c6e5541c3c4952de9c0a966a0a80b (from https://pypi.python.org/simple/six/), version: 1.7.3
    Found link https://pypi.python.org/packages/2e/a4/6dcb84af409b7bc0c258a0d6bd7e14231724d9a46b750c048f09d74d870c/six-1.7.3-py2.py3-none-any.whl#md5=5f34fe522765d398b21decdce62ebd1d (from https://pypi.python.org/simple/six/), version: 1.7.3
    Found link https://pypi.python.org/packages/4e/02/f08545a99829a04e841b6443267f216629c723c23fb9cfd17c99c068e33a/six-0.9.1.tar.gz#md5=1b249e0011355722f569406135a8ac93 (from https://pypi.python.org/simple/six/), version: 0.9.1
    Found link https://pypi.python.org/packages/4e/aa/73683ca0c4237891e33562e3f55bcaab972869959b97b397637519d92035/six-1.4.1.tar.gz#md5=bdbb9e12d3336c198695aa4cf3a61d62 (from https://pypi.python.org/simple/six/), version: 1.4.1
    Found link https://pypi.python.org/packages/54/45/8b5eef1ba0b79acbdab01435359f37ae13dc6c4aafaa444b805e3867386d/six-1.6.0-py2.py3-none-any.whl#md5=e2755cf8a1d8e4eda44a8e3436c458ca (from https://pypi.python.org/simple/six/), version: 1.6.0
    Found link https://pypi.python.org/packages/54/d4/8f7d631f1c3defa2ff4bd7c3daddcc5ed6eb9df7631f3cf24cc376aa3231/six-1.1.0.tar.gz#md5=9e8099b57cd27493a6988e9c9b313e23 (from https://pypi.python.org/simple/six/), version: 1.1.0
    Found link https://pypi.python.org/packages/60/84/72c628d5a4efffb23e2fb46cdbf8ee669046d8208ba5dab08f989b7bfe9c/six-1.5.1-py2.py3-none-any.whl#md5=2064b715201fa76a55dea75675ee19f2 (from https://pypi.python.org/simple/six/), version: 1.5.1
    Found link https://pypi.python.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl#md5=866ab722be6bdfed6830f3179af65468 (from https://pypi.python.org/simple/six/), version: 1.11.0
    Found link https://pypi.python.org/packages/6b/30/839b8059d1225dbd3a0dd97c3c370bbb978cde505e160b30515fb7be17d8/six-1.7.2-py2.py3-none-any.whl#md5=0e10f8d8e65257408e4428632859dad9 (from https://pypi.python.org/simple/six/), version: 1.7.2
    Found link https://pypi.python.org/packages/7e/16/792311d76b8e23da84e1b177fb973679de1c963391d0dcd7e963634bed4b/six-1.7.0.tar.gz#md5=92f7210da3db1e988979fa394aa41d7a (from https://pypi.python.org/simple/six/), version: 1.7.0
    Found link https://pypi.python.org/packages/8b/08/8f569ab2c81c1443ce43e29df2e7eec1ab7f005455f6c193793728b00f04/six-1.0b1.tar.gz#md5=cbfcc64af1f27162a6a6b5510e262c9d (from https://pypi.python.org/simple/six/), version: 1.0b1
    Found link https://pypi.python.org/packages/99/25/2df8760d6902620cfca85e36f07de491d14f2c325ecc01c1a5590d8af22d/six-1.4.0.tar.gz#md5=5fcab6a067b5ebf68ede2f4d02fe7547 (from https://pypi.python.org/simple/six/), version: 1.4.0
    Found link https://pypi.python.org/packages/a2/4b/2b4532b4eba116a02fc0b5e0b3540a073a61c003b7b6293b7b884afa8ff1/six-1.8.0-py2.py3-none-any.whl#md5=2f5f96148c68f3c1611f489678a8b445 (from https://pypi.python.org/simple/six/), version: 1.8.0
    Found link https://pypi.python.org/packages/a4/ed/a1410f4a3ae1492d87cbc7acdeea819db3caf6e526ef7032dd6fe50d2083/six-1.7.2.tar.gz#md5=4c26276583b01dfc73474cb32327af91 (from https://pypi.python.org/simple/six/), version: 1.7.2
    Found link https://pypi.python.org/packages/a6/af/4506a069312018665b8936e5d51b3aa013971ef65eab5231ef151a482dcd/six-1.0.0.tar.gz#md5=37c7ff036fdff2b1bb8d55e49ccb3b44 (from https://pypi.python.org/simple/six/), version: 1.0.0
    Found link https://pypi.python.org/packages/aa/ec/e6954e19e617c1b9860325f0995d456d8416c84a6cb9bce1c10998280b59/six-1.7.1-py2.py3-none-any.whl#md5=c3c1e251733acc9db947e75c9a02cf06 (from https://pypi.python.org/simple/six/), version: 1.7.1
    Found link https://pypi.python.org/packages/af/33/fa2097ac4bc7a9672517fdcb982bc7454fdd113f49f7ab353025b906a119/six-0.9.2.tar.gz#md5=92ea7c870396dd9222029a188c6bbd7f (from https://pypi.python.org/simple/six/), version: 0.9.2
    Found link https://pypi.python.org/packages/b3/b2/238e2590826bfdd113244a40d9d3eb26918bd798fc187e2360a8367068db/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55 (from https://pypi.python.org/simple/six/), version: 1.10.0
    Found link https://pypi.python.org/packages/ba/19/aa48edcff9d0c396a4d009d362d0a0a1ac3db6f9d7d5736e0175b94d7ef8/six-1.6.1-py2.py3-none-any.whl#md5=ca195cc2271b03ae1c8750a88081c7f1 (from https://pypi.python.org/simple/six/), version: 1.6.1
    Found link https://pypi.python.org/packages/c7/a4/35520d20a8e4b3c28c9db705fffd4c7053e0236928951da32167e5078faa/six-1.5.2-py2.py3-none-any.whl#md5=ba32222ad0c5c7057a7c42e66e81289d (from https://pypi.python.org/simple/six/), version: 1.5.2
    Found link https://pypi.python.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl#md5=3ab558cf5d4f7a72611d59a81a315dc8 (from https://pypi.python.org/simple/six/), version: 1.10.0
    Found link https://pypi.python.org/packages/ca/15/e62a66024dded9640f8d39112330e6b108e7ab21a1b8618c2d1e2eea7e1d/six-1.5.0-py2.py3-none-any.whl#md5=3307efe2bc4ca8556befc9afe297c530 (from https://pypi.python.org/simple/six/), version: 1.5.0
    Found link https://pypi.python.org/packages/e8/70/b9c441d8c02b70eb3bf923c49944b8fc656f78a43c084d2a98534d7404e2/six-1.6.1.tar.gz#md5=07d606ac08595d795bf926cc9985674f (from https://pypi.python.org/simple/six/), version: 1.6.1
    Found link https://pypi.python.org/packages/e9/b4/0ccbc17cd49a812ab8363058bb12f0134cf2d3ba752391f309ddf567ae97/six-1.2.0.tar.gz#md5=2a5d1afc79912832ac78fd38e3d75d7e (from https://pypi.python.org/simple/six/), version: 1.2.0
  Using version 1.11.0 (newest of versions: 0.9.0, 0.9.1, 0.9.2, 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.8.0, 1.9.0, 1.10.0, 1.11.0)
  Looking up "https://pypi.python.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl" in the cache
  Current age based on date: 277643
  Freshness lifetime from max-age: 31557600
  The response is "fresh", returning cached response
  31557600 > 277643
  Using cached six-1.11.0-py2.py3-none-any.whl
  Downloading from URL https://pypi.python.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl#md5=866ab722be6bdfed6830f3179af65468 (from https://pypi.python.org/simple/six/)
Installing collected packages: snowballstemmer, six, pydocstyle

  changing mode of mypath/temp/bin/pydocstyle to 755
Successfully installed pydocstyle-2.1.0 six-1.11.0 snowballstemmer-1.2.1
Cleaning up...

And pip freeze after installing:
pydocstyle==2.1.0
six==1.11.0
snowballstemmer==1.2.1

@Nurdok did you create the whl package on the right version? I have run it locally and I see  the configparser dependency in the metadata.json, but it is not there in the published version on pypi.
It would be nice if you can have a look to it quickly because it is blocking our continuos integration in many package (we need to install configparser manually on all our modules otherwise)

Hey guys, thanks for reporting this. I'll try to get to fix this ASAP.

@ntarocco what happened was that until this version, pydocstyle had a universal wheel, and I forgot to account for this change.

@tpazderka @ntarocco
I uploaded version 2.1.1 to PyPI that should fix this issue. Let me know if it works on your end. However, as a general note, I do recommend pinning down dependencies in CI builds to make the build deterministic and reproducible.


Number Munchers - Fails to boot

After the title screen loads, a crash into the monitor is heard. It does not seem possible to get back to the monitor prompt.
Need to trace with LA and see what it is trying to call.

Related to #43. Doing a quick fix allows Appleworks to work correctly.


Google Landmark Pretrained model

Hello,
Thank you for sharing the code of your interesting paper.
I have few question about the pretrained model on google landmark, which parameters did you use for the training ?
Does the model was pre trained on imagenet previously ? How long does it take and with which Hardware ?

Relevant issues:

See instructions to repro here: https://github.com/facebookresearch/dino#evaluation-image-retrieval-on-revisited-oxford-and-paris

https://github.com/facebookresearch/dino/issues/87#issuecomment-880862137

DINO has been working out of the box with the default parameters specified in this repo.

https://github.com/facebookresearch/dino/issues/43#issuecomment-843396233

Hi @Shiro-LK
Google Landmark DINO checkpoint is at https://dl.fbaipublicfiles.com/dino/dino_vitsmall16_googlelandmark_pretrain/dino_vitsmall16_googlelandmark_pretrain.pth
It was not pre-trained on ImageNet. I used the parameters from the boosting setting: https://github.com/facebookresearch/dino#boosting-dino-performance-t-rex
Hope that helps

@mathildecaron31  @woctezuma  Thanks you for your reply. It is very helpful.
Last question, what was the image size used for training ?
When I look at the note in the github repo, it proposes to use image size of 512 in the example for the image retrieval for Paris and 224 for Oxford. I thought transformers had a fixed image size. Which one should I use ?
Is it a typo ?

During dino pre-training we use 224x224 inputs (and 96x96 for the local crops).


Uncaught FileNotFoundError in subprocess.py line 1538

Aider version: 0.54.13.dev46+gf3cce954
Python version: 3.12.4
Platform: Windows-11-10.0.26120-SP0
Python implementation: CPython
Virtual environment: Yes
OS: Windows 11 (64bit)
Git version: git version 2.45.2.windows.1
An uncaught exception occurred:
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "__main__.py", line 7, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 694, in main
    coder.run()
  File "base_coder.py", line 730, in run
    self.run_one(user_message, preproc)
  File "base_coder.py", line 773, in run_one
    list(self.send_message(message))
  File "base_coder.py", line 1194, in send_message
    lint_errors = self.lint_edited(edited)
                  ^^^^^^^^^^^^^^^^^^^^^^^^
  File "base_coder.py", line 1288, in lint_edited
    errors = self.linter.lint(self.abs_root_path(fname))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "linter.py", line 95, in lint
    lintres = self.run_cmd(cmd, rel_fname, code)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "linter.py", line 46, in run_cmd
    process = subprocess.Popen(
              ^^^^^^^^^^^^^^^^^
  File "subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "subprocess.py", line 1538, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified

Thanks for trying aider and filing this issue.
The fix is available in the main branch. You can get it by installing the latest version from github:
aider --install-main-branch

# or...

python -m pip install --upgrade git+https://github.com/paul-gauthier/aider.git

If you have a chance to try it, let me know if it works better for you.


Hide years superior to max date in datepicker

Bug, feature request, or proposal:
Proposal, change the view years if a maxdate is set.
What is the expected behavior?
If i set the maxdate as today (in 2018) i don't expect to see 2019, 2020, 2021... in the years view.
What is the current behavior?
All the years are visible but 2019, 2020, 2021... are disabled.

What is the use-case or motivation for changing an existing behavior?
I set a max date to limit the possibilities, i'm not (and the user) interrested in years that i can't select.
The extreme is if i set 2016, i can choose only this one among 24 differents years...
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Latest
Is there anything else we should know?
I think the right disabled arrow if enough for understand that you can't go further in years.

I'd like to try working this, adding the feature if @josephperrott you agree it's a nice to have. Thoughts?  😄

I will defer to @mmalerba for if its something that he would like to have included in datepicker as he is the component owner.

I think it was originally done this way because the component responsible for rendering the cells didn't actually know what the min and max were. I believe it was refactored at some point and it should now be possible to do this.
@raygervais sure I would appreciate if you're willing to take a stab at it and send me a PR.

@raygervais : i think it's in the datepicker/multi-year-view.ts, in the init() function we need to change the let activeOffset = activeYear % yearsPerPage;.
Actually the years view is build like that :
2018 % 24 = 2 so 2018 - 2 = 2016,2017,2018...
2039 % 24 = 23 so 2039 - 23 = 2016,2017,2018...
For the new behavior, if maxDate is not null, activeOffset = yearsPerPage - 1.
What do you think ?
@mmalerba
From my point of view, this will end with four differents "years" view :

No min or max date => Actual behavior
Only the min date => activeOffset = 0
Only the max date => activeOffset = yearsPerPage - 1
Both min and max date =>  I propose activeOffset = yearsPerPage - 1 too. Because it's seems prettier to display disabled past date than disabled future date.

Or for the fourth item, we can make minDatehaving the same behavior but with impacts :

activeOffset < minDate < maxDate There will be only one page with less than 24 years.
minDate < activeOffset The first page of calendar will display less than 24 years too.

Thanks for the explanation @WizardPC, I'll get to that very soon. Apologies for the delay, just wrapping up loose ends during the final days of the school semester and preparing for a new job. If I got a WIP PR going, would you be able to guide if in the case I stray from the agreed upon logic?

@raygervais i'm not an expert but i can try :)

Hi guys, any update on this ?

Sorry for the delay, I intend to get back to it this weekend. Currently adjusting to new job / location and getting everything set up.

Hi, any update on this. It was updated almost a year ago

I had an intern who was working on it at one point, but it never got finished

@mmalerba can it be reassigned to someone? As it is, I believe its a really bad UX

I don't think anyone on the team has time to take it on right now, but if someone wants to contribute a PR I'll review it

I believe this website is using the angular material date picker and it seems like you can control the input.
https://my.questforhealth.com/mobile/info/contact-us
Anyone know what's a quick hack to enable this?

@mmalerba  Seems like currently there's no one working on a PR for this? May I give it a go?

@jysoo You're welcome to give it a go. Please also make sure that the keyboard shortcuts work in addition to looking right visually.


Add Observability feature for version 2.2.0

Description:
At the moment Observability feature[1] is available for versions 2.10, 2.5.0 and 2.6.0 except for 2.2.0. We have to enable this feature for version 2.2.0.
Affected Product Version:
APIM 2.2.0
[1]https://docs.wso2.com/display/AM260/Working+with+Observability

Available in latest wum of 2.2.0.


Support different/localized language/character/letter for organization/repository name

Git version:LATEST
Operating system:
WIN10
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No

Log gist:

Description
The current repository_name only supports English letters and hyphens. How can I change it to support Chinese characters？
Screenshots

I don't think it's necessary.

This is for non-technical personnel. I'm not familiar with this structure, and I want to know how many places I need to modify?
thanks a lot!

Maybe full name/nickname for repo will help. Some non-technical members in our team can never figure out the repo name.

In my opinion , it is absolutely necessary !

You can always add Description to repository

This comment contains more details (a general explanation)

https://github.com/go-gitea/gitea/issues/13943#issuecomment-939462599

It is arrogant to assume that the world is only in English.

The world is not just about English. Other languages should definitely be taken into consideration.

Closing as dupe of https://github.com/go-gitea/gitea/issues/13943#issuecomment-939462599 which we are limited by filesystem limitations. The git repos shouldn't be stored as reponame on disk, and should be shared due to possible issues with inodes, but as that is the case right now. There was a proposal PR to change this, but this should be tracked in the ticket that was related to (can't currently find it).


unbind select2 with event

Prerequisites

[ ] I have searched for similar issues in both open and closed tickets and cannot find a duplicate
[ ] The issue still exists against the latest master branch of Select2
[ ] This is not a usage question (Those should be directed to the community)
[ ] I have attempted to find the simplest possible steps to reproduce the issue
[ ] I have included a failing test as a pull request (Optional)

Steps to reproduce the issue

Expected behavior and actual behavior
When I follow those steps, I see...
I was expecting...
Environment
Browsers

[ ] Google Chrome
[ ] Mozilla Firefox
[ ] Internet Explorer

Operating System

[ ] Windows
[ ] Mac OS X
[ ] Linux
[ ] Mobile

Libraries

jQuery version:
Select2 version:

Isolating the problem

[ ] This bug happens on the examples page
[ ] The bug happens consistently across all tested browsers
[ ] This bug happens when using Select2 without other plugins
[ ] I can reproduce this bug in a jsbin

Here,How to unbind the select2 with the event.

var OperatorSelectBox = $(RecordPermission.recordPermissionDiv).find('[id="criteria['+index+'].operator"]');
OperatorSelectBox.off('select2:select');
I am able to off the event.


Release 2.0.0

Version 2.0.0
New features

Supports FlowConfig feature to receive data / forward results
Added new syntaxes: 'stringPack', 'stringUnpack', 'searchAndCut', 'dateTime', 'timestamp'
New feature to merge multiple parameters of different events and to provide them within a single event with multiple parameters (see 'setMergeData' and 'OnNewData_EXPRESSION')
New feature to provide the result of the expression criteria ('OnNewCriteriaResult_EXPRESSION')
Provide version of module via 'OnNewStatusModuleVersion'
Function 'getParameters' to provide PersistentData parameters
Check if features of module can be used on device and provide this via 'OnNewStatusModuleIsActive' event / 'getStatusModuleActive' function
Function to 'resetModule' to default setup

Improvements

extended 'addExpression' with attribute to set if it should only merge data
proper UI table selection
Improved behaviour for loading parameters (not needed to wait for other modules)
New UI design available (e.g. selectable via CSK_Module_PersistentData v4.1.0 or higher), see 'OnNewStatusCSKStyle'
'loadParameters' returns its success
'sendParameters' can control if sent data should be saved directly by CSK_Module_PersistentData
Added UI icon and browser tab information

Bugfix

Check if CROWN really provides XML content before trying to use it
UI table selection runs into error for some selections
Return value of 'OnNewResult_...' event was always 'bool' but needs to be 'auto'

Following tasks were checked

[x] Module is coded and structured according to the "Developing guideline for modules" described within the CSK documentation
[x] All functions/events/parameters are documented within the manifest documentation
[x] The manifest description of the main CROWN includes main information about the purpose of the module and how to use it in general
[x] API docu based on the manifest was created and stored within the "docu"-folder of the repository
[x] Internal LUA code documentation exists for variables and non served functions
[x] All relevant infos are logged via the SharedLogger 'ModuleLogger'
[x] Module supports persistent data feature based on 'CSK_Module_PersistentData'
[x] Module supports user management based on 'CSK_Module_UserManagement'
[x] No open "ToDos" within the code or at least clearly explained comments why they exist...
[x] "Version" key in app manifest was updated following semantic versioning (and use '0.x.y' for test / experimental modules which are not yet ready to be officially released)
[x] Meaningful IDs used for UI elements
[x] Module was tested on an AppSpace device (at least on SICK AppEngine) with no error message
[x] README.md is up to date (incl. info of device + firmware the module was tested with)
[x] CHANGELOG.md is up to date

Thx for the review so far!


My dataset

I want to use my own video dataset.
I make a text preprocessing but how can i make a video feature by using I3D networks?

Hello I'm a french student in computer science, I'm also trying to make a video feature by using I3D networks. I'm trying with https://github.com/dxli94/WLASL but I'm not sure about it.
Does anyone have any additional guidelines for extracting features with different segment sizes?
@LSJ1994  Have you found another solution?

We are planning to prepare a proper release of the feature extraction code. Please stay tuned.
For now, please refer to here for a less structured version of the pre-trained model and feature extraction code.

Thank you
Dongxu
Regards!
2021년 3월 4일 (목) 21:36, Dongxu<EMAIL_ADDRESS>작성:

We are planning to prepare a proper release of the feature extraction
code. Please stay tuned.
For now, please refer to here
https://drive.google.com/file/d/1qZoE_rAI2xEiEOwfq52X4UwFpLPbeEwe/view?usp=sharing
for a less structured version of the pre-trained model and feature
extraction code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/verashira/TSPNet/issues/7#issuecomment-790586960, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AMVU4RP7GYCRMVNY5WAMU6LTB55FNANCNFSM4XKJVJEQ
.

We are planning to prepare a proper release of the feature extraction code. Please stay tuned.
For now, please refer to here for a less structured version of the pre-trained model and feature extraction code.

Thank you very much!
I stay tuned :)

We are planning to prepare a proper release of the feature extraction code. Please stay tuned.
For now, please refer to here for a less structured version of the pre-trained model and feature extraction code.

Can you please provide the requirements file to run this code?
I am getting several errors while running this code.


Any Examples of using foremo in Angular?

please help!

Yes there is somewhere but I'll have to look. Have you searched the issues?

@kevinchappell thanks a lot for reply. yes i checked but only found in react. please take a look. will be a great help. I aspire to support the project too by code contribution.

@kevinchappell  any help kevin?

@kevinchappell @alchemist8848 +1


Add migration to correct net prices on reservations

🛠 Changelog

Migration re-calculates net prices for reservations due to mistake in calculation formula in the frontend

🧪 Test plan

Automated tests

🚧 Dependencies

Requires frontend to correct the used formula. (https://github.com/City-of-Helsinki/tilavarauspalvelu-ui/pull/1333)

🎫 Tickets

TILA-3463

/ff


Some maps have far away placed platform brushes

I've noticed that some maps spawn far away (bottom of map) platform brushes/entities like in the screenshots bellow. I will try to investigate why this is happening, but I figured I'd post it here if you might have an idea...

Those brushes may be func_plat, which I haven't written their functionality to yet well enough. I'll fix it if I have time.

Should be fixed by: https://github.com/gongpha/gdQmapbsp/pull/13/commits/907ac1cc3d4bf5c2de397c7ef4727d06429a383e


Views seem to stop working: 1.3.0-45

After my app has been running a minute or so I seems that I can no longer query views from the REST API.  They queries never return, or error. I've left it a while, and some are currently at hundreds seconds with no response.  The local database isn't very big, maybe 300 documents with some attachments - maybe 12MB in size.
Here's a log go the app.  Right at the end, the app is completely idle, its just waiting for some queries to return and it logs out any that its been waiting for for a while:
https://gist.githubusercontent.com/npomfret/7f7094d95cebd67108187c161b51f1c2/raw/9ea7abadade3c35440403c6deef9002ca3d67a7a/couchbase%2520java%2520log.txt

It seems 1.3.0-45 might cause dead-lock during queries.
I have a question and a request.

How many queries are concurrently sent?
Could you please take thread-dump with using Android Studio.

https://gist.github.com/npomfret/101dab44d0479c139ff6d1676208dbc2

Hi
Sorry, I don't think my issue is correct.  I think the deadlock is actually in my application.  I made a change due to the _changes feed not working as I expected (will raise a separate issue) and I think it's caused the problem.  Closing

I may have spoken too soon, it the db does seem to have locked up on me.  Here's the thread dump
https://gist.github.com/npomfret/8d42d1ce418a06bf5b4a25dc972c5362

I also saw this today:
07-31 15:23:31.760 21805-11531/com.pomochat I/Database: Db busy, retrying transaction (#1)...
07-31 15:23:33.929 21805-11531/com.pomochat I/Database: Db busy, retrying transaction (#2)...
07-31 15:23:36.099 21805-11531/com.pomochat I/Database: Db busy, retrying transaction (#3)...
07-31 15:23:38.269 21805-11531/com.pomochat I/Database: Db busy, retrying transaction (#4)...
07-31 15:23:40.439 21805-11531/com.pomochat I/Database: Db busy, retrying transaction (#5)...
07-31 15:23:42.609 21805-11531/com.pomochat I/Database: Db busy, retrying transaction (#6)...
07-31 15:23:44.783 21805-11531/com.pomochat I/Database: Db busy, retrying transaction (#7)...
07-31 15:23:46.949 21805-11531/com.pomochat I/Database: Db busy, retrying transaction (#8)...
07-31 15:23:49.119 21805-11531/com.pomochat I/Database: Db busy, retrying transaction (#9)...
07-31 15:23:51.289 21805-11531/com.pomochat I/Database: Db busy, retrying transaction (#10)...
07-31 15:23:53.458 21805-11531/com.pomochat E/Database: Db busy, too many retries, giving up
07-31 15:23:53.496 21805-11531/com.pomochat W/System.err: com.couchbase.lite.internal.database.sqlite.exception.SQLiteDatabaseLockedException: database is locked (code 5)
07-31 15:23:53.496 21805-11531/com.pomochat W/System.err:     at com.couchbase.lite.internal.database.sqlite.SQLiteConnection.nativeExecute(Native Method)
07-31 15:23:53.497 21805-11531/com.pomochat W/System.err:     at com.couchbase.lite.internal.database.sqlite.SQLiteConnection.execute(SQLiteConnection.java:486)
07-31 15:23:53.497 21805-11531/com.pomochat W/System.err:     at com.couchbase.lite.internal.database.sqlite.SQLiteSession.beginTransactionUnchecked(SQLiteSession.java:330)
07-31 15:23:53.498 21805-11531/com.pomochat W/System.err:     at com.couchbase.lite.internal.database.sqlite.SQLiteSession.beginTransaction(SQLiteSession.java:305)
07-31 15:23:53.498 21805-11531/com.pomochat W/System.err:     at com.couchbase.lite.internal.database.sqlite.SQLiteDatabase.beginTransaction(SQLiteDatabase.java:499)
07-31 15:23:53.499 21805-11531/com.pomochat W/System.err:     at com.couchbase.lite.internal.database.sqlite.SQLiteDatabase.beginTransaction(SQLiteDatabase.java:410)
07-31 15:23:53.499 21805-11531/com.pomochat W/System.err:     at com.couchbase.lite.storage.SQLiteStorageEngineBase.beginTransaction(SQLiteStorageEngineBase.java:150)
07-31 15:23:53.503 21805-11531/com.pomochat W/System.err:     at com.couchbase.lite.store.SQLiteStore.beginTransaction(SQLiteStore.java:2309)
07-31 15:23:53.503 21805-11531/com.pomochat W/System.err:     at com.couchbase.lite.store.SQLiteStore.open(SQLiteStore.java:235)
07-31 15:23:53.504 21805-11531/com.pomochat W/System.err:     at com.couchbase.lite.Database.open(Database.java:1251)
07-31 15:23:53.505 21805-11531/com.pomochat W/System.err:     at com.couchbase.lite.Database.open(Database.java:1185)
07-31 15:23:53.506 21805-11531/com.pomochat W/System.err:     at com.couchbase.lite.router.Router.openDB(Router.java:345)
07-31 15:23:53.506 21805-11531/com.pomochat W/System.err:     at com.couchbase.lite.router.Router.start(Router.java:474)
07-31 15:23:53.507 21805-11531/com.pomochat W/System.err:     at com.couchbase.lite.listener.LiteServlet.service(LiteServlet.java:141)

Hi @npomfret,
Thank you very much for last two comments. They are helpful.  From the thread-dump, one of connection is waiting for SQLite Connection in beginTransaction().
https://gist.github.com/npomfret/8d42d1ce418a06bf5b4a25dc972c5362#file-android-thread-dump-L82-L115. However it seems non of other threads is holding the SQLiteConnection. From LogCat message, it seems beginTransaction is waiting because of SQLite Busy (DBBUSY).
Can you build CBL Android by your self? If yes, can you change line 67 in SQLiteStore.java?
From:
private static final int kTransactionMaxRetries = 10;

To:
private static final int kTransactionMaxRetries = 24;

https://github.com/couchbase/couchbase-lite-java-core/blob/master/src/main/java/com/couchbase/lite/store/SQLiteStore.java#L67

ref: https://github.com/couchbase/couchbase-lite-android/issues/929

CBL iOS waits maximum 50sec total.
#define kSQLiteBusyTimeout 5.0 // seconds

#define kTransactionMaxRetries 10

I don't see kSQLiteBusyTimeout is used anywhere in iOS code.

iOS uses FMDB. It seems FMDB set 2sec for timeout.
_maxBusyRetryTimeInterval   = 2;

https://github.com/ccgus/fmdb/blob/master/src/fmdb/FMDatabase.m#L47

This is interesting:
https://github.com/ccgus/fmdb/blob/master/src/fmdb/FMDatabase.m#L248
Also this blog post talks about usleep:
http://beets.io/blog/sqlite-nightmare.html
I think we don't compile sqlite with usleep=1 so we should make changes to the build script. I don't think usleep is going to fix the issue but it might help a bit.

We need to review SQLite build option again.
SQLite build options that we are referencing:
https://github.com/android/platform_external_sqlite/blob/9e7798db1bf08daf62d97021a5cf1609ee3b81d3/dist/Android.mk
SQLite build options of marshmallow (Android 6.x):
https://github.com/android/platform_external_sqlite/blob/marshmallow-release/dist/Android.mk

PRs for potential fix by compatible build options of SQLite with Android.
https://github.com/couchbase/couchbase-lite-java-native/pull/51
https://github.com/couchbaselabs/couchbase-lite-libsqlcipher/pull/15

@pasin Once this is resolved, we should add a regression suite for this.

We applied fix to native libraries. It could fix this issue. So I will close this for now.
However, if the issue is still reproducible, please reopen the ticket?


Import error when following example

Top of my file:
from docquery import pipeline, document
When running this, I see the following error:
ImportError: cannot import name 'pipeline' from partially initialized module 'docquery' (most likely due to a circular import) (/Users/swaraj/sempre-repos/swaraj-sandbox/docquery.py)

rename u file - docquery.py . u have recursive imports.


No import DoubleClick from package

No import DoubleClick from package statement mentioned in ReadMe.md

Try this, after installation check if react-native-double-tap folder is visible under node nodules.
Then manual import it,
import DoubleClick from './../../../node_modules/react-native-double-tap';
change path based on your project path but I think that is the default path of node modules
This works for me - Windows


How do I use vcpkg with GNU Makefiles

There is no guide to using vcpkg with Makefiles only with CMake and Visual Studio but I wanted to use vcpkg with VSCode and GNU Makefile or NMake

I think you add the include folder to the include path and link the libs manually. I think nearly is using plain makefiles so that it is unlikely that there will be a guide, but you can create a PR that

I think you add the include folder to the include path and link the libs manually. I think nearly is using plain makefiles so that it is unlikely that there will be a guide, but you can create a PR that

How?

How do you normally add include paths? If you don't know that, I really suggest using cmake.

How do you normally add include paths? If you don't know that, I really suggest using cmake.

I fumble all over using cmake because when I put the default compiler like LLVM-mingw it uses MSVC anyway

Normally you simply pass the compiler to cmake in the configure step -DCMAKE_C_COMPILER=C:/.../clang -DCMAKE_CXX_COMPILER=C:/.../clang++

Normally you simply pass the compiler to cmake in the configure step -DCMAKE_C_COMPILER=C:/.../clang -DCMAKE_CXX_COMPILER=C:/.../clang++

ok I'll try here if there's any problem I'll send it here

We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.


Which blob's response - how to find?

part is a list apparently and it is serialized looks like.
for example when i do e.parts.,
for part in e.parts:
print (part.message_code)
I can see the status code, but i would also like to know for which blob, how to access this from the response?

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

ID: 760d993c-fa0e-5b21-4891-3426a57b2878
Version Independent ID: 1e96bed4-12db-7475-6b2a-380c1a93f881
Content: azure.storage.blob.PartialBatchErrorException class
Content Source: docs-ref-autogen/azure-storage-blob/azure.storage.blob.PartialBatchErrorException.yml
GitHub Login: @lmazuel
Microsoft Alias: lmazuel

Hi @vivekna
Thanks for reaching out.
the subresponses order is the same as the blob order you specified in request, You can map the sub-response to the corresponding blob using its index in the blob list.

Thanks for answering, but could u provide an example.. a bit difficult to understand.
THis is how im currently working : ( a very simplified version for understanding)
try:
result = container_client.delete_blobs(*blobs_list)
for item in result:
print(item.status_code)
except PartialBatchErrorException as e:
print(e.message)
print("-----------------------")
for part in e.parts:
if (part.status_code == 202):
print("Blob delete request was accepted.")
elif (part.status_code == 404):
print("Blob does not exist. Consider it deleted.")
I tried a part.id or part.blobName etc which did not exist.

Hi @vivekna
Sorry for the delay of the response!
Here's what you can do:
response = container.delete_blobs(
    'blob1',
    'blob2',
    'blob3',
    raise_on_any_failure=False
)
for part in response:
    blob_url = part.request.url

# then you can parse whatever you need

let me know if you need any info!


Replace JavaVersion with Runtime.Version

checkVersionFormat could be inlined maybe? Otherwise LGTM

I left it to highlight that it's checking the format and not interested in the result at that point


Update Plug.

Thank you for the contribution. It was merged directly as 8b53520bc896ba4d8d3372d97fef7338aabe3ae9 to keep commit history cleaner. Your contribution is still credited to you.


deepforge cli

it would be nice to be able to install deepforge using npm and interact w/ it like:
deepforge start worker
deepforge install torch
deepforge update
deepforge restart

The start, restart, stop, etc commands should be running deepforge as a daemon (probably using forever-monitor

Hmmm... The cli should probably:

manage the deepforge server (running as a daemon)

start
stop
restart

manage deepforge workers

start worker
stop worker

assist w/ installation and updates

install torch
update

Also, start mongo (which will automatically set the dbpath correctly)

The api is slightly different than discussed here. Rather than creating a daemon that is run in the background (like the "forever" cli tool), this will keep the spawned process running in the foreground. This means that commands like stop and restart are no longer relevant. That being said, the current cli commands are:
deepforge start
deepforge update
deepforge uninstall
deepforge config


The 'x' to remove a single selection is not working with font awesome 5

Im sure this has to do with the new fa icons not be directly clickable anymore. You may already be aware of this issue.

fixed. available in v2.9.0


Add support for more patchwork providers!

The following websites provide different set of patchwork projects:

https://patchwork.kernel.org
https://patchwork.ozlabs.org
https://patches.linaro.org

It would be better to support multiple patchwork providers!

Being in the same boat as all of you, this should now be resolved with #2 😃

Being in the same boat as all of you, this should now be resolved with #2 😃

I am very appraciated for this update that solved the problem. by the way, adding a Patchwork providers ComboBox in the FILTER column would be more convenience, just like the In project selection. Looking forward to more new features!

The https://patchwork.ozlabs.org/ stopped working for me several months ago, while the kernel still works.
Can someone confirm whether it works for you?


When did the styling of the info window change?

All of a sudden all of my info windows look very strange.
After checking the website/docs I found this:

I have excatly the same problem. The close icon looks very off to me.
Since when and why is that?
How can i fix it or remove it in general?

This is coming from upstream and seems to be intended to improve accessibility. See:
https://issuetracker.google.com/issues/343347275#comment4


AHALogoMarkWhite warning

Even when using the latest repository state with the white logo mark commit, I still get this warning in the logs:
Could not load the "AHALogoMarkWhite" image referenced from a nib in the bundle with identifier "com.allihoopa.allihoopa-sdk"

Should be resolved in the 1.2.0 release.


probe-run missing permissions on m1 Mac.

After following https://github.com/rp-rs/rp2040-project-template
the project fails to run, on 2 different pico models and a waveshare rp2040-plus and several different cables. The RP2040 shows up in the finder, so it is a data cable.
No documentation or issues that I can find on mac, only linux and windows.
probe-run --list-probes
Error: no probe was found.

Common reasons for this are faulty cables or missing permissions.
For detailed instructions, visit: https://github.com/knurling-rs/probe-run/tree/2f138c3#troubleshooting

Running probe-run --chip RP2040 --list-probes also results in the same issue.
Note: the instructions on the linked repo  for elf2uf2-rs do work, but the instructions for cargo-embed do not because it relies on probe-run as well...

Which debug probe are you using?
Quoting from the rp2040-project-template README:
If you aren't using a debugger, check out [alternative runners](https://github.com/knurling-rs/probe-run/issues/355#alternative-runners) for other options

Note that there is a difference between loading the flash through the RP2040 ROM bootloader in USB Mass Storage Device mode (which is what elf2uf2-rs uses), and using a debugger to program Flash and control the CPU core via the SWD/SWCLK pins (which probe-run requires).
It is possible to get the RP2040 to appear as its own USB debugger - the debugger code runs on one core and you get to program the other. I haven't tried that approach though and there are plenty of reasons why it might not work so I would always recommend a hardware debugger.

Yup my bad, didn't see the debugger part.


Fix Quickstart references that was 404-ing

Purpose
Fixed a broken link in the references section.

...

Pull Request Type
What kind of change does this Pull Request introduce?

[] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Documentation content changes
[ ] Other... Please describe:

Thanks @Jtango18!


Support xcresulttool from Xcode 16

When using Xcode 16 the commands xcresulttool get and xcresulttool export require new parameter --legacy to be set.
We add the --legacy parameter only for Xcode 16 and we will see what will happen with Xcode 17.
Fixes #5

Thanks for forking this repo and fixing things. Do you plan on merging it back into kishikawakatsumi's ?
I can't create a new issue on this repo.. so forgive me for commenting my issue here.
When using this config:
      - name: Test
        run: |
          xcodebuild test-without-building \
            -sdk iphoneos \
            -scheme MyScheme \
            -workspace MyScheme.xcworkspace \
            -destination "platform=iOS Simulator,name=iPad Air 11-inch (M2),OS=18.1" \
            -resultBundlePath TestResults.xcresult
      - uses<EMAIL_ADDRESS>        with:
          path: TestResults.xcresult
        if: success() || failure()

I get this log:
Run<EMAIL_ADDRESS>Creating artifact Xcode test results (TestResults.xcresult)
Uploading artifact Xcode test results (TestResults.xcresult)
Artifact name is valid!
Root directory input is valid!
Beginning upload of artifact content to blob storage
Uploaded bytes 8388608
Uploaded bytes [16](https://github.com/<REDACTED>/pull/4/checks#step:9:17)777216
Uploaded bytes 25165824
Uploaded bytes 33554432
Uploaded bytes 41943040
Uploaded bytes 50331648
Uploaded bytes 53585077
Finished uploading artifact content to blob storage!
SHA256 hash of uploaded artifact zip is 6c8f92d98e8f10526f8632598cfca5dc0928a66ad53fbc4639e2be93596a5e1e
Finalizing artifact upload
Artifact Xcode test results (TestResults.xcresult).zip successfully finalized. Artifact ID 22686[20](https://github.com/<REDACTED>/pull/4/checks#step:9:21)691

But this output:


Install system-upgrade-controller

https://rancher.com/docs/k3s/latest/en/upgrades/automated/

This is done.
The OS plan has been tested and it does a successful rolling update and reboot.
The k3s plan will be tested the next time there's a new k3s release.

This is done.
The OS plan has been tested and it does a successful rolling update and reboot.
The k3s plan will be tested the next time there's a new k3s release.


Invalid chart package breaks search functionality

Hi,
I am running into some issues with the local cache:
Let's say I want to install Redis, so I search for it.
$ helm search redis
kubernetes-charts/redis-2.0.0.tgz

I fetch it
helm fetch kubernetes-charts/redis-2.0.0.tgz
migmartri ~/.helm/repository/cache $ ls
kubernetes-charts-index.yaml  local-index.yaml  redis-2.0.0.tgz

Then I try searching again and the command will return the error.
$ helm search redis
Error: index /home/migmartri/.helm/repository/cache/redis-2.0.0.tgz corrupted: yaml: control characters are not allowed

It seems that the problem is related to the package to be invalid or not compatible with the new chart spec.
cat redis/Chart.yaml
name: redis
description: Port of the replicatedservice template from kubernetes/charts
version: 2.0.0
home: ""
expander:
  name: foobar-service
  entrypoint: templates/redis.jinja

I know that the official repository has (or will have) validation tests before publishing a package so this might not be a problem in that case, but this might not be true for 3rd party repository providers, in that case, if one of those parties upload a corrupted/invalid package it might break the client code.
I am wondering if we should make the search functionality more robust and ignore non valid artifacts existing in the cache. Or create some kind of format validation at the time of fetching the package.
Thoughts?
Miguel.

Hey @migmartri - the cache directory should only contain index files not an actual copy of the chart. We don't have a concept of a workspace, so you can fetch and work on charts anywhere (except $HELM_HOME since that is just for config setup).
Did you fetch the chart into your cache directory or did you move it there or was it just there after you fetched?
Thanks!

@michelleN good point, you are right, the problem is that I was fetching the chart inside the cache directory, for some reason I still have helm classic mindset. My bad, I am sorry :(
Feel free to close the issue and mark it as invalid since the problem is not related to the chart format.
Thanks,
Miguel

No worries @migmartri . That makes total sense!
It's good to see and note the change in mindset from helm-classic to kubernetes/helm. We have a line about not having a dedicated workspace anymore in the README but if you see another place we can make that more clear, feel free to add.


add JSON serialization example for Kotlin

Add a contrived example of using the Kotlin Serialization plugin to encode and decode JSON data.

Note: I pushed pants.toml directly to main as the initial commit. Probably worth reviewing pants.toml as well despite it not being in this PR.

CI failure:
  ClasspathRootOnlyWasInner: The following targets had dependees, but can only be used as roots in a build graph:
  * src/jvm/org/pantsbuild/example/json/JsonExample.kt	(kotlin_source)

https://github.com/pantsbuild/example-kotlin/runs/6438158675?check_suite_focus=true#step:6:11
@stuhood / @chrisjrn:  Thoughts on this failure? kotlin_source is not marked as root only. Only deploy_jar is marked with root_only=True.

CI failure:
  ClasspathRootOnlyWasInner: The following targets had dependees, but can only be used as roots in a build graph:
  * src/jvm/org/pantsbuild/example/json/JsonExample.kt	(kotlin_source)

https://github.com/pantsbuild/example-kotlin/runs/6438158675?check_suite_focus=true#step:6:11
@stuhood / @chrisjrn: Thoughts on this failure? kotlin_source is not marked as root only. Only deploy_jar is marked with root_only=True. (Technically the ClasspathEntryRequest being marked.)

Bug...
It looks like this code is looking at a loop variable: https://github.com/pantsbuild/pants/blob/43a3ab258f36e74a84ea2b2091c5a374259677d4/src/python/pants/jvm/compile.py#L121-L125

Good eyes!

https://github.com/pantsbuild/pants/pull/15494 appears to fix the issue.


Replace tblink

Description
Swapping tblinks to direct links to the site, when possible it is better to do this so people get to the petition faster!
Type of change

[x] Updated content (New CTA, updated wording, etc.)

Misc Notes

Not sure why the automated action added white-space changes 🤷

The reaon TBlink is used so we don't have to explicitly hardcode links, which may change in the future or are generally out of our control. They also allow for easier sharing across social media. I personally would not approve this for the time being because I don't see the point.

In this particular situation (where we're linking to the petition) I don't really see it being moved, since that would be bad for MSF. I think the reason Matt would prefer to use direct links instead of redirects when we hyperlink is to have as smooth a process to the end site as possible, to increase user retention. We do something similar in other places (like the templates document link, which could also be linked to with tbfighter.link/templates).
If it was moved wouldn't it be just as easy to change on the site as changing the redirect? Obviously the redirect is used in other places like graphics and social media, so it is useful, just not sure this is its best use case.

Hmm... yeah, in this particular case it's probably safe to directly link, but generally we should prefer TBlink links over links to dynamic content as it means we can adapt and change links as necessary after creation.


code

Thank you for your excellent work, when will you release the training code?

Thank you for your excellent work, when will you release the training code?

Thanks for your attention. I will release the code in the next few weeks.

Sorry for the late response. I have released the code and data now. Please check the repository. If you have any questions, feel free to let me know by creating a new issue. I will close this issue.


Feat 716 mongoose

:tada: This PR is included in version 5.35.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


TNB Account Manager (Mac) - Apple cannot check it for malicious software

Bug Description
“TNB Account Manager” can’t be opened because Apple cannot check it for malicious software.
Steps to Reproduce
Steps to reproduce the behavior:

Install the dmg from thenewboston website
Open the app
See permission error

Expected behavior
Open the app
Actual behavior
Apple doesn't want to open the app because it cannot check it for malicious software
Screenshots/Recordings

OS and Browser

OS: macOS Catalina 10.15.3
Browser: Chrome

Additional context
Laptop Specs
MacBook Pro (13-inch, Mid 2012)
2.5 GHz Dual-Core Intel Core i5
8 GB 1600 MHz DDR3
Intel HD Graphics 4000 1536 MB
Account Number
e483f8366c1c760ba384225bc19e44c63e012f8149a181a9a0f3e34ac5c336e3

I'm on a MacBook Air 13-inch 2017, Catalina 10.15.7, and I was able to download it

As far as I know this is a normal behavior, apple checks for all apps that are not downloaded from the AppStore and warn users that they could harm them. To open the app you should just click "Show in Finder" and you will be taken to the application icon where you can click Right Click -> Open and you will be presented with a new choice where you can select Cancel / Open. When you click open, you'll never see this message again.
I am not sure if anything can be done from our side to avoid the issue.

Actually, I was wrong, there is a way to fix this. I did a little bit of research and I found this medium article which explains what's happening and a way to fix it.
I don't have the time to dig deeper into the issue at the moment, but if no one picks it up, I will come back to it when I can.

@3mrdev i have updated the electron-builder.json so that it could work pls use this attached file. Pls try this as i don't have a mac to generate the release but just add this few lines in it. Hope it works!!

As far as I know this is a normal behavior, apple checks for all apps that are not downloaded from the AppStore and warn users that they could harm them. To open the app you should just click "Show in Finder" and you will be taken to the application icon where you can click Right Click -> Open and you will be presented with a new choice where you can select Cancel / Open. When you click open, you'll never see this message again.
I am not sure if anything can be done from our side to avoid the issue.

Yes ... You can't open it this way

@3mrdev i have updated the electron-builder.json so that it could work pls use this pic. Pls try this as i don't have a mac to generate the release but just add this few lines in it. Hope it works!!

Actually i am not an electron developer but i will try it if i had the time .. Maybe someone else will come and try your json file

I confronted the same problem clicked Ok, then control+mouse click, and select open, and voila! it is working

If you forget which button to hold onto while trying to open it, a user can also secondary click TNB Account Manager -> click "Open" and the option to open the application will work as well. This is just MacOS security feature called Gatekeeper hard at work.
Recorded a screencap of regular double-clicking vs secondary clicking

So in order for this app to open up without it coming from the App Store and without needing to do any special actions to open it (holding a key while clicking, secondary click, etc) you would need to get the App "Notarized" through their developer process. After reading a few articles, it seems like it is an automated process mostly but I am guessing this would required a developer's license to do it.
Here is the Apple Developer's article I found on it that walks you through how to setup the App in xcode for being notarized before distribution.
https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution
Hope it helps! ;)

yes this is normal Mac behavior, its always happens with apps not downloaded from the App Store. Try again and open the TNB Account Manager APP, it will not open > go to system preferences > Security & Privacy , and there will be a message asking if you want to open anyway.

@DOHtero , yes, I think you are correct. We'll try to look into it as soon as possible.

I confronted the same problem clicked Ok, then control+mouse click, and select open, and voila! it is working

you are a prophet. thanks 👍

reopening this issue, as it has not been fixed

reopening this issue, as it has not been fixed


Launching mocha with package.json in sub folder doesn't work though 'cwd' option is set

VSCode Version: 1.42.1
OS Version: OSX 10.15.3

Steps to Reproduce:

Have a nodejs folder in your workspaceFolder with package.json and node_modules in it.
Create a launch.json file in the workspaceFolder with the following content:

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "Mocha Tests",
      "cwd": "${workspaceFolder}/nodejs/",
      "program": "${workspaceFolder}/nodejs/node_modules/mocha/bin/_mocha",
      "args": [
        "-u",
        "tdd",
        "--timeout",
        "999999",
        "--colors",
        "${workspaceFolder}/nodejs/**/*.test.js"
      ],
      "internalConsoleOptions": "openOnSessionStart",
      "skipFiles": [
        "<node_internals>/**"
      ]
    }
  ]
}

and try to run this target. The result is an execption with the message Error: Cannot find module 'assume'. Actually, the module is installed in node_modules, but cannot be found because of the subfolder.
Changing to the nodejs folder in a terminal window and running npm test works correctly.

I'm not able to repro this. Here's my setup.

Outer folder containing nested and the .vscode launch config.
A file nested/x/y.test.js containing console.log(require('assume'));
The launch config:

    {
      "type": "node",
      "request": "launch",
      "name": "Mocha Tests",
      "cwd": "${workspaceFolder}/nested/",
      "program": "${workspaceFolder}/nested/node_modules/mocha/bin/_mocha",
      "args": [
        "-u",
        "tdd",
        "--timeout",
        "999999",
        "--colors",
        "${workspaceFolder}/nested/**/*.test.js"
      ],
      "internalConsoleOptions": "openOnSessionStart",
      "skipFiles": [
        "<node_internals>/**"
      ]
    }

Running that outputs

function Assume(value, flags) { … }
  0 passing (0ms)

You're right. The problem was not, as I expected, that VSCode has a problem with the working directory. Instead, my search pattern for test files matched these in node_modules as well. And some of these referenced other modules, which are not installed when only used as dependency.
I changed the pattern and then only had to solve the problem, that the -u tdd doesn't work as expected described here to made my tests run successfully.
Thanks!


Can we get a new npm release for react 0.14.0?

Currently getting a
npm ERR! peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>|| ^0.14.0-rc1

I will make one today!

Done!


Possibility of loading or disabling the buttons

Hi, I'm using the component in a project so I'm going to open some issues/feature requests, if it makes sense for the project, I'd be happy to have these features.
The first one is the possibility of disabling the DONE button or putting the wizard in loading mode, because usually at the end of the form an api call is made to save the data...

Thank you very much for your ideas. I definitely want to include it in the project. Right now I spend most of my time on primeVue enhancements, but I'll make improvements as soon as possible. I think loading has a medium, but disable button has high priority.

Hi, amazing component BTW, I'm currently using this component and would like to suggest the the possibility to no mark as checked the tabs that are not visited, for example, If i go from tab-0 to tab-4, tab-1, 2, 3 are marked as checked even though I haven't even visited them, thanks!


Install software on participants' laptops

Please install the following software on your laptop:
macOS

Homebrew
RStudio brew cask install r rstudio
IGV brew cask install igv

Linux

Linuxbrew
R sudo apt-get install r-base or brew install homebrew/science/r
RStudio
IGV brew install homebrew/science/igv

Windows (all versions)

R
RStudio
Github Desktop
IGV

Windows 10

Windows Subsystem for Linux
Linuxbrew

Windows < 10

Docker for Windows
Git for Windows

Are there any:

specific R packages to install?
large data files (fastq, bam) to download?

R packages: tidyverse and rmarkdown
Large data files: hopefully you won't need the large data files on your laptop. We'll be using the BCGSC ORCA machines for the big data computation. We'll then copy smaller tab-separated-values (TSV) files to our laptops for analysis in R.
If you wanted to download the raw sequencing data for fun, there's three data sets here:
https://github.com/hackseq/2017_project_6/blob/master/Makefile#L65-L78

The complete BAM file for one of these individuals is here, but it's 106 GB. We'll be using a subset of it:
ftp://ftp-trace.ncbi.nlm.nih.gov/giab/ftp/data/AshkenazimTrio/analysis/10XGenomics_ChromiumGenome_LongRanger2.1_09302016/NA24143_GRCh38/NA24143_GRCh38_phased_possorted_bam.bam

Subsetting chromium data is tricky. If we randomly subset, we will dilute the already low sub 1x coverage, and if we subset by aligning (to chr21, for example), we will unfairly make the multi-index problem much less of an issue (it will look like each BX tag is unique to a molecule).
I wonder if we could find a smaller 10x dataset?
Perhaps we should explore simulating data with LRSIM?

The plan is to use a single lane of data, which is roughly 2x read depth on the genome.
Our tool will further subsample by barcode, decimating the barcodes by roughly 1/1000.


Paste in textbox throw NullRef and exit on mac

When I copy some text and then past it in textbox, my app immediately crash.
I don't have a mac myself so a can't do a repro.
I use AvaloniaUI beta 1

Wow, thx


[BUG] - Searching MaterialsProject with provider id results in error

Bug description
I tried to search the MaterialsProject DB with a provider ID and the search fails with the following error:

For developers (do not alter this section)

Log dump
...
[ERROR 08:53:54 utils.py:503] Errored response:
{
"meta": {
  "query": {
    "representation": "/structures?filter=%28+id%3Dmp-19017+%29+AND+%28+NOT+structure_features+HAS+ANY+%22assemblies%22+%29&response_format=json&page_limit=10&page_offset=0&page_number=1"
  },
  "api_version": "1.0.0",
  "more_data_available": false,
  "time_stamp": "2020-11-05T08:53:54Z",
  "data_returned": 0,
  "provider": {
    "name": "The Materials Project",
    "description": "The Materials Project OPTIMADE endpoint",
    "prefix": "mp",
    "homepage": "https://materialsproject.org"
  },
  "data_available": 0,
  "implementation": {
    "name": "OPTIMADE Python Tools",
    "version": "0.12.1",
    "homepage": null,
    "source_url": "https://github.com/Materials-Consortia/optimade-python-tools",
    "maintainer": {
      "email"<EMAIL_ADDRESS>    }
  },
  "_mp_traceback": "Traceback (most recent call last):\n  File \"/root/.local/lib/python3.9/site-packages/starlette/middleware/errors.py\", line 159, in __call__\n    await self.app(scope, receive, _send)\n  File \"/root/.local/lib/python3.9/site-packages/starlette/middleware/base.py\", line 25, in __call__\n    response = await self.dispatch_func(request, self.call_next)\n  File \"/root/.local/lib/python3.9/site-packages/optimade/server/middleware.py\", line 424, in dispatch\n    response = await call_next(request)\n  File \"/root/.local/lib/python3.9/site-packages/starlette/middleware/base.py\", line 45, in call_next\n    task.result()\n  File \"/root/.local/lib/python3.9/site-packages/starlette/middleware/base.py\", line 38, in coro\n    await self.app(scope, receive, send)\n  File \"/root/.local/lib/python3.9/site-packages/starlette/middleware/base.py\", line 25, in __call__\n    response = await self.dispatch_func(request, self.call_next)\n  File \"/root/.local/lib/python3.9/site-packages/optimade/server/middleware.py\", line 273, in dispatch\n    response = await call_next(request)\n  File \"/root/.local/lib/python3.9/site-packages/starlette/middleware/base.py\", line 45, in call_next\n    task.result()\n  File \"/root/.local/lib/python3.9/site-packages/starlette/middleware/base.py\", line 38, in coro\n    await self.app(scope, receive, send)\n  File \"/root/.local/lib/python3.9/site-packages/starlette/middleware/base.py\", line 25, in __call__\n    response = await self.dispatch_func(request, self.call_next)\n  File \"/root/.local/lib/python3.9/site-packages/optimade/server/middleware.py\", line 112, in dispatch\n    response = await call_next(request)\n  File \"/root/.local/lib/python3.9/site-packages/starlette/middleware/base.py\", line 45, in call_next\n    task.result()\n  File \"/root/.local/lib/python3.9/site-packages/starlette/middleware/base.py\", line 38, in coro\n    await self.app(scope, receive, send)\n  File \"/root/.local/lib/python3.9/site-packages/starlette/middleware/base.py\", line 25, in __call__\n    response = await self.dispatch_func(request, self.call_next)\n  File \"/root/.local/lib/python3.9/site-packages/optimade/server/middleware.py\", line 74, in dispatch\n    response = await call_next(request)\n  File \"/root/.local/lib/python3.9/site-packages/starlette/middleware/base.py\", line 45, in call_next\n    task.result()\n  File \"/root/.local/lib/python3.9/site-packages/starlette/middleware/base.py\", line 38, in coro\n    await self.app(scope, receive, send)\n  File \"/root/.local/lib/python3.9/site-packages/starlette/middleware/cors.py\", line 78, in __call__\n    await self.app(scope, receive, send)\n  File \"/root/.local/lib/python3.9/site-packages/starlette/exceptions.py\", line 82, in __call__\n    raise exc from None\n  File \"/root/.local/lib/python3.9/site-packages/starlette/exceptions.py\", line 71, in __call__\n    await self.app(scope, receive, sender)\n  File \"/root/.local/lib/python3.9/site-packages/starlette/routing.py\", line 566, in __call__\n    await route.handle(scope, receive, send)\n  File \"/root/.local/lib/python3.9/site-packages/starlette/routing.py\", line 227, in handle\n    await self.app(scope, receive, send)\n  File \"/root/.local/lib/python3.9/site-packages/starlette/routing.py\", line 41, in app\n    response = await func(request)\n  File \"/root/.local/lib/python3.9/site-packages/fastapi/routing.py\", line 182, in app\n    raw_response = await run_endpoint_function(\n  File \"/root/.local/lib/python3.9/site-packages/fastapi/routing.py\", line 135, in run_endpoint_function\n    return await run_in_threadpool(dependant.call, **values)\n  File \"/root/.local/lib/python3.9/site-packages/starlette/concurrency.py\", line 34, in run_in_threadpool\n    return await loop.run_in_executor(None, func, *args)\n  File \"/usr/local/lib/python3.9/concurrent/futures/thread.py\", line 52, in run\n    result = self.fn(*self.args, **self.kwargs)\n  File \"/root/.local/lib/python3.9/site-packages/optimade/server/routers/structures.py\", line 34, in get_structures\n    return get_entries(\n  File \"/root/.local/lib/python3.9/site-packages/optimade/server/routers/utils.py\", line 196, in get_entries\n    results, data_returned, more_data_available, fields = collection.find(params)\n  File \"/root/.local/lib/python3.9/site-packages/optimade/server/entry_collections/mongo.py\", line 108, in find\n    criteria = self.handle_query_params(params)\n  File \"/root/.local/lib/python3.9/site-packages/optimade/server/entry_collections/entry_collections.py\", line 150, in handle_query_params\n    tree = self.parser.parse(params.filter)\n  File \"/root/.local/lib/python3.9/site-packages/optimade/filterparser/lark_parser.py\", line 49, in parse\n    raise ParserError(e)\noptimade.filterparser.lark_parser.ParserError: No terminal defined for '-' at line 1 ...

Duplicate of #182


Representation doesn't allow the passing of parameters to individual_cls

If using a subclass of Individual that has parameters, they cannot be overridden when created using a Representation.

Is there a particular scenario/usage where this has posed a problem recently?

Since pytorch is primarily used for deep learning, I gave a hand at memetic algorithms with my extra library using deep learning as the local search. In memetic algorithms there are Baldwinian and Lamarckian variants, where in Lamarckian the genome is replaced with the one found after local search while the Baldwinian is not. Since the two both have benefits, and I was using a real valued genome, I parameterized this with an alpha value that controlled how much of the change due to the local search was applied back to the base genome.
In any case, since the genome has to be updated after every fitness evaluation, I subclassed Individual to do the necessary operations in .evaluate(). But I can't change the alpha parameter on the fly with the base Representation, only change it manually in code. I could use an operator, but the expectation is it must occur every fitness evaluation.

Looking through the code, I'm reconsidering my approach. While I think the ability to pass parameters through a Representation to a subsequent Individual would be useful, the modification would require propagating changes through much of the core code of both Representation and Individual. I am hesitant to make changes where it can affect so much of LEAP's functionality.

That sounds like a really cool project!  I've done quite a bit of lit review & hacking around Baldwinian vs. Lamarckian methods, but never thought of having a parameter that tunes a balance between the two!
You're right that it seems that Individual would be the place to handle that—since that's where fitness evaluations & the genome you aim to modify come together.  The individual_cls mechanism always struck me as a bit smelly anyway.
Is there a way we could make Individual an object you initialize and pass in to an algorithm, rather than a class that the algorithm instantiates instances of?  Or perhaps have a new type of object called IndividualFactory?

Or perhaps have a new type of object called IndividualFactory?

Oddly enough, when I discussed this with Luke earlier I observed that initializers are a kind of factory function, and that we could explore maybe parameterizing that in some way.

Actually, I think it would reduce boilerplate since we could then drop init_pop_size too.

@lukepmccombs: I think this is a good proposal.
(Thinking through the cons.) Having the initializer be part of the Representation and arguments of the metaheuristic functions (ex. generational_ea) allows us to think of the latter as a whole, self-contained "algorithm"—but you're right that splitting it into two steps (initialize your population, then pass it to a metaheuristic function) does not increase the amount of boilerplate code involved.  Having it part of Representation also would make it possible to have an algorithm object that can be called multiple times to produce end-to-end independent runs—but we are not using them that way.
Especially now that we've changed generational_ea & friends to return the final population as its output, making the initial population an input makes a great deal of sense, IMO.

I've found another problem point with subclassing Individual to  be parameterized. The clone method creates the copy by re-initializing the class using the parameters of the base Individual. If I'm understanding the intentions of what should and should not be copied, I think a copy of self with the genome deepcopyed separately would achieve the same effect with more reusability.

Just a quick note, @SigmaX and I are going to continue this discussion when the three of us can be in a meeting.


azure --version still reports old version after upgrade using apt-get

This is autogenerated. Please review and update as needed.
Describe the bug
I upgraded to the latest version of azure-cli in Ubuntu, but typing in az --version still shows an older version installed.
I then realized that running az from WSL is actually executing az for Windows.
running this command:
sudo apt-get install azure-cli

I see:
Reading package lists... Done
Building dependency tree
Reading state information... Done
azure-cli is already the newest version (2.14.0-1~focal).
0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
but when I type:
az --version

I see:
azure-cli                         2.13.0 *
core                              2.13.0 *
telemetry                          1.0.6
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\MarcusPowrie.azure\cliextensions'
Python (Windows) 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
You have 2 updates available. Consider updating your CLI installation with 'az upgrade'
Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
``

Expected Behavior
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.6.8
Installer:

azure-cli 2.13.0 *

Additional Context

hi @fengzhou-msft could you pls have a look?

If yes, please check your PATH env variable and make sure /usr/bin/ is in front of /mnt/c/Program Files (x86)/Microsoft SDKs/Azure/CLI2/wbin.

@mpowrie Did you get a chance to check the above comment?

Hi Feng Zhou,
Sorry for the delay in my response. I figured out the problem: I have the
Azure CLI installed in both my WSL instance and my Windows 10 host.
when typing in az --version into WSL, the Windows version which was
slightly different was responding.
Workaround: Uninstall the Azure CLI from Windows and only have it installed
in my WSL (Ubuntu 20.04).
I'd like to be able to have the azure cli installed on both WSL and Windows
however, with WSL choosing the Azure native executable over the Windows
executable.
On Wed, 16 Dec 2020 at 17:06, Feng Zhou<EMAIL_ADDRESS>wrote:

@mpowrie https://github.com/mpowrie Did you get a chance to check the
above comment?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-cli/issues/15675#issuecomment-745787279,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACPBZV6YJRSH3PI7M5SO5LSVBE6JANCNFSM4TAOEWHA
.

@mpowrie normally after you installed azure-cli in WSL and run which az, you should see /usr/bin/az no matter whether you installed azure-cli with MSI in windows. If not, then you need to fix your PATH variable.

Hi Feng Zhou,
Thanks. I was surprised to see my Windows host OS path entries mixed
into my WSL bash paths - I'll remove the redundant Windows paths from WSL.
On Tue, 22 Dec 2020 at 00:01, Feng Zhou<EMAIL_ADDRESS>wrote:

@mpowrie https://github.com/mpowrie normally after you installed
azure-cli in WSL and run which az, you should see /usr/bin/az no matter
whether you installed azure-cli with MSI in windows. If not, then you
need to fix your PATH variable.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-cli/issues/15675#issuecomment-748961769,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACPBZT7XRXQD2SWHLIJPMDSV5BKZANCNFSM4TAOEWHA
.


Hardware sync pulse duration is very short

Required Info

Camera Model
D435

Firmware Version
v<IP_ADDRESS>

Operating System & Version
Windows 10

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC

SDK Version
2.17.0

Language
python

Segment
other

Issue Description
I'm currently using the realsense in a scientific application, where it is required to have a voltage signal when frames were acquired for synchronization to other devices. I'm copying the master signal into my data acquisition board. The cameras are running at 60 Hz, so in theory it should be very easy to detect a pulse train at 60 Hz. However, the sync pulse duration is incredibly short--only 50 microseconds! This is a 20 kHz signal, much larger than the framerate. To stay on the right side of Nyquist, we should then sample at 40kHz or more, which is vastly higher than necessary for any of our other devices. This leads to more CPU usage and much larger file sizes.
Is there any way to increase the duration of the sync signal? Could this be changed in firmware? Point Grey cameras (for example) have a ~1ms strobe signal output, or can be set to be exactly the exposure time of the camera, which is very useful.

Actually the pulse width initially was set at 300ns, and we extended it to 50us around 1.5 years ago.
Due to internal counter limitation, the max pulse width can reach 200us. Is this good for you?
Thanks

Hi there! Thanks for your response. 200 us would be helpful, as we could get more samples or reduce our sampling rate. How do I do this?

I am sorry. I just realized that your camera is locked by factory which means it's blocked to make any change to register settings, including the one for the pulse width adjustment. I will submit a Change Request to development team for this request.
Thanks


download: amamba version updated to 0.20.0-alpha.3

download: amamba version updated to 0.20.0-alpha.3

alpha is for test. The suggestion is: "do not merge"

测试版本 不用合并


Widget estil tags per a one2many/many2many

Closed by https://github.com/gisce/react-ooui/pull/206


[breaking][libra-framework]  Refactor writeset prologue and epilogue

Motivation
Refactored writeset prologue and epilogue by merging the LibraWriteSetManager module into LibraAccount. This will make the prologue/epilogue code more modular. Also added checks for chain_id and expiration time for WriteSet Transaction.
This change is a breaking change.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
cargo test
Related PRs
This is a less aggressive version of #5881

@bob-wilson @sblackshear @tzakian @tnowacki you all have looked at and talked about this quite a bit.
If this has to go in, it would be great to get it in asap.
So if you could comment that would be great!
thanks

Added back the specs from the old module. Renamed writeset_sequence_number to transaction_sequence_number

cc @shazqadeer in case you're working on the prologue

Talked to @tzakian over the genesis initialization seuqnece issue. It seems to us that we are hitting similar issue as #5997. So if both PR can land in the same release cycle then we should aim for merging the two resources/init function.

Interestingly, when bundled this PR with #5997, it reverted the change to json-rpc tests as the orders are still preserved. However there's still changes done to new_epoch_event and new_block_event which still made this PR a "hard" breaking change.

@tzakian It sounds like you're OK with the current version, is that right? I'm pretty happy with it now, and if we're going with the initialization change that you wanted, we should land this ASAP so it goes along with #5997

@tzakian @bob-wilson Is the current version with what is checked in now? In that case I'm happy with that too.
It looks like there were two checks added to the writeset prologue and the VM? Maybe we should just do those two changes as a smaller PR and get them in ASAP

@tzakian @bob-wilson Is the current version with what is checked in now? In that case I'm happy with that too.

I'm not sure what you're asking. I was referring to the current contents of this PR. I think it's ready to land.

It looks like there were two checks added to the writeset prologue and the VM? Maybe we should just do those two changes as a smaller PR and get them in ASAP

Yes, this fixes #5708 by adding checks for the ChainID and txn expiration. I'd much prefer to just land this one. Otherwise, if this doesn't go in along with #5997, I think we should go back to a separate initialization function to preserve the event keys, and Tim really didn't like like that.

@tzakian It sounds like you're OK with the current version, is that right? I'm pretty happy with it now, and if we're going with the initialization change that you wanted, we should land this ASAP so it goes along with #5997

Yep, I'm good with this going in as-is. Agreed on getting this in ASAP (need to land before tomorrow morning!)

/help

Bors help and documentation

Bors is a Github App used to manage merging of PRs in order to ensure that CI is always green. It does so by maintaining a Merge Queue. Once a PR reaches the head of the Merge Queue it is rebased on top of the latest version of the PR's base-branch (generally master) and then triggers CI. If CI comes back green the PR is then merged into the base-branch. Regardless of the outcome, the next PR is the queue is then processed.
General

This project's Merge Queue can be found here.
This project requires PRs to be Reviewed and Approved before they can be queued for merging.
Before PR's can be merged they must be configured with "Allow edits from maintainers" enabled. This is needed for Bors to be able to update PR's in-place so that Github can properly recognize and mark them as "merged" once they've been merged into the upstream branch.

Commands
Bors actions can be triggered by posting a comment which includes a line of the form /<action>.

Command
Action
Description

Land
land, merge
attempt to land or merge a PR

Canary
canary, try
canary a PR by performing all checks without merging

Cancel
cancel, stop
stop an in-progress land

Cherry Pick
cherry-pick <target>
cherry-pick a PR into <target> branch

Priority
priority
set the priority level for a PR (high, normal, low)

Help
help, h
show this help message

Options
Options for Pull Requests are configured through the application of labels.

          Option
Description

Indicates that the PR is high-priority. When queued the PR will be placed at the head of the merge queue.

Indicates that the PR is low-priority. When queued the PR will be placed at the back of the merge queue.

Before merging the PR will be squashed down to a single commit, only retaining the commit message of the first commit in the PR.

/land


feat: add reply object and reply address object

Description
Add reply object and reply address object.
Related issue(s)
Part of https://github.com/asyncapi/spec/pull/847

/rtm


Create integration overwrites native ComputerCraft APIs of Create Crafts & Additions

Create Crafts & Additions (https://github.com/mrh0/createaddition/tree/main) provides native ComputerCraft support for a couple of the blocks it adds (https://github.com/mrh0/createaddition/blob/main/COMPUTERCRAFT.md). The issue is that when you also have UnlimitedPeripheralWorks installed it overwrites the CC&A native APIs resulting in the electric motor no longer having a "setSpeed" function for example and instead having "getConfiguration", "getScrollValue", "setScrollValue", etc. This seems to persist even when disabling the Create integration in config.

For reference I'm on Fabric 1.20.1 using CC&A 1,2,4, UPW 1.4.4, and CC:T 1.113.1.

Hacky fix is to create ignore.json in data/periperalworks/tags/blocks and put the offending blocks in {     "replace": false,     "values": [       { "id": "createaddition:electric_motor", "required":  false},       { "id": "createaddition:alternator", "required":  false},       { "id": "createaddition:redstone_relay", "required":  false},       { "id": "createaddition:portable_energy_interface", "required":  false}     ]   } which gets UPW to completely ignore them.

It is very strange if it persist even after disabling in configuration.
But for reference, setScrollValue should behave close to setSpeed

Also, using peripheralworks:ignore is not a hacky fix, it is specifically designed to handle such cases, when you need to disable UPW for certail blocks.