Translation to other languages?

Is it possible for us to translate PermissionsEx? like a strings.yml?

This has been implemented in PEX2.0 for Sponge already. Let me know if you're interested in working on translating PEX to any specific language and I'll get you set up. PEX uses gettext's po format for translations, which is pretty standard and has a lot of editors available.

Humm, sponge, I still dunno how to set it up....
Anyway, I would like a zh_HK. ;)

Ok, I've created a file for zh_HK. It's in the src/main/po folder of this repository. That's the file you'll edit to do translations.
Sponge is installed as a forge mod. Get a forge installation from files.minecraftforge.net. Then get a sponge dev build from https://repo.spongepowered.org/maven/org/spongepowered/sponge/ (go with the latest one) and copy it into forge's mods folder.
You can copy your plugins/ folder from Bukkit into the server root and PEX will copy its config from bukkit (but none of your bukkit plugins will load).
So you can test the translations, I recommend forking this repository and making edits locally. Unless you are already familiar with git, the simplest way to do this is:

Install Github for windows/mac
Fork this repository and clone in in the github desktop app
Install Maven (this is the tool we use to build PEX)
Perform translations, editing the zh_HK file either by hand or with a po editor (http://poedit.org seems ok, I do it by hand -- you can do whatever you prefer)
Run the command mvn clean install in terminal. This will give you a compiled permissionsex jar  as target/permissionsex-2.0-SNAPSHOT.jar. You can copy this into your mods/ folder in your server root.
Test the new translations, let me know if there's anything that is broken in the code or is difficult to translate, and once you are done, make a pull request to this repository.

Any amount of work helps!

 Thanks so much for your help

@zml2008 Humm, how could I resolve this?
https://gist.github.com/lifehome/2a96954af9af1d668964

@zml2008 now I ran into missing xgettext...

Your first issue is just from java being a bit funky about connecting to https urls -- so the sponge repo was having issues.
xgettext is included as part of the gettext distribution. On windows this seems to only be available through cygwin, on os x through homebrew, or on linux through your package manager.

So I still can't get through that xgettext thing, and I have brewed the gettext...

Whoops, I got kinda busy there. Latest dev build is available at http://ci.yawk.at/view/PermissionsEx/job/PermissionsEx/lastSuccessfulBuild/artifact/target/permissionsex-2.0-SNAPSHOT.jar. However, you will need to have a working dev environment set up to be able to test changes currently (However, I'm looking into a different gettext plugin that does not require external dependencies for going po->resourcebundle)

Unfortunately PermissionsEx is currently unmaintained and no further updates are planned. Because of this, all pull requests are being closed. If you are looking for an actively maintained permissions plugin, take a look at LuckPerms. It is compatible with major server platforms and can import data from PEX.


Rebased changes ppc

Rebased ppc64le changes on top of latest upstream main branch

@npanpaliya I see the conflicts, can you please fix these?


New ensemble new learning

No filtered activity-based operation, but otherwise works - Re-adds support for Voja and PES to new-ensemble

I think this has reached the point of review!

Dare I ask what you'd like to do with this history?

So i'm playing around with this code now, and I tried to make two connections into conn.learning_rule
nengo.Connection(target, conn.learning_rule, transform=-1)
nengo.Connection(current, conn.learning_rule)

and it looked like the first connection was being bumped off by the second connection. When I combined the two in a separate ensemble beforehand and connected that output to the learning rule things worked fine.

I am pretty certain I never thought that was even possible :) I THINK it
would be relatively easy to implement. @mundy - What are your plans for the
integration of this, now worryingly out of date, branch and new_ensemble in
general into master?
On 23 March 2016 at 16:21, Travis DeWolf<EMAIL_ADDRESS>wrote:

So i'm playing around with this code now, and I tried to make two
connections into conn.learning_rule
nengo.Connection(target, conn.learning_rule, transform=-1)
nengo.Connection(current, conn.learning_rule)
and it looked like the first connection was being bumped off by the second
connection. When I combined the two in a separate ensemble beforehand and
connected that output to the learning rule things worked fine.
—
You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub
https://github.com/project-rig/nengo_spinnaker/pull/96#issuecomment-200420999

I am pretty certain I never thought that was even possible :)

:)  Yeah, all our examples only use one input to a learning_rule, but as I've been playing with learning rules more and more I keep doing this multiple connection thing.  Basically since the error population is almost always doing some sum of two different inputs, you can almost always just get rid of the error population and do two different connections into the learning rule.  So we've started getting into the habit of doing that, just for efficiency reasons....  But it is definitely quite surprising.

If you could raise an issue and assign it to me, I will add it at some
point in the near future. What are you guys using Nengo SpiNNaker learning
for?
On 23 March 2016 at 16:40, tcstewar<EMAIL_ADDRESS>wrote:

I am pretty certain I never thought that was even possible :)
:) Yeah, all our examples only use one input to a learning_rule, but as
I've been playing with learning rules more and more I keep doing this
multiple connection thing. Basically since the error population is almost
always doing some sum of two different inputs, you can almost always just
get rid of the error population and do two different connections into the
learning rule. So we've started getting into the habit of doing that, just
for efficiency reasons.... But it is definitely quite surprising.
—
You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub
https://github.com/project-rig/nengo_spinnaker/pull/96#issuecomment-200431018

Robots! :smile:

issue made but i am unable to assign!

What are your plans for the integration of this, now worryingly out of date, branch and new_ensemble in general into master?

Unsure. Given how far we've I've let this slip it might be easier to do the merge in person when I'm next in Manchester (like w/b 11th April)?

@neworderofjamie I'll try to review this tomorrow, hopefully the merge shouldn't be too horrible... I don't think master has changed that much.

Awesome, has new_ensemble even made it to master? :)
On 23 March 2016 at 18:00, Andrew Mundy<EMAIL_ADDRESS>wrote:

@neworderofjamie https://github.com/neworderofjamie I'll try to review
this tomorrow, hopefully the merge shouldn't be too horrible... I don't
think master has changed that much.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/project-rig/nengo_spinnaker/pull/96#issuecomment-200467979

Awesome, has new_ensemble even made it to master? :)

Yes, I think it's been in master for a bit now

Manually merged into master.


Make Whitespace a proper trait rather than function to avoid unwanted implicit conversions

Fixes https://github.com/com-lihaoyi/fastparse/issues/261, which is caused by the whitespace P[_] => P[Unit] implicits firing as implicit conversions rather than the implicit parameters they were originally intended to be. Since whitespace is meant to ignore failures, this caused failures caused by the Fail.! : P[String] to be ignored when implicitly converted to P[Unit]
The fix is to create a proper Whitespace trait to inherit from.
Note that this is a binary incompatible change. It's stacked on top of https://github.com/com-lihaoyi/fastparse/pull/271 for convenience, but should probably land separately after. The relevant changes are in this commit https://github.com/com-lihaoyi/fastparse/pull/272/commits/d87ab6d9de062ec1e0bbf897643cefef7cd03338 if anyone wants to look.
Note that I moved the custom whitespace tests to a scala2.12+ folder to skip them on 2.11. 2.11 does not support SAM conversion, which makes defining custom whitespaces a lot more boilerplatey. Can still be done, but no need to burden everyone with boilerplatey examples just to cater for the 2.11 folks in the test suite. Things are unlikely to break just for 2.11 anyway

@lefou @lolgab if we expect the next version of Fastparse to be 3.0.0, then I'll merge this to get it in before the version bump

Can you rebase this PR on top of #271, please?

@lefou should already be rebased

I meant on top of master branch.

@lefou I squashesd it on top of latest master, we can use the Squash and Merge button to make sure the PR description is used on the final commit that ends up in master


 It also sets it to 'nfs' as default.

Let's just re-use the vagrant_cachier_folder_default_type variable for this (since it's a similar feature and I can't see a use case for having different types for the default vs cachier).

I thought of that first but then thought you would say the opposite. :)
Anyway, I pushed a commit with the changes.

Merged, thanks!


mute / un-mute microphone

Hi, Any idea how I can mute / un-mute the local microphone?  Thanks!

@vrevidat Hi, ErizoClient doesn't offer an API to do this, you have to look into WebRTC level.
I am planning to add several API calls to handle audio/video once WebRTC team finishes IOS refactor.
I hope in two weeks to have something, keep you posted here.

Fixed: 7dacd4cdfc48e34d764df0fc7527bc1d881a3c8f


Version macros not dependent on git

Would be nice to not depend on git to set the version macros. Most package system prefers to base their source packages on regular distfiles on which they can have hashes. If I download the distfile from the release tab on github I end up with something non buildable :(

Thanks for reporting the issue. I've just pushed hotfix/0.1.1 if you want to try it.

It works thank you very much expect a FreeBSD package soon :)


Export data

Excel / CSV
Pretty printing to PDF

https://github.com/inventree/InvenTree/pull/124 provides a first-pass at data exporting:
It provides BOM export via CSV format (very simple and there are issues with string escaping).
However it does provide a framework for generating files in-memory on the server side and presenting them as downloads to the user.

Now uses tablib to provide many output options!


Add support for --failing, --successful and --pending flags in default formatter

The behavior should be that only the selected type of examples should be printed. Everything else is unaffected.

Done in v.0.11.2


Monitoring support for Hardware Accelerators

Feature Description

One-line feature description (can be used as a release note): Monitoring support for Hardware Accelerators
Primary contact (assignee): @mindprince
Responsible SIGs: node, instrumentation
Design proposal link (community repo): TBD
Reviewer(s) - (for LGTM) recommend having 2+ reviewers (at least one from code-area OWNERS file) agreed to review. Reviewers from multiple companies preferred: @dashpole, @piosz
Approver (likely from SIG/area to which feature belongs): @vishh
Feature target (which target equals to which milestone):

Alpha release target (1.8)
Beta release target (1.9)
Stable release target (1.10)

/sig node
/sig instrumentation

@vishh @mindprince @kubernetes/sig-node-feature-requests any progress for 1.8?
If yes, please, update the features tracking board with the relevant data.

Please update the milestone of this feature to 1.9.

Design Doc: https://docs.google.com/document/d/13O4HNrB7QFpKQcLcJm28R-QBH3Xo0VmJ7w_Pkvmsf68/edit

Related cAdvisor issue https://github.com/google/cadvisor/issues/1436

@mindprince do you have a design doc somewhere on GitHub?

@idvoretskyi No. It's only on the above Google Doc (which is shared with kubernetes-dev@)

@mindprince Some people would love to read the doc even not being part of  kubernetes-dev@

@mindprince @vishh -- the design proposal should be a pr in community repo once it stabilized.  can we please do that?

I will convert the doc to markdown and send a PR.

@erkules @derekwaynecarr https://github.com/kubernetes/community/pull/1420

@vishh :wave: Please indicate in the 1.9 feature tracking board
whether this feature needs documentation. If yes, please open a PR and add a link to the tracking spreadsheet. Thanks in advance!

/close


Add request "query" in the generated Pact files

