Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:54:11)
StatusBarView.render (/Users/onouhi/.atom/packages/linter/lib/statusbar-view.coffee:81:9)

This was fixed by https://github.com/AtomLinter/Linter/commit/526bcc5ab381f3ee2d4c057dcd6571083bc31e58 and will go away by upgrading the linter package.


ja: Make docs/reference/glossary/kube-apiserver.md follow v1.18 of the original text

This is a Feature Request

What would you like to be added
Update docs/reference/glossary/kube-apiserver.md to follow v1.18 of the original (English) text.
Why is this needed
content/ja/docs/reference/glossary/kube-apiserver.md is outdated.
Comments
/language ja
/good-first-issue
File to update
https://github.com/kubernetes/website/blob/dev-1.18-ja.2/content/ja/docs/reference/glossary/kube-apiserver.md
Original
https://github.com/kubernetes/website/blob/fb6364d/content/en/docs/reference/glossary/kube-apiserver.md
diff between translated and v1.18
https://gist.github.com/a4deffae4dfcd79f2281ca337b671096
Note
Currently, we use dev-1.18-ja.2 branch. Please open a PR targeting the branch.
ref
https://kubernetes.io/ja/docs/contribute/localization/
If you have a question, feel free to ask us at slack.k8s.io #kubernetes-docs-ja channel.

/triage accepted

/assign

/close


CSS

CSS
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow

This is complete.


Feature/GitHub actions

Add a workflow for GitHub Actions
To do:

Investigate caching for EPICS base (currently it downloads and runs make every time, takes ~60s)
Investigate caching for the pipenv - a bit more difficult. Online examples show using the lock file, but this is currently skipped because some modules only contain hashes from what appear to be the Diamond PyPI repo. What is the correct approach for this?
Check if deployment to pypi should be added
Check if we need core dumps

Codecov Report

Merging #324 (4fe6ccd) into master (345494b) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #324      +/-   ##
==========================================
- Coverage   92.66%   92.64%   -0.03%
==========================================
  Files         214      213       -1
  Lines       11377    11346      -31
==========================================
- Hits        10543    10511      -32
- Misses        834      835       +1

Impacted Files
Coverage Δ

malcolm/_version_git.py
38.09% <0.00%> (-1.59%)
:arrow_down:

malcolm/modules/web/util.py
82.50% <0.00%> (-1.23%)
:arrow_down:

malcolm/modules/pandablocks/pandablocksclient.py
93.30% <0.00%> (-0.40%)
:arrow_down:

malcolm/modules/web/parts/restfulserverpart.py
91.07% <0.00%> (-0.31%)
:arrow_down:

malcolm/core/views.py
96.24% <0.00%> (-0.24%)
:arrow_down:

malcolm/core/table.py
91.89% <0.00%> (-0.22%)
:arrow_down:

malcolm/modules/web/parts/guiserverpart.py
95.83% <0.00%> (-0.17%)
:arrow_down:

...lm/modules/web/controllers/websocketclientcomms.py
83.43% <0.00%> (-0.11%)
:arrow_down:

malcolm/core/notifier.py
94.59% <0.00%> (-0.04%)
:arrow_down:

...modules/ADPandABlocks/parts/pandaseqtriggerpart.py
91.81% <0.00%> (-0.04%)
:arrow_down:

... and 6 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 345494b...4fe6ccd. Read the comment docs.

Codecov Report

Merging #324 (4fe6ccd) into master (345494b) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #324      +/-   ##
==========================================
- Coverage   92.66%   92.64%   -0.03%
==========================================
  Files         214      213       -1
  Lines       11377    11346      -31
==========================================
- Hits        10543    10511      -32
- Misses        834      835       +1

Impacted Files
Coverage Δ

malcolm/_version_git.py
38.09% <0.00%> (-1.59%)
:arrow_down:

malcolm/modules/web/util.py
82.50% <0.00%> (-1.23%)
:arrow_down:

malcolm/modules/pandablocks/pandablocksclient.py
93.30% <0.00%> (-0.40%)
:arrow_down:

malcolm/modules/web/parts/restfulserverpart.py
91.07% <0.00%> (-0.31%)
:arrow_down:

malcolm/core/views.py
96.24% <0.00%> (-0.24%)
:arrow_down:

malcolm/core/table.py
91.89% <0.00%> (-0.22%)
:arrow_down:

malcolm/modules/web/parts/guiserverpart.py
95.83% <0.00%> (-0.17%)
:arrow_down:

...lm/modules/web/controllers/websocketclientcomms.py
83.43% <0.00%> (-0.11%)
:arrow_down:

malcolm/core/notifier.py
94.59% <0.00%> (-0.04%)
:arrow_down:

...modules/ADPandABlocks/parts/pandaseqtriggerpart.py
91.81% <0.00%> (-0.04%)
:arrow_down:

... and 6 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 345494b...4fe6ccd. Read the comment docs.

EPICS Base should now be being cached and restored based on a key tied to the version installed.
Currently it takes ~1 minute to install the dependencies in the Pipfile and 3-4 minutes to run the tests and linter. The biggest difference so far is the response time is far better than Travis (the queue time is typically < 1 minute).
Currently it only builds for 3.7. Would there be a benefit adding other versions?

EPICS Base should now be being cached and restored based on a key tied to the version installed.
Currently it takes ~1 minute to install the dependencies in the Pipfile and 3-4 minutes to run the tests and linter. The biggest difference so far is the response time is far better than Travis (the queue time is typically < 1 minute).
Currently it only builds for 3.7. Would there be a benefit adding other versions?


feature: fee report on info screen

Preview of changes, format is Daily - Weekly - Monthly

Thanks. Will take a look after the v1.2 release :)

@benthecarman does this still fit on the LCD screen (even with RTL enabled)?

@benthecarman does this still fit on the LCD screen (even with RTL enabled)?

When I tested it when I made it, it did. However, I don't have my node available anymore so I am unsure now, it's probably better to test it again.

I have tested this and found really useful for my headless setup already.
For the LCD it needs only one empty line removed  below the LN channel info to keep everything on the screen even with the electrs syncing message

As in the PR the top row gets cut when the Electrs message appears:

Fits all when the ampty line below the LN info removed:

The actual fee count function is working well on another node.

Edited to fit the screen. Would like to see this!


Better debugging support

This includes the K frontend changes necessary to use and test the llvm backend debugging support implemented in kframework/llvm-backend#318.
I would like @Andrew-Miranti and @nishantjr to test this out and let me know  if they encounter problems during real-world use.
To summarize, the commands are:

k start - Starts executing a program but does not take any steps, stopping at the first call to
the step function
 k step [N] - takes N top-level rewrite steps (by default 1)
k match MODULE.label subject tells you why a particular rule does or doesn't apply when stopped at a breakpoint after running k step.

Some usability considerations:

If you accidentally run k step before k start, you get:

(gdb) k step
Python Exception <class 'gdb.error'> The program is not being run.:
Error occurred in Python: The program is not being run.

If you run k match on a symbol that isn't defined, you get this:

(gdb) k match MICHELSON.#DoHash subject
Traceback (most recent call last):
  File "/home/stephen/work/michelson-semantics/ext/k/llvm-backend/target/build/install/lib/kllvm/gdb/kllvm.py", line 739, in invoke
    gdb.lookup_global_symbol(argv[0] + '.match').value()(gdb.parse_and_eval(argv[1]))
AttributeError: 'NoneType' object has no attribute 'value'

Python Exception <class 'AttributeError'> 'NoneType' object has no attribute 'value':
Error occurred in Python: 'NoneType' object has no attribute 'value'

Also, how do I find the label for a rule?

I spoke with Stephen and he was unable to reproduce the issue, otherwise I would have fixed it.


Added optional icon to checkbox and radio button

Added the option to include arbitrary icons within checkboxes and radio buttons. This shows up in the redesigned checkin and resubscription flows. Icons have a default width and height of 16px, but these can be set manually using the iconWidth and iconHeight properties.

Added the option to include arbitrary icons within checkboxes and radio buttons. This shows up in the redesigned checkin and resubscription flows. Icons have a default width and height of 16px, but these can be set manually using the iconWidth and iconHeight properties.

Just realized the output for the added SelectorButton snapshot test is empty. (I previously tried to implement this with renderer.create, which would fix this issue, but I ran into issues.) I have a few things to take care of on the immediate horizon, but will fix this soon.

@jcmustin We have something very similar to this already in the codebase called an option button. I do see that there are slight differences between the styles, but before you merge I would like to sync with the designers about this!  Thanks

@zbruno Yeah its getting confusing. OptionButton is in the component-library and you just specify 'checkbox' or 'radio' as a prop.
Radiance has Checkbox and RadioButton which both call SelectorButton  >>> Issue

@jcmustin We have something very similar to this already in the codebase called an option button. I do see that there are slight differences between the styles, but before you merge I would like to sync with the designers about this! Thanks

@zbruno thanks for the heads up! I actually specifically added this because of mockups from design which use icons in conjunction with radiance components instead of OptionButtons. Will check in with designers one last time before finalizing though 👍

@jcmustin We have something very similar to this already in the codebase called an option button. I do see that there are slight differences between the styles, but before you merge I would like to sync with the designers about this! Thanks

@zbruno Just following up, Ben gave a vote of approval for adding icon support to radiance buttons over updating the styling of OptionButtons.


[DCOS-14199][1.9] Write strings to files atomically in pkgpanda.util

High-level description
This is a backport of https://github.com/dcos/dcos/pull/2730 which has a Ship It label
This changes pkgpanda.util.write_string to avoid a race condition as described in DCOS-14199.
I have also applied this change to some related functions as a precaution.
I have stopped returning data from the functions as it appears that those return values are never used.
This also adds a test for write_string to enshrine the permission requirements and basic functionality of write_string (thanks @mhrabovcin for help). That test passes on master and with the changes here.
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS-14199 exhibitor.py try_shortcut() failed due to an empty file

Checklist for all PRs

[ ] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change: See https://github.com/dcos/dcos/pull/2730#issuecomment-380506106.
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here: This code is already called by the test suite. We could test the race condition with something like the following with a timeout but I'd rather not. I'm happy to discuss this with a reviewer:

# This will trigger the error from the issue if run by two processes in parallel.
# Calling the new function in the loop will not.
filename = 'foo.txt'
while True:
    with open(filename, 'w+') as f:
        f.write('hello')

    with open(filename) as f:
        stripped = f.read().strip()
        assert stripped != ''

[X] Read the DC/OS contributing guidelines
[X] Followed relevant code rules Rules for Packages and Systemd

@mesosphere-mergebot bump-ee

@mesosphere-mergebot bump-ee

The failure on teamcity/dcos/test/upgrade-from-previous-major is covered by QUALITY-1962.
Please can an owner override this:
@mesosphere-mergebot  override-status teamcity/dcos/test/upgrade-from-previous-major https://jira.mesosphere.com/browse/QUALITY-1962

