[ZF 2.4][PHP 5.6] Select Prompt can't allow more than 9 options

Hello everyone.
When i want to use Prompt/Select class, if my array options has more than 9 options, i can not select the 10th options with '10', it'll display 'a', 'b'... To select it, i would like to write 10 but when i write 1, it submit the select 1.
If we check the code, we can see those lines :
// Retrieve a single character
$response = parent::show();
There is a possibility to display 10 options and selected the 10th ?

Does this also apply to newer releases?
On 13 Dec 2016 12:19 p.m., "Kévin Artus"<EMAIL_ADDRESS>wrote:

Hi,
When i want to use Prompt/Select class, if my array options has more than
9 options, i can not select the 10th options. To select it, i've to write
10 but when i write 1, it submit the select.
If we check the code, we can see this line :
// Retrieve a single character $response = parent::show();
There is a possibility to display 10 options and selected the 10th ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zendframework/zendframework/issues/7749, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAJakOvLX6jqgfb1VpgoFkSZmN8CtrU7ks5rHn9SgaJpZM4LLnSi
.

I'm sorry, i've not tested it to newer releases.

@KevinArtus Actually is more conceptual issue.
Zend\Console\Prompt\Select read just single char from CLI, that means user allowed to enter options without to hit Enter after that.
Sure is possible update it to be matched automatically (in case of multiple chars option), but could come collisions because of that, for example we have two options "n" and "n1", right after enter "n" script will discover it, but we want to enter n1.
From my point of view is limitation of Zend\Console\Prompt\Select and should added to docs, or be update concept of options selection to be used Enter hit after that.
@Ocramius Yes it's reproducible in "develop" branch.


[UPDATE BONUS GUIDE] Sparrow Terminal

What
Changing small mistake in the path when removing Sparrow Terminal
Why
Avoid error/confusion for beginners in linux

LGTM! Good catch!


Body parameter name is not honoured

Hi,
Great work on this project!! It's so cool!
I noticed when using a param with transport type body, the name of the param is not shown in swagger-ui, instead the param name is set to "body".
I'm not sure if this is a bug or if it's what you intended, but maybe it would be nice to display a name for the body parameter to give it some context.
Keep up the great work and I look forward to the Swagger 2 version!

Have to investigate this a bit further; added to the board.


Update security wording

Updating the security considerations to be more concise, and better highlight the difference in security assumptions between a base account and plugins.

Thanks Adam! The words "scope" and "domain" seem to be used interchangeably. Perhaps we stick with "domain"?

Makes sense, updated!

Closing this PR, as this was merged here: https://github.com/ethereum/ERCs/pull/474


GSSOC extended: I have added a new movies page with all the listed movies, matched the theme and also resolved the video button issue

I have added a new movies page with all the listed movies, matched the theme and also resolved the video button issue

Hi @KajalDeore04, the changes are great, and I loved the work!
However, the PR you made addresses an issue that is already assigned to someone else.( #8 )
I'd like to remind you that you can only raise a PR or solve an issue if you have raised the issue and it has been assigned to you. Otherwise, PAs will not consider your PR.
For now, I will hold off on merging your PR. Please create an issue related to this PR and link the issue number in the PR description. After the person who was assigned to the issue makes their changes, I will review both, and whichever is better will be merged. Priority will be given to the one assigned to the issue.
As this is how GSSoC guidelines works

hey i have created an issue and have mentioned it here

Hey can you please update me on this?


fa icons not working

Describe the bug
just seems that fa icons are not working for me, probably there is a super easy way to install them, just no idea how to do it also I don´t find any infomation on how to do it.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Icons work
Screenshots

Additional context
Add any other context about the problem here.

Normally the fontawesome icons are imported automatically by the fontAwesome package, it's weird you cannot get it running.
Besides I see in your screenshot that the fonts were not correctly imported neither.
Can you provide some more extra information on how you set it up, is there any error catched by typst-cli?

yes, it may be because of the new version of typst, i think fontAwesome may not be working anymore, just tried to import it to a new project in the webapp with no luck, so the issue may not be in your package.

I've checked again, the fontawesome package does requires you to install the font locally in advance; yet I've already included it in the ./src folder.
The compile check confirmed that the template is passing with latest version of typst, so it's not there you should dig into.
My largest doubt is that you might not include the --font-path flag when compiling, which also explains why the Roboto font is not working.

Thanks not is working, I thought the --font was not realted with the icons so didn´t include the path, my fault. We can close this issue, and thanks for the template looks fantastic :))

With pleasure!


Reconsider the Connection class API

Features:

remove the deprecated connected attribute in favour of opened property
make connection.close async method more consistent
added the refresh async method (partially addressing the issue #127)
the pool module is linted: mypy got happy when removing the asyncio.AbstractServer inheritance
related tests added (passed locally)

@nils-borrmann-tacto, hello and I invite you to review this PR.
@DaniilAnichin , @DFilyushin, @KuzenkovAG, if you have time, your reviews are very welcome and appreciated. Also I take the liberty to draw your attention to the PR #129 .

Hey! What's your plan with this PR and my PR? Are you planning to merge both of them? As far as I can see this change doesn't address any of the issues from my PR. The refresh() method is basically a copy of the old force_connect(), but doesn't change its behaviour.
If we plan to merge both of them, it would probably be better to move the at_eof() check into the refresh(). And thinking about it, we probably want a better way of dealing with a None packet. Maybe make that an exception?

Hey! What's your plan with this PR and my PR? Are you planning to merge both of them? As far as I can see this change doesn't address any of the issues from my PR. The refresh() method is basically a copy of the old force_connect(), but doesn't change its behaviour.
If we plan to merge both of them, it would probably be better to move the at_eof() check into the refresh(). And thinking about it, we probably want a better way of dealing with a None packet. Maybe make that an exception?

I am planning to work together on your PR #129 , that is why I asked you to send me invitation to your repository.
I thought that a refresh method is nice to have in the Connection class public API (the PR #130 ). Then, I guess, using refresh method in a Pool instance is a way to go  when giving a free connection from the Pool: a dangling one should not be returned (a next PR). And all of this thanks to you.
So now the PR #129 and then theses two above.

Honestly, I'm not sure about having a public refresh() api. As a user of the connection pool, I don't want to have to worry about internals or aborted connections. The library should just handle this for me, and re-establish the connection.

I guess you are right, so it may be a private one.
I'll inject refreshing logic into the Pool class and see how useful this pre-check can be.
Thank you.

@nils-borrmann-tacto , I implemented Connection refreshment logic for validating a connection before it leaves a pool and when it comes back. Thank you for your opinion and feel free to share your thoughts about the feature.
@DaniilAnichin , I requested yet another review on new features, please have a look at them any time.

Looks good now imo 👍

@nils-borrmann-tacto , @DaniilAnichin , hello again. The PR is rebased, could you possibly look at it once more? Just a last check before asking the owner to merge it. Thank you all in advance.

Supposed to go after having the PR #128 merged, but not necessarily.

@DaniilAnichin , @nils-borrmann-tacto , hello.
I have rebased the PR, could you confirm the changes are OK?

@nils-borrmann-tacto , hello. Would you have time for reviewing the PR this week?

@nils-borrmann-tacto

@nils-borrmann-tacto , hello. Is it possible to review again this PR?


Generate code for Bigtable v2 protobufs

Put V2-generated files them in a separate _generated_v2 subdir, to ease migration.
Attempt to factor generation process for clarity (toward #1482).
Supersedes #1895.

@tseaver & @dhermes is there anything specific I should keep an eye out for with these?

@daspecster The code in the _generated_v2 package you can ignore.  The other changes are attempts to improve how we generated code from protobufs (splitting up the Makefile, etc.)

Should datastore be in here with bigtable or should that be a separate PR?

The only thing I did with datastore was to factor its generate-from-protobuf bits into a separate Makefile.datastore.  I ran the generation for it, and saw minor changes to the generated code, which I then discarded (not on my radar just now).

LGTM!


ibax wallet lost public key

Clear and concise description of the problem
if anyone lost public key how can get it back
Suggested solution
it will be website on ibax and we can check in there
Alternative
No response
Additional context
No response
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Yes, problem :(


Improve code base for create API and style - [merged]

In GitLab by @perarnau on Apr 2, 2019, 16:29
Merges api-create-errors -> master
Convert area to new APIs, style checks and better error handling.

In GitLab by @perarnau on Apr 3, 2019, 11:09
added 1 commit
7d06f2b2 - [refactor] convert area to new errors, create
Compare with previous version
By Swann Perarnau on 2019-04-03T16:09:45 (imported from GitLab project)

In GitLab by @perarnau on Apr 10, 2019, 15:55
Fixes #11, #3
By Swann Perarnau on 2019-04-10T20:55:28 (imported from GitLab project)

In GitLab by @perarnau on Apr 9, 2019, 10:17
added 3 commits
9059049c - [refactor] convert area to new errors, createf6e2c2d7 - [refactor] improve bitmap create/destroyfc81105e - [refactor] convert dma to new erros, create
Compare with previous version
By Swann Perarnau on 2019-04-09T15:17:59 (imported from GitLab project)

In GitLab by @perarnau on Apr 9, 2019, 20:01
added 1 commit
8797fca6 - [refactor] convert tiling to new errors, create
Compare with previous version
By Swann Perarnau on 2019-04-10T01:01:04 (imported from GitLab project)

In GitLab by @perarnau on Apr 9, 2019, 14:16
added 2 commits
1a4d44d0 - [refactor] convert dma to new erros, createcb98d0b9 - [refactor] convert scratch to new errors, create
Compare with previous version
By Swann Perarnau on 2019-04-09T19:16:05 (imported from GitLab project)

In GitLab by @perarnau on Apr 10, 2019, 14:41
added 1 commit
90b8f8bb - [refactor] convert vector to new errors, create
Compare with previous version
By Swann Perarnau on 2019-04-10T19:41:26 (imported from GitLab project)

In GitLab by @perarnau on Apr 10, 2019, 15:24
added 1 commit
024652bd - [refactor] convert tiling iterator to new create
Compare with previous version
By Swann Perarnau on 2019-04-10T20:24:10 (imported from GitLab project)

In GitLab by @perarnau on Apr 10, 2019, 15:55
mentioned in commit 10a2b6445aa07a7732a638c9b7aa07e229c0148a
By Swann Perarnau on 2019-04-10T20:55:58 (imported from GitLab project)

In GitLab by @perarnau on Apr 10, 2019, 15:55
merged
By Swann Perarnau on 2019-04-10T20:55:59 (imported from GitLab project)

In GitLab by @perarnau on Aug 6, 2019, 13:56
mentioned in commit 10a2b6445aa07a7732a638c9b7aa07e229c0148a


Guidelines Sub Domain

What sub-domain should we use for the guidelines website?
https://insum-labs.github.io/plsql-and-sql-coding-guidelines/ is cool and all, but long and not memorable.
I would like to see code.insum.ca
Yes, no, other?

Standards.insum.ca?
Sent from my iPhone.

On Feb 8, 2020, at 12:29 PM, Jorge Rimblas<EMAIL_ADDRESS>wrote:

What sub-domain should we use for the guidelines website?
https://insum-labs.github.io/plsql-and-sql-coding-guidelines/ is cool and all, but long and not memorable.
I would like to see code.insum.ca
Yes, no, other?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Yes, standards works, but it is harder to type.  Would it have a landing page and let us choose between PL/SQL and APEX standards?
And are they guidelines or standards?

I believe the 'official' one should be either:
standards.insum.ca or guidelines.insum.ca
Both are 'harder to type', but are easy to remember.
We can also have re-direct with the others:
code.insum.ca
standards.insum.ca
guidelines.insum.ca
All should work.

I think the redirects will need to be of the form insum.ca/path
Ex: insum.ca/guidelines
Just because I think redirects of subdomains pose other issues but could be wrong.
I'll look into who can do the setup.

Redirect are fine.
Anything that is relatively easy to remember.
Maybe we need an insum.ca/shortcuts ;)

Yes! I think we do need an insum.ca/shortcuts

insum.ca/guidelines or insum.ca/code sounds great to me!

insum.ca/guidelines is now active. Actual sub domain will take a bit longer, so we’ll leave this open until it is in place.


The “Trigger this invoke” button does not work

It never worked for me in the first place.

To fix this, and also allow entities to posses and call invokes, a 'data path' system is needed which can locate specific NBT tag compounds within tileentities/entities/itemstacks by the means of a path that can be sent between client and server as NBT.

Added a temporary fix for this, Longor's system will be implemented in the near future.


chore: cache kubeproxy hotfix 1.27.9-hotfix.20240131 and 1.28.5-hotfix.20240131

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Cache kubeproxy hotfix 1.27.9-hotfix.20240131 and 1.28.5-hotfix.20240131
The previously cached images do not exist in MCR:
mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.27.9-hotfix.20240125
mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.28.5-hotfix.20240125
These are the correct images:
mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.27.9-hotfix.20240131
mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.28.5-hotfix.20240131
Which issue(s) this PR fixes:
Fixes #
Requirements:

[x] uses conventional commit messages
[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.313%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2285

Relevant Lines:
2881

💛  - Coveralls


style: 🛁 linting

Description
Update comment on Workflow to show correct version for action.
Type of change
Please delete options that are not relevant.

[X] Linting

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

Current dependencies on/for this PR:

main

PR #103   👈

This comment was auto-generated by Graphite.


Card border offset by 1px

Considering this library's wide audience and its consistent past pixel-perfect-ness, having a 2px difference in size between .card-body and .card-img-* should not be acceptable. Possible solutions are to either move the border around the whole card or to resize either the image or the card body so they have same relevant size in each case.
IMHO, having the border all around the image is bad, as some images might not look good with border, so the preferred solution would be to have the image and card body same height/width (depending on layout) and the body to have borders inside that size, on all sides except the joint side towards the image.
width: calc(100% + 2px);
margin-left: -1px;

fixes the issue when applied to vertical cards images and a similar fix would probably work for increasing the image height on horizontal cards, but I believe making body 2px smaller is better and creates fewer problems than making the image 2px bigger.

I'd like to ask if this is currently considered an issue and if a "proper" fix is anywhere in sight.

If you don't want the border around the image, remove it from the card and put it on another element. For most folks though, the current solution is acceptable. I'm not after pixel perfection, and most of our components aren't even built with pixels anymore with the move to rems.


--lint option or json schema check

Is your feature request related to a problem? Please describe.
My pipeline fails with gitlab ci yaml lint errors
Describe the solution you'd like
An --lint option that calls gitlab with my private token
Describe alternatives you've considered
git push and see error in gitlab
Additional context
https://www.npmjs.com/package/gitlab-ci-lint

Since gitlab-ci-local is made to find errors pre contacting gitlab, we will close this card.

An alternative is to use e.g. the VSCode extension.
https://docs.gitlab.com/ee/user/project/repository/vscode.html
However, I have found that the GitLab API was not really useful (https://docs.gitlab.com/ee/api/lint.html#yaml-expansion) as it has the following limitation:

The expansion does not work for CI configuration added with include: local, and the extends: keyword is not fully supported.

My understanding is that just doing --list will eventually catch all errors that GitLab reports? (e.g., #859)

It is exactly what I'm doing for this usage, indeed.


Versioned Build/Release Process

We need to come up with a process for oasis-core that will properly tag, build, and release software with some kind of versioning scheme (semantic, date based, etc).
Details

Any versioning scheme should work as long as it's documented
We would want to keep a changelog that we can point to so that operators know what kind of changes happen between releases
All published artifacts should be have proper versions associated

Acceptance Criteria

We create a design doc for handling the versioned tag, build, release process for our repos
Create any issues to handle any automation for the build/release process

The process should also take care of bumping various protocol versions. This means that we shouldn't bump the versions in each PR that changes something, but only when a release is made.
So the process needs a way to keep track of all the breaking changes.

Regarding the changelog, maybe we should have a special changelog: section for end user in git commit message which goes into changelog. So, something like:
commit 3e8e8cdad4afc113683bc04f3772311a6de593f9 (origin/matevz/feature/oasis-node-version, matevz/feature/oasis-node-version)
Author: Matevž Jekovec<EMAIL_ADDRESS>Date:   Tue Nov 26 11:09:18 2019 +0100

    oasis-node/cmd: append git HEAD commit to oasis-node version

    Appends git commit to Software version for easier debugging for
    node operators.

    changelog:
    When running `oasis-node --version`, the exact git commit is now
    appended at the end of the `Software version:
    ```bash
    $ oasis-node/oasis-node --version
    Software version: 0.2.0-alpha+abcdef
    Runtime protocol version: 0.9.0
    Consensus protocol version: 0.20.0
    Committee protocol version: 0.6.0
    Tendermint core version: 0.32.7
    ABCI library version: 0.16.1
    ```

Would produce an entry in the changelog document

oasis-node/cmd: append git HEAD commit to oasis-node version
When running oasis-node --version, the exact git commit is now
appended at the end of the Software version:
$ oasis-node/oasis-node --version
Software version: 0.2.0-alpha+abcdef
Runtime protocol version: 0.9.0
Consensus protocol version: 0.20.0
Committee protocol version: 0.6.0
Tendermint core version: 0.32.7
ABCI library version: 0.16.1

We could even shave off the oasis-node/cmd: from the title, capitalize it and add an icon of the author ;)

Regarding the changelog, maybe we should have a special changelog: section for end user at the end of git commit message which goes into changelog.

Huh, I would be reluctant to adapt such an ad-hoc approach:

Markdown in git's commit messages would not be rendered by any standard git tooling (including GitHub).
It would be impossible to correct/improve such changelog entries before preparing a release.

Also, can you show an example of a prominent open-source project that uses that?

Also, can you show an example of a prominent open-source project that uses that?

Not really... release notes are usually done manually with a short git log just dumped at the end. But it just seems an overhead for us writing all those every week or so. Let alone error prone by missing something important out.

We could require each PR to also update the "pending changelog" which is then used when preparing the final one?

We could require each PR to also update the "pending changelog" which is then used when preparing the final one?

In this case I would vote for changelog.md file with sections for each release in oasis-core repo. And the guy making a release would just wrap that for the release notes.

release notes are usually done manually with a short git log just dumped at the end.

That is a really poor approach and such a changelog has little value. I'm more in favor of a curated changelog. See https://keepachangelog.com/ for more details.

We could require each PR to also update the "pending changelog" which is then used when preparing the final one?

Yes, that is one possibility and quite an established one. One issue I have with it is that there are a lot of rebase/merge conflicts since people generally add things to the same part of the changelog file :slightly_smiling_face:.
The other possibility which is emerging recently is to have changelog fragments in separate files which are then automatically assembled into the changelog when a release is prepared. This approach resolves the constant rebase/merge conflicts.

is to have changelog fragments in separate files

Any examples to link to?

release notes are usually done manually with a short git log just dumped at the end.

That is a really poor approach and such a changelog has little value. I'm more in favor of a curated changelog. See https://keepachangelog.com/ for more details.

Is there a place where keepachangelog.com defines where to put stuff like upgrade instructions for our node operators like we did it here:
https://docs.oasis.dev/operators/current-testnet-parameters.html#deployment-change-log

is to have changelog fragments in separate files
Any examples to link to?

I'm most familiar with such tools in the Python ecosystem.
One quite popular is towncrier, which is used by (among others):

pip: https://github.com/pypa/pip/tree/db1a2754bb2aa4f92db781933661c170100f154f/news
Pipenv: https://github.com/pypa/pipenv/tree/5b6bfc96b5e50011a796ea6c3cc476b7909f38b1/news
Buildbot: https://github.com/buildbot/buildbot/tree/d2aa5a659305562bc9742afdd03c291fc83e468e/master/buildbot/newsfragments
Trio: https://github.com/python-trio/trio/tree/master/newsfragments
Telepresence: https://github.com/telepresenceio/telepresence/tree/bb2eb584cc25deba7e5920938d576693c847bed0/newsfragments

Although it is geared towards Python projects and works with rST by default, it can be made to work with Markdown and for non-Python projects.
Another one is OpenStack's reno which is more complex and uses rST wrapped in YAML, so I think less interesting for us.

Nice, so I assume this news directory gets cleaned on each release?

Nice, so I assume this news directory gets cleaned on each release?

Yes, correct.

This looks like the best solution I've seen so far, so I would be in favor of using it.

Maybe I'm mixing two things - release notes and a changelog. Upgrade instructions and special stuff the node operators (users) should be careful about are probably in release notes. Changelog is shorter and more "technical" I guess.

Yes, release notes and a changelog are two different things.
From my experience, release notes typically highlight important changes in a release and talk about upgrading from previous releases.

In addition we could have .release_notes files in news/ folder which would contain upgrade information for node operators. So the release notes would wrap the changelog + prepend upgrade instructions.

Filled/updated the following issues:

#2457
#2458
#2456
https://github.com/oasislabs/oasis-core/issues/759#issuecomment-563321833
#2460
#2461


Installer can't find discord on Linux (Zorin OS)

I'm willing to bet you installed it via snap which is not supported.

it was an appimage

I mean Discord, not the installer.

yeah i found it out. I had to download Discord from there site.


is_builtin_module(module_name)

Thanks for this great package, it was a relief to find it: indeed in my package getversion I needed a reliable way to detect if a module is built-in so as to return the system version in that case. I ended up creating a method for this: https://github.com/smarie/python-getversion/blob/master/getversion/plugin_builtins.py
However it would seem much more natural that it is in stdlib-list, dont you think?

Please standardize the terminology on “builtin” vs. “stdlib”.
For imp.is_builtin, “builtin” means “C module compiled into the Python executable” – which is quite strict:
>>> import imp
>>> imp.is_builtin('zipimport')  # built in
1
>>> imp.is_builtin('math')       # C-API stdlib module, but linked as extension (on my machine)
0
>>> imp.is_builtin('numpy')      # C-API extension, not stdlib
0
>>> imp.is_builtin('sys')        # built-in (and special)
-1
>>> imp.is_builtin('os')         # Python code in stdlib
0
>>> imp.is_builtin('requests')   # Python code, not stdlib
0

Thanks for the feedback.
I opened a PR proposing a new in_stdlib(module_name, version=None) method relying on @lru_cache for maximum efficiency.
@encukou as of now the in_stdlib method has exactly the same semantics than the already available stdlib_list method, to preserve consistency. However I totally agree that your exlanation should appear much more clearly, at least in the documentation. I would recommend to open a dedicated issue for this, so that we can then debate on the best way to address it.


Improve forms

Forms rework :

Use the platform to valid/submit form
Add related label for each field
Improve accessibility

Search form :

Add a label related to the field (invisible on screen, but accessible by screen readers and the app without CSS)
Workable without JavaScript enabled
Real submit button with label instead of empty <div onclick />

Datepicker input :

Add a label related to the field
Open the calendar by clicking on the calendar icon
Fix Datepicker from events filter is broken with a recent update of Firefox #899

Report form

Add label to each field
Display a global message error above the form
Display an individual message error for each related field
Fix  Remplacer oldGetSpacing par getSpacing #16

Other

Upgrade react-select package to 5.7.2

Joli ménage ! 🎉


Using I18n.js with handlebars.js in Rails

This is more a question on usage rather than an issue but since I am not getting any response on Stackoverflow I decided to ask here. Sorry if this is not appropriate.
I have a template in handlebars.js and I want to use translations there but it doesn't seem to work. My default locale is :de but I am getting English attribtue names.
This form gets appended once a form gets submitted and records gets created.
questions.js
Handlebars.registerHelper('tAttr',
  function(str){
    return (I18n != undefined ? I18n.t('activerecord.attributes.question.' + str) : str);
  }

 $('#question-form').on('ajax:success', function (evt, question, status, xhr) {
    var $form = $(evt.currentTarget);
    var questionHTML = HandlebarsTemplates['questions/show']({
      question: question,
      idx: Date.now(),
      authToken: $('meta[name="csrf-token"]').attr('content')
    });
    $('#questions').prepend(questionHTML);
);

questions/show.hbs

{{tAttr 'body'}}: {{question.body}}

    {{#if question.race}}

{{tAttr 'which_race'}}: {{question.which_race}}

    {{/if}}

{{tAttr 'half_breed'}}: {{question.half_breed}}

{{tAttr 'age'}}: {{question.age}}

{{tAttr 'weight'}}: {{question.weight}}

{{tAttr 'gender'}}: {{question.gender}}

I do have config/de.yml file but am getting English attributes names. What am I missing?
Do I need to manually export the translations by rake i18n:js:export?
rails -v
Rails 5.0.2

I have verified in console that I18n.backend is I18n::Backend::Simple

I've managed to fix this. I have learned to debug javascript in DevTools and was able to notice that I18n.defaultLocale was set to "en". I have fixed it by adding this snippet in my rails view.


Change normed=True to density=True and use the term "density scale"

We'll make density scale the default instead.


How to define timestamps in Carbon Black Cloud Syslog Connector 2.0

Describe the bug
Could you please help me with the timestamp of the logs of Carbon Black Cloud Syslog Connector 2.0.3?
Below is the log of vRLI, which is the forwarding destination of Carbon Black Cloud Syslog Connector.
"2024-07-24T04:45:02.885907Z localhost CEF:1|CarbonBlack|CBCSyslog|2.0.3|Audit Logs|Logged in successfully through Google Authenticator|1|rt=1721796131588 dvchost=xxxxx.co.jp<EMAIL_ADDRESS>dvc=xx.xx.xx.xx cs4Label=Event_ID cs4=xxxxxxxxxx"
"rt=" is the actual time when the log was output, but currently it is "rt=1721796131588",
which appears to be in UNIX timestamp format.
When converted to date and time, it becomes 2024/07/24 13:42:11, which matches the time when the log was actually output.
Please tell me how to output the "rt=" part in datetime_legacy (= Uses current time with format e.g. Jan 18 11:07:53) format that can be defined in the syslog header.
For example, in 1.3.1, the output is rt="Jun 07 2022 01:04:47".
I have attached the current configuration file so could you please check how to get the same output?
Reproduction steps
1.Carbon Black Cloud Syslog Connector 2.0.3
2.Attached config file
3.(For example) rt=1721796131588
...
Expected behavior
rt="Jun 07 2022 01:04:47"    (JST)
Additional context
No response

my-config.toml_20240725.txt

This is an additional confirmation.
Would the following modifications result in the expected behavior?
Fixed parts are in bold and italicized.
Before modification
[audit_logs_template]
template = "{{datetime_legacy}} localhost CEF:1|{{vendor}}|{{product}}|{{product_version}}|Audit Logs|{{description}}|1|{{extension}}"
type_field = ""
time_format = "%b %d %Y %H:%m:%S"
time_fields = ["eventTime"]
[audit_logs_template.extension]
default = "rt={{eventTime}}\tdvchost={{orgName}}\tduser={{loginName}}\tdvc={{clientIp}}\tcs4Label=Event_ID\tcs4={{eventId}}"
After modification
[audit_logs_template]
template = "{{datetime_legacy}} localhost CEF:1|{{vendor}}|{{product}}|{{product_version}}|Audit Logs|{{description}}|1|{{extension}}"
type_field = ""
time_format = "%b %d %Y %H:%m:%S"
time_fields = ["eventTime"]
[audit_logs_template.extension]
time_format = "%b %d %Y %H:%m:%S"
time_fields = ["eventTime"]
default = "rt={{eventTime}}\tdvchost={{orgName}}\tduser={{loginName}}\tdvc={{clientIp}}\tcs4Label=Event_ID\tcs4={{eventId}}"

See the following section in the readme https://github.com/carbonblack/cbc-syslog?tab=readme-ov-file#creating-a-custom-message-with-templates
time_format and time_fields are non needed in the [audit_logs_template.extension]
Here is the example in the readme
 [alerts_template]
 template = "{{datetime_utc}} localhost CEF:1|{{vendor}}|{{product}}|{{product_version}}|{{reason_code}}|{{reason}}|{{severity}}|{{extension}}"
 type_field = "type"
 time_format = "%b %d %Y %H:%m:%S"
 time_fields = ["backend_timestamp"]

 [alerts_template.extension]
 default = "cat={{type}}\tact={{sensor_action}}\toutcome={{run_state}}"
 CB_ANALYTICS = "cat={{type}}\tact={{sensor_action}}\toutcome={{run_state}}\tframeworkName=MITRE_ATT&CK\tthreatAttackID={{attack_tactic}}:{{attack_technique}}"

 [audit_logs_template]
 template = "{{datetime_utc}} localhost CEF:1|{{vendor}}|{{product}}|{{product_version}}|Audit Logs|{{description}}|1|{{extension}}"
 time_format = "%b %d %Y %H:%m:%S"
 time_fields = ["eventTime"]

 [audit_logs_template.extension]
 default = "rt={{eventTime}}\tdvchost={{orgName}}\tduser={{loginName}}\tdvc={{clientIp}}\tcs4Label=Event_ID\tcs4={{eventId}}"

Note our timestamps are in UTC and are not convertible to a different timezone at this time. That will need to be handled at the destination

@avanbrunt-cb
Thank you for contacting us.
Please allow me to confirm one additional point.

Note our timestamps are in UTC and are not convertible to a different timezone at this time. That will need to be handled at the destination

As mentioned above, the version for which this phenomenon (timestamp in UTC) has been confirmed is 2.0.3.
We are aware that this has not occurred in 1.3.1.
From which version is the event occurring?

We do not support CBC Syslog 1.3.1 any more and the only supported versions are CBC Syslog 2.x.
The new APIs behind the CBC Syslog 2.x version only support UTC timestamps and can be configured as you desire by providing a compatible strftime string in the time_format option.
From the readme:
time_format and time_fields provides you the ability to customize the way the timestamps are formatted and which fields to modify. This utilizes python strftime formatting, for more information on strftime formats see https://strftime.org/

@avanbrunt-cb
Thank you for your response.

The new APIs behind the CBC Syslog 2.x version only support UTC timestamps and can be configured as you desire by providing a compatible strftime string in the time_format option.

We are aware that the CBC Syslog 2.x version only supports UTC timestamps.
We have confirmed this for https://strftime.org/.
From the following configuration, I expected the output to be rt=“Jun 07 2022 01:04:47” as in CBC Syslog 1.3.1.

time_format = "%b %d %Y %H:%m:%S"
time_fields = ["eventTime"]

Could you please respond to the following two points?

I am afraid I am repeating myself,
Please let me know how to configure it to output date and time type output like rt=“Jun 07 2022 01:04:47”.

Please let us know if the CBC Syslog configuration does not support date and time type output.
The syslog is sent to vRealize Log Insight.

That will need to be handled at the destination

Yes %b %d %Y %H:%m:%S corresponds to the timestamp format of Jun 07 2022 01:04:47
The following example will set the timestamp as you expect using the CEF syslog format where rt=“Jun 07 2022 01:04:47” is included in the extension
[audit_logs_template]
 template = "{{datetime_utc}} localhost CEF:1|{{vendor}}|{{product}}|{{product_version}}|Audit Logs|{{description}}|1|{{extension}}"
 time_format = "%b %d %Y %H:%m:%S"
 time_fields = ["eventTime"]

 [audit_logs_template.extension]
 default = "rt={{eventTime}}\tdvchost={{orgName}}\tduser={{loginName}}\tdvc={{clientIp}}\tcs4Label=Event_ID\tcs4={{eventId}}"

If you want to try a few options then use file as the output_type with template as the output_format

@avanbrunt-cb
Thank you for your response.

Yes %b %d %Y %H:%m:%S corresponds to the timestamp format of Jun 07 2022 01:04:47
The following example will set the timestamp as you expect using the CEF syslog format where rt=“Jun 07 2022 01:04:47” is included in the extension
[audit_logs_template]
 template = "{{datetime_utc}} localhost CEF:1|{{vendor}}|{{product}}|{{product_version}}|Audit Logs|{{description}}|1|{{extension}}"
 time_format = "%b %d %Y %H:%m:%S"
 time_fields = ["eventTime"]

 [audit_logs_template.extension]
 default = "rt={{eventTime}}\tdvchost={{orgName}}\tduser={{loginName}}\tdvc={{clientIp}}\tcs4Label=Event_ID\tcs4={{eventId}}"

If you want to try a few options then use file as the output_type with template as the output_format

It seems to be the same as the config I have previously drafted, but it does not work as expected.
Is the following wording unnecessary?
type_field = “”
Just to be sure, here is the config.
https://github.com/carbonblack/cbc-syslog/issues/92#issuecomment-2342440804

I'm not sure where you are getting type_field = “”. You use the following to specify which fields you want modified to the specified format time_fields = ["eventTime"] then in the extensions you include that field value default = "rt={{eventTime}}
Can you provide your current configuration and a sample output?

@avanbrunt-cb
Thank you for your response.
The current configuration and output as drafted here is as follows.
https://github.com/carbonblack/cbc-syslog/issues/92#issue-2518251769
"rt=" is the actual time when the log was output, but currently it is "rt=1721796131588",
which appears to be in UNIX timestamp format.
When converted to date and time, it becomes 2024/07/24 13:42:11, which matches the time when the log was actually output.
I would like to output the data in a date/time type like
"rt=Jun 07 2022 01:04:47” instead of the UNIX timestamp format.
Configuration
[audit_logs_template]
template = "{{datetime_utc}} localhost CEF:1|{{vendor}}|{{product}}|{{product_version}}|Audit Logs|{{description}}|1|{{extension}}"
type_field = ""
time_format = "%b %d %Y %H:%m:%S"
time_fields = ["eventTime"]

[audit_logs_template.extension]
default = "rt={{eventTime}}\tdvchost={{orgName}}\tduser={{loginName}}\tdvc={{clientIp}}\tcs4Label=Event_ID\tcs4={{eventId}}"

Output
"2024-07-24T04:45:02.885907Z localhost CEF:1|CarbonBlack|CBCSyslog|2.0.3|Audit Logs|Logged in successfully through Google Authenticator|1|rt=1721796131588 dvchost=xxxxx.co.jp duser=[xxxxx<EMAIL_ADDRESS>dvc=xx.xx.xx.xx cs4Label=Event_ID cs4=xxxxxxxxxx"

Ah I missed the issue. Sorry for the confusion. It appears the timestamp we are receiving from the backend is in milliseconds which causes an issue with the transform. I will get a fix delivered tomorrow

@avanbrunt-cb
Thank you for your response.
We understand that you can provide us with a corrected version.
Thank you very much for your cooperation.

Here is a branch if you want to test https://github.com/carbonblack/cbc-syslog/tree/fix-epoch-milliseconds I'll try to get a new release cut tomorrow

@avanbrunt-cb
Thank you very much for your prompt response.
We look forward to working with you.

@avanbrunt-cb
Sorry for the continued inquiry.
We have heard that you can fix the problem, but which of the following would you suggest?

Upgrade of CBC Syslog Connector
Modification of the CEF template (https://github.com/carbonblack/cbc-syslog)

Please confirm the above.

This has been fixed with CBC Syslog 2.0.6. Please upgrade to the latest version

@avanbrunt-cb
We apologize for the delay in contacting you.
Thank you very much for your response to this matter.
It was very helpful.
Please close this issue.
Thank you very much for your continued support.


Is this project dead

Is the development of this package stopped?

Yes....it throws error with the current react native version

You should use https://github.com/react-native-admob/admob

Even with stopped development, I'm still using (not recommended), need to adjust lib build.gradle to make it work, too bad, but it was a great lib.

https://github.com/invertase/react-native-google-mobile-ads is being actively developed.

Seconding https://github.com/invertase/react-native-google-mobile-ads - @dylancom is doing a fantastic job over there, and it's supported by Invertase as well (maintainers of react-native-firebase / official Google Firebase port for react-native, and previous home of admob - so it's got years of support baked in already, only now is a separate package)

This project should be marked as deprecated long time ago


Add WithSecrets to app installer

It would be useful to create a func to install secrets in the new app installer
Something like .WithSecrets() that creates the secret as part of the install commands.

/assign: me


Broken in 1.20.5 (expected)

Would love to see work toward a 1.20.5 update. I understand it's a big undertaking. Thank you!

This mod has been update to 1.20.5, you can download the mod on modrinth here


Cross-platform installer?

Innosetup is fine, but a cross-platform installer would be grand, especially if it handled updates!

I think this one is shooting too high. I don't know any software that actually has a cross-platform installer, and most Mac apps just come as a packaged .app these days. The Mac App Store makes this even more obvious.
But, if you want to handle updates, the preferred non-App-Store solution on the Mac would be http://sparkle.andymatuschak.org/.

Not so much an installer that is cross-platform as one that allows installers to be created on any platform. As far as I could see, however, the systems that do that are all commercial, so untenable.


updating readme from branch example

Updates
I updated the readme file. Please review and accept.

Thoughts
its fine


Remove mentions of rancher telemetry

Created for tracking purposes.
Need better definition.
SURE-9295

Note: there is already a PR for this https://github.com/rancher/dashboard/pull/12614

Rancher version: v2.11-9b44650ef128d3fca6bd77eedbce8a577a401dec-head


Default threadpool uses unbounded queue

com.climate.claypoole/threadpool creates an instance of ScheduledThreadPoolExecutor
It uses an unbounded queue which leads a silent accrue leading to exhaustion of resources.
Also we don't get finer control over what should be done when pool and queue are exhausted.
Proposed solution,

Use java.util.concurrent.ThreadPoolExecutor
Provide API for,
** queue size
** Selecting different policies. ie AbortPolicy, CallerRunsPolicy

The design permits you to create a threadpool of your own choice and use that. Does that meet your need here?

Yup, I love that I can create a thread pool of my choice, and it just works.
I was thinking of the library defaults. If that's something you don't think shouldn't change, we can add an example and a section in the documentation.


Font combo one: Lato and OpenSans

This is one potential option for a font pairing for conda.org. I have also added some CSS updates for the for the front page.

I think this looks better than #65. Also, I came across Nunito font, which might look good here. How about testing Nunito and OpenSans?

https://github.com/conda-incubator/conda-dot-org/pull/69

@Asmit2952, I added another pull request with the font you requested:

https://github.com/conda-incubator/conda-dot-org/pull/69


Advanced vga_printf

Adding printf flags and precision, it should now more closely resemble the POSIX printf.
This will come in handy to implement upcoming features such as printing the stack.
Also paves the way for implementing sprintf (buffer overflow galore).

TODO: Resolve types conflict warnings, sprintf and snprintf in preparation of the history position indicator.

I'll merge this for now, I'll add sprintf and snprintf and fix the compilation warnings in a subsequent PR.


Cleaner integration tests

Added cleaner integration tests as suggested in #441
Description
My solution uses a mocked osgi context as well as in-memory mock of mongoDB server. It checks various combinations of cleaner params (versions to keep and suite max age) and verifies whether correct metadata and artifacts documents have been removed from database.
For testing data I used real json objects extracted from my local aet instance db after a couple of runs (with some timestamp changes).
To make testing possible I had to incorporate some changes in cleaner code. This includes LocalDateTimeProvider interface to mock current system time and CamelContextCreator to inject different camel context configuration during testing and normal execution.
Motivation and Context
Refers to enhancement brought up in #441
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed (and updated if needed) the documentation regarding this change

I hereby agree to the terms of the AET Contributor License Agreement.

Good job!


Add coverage, gha, jenkins server, documentation and forum badges

Signed-off-by: Suraj Singh<EMAIL_ADDRESS>Description
Adds badges to readme for different jobs listed below

GHA gradle check
GHA precommit
GHA validate pull request
Public jenkins gradle check
Documentation
Forum

Issues Resolved
#1323
Related
#850
This change also backports older changes around logo, security & trademark.

https://github.com/dreamer-89/OpenSearch/tree/readme_badges_1.3
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #3890 (c35420d) into 1.3 (46405e7) will increase coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                1.3    #3890      +/-   ##
============================================
+ Coverage     77.84%   77.89%   +0.05%
- Complexity    63404    63444      +40
============================================
  Files          4453     4453
  Lines        274887   274887
  Branches      41164    41164
============================================
+ Hits         213978   214129     +151
+ Misses        43998    43846     -152
- Partials      16911    16912       +1

Impacted Files
Coverage Δ

...ava/org/opensearch/action/NoSuchNodeException.java
0.00% <0.00%> (-50.00%)
:arrow_down:

...regations/metrics/AbstractHyperLogLogPlusPlus.java
51.72% <0.00%> (-44.83%)
:arrow_down:

.../opensearch/search/builder/PointInTimeBuilder.java
51.35% <0.00%> (-29.73%)
:arrow_down:

.../java/org/opensearch/index/merge/OnGoingMerge.java
71.42% <0.00%> (-28.58%)
:arrow_down:

...va/org/opensearch/client/sniff/SnifferBuilder.java
72.72% <0.00%> (-27.28%)
:arrow_down:

...ava/org/opensearch/OpenSearchTimeoutException.java
50.00% <0.00%> (-25.00%)
:arrow_down:

...pensearch/index/shard/SearchOperationListener.java
75.53% <0.00%> (-23.41%)
:arrow_down:

...ch/action/support/replication/ReplicationTask.java
46.15% <0.00%> (-23.08%)
:arrow_down:

...nsearch/index/shard/IndexingOperationListener.java
63.93% <0.00%> (-22.96%)
:arrow_down:

.../java/org/opensearch/index/reindex/RemoteInfo.java
49.55% <0.00%> (-21.24%)
:arrow_down:

... and 454 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 46405e7...c35420d. Read the comment docs.

Moved badges after logo & change ordering of badges.


Bytes out incorrect

echo "GET http://open.stage.bbc.co.uk/loadtest/2kb" | vegeta attack -duration=1m -rate=10000 | tee results.bin | vegeta report

Bytes Out     [total, mean]            0, 0.00

BytesOut is the number of sent bytes in the HTTP body. Doesn't seem like you're sending a body.

On 19. Jun 2017, at 19:27, aidylewis<EMAIL_ADDRESS>wrote:
echo "GET http://open.stage.bbc.co.uk/loadtest/2kb" | vegeta attack -duration=1m -rate=10000 | tee results.bin | vegeta report
Bytes Out [total, mean] 0, 0.00
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Correct


bug: <esc> key not working due to remap

Did you check docs and existing issues?

[X] I have read all the flash.nvim docs
[X] I have searched the existing issues of flash.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.10.0-dev-80f75d0
Operating system/version
macOS 14.1
Describe the bug
Using <Esc> to disable Flash doesn't work for me, probably because I remapped my key as such:
<Cmd>lua MiniMap.refresh({}, {lines = false, scrollbar = false})<Cr><Cmd>nohlsearch<Cr>

Steps To Reproduce
n/a
Expected Behavior
<Esc> should move out of "Flash mode".
Repro
No response

To clarify; <Esc> works as expected in search mode (e.g. / or ?), but not in char mode (f, F, etc.).

I resolved it by adding the following to my custom keymap:
<Cmd>lua require('flash.plugins.char').state:hide()<Cr>

Not sure if this is the right approach (it appears so, looking at the code), but it works. Posting it here for anyone else running into this.

Same problem, but I found the root cause is that my <esc> is mapped previously.
Work it out by append this to my previous noremap:
vim.api.nvim_feedkeys(vim.keycode "<esc>", "n", false)

For anyone finding this in google, LavyVim has a clever solution where it includes the escape key in the mapping, which gives flash (and any other plugin that might care) a chance to see the escape key
-- Clear search with <esc>
map({ "i", "n" }, "<esc>", "<cmd>noh<cr><esc>", { desc = "Escape and Clear hlsearch" })


Should obfuscate passwords.

Probably using same mechanism as https://github.com/isisaddons/isis-module-security (jbcrypt).

moved to https://github.com/incodehq/incode-platform/issues/53


Support Amazon EBS Snapshot

http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-CreateSnapshot.html

Taking snapshots in order to make copies of instance store volumes is not so relevant from the OrientDB side. It should be better working for backups to Amazon S3.
Closing this issue and moving the topic here:
https://www.prjhub.com/#/issues/9056
Thanks,
Gabriele


BW6 generic final exponentiation

Description
bilinearity test fails.
closes #https://github.com/arkworks-rs/algebra/issues/625

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (master)
[ ] Linked to GitHub issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[ ] Wrote unit tests
[ ] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[ ] Re-reviewed Files changed in the GitHub PR explorer

@yelhousni I was following A.3 from https://eprint.iacr.org/2021/1359.pdf, and the sage scripts in https://gitlab.inria.fr/zk-curves/snark-2-chains/-/blob/master/sage/pairing_bw6_bls12.py. I've added way too many checkpoints, yet still the bilinearity seems to be broken with the current implementation and by now I've no further ideas of what could be wrong - maybe you manage to spot the mistake?
Also maybe @weikengchen?
Here's the curves counterpart in my fork: https://github.com/mmagician/curves/tree/bw6-only-final-exp


Lot instances of screen

I use default StackNavigator, after navigation in my application i got a lot  instances of screen
It's normal?
See attached for details.

My first guess is redux interferes in some weird way. react-navigation on it's own should be no root of problem here.

For redux connecting, i use this documentation  https://reactnavigation.org/docs/guides/redux.
Also, without redux, i have the same problem.

My test case

Home screen, go to Setting screen
Setting screen
2.1 If i use goBack i got one instance of Home Screen
2.2 If i use navigate('Home screen') i got new instance of Home Screen

Maybe this part of code must check existing instance of  screen?
https://github.com/react-community/react-navigation/blob/master/src/routers/StackRouter.js#L151

I ran into the same issue. It seems that we need to use goBack or reset, but reset may cause other issues when you have multiple nested StackNavigator.

Closing in favour of #706


Menu click always back to the top of screen

Question
In my doc, I has lots of menu, such as the below:

when I scroll down and click a menu, I want the scroll not back to top, like the below:

but it will not perform like i want:

i want know how can i solve this problem @pedronauck

Great, pull requests are welcome 🙏

Hey @HadeAs thanks for the bug report!
I have labelled this as a 'good first issue' so hopefully someone comes along and takes a look at it. I am quite busy at the moment but if someone hasn't looked at it soon I will try take a look for you :muscle:

@Glazy @pedronauck Hey, would love to work on this as my first issue here.

Hello everybody.
I thought that i could handle this issue and tried to reproduce it. But it seems to me, that everything works as expected.
@HadeAs could you please approve, that this issue is still reproducing? Could you text me and provide more information about how to reproduce it?

Have the same issue in my own docz project. It seems like the menu on left won't hold its own scroll position after each menu click.

Hey @co16353sidak, @kmoiseenko
I know this is a bit late, but are you still interested in giving this a shot ?
You can find a repro here : https://github.com/rakannimer/docz-issue-824
Happy to help get it done if you are 👍

I think this can be closed, right?

Hey @rubenmoya
Thanks for reminding me. Yep this behavior was added to docz 👍
Going to close this, please feel free to open a new issue for any other bug/requests.

@HadeAs Did you resolve this issue, I met this issue as well.


Video doorbell

You can make other version to use as video doorbell? Push bottom, send picture to e-mail, make video call.

And use usb camera

Thank you for the suggestions. I already have an issue for using a USB webcam. However, the video doorbell is a very good idea! :+1:

Right now the security camera does not initiate any outgoing calls, so I would have to figure that out. I suspect it's possible, though. And of course we would have to configure the destination Linphone "number".
BTW, I welcome conversations in these issues (as suggested by GitHubs own guidelines).

Please if you can make I be happy :)

I do not know for sure that it will be possible. However, I will look into this. (I have some other projects going, but I hope to work on this again soon.)
Yours is the first suggestion I have received, and I appreciate it, so will do my best. (As always.)

Just an update: I have started researching this and found that it is possible to initiate an outgoing call from Python... at least according to the documentation. I am going to be busy today, but in honor of Pi Day (2016.03.14) I am going to spend my free time on this.
Of course the "video doorbell" will require a button, as you requested, and this will require changes to the hardware, but will be minor if you are familiar with breadboards/circuit assembly.

thanks! let me know when you start work on it! be great if use usb camera to, because the camera have mic, and the pi have 3.3mm audio out!
because is video doorbell no need motion sensor just gpio push bottom.

Yes, @toshibochan I'm actually hoping to work on this tomorrow, if I'm able.
I understand you would like a button instead of a motion sensor. I think I will make the device do both. :+1: You will only need to set the PIRPIN=0 to disable the motion sensor. I will include details in the code. :)

Also, @toshibochan I have not forgotten the USB camera. That is also a good idea, but as I mentioned before, I have another issue opened for that (here: [https://github.com/lelandg/Raspberry-Pi-Security-Camera/issues/19] )

If you use USB camera on the python file on the audio and video you have to add to receive video from the camera, mic from the camera and speaker I use 3.5 jack from the pi. But because pi is set audio to go to HDMI you have to force to go to 3.5 jack on terminal.

I will post my solution soon! But I having problems with USB camera ejecting after the call

By default output will be automatic (hdmi if hdmi supports audio, otherwise analogue). You can force it with:
amixer cset numid=3
where n is 0=auto, 1=headphones, 2=hdmi.

Thanks, Toshi! :)
FYI, I've been working on this today, but am going to have to stop for today (my hands bother me). I think I have the code implemented, have the button working for a doorbell, except I'm having trouble connecting with an outgoing call.
I know that it is possible, so there may be something I'm missing and I think I'll get there. :)

you have the documentation for me take look?

By default output will be automatic (hdmi if hdmi supports audio, otherwise analogue). You can force it with:
amixer cset numid=3 n
where n is 0=auto, 1=headphones, 2=hdmi.

I'm sorry, but I somehow lost my script that prepares this script for release, so it will be tomorrow at the soonest. (I had a script that replaces all personal information with generic, e.g<EMAIL_ADDRESS>I use the personal info for testing. So I have to finish rewriting that script.)
Even then, I do not want to send you something that does not work, so hang in there. :+1: We'll get there soon.
No other documentation has changed, yet. :)

I can't wait! Thanks!

Hey @toshibochan ,
Just FYI--I got the device to call me today! But there was no video. I'm not sure why, but now it's telling me that the same camera I was using is not found. Yet I can otherwise use the camera and it is still working. Possibly I've installed/upgraded something that has broken Linphone, but at this point I'm a bit flabbergasted. Then again, perhaps it's one of those that I'll see first thing in the morning. :)
Anyway, I was excited when I heard the ringing sound in my headphones and was able to answer the call! So I think I'm very close.... :)
I have also been doing some fairly significant refactoring. I've removed (almost) all "print" statements and everything is going to the same Linphone log file. This is a big help and also results in cleaner-looking code.
So quite a few changes coming your way soon, I hope.
Thank you for your patience and enthusiasm. :+1:  :)

That's amazing!
I'm just playing learning  how to do pushetta now!
I wish I know how to do coding!

But we also have chat and video (or we did earlier today--ha!). Can Pushetta do that? :)
(Maybe they can... I just saw the site and it looks cool.)
Not so amazing when you know how. In fact, I'm slow in my older age... but can't help that. ;)
You can learn to code if you want to. I am totally self-educated except for 5 clock-hours and on-the-job training. What that means is I just read a lot of books about programming, typed in the examples and understood them enough to change them and play with them. I think it's a pretty good way to learn and you don't need a college degree! (I don't have one!) And it can be way more fun because you can study what you want to do. :) Of course these days you can find even better tutorials online!
So get some books or online tutorials and go for it!!! :100:

Well, I think this is good. Except my camera is not working with a script that I just used it with... (and I know that was working because we just ran it today on another RPi and it worked fine).
So, it seems I was right and something has changed my system somehow.
If I came to him with a problem or question about development my boss used to tell me, "Let me know when you find out!" So I will keep you posted! :) :+1:

@toshibochan ,
Great news! I ran the new script, pushed the button and got a call on my PC (where I was logged into Linphone)!! And when I answered, I had video! :) That first session crashed, but I quickly found and fixed that problem, and guess what!?! It's working!!! (I'm checking it in right after I post this!)
We have a video doorbell, so I'm calling this version 0.2.0 since this is a significant feature.
Only thing is, I don't have audio from the camera to the client working and I'm not sure why. I'll look into this next, but for now, it is very useful because you could tell them that you can't hear them and then that you'll be there in a minute, or whatever. :)
Oh, and I just realized that I don't have the button in the Fritzing file, yet. I just connected it to GPIO 18 and GND. That's all there is to the hardware! Note that you can put that on a long wire so the button is outside but your RPi is inside where it's nice and dry. (Although, if the button can get wet, I would waterproof it somehow.
Likewise, you could mount the USB camera in the door/wall/ceiling, etc.
Oh, yes, and the USB web cam is working great! :)

You are amazing! Where I can download?

I'm exciting to try! I been using my web cam on linphone but my USB camera keep loosing connection and linphone crashes! This happens to you?You know way?

@toshibochan I just now checked it in! I always do a last-minute check and I found a bug, so fixed it.
On the crashes, I have seen that happen a couple of times, BUT after I fixed these latest bugs I have NOT seen a crash. If you keep seeing them with this new version, will you please create a new issue and categorize it as a bug? I would appreciate it!
Thank you for your kind compliments, as always. :+1: :-)
Let me know how it goes! I'm closing this issue, but I think we can still comment on it. ;-)

This feature is implemented. Further comments are welcome, even though I'm closing the issue. :-) :+1:

@toshibochan I also updated the ReadMe file. In addition to the snappy graphic (designed by my brother, Noel Green), I added a section on installation. Even if you've used the script you should check this out. Especially relating to the new utility scripts that are now included in the project. Very handy to use them. ;-)
BTW, this issue is now listed under the "Closed" tab. :+1:


unpin fsspec

close https://github.com/huggingface/datasets/issues/5618

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


There is a severe error in the Chinese machine translation of the Windows Insider Program glossary documentation.

Describe the bug
There is a severe error in the Chinese machine translation of the Windows Insider Program glossary documentation.
To Reproduce
Go to https://docs.microsoft.com/zh-cn/windows-insider/glossary website.
Expected behavior
The Chinese translation in this page has a lot of errors. For example, the word Badges in the first paragraph, which corresponds to the Chinese word for "徽章", is incorrectly translated as "锁屏提醒". There are many other translation errors.
If Microsoft requires my assistance, I can assist in preparing a proper bilingual translation of the document. I happen to be from China, and am a Microsoft Windows Insider MVP.
Desktop (please complete the following information):
Windows 10, Microsoft Edge Canary.

Thanks very much!
Best regards,
Ling Gao
Microsoft Windows Insider Most Valuable Professional

@bleblanc do you know the loc contact for the URL cited?

@bleblanc do you know the loc contact for the URL cited?

CC: @dougkim1

CC: @dougkim1


Bug/user credentials error

PR for issue #No-Issue .
Ready for a PR?

[x] I have updated the CHANGELOG with an entry including a description, a link to my profile, and a link to the issue ticket. This change is filed under an Enhancement or Bug Fix, is shown under the relevant release tag name, and is included in my PR branch.

Implementation Notes:
Breaking changes:
None, should unbreak some changes

@dehli This should be fixed now, let me know if it looks good to you!

@dehli Should be better now!


[8.x] Memory leak on testing

Laravel Version: 8.6.3 / Framework 8.64.0
PHP Version: 8.0.11
Database Driver & Version: NA

Description:
On extensive PHPUnit testing, the application suddenly stops with the following message:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in P:\[REDACTED]\example-app\routes\web.php on line 1

After further investigation, we couldn't pin-point at time of writing the culprit on application-code. Our tests failed on different places, but this line was the most common. We couldn't end a single test run without a memory leak.
We suspect that something is kept while refreshing the application with $this->createApplication(), as we could replicate the same behaviour using a loop.

Using --parallel gives us no memory leak errors, but some other weird errors exclusive of parallel testing and we won't/can't fix.

Steps To Reproduce:
Just simply make a new Laravel Framework in your PC.
composer new-project laravel/laravel example-app

cd example-app

Edit the included tests/Feature/ExampleTest.php first test with a loop refreshing the application.
<?php

namespace Tests\Feature;

use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class ExampleTest extends TestCase
{
    /**
     * A basic test example.
     *
     * @return void
     */
    public function test_example()
    {
        for ($i = 0; $i < 1000; ++$i) {
            $this->createApplication();
        }
    }
}

Once done, call artisan to test (or PHPUnit directly).
php artisan test

You should receive this line after a short while:
PS P:\[REDACTED]\example-app> php artisan test
Warning: TTY mode is not supported on Windows platform.

   PASS  Tests\Unit\ExampleTest
  ✓ example

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in P:\[REDACTED]\example-app\routes\api.php on line 1

You should get the same problem, at least on Windows. We haven't tested on MacOS or Linux because we're poor AF and noob AF. We couldn't decipher the Xdebug profiler snapshots we made under that test because we're dumb AF too.

Well, after checking manually each Service Provider (tested larger groups until I found the group that contained the culprit, I ended up with the \App\Providers\RouteServiceProvider.
Even when tested in isolation, the RouteServiceProvider would gladly take all memory available. The boot() method of this provider is simple: sets some Rate Limits, and then register the routes of the application.
/**
     * Define your route model bindings, pattern filters, etc.
     *
     * @return void
     */
    public function boot()
    {
        $this->configureRateLimiting();

        $this->routes(function () {
            Route::prefix('api')
                ->middleware('api')
                ->namespace($this->namespace)
                ->group(base_path('routes/api.php'));

            Route::middleware('web')
                ->namespace($this->namespace)
                ->group(base_path('routes/web.php'));
        });
    }

    /**
     * Configure the rate limiters for the application.
     *
     * @return void
     */
    protected function configureRateLimiting()
    {
        RateLimiter::for('api', function (Request $request) {
            return Limit::perMinute(60)->by(optional($request->user())->id ?: $request->ip());
        });
    }

Disabling the configureRateLimiting() did nothing, but it was until I disabled all routes registration when the memory leak was fixed.
Meddling with how the routes are created, the Router group() method accepts both a file or a closure to register "child" routes.
First, I tried to make a bunch of routes using just static closures returning void, something like this:
Route::middleware('web')
    ->namespace($this->namespace)
    ->group(static function(): void {
        Route::get('foo', fn(): void { });
        Route::get('bar', fn(): void { });
        Route::get('baz', fn(): void { });
       // ...
});

This made no difference. It radically changed my approach and decided to make a sea of files which the Route group() would receive, starting with base_path().
Route::middleware('web')
    ->namespace($this->namespace)
    ->group(base_path('routes/test.php')

// routes/test.php
Route::group(__DIR__ . 'test/foo.php');

// routes/test/foo.php
Route::group(__DIR__ . 'bar.php');

// You catch my drift...

Memory leaked found.

Thinking that caching the routes with php artisan route:cache would fix or help this problem, but it didn't work, as the memory leak presented itself again.
If I remove all routes, I can easily get 5x times more runs, so it seems that something doesn't flush and its kept there. Again, everything goes AWOL once bootstrap() on the Console Kernel is hit. It seems also related to the config itself.
There are also Deferred Providers that are run after the other registered services providers are booted, which may pose another point of contention. I can confirm there is no memory leaks if I comment some Facades, disable loading the Deferred Providers, and only leaving from the Console Kernel bootstrappers:

\Illuminate\Foundation\Bootstrap\LoadEnvironmentVariables,
\Illuminate\Foundation\Bootstrap\LoadConfiguration

Once I enable HandleExceptions, I see the memory slowly rising to 50MB at 10,000 iterations. That's kind of acceptable. The RegisterFacades doesn't do much along the SetRequestForConsole. Is after RegisterProviders and BootProviders I see more aggressive memory consumption, growing up each loop, until depletion, and not counting the Deferred Provided which I commended from loading.
So, I'm back to square one. It's not that the Routes are a huge memory leak, but rather, something in PHP is leaking memory each time the application is bootstrapped. Kinda of out ideas.


Star history

A feature that I think could be implemented and cool to have would be a star history graph, probably a small one, that would give a brief glance to how a repository may be growing or trending over time.
This data can be pulled using the github api,
by listing stargazers, which can also give the date of a star which lets you reconstruct the repo's star history at various points in time.
EDIT: Not sure if star date is supported by the starrable interface in the graphql api

Thank you @wesngu28 for this great idea!
I looked a bit into it and it seems to be a bit more complex, since you can only get 100 stargazers at a time using the API.
You could use the REST API:
https://api.github.com/repos/awesome-selfhosted/awesome-selfhosted/stargazers?per_page=100
or the GraphQL API:
{
  repository(name: "awesome-selfhosted", owner: "awesome-selfhosted") {
    createdAt
    stargazers(first: 100) {
      edges {
        starredAt
      }
    }
  }
}

In either case you would have to send many requests for all the 1200 repos with a lot of them more than 10k stars.
Other resources I have found:
https://github.com/star-history/star-history
https://stackoverflow.com/questions/61360705/construct-star-history-from-github-api?rq=2
https://docs.github.com/en/graphql/reference/interfaces#starrable
https://github.com/ansonyao/monthlyStarHistory

Interstingly enough, it seems like star history kind of just gives up after 40k, or at least as far as I can tell.
https://star-history.com/#caddy/caddy&netdata/netdata&Date
Looking at netdata, after netdata hits 40k stars in 2019, there's just a line with no points until the current star count. This could probably be implementable with the rest api, and since the star graph would be small and similar in size to the commit graph it wouldn't be so unsightly, but its up to you.

I will definitly look into how this could be done. I might try to get GitHub to add a GraphQL resolver so this could be done more efficiently.

An alternative way to display the information would be using a wrapper like the one offered and talked about here https://star-history.com/blog/how-to-use-github-star-history and just embedding the provided image.
With pagination it will also limit the amount of requests made at one time


Extend example with Web API usage

Using the Web API can be a bit tricky (see #81), so an example might help...
Depends on slack-rs/slack-rs-api#42

This seems like a good improvement, but we should first get slack-rs using slack-rs-api containing the changes in https://github.com/slack-rs/slack-rs-api/pull/42


brew doctor gave me instructions that could have bricked my terminal

running brew doctor suggested I:
Consider setting your PATH so that /usr/local/bin
occurs before /usr/bin. Here is a one-liner:
echo export PATH='/usr/local/bin:$PATH' >> ~/.bash_profile
this bricked all new terminal windows.
shouldn't it be
echo export PATH=/usr/local/bin:$PATH >> ~/.bash_profile

These instructions are correct if copy-pasted exactly.


OCR Blocking the UI

Seems RNTesseractOcr is blocking the UI.
I tried with TesseractOcrSample you have provided, 'cancel recognition' Button not respond.
(it should be able to run in background)

@liyyil this was fixed in v2.0.0


feat: Use terraform label module

Provides the ability to use terraform module on several RDS resources
Fixes #5

@aknysh Anything I can do here?


Docs out of date

Docs are at 1.0.2, the library is at 1.1.3!

On this subject...
The explanation in the nussl docs for what to do next leaves me confused.
There are a number of possible requirements listed in this document. It's unclear which ones I need to run the nussl tutorial.

tree
requirements
extra requirements
VAMP
sox
ffmpg
Melodia

Also, the instructions for which ones are important for what things and how to install them are a bit confusing. The text is not in the order one would do installation and somethings seem pip-installable, others are apt-get, others are referring to external websites and others don't say how to install.
"running the tests" seems to have a block of code to run....although it looks like it will  require other installation steps that are not listed in the code block.


UA string on Windows NT 10

Nevermind, looks like this  is not the right place to submit the issue. My bad.


Is it possible to add a list or a chart in the admin backend to display the amount of requests for each model on the platform?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Duplicate #1450


dynamic lyrics backdrop brightness

merge #239 first

I've wanted to do this since the beginning, and now I've done it 🙂

dynamic saturation next

@SunsetTechuila great thing always take time!

look stunning now


.Member and .Function are ignored when members have the same name but differ in case

using ExpressMapper;

using NUnit.Framework;

namespace test
{
    [TestFixture]
    public class Test
    {
        [Test]
        public void TestMember()
        {
            var from = new From { Test = "hi" };

            Mapper.Reset();

            Mapper.Register<From, To>()
                .Member(dest => dest.test, src => "there");

            var to = Mapper.Map<From, To>(from);

            // Fails
            Assert.That(to.test, Is.EqualTo("there"));
        }

        [Test]
        public void TestFunction()
        {
            var from = new From { Test = "hi" };

            Mapper.Reset();

            Mapper.Register<From, To>()
                .Function(dest => dest.test, src => "there");

            var to = Mapper.Map<From, To>(from);

           // Fails
            Assert.That(to.test, Is.EqualTo("there"));
        }

        private class From
        {
            public string Test { get; set; }
        }

        private class To
        {
            public string test { get; set; }
        }
    }
}

Dear mattijs79,
Thanks for your valuable input!
Did you try to use ".Value" you can read it here.
Thanks,
Yuriy

Happy new year :) - even if it is late!
Fixed and will be included in 1.8 release. To use that feature you please follow guide:

By default all members' mappings are case insensitive
To turn on global configuration for sensitivity (All registration and mappings even dynamic) use Mapper.MemberCaseSensitiveMap(true);
For local (per registration) use:

Mapper.Register<TypoCase, TypoCaseViewModel>()
                .CaseSensetiveMemberMap(false);

Local case always overrides Global


Add musem-collection as netlify cms collection

DESC

images are stored via google forms and need to be referenced somehow? (best would be to store image files with same page-ids)
need own CMS template to provide necessary data

TODOs

[ ] implement CMS template
[ ] think about external image handling workflow
[ ] add coordinates as field
[ ] add museum name
[ ] author
[ ] date = period as string
[ ] place
[ ] title
[ ] team of exhibition
[ ] embedment of 3d models

issue needs to be recreated because of result from last meeting


Get new address

I have a doubt, i followed the installation guide, i installed the bitcoin wallet correclty, but when  a new user registers on the system and click on crypto addresses, the address is blank , it doesn't show nothing. It's looks like the bitcoin daemon it's not connected with the bitexchange.
Any help will be appreciated

I can help you with this. check the cryptocurrency page -> connect to daemon settings. To debug and solve you can contact me on skype.

@yokesh351 give me your skype

skype - yokesh.sankar


Feature request - need more icons in snippets list (for Emmet, custom snippets, etc.)

VSCode Version: 1.15.1
OS Version: win7x64

When you type and see these pile of snippets ...

... how can you say, which one is "VSCode core's snippet", and which one is "Emmet snippet"? You can't. You just need to press "Arrow Down" key infinite times to figure it out. I think, that icons at the left of snippet can be more useful.
For example, Emmet icon -
how it can be:

What do you guys think about it? For my humble opinion, it looks better, and what is really necessary - it is more useful for developer. How is it more useful? When a developer will glance at the list - he will know for sure - 1) that he has required Emmet snippets in the list (there are tons of situations when snippet DO NOT appear, because of user mistake, vscode's bug etc.), and 2) user will choose the right snippet, not vscode core's basic "dry" snippet with nothing in it, but the right Emmet snippet.
Also it would be great to implement user icons (for example,   ), for custom user snippets in HTML, CSS, JS, etc.

@jrieken What do you think of custom icon for emmet?

I was considering showing emmet suggestions as snippets. That would automatically give the snippet icon for the emmet suggestions

There has been a good discussion about more icon types, support for custom icons, and more here: https://github.com/Microsoft/vscode/issues/2628#issuecomment-275122181.
Given that and given that emmet has snippet-like-semantics, I am :+1: for using the snippet type.

See https://github.com/Microsoft/vscode/issues/32346#issuecomment-326147614
In tonight's insiders you can enable emmet.showSuggestionsAsSnippets to get emmet suggestions to show up as snippets.
@jrieken #2628 was concluded by including new completion kinds with different icons. Is there any issue tracking the need for custom icons that can be defined by extensions?


Pinning entries & a bugfix

Pinning one of your entries as the first entry in the feed. Twitter has this feature, so why don't we have? You can pin an entry with the pin:id command, haven't added the PIN and UNPIN buttons to the tools part of an entry, because I didn't know if you want it there 😄
Clicking on the message div of the paginator was buggy, so I've fixed it.

Very nice!! Seeding as 0.2.8!


Sorry, we couldn't achieve your request at the moment. Please try again later, or contact our customer support.

Sorry, we couldn't achieve your request at the moment. Please try again later, or contact our customer support.

Hi @ANKIT077-IND, can you help with sandbox detail of Tap payment to test, because I no longer have the contact of the client I developed this for, thank.