Checklist
Before making a feature request, I have:

[x] Searched the issues to check that this feature hasn't been requested before
[x] Checked the documentation to see if it is possible to do what I want already

Feature description
When any request with a query string is intercepted in a route handled by pact-msw-adapter, the Pact file should be written with the property query inside the request object.
Use case
Here is a use case in code example:
import {rest} from 'msw'

const response = [
  {value: '1', text: 'sedan'},
  {value: '2', text: 'coupe'},
  {value: '3', text: 'sport'}
]
const handler = rest.get(
  'http://localhost:8080/vehicles/body-types',
  (req, res, ctx) => res(ctx.status(200), ctx.json(response))
)

// Here all the `server` and `pactMswAdapter` setup...

it('makes a request to get available body types', () => {
  server.use(handler)

  fetch('http://localhost:8080/vehicles/body-types?category=1')
    .then(res => res.json())
    .then(({data}) => {
      expect(data).to.deep.equal(response)
  })
})

After the test execution, we would expect the "query" in the request example is added to the Pact file.

Hey @kikoruiz
Thanks for the enhancement request, would you be interested in submitting a pull request?

@YOU54F For sure, I'm working on it ;)

Just gone on as v1.2.0
msw may have to be pinned to 0.36.8 due to this
https://github.com/pactflow/pact-msw-adapter/pull/42#issue-1226926107
Just testing it out, if so, will add a peer dep restriction on versions in the package json

Closing this issue then, thanks so much @YOU54F for helping me to introduce this new feature 😃


Delete downloaded media from Xbox Live

Description
It may be the case that not all users want to have their screenshots and game clips remain on Xbox Live after they download them. A nice enhancement would be for xbox2local to optionally delete downloaded media from Xbox Live after successfully downloading it, e.g., with a new optional command line argument --delete_after_downloading.
However, neither X API nor the actual Xbox Live Services RESTful API seem to support this at the moment.
Can you help develop and maintain this feature?
Yes.

No longer on hold after #15, which contains an /api/v2/dvr/gameclips/delete/{gameClipId} endpoint for deleting gameclips (the more storage intensive of the two types of media).


Value of rskip inside quote environment carried over into first footnote on page

Check out this three page spread:

The first page is all good. So is the second really, but note that the page break between two and three happens in the middle of a quote environment. Now check out the indentation of the first footnote on the third page (footnote 80).

Could you try adding SILE.settings.reset() into the footnote package here:
local material = SILE.Commands["vbox"]({}, function()
  SILE.Commands["font"]({size = "9pt"}, function()
    SILE.settings.reset() -- this line
    SILE.call("noindent")
    SILE.typesetter:typeset(SILE.formatCounter(SILE.scratch.counters.footnote)..".")
    SILE.call("qquad")
    SILE.process(content)
  end)
end
)

Let me know if it breaks other stuff.

Edit: this isn't actually a page break issue, I just realized it's happening when the \footnote marker is inside the quote.
(Trying your code now…)

No change when adding SILE.settings.reset() to my footnote function.

Here's some output with the reset in place. It's also from the middle of a page and note the only one affected is the one marked from inside the quote. The font size is wrong, but otherwise everything is the same as before.

Hey that's better. Thanks!


Great idea (update soon?)

Hi, this is a great idea, is this still something that you want to maintain, I am not great with scraping, but it would be awesome to have a feed like this. Have you come across any other ways of doing it that might be easier to maintain?

Thanks for the ping on this! I will be reviving this effort shortly, as I have a need for these papers myself.

Hey there, any idea what the bug might be, if so I can have quick stab at fixing it.

@firmai not a bug per-se, I just need to point the service to a different API endpoint (moved to Digital Ocean from Azure). Thinking I can tackle this work this week!

@firmai the feeds should be working once again!


Animation added to the image

https://github.com/subhadipbhowmik/30-Days-Of-CPP/assets/119414762/ffaae118-4d3d-4f4c-a8c7-62c30253ad70
Here is the video of animation added in the Home Section.
Can you increase the level under Gssoc.

@subhadipbhowmik Kindly review the PR.

@subhadipbhowmik kindly review it.


[ACM-15448] Updated client to disable caching for ClusterServiceVersion resources

Description
When a user has a large cluster with a lot of operator running, there is a chance where the MCH operator will hit a limit when caching the ClusterServiceVersion resources. This PR will disable the caching for the CSV resources. Since we only need to get the MCE CSV resource, we can disable caching and watching for all CSV resources under the covers.
W1107 17:45:46.730207 1 reflector.go:547] pkg/mod/k8s.io/client-go@v0.30.3/tools/cache/reflector.go:232: failed to list *v1alpha1.ClusterServiceVersion: stream error when reading response body, may be caused by closed connection. Please retry. Original error: stream error: stream ID 23079; INTERNAL_ERROR; received from peer
E1107 17:45:46.730257 1 reflector.go:150] pkg/mod/k8s.io/client-go@v0.30.3/tools/cache/reflector.go:232: Failed to watch *v1alpha1.ClusterServiceVersion: failed to list *v1alpha1.ClusterServiceVersion: stream error when reading response body, may be caused by closed connection. Please retry. Original error: stream error: stream ID 23079; INTERNAL_ERROR; received from peer

Related Issue
https://issues.redhat.com/browse/ACM-15448
Changes Made
Added ClusterServiceVersion resources to the disabled cached resources.
Screenshots (if applicable)
Add screenshots or GIFs that demonstrate the changes visually, if relevant.
Checklist

[ ] I have tested the changes locally and they are functioning as expected.
[ ] I have updated the documentation (if necessary) to reflect the changes.
[ ] I have added/updated relevant unit tests (if applicable).
[ ] I have ensured that my code follows the project's coding standards.
[ ] I have checked for any potential security issues and addressed them.
[ ] I have added necessary comments to the code, especially in complex or unclear sections.
[ ] I have rebased my branch on top of the latest main/master branch.

Additional Notes
Add any additional notes, context, or information that might be helpful for reviewers.
Reviewers
Tag the appropriate reviewers who should review this pull request. To add reviewers, please add the following line: /cc @reviewer1 @reviewer2
/cc @cameronmwall @ngraham20
Definition of Done

[ ] Code is reviewed.
[ ] Code is tested.
[ ] Documentation is updated.
[ ] All checks and tests pass.
[ ] Approved by at least one reviewer.
[ ] Merged into the main/master branch.

/cherry-pick release-2.12

/lgtm


macOS keyboard input goes to terminal, not App

On macOS, when I run from the local repo clone (python src/app.py) all the input from the keyboard continues to go to the terminal where I started the app, and not to the app itself. So for example I try to type a password for the WiFi, it shows in the terminal.
This does not happen in the app when installed from the DMG. I also tried creating a binary (create_binary.sh) but the same issue occurs.
How do I get around this (to use the latest source) or how can I make the .dmg installer version?
The latest source connects to the device super fast!
thanks!

I can't find any Python Launcher (not in open-with etc.)
I'm running macOS Ventura.
john

On Feb 26, 2023, at 5:39 PM, Jean-Christophe Bos @.***> wrote:
Hello @guineau https://github.com/guineau and thanks for using ESP32 MPY-Jama :)
On MacOS, indeed, the launch from a terminal makes that the keyboard events are received in this same terminal.
I advise you to go in the sources directory with the Finder, to right-click (two fingers on the Trackpad) on the app.py application and then to open it with Python Launcher (which is installed with the MacOS version of the official Python).
Thus, the python that is executed is in GUI mode and there is no terminal so the software works correctly.
It's ok for you?
—
Reply to this email directly, view it on GitHub https://github.com/jczic/ESP32-MPY-Jama/issues/26#issuecomment-1445545971, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4LV6UVF6ZAWSCDZKMCWZTWZQAUTANCNFSM6AAAAAAVIZDW5M.
You are receiving this because you were mentioned.

@guineau, the last Python pkg for MacOS :
https://www.python.org/ftp/python/3.11.2/python-3.11.2-macos11.pkg
Available on https://www.python.org/downloads/release/python-3112

Interesting. I installed that Python you linked to. Then used that python to create a venv in a terminal. And I can now run app.py from the terminal and input goes tot he app and not the term.
Must be something with the python install? I
￼

On Feb 28, 2023, at 3:04 PM, Jean-Christophe Bos @.***> wrote:
@guineau https://github.com/guineau, the last Python pkg for MacOS :
https://www.python.org/ftp/python/3.11.2/python-3.11.2-macos11.pkg
Available on https://www.python.org/downloads/release/python-3112
—
Reply to this email directly, view it on GitHub https://github.com/jczic/ESP32-MPY-Jama/issues/26#issuecomment-1449062552, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4LV6T4C6F5MBZ3FPTFMR3WZ2ABFANCNFSM6AAAAAAVIZDW5M.
You are receiving this because you were mentioned.

Hi @guineau.
It must be configured with Cocoa or QT to intercept the graphical elements correctly.
It is clear that Python must receive the events of the MacOS UI on its own application window.
In any case it works for you and that's the main thing.
Don't hesitate to come back to me if you have other problems :)

Thank you Jean-Christophe!JohnSent from my iPhoneOn Mar 2, 2023, at 4:51 PM, Jean-Christophe Bos @.***> wrote:
Hi @guineau.
It must be configured with Cocoa or QT to intercept the graphical elements correctly.
It is clear that Python must receive the events of the MacOS UI on its own application window.
In any case it works for you and that's the main thing.
Don't hesitate to come back to me if you have other problems :)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


fix warning from adding a .pom to the bundle classpath

@gjoranv or @hakonhall please review

Thanks!


fix(cast): skip optimism system tx

Fixes #5987
Motivation

Like base and optimism, chains built on the OP Stack have the first transaction in the block created by the fixed system address (0xdeaddeaddeaddeaddeaddeaddeaddeaddeaddead0001), which fails tx validation in revm.
reference
Solution

Like https://github.com/foundry-rs/foundry/pull/5226, for cast run, transactions have already been confirmed by the network. Hardcoded a transaction skip from 0xdeaddeaddeaddeaddeaddeaddeaddeaddeaddead0001.

thanks for this
this is superseded by #5991
however this won't fix your issue since we're currently unable to replay system transactions and your targeted transaction in #5987 is a sys tx


Use rulesets to validate models in Web API

The CustomizeValidator attribute allows a developer to specify a specific ruleset to use when validating models in MVC but that feature is not in Web API.
Please add it.

I just found
https://github.com/JeremySkinner/FluentValidation/issues/80


LFS-511: The "+" button on subject form is no longer working

Every time users clicks on the + button, the following dioalog is suppose to open up:

Currently the dialog that opens up rembers the last subject name and type:

I have found a bug in this PR. To reproduce it:

Go to the Subjects page
Use the + button to create a new subject
Select Tumor for the subject type and give it some identifier
For the linked patient, create a new subject
Click Create
Clicking the + button again will not allow you to create any subject type other than Patient

Another issues:

create tumor region T6 and pick the tumor/patient as shown here