@mesosphere-mergebot label Ready For Review

@mesosphere-mergebot  override-status teamcity/dcos/test/upgrade-from-previous-major https://jira.mesosphere.com/browse/QUALITY-1962


learning pull request

I appreciate you wanting to make a change to the repository! But since this code is supposed to be the same as in the video, I don't want to make any changes to it in retrospect. So I will close this PR.


Update inferno to fix inaccurate flamegraph

Flamegraphs were missing most leaves in the current inferno 0.8.0, updating it to 0.11.X fixed the issue.

cargo build went wild on the lock file, I assume because this repo is so old. I'm not sure how to do a lighter touch.

We verified this in two ways:

Patched reap to output folded stacks, piped them directly to inferno-flamegraph. On the latest version, we can see all of the reference chains. On version 0.8.0 used by reap, a lot are missing (but still show up in the textual summary).
Bumping the dep in reap also fixes the issue

Thanks for finding and fixing this!
I'm fine with bumping a bunch of deps at once as long as the tests pass.
I didn't realize anyone was actively using this; I hope it's been helpful!

Sorry to bother again, @djudd is it easy to ship this fix to https://crates.io/crates/reap ?

Done! Sorry, thought I'd done that already.


s3:bump aws-sdk-go-v2/config for aws service endpoint env vars

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes
s3:bump aws-sdk-go-v2/config for aws service endpoint env vars
Verification

@yeya24 conflicts have been fixed

@JoaoBraveCoding @yeya24 another conflict for release notes appeared which I've also fixed.


Fix bug of close numpad programmatically

This does, indeed, look good, and it works.
@kabachello, this PR was created 2 years ago.  Is this project still being maintained, or has it gone stale?


Angular Directives require JQuery

This isn't a big deal, but you should probably denote that somewhere.  Since you are using:
.directive('ifUser',['$user','$rootScope',function($user,$rootScope){
  return {
    link: function(scope,element){
      $rootScope.$watch('user',function(user){
        if(user && user.href){
          element.show();
        }else{
          element.hide();
        }
      });
    }
  };
}])

Specifically the element.show() is a JQuery function.  If you don't have JQuery present you'll have a bad time.

Does this actually require you to have a jQuery library on the page?  I thought Angular had some kind of internal "jQuery light" which provides the element API?

Good question, I was essentially having problems without jQuery, and then everything worked when I added it in.  I'll get some logs tomorrow and post them.

Angular comes with its own version of jQuery. There should be no problems using jQuery. Here is what the docs say:

Does Angular use the jQuery library?
Yes, Angular can use jQuery if it's present in your app when the application is being bootstrapped. If  jQuery is not present in your script path, Angular falls back to its own implementation of the subset of jQuery that we call jQLite.

Angular 1.3 only supports jQuery 2.1 or above. jQuery 1.7 and newer might work correctly with Angular but we don't guarantee that.

I think it does require jQuery for show() and hide().  On the docs for jqLite/angular.element it lists the supported methods and show/hide are not listed.

Yeah, I think you're right. However, I think that instead of resorting to jQuery, we probably should be using the ngHide and ngShow directives.

Yes, I agree.  We would like to use this without having to include jQuery at all.

Thanks @bkyarger! This SDK no longer depends on jQuery, so I'm closing this issue.


project status is lost during redmine migration

currently projects can be locked or closed which prevents S&R, we'd rather not open up when we migrate to the new system.

my comments on this from Slack:

So there's only 50 projects in Private that are not active (closed or archived). I'm thinking the simplest change would be to just not migrate those projects. The one most recently archived was January this year. Another pretty easy option would be to migrate the projects, but remove all users, which would effectively do the same thing. It also wouldn't be hard to add a new project member role and prevent S&R for that role. These all have the benefit of not requiring a schema change.

After way too much thinking about this, I'm just going to mark the project as deleted if it's archived or closed. I really don't want to introduce another state that a project can be in that might complicate things even more. Since we can soft delete projects I'm just going to do that, in this case the project code won't change as it normally does when deleting a project, but that shouldn't be a problem.


Update pypo.py

Minor typo fixes/some whitespace removal/commented code removal

Hi Dr. Kitchin,
I manually went over this and implemented your suggestions in this PR since I had to rename the tool (we were unlucky enought to have someone publishing a Physical Optics package with the same acronym one week ago 😞 ), but Dr. Lima and I found a good new name.
I also implemented some enhances on the evaluation of intersections, reworked some pytests and rebuilt the website with the package's new name. Latest commit is 96729d8dd7f3a80ccc3f685bb06c229a46e29c03.
Thanks for taking a look at the code!


⚠ Bofrost.be has degraded performance

In 04192ee, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2386 ms

Resolved: Bofrost.be performance has improved in c3500e4.


feat: add addresses arg to filter transactions selection for wallets

Description
This PR adds an additional optional arg addresses to the transactions selection under wallets. This arg can be used to fetch the transactions for a given address. If an empty array is passed the transaction fetches all onchain transactions for the wallet. Under the hood it also:

ignores the cache and pings lnd for the latest incoming txns
updates the cache with latest incoming data found

This mean that including the addresses arg can force a cache update with the latest incoming transactions state for pending transactions. This is useful if new transactions have been received but we are still within the redis cache's ttl window.

I maybe overthinking it a bit but I'm not a fan of using nullability to mean "all transactions". If a client intention is to list transactions for addresses and accidentally passes nulls, the operation would not fail. It should.
Also, if there's a value for the new addresses argument, then the transaction list is all onchain, rendering the unions we have for SettlementVia and initiationVia invalid.

I maybe overthinking it a bit but I'm not a fan of using nullability to mean "all transactions". If a client intention is to list transactions for addresses and accidentally passes nulls, the operation would not fail. It should.

Yea thinking about it again now I think this makes sense. They can get onchain-only transactions anyway by using a ... on InitiationViaOnChain filter in the request as well so this violates the "only one way to do a thing" idea too. I've fixed that behaviour here: https://github.com/GaloyMoney/galoy/pull/1511/commits/155776b2aba6e83196ec21b1bad31ce7b674d0c9

Also, if there's a value for the new addresses argument, then the transaction list is all onchain, rendering the unions we have for SettlementVia and initiationVia invalid.

Not sure I understand this point. Do you mean they break, or that they're just redundant because everything comes back as onchain type transactions? The intention here is to only surface transactions related to the addresses passed, so this will naturally only be onchain txns.

@vindard The validation on the addresses length is great, we should also make the type a list of non null addresses: [address!]
My point however was about the addresses argument itself being null to mean return all transactions. My thinking was maybe a different field, transactionsForAddresses, or maybe onChainTransactions and make the addresses argument there non nullable: [address!]!.
The second point is about how the object in this list is not exactly a Transaction (which could have LN/IntraLedger initiationVia/settlementVia values ). It's an OnChainTransaction (which we don't have).
With the current implementation, using the new API endpoint is easier for a client (just pass addresses array, keep everything the same). However, it can be misused (with an unintentional null addresses value for example) and allowing the client to have inline fragments about LN/IntraLedger is not ideal.

My thinking was maybe a different field, transactionsForAddresses, or maybe onChainTransactions and make the addresses argument there non nullable: [address!]!.
The second point is about how the object in this list is not exactly a Transaction (which could have LN/IntraLedger initiationVia/settlementVia values ). It's an OnChainTransaction (which we don't have).
With the current implementation, using the new API endpoint is easier for a client (just pass addresses array, keep everything the same). However, it can be misused (with an unintentional null addresses value for example) and allowing the client to have inline fragments about LN/IntraLedger is not ideal.

Adding context: we discussed this with the team and decided that this was the right way to go. New selection now implemented as filterTransactionsByAddress with non-null address field now: https://github.com/GaloyMoney/galoy/pull/1511/commits/d9f7eb4c173bf08529dec19f06b8314335e1f0f1

