It's an easy fix tho.
I did a hotfix for it, if you are interested.. I might not be the "correct" way of doing it, I just check if the entered key is q when I'm inside the editor view.
    view.textarea.key(config.keys.common.quit, function(ch, key) {
      if (key.full === 'q') return;
      editor.hide();
    });

If you want it vim like, maybe consider using the : style ?
I personally would like that :+1:

@TheSinding I like vim :-)
It's better to make vim mode than just adding some keys.
If you can make some patches for this, I'd like to merge them.

@TheSinding I wanted to checkin on this merge.  Did it happen?

I have no idea, sorry.


Add example app

Fixes #8

Should we merge this?

Would like to get a review here before merging, would you be up for reviewing @hugihlynsson ?

I'll do my best!


mongo db stream function watch(), its firing change event multiple times

Every time I changes in my user collection, watch() getting fires change event no of time equal to no of changes. I hope you getting my or should i explain more?
ctx.model('users').watch().on('change', (change) => { console.log('emit'); });

Sorry, I don't understand what the issue is here. If it's emitting things then isn't the watch working as intended?
koa-mongoose doesn't fiddle with anything in this space - it just provides shortcuts to using mongoose in req's.

Sorry, I don't understand what the issue is here. If it's emitting things then isn't the watch working as intended?
Only thing issue I could see here is that since the db connection isn't being cleaned up, the watch's never end and continue streaming after a request has finished - but I'm not familiar with using mongooses watch and you haven't provided enough detail of the issue so I'm only making uneducated guesses at best.
To look into this further I'd need a good justification of why you believe the issue in is koa-mongoose and an example repository that reproduces the issue you're having

issue resolved. thanks for your response.


Display TX error message

This depends on https://github.com/oasisprotocol/explorer/pull/161.
This is not yet ready:

We are still waiting for the backend side https://app.clickup.com/t/861m9grpa

The backend PR we are waiting for is: https://github.com/oasisprotocol/oasis-indexer/pull/347


Normalize lab names in tags

[ ] If the word "lab" is present in the user-provided tag, remove it. This is to ensure that tags are correctly checked against each other for duplicates.

This was fixed via #182


CMS tree is showing Database nodes twice

Azure Data Studio Version: master

Steps to Reproduce:

Add a CMS server and browse through the tree

Expected: The Database folder is only list once
Actual: The Database folder is nested under database nodes

@Charles-Gagnon @abist I'm guess is this related to the change to no longer distinguish between Database and Server connections in OE.

Yeah - the whole thing seems to be scoped to the Server level. There's the Security and Server Objects folders as well. I bet this is because of my change to default connections to be server-scoped for user DBs instead of DB scoped.

Beat me to it =)

Probably we can live with this for July and work through a fix from August.  I don't think it's a good idea to touch that part of the code at this point, IMO.

Verified that this is no longer an issue after reverting the server-scoped connection chagnes.


Lint/style

Fix a syntax error
A few very minor type-related improvements

checklist:

[ ] tested the changes live by using the dev version of the action

@beckermr, this needs to be merged first to fix the linter errors for all the other PRs.


Optuna version 1.10 is not exist

Describe the bug
During installation, I got an error related to optuna package: optuna<2 and >=1.10 is required, but optuna has not version number equal 1.10, the next version after 1.5, is 2.x.
Environment (please complete the following information):

Python: [3.8.1]
PyTorch [1.12.1]
DHG [0.9.0]

Additional context
By modifying pyproject.toml and changed optuna requirements to
optuna = "^1.5"
the problem is solved

Thanks. We will fix this.


What happen to your NSX Lab Series.

I used these are wanted to recheck some configurations.
These were very helpful.
Thanks,

Wow! Good to know someone was using them. I removed them due to being incomplete and estimating my chance to return to the project as slim to none. Besides, I felt embarrassed posting woefully incomplete documentation.
I am reasonably certain I kept a backup. Did you need specific article(s) in the series or all of them? I will get them back on the wiki for you and apologize for the inconvenience.
Richard

Hi Richard,
That would be great. Can you add the series back and maybe I can help you with making sure that they are correct and updated.
Thanks again,
-Troy
Sent from Outlook Mobile
On Fri, Jan 8, 2016 at 11:08 PM -0800, "RHarmonson"<EMAIL_ADDRESS>wrote:
Wow! Good to know someone was using them. I removed them due to being incomplete and estimating my chance to return to the project as slim to none. Besides, I felt embarrassed posting woefully incomplete documentation.
I am reasonably certain I kept a backup. Did you need specific article(s) in the series or all of them? I will get them back on the wiki for you and apologize for the inconvenience.
Richard
—
Reply to this email directly or view it on GitHub.

Sounds good. I would love to have a contributor on the series.
I am in the process of moving my workstation and development environment into a new room. I should be done in the next forty-eight hours. After that is done, I will repost the series, so check back Monday evening.