next time you click on the + button you will get this again

if you try to do the same selection you will get this

I have re-tested and found another bug. Here are the steps to reproduce it:

Go to the Subjects page.
Click the blue + button.
Create a new Tumor Region subject, give it some random name, click Continue.
The Select parent tumor for new tumor region screen appears, click New Subject.
Create a new Tumor subject, give it some random name, click Continue.
Create a new Patient subject, give it some random name, click Create.

So far, everything is good.

Click the blue + button.
Create a new Tumor subject, give it some random name, click Continue.
The Select parent Patient for new Tumor screen appears, click New Subject

Instead of asking to create a new Patient the window asks to create a new Tumor

After a successful creation and assignment of patient/tumor/tumor region when user clicks on the "+" button the 3 subject types are offered with one being selected (gray shaded) however upon ading the subject name, the CREATE button isn;t enabled. User must click on the subject type even though one of them is already "pre-selected".

To reproduce:

create subject of the type patient
create tumor region
either assign tumor to the region ( either create new tumor or use existing one)
assign patient ( new or existing)
click on the "+" button
one subject type option will be pre-selected, however after you add the subject name CREATE bttn is still grayed out


Remove config parameter tag (singular)

As discussed in #77 I consider the tag parameter of the config method somewhat inconsistent. It is not clear what happens if you

have tag and tags
have already defined tag or tags in the defaultTestCaseConfig