We originally named the new selection as filterTransactionsByAddress following this convention from "Production ready GraphQL" (see excerpt below)
We renamed it to transactionsByAddress (https://github.com/GaloyMoney/galoy/pull/1511/commits/0e2e6e6e851dcb05d0aa8fe5532e16f2dde6ba20) because of our own convention where we'd like to name Query queries as nouns and Mutation queries as verbs.

Excerpt


Polish and document S3 link endpoint

This was done quickly to get nexus ship unblocked. Potential improvements:

Do we need a creation endpoint where we generate an Id, or is just one with the Id passed fine in this case? Yes
Endpoint names could be improved, depending on who will call them. (All changes must be reflected in ship)
Better name for FileAttributesOrigin.External? => Link
Write documentation (if it's needed outside our team, if it's only used by nexus ship then docs are unlikely to be worth writing): Yes for the DKE team

New tickets #4971 and #4974


Scripting changes for moving dashboards to their directories

Summary
The script changes needed to move dashboards to their own directories under each quickstart's /dashboards directory. Updating all quickstarts is done is this PR #1011

Going to separate out script and quickstart changes, closing this PR.


adding services

Fixes: #154

[x ] Feature enhancement

Added Services Section & enhanced about_us .

Checklist:

[X ] I have performed a self-review of my code
[X ] I have read and followed the Contribution Guidelines.
[X ] I have tested the changes thoroughly before submitting this pull request.
[ X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X ] I have commented my code, particularly in hard-to-understand areas.
Closes: #154

Hey @SUGAM-ARORA , changes are done . Kindly review

@aasthakourav20 These changes look good. Just do one thing pull the main so that updates changes are there in code

I'm facing some problems while doing this , can you please help me with the commands to be used .

@aasthakourav20 These changes look good. Just do one thing pull the main so that updates changes are there in code

Hey @SUGAM-ARORA , Please reply  for the issue .

Hey @SUGAM-ARORA , I don't know  what happened exactly but while you merged  someone's new footer , we can't see any services , contact , blogs & FAQs section's routes in the footer . Kindly check it


[Bug]: M5StickCPlus Listener LED on/off Backwards

What happened?
After a lot of testing with the M5StickCPlus Listener and the M5Stack example for blinking LED, I found that LOW is on and HIGH is off, which is backwards from the M5StickC.
This code starts on line 618 of the m5stickc-listener ino file.
    #if TALLY_EXTRA_OUTPUT
    if (actualType == "\"program\"") {
      digitalWrite (led_program, LOW);
      digitalWrite (led_preview, HIGH);
      digitalWrite (led_aux, HIGH);
    } else if (actualType == "\"preview\"") {
      digitalWrite (led_program, HIGH);
      digitalWrite (led_preview, LOW);
      digitalWrite (led_aux, HIGH);
    } else if (actualType == "\"aux\"") {
      digitalWrite (led_program, HIGH);
      digitalWrite (led_preview, HIGH);
      digitalWrite (led_aux, LOW);
    } else {
      digitalWrite (led_program, HIGH);
      digitalWrite (led_preview, HIGH);
      digitalWrite (led_aux, HIGH);
    }
    #endif

You will also notice I added an escape character and extra quotes on the actualType as that was required.  I am not sure if it is something to do with running TallyArbiter in test mode or not, but I did have to do that to get it to work.  Also, the "program" actualType if statement had "preview" in it.  So there were two preview if statements.
Version
3.0.4
Distribution
Docker
OS
Linux
What browsers are you seeing the problem on?
No response
If applicable, What Listener Clients are You Using?
M5 Stick
TallyArbiter configuration
No response
Relevant log output
No response
Error stacktrace (if applicable)
No response

Can you submit a PR for this?

yeah. I thought about that, but I will want to test it in my production environment first, vs just at home with the built in test mode, to verify the " are needed outside of test mode.  Also, I will need to test with a M5StickC (not Plus) to verify it is still HIGH for on and LOW for off.  If it is, then we'll need to add separate lines of code to accommodate the difference.  I'm thinking maybe use variables for led_on and led_off with different values for non-plus and plus.  Then not need to have separate sections throughout the code for it.
It might take me a week or so to get to it.  I don't live close to the church and will be away this weekend.  I'll get it flushed out and let you know how it goes.

I was able to verify with both the M5StickC and M5StickCPlus that having the LOW and HIGH swapped works.  I will still need to test this at church where I have an ATEM source to test whether "program" should be ""program"" or  just "program" outside of using the built in test source.
I tried looking through the source code to see how the test system is sending the program, preview, aux, but I wasn't able to figure it out.

PR submitted.  Sorry for the delay.


Open xml data like Sql Server Management Studio

Is your feature request related to a problem? Please describe.
When I open an xml datatype on editor with Shift+Enter it opens in a raw text by default, instead of XML pretty format:

Describe the solution you'd like
I would like to open XML datatype like SSMS:

Describe alternatives you've considered
No other alternatives...
Additional context
No Additional context...

Hello @Joni-Torrado,
Have you tried using the value panel? You will need to specify XML as the content type and enable auto-formatting:

Please let me know if it solves your issue.

Hi @ShadelessFox,
Yes, I have been using it... But I realized that open the XML data with Shift+Enter shortcut (to open in a seperated tab) is more convenient to see large xml data. And easier to change between other xml tabs for compare.

I see. When viewing contents in a separate tab, the toolbar menu is not available there.


chore(Algebra/Prod): add Prod.mk_one_one

Normalize (1, 1)  and (0, 0) to 1 and 0, respectively.
Add Polynomial.mul_coeff_one

Moves:

PerfectClosure.mk_zero_zero -> PefectClosure.mk_zero
PerfectClosure.mk_zero -> PerfectClosure.mk_zero_right

bors merge


License of Hotel Management System

This project can't be copied without giving credit.

License created.

Closed


Added a Armstrong Number CPP Program

Armstrong number is a number that is equal to the sum of cubes of its digits.
For example 0, 1, 153, 370, 371 and 407 are the Armstrong numbers.

This Contribution is for HacktoberFest-2021.
Please review my PR #379 @Hansajith98 .
Also, please add the Hacktoberfest-accepted tag.
Thank you!


validate batch change review rejection

Rebased off #665
Changes in this pull request:

Adds validations to the reject batch change endpoint to check if a batch change is PendingReview and if the reviewer is a super user or support user

I propose removing the func test for the reject batch change endpoint since we don't test any support or super user functionality we'd only be able to test that a regular user attempting to reject a batch change fails.

this is passing in Travis, not sure why it's showing as Pending here.

@rebstar6 can I get a review on this one.

this is passing in Travis, not sure why Github is showing Pending, so I'll merge.


Add yaml file for plugging in CA certs.

What this PR does / why we need it:
This yaml file can be used to help redeploy CA with user-provided certs/keys. The instructions will be shown in istio.io security task. It is a security feature in V0.2.
Release note:

NONE

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

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
b5a928105cc964aa461ab2a3f1094a75a2789eab
link
/test e2e-suite-rbac-no_auth

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.

@myidpt: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
b5a928105cc964aa461ab2a3f1094a75a2789eab
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
b5a928105cc964aa461ab2a3f1094a75a2789eab
link
/test e2e-suite-rbac-auth

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.

/retest
Sorry, the tests were interrupted by cluster updating.

/review ldemailly

@ldemailly @wattli  PTAL

shouldn't this be a template like the other yaml ? (until we get rid of the whole stuff)

This file is directly used by users instead of being used as a template to generate other files.
But I don't mind putting it into template/ (maybe I have a misunderstanding about what should go into template/).

I mean that we should not hardcode shas anywhere (that isn't auto generated/maintained) specially for our own components - if you wanted to temporarily freeze the CA version it should at least be a tag from docker.io and not a sha from gcr.io/testing

Oh I see. Sorry about that. I will update it.

/assign @ldemailly

/assign @wattli

/lgtm

/lgtm

@ldemailly @rshriram Can any of you help to merge this PR? Thanks!

/tickle

Auto merge is disabled now due to repo migration, let me know if we are ready to turn it back on :)

I saw on slack the monorepo is ready to accept PRs, and all tests now pass, so we can re-enable the auto-merge.

yesterday I synced the branch and was going to merged it after it passed tests but got distracted and didn't get a notification when it was ready, and it happened again today that it's out of sync, so yes it'd be good to put back the auto merge queue (assuming the tests are really testing)
/lgtm

Great! My concern would be release-branch. The tool is not able to tell the base branch and only auto-merge PRs to master.
There is a hacker way though. Inject a fake test and make it successes in master and fails in release branches.

https://github.com/istio/test-infra/issues/581

Please don’t enable auto merge. There are enough people to manually push
the big green “Squash and merge” button. We no longer have dependency
issues. A pr that passes tests can just be merged.
On Sun, Nov 5, 2017 at 12:31 PM Yutong Zhang<EMAIL_ADDRESS>wrote:

istio/test-infra#581 https://github.com/istio/test-infra/issues/581
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/1334#issuecomment-341990258, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AH0qd0Udd5eAbr9kh0lZAaOI2JR78lkPks5szfELgaJpZM4QQnYb
.

@rshriram  OK, I paused for further discussion

we still, and more than ever as the repo is biggee, need the autorebase and submit and merge queue
that’s one condition to make this work with more developers contending for 1 repo


[BUG] TypeError crashes the bot when using a message context menu

Describe the bug
This is separate from #406 because it has a different error, in a different place.
When using a message context menu, I get TypeError: argument of type 'NoneType' is not iterable
Reproducing steps
These are the steps I took in order to produce this bug, which should be able to be reproduced for everyone else as well.

Use dev branch
Create message context menu:

@bot.command(
    type=interactions.ApplicationCommandType.MESSAGE,
    name="message menu",
    scope=874781880489222154,
)
async def message_menu(ctx: interactions.CommandContext):
    await ctx.send("hi")

Run the bot
The command fails, does not send the message, the error is in the console
After around a minute or less, the bot crashes and displays ERROR:gateway:(ln.65):The client was unable to send a heartbeat, closing the connection. in the console

What's normally expected
When I use the message context menu, it should execute and send "hi" without any errors.
What actually happened
Instead, I received this traceback error given from my Python terminal:
Traceback (most recent call last):
  File "c:\Users\hi\Desktop\Coding\Python\discord-interactions v4\main.py", line 271, in <module>
    bot.start()
  File "C:\Users\hi\AppData\Local\Programs\Python\Python39\lib\site-packages\interactions\client.py", line 116, in start
    self.loop.run_until_complete(self.ready())
  File "C:\Users\hi\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 642, in
run_until_complete
    return future.result()
  File "C:\Users\hi\AppData\Local\Programs\Python\Python39\lib\site-packages\interactions\client.py", line 155, in ready
    await self.login(self.token)
  File "C:\Users\hi\AppData\Local\Programs\Python\Python39\lib\site-packages\interactions\client.py", line 112, in login
    await self.websocket.connect(token, self.shard, self.presence)
  File "C:\Users\hi\AppData\Local\Programs\Python\Python39\lib\site-packages\interactions\api\gateway.py", line 174, in connect
    await self.handle_connection(stream, shard, presence)
  File "C:\Users\hi\AppData\Local\Programs\Python\Python39\lib\site-packages\interactions\api\gateway.py", line 237, in handle_connection
    self.handle_dispatch(event, data)
  File "C:\Users\hi\AppData\Local\Programs\Python\Python39\lib\site-packages\interactions\ext\wait_for\wait_for.py", line 49, in handle_dispatch
    super().handle_dispatch(event, data)
  File "C:\Users\hi\AppData\Local\Programs\Python\Python39\lib\site-packages\interactions\api\gateway.py", line 310, in handle_dispatch
    context = self.contextualize(data)
  File "C:\Users\hi\AppData\Local\Programs\Python\Python39\lib\site-packages\interactions\api\gateway.py", line 375, in contextualize
    return context(**data)
  File "C:\Users\hi\AppData\Local\Programs\Python\Python39\lib\site-packages\interactions\context.py", line 120, in __init__
    if str(self.data.target_id) in self.data.resolved.users:
TypeError: argument of type 'NoneType' is not iterable

Error is thrown in the __init__ method of CommandContext, file directory interactions/context.py line 120
Versions

[ ] I am using discord.py versions 1.7 and below with my code.

[ ] I am using 2.0 or higher, or a modified fork.

[ ] I am using dis-snek with my code.
[x] I am not using any of the listed above and am using the library code alone.

Flagging this internally as an issue to be addressed hopefully next release.


set mac address to an interface

Hi
I want to have a "fixed" mac-address and my own interface name instead of "net1" for my interface; meaning, which time I redeploy the pod I want the interface to always have the same mac.  Below are my original yaml files.  I have also tried putting my network-definition under /et/cni/multus/net.d/macvlan-conf.conf and change my network-attachment-definition, but this still doesn't work.
I also tried removing the network-status section and add interfaceRequest: ifname which gives me the interface name I want, but even with macRequest, I am still unable to change the mac-address. I have been googling, and I am unable to find the an example on changing the mac-address. I also looked at code. It seems like delegate.macRequest is always empty string. I traced and found net.macRequest in LoadDelegateNetConf is also empty.  When I enable debug log, I could see my mac in setPodNetworkAnnotation.
Is it because delegate is not reading from the pod annotation? Where should I config the delegate?
Does v0.3.1 support macRequest? If so, how should I configure?
If I want my pod yaml / network-attachment-def yaml to handle the configurations only, do i need to change anything in the multus.conf? If so, would you show an example?
Here is my network-attachment-definition yaml.
apiVersion: "k8s.cni.cncf.io/v1" kind: NetworkAttachmentDefinition metadata:   name: macvlan-conf spec:   config: '{       "cniVersion": "0.3.0",       "type": "macvlan",       "master": "ens255f1",       "mode": "bridge",       "ipam": {         "type": "host-local",         "subnet": "<IP_ADDRESS>/24",         "rangeStart": "<IP_ADDRESS>",         "rangeEnd": "<IP_ADDRESS>",         "routes": [           { "dst": "<IP_ADDRESS>/0" }         ],         "gateway": "<IP_ADDRESS>"       },     }'
Here is my pod yaml
piVersion: v1 # for versions before 1.9.0 use apps/v1beta2 kind: Pod metadata:   name: rhel75-pod   annotations:     k8s.v1.cni.cncf.io/networks: macvlan-conf     k8s.v1.cni.cncf.io/networks-status: '[{                           "name": "macvlan-conf",                           "interface": "agnes-1",                           "mac": "20:01:02:03:04:05",                           "ips": [                               "<IP_ADDRESS>"                           ],                           "dns": {}                       }]' spec:       containers:       - name: rhel75base         image: rhel7.5-base-new:base         imagePullPolicy: Never
Thanks in advance

To configure MAC address, you need:

to install 'tuning' CNI plugin (you need to build/install from https://github.com/containernetworking/plugins to get the latest because mac address support in tuning is recent), and
use 'tuning' CNI plugin for network-attachment-def as following (https://github.com/intel/multus-cni/pull/148/files?short_path=04c6e90#diff-04c6e90faac2675aa89e2176d2eec7d8)

Could you please change your config and check it again?

https://github.com/containernetworking/plugins

Will give it a try.
If later on I need to use ovs instead of macvlan, can I still use tuning on top of ovs? I have been testing with ovs-cni.

Thanks @s1061123  I will give it a try.
If later on I need to use ovs instead of macvlan, can I still use tuning on top of ovs? I have been testing with ovs-cni.

Hi @wei0313 the question is if the ovs write the mac he assign on a mac filter or something if not yes you can use the tuning.

@SchSeba judging by the ovs-cni code, it reads mac attribute, but since multus is not setting it so it doesn't reflect. I am wondering if using tuning would help in this matter

Hi @wei0313 if the ovs knows how to read the mac address you can try to configure the pod this way
apiVersion: v1
kind: Pod
metadata:
  name: pod-case-01
  annotations:
    k8s.v1.cni.cncf.io/networks: [{"name": "macvlan-conf-1","mac":"20:01:02:03:04:05"}]
spec:
  containers:
  - name: pod-case-01
    image: docker.io/centos/tools:latest
    command:
    - /sbin/init

If he can't read the mac but he doesn't configure a mac filter you can use tuning like this
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
  name: ovs-conf
spec:
  config: '{
      "cniVersion": "0.3.1",
      "name": "ovs-conf",
      "plugins" : [
        {
          "type": "ovs",
          "bridge": "br1",
          "vlan": 100
        },
        {
          "type": "tuning"
        }
      ]
    }'

I am experiencing the same issue using the below but please take note of the annotations for interface and interfaceRequest.
When digging into this, it appears that there is no definition for interface, mac or ips per the parsePodNetworkAnnotation and parsePodNetworkObjectName functions of k8clients.go. This appears to be the reason unless I am overlooking something.
NetworkAttachmentDefinition:
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
  name: macvlan-conf
spec:
  config: '{
      "cniVersion": "0.3.0",
      "plugins": [ {
        "type": "macvlan",
        "master": "net0",
        "mode": "bridge",
        "ipam": {
          "type": "static"
          "addresses": [
            {
              "address": "<IP_ADDRESS>/24",
              "gateway": "<IP_ADDRESS>"
            }
          ],
          "dns": {
            "nameservers" : ["<IP_ADDRESS>"]
          }
        }
      },
      {
        "type":"tuning"
      }]
    }'

Pod:
apiVersion: v1
kind: Pod
metadata:
  name: samplepod
  annotations:
    k8s.v1.cni.cncf.io/networks: '[
      {
        "name": "macvlan-conf",
        "interfaceRequest": "mgmt", # works
        "interface": "mgmt", # doesn't work
        "mac": "aa:bb:cc:dd:ee:ff"
      }
    ]'