Thank you!
-Troy
Sent from Outlook Mobile
On Sat, Jan 9, 2016 at 4:47 PM -0800, "RHarmonson"<EMAIL_ADDRESS>wrote:
Sounds good. I would love to have a contributor on the series.
I am in the process of moving my workstation and development environment into a new room. I should be done in the next forty-eight hours. After that is done, I will repost the series, so check back Monday evening.
—
Reply to this email directly or view it on GitHub.

You are not forgotten! Just finished with the workstation move into my new workspace. I am a tired and will not post until tomorrow night, but I did want to let you know that I have not forgotten you. Night.

I have reverted/recovered the posts.

Thanks Richard.
I will review and let you know of any changes that I think we might need to keep these documents updated.
-Troy
----- Original Message -----
From: "RHarmonson"<EMAIL_ADDRESS>To: "rharmonson/richtech"<EMAIL_ADDRESS>Cc: "tmitchell5280"<EMAIL_ADDRESS>Sent: Tuesday, January 12, 2016 7:43:03 PM
Subject: Re: [richtech] What happen to your NSX Lab Series. (#4)
You are not forgotten! Just finished with the workstation move into my new workspace. I am a tired and will not post until tomorrow night, but I did want to let you know that I have not forgotten you. Night.
—
Reply to this email directly or view it on GitHub .

Sounds good. I will close this issue but we can open another for edits or come up with another strategy. Contributor?
Have a good day and thank you for opening an issue asking for reposting of the series.
R


Adding git repos to template directory

Feature Request
Our team uses github for compiled. It would be nice to be able to link to a repo on GitHub instead of my local machine.

@timkpaine How you think this should be handled? via a different config list of repos like c.JupyterTemplates.git_repos = [] or or use the same template_dirs list but deetect git repos with the ".git" suffix? like
template_dirs = ["/usr/loca/share/templates", "https://github.com/jpmorganchase/jupyterlab_templates.git"]

and have a separate git template loader handle those to git clone


Disable vm test in cluster wide

Cluster provisioning is enabled on cluster wide test, and vm test has not been updated to use the pre-provisioned VM and is creating instead a VM in the main testing project. The VM test is using local network IP, and the cluster and the VM are not in the same project which makes communication between those 2 impossible.
Disabling the vm test for now until we can take advantage of the provisioned VM

@sebastienvas: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
4579805ca92e16aa971b09921fed2d1bf4e8476a
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-pilot-e2e

@sebastienvas: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
4579805ca92e16aa971b09921fed2d1bf4e8476a
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm

@sebastienvas: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
4579805ca92e16aa971b09921fed2d1bf4e8476a
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Vulnerability roundup 93: libssh2-1.9.0: 1 advisory [8.1]

search, files

[ ] CVE-2019-17498 CVSSv3=8.1 (nixos-20.03)

Scanned versions: nixos-20.03: 0d0660fde3b.

20.03 is Frozen and EOL.
As such, issue is closed.


sidebar unexpected errors in conosle

I'm trying to use semantic-ui sidebar according to https://github.com/Semantic-Org/Semantic-UI-Ember/tree/prep-1.0#sidebar
templates\application.hbs
{{#ui-sidebar class="ui left vertical menu"}}
   1
   2
   3
{{/ui-sidebar}}

Welcome to Ember

   SHOW SIDEBAR
  {{outlet}}

controllers\application.js
import Ember from 'ember';
export default Ember.Controller.extend({
  actions:{
      show_sidebar(){
        $('.ui.sidebar').sidebar('toggle');
      }
    }
});

output result:

     1
     2
     3

Welcome to Ember

         SHOW SIDEBAR

But i get this message in console
semantic.js:15229Sidebar: Had to add pusher element. For optimal performance make sure body content is inside a pusher element
semantic.js:14753Sidebar: Had to move sidebar. For optimal performance make sure sidebar and pusher are direct children of your body tag
…

Sidebar seems to work correctly but i don't know how to fix messages in console.
Ember & ember cli version info
DEBUG: Ember      : 2.0.0
ember.debug.js:5165 DEBUG: Ember Data : 2.0.0
ember.debug.js:5165 DEBUG: jQuery     : 1.11.3

ember -v
version: 1.13.8
node: 4.1.1
npm: 2.13.4
os: linux x64

This is because Ember by default wraps all of its content in a div and Semantic requires that both pusher and ui sidebar exist directly below body. In order to do that you need to set the tagName to blank on your application.
Take a look at the changes I just pushed to the demo app for an example: 5fd06221e15bb5d43810a597bbe4e62414108d11

How will i do this in an ember 2 app where views are no longer existent?

Please ignore my question, i found a solution: https://github.com/emberjs/ember.js/issues/12183


Implement Visitor

Implement Visitor:

In controller
General in request context

Take into account:

Visitor-id
Logged in user
Context

Desktop/Mobile/Bot
OS
Browser
Browser locale

Localization

Locale
RTL
Currency
Timezone
Measurement

Location

Ip
Continent
Country
Region
City
Postal code
Latitude
Longitude
Timezone

Done


Add site logo (or other node)

Hi,
in JSON schema, we can add a site logo with this node :
{
"verb": "setSiteLogo",
"url": "/Customer Event Collateral/logo.jpg"
}
If i add this on JSON panel, this disappear after save.
would it be possible to add this node or the possibility to add nodes which are not yet managed by your webpart in JSON panel?
Thanks

Hello @PooLP,
This site action is supported in the WebPart. However it is possible a validation issue on your input is preventing it to work correctly. Did you try with an absolute URL?
I try to keep in sync with updated site actions. However it's still possible that I miss some updates. I'll leave this issue open until I manage to get some time for it and have a closer look hopefully ASAP. I unfortunately can't promise any date.
If any volunteers on fixing this. I remind that we accept PRs from community. :)
Best regards,
Yannick

It work, my URL was wrong... sorry. i'm close the issue.


Engine auto-detection

What version of this package are you using?
Master one, built and installed manually
What operating system, Node.js, and npm version?
OSx 10.14.5
What happened?
Engine standardx is not auto-detected.
See https://github.com/standard/vscode-standardjs/pull/71; this is a follow up
What did you expect to happen?
I'd expect auto-detection of standardx to occur (simple project; clean package.json).
Are you willing to submit a pull request to fix this bug?
I could, but I need help. Not much time and never developed something for vscode

Thanks for your report! @cyrilchapon
The feature is already implemented. :+1:
By enabling "standard.usePackageJson": true in .vscode/settings.json, it should auto-detect the engine (standard, semistandard, standardx or ts-standard) you've installed in devDependencies in your package.json.


invenio webpack build failing because of Terser (?)

invenio webpack build is failing on a clean build suddenly.
pipenv run invenio webpack build
# ... output truncated for convenience
Hash: 6be8e280840a1063c577
Version: webpack 4.42.1
Time: 26657ms
Built at: 03/30/2020 3:11:15 PM
 58 assets
Entrypoint adminlte = js/manifest.4fe0a86387c32a6b1cc3.js css/vendor.05d15cd76acba0f559bd.css js/1.a67567dc35b9828dc7a3.js js/2.0dba3a0c0edc6095e961.js
Entrypoint base = js/manifest.4fe0a86387c32a6b1cc3.js css/vendor.05d15cd76acba0f559bd.css js/1.a67567dc35b9828dc7a3.js js/3.bf7eed8dd0b829e492b0.js
Entrypoint d3_csv = js/manifest.4fe0a86387c32a6b1cc3.js css/vendor.05d15cd76acba0f559bd.css js/1.a67567dc35b9828dc7a3.js js/4.7f79b9a68407facfb190.js
Entrypoint fullscreen_js = js/manifest.4fe0a86387c32a6b1cc3.js js/5.45062fef5ccb159736f0.js
Entrypoint i18n_app = js/manifest.4fe0a86387c32a6b1cc3.js css/vendor.05d15cd76acba0f559bd.css js/1.a67567dc35b9828dc7a3.js js/6.c60f01af8f7da38db633.js
Entrypoint invenio-app-rdm-search-js = js/manifest.4fe0a86387c32a6b1cc3.js css/vendor.05d15cd76acba0f559bd.css js/1.a67567dc35b9828dc7a3.js js/7.3a45225e0560a4808fdf.js
Entrypoint invenio-app-rdm-search-theme = js/manifest.4fe0a86387c32a6b1cc3.js css/invenio-app-rdm-search-theme.0816e96cfb51a9d4d223.css js/8.a1797b82ade60a0c9808.js
Entrypoint invenio-app-rdm-searchbar-js = js/manifest.4fe0a86387c32a6b1cc3.js css/vendor.05d15cd76acba0f559bd.css js/1.a67567dc35b9828dc7a3.js js/9.b2f3ad72e1c54449cf25.js
Entrypoint invenio-app-rdm-theme = js/manifest.4fe0a86387c32a6b1cc3.js css/invenio-app-rdm-theme.2156b347a6d3590cf41a.css js/10.3458797473382bb03322.js
Entrypoint invenio-rdm-records-js = js/manifest.4fe0a86387c32a6b1cc3.js css/vendor.05d15cd76acba0f559bd.css js/1.a67567dc35b9828dc7a3.js js/11.653b99431f089ed0a4bf.js
Entrypoint invenio-rdm-records-theme = js/manifest.4fe0a86387c32a6b1cc3.js css/invenio-rdm-records-theme.39d5036f95cd4ab94920.css js/12.e89160c6c0afe0fe5ab3.js
Entrypoint pdfjs_css = js/manifest.4fe0a86387c32a6b1cc3.js css/pdfjs_css.6fb5df5492d26e19eaf5.css js/13.513cdd6673986b2713bc.js
Entrypoint pdfjs_js = js/manifest.4fe0a86387c32a6b1cc3.js css/vendor.05d15cd76acba0f559bd.css js/1.a67567dc35b9828dc7a3.js js/14.589fa3cf8e1246997450.js
Entrypoint previewer_theme = js/manifest.4fe0a86387c32a6b1cc3.js css/previewer_theme.a6260ed18867346b9849.css js/15.b960a57493397b1808ab.js
Entrypoint prism_css = js/manifest.4fe0a86387c32a6b1cc3.js css/prism_css.dc853fbfcd1e1ee3371f.css js/16.89006e0b1e16539dddaa.js
Entrypoint prism_js = js/manifest.4fe0a86387c32a6b1cc3.js css/vendor.05d15cd76acba0f559bd.css js/1.a67567dc35b9828dc7a3.js js/17.62f08850070abbe70564.js
Entrypoint simple_image_css = js/manifest.4fe0a86387c32a6b1cc3.js css/simple_image_css.d9b1e8db7bf5224ed436.css js/18.3293f495f082d70927b9.js
Entrypoint theme = js/manifest.4fe0a86387c32a6b1cc3.js css/theme.bfe99f982a07722b0f70.css js/19.6e47d4fdce6dfc3d1018.js
Entrypoint theme-admin = js/manifest.4fe0a86387c32a6b1cc3.js css/theme-admin.58ae0afd39d762f6f05c.css js/20.824cd80495191481a633.js
[425] ./js/invenio_theme/admin.js 736 bytes {2} [built]
[477] ./js/invenio_theme/base.js 416 bytes {3} [built]
[478] ./js/fullscreen.js 1.81 KiB {5} [built]
[479] ./js/invenio_i18n/app.js 698 bytes {6} [built]
[649] ./scss/march-release-pure-dev/search/theme.scss 39 bytes {8} [built]
[650] ./scss/march-release-pure-dev/theme.scss 39 bytes {10} [built]
[651] ./js/invenio_rdm_records/rdmrecords.js 450 bytes {11} [built]
[652] ./scss/invenio_rdm_records/theme.scss 39 bytes {12} [built]
[653] ./scss/pdfjs.scss 39 bytes {13} [built]
[691] ./scss/style.scss 39 bytes {15} [built]
[692] ./scss/prismjs.scss 39 bytes {16} [built]
[693] ./js/prismjs.js 270 bytes {17} [built]
[694] ./scss/simple_image.scss 39 bytes {18} [built]
[695] ./scss/invenio_theme/theme.scss 39 bytes {19} [built]
[696] ./scss/invenio_theme/admin.scss 39 bytes {20} [built]
    + 1011 hidden modules

ERROR in js/1.a67567dc35b9828dc7a3.js from Terser
undefined

ERROR in js/21.ee40e4e379b09a9b6bca.js from Terser
undefined

OS: Ubuntu 18.04.4 LTS
node: v10.19.0
npm: 6.13.4
webpack: 4.42.1

I was not able to reproduce, did it happen only once? or is it a constant error? could it have been network somehow failing one package download/installation?

It always happens for me. Did you try with multiple versions? The only thing that changed for me was node to version 10.X a week ago, but it was working then. I will try rebooting my computer and all that...
I also noticed some errors about morris.js. The library was asking for<EMAIL_ADDRESS>wanted: {"node":">=0.8 <0.11"} (current: {"node":"10.19.0","npm":"6.13.4"}). This doesn't work since node has shifted to major versioning. (So that should be an old issue...).

In my laptop v13 and the ubuntu one I don't recall, but I did not trigger any updates so I think it is still and old one if it got updated in this last month

Since going to node v13, I haven't encountered this again. Closing because it got magically resolved :mage_man:


Insert strange behaviour

I get some issue with insert query builder operation:
I have model:
module.exports = class extends Model {
  constructor(task) {
    super();
      this.phone_number = task.phone_number;
      this.task_status = task.task_status;
      this.error = task.error;
      this.call_status = task.call_status;
      this.voice_length = task.voice_length;
      this.drop_time = task.drop_time;
      this.call_time = task.call_time;
  }

  static get tableName() {
    return 'archive';
  }
};

task here is model instance. Then I go through tasks array and do this:
await Task.transaction(async trx => {
      const arch = new Archive(task);

      await arch
        .$query(trx)
        .insert()
        .catch(err => {
          console.log(err);
        });

      await task.$query(trx).delete();
    });

I expect: New record in archive table and deleted record from task table.
What I get:
As far as I create arch as instance of Archive class (I log it and see all fields are there from task), I want to insert it and call insert and get error:

TypeError: Cannot read property 'phone_number' of undefined
    at new module.exports (/opt/node_app/app/models/Archive.js:8:30)
    at columnNameToPropertyName (/opt/node_app/node_modules/objection/lib/model/modelColPropMap.js:6:17)
    at Function.columnNameToPropertyName (/opt/node_app/node_modules/objection/lib/model/Model.js:432:22)
    at /opt/node_app/node_modules/objection/lib/relations/RelationProperty.js:191:29
    at Array.map (<anonymous>)
    at createPaths (/opt/node_app/node_modules/objection/lib/relations/RelationProperty.js:180:15)
    at new RelationProperty (/opt/node_app/node_modules/objection/lib/relations/RelationProperty.js:36:19)
    at getIdRelationProperty (/opt/node_app/node_modules/objection/lib/model/Model.js:882:10)
    at cachedGet (/opt/node_app/node_modules/objection/lib/model/Model.js:861:61)
    at Function.getIdRelationProperty (/opt/node_app/node_modules/objection/lib/model/Model.js:456:12)
    at Function.getIdPropertyArray (/opt/node_app/node_modules/objection/lib/model/Model.js:464:17)
    at Function.getIdProperty (/opt/node_app/node_modules/objection/lib/model/Model.js:468:26)
    at getId (/opt/node_app/node_modules/objection/lib/model/modelId.js:49:36)
    at getSetId (/opt/node_app/node_modules/objection/lib/model/modelId.js:7:12)
    at module.exports.$id (/opt/node_app/node_modules/objection/lib/model/Model.js:51:12)
    at InstanceInsertOperation.onAfter1 (/opt/node_app/node_modules/objection/lib/queryBuilder/operations/InsertOperation.js:67:20)

BUT, transaction is complete: I see created record in archive table with right values and my task record deleted.
Question:
It seems objection create archive again somewhere without task argument, but why ? Here is already archive instance. And more wonder that transaction complete well, so that creation doesn't matter ?
Can you explain this behaviour ? Or I think wrong some where.
p.s. I add check if statement in Archive constructor and error gone.

You shouldn't use constructors with objection models. That's probably not made clear enough by the documentation. Instead you should call the static fromJson method. You can create a static creator function that does the things you now do in the constructor and calls the fromJson method to create the instance.


[ChartJS] unable to configure tootlip label callback

Hello,
I tried to configure a ChartJS pie label callback following the docs for the v3.8.2 of ChartJS used in the Symfony UX ChartJS v2.17:
https://www.chartjs.org/docs/3.8.2/configuration/tooltip.html
Here is the config I tried to run :

but it only produces this error :

I have the same issues with other label callbacks. Has anyone tried to customize this and managed to do it successfully ? Is there a bug somewhere or did I miss something ?

I don't think you can write JS code in PHP.
You probably should use a custom stimulus controller and define the callback on initialization
--> https://symfony.com/bundles/ux-chartjs/current/index.html#extend-the-default-behavior

ok thanks, I'll try this way but it still feels weird the php configuration does not cover this part of the features

I tried your solution by creating this custom controller :
`
//piechart_controller.js
import { Controller } from '@hotwired/stimulus';
export default class extends Controller {
connect() {
this.element.addEventListener('chartjs:pre-connect', this._onPreConnect);
}
disconnect() {
    this.element.removeEventListener('chartjs:pre-connect', this._onPreConnect);
}

_onPreConnect(event) {
    const chart = event.detail.chart;
    console.log('here');
    chart.config.options.plugins.tooltip.callbacks.label = function(context) {
      return 'test';
    };

    chart.update();
}

}
`
twig :
{{ render_chart(expensesDistributionChart, {'data-controller': 'piechart'}) }}
But I can't manage to make this work, I don't even see my console.log, would you have any example of detailed documentation about how to set this up please ?

You must update the config and not the chart, as it's not yet created in the preConnect event
https://symfony.com/bundles/ux-chartjs/current/index.html#extend-the-default-behavior
   _onPreConnect(event) {
        // The chart is not yet created
        // You can access the config that will be passed to "new Chart()"
        console.log(event.detail.config);

        // ...

This should work better

Thanks a lot for your help and explanations, I managed to make it work the way I needed to :)
Have a nice day !

I'm glad if i can help :)
Happy coding!


Does when: tag: require* works?

My steps are still getting executed even if the tag doesn't starts with require
Trigger is only on git tag events.
My config:
---
pipeline:
  propensity-base-build:
    image: plugins/ecr
    repo: image-repo
    context: ./
    dockerfile: ./commons/Dockerfile.base
    tags:
      - propensity-base
    when:
      tag: require*
  propensity-build:
    image: plugins/ecr
    repo: image-repo
    context: ./
    dockerfile: ./commons/Dockerfile
    tags:
      - ${DRONE_COMMIT_SHA:0:8}
      - propensity-${DRONE_TAG}
      - latest

Not as documented. I will update the docs, meanwhile you can try matching on the ref
pipeline:
  step1:
    when:
      event: push
      ref: [ refs/heads/feature/*, refs/tags/* ]
      event: [ push, tag ]

as per
https://discourse.drone.io/t/execute-a-build-step-only-when-a-feature-branch-is-tagged-with-a-specific-pattern/1237/3

This should be solved in the meantime.


feat: upgrade sprig to 2.16.0 for #630

Upgrades sprig from 2.15.0 to 2.16.0 to get values function support for Dicts. Addresses #630

@bitsofinfo Thanks! Would you mind running go build .  locally, so that it will update go.sum accordingly, and includes the update to go.sum into this PR?

JFYI, try including something like Resolves #630 in the dedicted line in your commit, on next ocassion, so that merging this PR automatically closes the issue!


Set batch = 1 error

When I set batch as 1, there is a value error when building the graph. I think it was caused the this line of code.

This is due to the using of the tf.squeeze  in this line:

self.masked_v = tf.matmul(tf.squeeze(self.caps2), tf.reshape(self.Y, (batch_size, 10, 1)), transpose_a=True)

But, who will set batch size to 1 ?


New aggreagated CA file models

It contains a utils method to load data from a csv file

@Zeegomo Lints are because this models have no use right now. They will be included in next PRs

Im closing this. I'll need to adapt some stuff on the fly related to ca rewards. So this will be part of the other incoming PR


Use Optional for passphrase

We should be distinguishing from the empty passphrase and no passphrase provided, so instead of defaulting to the empty passphrase, change passphrase (aka password) to an Optional. This way, if it is not provided, it is None and empty passphrases can be handled correctly.
Fixes #639

Updated to unify Trezor's enumerate and other commands behavior. Both will require a passphrase to be provided if passphrase protection is on.

https://github.com/bitcoin-core/HWI/issues/639#issuecomment-1320085824 recommends that we default to the empty string passphrase if no passphrase is provided, so I've updated this to do that. TrezorClient will use "" if no passphrase is given, and enumerate will now only emit a warning if no passphrase is provided rather than an error.

Just fyi: Works fine with Specter now.

@achow101 just checking in, when are you planning a new release with that PR included? The last release was in May, so might perhaps be about time anyway?

@moneymanolis I plan on making a release at the beginning of the new year.

Great, thanks!


JavaScript Quickstart for non-dapr endpoint service invocation (HTTP)

Describe the feature
JavaScript Quickstart for non-dapr endpoint service invocation (HTTP)

Linking docs for HTTPEndpoint: https://docs.dapr.io/reference/resource-specs/httpendpoints-schema/
Linking how to do service invocation using HTTP: https://docs.dapr.io/developing-applications/building-blocks/service-invocation/howto-invoke-discover-services/

/assign

@snehamadgunda are you still interested to run with this?


Documentation on how packetparser avoids double-counting

Is your feature request related to a problem? Please describe.
Retina's packetparser plugin loads 4 tc BPF programs, assuming there is one container on a node: endpoint_ingress (outer veth's ingress hook), endpoint_egress (outer veth's egress hook), netdev_ingress (eth0's ingress hook), netdev_egress (eth0's egress hook). Per my mental model, a packet sent from the container to the outer world will be seen by both endpoint_ingress and netdev_egress and written to the perf buffer twice. In my understanding, there is no userspace filtering that removes samples based on their sampling point.
Describe the solution you'd like
In my experiments, Retina did not double-count packets. Could you please provide documentation on how you avoid double-counting despite the same packets being observed by potentially multiple measurement points?
Describe alternatives you've considered
N/A
Additional context
N/A

Sorry for late reply. @andreev-io  Can you provide some details around how you conducted the experiment? We currently don't have a mechanism to filter flows based on observation point, so metrics should double count them for now.


Use of async functions

I don't think the async functions are needed, can you confirm?

@mcollina yes, you're right: at the moment they are not strictly necessary but they have been left as async to avoid breaking changes to the public API in the case we need to switch to an async computation. Does it make sense for you? Thank you for your feedback!

I would highly recommended against this. This type of pattern leads to having all functions as async functions, with hundreds of promises allocated for no good reasons :/.

@mcollina we switched to sync methods where possible with v0.1.0. Can you confirm the resolution of this issue, please? Thank you!

Good work!


Add endpoints for deleting gists

This PR is for creating an API endpoint to delete gists.
https://developer.github.com/v3/gists/#delete-a-gist
I added a sample as samples/Gists/DeleteGist.hs.

Thanks!


DEPLOYMENT

Deployment
User Story
As a boot camp student
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information.
Acceptance
GIVEN a Prework Study Guide website
WHEN I visit the website using the URL,
THEN I can access my website from any browser

published website


Support for languages having complex input methods

Hi! Thanks a lot for developing this cool plugin. I tried it out a little and feel that it is a must have for anyone who is as lazy as me.
However, I also noticed that this plugin is not quite responsive with certain languages, such as Chinese and Japanese. To be more specific, autocompletion candidates almost never show up when I try to type names of tiddlers in these two languages. If I copy part of the desired tilddler name, typing the autocompletion triggering pattern, and paste the copied texts, the autocompletion window might show up (although the probability is quite small).
For Japanese users, luckily enough, pressing the key combination ctrl + space can invoke the autocompletion window manually. For Chinese users however, doing so does not work because such key combination usually is intercepted by the input method to switch input modes (on Win 10, it locks/unlocks the key board to input English alphabets instead of Chinese).
I am not quite sure about the root cause of this issue because I have not read the source code yet. My guess is that it cannot handle the texts output of an input method that generating a character by collecting and combining multiple key strokes. This is the common point of the two languages that the plugin fails on.

It turns out that for users typing Chines on Win 10, pressing control + shift + space actually works because the extra shift key prevents the input method from responding the key combination and consuming the key press event.
That being said, I still add a tiny feature that allows users to define their own autocompletion triggering key combination in the configuration tiddler. I would like to make a pull request and will do any git-fu to beautify the commit history (if necessary) if @snowgoon88  feels its okay to accept this feature.

Hello,
sadly, I know nothing about using complex input methods. So I might not be very helpfull...
This being said, any pull request that seems interesting and does not break the basic behavior will be accepted, of course.
I must add that, in the new version of TiddlyWiki (5.1.15), ctrl + space does not work anymore. I think it might be intercepted earlier by TW.
Snow.

Hi,
I opened a pull request that adds the feature I mentioned before. However, I am pretty bad at naming and am a super newbie at JavaScript so please feel free to tell me where to change!


[New Feature]: To Restart The Game

🎮 feature Request
WE Can reset the Game and Only Store the winning player details to display in Scoreboard
Point down the features
It will provide a user to easy to restart the game quickly without going back and Starting new game again
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hello ,I would like to work on this issue please assign me
Under GSSoC24

I would like to work on this issue please assign this task to me under GSSOC'24

I want to work on the nav section, please assign me this under gssoc level 2
Record
I agree to follow this project's Code of Conduct
I'm a GSSOC'24 contributor
I want to work on this issue

please add the label for gssoc'24 .
i want to work on this issue, please assign it to me

@royalrajputayush @Abhay152002 @Lalita14ritgithub @anurag2787 Please raise any other issue, because someone is already working on this issue.
If you have any doubt you can directly send message on our discord (https://discord.gg/rZb46cCMmK), we have created seprate chennals for all projects...
Thank you :)


Indexing / slicing rather than unsafe offset/from_raw_parts?

It seems like each unsafe block in this crate could be replaced with safe code indexing or slicing the result of as_ref or as_mut. Is there a reason to prefer the unsafe way?

Done in #4. ring_buffer::{Consumer,Producer} are still using unchecked indexing because otherwise LLVM is not able to optimize away the bound checks as per some tests I ran.


Very Serious: Land Library Download Links do not show up in Explorer / Edge, perhaps other browsers

The links to download a file from publications in the Land Library do not show up in Internet Explorer, perhaps also not on Safari:

This is how it looks in Chrome (with download link):

This is a serious problem that must be dealt with immediately.

The problem is worse than I thought. The download link is not visible in Chrome either when logged out of the Land Portal.
This is how it looks in Chrome when not logged in:

Note, the download link is no longer visible.

The issue looks like only affects "File uploaded" field.
For instance, http://landportal.info/library/resources/reflections-future-challenges-housing-land-and-property-restitution-syrian has a "download resource" (from Resource URL field)

As a hotfix, in the LLR from the example, the field "Resource URL" has been filled with a value
http://landportal.info/library/resources/2016-dfid-land-portfolio-overview

fixed and backed in code.


error with thermos 1.7.10

using thermos 1.7.10, and im getting the following error on reboot
log.txt

1.7.10 isn't supported.
Thermos isn't supported


Live Auth Info Stored Unencrypted

The Live authentication stores the client credentials unencrypted on the filesystem inside the app container at Library/LiveService_auth.plist. The offending code is in LiveAuthStorage.m.
Logging out of a Live account leaves your Live app client id on disk in the same location.
This code should be modified to store these credentials in the Keychain.
cc @wooster

Hi @karimatiyeh
We are aware of this issue and are getting ready to release a new SDK that targets our [new API] (https://dev.onedrive.com).  The new SDK stores the authentication credentials in the keychain and not in a file.


[firebase_messaging] getToken, error fetching instanceID: AUTHENTICATION_FAILED

Hello everyone, I have problems with firebase_messaging: ^ 5.1.8. No emulator (Nexus 5x API 29 x86) works normally, but on a real device I get the error:

logs
E/FirebaseInstanceId(28179): Topic sync or token retrieval failed on hard failure exceptions: AUTHENTICATION_FAILED. Won't retry the operation.
I/flutter (28179): entrou
W/FirebaseMessagingPlugin(28179): getToken, error fetching instanceID:
W/FirebaseMessagingPlugin(28179): java.io.IOException: AUTHENTICATION_FAILED
W/FirebaseMessagingPlugin(28179): 	at com.google.firebase.iid.zzl.zza(com.google.firebase:firebase-iid@@20.0.0:67)
W/FirebaseMessagingPlugin(28179): 	at com.google.firebase.iid.zzl.zza(com.google.firebase:firebase-iid@@20.0.0:80)
W/FirebaseMessagingPlugin(28179): 	at com.google.firebase.iid.zzp.then(com.google.firebase:firebase-iid@@20.0.0:4)
W/FirebaseMessagingPlugin(28179): 	at com.google.android.gms.tasks.zzd.run(Unknown Source:5)
W/FirebaseMessagingPlugin(28179): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
W/FirebaseMessagingPlugin(28179): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
W/FirebaseMessagingPlugin(28179): 	at java.lang.Thread.run(Thread.java:764)
E/flutter (28179): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: Invalid argument(s)
E/flutter (28179): #0      _StringBase.+ (dart:core-patch/string_patch.dart:263:57)
E/flutter (28179): #1      PushNotificationData.enviaInfo.<anonymous closure> (package:coopercredi_rural/data/push_notification_data.dart:15:27)
E/flutter (28179): #2      _rootRunUnary (dart:async/zone.dart:1132:38)
E/flutter (28179): #3      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
E/flutter (28179): #4      _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
E/flutter (28179): #5      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
E/flutter (28179): #6      Future._propagateToListeners (dart:async/future_impl.dart:707:32)
E/flutter (28179): #7      Future._completeWithValue (dart:async/future_impl.dart:522:5)
E/flutter (28179): #8      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
E/flutter (28179): #9      _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
E/flutter (28179): #10     FirebaseMessaging.getToken (package:firebase_messaging/firebase_messaging.dart)
E/flutter (28179): <asynchronous suspension>
E/flutter (28179): #11     PushNotificationData.enviaInfo (package:coopercredi_rural/data/push_notification_data.dart:13:18)
E/flutter (28179): <asynchronous suspension>
E/flutter (28179): #12     LoginData.fazerLogin (package:coopercredi_rural/data/login_data.dart:23:33)
E/flutter (28179): <asynchronous suspension>
E/flutter (28179): #13     _LoginScreenState.cardsLogin.<anonymous closure> (package:coopercredi_rural/screens/login/login_screen.dart:167:37)
E/flutter (28179): <asynchronous suspension>
E/flutter (28179): #14     _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:654:14)
E/flutter (28179): #15     _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:729:32)
E/flutter (28179): #16     GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
E/flutter (28179): #17     TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:365:11)
E/flutter (28179): #18     TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:312:7)
E/flutter (28179): #19     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
E/flutter (28179): #20     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:222:20)
E/flutter (28179): #21     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
E/flutter (28179): #22     GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
E/flutter (28179): #23     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
E/flutter (28179): #24     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
E/flutter (28179): #25     _rootRunUnary (dart:async/zone.dart:1136:13)
E/flutter (28179): #26     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
E/flutter (28179): #27     _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7)
E/flutter (28179): #28     _invoke1 (dart:ui/hooks.dart:263:10)
E/flutter (28179): #29     _dispatchPointerDataPacket (dart:ui/hooks.dart:172:5)

Very strange, I find no solution anywhere.

Hi @fabianogadenz
could you please provide your updated  flutter doctor -v
Thank you

[√] Flutter (Channel stable, v1.9.1+hotfix.4, on Microsoft Windows [versÃ£o 10.0.18362.476], locale pt-BR)
    • Flutter version 1.9.1+hotfix.4 at C:\src\flutter\flutter
    • Framework revision cc949a8e8b (8 weeks ago), 2019-09-27 15:04:59 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\Fabiano\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] VS Code (version 1.39.2)
    • VS Code at C:\Users\Fabiano\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.6.0

[√] Connected device (2 available)
    • SM J260M                  • 42006a1ed26c36af • android-arm • Android 8.1.0 (API 27)
    • Android SDK built for x86 • emulator-5554    • android-x86 • Android 10 (API 29) (emulator)

• No issues found!

I tested in 4 situations:

Emulator (Nexus 5x API 29 x86)
Samsung J2 Android 8.1
Motorola G5s Android 8.1
Samsung J8 Android 9.0

On samsung J2 I get the error, on other devices I have this problem

The error persisted, I did not find any information on the internet that could solve my problem.
I tried several possibilities, as well as going back to the original plugin I was using, Onesignal.
Finally, I decided to format my phone to factory version and it didn't work out? Will understand!!!

the issue will be open because I see this as a problem to be solved or explained

Hi @fabianogadenz
I didn't see that coming :)
thank you for letting me know


retrieval: bump refs space

Description
Bump refs space from 234 to 1296.
Risk
N/A
Deploy Plan

deploy front

3-char is quite risky. Still working on the allocation strategy but we should never need more than 1k refs :)

I updated the allocation strategy today here: https://github.com/dust-tt/dust/pull/5810
But it's still not perfect as we want to do that across steps. But once done we should not overflow nor have collision across steps :+1:
Tracked here: https://github.com/dust-tt/tasks/issues/949