In the first case it is not obvious, whether the tags are merged or not (actually it doesn't make sense to provide tag and tags).
In the second case it would be consistent to rest of the config behavior to override tags from defaultTestCaseConfig, but at the moment tags are merged. It gets even more confusing if you mix tag and tags (or vice versa) in the defaultTestCaseConfig and test case config.
Since it is not that hard to write listOf(myTag), I suggest to simply remove tag (singular) from config method.

Agreed.
On 12 Oct 2016 10:13, "Christian Helmbold"<EMAIL_ADDRESS>wrote:

As discussed in #77 https://github.com/kotlintest/kotlintest/issues/77
I consider the tag parameter of the config method somewhat inconsistent.
It is not clear what happens if you

have tag and tags
have already defined in the defaultTestCaseConfig

In the first case it is not obvious, whether the tags are merged or not
(actuall it doesn't make sense to provide tag and tags).
In the second case it would be consistent to rest of the config behavior
to override tags from defaultTestCaseConfig, but at the moment tags are
merged. It gets even more confusing if you mix tag and tags (or vice
versa) in the defaultTestCaseConfig and test case config.
Since it is not that hard to write listOf(myTag), I suggest to simple
remove tag (singular) from config method.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kotlintest/kotlintest/issues/105, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtZGgS0R5t5bqChnTroJTBCetHC5IFvks5qzKSigaJpZM4KUiId
.

Done.


chore: release 1.1.0

:robot: I have created a release *beep* *boop*
1.1.0 (2019-06-05)
Features

support apiEndpoint override in client constructor (#239) (5bb4eff)

Release is at https://github.com/googleapis/nodejs-tasks/releases/tag/v1.1.0

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:


Fix Jenkins job complete localized message ID

It had an extra e, causing warnings to be emitted into our releases that used this task

@bojanrajkovic,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Thank you, @bojanrajkovic!  This will be in production on VSTS in less than 3 weeks and I'll try to squeeze it into TFS 2017 Update 2.

Great, thanks!


Calendar

Possible calendar view containing:

school calendar (holidays/addclass/dropclass)
class schedule
school events
reminders?

Resources:
http://blink.ucsd.edu/instructors/resources/academic/calendars/2016.html
https://github.com/mozilla-comm/ical.js/

http://blink.ucsd.edu/instructors/resources/academic/calendars/2016.html

We will be revisiting this issue internally to flesh out the details before development work begins.


Future Firebase 3 todos

[ ] handle auth/account-exists-with-different-credential
[ ] link accounts example

Firebase 3 is buggy as hell :-/ Need to postpone upgrade to next week until they fix these issues https://github.com/steida/firebase/


Cosmetic tweaks to main kubeadm doc

This change is

Can you squash this before I merge it?

Done.
On Wed, 12 Oct 2016 at 15:48 Lucas Käldström<EMAIL_ADDRESS>wrote:

Can you squash this before I merge it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/kubernetes.github.io/pull/1426#issuecomment-253225550,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPWSxfDSWbFf1vAL_9UK17CcJ_EJGm5ks5qzOuFgaJpZM4KTTGj
.

LGTM


Removed validation of svp from contextual validation

No need to change anything. It is correct at the moment since status messages are provided as part of the SVP and cert/pre-round used by the leader are ensured to arrive when we need to validate the proposal.


move class properties proposal to stage 1 (docs)

Waiting on https://github.com/babel/babel/pull/2423.

https://github.com/tc39/ecma262/pull/67 has been merged

My favourite feature of ES7 :heart:

Moved to stage 1 preset so closing http://babeljs.io/docs/plugins/preset-stage-1/


Adapt BLK Theme and Dashboard Into React App

After having gotten some feedback on potential themes, we had roughly equivalent votes:

Searching around, I found that, "paper dashboard" has a BLK version. People seemed to like the dashboard but also value the black background, so the below themes will likely cover everyone's concerns.
https://manifold.markets/PatrickDelaney/which-set-of-styles-do-you-prefer-f
Theme:
https://www.creative-tim.com/product/blk-design-system-react
Dashboard:
https://www.creative-tim.com/product/black-dashboard-react#

@pwdel I think it's a great idea. In my opinion, this is the best and user-friendly.
https://www.creative-tim.com/product/black-dashboard-react#


Investigate why browserstack-runner updates are breaking on Travis

Updates for browserstack-runner (currently using 0.3.0 on this repo) are crashing on Travis-CI.
Ref: #836

Do you have a link to a Travis build that crashed?

Browserstack 0.3.7 is working just fine on #857


Error: Failed to render sass to css

Ionic version:
[ ] 2.x
[x] 3.x
[ ] 4.x
Ion2-calendar mode:
[x] components mode
[ ] modal mode
I'm submitting a ...
[x ] bug report
[ ] feature request
[ ] help me
sass: node_modules/ionic-angular/themes/ionic.functions.scss, line: 35
            The map color `secondary` is not defined. Please make sure the color exists in your `$colors` map. For
            example: $colors: ( secondary: #327eff );

      L35:    @error $error-msg;

Error: Failed to render sass to css

Ionic info:
global packages:

    @ionic/cli-utils : 1.1.0
    Cordova CLI      : 8.1.2<EMAIL_ADDRESS>
    Ionic CLI        : 3.1.0

local packages:

    @ionic/app-scripts : 2.1.4
    Cordova Platforms  : android 6.4.0
    Ionic Framework    : ionic-angular 3.6.0

System:

    Node       : v8.11.4
    OS         : Linux 4.15
    Xcode      : not installed
    ios-deploy : not installed
    ios-sim    : not installed

Just needed to define secodary variable in theme/variable.scss


[WIP] 1262 - feat - zoner role

PR against testing: https://github.com/quarkslab/irma-ansible/pull/81


API to add reserved words during code generation.

Blockly For Android does not have a way to add to the list of reserved words. For example, Blockly should treat application specific function names to the reserved word list so that Blockly user can't overwrite them via matching function or variable names.

Java API, as compared to #51


disable F29 tests on PAPR

We now test F29 Cloud in cirrus
Signed-off-by: baude<EMAIL_ADDRESS>

/approve

LGTM

/lgtm

/lgtm

bot, retest this please


Unable to get snapshot

Hello, I recently installed the service and when there is an event the notification will be send to my SHIELD TV without any issues but is unable to retrieve a snapshot.
When I use the test command it works without any issues. Anything I can do to fix this? Thanks!

Are you able to copy/paste the log output of the service?  It should be at /var/log/ring-to-android-tv.log
That would help diagnose what's happening.

Yes, I granted the permission. But the issue is not with the notification.
Here are the logs, I also added a console.log on the exception when subscribing.
Maybe we also need an option to disable motion notifications because the camera limitations that I read.
[Mon Aug 24 2020 07:13:46 GMT+0100 (British Summer Time)] Motion detected on Front Door camera.

Snapshot saved!
Sent notification successfully: Motion Detected - Motion detected at Front Door!
[Mon Aug 24 2020 07:23:26 GMT+0100 (British Summer Time)] Motion detected on Front Door camera.
Unable to get snapshot.
Error: Snapshot failed to refresh after 60 attempts
    at RingCamera.<anonymous> (/opt/ring-to-android-tv/node_modules/ring-client-api/lib/api/ring-camera.js:279:19)
    at Generator.next (<anonymous>)
    at fulfilled (/opt/ring-to-android-tv/node_modules/ring-client-api/lib/api/ring-camera.js:5:58)

Sent notification successfully: Motion Detected - Motion detected at Front Door!
[Mon Aug 24 2020 10:21:09 GMT+0100 (British Summer Time)] Motion detected on Front Door camera.
Unable to get snapshot.
Error: Snapshot failed to refresh after 60 attempts
    at RingCamera.<anonymous> (/opt/ring-to-android-tv/node_modules/ring-client-api/lib/api/ring-camera.js:279:19)
    at Generator.next (<anonymous>)
    at fulfilled (/opt/ring-to-android-tv/node_modules/ring-client-api/lib/api/ring-camera.js:5:58)

Sent notification successfully: Motion Detected - Motion detected at Front Door!
[Mon Aug 24 2020 10:29:13 GMT+0100 (British Summer Time)] Motion detected on Front Door camera.
Unable to get snapshot.
Error: Snapshot failed to refresh after 60 attempts
    at RingCamera.<anonymous> (/opt/ring-to-android-tv/node_modules/ring-client-api/lib/api/ring-camera.js:279:19)
    at Generator.next (<anonymous>)
    at fulfilled (/opt/ring-to-android-tv/node_modules/ring-client-api/lib/api/ring-camera.js:5:58)

Sent notification successfully: Motion Detected - Motion detected at Front Door!
[Mon Aug 24 2020 11:59:13 GMT+0100 (British Summer Time)] Motion detected on Front Door camera.
Unable to get snapshot.
Error: Snapshot failed to refresh after 60 attempts
    at RingCamera.<anonymous> (/opt/ring-to-android-tv/node_modules/ring-client-api/lib/api/ring-camera.js:279:19)
    at Generator.next (<anonymous>)
    at fulfilled (/opt/ring-to-android-tv/node_modules/ring-client-api/lib/api/ring-camera.js:5:58)

Sent notification successfully: Motion Detected - Motion detected at Front Door!
[Mon Aug 24 2020 12:00:06 GMT+0100 (British Summer Time)] Motion detected on Front Door camera.
Unable to get snapshot.
Error: Snapshot failed to refresh after 60 attempts
    at RingCamera.<anonymous> (/opt/ring-to-android-tv/node_modules/ring-client-api/lib/api/ring-camera.js:279:19)
    at Generator.next (<anonymous>)
    at fulfilled (/opt/ring-to-android-tv/node_modules/ring-client-api/lib/api/ring-camera.js:5:58)

Sent notification successfully: Motion Detected - Motion detected at Front Door!
[Mon Aug 24 2020 12:01:15 GMT+0100 (British Summer Time)] Motion detected on Front Door camera.
Unable to get snapshot.
Error: Snapshot failed to refresh after 60 attempts
    at RingCamera.<anonymous> (/opt/ring-to-android-tv/node_modules/ring-client-api/lib/api/ring-camera.js:279:19)
    at Generator.next (<anonymous>)
    at fulfilled (/opt/ring-to-android-tv/node_modules/ring-client-api/lib/api/ring-camera.js:5:58)

Sent notification successfully: Motion Detected - Motion detected at Front Door!
[Mon Aug 24 2020 12:01:20 GMT+0100 (British Summer Time)] Doorbell pressed on Front Door camera.
Unable to get snapshot.
Error: Snapshot failed to refresh after 60 attempts
    at RingCamera.<anonymous> (/opt/ring-to-android-tv/node_modules/ring-client-api/lib/api/ring-camera.js:279:19)
    at Generator.next (<anonymous>)
    at fulfilled (/opt/ring-to-android-tv/node_modules/ring-client-api/lib/api/ring-camera.js:5:58)

Sent notification successfully: Doorbell Ring - Doorbell rung at Front Door!

If this is a battery powered camera, this is likely due to a limitation in Ring's API.  If not, then I can investigate further!

Yeah, it's the Ring 3. It's capable of running from battery, but mine is plugged into a dedicated power line.

I updated the depdency for ring-client-api to v9.9.0 - this may solve the issue.  Would you mind updating and letting me know if this resolves the issue?
I found similar reports using an older version of the API, specifically here: https://github.com/dgreif/ring/issues/293

Closed due to lack of update.  Please feel free to re-open if you were successful or wish to further troubleshoot!


.set returns old $local's

The file is loaded, but promise returns still old $local variables and they are also not set.

Issue inside my code.


Add Number of Months Reported to Annual Ozone and Quarterly Emissions data output

Definition of Ready

[ ] Does this meet the INVEST criteria?
[ ] Does this have a clearly defined user?
[ ] Does this have an estimate?
[ ] Does this have acceptance criteria?
[ ] Does this have sufficient context for the specific functionality being developed (design, business rules, etc.)
[ ] Does this have a dev link been provided in the design?
[ ] Is this traceable to a feature, epic, or PI?

User Story
As a
I want
So that
Acceptance Criteria
Given a user performs an annual, ozone, or quarterly emissions query/api call
When the data is returned
Then the number of months reported data element is returned in the output
Development Notes
The data element in the current database is NUM_MONTHS_REPORTED in the following tables MONITOR_ANNUAL, MONITOR_OZONE, MONITOR_QUARTER, UNIT_ANNUAL, UNIT_OZONE, UNIT_QUARTER
Does this Story require 508 Testing?

[ ] Implementing a new authoring tool that will produce code / content for the application
[ ] Implementing a 3rd party widget that will be part of the application
[ ] Adding new / updating custom functionality
[ ] Adding new / updating a page template
[ ] Adding new / replacing existing functionality (unless the replacement has already passed 508 testing)
[ ] Full Site Review prior to a scheduled EPA 508 review
[ ] Planning a video that will appear on the application
[ ] Producing a video that will appear on the application
[ ] Producing Training materials
[ ] Producing documents

Context
This has been requested by an internal user (epa) and external user
Testing
Test Case:
Tester:
Definition of Done

[ ] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[ ] Has the code been unit tested and peer reviewed?
[ ] Have the functional tests been executed?
[ ] Have all defects been reviewed and dispositioned, resolved, or deferred?
[ ] Is the user story ready to be deployed to the test/staging environments?

Need research on this

@shahbazkhan1999  please don't perform any work on this. I want you all to focus only on the tickets that I moved to ready for development. thx! fyi @hamezene


CRD support

Is there any suggested way how to test Custom Resources with terratest ?
I would like to have ability to at least assert specific Status of custom resource.
Is there support or maybe some workaround to do so in the terratest based tests ?

Ideally you can use the struct from the operator/custom resource definition source to render it out (e.g., see this test, where we use the prometheus operator source). Barring that, you can use a map[string]interface{} type to read out the json into a unstructured map for doing the checks. E.g.,
	rendered := map[string]interface{}
	require.NoError(t, yaml.Unmarshal([]byte(out), &rendered))
        assert.Equal(t, rendered["status"], "some-status-check")

You might have to do some type conversions for this to work, e.g. rendered["status"].(string).

Oh wait, do you mean how to query the custom resource using the API as opposed to helm template? If so, I am not sure if we have a nice way to do that yet. I unfortunately don't have a lot of experience working with custom resources so haven't gotten too deep into it.
You can try using the dynamic client to query it out. See the example from client-go. You should be able to get the authenticated client from a KubectlOptions object with the following code:
func getDynamicClient(t testing.TestingT, options *KubectlOptions) (dynamic.Interface, error) {
	var err error

	kubeConfigPath, err := options.GetConfigPath(t)
	if err != nil {
		return nil, err
	}
	logger.Logf(t, "Configuring kubectl using config file %s with context %s", kubeConfigPath, options.ContextName)
	// Load API config (instead of more low level ClientConfig)
	config, err := LoadApiClientConfigE(kubeConfigPath, options.ContextName)
	if err != nil {
		return nil, err
	}

	clientset, err := dynamic.NewForConfig(config)
	if err != nil {
		return nil, err
	}

	return clientset, nil
}

@yorinasub17 thanks a lot for suggestions!
Dynamic client looks interesting, I was also thinking to hook in client-go based api query in the tests...
But it appeared a little bit too verbose.
So currently I'm working it around with kubectl + jsonpath like https://github.com/AbsaOSS/ohmyglb/pull/76/files#diff-002d5e43a8db27fc6389f813c803d55fR89
It also follow the idea of terratest to be very end to end and use the same tooling for tests in backend as in standard CLI interaction.
Works fine for simple checks and queries but is not incredibly nice :)
Assuming I want to extend terratest with some abstracted CRD support - which place in the codebase should I look at first ? Could you suggest some best examples of the new modules creation?
I feel I will hit some roof soon with my current approach and will have to extend it and obviously eventually contribute.

Assuming I want to extend terratest with some abstracted CRD support - which place in the codebase should I look at first ? Could you suggest some best examples of the new modules creation?

I would suggest adding the functions into the k8s module first, since it will be related to k8s. I don't think it will be necessary to have a dedicated new module for it, and I assume you will want to use the same KubectlOptions object to configure it.
I think the challenge with a module for CRDs is the fact that they are dynamic objects to being with, which makes it hard to get the static types out if you want to use the API directly. So the options for a clean, flexible abstraction are probably limited.

So I guess everything is more or less clear. Thanks a ton for clarification, @yorinasub17 ! Closing the issue


In IE11, ngx-drag-and-drop-lists is not working

I'm working on Angular 5 project, where I using the ngx-drag-and-drop-lists plugin. Its is working fine in the  chrome browser, but in IE11 getting the below error.,
"TypeError: Object doesn't support property or method 'remove'
How to fix this issue?

Try putting the code referenced here in the polyfill.ts file:
https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove

Yeah, After implementing the referred function in polyfill.ts its working fine.
Thank you @kevinjsmith


Flipper-active_record breaks in 0.26.2+ with Rails 4.2

We use Rails 4.2, and after updating from Flipper 0.26.1 to 0.26.2 saw the below error after loading the web UI. The only change was https://github.com/flippercloud/flipper/pull/707, which my guess is the culprit is going from @feature_class.connection.select_all to @feature_class.connection.select_rows.
The flipper-active_record gem has a minimum Rails 4.2 dependency, so would ideally have this patched or a minimum AR version specified.
Stack trace:
TypeError at /admin/flipper
no implicit conversion of Arel::SelectManager into String

ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#translate_exception_class
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract_adapter.rb, line 473
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#log
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract_adapter.rb, line 486
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#log
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract_adapter.rb, line 477
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#exec_no_cache
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/postgresql_adapter.rb, line 592
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#execute_and_clear
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/postgresql_adapter.rb, line 584
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#select_rows
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/postgresql/database_statements.rb, line 70
block in Flipper::Adapters::ActiveRecord#get_all
flipper-active_record (0.26.2) lib/flipper/adapters/active_record.rb, line 127
ActiveRecord::ConnectionAdapters::ConnectionPool#with_connection
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract/connection_pool.rb, line 292
Flipper::Adapters::ActiveRecord#with_connection
flipper-active_record (0.26.2) lib/flipper/adapters/active_record.rb, line 259
Flipper::Adapters::ActiveRecord#get_all
flipper-active_record (0.26.2) lib/flipper/adapters/active_record.rb, line 120
Flipper::Adapters::Memoizable#get_all
flipper (0.26.2) lib/flipper/adapters/memoizable.rb, line 104
Flipper::DSL#preload_all
flipper (0.26.2) lib/flipper/dsl.rb, line 202

Open to a PR but not sure I could even get 4.2 running again in an ok amount of time. I lowered the dependency version for people in the past who wanted to operate with YMMV on older versions. We try to doc everywhere that we do not support the older versions officially. Maybe I should put a note by the gemspec dep too...

Probably the "fix" is to use select_all for 4.2 else select_rows.


Integration with Aura.View

Hi,
Was trying to integrate Aura.View. A few things I noticed are aura uses 2 step view and expects layout and view to be passed. And the current render only accepts view name and params.
https://github.com/zendframework/zend-expressive/blob/53e54efbee22cb36e2910d003ad2738cf9ca7f9b/src/Template/TemplateInterface.php#L22
I am having an idea of pushing something like render('view::layout', $params) same for many of the functionalities. Do you have any thoughts on this ? Or do you think you guys can keep an optional $layout = null in the render ?

Actually many months back I implemented something https://github.com/cocoframework/Cocoframework.Renderer/blob/master/src/RendererInterface.php#L9 . This was the signature .
render($data, $view, $layout = null);

Not sure if the interface can be changed to something similar.

Take a look at the zend-view documentation. I'd argue that layout functionality is something that the individual adapters should address, either by abstracting it, or providing documentation on how to achieve it (which is what I did with the zend-view documentation).
In this case, I'd see the possible approaches:

Inject the layout to use during instantiation. This approach means that middleware can safely ignore the concept within middleware.
Allow passing the layout as a variable during rendering:$html = $templates->render('blog::entry', [ 'entry' => $entry, 'layout' => 'app::layout']);

Combine the above; if no layout is provided when rendering, use the default, if present. (A special value, such as false, null, or a constant value could be used to disable rendering the layout.)

For what it's worth, I'm considering adopting this approach for zend-view as well,as it would abstract the concept of doing a full layout. I'm also definitely considering abstracting the namespace functionality, so that the same namespace notation can be used across any adapter.

@harikt Please see #96 for the zend-view rewrite.


Improved Terrific Performance - Passive Icon displaying

Passive ability.  Icon should be set to "Hidden".

no need. this will most likely be fixed on next DLC.


Object spread should not keep non-enumerable properties

Bug Report
🔎 Search Terms
spread symbol
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ.

⏯ Playground Link
Playground link with relevant code
💻 Code
const NonEnum = Symbol();

const objA = {a: 2, [NonEnum]: 3}
const objB = { ...objA }
const objC: typeof objB = {a: 2}

🙁 Actual behavior
objB is inferred as {a: number, [NonEnum]: number}, when it should have been just {a: number}
Consequently, the assignment to objC is reported as an error.
🙂 Expected behavior
objB should have been inferred as just {a: number} because object spread only spreads enumerable properties, and Symbols are never enumerable.
When spreading an instance of a class, class methods are correctly not copied to the result. This should be the same.

Symbols are never enumerable

That's not correct.  Try your code in a browser console and see what happens.  Spread copies own enumerables, whether they be symbol or string, and symbol properties can be enumerable, and are in this case.
console.log(objB[NonEnum]) // prints '3'

Sorry, you're right. Closing this issue.


Gets wrong iOS version

Hi, great thanks to this nice module!
I found a problem in detecting iOS version today.
var md = new MobileDetect( window.navigator.userAgent );
console.log( window.navigator.userAgent );
console.log( md.version('iOS') );

This code gets these results.
Mozilla/5.0 (iPhone; CPU iPhone OS 10_1_1 like Mac OS X) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0 Mobile/14B100 Safari/602.1
10.11

My iPhone is iOS 10.1.1 but, response is 10.11.
Would you like to fix this?

I'm sorry, can't change this. It works as designed/documented:
         * Will return a float number. (eg. 2_0 will return 2.0, 4.3.1 will return 4.31)

You can use versionStr or you can overwrite the implementation of the function under the hood that converts a version string to a number:
   /**
     * Prepare the version number.
     *
     * @param {String} version
     * @return {Number} the version number as a floating number
     * @private
     */
    impl.prepareVersionNo = function (version) {
        var numbers;

        numbers = version.split(/[a-z._ \/\-]/i);
        if (numbers.length === 1) {
            version = numbers[0];
        }
        if (numbers.length > 1) {
            version = numbers[0] + '.';
            numbers.shift();
            version += numbers.join('');
        }
        return Number(version);
    };

OK, I understood.
Thank you for informations!


Removed applied field.

Operations are automatically applied to the members collection, as
validation occurs when creating an Operation.
As part of this revision, I have removed all invalid request-invite
operations and created member documents for those who requested an
invite before automatic member doc creation was a thing.

Can we land this after switching from allow create to raha-api?


[GSSoC'21] Streaming audio with a clean UI for music-player

I am a GSSoC participant. It is being built from scratch so I would love to work on the feature of streaming audio through HTTP along with building a simple and beautiful UI for the music player.
This section is the most interesting and more than one people can contribute to it.

Hey, I have added an audio stream basic test function in the backend folder, if you wish to add some features, create an issue. I will add labels and assign them to you. What do you think about streaming with web socket protocol instead of http?

Streaming with web socket is fast but it is most useful when we want to have real time updates in applications. It is 2-way communication with server.
For most of the cases http works fine.but I will be diving deep inside how and what will be most effective.


Pin xeus-python to a known working version

cc. @DerThorsten
We should eventually make this constraint softer in the future ">=0.16,<0.17" and make minor releases when the WASM API change

Maybe another way could be to mark the latest xeus python as broken on conda forge, and re-release it with the correct version bump?

Do we have a way to mark recipes as broken on emscripten-forge? If yes, that could be another way to fix the immediate issue indeed.
But I think we should pin xeus-python in jupyterlite-xeus-python in the long run anyway, or at least put a constraint on it, because jupyterlite-xeus-python needs to use a version of xeus-python that is compatible with the empack version. Only jupyterlite-xeus-python can do this.

Ok! Merging and releasing this


MyThread should implements Runnable

MyThread no need thread

hi, welcome, can you explain please

"implements Runnable" is removed


Get the real repository source to update the generator

In my company, we are using yo. I developped internal generators (only valid for my company, that's why I cannot share on github)
With this modification, when updating, the exact source of the repository (if specified) is used to update the package

Why all tests are crashing with node6 ?!

I'm unclear how this is working. Where will the repository data be defined?

All your remarks are implemented

Hey @landru29, I'm sorry I might've misread the code before and missed that. But right now, this is ALWAYS gonna return the repository url yeah? So that every packages (with a repository key) will be updated from the git repo rather than npm?

Given this code only get the git url, this as is is not something we wish to merge in.
If you could differentiate between a module not available on npm and a module that is, then that would be  a better approach.

I surrender.
Too difficult to propose you an improvement.
Hard coding "github.com" should not be the right way.


[HUDI-2057] CTAS Generate An External Table When Create Managed Table

This problem has been fixed in this PR before：https://github.com/apache/hudi/pull/3146
Later, the problem was discovered again，But it was fixed by this pr: https://github.com/apache/hudi/pull/3998
The last time this problem reappeared was due to this pr: https://github.com/apache/hudi/pull/5178,The reason is that extraoptions is not transferred to spark conf
Change Logs
CTAS Generate An External Table When Create Managed Table
Impact
CTAS Generate An External Table When Create Managed Table
Risk level (write none, low medium or high below)
none
Contributor's checklist

[x] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@hudi-bot run azure

@xushiyan : can you assist the author and help take this home.

@yihua @xushiyan Hello, I have added the validation to test the CTAS table type


[v6]alpha5 isActiveClass assigned to two s

version : 6 alpha 5
codesandbox: https://codesandbox.io/s/small-smoke-7g9uj?file=/src/App.js
Hello,
I just upgraded v6 from alpha 4 to 5 and started seeing the below behavior:

NavLink with to='' property is always active even when other NavLinks are selected

Steps to reproduce
Click on nav items
Expected Behavior
One NavLink to have isActiveClass
Actual Behavior
NavLink with to=''

This is expected behavior. NavLink now matches loosely, so that if you're in a nested route (say /users/:userId/posts/:postId/comments) with a global navigation, the appropriate link will still be active. If you want the NavLink to be strict in matching, add the prop end={true}.


Docker is not installed when running RHEL

Summary
When installing the CLI tools on my RHEL system, I get this message:
[install_docker] Installing/updating external dependency: docker
which: no docker in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/ibm/c4eb/bin:/home/kersten/.local/bin:/home/kersten/bin:/usr/kerberos/bin)
[sudo] password for kersten:
Executing docker install script, commit: 2f4ae48
WARNING: rhel is now only supported by Docker EE
Check https://store.docker.com for information on Docker EE
[install_docker] Please review any setup requirements for 'docker' from: https://docs.docker.com/engine/installation/
bash: line 285: docker: command not found
Obviously, I can install docker from URLs provided, but would be nice if this were to run on RHEL without any other intervention from me - especially since we are starting to work with OpenShift.
Steps to reproduce
(include tooling version, platform, etc)

Run this command: curl -sL https://ibm.biz/idt-installer | bash

Operating System
Specify:  Linux Red Hat 7
Supporting details
(Logs, stack traces, images, etc.  Wrap in <detail> ... </detail> tags as appropriate)

Development "done" checklist

[ ] Test case to verify
[ ] Public Documentation updated
[ ] Change added to "release notes" as appropropriate
[ ] Notification to stakeholders (OM, other squads, etc)

The tool invokes a Docker URL to do the install. We've had another report that for RHEL the script from docker.com is actually failing.

Reference to https://github.com/docker/docker-install/issues/190

How about skip docker installation for RHEL 7.x?


use bind port 0 to solve port conflict in switch_unittest.cpp

This PR is to replace #1833
The port returned by getFreePort() may be occupied before Start().
This PR let server bind port 0 and get the actual port after binding.

ping @kramasamy. Any more comments?

@huijunwu LGTM. Feel free to merge this.

Thanks @objmagic


list default (fixes #67)

To Allow default selection in list, as requested in #67

This is working on master branch.
Returning the "value" for the list will select that value.
https://github.com/CITGuru/PyInquirer/blob/master/PyInquirer/prompts/list.py#L62

@duke79 @paddie @rafarui @jtmoulia @lazee This has been tested and merged. Thanks for your contribution. Sorry for the delay.


Default $attached to true to avoid BC break?

Am I right that for the $attached argument of MailMimeParser::parse(), true is the best way for most people? Especially since you're saying at https://mail-mime-parser.org/upgrade-2.0:

When passing a string resource, a Psr7 stream is created out of it. Passing true/false as the second parameter will have no effect.

So why not change the function's signature to:
public function parse($resource, $attached = true)

... to avoid the BC break?

It's more complicated than that, if you pass a file resource and don't attach it, you now have to wait till you're done with the returned Message (technically as long as everything's been read it's fine) before you close the handle.
It's preferable to 'attach' for that reason cause it'll be closed with the Message, but if your next line after parse is fclose, that'll cause me problems.
The BC break forces a decision on how to handle the change, which could break things for many people anyway if you don't change them.  I should probably explain this whole thing better on the main readme though.

But what about people who always pass a string?? => They have to change all their function calls, just to add a bogus bool, and in exchange they're getting zero improvement ;-)
Is the resource thing completely new or just improved?

If new: I'd separate it into two functions: function parseResource(resource $resource, bool $attached)

... and change the other to parse(string $text)
If improved: Well, separate them too, but explain it better ;-)

Bottom line: For the "resource" guys, it doesn't make much of a difference if they just have to add an argument or change the function name too. But for the "string" guys, it makes a huge difference if they have a BC break or not.
BTW: If you're asking me, PHP 5.x is dead long enough to bump the requirement to 7.x (=typed arguments). People not able to upgrade can still stay on your v1.

But what about people who always pass a string?? => They have to change all their function calls, just to add a bogus bool, and in exchange they're getting zero improvement ;-)

Better an easy error to fix than something complicated like a file resource being closed too early and not realizing why there's an error parsing or how to fix it/what changed.  Resources were always supported.  I didn't want to introduce a second, different method and force an error.  This seems reasonable to me.
Look at these guys, using a string, changed the call, no complaints: https://github.com/spatie/laravel-ray/commit/dcf3e9f4ea954ea431ff1e528ed4c53656d0a020 -- wonderful users :P

BTW: If you're asking me, PHP 5.x is dead long enough to bump the requirement to 7.x (=typed arguments). People not able to upgrade can still stay on your v1.

I support php 5.x because I'm a user of php 5.x and of my library.  So are these guys (that are users of this library) for instance: https://github.com/salesagility/SuiteCRM
I try to support the default PHP version installed on maintained RHEL versions up to the end of extended support, which means I'll probably be dropping 5.4 and 5.5 as officially supported in the next couple months.  It might become too much trouble at some point though, but for now it's not really a big deal.

Oh my gosh, PHP 5.x and Laravel and Red Hat! ;-)
I'm the ~exact opposite: Debian and PHP 8 and Symfony :-)

I didn't want to introduce a second, different method and force an error. This seems reasonable to me.

Um, but right now you're forcing an error anyway - it reads:

[ArgumentCountError] Too few arguments to function ZBateson\MailMimeParser\MailMimeParser::parse(), 1 passed

So the relevant question for me is: Force it upon 100% of users, or just 50%?

There's big difference though, with ArgumentCountError it's easy and obvious where the error is.
I have implementations on php5 and RedHat (none on Laravel though), I have others on different things too, it's all over the board with where I'm using it really.

No, I can't see any difference ;-) ArgumentCountError only tells me what's wrong (in the same way as UnknownMethodCall would tell me). But to find out how to fix it, I have to check the docs in either case...
But never mind, in the meantime I've fixed my (single ;-) call anyway - so if you're not going to change it, you can close this issue :-)


Merge Interfaces-contenthtml with interfaces

Everything must be in english. Change the style ids to english. Thanks!


Add documentation about setup HTTP basic auth via NGINX

What is this PR for?
Provide a guide to setup basic authentication using NGINX with detailed instruction for users who wants to use NGINX as a separate authentication server. Shiro Security is preferred way to provide a basic authentication for future releases, but we may need to provide a way to workaround when user need other options.
What type of PR is it?
Documentation
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

@Leemoonsoo Thanks for the comment. I fixed link to the address you've suggested to me. :)

Thanks, Looks good to me!

Merge if there're no more discussions

Looks good :+1:


Is possible do it for Spanish?

Thanks for your interest in the project but this project only serves India stats and most of the users of this bot are comfortable with English and Spanish conversion is not worth the effort.


Add the ability to specify one or multiple --device options in the container creation

Hi,
I need to run a command similar as follows:
 docker run -ti --rm --device=/dev/nvidiactl --device=/dev/nvidia-uvm --device=/dev/nvidia3 --device=/dev/nvidia2 --device=/dev/nvidia1 --device=/dev/nvidia0 --volume-driver=nvidia-docker --volume=nvidia_driver_361.48:/usr/local/nvidia:ro nvidia/cuda nvidia-smi

However, in the current portainer web user interface, I can not find out how to set up all the --device arguments when creating a new container . Could you please add this feature?
Thank you VERY MUCH!

Hi there,
we are faced with the same problem.  Today you cannot specify any --device during creation of a container. We need access to the SPI-Port of our Docker host using this option in command shell
--device=/dev/spidev0.0:/dev/spidev0.0
Through portainer you can't use this option today.
Maybe my comment gives @zhouteng 's request a higher priority.

@hilschernetpi this should be quite simple to implement, I'd accept a PR.

@deviantony ... super duper. I just started to work on it, located the files to be edited. Will come with a proposal and PR in the next couple of days.

@deviantony I wanted to test my edits today. I checked the doc explaining how to contribute carefully.
I am running ubuntu 16.04 and all commands explained worked fine: git checkout https://github.com/portainer/portainer.git && cd portainer && npm install etc.
After grunt build I started it the with grunt run-dev. I see the container starting with docker ps -a
I went to http://localhost:9000 and expected the portainer.io landing page popping up. Instead I see just a folder list as outputs in my firefox browser:
.dockerenv css/ data/ dev/ etc/ portainer proc/ sys/ templates/ var/
My question is where is the index.html file and what did I wrong?
Maybe the latest docker version I am using generates this problem?
I am using
`
Client:
Version:      17.03.0-ce
API version:  1.26
Go version:   go1.7.5
Git commit:   60ccb22
Built:        Thu Feb 23 11:02:43 2017
OS/Arch:      linux/amd64
Server:
Version:      17.03.0-ce
API version:  1.26 (minimum version 1.12)
Go version:   go1.7.5
Git commit:   60ccb22
Built:        Thu Feb 23 11:02:43 2017
OS/Arch:      linux/amd64
Experimental: false
`
Have you an idea?

@hilschernetpi join us on Slack (http://portainer.io/slack/) or Gitter (https://gitter.im/portainer/Lobby) and ping me, I'll help you debug that situation.

I think docs are not complete.
If you don't have bower, you need to :
npm install -g bower

and then
npm install && bower install --allow-root && grunt build && grunt run (or run-dev)

Yup, will update the docs.

@deviantony . I finished the job implementing "devices" in portainer. I am about to make a pull request but I need your opinion first about the following:
A device in Docker's "HostConfig" is of structure
type DeviceMapping struct {
PathOnHost        string
PathInContainer   string
CgroupPermissions string
}
Next to the two pathes there is also a CgroupPermission string. Is that something we should offer to portainer users for edits when creating a new device or shall we set it to "rwm" by default? My opinion is that users might get confusing about entering a Cgroups string ... not knowing what they shall enter here exactly. We should keep portainer usage as easy as possible.
The Docker source code shows me also that if a user configured privileged mode along with devices the code sets the permission to "rwm" in any case.
Your opinion?

@hilschernetpi thanks for your work on that. Default behavior is to use :rvm for each device so for now let's keep it simple and default to :rvm for each device. We can enhance that later if required.

@deviantony since I am new with portainer repo ... which branch shall I use to make a PR , develop, master or doesn't matter?

Create a new branch, name it something like feat515-device-option and create a PR against the develop branch.

Closed by #729


Question, What does exactly MP Checkout includes?

Hi, Maybe a silly question.
But, what does MP Checkout includes?
only credit card payments?
Cash (payment in stores ) ?
Bank transfer
etc
Thank you!

It really depends on what you want, it supports practically all the payment methods you've asked for.
The checkout interacts with MP API to get data from a Preference ID:

https://www.mercadopago.com.ar/developers/es/reference/preferences/_checkout_preferences/post/

I'm closing this issue as this isn't currently related to the library itself.


Button for displaying environments

The enhanced env window is very useful and has many practical features. However it's hard to discover for new users. Despite the current control sequence it would be nice to have a single click icon for this important window.

We're closing old issues with no recent activity. If this is still important, please open a new issue.


fix: Element is undefined in SSR

Problem: Try to render Poppable component with Nextjs in SSR enviroment leads to error: "Element is undefined" since we are in nodejs enviroment. We need return before, if we are in nodejs context.
-> fix: Element is undefined in SSR - update getBoundingRects

Hi @MoritzGruber , thanks for the contribution!
We actually made a change recently to fix all SSR-related issues, and we didn't think <Poppable/> should be covered since popups don't usually appear on the initial render. But I guess there are cases when it's needed, so it's good to cover that.

:tada: This PR is included in version 1.4.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

@MoritzGruber Can you post the code that was causing you this issue?

Hi @ykadosh,
thanks for the fast processing that really helps us 🥳  Also thanks for putting in the work on building and maintaining webrix!
The usage we have is basically using current nextjs v11 and we prerender our page with SSR
and the component uses
import { Poppable } from "webrix/components";
and
  const placements = React.useCallback((rbr, tbr) => {
    const GAP = props.disableTriangle ? 8 : 18;
    const { vbefore, vcenter, vafter, hbefore, hcenter, hafter } = Poppable.Placements;
    return [
      { ...vbefore(rbr, tbr, -GAP), ...hcenter(rbr, tbr) }, // Top
      { ...vafter(rbr, tbr, GAP), ...hcenter(rbr, tbr) }, // Bottom
      { ...vcenter(rbr, tbr), ...hbefore(rbr, tbr, -GAP) }, // Left
      { ...vcenter(rbr, tbr), ...hafter(rbr, tbr, GAP) }, // Right
    ];
  }, []);

  return (<Poppable
     ...
     placements={placements}
  >...</Poppable>)

where the Poppable.Placements already caused the error since the calculation is triggered the first time on the server side and used the Element.
On a more higher level we are building a ui library for our product using some of your webrix components that will be also open source. But the codebase is still very WIP (no docs, etc.). If you want I can try to share the full setup with you.

Thanks @MoritzGruber
I tried your code, and it seems like we're still getting SSR issues, even with your fix.
I want to make sure that I'm reproducing your issue correctly.
Are you rendering the Poppable on the initial app render?
Or are you rendering it conditionally based on some user action?
If you could create a sandbox that reproduces this issue (should break on 1.4.0 and work on 1.4.1), it would be awesome!


Consuming RPC Calls

Hey I've got a setup in Laravel which I can make RPC calls successfully. So now I am trying to use your Go code to run the same command in the Laravel app to accept an RPC call and return a response to the Client but it just isn't working.
Command Line
2020/01/16 16:14:52 Connecting RabbitMQ...
2020/01/16 16:14:52 Connected.
2020/01/16 16:14:52 Opening channel...
2020/01/16 16:14:52 Done.
2020/01/16 16:14:52 Setting QoS...
2020/01/16 16:14:52 Succeeded setting QoS.
2020/01/16 16:14:52 Metrics disabled.
2020/01/16 16:14:52 Registering consumer...
2020/01/16 16:14:52 Succeeded registering consumer.
2020/01/16 16:14:52 Waiting for messages...
2020/01/16 16:14:57 Processing message...
2020/01/16 16:14:57 Processed!

The Client never gets the returned result. I'm just using the examples from RabbitMQ tutorial 6 at the moment but it works from Laravel to Laravel, Laravel to Node and Node to Node. The only thing that doesn't work is Laravel to Laravel (via Go rabbitmq-cli-consumer)
Command Line Setup
rabbitmq-cli-consumer --verbose --url amqp://guest:guest@localhost --q rpc_queue  --no-declare --e 'php /Users/Mick/Sites/xxx/xxx/companies artisan rabbitmq:rpc-command'

Any help would be appreciated in how to get the RPC to work correctly.
Cheers

Hello, I have this problem too. Any updates about it?


Demo site is timing out

The demo site doesn't seem to load due to timeouts.

looks like i had let my domain expire 😱 , thanks for the heads up, should be back up soon


sanity

here is page hosted on netlify
https://sanity-gatsby-portfolio-web-t6x28qdb.netlify.app/

gatsby studio
https://sanity-gatsby-portfolio-studio-c41dtx38.netlify.app/dashboard


[HELP] How to capture stream from SiriusXM

Hello, I'm trying to capture AES128 audio stream from a SiriusXM channel:

Need a USA Vpn
Browser link: https://player.siriusxm.com/home/foryou (Free preview > Channel 75)
master m3u8: https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_256k_v3/metropolitanopera_256k_large_v3.m3u8

What I get is as follow, quite indecipherable to me:
N_m3u8DL-CLI v2.6.3 20200417...
Speed: waiting
Progress: waiting

????:metropolitanopera_variant_large_v3_20200427152811
15:28:11.999 ????:C:\Users\....\Desktop\N_m3u8DL-CLI-master\Downloads
15:28:12.124 ??????...
15:28:12.264 ??m3u8??
15:28:26.194 ??m3u8??
15:28:26.274 ??meta.json
15:28:26.494 ???????
15:28:26.523 ??playLists.json
15:28:27.749 ??????????
15:28:27.749 ????m3u8...
15:28:27.749 ??m3u8??
15:28:43.044 ????:00m00s
15:28:43.044 ???:0, ?????:0
15:28:43.044 ??????, ????
15:28:43.134 '0' is not a valid range value. The range must be greater than 0.
> "consumer" is not recognized as an internal or external command,
> an executable program or batch file.
> "gupId" is not recognized as an internal or external command,
> an executable program or batch file.

According to master.m3u8 here's the index:
https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/metropolitanopera_variant_large_v3.m3u8?token=1587811473_9105c16e27a7232681c761a568181b58&consumer=k2&gupId=49DB30E6EFA74AC419984495AB19FB6B

#EXTM3U
#EXT-X-ALLOW-CACHE:NO
#EXT-X-VERSION:1
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=281600,CODECS="mp4a.40.2"
HLS_metropolitanopera_256k_v3/metropolitanopera_256k_large_v3.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=105600,CODECS="mp4a.40.5"
HLS_metropolitanopera_96k_v3/metropolitanopera_96k_large_v3.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=70400,CODECS="mp4a.40.5"
HLS_metropolitanopera_64k_v3/metropolitanopera_64k_large_v3.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=35200,CODECS="mp4a.40.5"
HLS_metropolitanopera_32k_v3/metropolitanopera_32k_large_v3.m3u8

and the other two .m3u8 links return me these indexes (cut for lenght):
https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_32k_v3/metropolitanopera_32k_large_v3.m3u8?token=1587811473_9105c16e27a7232681c761a568181b58&consumer=k2&gupId=49DB30E6EFA74AC419984495AB19FB6B

#EXTM3U
#EXT-X-VERSION:1
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:254898
#EXT-X-ALLOW-CACHE:NO
#EXT-X-KEY:METHOD=AES-128,URI="key/1"
#EXT-X-PROGRAM-DATE-TIME:2020-04-25T05:14:31.101+00:00
#EXTINF:10,
metropolitanopera_32k_1_042518871101_00254898_v3.aac
#EXT-X-PROGRAM-DATE-TIME:2020-04-25T05:14:40.852+00:00
#EXTINF:10,
metropolitanopera_32k_1_042518880852_00254899_v3.aac
#EXT-X-PROGRAM-DATE-TIME:2020-04-25T05:14:50.604+00:00
#EXTINF:10,

https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_64k_v3/metropolitanopera_64k_large_v3.m3u8?token=1587811473_9105c16e27a7232681c761a568181b58&consumer=k2&gupId=49DB30E6EFA74AC419984495AB19FB6B

#EXTM3U
#EXT-X-VERSION:1
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:254900
#EXT-X-ALLOW-CACHE:NO
#EXT-X-KEY:METHOD=AES-128,URI="key/1"
#EXT-X-PROGRAM-DATE-TIME:2020-04-25T05:14:50.604+00:00
#EXTINF:10,
metropolitanopera_64k_1_042518890604_00254900_v3.aac
#EXT-X-PROGRAM-DATE-TIME:2020-04-25T05:15:00.355+00:00
#EXTINF:10,

Header request from the master.m3u8:
GET /AAC_Data/metropolitanopera/metropolitanopera_variant_large_v3.m3u8?token=1587811473_9105c16e27a7232681c761a568181b58&consumer=k2&gupId=49DB30E6EFA74AC419984495AB19FB6B HTTP/1.1
Host: siriusxm-priprodlive.akamaized.net
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
Accept: */*
Accept-Language: it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate, br
Origin: https://player.siriusxm.com
DNT: 1
Connection: keep-alive
Referer: https://player.siriusxm.com/all-channels

If someone wants to test you have to go to this link (need a USA Vpn):
https://player.siriusxm.com/home/foryou
Then start free preview > all channels > and choose channel 75 (Met Opera Radio).
I would love someone to help me fix it. Any suggestions are always welcome.
Thank you!

You need add Header Cookie.
Find that with your browser:

and then
N_m3u8DL-CLI.exe "https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_32k_v3/metropolitanopera_32k_large_v3.m3u8?token=1588006122_9d7bae231a1e834d2a4a6a33c9318250&consumer=k2&gupId=5291D61E3F0DD31570F665D29CC3319A" --saveName "metropolitanopera_32k_large_v3" --headers "cookie:STRING YOU FOUND"

recording

Thank you nilaoda!
I was able to reproduce from my side. The fragments are downloaded and merged into a .ts file of about 139MB but the terminal is stuck on Waiting...
22:48:29.681 <278292 Downloading>
22:48:29.960 <278292 Complete>
22:48:29.961 <278293 Downloading>
22:48:30.241 <278293 Complete>
22:48:30.242 **Waiting...**

I am forced to shutdown the terminal and when I try to listen the downloaded file it plays only the first 6 seconds.
I also want to ask:

is it possible to choose the quality of the file to download?
Since I also have an account how can I implement username and password in the program commands?
Is it possible to set a proxy command to avoid using a Vpn?

Anyway, your program is very promising. I can't wait to read your answers!

My program determines whether it is a live stream by detecting whether m3u8 ends with #EXT-X-ENDLIST
You can manually change the vod tag of meta.json to true, and the program will download the stream in the normal way. (Just use  meta.json file path as url)

At this stage, there is no option to select quality.
This is just an m3u8 download program, and will not provide login function.
Currently, the system proxy settings are used automatically, and can also be disabled using commands. Use custom settings will be added in a future version.

Now after 2 years, the tool stopped working with SiriusXM. They changed the method of transmission and now the cookies have a form like: "AUTH_TOKEN=%7B%22deviceGrant%22%3A%7B%22deviceId%22%3A%22090ff4f1-ae00-4e24-8d08..." as the attached image:

Also in the Header appears the object "Authorization: Bearer..."

So my question: Is it still possible to use the tool to download from SiriusXM? Thank you for any reply to get me on the right way!


fix a bug in deploy.py when using cleanup-deployments command

The command to cleanup deployments in README.md lose a parameter -c

There is a bug in deploy.sh when execute cleanup command.
# line 184, template is the file name rather than the relative path
if os.path.exists(template):

It should be
if os.path.exists("bootstrap/{0}/{1}".format(serv,template)):

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: xingtanzjr sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Coverage increased (+12.5%) to 61.99% when pulling 96bbd2604734914418ca7fe35847c87fc0a1197f on xingtanzjr:fix_bug_in_cleanup_deployments into 33015d43351aa33381d18fec04a024926a1cb8d4 on Microsoft:master.

Coverage increased (+12.5%) to 61.99% when pulling 96bbd2604734914418ca7fe35847c87fc0a1197f on xingtanzjr:fix_bug_in_cleanup_deployments into 33015d43351aa33381d18fec04a024926a1cb8d4 on Microsoft:master.


criu support

Describe the bug
orbstack Version 1.2.0 (16496)
Linux ubuntu 6.5.13-orbstack-00116-gb64875927ef8 #1 SMP Wed Dec 6 22:19:46 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
sudo criu check --all
Warn (criu/autofs.c:99): Failed to find pipe_ino option (old kernel?)
Error (criu/cr-check.c:157): sys/kernel/ns_last_pid sysctl is inaccessible: No such file or directory
Warn (criu/cr-check.c:1442): Does not look good.
#667

Added for the next version.

Released in v1.3.0 Canary 1.

Released in v1.3.0.


Return to previous build directory after testing examples

I believe coverage generation is failing right now because the example test changes the directory but doesn't return to the original build directory  (eg. https://github.com/osrf/sdformat/pull/444/checks?check_run_id=1647029579#step:4:4010)

Actions are failing because of an issue with gzdev. https://github.com/ignition-tooling/gzdev/pull/28

Actions are failing because of an issue with gzdev. https://github.com/ignition-tooling/gzdev/pull/28

Codecov Report

Merging #455 (5d810e1) into master (f6e029b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #455   +/-   ##
=======================================
  Coverage   87.65%   87.65%
=======================================
  Files          64       64
  Lines        9681     9681
=======================================
  Hits         8486     8486
  Misses       1195     1195

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 cd2ad01...5d810e1. Read the comment docs.

Codecov Report

Merging #455 (5d810e1) into master (f6e029b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #455   +/-   ##
=======================================
  Coverage   87.65%   87.65%
=======================================
  Files          64       64
  Lines        9681     9681
=======================================
  Hits         8486     8486
  Misses       1195     1195

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 cd2ad01...5d810e1. Read the comment docs.


remove kubernetes 1.8 support

idk why this bot is linking to testing docs for kubernetes itself ... would be good to update that too 🤷♂

/assign @dchen1107

/ok-to-test

/lgtm
/approve


Add filters

Add ability to filter on:

[x] highway= type
[ ] Last edit year

Will need to see if any more information needs to put into the tiles file.

The site now (PR #6) has a very basic key=tag filter box. Filtering by edit year is note implemented yet.

Need to add a "not" filter. Something like "-name"

Going to mark this as complete and add a new item for last edit. It will need some data pipeline work as the current tiles don't have the information needed to make the filter.


Document Metrics for Kafka data plane

Problem
Metrics referenced from this java class are not visible on the knative.dev website:
https://github.com/knative-extensions/eventing-kafka-broker/blob/cbf0a4275b443ddc99ae21909761cabaf3883a36/data-plane/core/src/main/java/dev/knative/eventing/kafka/broker/core/metrics/Metrics.java#L53
See the website:
https://knative.dev/docs/eventing/observability/metrics/eventing-metrics/
Exit Criteria
Metrics described on the webpage

Duplicate of https://github.com/knative-extensions/eventing-kafka-broker/issues/1960


refactor "parseSearch" to use BaseUtils matching routines

parseSearch() still has the same problems that we already fixed in parseCache(), namely that it holds the complete webpage of every cache from the search results in memory. I'll apply a short term fix for this memory leak by adding a String constructor call, but we should really refactor that method to use the BaseUtil mechanisms.

What a coincidence ! I just doing that ,-)

I set myself as proxy and set the label to indicate that you work on the issue.

Is this done and can be closed?

Refactored with commit 3587b0ee3bf5ea5d27e031551a465bad81ecb792


iso codes with local (expl. en-us, zh-cn, zh-tw)

Hi,
first, great plugin! Thanks a lot!
Though, I ran in a little issue with having traditional and simplified Chinese on my page. They couldn't be distinguished (were both "zh") due to line 40:
if(languages[i]['code']==lang.substr(0,2)) {
I replaced it with:
if(languages[i]['code']===lang){
I kinda had to use "===" not that it may matches "en-us" with "en-US" and later returns undefined, if the page doesn't properly uses upper and lower cases. Note that the browser delivers the navigator language as for example "en-US". But I don't know how consistent this is, so I made all language codes lower case on the site and changed the line 34:
methods.setLanguage(options.domain, options.useFullPaths, options.languages, options.expires, language);
to
methods.setLanguage(options.domain, options.useFullPaths, options.languages, options.expires, language.toLowerCase());
this solved all my issues.
Greetz
PS: this maybe is helpful for people wanna read out the options instead of defining everything again after defining it in their language menu html:
let languages = [];
$('.languageDropDown').siblings('ul.dropdown-menu').find('li a').each(function(e){
	languages.push({
		code: $(this).data('language'),
		path: $(this).attr('href'),
		defaultLanguage: $(this).data('language') === 'en-us'
	});
});
$(document).languageDetection({
	languages: languages
});

Hi,
thanks for your help!
I'll find a fix for the reported issue
And thanks for the useful snippet for the options!
Best,
Daniele


SQL server running on a VM in Azure

Hi, Is Power BI gateway needed for connecting to a SQL server running on a VM in Azure.

Hi, @SuperSing -- not sure which article you're referring to. Assigning to the author for gateways in the hope that he can help.
Thanks!

Thanks! It is related to on-premise gateway.
On torsdag, september 5, 2019, 11:24 pm, Maggie Sparkman<EMAIL_ADDRESS>wrote:
Hi, @SuperSing -- not sure which article you're referring to. Assigning to the author for gateways in the hope that he can help.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi @SuperSing, a gateway is required for SQL Server on a VM. You could also use SQL Azure database, which might or might not require a gateway depending on how you configure connectivity.


Update HandleVsOn.md

Elaborated on the onSubmit vs. handleSubmit FAQ in an attempt to address some of the confusion witnessed in #1270.

Codecov Report

Merging #2903 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #2903   +/-   ##
======================================
  Coverage     100%    100%
======================================
  Files          67      67
  Lines        1410    1410
======================================
  Hits         1410    1410

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 7bd780d...b5e21d9. Read the comment docs.

Most excellent! Thank you. 👍

@erikras No problem - glad I could help!

Published.


Understanding the crow threading model

I'm trying to understand the crow threading model. Can someone confirm if the following is correct:
CROW_ROUTE(app, "/")([](){
        return foo();
    });

    app.port(18080).run();

If I use the above, then concurrency_ will be set to 1 (the default) and foo() will only ever be called from a single thread at any given time. Therefore foo() does not need to be reentrant.
Whereas... If I call app.port(18080).multithreaded().run() then I crow will use the value returned by std::thread::hardware_concurrency() to set the number of concurrent threads to be used for routing requests and therefore foo() could be called from 1 or more threads concurrently and needs to be reentrant.
Is this correct?

Crow creates an io_service per a thread, distribute connections to io_services by the round-robin way and doesn't have work stealing queue now.
It means that, foo can be called by multiple threads concurrently and need to be reentrant.
Note.
By the view point of the connection, it is handled by only one thread.

@ipkn does foo() need to be reentrant even if concurrency_ == 1 ?

Yes, it is served by 1 io_service andfoo() need not be reentrant if concurrency_ == 1.

Thanks @ipkn this is really helpful


Key fields are not hidden

Currently, the value of fields such as API Keys are always shown, they should be hidden and, ideally should have something to show/hide them if the user wants.

closing as will be handled by https://github.com/luniai/github-code-review/issues/13


fix Fix 'DATE' type to 'DATEV2' type in Geting-Started

Proposed changes
Issue Number: close #19388
Problem summary
Change 'DATE' type to 'DATEV2' to avoid bug.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[x] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Please modify the title format as docsFix 'DATE' type to 'DATEV2' type in Geting-Started

I will close this PR.
DATEV2 is a temp name and we should use it explicitly.
cc @LemonLiTree @luzhijing


node-red crashes with dashboard

Hello. After started "node-red-start" I see WEB interface on localhost:1880 and dashboard on localhost:1880-ui. But after aprox. 2 minutes node-red go down and restart. And again, again.. with this log:
PS: I using mosquito MQTT brooker.
Started Node-RED graphical event wiring tool..
21 Jan 10:47:46 - [info]
Welcome to Node-RED
===================
21 Jan 10:47:47 - [info] Node-RED version: v0.16.1
21 Jan 10:47:47 - [info] Node.js  version: v6.9.4
21 Jan 10:47:47 - [info] Linux 4.4.38-v7+ arm LE
21 Jan 10:47:48 - [info] Loading palette nodes
root : TTY=unknown ; PWD=/root ; USER=root ; COMMAND=/usr/bin/python -u /usr/lib/node_modules/node-red/nodes/core/hardware/nrgpio.py info
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
21 Jan 10:47:51 - [info] Dashboard version 2.2.1 started at /ui
21 Jan 10:47:53 - [info] Settings file  : /root/.node-red/settings.js
21 Jan 10:47:53 - [info] User directory : /root/.node-red
21 Jan 10:47:53 - [info] Flows file     : /root/.node-red/flows_raspberrypi.json
21 Jan 10:47:53 - [info] Server now running at http://<IP_ADDRESS>:1880/
21 Jan 10:47:53 - [info] Starting flows
21 Jan 10:47:53 - [info] Started flows
21 Jan 10:47:53 - [info] [mqtt-broker:719f17ae.438d78] Connected to broker: mqtt://localhost:1883
21 Jan 10:49:01 - [warn] Communication send error: Error: not opened
<--- Last few GCs --->
116585 ms: Mark-sweep 113.6 (144.5) -> 113.6 (144.5) MB, 1776.6 / 0.7 ms [allocation failure] [GC in old space requested].
118341 ms: Mark-sweep 113.6 (144.5) -> 113.5 (144.5) MB, 1755.7 / 0.6 ms [allocation failure] [GC in old space requested].
120174 ms: Mark-sweep 113.5 (144.5) -> 121.4 (136.5) MB, 1833.0 / 0.6 ms [last resort gc].
122842 ms: Mark-sweep 121.4 (136.5) -> 129.3 (136.5) MB, 2667.9 / 0.7 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x22b7c315 <JS Object>
1: new constructor(aka Options) [/usr/lib/node_modules/node-red/node_modules/options/lib/options.js:~8] [pc=0x2967d4e4] (this=0x35808df9 <an Options with map 0x26efa8e9>,defaults=0x35808db1 <an Object with map 0x26efe595>)
3: initAsClient [/usr/lib/node_modules/node-red/node_modules/ws/lib/WebSocket.js:~571] [pc=0x29fa47f0] (this=0x35808cf9 <a WebSocket with map 0x5d510769>,address=0x3d8ea3...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
nodered.service: main process exited, code=killed, status=6/ABRT
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
21 Jan 10:49:50 - [info]

Can you help me, someone?
Thnx

Looks like an out of memory error.
Have you got a websocket node in your flow?
We've just fixed a memory leak in the ws node when it's set to connect to a remote websocket server - will be releasing 0.16.2 in the next couple days.

Yes, I have two ws nodes. One for input and seconf for output. Can I configure this nodes correctly?

That WS sending messages from UniPi [http://unipi.technology/wiki/Main_Page] via EVOK API [https://github.com/UniPiTechnology/evok].

https://github.com/UniPiTechnology/evok

The issue occurs when the ws node fails to connect to the remote system. There isn't a workaround other than to ensure the remote system is available for connections before Node-RED attempts to connect.
Will get 0.16.2 released today.

Strange... I removed all WS nodes, but issue is still here...

With exactly the same stack trace in the log? Please paste in here the lines after JS Stack Trace.

<--- JS stacktrace ---> ==== JS stack trace ========================================= Security context: 0x5577c315 <JS Object> 1: _extend [util.js:~972] [pc=0x2bb554f4] (this=0x23a6a825 <an Object with map 0x3f027ad5>,target=0x59e3a39d <an Object with map 0x43c09b4d>,source=0x59e3a21d <an Object with map 0x3f0ea2cd>) 2: addRequest [_http_agent.js:123] [pc=0x3b4b70e8] (this=0x23a6ab75 <an Agent with map 0x3f013311>,req=0x71dd8479 <a ClientRequest with map 0x43c14911>,options=0x59e3a21d <an Object with map 0x3f0ea2cd... FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory nodered.service: main process exited, code=killed, status=6/ABRT Unit nodered.service entered failed state. nodered.service holdoff time over, scheduling restart. Stopping Node-RED graphical event wiring tool.... Starting Node-RED graphical event wiring tool.... Started Node-RED graphical event wiring tool.. 21 Jan 11:33:17 - [info]

OK, I tried delete whole Flows. And start a new one. With MQTT and dashboard gauges only. That seems no issues, for now...

We've now released 0.16.2 that contains the fix for the websocket memory leak. Given I believe that is what you hit, I'm going to close this issue. Please reopen if you hit it again after upgrading to 0.16.2.


add "Scan ID" to output reports

Create a default generated ScanID, or get it from the user.
Then print it into all the results formats.

I can try to work on this issue


Two docs pages with disagreements on log rate MB/s limits

This page:
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-resource-limits-database-server#transaction-log-rate-governance
Says:
with the maximum log rate allowed being 48 MB/s with the vCore purchasing model.
But this page shows 98 MB/s limits for Business Critical:
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-vcore-resource-limits-single-databases

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

ID: 528deb7f-fe1c-f2af-68b3-18d74eb570d4
Version Independent ID: 81880132-cf30-f913-3555-d78897f76611
Content: Azure SQL Database server resource limits
Content Source: articles/sql-database/sql-database-resource-limits-database-server.md
Service: sql-database
Sub-service: single-database
GitHub Login: @CarlRabeler
Microsoft Alias: carlrab

@BrentOzar thanks for pointing this out -fixing now.

fixed - please close
@Mike-Ubezzi-MSFT

@BrentOzar
Thanks for bringing this to our attention. We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


DISABLE_ASSET_COMPILATION variable value

The asset compilation should be skipped only if the DISABLE_ASSET_COMPILATION env var is set to a meaningful value, which should be true
@mfojtik PTAL

LGTM
[test]


Follow up on WavLM bundles

Addressed @mthrok's comments in https://github.com/pytorch/audio/pull/2833:

Moved model type from _params directly into the bundle definition. For now I defined model type as "WavLM" for WavLM bundles and "Wav2Vec2" for everything else. We can also distinguish between different Wav2Vec2 falvours - Hubert, VoxPopuli etc, but at the moment this won't imply any functional differences, so I didn't do it
Expanded the title underline to match the title length

Hi @sgrigory
Thanks for the follow up. We also need to update the doc to mention wavelm.

Update the docstring of Wav2Vec2Model to include factory functions for wavlm. https://github.com/pytorch/audio/blob/main/torchaudio/models/wav2vec2/model.py#L14-L18
Add wavlm factory functions https://github.com/pytorch/audio/blob/main/docs/source/models.rst


Update defmt and stm32f1 and cortex-m dependencies.

Hiya--
Trying to get embassy using a newer (patched) probe-run which requires newer defmt, which requires things we rely upon to also use the same version of defmt, and thus, here I am.

I've merged https://github.com/stm32-rs/bxcan/pull/47 instead, which does the same thing and also fixes CI