spec:
  containers:
  - name: samplepod
    command: ["/bin/bash", "-c", "sleep<PHONE_NUMBER>000"]
    image: dougbtv/centos-network

Thanks!

interface
@Elegant996  I tried with "mac": "aa:bb:cc:dd:ee:ff" and it doesn't seem to take effect. did it work for you?

Hi @wei0313 what is the image tag that you use for multus ?

That could be it, I'm using stable perhaps this is only available when using snapshot?

The 'snapshot' will point to master. If you need the latest commit. Please use the snapshot.

I am using master. I only ran the "cat .images/{multus...flannel...} | kubectl apply -f -" cmd. Should i change to snapshot?

@wei0313 We're refering to this line in multus.yaml. The tag latest is 7 months old and stable uses the latest commits which is likely what we're after.

new interface is not getting created , any tips on what could be the issue.

Looks like this one got fixed by using the latest version (and the :latest tag is now actually master@HEAD)


Out-of date MIG work

This branch will not be merged to form a release; instead it will serve as a placeholder for the stuff that needs to get merged without conflict.
Items in this branch to recreate

[ ] domain name support
[ ] Stateful MIGs

Telemetry streaming support (defer to #22)
Autoscale will be recreated from scratch

Closing as work-in-progress is on other branches or already merged


VIM uses wrong encoding - but only in status messages

Steps to reproduce

Set default language as Hungarian
Open Vim
Enter into Insert mode
See the issue

Expected behaviour
Accented characters appear normal
Version of Vim
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Jan 02 2024 18:36:25)
Environment
Operating System: Arch Linux
Terminal: Mate Terminal 1.27.1
Value of $TERM: xterm-256color
Shell: ZSH
Logs and stack traces
Original issue is here: https://superuser.com/questions/1825655/vim-uses-wrong-encoding-but-only-in-status-messages

since you seem to be hungarian speeking, you should either reach out to the maintainer of the file, or see if you can fix the encoding issue and propose a PR to fix this.

@hron84 ,
In the "hu.po" file, the text encoding is set as ISO-8859-1.
And you are using UTF-8 encoding.
You need to change the encoding to UTF-8 in the original PO file and re-create the MO file. If the translation language requires ISO-8859-1 text encoding, you need to add a corresponding MOCONVERTED entry to the Make_all.mak file.
But it is better to contact the maintainer of this translation @arpadffy .
Or use ISO-8859-1 encoding in Vim.

Cc @arpadffy

It looks like hu.po is saved in UTF-8. So, changing the line 19 to UTF-8 is enough?

@k-takata ,
honestly, I don't know why the author chose to encode the text as ISO-8859-1. Based on this information, it seems that ISO-8859-1 is not fully compatible with Hungarian. And for Hungarian, ISO-8859-2 or Windows-1250 would be better suited.
Yes, you can just change the "charset" field to UTF-8, save the changes and recreate the MO file.
It will look something like this:

Perhaps what would be possible would be to do a check in the "check.vim" file from the "po" directory to check for a match between the file encoding (value 'fenc') and the "charset" field. But there are "pitfalls" there, as I remember, related to the 'fencs' parameter. So it probably won't work.

Thank you @hron84 and @k-takata for nailing this issue.
It was a copy/paste mistake.
I have corrected the bug in the pull request #13902
Thanks,
Z
On Tue, 23 Jan 2024 at 04:10, Restorer @.***> wrote:

@k-takata https://github.com/k-takata ,
honestly, I don't know why the author chose to encode the text as
ISO-8859-1. Based on this information
https://en.wikipedia.org/wiki/ISO/IEC_8859-1#Languages_with_incomplete_coverage,
it seems that ISO-8859-1 is not fully compatible with Hungarian. And for
Hungarian, ISO-8859-2 or Windows-1250 would be better suited.
Yes, you can just change the "charset" field to UTF-8, save the changes
and recreate the MO file.
It will look something like this:
hu-po-correct.png (view on web)
https://github.com/vim/vim/assets/69863286/ded24c31-556a-463e-854a-9fe8d5bdf640
Perhaps what would be possible would be to do a check in the "check.vim"
file from the "po" directory to check for a match between the file
encoding (value 'fenc') and the "charset" field. But there are "pitfalls"
there, as I remember, related to the 'fencs' parameter. So it probably
won't work.
—
Reply to this email directly, view it on GitHub
https://github.com/vim/vim/issues/13900#issuecomment-1905216484, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AG7S6QHVQCHFCFR3C7FPGU3YP4SZ5AVCNFSM6AAAAABCFIQQZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBVGIYTMNBYGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

ISO 8859-1 hasn't got the double-acute-accented vowels peculiar to Hungarian AFAICT. Maybe some other ISO 8859 encoding has them (ISO 8859-2 maybe ?), but why reinvent the wheel ? UTF-8 has everything.

Thanks guys!


IOS not working

Android is working fine. ios not working. Is it possible to fix it or do you guys working on it.
Error
 LOCATION UPDATE FAILURE:Error reason: (null)Error description: The operation couldn’t be completed. (kCLErrorDomain error 1.)
Service class
class BackgroundLocationService {
  static const String _isolateName = "LocatorIsolate";
  ReceivePort port = ReceivePort();

  Future<void> initPlatformState() async {
    await BackgroundLocator.initialize();
  }

  void registerPort() {
    IsolateNameServer.registerPortWithName(port.sendPort, LocationServiceRepository.isolateName);
  }

  static void callback(LocationDto locationDto) async {
    final SendPort send = IsolateNameServer.lookupPortByName(_isolateName);
    send?.send(locationDto);
  }

  void startLocationService() {
    Map<String, dynamic> data = {'countInit': 1};
    BackgroundLocator.registerLocationUpdate(LocationCallbackHandler.callback,
        initCallback: LocationCallbackHandler.initCallback,
        initDataCallback: data,
        disposeCallback: LocationCallbackHandler.disposeCallback,
        autoStop: false,
        iosSettings: IOSSettings(accuracy: LocationAccuracy.HIGH, distanceFilter: 0),
        androidSettings: AndroidSettings(accuracy: LocationAccuracy.HIGH, interval: 5, distanceFilter: 0));
  }

  void stopLocationService(){
    BackgroundLocator.unRegisterLocationUpdate();
  }

  ReceivePort getData() {
    return port;
  }
}

on InitState
  @override
  void initState() {
    super.initState();
    _bls.registerPort();
    _bls.initPlatformState().then((value) {
      locationSubscription = _bls.port.listen(backgroundLocPort);
    });

Start Service on Inactive mode
 case AppLifecycleState.inactive:
            _bls.startLocationService();

Other functions and methods are the same as example

HI @bhanuka96
Thank you for opening an issue;
Please share some code;

HI @bhanuka96
Thank you for opening an issue;
Please share some code;

@mehdok please check now

Good, as far as I can see there is nothing wrong with the code;
Please answer these questions:

Did you did the setup process for iOS?
Did you give him the right permission?
Are you running on real device or simulator?
Is the example app is running fine for you?
Do you get any error beside the one you specified? anything could help. (please run the app with Xcode to see extra logs)

yes, I follow this https://github.com/rekab-app/background_locator/wiki/Setup

added above permissions to my app

real Device (iPhone xs)

4)example app cannot open in Xcode

I got the below error on the console after minimizing the app

2020-11-23 17:42:50.137980+0530 Runner[385:8446] [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
2020-11-23 17:42:57.035117+0530 Runner[385:8176] LOCATION UPDATE FAILURE:Error reason: (null)Error description: The operation couldn’t be completed. (kCLErrorDomain error 1.)
2020-11-23 17:42:57.812553+0530 Runner[385:8176] LOCATION UPDATE FAILURE:Error reason: (null)Error description: The operation couldn’t be completed. (kCLErrorDomain error 1.)
...it's not stop

@mehdok Do you have any solution for this issue?

There is not any straight solution with this kind of problems, I just can suggest thing to narrow down the problem and may be finally we can find something for the problem.

I got the below error on the console after minimizing the app

Did you gave always permission? app won't work in background if you give it whenInUse permission;
Please try to run your app on the simulator to see if the problem still exist;
Please run the example app to see if you are having the same problem or not;

@mehdok Okay I will try and let you know. btw example app is not open on xcode. I think some files are mission in example/ios

Can you tell me the exact error you are getting when trying to open example app?

example app, please check this https://drive.google.com/file/d/1FQHbz2tEzbuEXwSo9-MFKz87JIwjVUXP/view?usp=sharing

Previously, I start service in inactive state.

 case AppLifecycleState.inactive:
        { _bls.startLocationService();

That's the problem. I just start service onTap event. now it's working fine.
Did you have time to check example video? What is the problem? I decided to use this plugin on our production app. Is it okay?

Sorry for the delay, Yes I check the video, but the video without any logs is useless;
About you production app, we use it in our app, REKAB, without any problem. But it is a open source plugin without any warrantee or support, so use it at your own risk;

case AppLifecycleState.inactive:
{ _bls.startLocationService();

And if this was your problem and it is fixed, please close the issue;

@mehdok Thanks for the reply. We decided to use your plugin for our taxi app(driver app).

Hope it works for you, Please reach out if you had any other problem.


Support passing a list of hosts

Edit: Just saw the other pull request from august 2015. The difference is that this change doesn't break the app if ELASTICSEARCH_HOST is set to a string.

@chiangf any opinion on this?

@alejoar Agreed, just a few minor comments and then we can merge in, thanks!

@chiangf I agree with your comments, it has been done. Thanks.


how to get short-url from postman or api

Hi I hope you are doing well,
I need get data from any service  I instal and build code and thank you so much for this project but when I try post on ppostman with my netlify url I can't get data there is a wat to make it or I am looking for wrong project.
Thank you for your attention.

Sorry, I don't think this is the project you're looking for


remove external dependencies for js and css , load locally

@ajayk Sorry for late reply. I didn't notice the pull request until now.
It will increases the size of repository if we replace external dependency with local images and javascripts. It also requires us to replace all files if we want to depend on a higher version of javascript in the future. Can you explain the benefits of this approach? Is this because the machine which runs the javascript is not able to fetch the dependent files from network?

@lindong28 the use case was to run the kafka monitor ui without any dependency ,
As you clearly stated that some machines will not have a outbound connections to the internet .

@ajayk Typically we don't want to copy&paste code from dependent library to our own repository for good reasons. It is preferred to download dependent library from remote repository, as we are doing with Java dependency specified in gradle. We should probably follow the same convention here with js dependency. There is trade-off between requirement of network connectivity and easiness of dependency management.
BTW, we provide this simple (quick-start) GUI to demonstrate the metrics that you can read from Kafka Monitor. However, it is not mean to provide production use. For example, you can not read metrics older than 30 seconds in the past unless you modify the index.html manually. Given this background, it is probably better for you to clone the repository and tune the index.html as needed. Does this make sense?

@lindong28 Makes Sense
I think currently json2.js and jolokia and chart.js dependecy should be referred through CDN as well

@ajayk Yeah, I tried to import them via CDN as well. It is just that I couldn't find a popular/stable public link that provides them.


Can't select favorite as the directory directly

Using data-target-file-type: dirs and selecting a Favorite and pressing "Select" doesn't pick up the directory. I have to select something on the right hand side, but the .  directory isn't selectable, there is no way to directly use a favorite.
Instead, I have to go 1 dir up, which in my case means hundreds of project directories, and requires that I scroll to my project area manually.

I'm also not sure my users would necessarily recognize . and .. even if they were selectable.

Hi, thanks for the ticket - but I have to say it won't be worked. This is being replaced in 3.1 with a native path_selector widget.
https://github.com/OSC/ondemand/issues/1571
That said - it (the newer implementation) doesn't show favorites at all at the moment (and likely won't in 3.1 because it's coming soon) but I made a ticket for the same.

Well I should say, it won't be worked by OSC. If you submit a patch for this issue (or the other), I'd be happy to review and merge it.

I was new to the file picker to begin with, wasn't aware of the native widgets WIP. I'll be happy to jump over to 3.1 as soon as possible!

Well there's an open pull request to maybe fix this so I can reopen.

Also - I can't seem to replicate on OOD 3.0.1 and this library at 3.0.1 as well.


improve model response time

Description
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[X] New feature (non-breaking change which adds functionality)

Change Status

[ ] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[X] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[ ] local testing
[ ] unit testing

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] There are no merge conflicts

Current updates:

made routes FastAPI routes (replaced .route with .get or .post)
fixed .run call to use uvicorn (how FastAPI runs apps imported from other modules)
added uvicorn and fastapi to the Pipenv file
made create_app return app rather than application because it was undefined

Only reason I had application=app= is because sometimes Elastic Beanstalk won't recognize app and needs application to launch. However, I /think/ it's not an issue when you deploy via docker instead of directly with python on ELB.

Okay cool, I left that. I was referencing inside api/apps/__init__.py it has a function called create_app that was returning a variable called application but returns an error because in that file application is not referenced, only app.

Updated description to note what this response-time V1 PR is for. Think it will be good to get this merged in so that master has a working FastAPI for everyone to review and work on.

@ekoly thanks for reviewing! Lets plan the DB updates tomorrow so we can get going on that migration and remove some of the clutter in the Recommender class


Windows app stalls on startup

Friends,
Sometimes it stalls on startup, keeps trying to load forever. 5.9.3 desktop app on Win 11.
Video attached.
stalls.zip
Thanks.

I have the same issue, also 5.9.3 desktop app on Win 11. I noticed that it happens only when I connect through the university wifi, never at home...

Ok, thanks! So the temporary solution would be to ensure the internet connection before the initial startup of Zulip.

After like 30 minutes with my notebook on, it still tries to connect. clearly there is some issue. Isnt there a timeout?
See video, as soon as I close it and reopen it, it connects.
https://user-images.githubusercontent.com/44004645/176673945-11cd199e-d1c3-490c-b3d0-105afd3478fa.mp4

@flaviozluca this issue should be raised in the https://github.com/zulip/zulip-desktop repo instead as its for the desktop client.

@alya this can be closed as moved to desktop.


Airflow Scheduler restart results in ObjectDeletedError

Checks

[X] I have checked for existing issues.
[X] This report is about the User-Community Airflow Helm Chart.

Chart Version
8.7.0
Kubernetes Version
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.3", GitCommit:"434bfd82814af038ad94d62ebe59b133fcb50506", GitTreeState:"clean", BuildDate:"2022-10-12T10:57:26Z", GoVersion:"go1.19.2", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.10-gke.2300", GitCommit:"1d7ae0799b40b0cd95502e3a5e698db62572e341", GitTreeState:"clean", BuildDate:"2023-02-22T09:28:49Z", GoVersion:"go1.19.6 X:boringcrypto", Compiler:"gc", Platform:"linux/amd64"}

Helm Version
3.11.2-1

Description
Airflow Scheduler started to have issue when being restarted (either manually or forcefuly) - some task instances are stuck in running/queued state after restart and Scheduler somehow misses reference to them (or fails to readopt them) resulting in critical error about TaskInstance missing.
Side issue: Scheduler and Triggerer seem to eat any resource we throw at them, always sitting almost at max CPU usage even if nothing much is happening that we can see in the logs
Relevant Logs
Traceback (most recent call last):
  File "/home/airflow/.local/bin/airflow", line 8, in <module>
    sys.exit(main())
  File "/home/airflow/.local/lib/python3.10/site-packages/airflow/__main__.py", line 48, in main
    args.func(args)
  File "/home/airflow/.local/lib/python3.10/site-packages/airflow/cli/cli_parser.py", line 52, in command
    return func(*args, **kwargs)
  File "/home/airflow/.local/lib/python3.10/site-packages/airflow/utils/cli.py", line 108, in wrapper
    return f(*args, **kwargs)
  File "/home/airflow/.local/lib/python3.10/site-packages/airflow/cli/commands/scheduler_command.py", line 73, in scheduler
    _run_scheduler_job(args=args)
  File "/home/airflow/.local/lib/python3.10/site-packages/airflow/cli/commands/scheduler_command.py", line 43, in _run_scheduler_job
    job.run()
  File "/home/airflow/.local/lib/python3.10/site-packages/airflow/jobs/base_job.py", line 258, in run
    self._execute()
  File "/home/airflow/.local/lib/python3.10/site-packages/airflow/jobs/scheduler_job.py", line 759, in _execute
    self._run_scheduler_loop()
  File "/home/airflow/.local/lib/python3.10/site-packages/airflow/jobs/scheduler_job.py", line 840, in _run_scheduler_loop
    self.adopt_or_reset_orphaned_tasks()
  File "/home/airflow/.local/lib/python3.10/site-packages/airflow/utils/session.py", line 75, in wrapper
    return func(*args, session=session, **kwargs)
  File "/home/airflow/.local/lib/python3.10/site-packages/airflow/jobs/scheduler_job.py", line 1413, in adopt_or_reset_orphaned_tasks
    for attempt in run_with_db_retries(logger=self.log):
  File "/home/airflow/.local/lib/python3.10/site-packages/tenacity/__init__.py", line 347, in __iter__
    do = self.iter(retry_state=retry_state)
  File "/home/airflow/.local/lib/python3.10/site-packages/tenacity/__init__.py", line 314, in iter
    return fut.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 451, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
    raise self._exception
  File "/home/airflow/.local/lib/python3.10/site-packages/airflow/jobs/scheduler_job.py", line 1458, in adopt_or_reset_orphaned_tasks
    to_reset = self.executor.try_adopt_task_instances(tis_to_reset_or_adopt)
  File "/home/airflow/.local/lib/python3.10/site-packages/airflow/executors/celery_executor.py", line 503, in try_adopt_task_instances
    if ti.external_executor_id is not None:
  File "/home/airflow/.local/lib/python3.10/site-packages/sqlalchemy/orm/attributes.py", line 482, in __get__
    return self.impl.get(state, dict_)
  File "/home/airflow/.local/lib/python3.10/site-packages/sqlalchemy/orm/attributes.py", line 942, in get
    value = self._fire_loader_callables(state, key, passive)
  File "/home/airflow/.local/lib/python3.10/site-packages/sqlalchemy/orm/attributes.py", line 976, in _fire_loader_callables
    return callable_(state, passive)
  File "/home/airflow/.local/lib/python3.10/site-packages/sqlalchemy/orm/strategies.py", line 561, in __call__
    return strategy._load_for_state(state, passive)
  File "/home/airflow/.local/lib/python3.10/site-packages/sqlalchemy/orm/strategies.py", line 530, in _load_for_state
    raise orm_exc.ObjectDeletedError(state)
sqlalchemy.orm.exc.ObjectDeletedError: Instance '<TaskInstance at 0x7f29c778f130>' has been deleted, or its row is otherwise not present.

Custom Helm Values
airflow:
  config:
    AIRFLOW__CORE__DAGBAG_IMPORT_TIMEOUT: "360"
    AIRFLOW__SCHEDULER__MIN_FILE_PROCESS_INTERVAL: "60"
    AIRFLOW__CELERY__WORKER_CONCURRENCY: 5

@adammarchewka I feel like there must be something bad in your dags/ folder, for example, I wonder if one of your dags is somehow running its own version of airflow (by importing or running something within airflow itself)?
Either way, the first thing to try is spinning up a separate airflow cluster, in another namespace. First, try without your dags, and then, second, try with your dags (assuming this is safe to do), and see if the problems persist in either case.


Decode Morse code

In this project, we

[ ] created a method to decode Morse characters,
[ ] created a method for decode Morse words,
[ ] created a method to decode the whole Morse message.

Thank you very much!!


DynamicTrees/DramaticTrees Compat

Can you explain what your issue is? This mod is already compatible with DynamicTrees.

Closing as invalid.


feat: added alliance flag to division select

added alliance flag to division select

updated this commit to only have the component and not the addition to the deck builder list.  might be useful in the future somewhere else.


Request for smart lock support

Specifically the Orion grid connect wifi smart deadlock. But I note an absence of any smart locks in the list of supported devices (also possible I totally missed them somehow!!)
I’ve never made a request before, but I’m happy to provide any required info!
When I add devid up and local key it just times out with an unknown error.
thanks!!

After you add the device, and get either an error saying no matching devices or get offered simple switch as the only match, look in the Home Assistant logs.  There should be a couple of warning messages from the tuya-local integration, one of which will have the actual data received from the device that it tried to match to a config.
That would be a starting point.  Another good source of data if you signed up to the iot.tuya.com dev portal to get the local key, is under "Cloud" / "API Explorer", then "Smart Home Management System" / "Device Control" / "Get Device Specification Attributes".  Choose the data center your device is registered to, and enter the device ID.  This should contain an explanation of each field and ranges of the values, and tie the fields to local dp_ids.  Often not all local dps are available in the cloud API, but the useful ones usually are.

Probably some work is required to support actual security locks, as the current support for locks is only used for child locks on other devices, so is very simple.

I’ll get into the API as soon as I can get to my laptop, it’s excruciating to use the cloud explorer site on mobile.
In all honesty, I would settle for remote lock, though remote unlock would be nice too, could make for some fantastic automations (especially with toddlers!!!)

From the debugging menu in tuya developer: Device name: DL017HA Wi-Fi Deadbolt
standard status set:

unlock_fingerprint
Integer
{   "unit": "",   "min": 0,   "max": 999,   "scale": 0,   "step": 1 }

unlock_password
Integer
{   "unit": "",   "min": 0,   "max": 999,   "scale": 0,   "step": 1 }

unlock_temporary
Integer
{   "unit": "",   "min": 0,   "max": 999,   "scale": 0,   "step": 1 }

unlock_dynamic
Integer
{   "min": 0,   "max": 999,   "scale": 0,   "step": 1 }

unlock_card
Integer
{   "unit": "",   "min": 0,   "max": 999,   "scale": 0,   "step": 1 }

alarm_lock
Enum
{   "range": [     "wrong_finger",     "wrong_password",     "wrong_card",     "wrong_face",     "tongue_bad",     "too_hot",     "unclosed_time",     "tongue_not_out",     "pry",     "key_in",     "low_battery",     "power_off",     "shock"   ] }

unlock_request
Integer
{   "unit": "",   "min": 0,   "max": 90,   "scale": 0,   "step": 1 }

residual_electricity
Integer
{   "unit": "",   "min": 0,   "max": 100,   "scale": 0,   "step": 1 }

unlock_app
Integer
{   "unit": "",   "min": 0,   "max": 999,   "scale": 0,   "step": 1 }

hijack
Boolean
"{true,false}"

update_all_finger
List
{}

update_all_password
List
{}

update_all_card
List
{}

Please see the exact menu item I specified above.  That is the only function in the cloud API that ties back to local commands.

{
"result": {
"category": "ms",
"functions": [],
"status": [
{
"code": "unlock_fingerprint",
"lang_config": {
"unit": ""
},
"name": "fingerprint unlock",
"type": "Integer",
"values": "{"unit":"","min":0,"max":999,"scale":0,"step":1}"
},
{
"code": "unlock_password",
"lang_config": {
"unit": ""
},
"name": "password unlock",
"type": "Integer",
"values": "{"unit":"","min":0,"max":999,"scale":0,"step":1}"
},
{
"code": "unlock_temporary",
"lang_config": {
"unit": ""
},
"name": "temporary password unlock",
"type": "Integer",
"values": "{"unit":"","min":0,"max":999,"scale":0,"step":1}"
},
{
"code": "unlock_dynamic",
"lang_config": {
"unit": ""
},
"name": "dynamic password unlock",
"type": "Integer",
"values": "{"min":0,"max":999,"scale":0,"step":1}"
},
{
"code": "unlock_card",
"lang_config": {
"unit": ""
},
"name": "card unlock",
"type": "Integer",
"values": "{"unit":"","min":0,"max":999,"scale":0,"step":1}"
},
{
"code": "alarm_lock",
"lang_config": {
"key_in": "key in use",
"low_battery": "low battery",
"power_off": "no power",
"pry": "forceful tamper alert",
"shock": "tamper alert",
"tongue_bad": "deadbolt stuck",
"tongue_not_out": "bolt extension unsuccessful",
"too_hot": "temperature too high",
"unclosed_time": "unlocked timeout",
"wrong_card": "invalid tag",
"wrong_face": "invalid facial recognition (not available)",
"wrong_finger": "invalid fingerprint",
"wrong_password": "invalid passcode"
},
"name": "lock alert",
"type": "Enum",
"values": "{"range":["wrong_finger","wrong_password","wrong_card","wrong_face","tongue_bad","too_hot","unclosed_time","tongue_not_out","pry","key_in","low_battery","power_off","shock"]}"
},
{
"code": "unlock_request",
"lang_config": {
"unit": ""
},
"name": "Remote Unlock Request",
"type": "Integer",
"values": "{"unit":"","min":0,"max":90,"scale":0,"step":1}"
},
{
"code": "residual_electricity",
"lang_config": {
"unit": ""
},
"name": "battery percentage",
"type": "Integer",
"values": "{"unit":"","min":0,"max":100,"scale":0,"step":1}"
},
{
"code": "unlock_app",
"lang_config": {
"unit": ""
},
"name": "app request unlock",
"type": "Integer",
"values": "{"unit":"","min":0,"max":999,"scale":0,"step":1}"
},
{
"code": "hijack",
"lang_config": {
"false": "off",
"true": "on"
},
"name": "unlock alert",
"type": "Boolean",
"values": "{}"
},
{
"code": "update_all_finger",
"lang_config": {
"unit": ""
},
"name": "Update all fingerprint",
"type": "List",
"values": "{}"
},
{
"code": "update_all_password",
"lang_config": {
"unit": ""
},
"name": "Update all password",
"type": "List",
"values": "{}"
},
{
"code": "update_all_card",
"lang_config": {
"unit": ""
},
"name": "Update all Card",
"type": "List",
"values": "{}"
}
]
},
"success": true,
"t": ,
"tid": ""
}

Actually, apologies, that wasnt from the SHM segment of the developer console.  I think this is what you're after?  This is from "Get Device Specification Attribute" as opposed to "Get device specification attributes".  the singular attribute page seems to me to have data more aligned with local control
{
"result": {
"category": "ms",
"functions": [],
"status": [
{
"code": "unlock_fingerprint",
"dp_id": 1,
"type": "Integer",
"values": "{"unit":"","min":0,"max":999,"scale":0,"step":1}"
},
{
"code": "unlock_password",
"dp_id": 2,
"type": "Integer",
"values": "{"unit":"","min":0,"max":999,"scale":0,"step":1}"
},
{
"code": "unlock_temporary",
"dp_id": 3,
"type": "Integer",
"values": "{"unit":"","min":0,"max":999,"scale":0,"step":1}"
},
{
"code": "unlock_dynamic",
"dp_id": 4,
"type": "Integer",
"values": "{"min":0,"max":999,"scale":0,"step":1}"
},
{
"code": "unlock_card",
"dp_id": 5,
"type": "Integer",
"values": "{"unit":"","min":0,"max":999,"scale":0,"step":1}"
},
{
"code": "alarm_lock",
"dp_id": 8,
"type": "Enum",
"values": "{"range":["wrong_finger","wrong_password","wrong_card","wrong_face","tongue_bad","too_hot","unclosed_time","tongue_not_out","pry","key_in","low_battery","power_off","shock"]}"
},
{
"code": "unlock_request",
"dp_id": 9,
"type": "Integer",
"values": "{"unit":"","min":0,"max":90,"scale":0,"step":1}"
},
{
"code": "residual_electricity",
"dp_id": 12,
"type": "Integer",
"values": "{"unit":"","min":0,"max":100,"scale":0,"step":1}"
},
{
"code": "unlock_app",
"dp_id": 15,
"type": "Integer",
"values": "{"unit":"","min":0,"max":999,"scale":0,"step":1}"
},
{
"code": "hijack",
"dp_id": 16,
"type": "Boolean",
"values": "{}"
},
{
"code": "update_all_finger",
"dp_id": 25,
"type": "List",
"values": "{}"
},
{
"code": "update_all_password",
"dp_id": 26,
"type": "List",
"values": "{}"
},
{
"code": "update_all_card",
"dp_id": 27,
"type": "List",
"values": "{}"
}
]
},
"success": true,
"t": ,
"tid": ""
}

So based on this, it seems it isn't possible to control the device (maybe only from the cloud), only to monitor status.  I guess maybe for local API, the remote and/or app unlock dps can also be used to unlock, but I don't know if there will need to be some code provided for security.

I've read Tuya's documentation on WiFi smart locks, and this seems to almost follow that reference design (unlock_app is documented as a boolean, while here is is documented as an integer).  One issue is that it doesn't seem to report the current status of the lock - unless a non-zero report in one of the unlock_.. fields is indicating that (the docs say it reports the last finger etc that unlocked the lock, but if it clears back to 0 when the door is locked, then it could work as an indicator).
It is also unclear to me whether all of these dps are always reported, I suspect at least the update_... ones are only reported when there is an update, as they are potentially large fields (maybe 500 bytes each after hex encoding).  Getting a list of the dps actually reported by the lock would help clear this up.  You should see such a list in a Warning message in the Home Assistant log when you try to add the device and it is unrecognised.
It seems from the Tuya docs that there should be a dp_id 10 which is used to remotely unlock the door in response to a request on dp_id 9 - though the documentation says it is read-only, which is confusing.  dp_id 9 can also be used to set the countdown timer in which a request needs to be approved after the request is made. The above dps list should also clear up whether this is reported, or a write only field.

Hi @make-all great work on adding this since not even the official integration has lock support.
Could any tuya wifi lock work with this?

Other wifi locks could potentially work with this, but there are some other features in the Tuya docs such as face recognition unsupported by this lock which I have not implemented yet, so there is potentially more work needed.

0.18.0 has the config I wrote for this lock.  However, as there was no capture of the local data, only the Tuya portal info, I am not 100% sure it will work.  If it is not detected still, please supply the WARNING messages from the Home Assistant log that relate to this device.

I should be receiving my tuya wifi lock very soon.
Should i post the logs here or just open a new issue?

Please open a new issue if it is not the same device.

Apologies I’ve been offline for so long, school holidays and all…
Wow, amazing work! Thankyou!! You are simply incredible! I am having issues connecting to the lock and I’m not sure what’s going on. I have my local ip, MAC address, devID localkey but it refuses to connect. I’ll dig up the logs ASAP for you.

Just note if you pair with the app again, it will reassign a new local key.  If you've already registered with the iot.tuya.com portal, you should be able to find the local key under some of the Cloud / API Explorer functions to confirm whether it has changed.
Also, tuya devices in general only handle one local connection at a time, so maybe turn off WiFi on your phone while you try connecting to HA to make sure the phone app is not hogging the local connection in the background.

Something odd is happening with my lock, it only ever pops online for a moment when it’s activated externally. I cannot seem to access it from any software, including the phone app.  it doesn’t appear in my router as active or anything. That includes assigning PINs to it or temporary access codes. Frustrating!!!! Therefore I can’t even add it to the integration at all :(

I think that is not unusual for battery powered devices.  Generally such devices will only work properly via the cloud, as they only wake periodically to contact the server then go back to sleep.

I just got this kind of smart lock today. Sleep mode is a bummer as it prevents us from unlocking it. If only there is a way to wake the device up..

Bluetooth and zigbee locks should now be possible to work via hubs in 2023.5.0.  One such lock has already been added.

Hey @make-all I'm planning to buy this one BT Tuya lock: https://www.aliexpress.com/item/1005005145369411.html
There is also usb wifi hub in the description. Is it compatible with your software?

Support for tuya hubs was just added.


[BUG] Pdf exports whitespaces instead of images

Describe the bug
Hi, when I try to export pdf I have whitespace instead of profile photo, but it's appearing in app page and in pdf link preview.
Product Flavor

[X] Managed (https://rxresu.me)
[ ] Self Hosted

To Reproduce

Upload profile photo
Export pdf

Expected behavior
Image must be appear instead of whitespace.
Desktop (please complete the following information):

OS: macos 13.0.1 (22A400)
Browsers:

Arc (0.81.2)

Microsoft Egde (108.0.1462.54 (Official build) (arm64))

Google Chrome (108.0.5359.124 (Official Build) (arm64))

Additional context
I've tried to export it to json and open image url, but seems I missing some credentials like exporter.
https://cdn.rxresu.me/uploads/20400/55054/1651680927417.png

Also when I try to export in incognito it's works again.

This issue should be fixed as of v3.6.17, but I'd still keep an eye out as I was not sure what actually caused it to be sure.


Table under Requirements and prerequisites isn't clear

[Enter feedback here]
The table under Requirements and prerequisites is not clear.

The first bullet point should probably read "...... depending on which combinations of Dynamics 365 and Exchange you are running...". It isn't really a version issue.
In the first two rows of the table, it should state whether Dynamics 365 means Dynamics 365 Online.
In the last row, for Dynamics 365 (on-premises), does this vary depending on whether used with Exchange Online or On-Premises? If so, an additional row should be added to the table.  Or should, "all cards except cards based on Exchange information" be added to the Dynamics 365 on-premises row?
I suggest removing the brackets () around on-premises and writing for example, Microsoft Exchange On-Premises to match Microsoft Exchange Online.

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

ID: 340ab1f0-dcdf-48d0-0b75-6bba8fcbb272
Version Independent ID: 340ab1f0-dcdf-48d0-0b75-6bba8fcbb272
Content: Introduction on how to administer Sales Insights
Content Source: ce/sales/intro-admin-guide-sales-insights.md
Service: dynamics-365-sales
GitHub Login: @udaykirang
Microsoft Alias: udag

Thanks for your comment, @feridunkadir. This issue has been assigned to the doc author for review.

@feridunkadir thanks for your feedback. I will work on this and update the topic accordingly.
Apologies for the delayed response.

Updated the doc as suggested. For points 2 and 4, we are following the naming standards that are defined for Dynamics 365.
Thanks,
Uday


ng g m doesn't work

Hi,
ng g m moduleName generates issues as below on Windows:
Schematic input does not validate against the Schema: {"routing":false,"routingScope":"Child","flat":false,"commonModule":true,"name":"test","project":"ngTestNative","path":"src\\app","spec":true}
Errors:

  Data path ".path" should match format "path".

When I changed to WSL (Ubuntu) everything is ok. Issue occurs with @nativescript/schematics. Standard ng new without schematic is working fine.

Hi @jacobypl,
This looks like the same problem in #85. Does it happen on Windows?

Fixed in 0.3.0-rc.0


Update system.md

fix typo

Thanks a lot for your contribution!
Unfortunately, this PR cannot be merged now, since the docs had to be rewritten from scratch since.
The last releases also introduced a lot of new features - hope you'll like them and hope the updates didn't break your code :)

No worries! Big fan of the idea/project! Used it for some smaller simulations. Feel free to publish some issue/todo. If I find the time I am willing to contribute :)


Check for strings passed as first argument to #set

I've passed a string and new value as first and second arguments to set() a few times, which chokes on in in the this.idAttribute in attrs line.
Reinforced by my volatile memory, and maybe by the fact that setters in many languages/frameworks have a syntax along these lines set(propertyName, newValue). Thus adding a simple check for a string could be a good idea. What do you think?

This API now works on master...
model.set(key, value);

Excellent news!


build_contracts.sh doesn't recompile contracts

Which components does the task require to be changed? (think hard pls)
sncast
Description
When built locally, the contracts are not recompiled after scarb version changes, resulting in out-of-date class hashes and addresses used in tests.
https://github.com/foundry-rs/starknet-foundry/blob/9a1b4bc0c85c99f2ec21eb62c0ec99b8ea310e54/crates/sncast/tests/utils/build_contracts.sh#L19C5-L19C42

This is by design, as they are cashed. We will remove this script altogether soon https://github.com/foundry-rs/starknet-foundry/issues/1800


Add voice messages feature

We are using Riot as a corporate chat.
Using voice messages would be very convenient in some work situations.
It would be great if you add this feature.

this function is already merged

@tleydxdy sorry for a stupid question. But what do you mean by "merged"?

Hi @megrf, a workaround for this feature will be available soon on Andorid app: it will allow you to record a voice message with an external application and send it to a Room.

This is good, but more nicely will be use native record in riot. User need more then 4 taps for voice record via external application.
And this record  have not preview in android riot:

In web riot otherwise is good preview:

See also #1577 #1395 #1237

Today I describe to user how he can record voice record:

Press "attach button"
Select in menu "Send voice"
Select voice record app (press to it)
Press key "record" in voice app - record voice.
Press "stop" for stop record voice.
Press "Ok" for select and send voice to riot.

Then user ask me: "Why? Why it is so hard?" :-)
I sink more wanted simply one key "record voce" - press it - and voice recording, release - stop recording and send to room.
More users want this features...
Thank you!

This feature has to be considered as a meta feature across all Riot/Matrix universe.
Maybe @lampholder can add this to the roadmap?

Duplicate of #1237

@bmarty  how to add voice voice message feature in app. pls tell me sir


Gekko crashes while running watcher/tradebot

Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.
I'm submitting a ...
[x ] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
Installed version 0.6.5 from the scratch
Started live gekko (neuralnet) from UI at Binance
Expected result (what you hoped would happen)
Order should be placed
Actual result (unexpected outcome)
Gekko was running for a while and crased at one moment (seems that it tried to place an order)
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)

Aug 13 09:15:22 ip-172-31-31-32 gekko[8596]:   --> GET /api/imports 200 1ms 364b
Aug 13 09:27:26 ip-172-31-31-32 gekko[8596]: events.js:183
Aug 13 09:27:26 ip-172-31-31-32 gekko[8596]:       throw er; // Unhandled 'error' event
Aug 13 09:27:26 ip-172-31-31-32 gekko[8596]:       ^
Aug 13 09:27:26 ip-172-31-31-32 gekko[8596]: Error: read ECONNRESET
Aug 13 09:27:26 ip-172-31-31-32 gekko[8596]:     at _errnoException (util.js:992:11)
Aug 13 09:27:26 ip-172-31-31-32 gekko[8596]:     at TCP.onread (net.js:618:25)
Aug 13 09:27:26 ip-172-31-31-32 systemd[1]: gekko.service: Main process exited, code=exited, status=1/FAILURE
Aug 13 09:27:26 ip-172-31-31-32 systemd[1]: gekko.service: Unit entered failed state.
Aug 13 09:27:26 ip-172-31-31-32 systemd[1]: gekko.service: Failed with result 'exit-code'.
Aug 13 09:27:36 ip-172-31-31-32 systemd[1]: gekko.service: Service hold-off time over, scheduling restart.
Aug 13 09:27:36 ip-172-31-31-32 systemd[1]: Stopped gekko.service.
Aug 13 09:27:36 ip-172-31-31-32 systemd[1]: Started gekko.service.

2018-08-13-08-08-tradebot-710049575725727.log

Seems that this issue is not directly related to Binance or strat used. Gekko should handle this exception somehow and do not restart.

Tried to start tradebot one more time. Watcher was created but tradebot gekko was not.

Aug 13 10:37:02 ip-172-31-31-32 gekko[8959]:   --> POST /api/startGekko 200 8ms 1.23kb
Aug 13 10:40:30 ip-172-31-31-32 gekko[8959]: events.js:183
Aug 13 10:40:30 ip-172-31-31-32 gekko[8959]:       throw er; // Unhandled 'error' event
Aug 13 10:40:30 ip-172-31-31-32 gekko[8959]:       ^
Aug 13 10:40:30 ip-172-31-31-32 gekko[8959]: Error: read ECONNRESET
Aug 13 10:40:30 ip-172-31-31-32 gekko[8959]:     at errnoException (util.js:992:11)
Aug 13 10:40:30 ip-172-31-31-32 gekko[8959]:     at TCP.onread (net.js:618:25)
Aug 13 10:40:30 ip-172-31-31-32 systemd[1]: gekko.service: Main process exited, code=exited, status=1/FAILURE
Aug 13 10:40:30 ip-172-31-31-32 systemd[1]: gekko.service: Unit entered failed state.
Aug 13 10:40:30 ip-172-31-31-32 systemd[1]: gekko.service: Failed with result 'exit-code'.
Aug 13 10:40:40 ip-172-31-31-32 systemd[1]: gekko.service: Service hold-off time over, scheduling restart.
Aug 13 10:40:40 ip-172-31-31-32 systemd[1]: Stopped gekko.service.
Aug 13 10:40:40 ip-172-31-31-32 systemd[1]: Started gekko.service.
Aug 13 10:40:40 ip-172-31-31-32 gekko[9599]:     ______   ________  __    __  __    __   ______
Aug 13 10:40:40 ip-172-31-31-32 gekko[9599]:    /      \ /        |/  |  /  |/  |  /  | /
Aug 13 10:40:40 ip-172-31-31-32 gekko[9599]:   /$$$$$$  |$$$$$$$$/ $$ | /$$/ $$ | /$$/ /$$$$$$  |
Aug 13 10:40:40 ip-172-31-31-32 gekko[9599]:   $$ | $$/ $$ |    $$ |/$$/  $$ |/$$/  $$ |  $$ |
Aug 13 10:40:40 ip-172-31-31-32 gekko[9599]:   $$ |/    |$$    |   $$  $$<   $$  $$<   $$ |  $$ |
Aug 13 10:40:40 ip-172-31-31-32 gekko[9599]:   $$ |$$$$ |$$$$$/    $$$$$  \  $$$$$  \  $$ |  $$ |
Aug 13 10:40:40 ip-172-31-31-32 gekko[9599]:   $$ _$$ |$$ |_____ $$ |$$  \ $$ |$$  \ $$ _$$ |
Aug 13 10:40:40 ip-172-31-31-32 gekko[9599]:   $$    $$/ $$       |$$ | $$  |$$ | $$  |$$    $$/
Aug 13 10:40:40 ip-172-31-31-32 gekko[9599]:    $$$$$$/  $$$$$$$$/ $$/   $$/ $$/   $$/  $$$$$$/
Aug 13 10:40:40 ip-172-31-31-32 gekko[9599]:         Gekko v0.6.5
Aug 13 10:40:40 ip-172-31-31-32 gekko[9599]:         I'm gonna make you rich, Bud Fox.
Aug 13 10:40:40 ip-172-31-31-32 gekko[9599]: Serving Gekko UI on https://gekko.a-bishop.com:443/

What kind of gekko (live or paper trader)?
Didn't try to run paper trader. Tried market watcher and tradebot to reproduce this issue.
What exchange? -> Binance
Yes, Binance
Did you use any plugins?
No additional plugins were used.
Did you have a browser session open at the time?
Yes, I guess browsed was open.
What browser (& version)?
Google Chrome, 68.0.3440.106 (x64)
What database (assuming default sqlite)?
Yes, SQLite.

Tried to more things:

Paper trader: the same problem
Internet Explorer instead of Chrome (actually do not think that it is browser related): the same problem.

Gekko is not usable for me currently :(

Yes it's strange. it's running fine using commandline but on UI setup it crashes. And yes, I had also crashes in night when I haven't open the web browser.

 Can everyone (@xbromy, @alexandershalin, et al.) please run the development branch and report strange logs? See here: https://gekko.wizb.it/docs/installation/updating_gekko.html#Updating-the-develop-branch

Okay, I updated and switched to UI. Let's see.

I receive the following error right after update to develop branch.
Aug 20 08:30:40 ip-172-31-31-32 gekko[26218]: RECEIVED ERROR IN GEKKO INSTANCE 2018-08-20-08-30-tradebot-467908376750755
Aug 20 08:30:40 ip-172-31-31-32 gekko[26218]: This Gekko instance encountered an error and can't continue

Is there anything in the logs? Have you updated dependencies?
On Mon, Aug 20, 2018 at 4:33 PM, Alexander Shalin<EMAIL_ADDRESS>wrote:

I receive the following error right after update to develop branch.
Aug 20 08:30:40 ip-172-31-31-32 gekko[26218]: RECEIVED ERROR IN GEKKO INSTANCE 2018-08-20-08-30-tradebot-467908376750755
Aug 20 08:30:40 ip-172-31-31-32 gekko[26218]: This Gekko instance encountered an error and can't continue
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/askmike/gekko/issues/2442#issuecomment-414239716, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA7MD01fATIAv4-vBwxWicN3Oae77KcOks5uSnRSgaJpZM4V6QcM
.

--
PGP key at keybase.io/mikevanrossum
https://keybase.io/mikevanrossum/key.asc

@askmike yes, forgot to update dependencies. Seems that this issue is fixed on my side now.

@alexandershalin How to update dependencies?

@xbromy
https://gekko.wizb.it/docs/installation/updating_gekko.html#Updating-the-develop-branch
On Mon, Aug 20, 2018 at 11:40 PM, xbromy<EMAIL_ADDRESS>wrote:

@alexandershalin https://github.com/alexandershalin How to update
dependencies?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/askmike/gekko/issues/2442#issuecomment-414363182, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA7MD83O8clAu4uRiT477XvbCAXpGGAeks5uStiKgaJpZM4V6QcM
.

--
PGP key at keybase.io/mikevanrossum
https://keybase.io/mikevanrossum/key.asc

@xbromy in the case of using some custom strats (Neuralnet e.g.)  you also need to update dependencies for these strats.

Ah yes rest I already did. It's working fine since a few hours. Looks great.


Update server.yml

default value of storage size 5120 instead of 51200

Docs Build status updates of commit 34c315e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

latest/docs-ref-autogen/mysql/server.yml
:bulb:Suggestion
View (azure-cli-latest)
Details

latest/docs-ref-autogen/mysql/server.yml

Line 78, Column 202: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'SingleIP' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 78, Column 214: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'StartIP-DestinationIP' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 428, Column 202: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'SingleIP' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 428, Column 214: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'StartIP-DestinationIP' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 431, Column 93: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 437, Column 116: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@rula88, The change you made is to autogenerated reference content.  Issue 22926 has been created in Azure/azure-cli and will be routed to the service team.  I am therefore closing this PR as any changes made in MicrosoftDocs/azure-docs-cli will be over-written.


pwa config test - cache-first fix attempt

Closing this pull request because it's old and the preview branch keeps building.

Closing


"sys-kernel-debug.mount" fails when running nixos-rebuild switch in a Proxmox LXC

Describe the bug
"sys-kernel-debug.mount" fails when running nixos-rebuild switch in a Proxmox LXC
Steps To Reproduce
Steps to reproduce the behavior:

Create a Proxmox LXC using this guide https://nixos.wiki/wiki/Proxmox_Linux_Container
run nixos-rebuild switch after logging in as root

Expected behavior
No error about sys-kernel-debug.mount should be thrown
it should be potentially disabled in containers since that stopped it from throwing the error
Screenshots
[root@nixos:~]# nixos-rebuild switch
building Nix...
building the system configuration...
activating the configuration...
setting up /etc...
reloading user units for root...
setting up tmpfiles
warning: the following units failed: sys-kernel-debug.mount

× sys-kernel-debug.mount - Kernel Debug File System
     Loaded: loaded (/etc/systemd/system/sys-kernel-debug.mount; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2022-02-02 23:44:55 UTC; 14ms ago
      Where: /sys/kernel/debug
       What: debugfs
       Docs: https://www.kernel.org/doc/Documentation/filesystems/debugfs.txt
             https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
         IP: 0B in, 0B out
        CPU: 1ms

Feb 02 23:44:55 nixos systemd[1]: Mounting Kernel Debug File System...
Feb 02 23:44:55 nixos mount[2363]: mount: /sys/kernel/debug: permission denied.
Feb 02 23:44:55 nixos systemd[1]: sys-kernel-debug.mount: Mount process exited, code=exited, status=32/n/a
Feb 02 23:44:55 nixos systemd[1]: sys-kernel-debug.mount: Failed with result 'exit-code'.
Feb 02 23:44:55 nixos systemd[1]: Failed to mount Kernel Debug File System.
warning: error(s) occurred while switching to the new configuration

Additional context
I used this build from hydra
https://hydra.nixos.org/build/166309459
Notify maintainers
@mkg20001
Metadata
[root@nixos:~]# nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.11.22-5-pve, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.16`
 - channels(root): `"nixos-21.11.335733.f6ddd55d5f9"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

with lxd and security.nesting=true it works
[root@nixos:~]# systemctl status sys-kernel-debug.mount
● sys-kernel-debug.mount - Kernel Debug File System
     Loaded: loaded (/proc/self/mountinfo; enabled; vendor preset: enabled)
     Active: active (mounted) since Thu 2022-02-03 00:01:45 UTC; 6min ago
      Where: /sys/kernel/debug
       What: debugfs
       Docs: https://www.kernel.org/doc/Documentation/filesystems/debugfs.txt
             https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems

Notice: journal has been rotated since unit was started, output may be incomplete.

likely needs seperate image for lxc v1 containers

Some extra info
nesting is enabled for the lxc in proxmox settings

and I'm using pve 7.0-13 as the host

I added this to my configuration.nix and it did the trick.
  systemd.mounts = [{
    where = "/sys/kernel/debug";
    enable = false;
  }];