Question on the page "pagination"

Hi! I have a documentation issue on InstantSearch.js. I could not find what I was looking for on the page "pagination".
How to add  rel="prev"  attribute to "<a ... " pagination previous ?

Hey! You need to use connectPagination to control the DOM output. You can see an example on that page.


Lock device issue

Hi again,
So the other issue I'm experiencing (which could very well be my fault with implementing your code) is that when lunch the app, everything works great. When I click out of the app and reopen it still works.
When I lock the iPad I can't seem to get the server side to work without totally relaunching the app.
To test I am printing the message.description immediately after;
func didReceive(_ message:OSCMessage) {
I'm sorry if this does not make sense. I can create you another video if it makes things easier.
Thanks

I think there are some underlying issues with the sockets code I'm using or it may be just how iOS handles the situation. One way to get around this quickly is to restart the server in applicationDidBecomeActive.

Thanks, I did try this before raising an issue, the following is my code in appdeliageAppDelegate.swift;
func applicationDidBecomeActive(_ application: UIApplication) {
         server.start()
         print("Restart Server in applicationDidBecomeActive");
}

my consol then printed Restart Server in applicationDidBecomeActive but the OSC server does not work.
Thanks
Aled

Interesting. I’ll take a look.

On Sep 18, 2019, at 1:38 PM, Aled Evans<EMAIL_ADDRESS>wrote:
Thanks, I did try this before raising an issue, the following is my code in appdeliageAppDelegate.swift;
func applicationDidBecomeActive(_ application: UIApplication) {
server.start()
print("Restart Server in applicationDidBecomeActive");
}
my consol then printed Restart Server in applicationDidBecomeActive but the OSC server does not work.
Thanks
Aled
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/devinroth/SwiftOSC/issues/37?email_source=notifications&email_token=ADDIQENUF67JPEWZK4PUTU3QKKGU5A5CNFSM4IYDDU4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7BL36Q#issuecomment-532856314, or mute the thread https://github.com/notifications/unsubscribe-auth/ADDIQENZHMC4MG2RD45XEL3QKKGU5ANCNFSM4IYDDU4A.

So based on some really quick initial tests, this issue does not seem to exist with iOS13 (iPadOS). When the iPad is locked the OSC messages continue to print in the console.

Just let me know if you're still having issues.

@aled2305 Did you find any solution... cause i am getting the same issue.. after lock unlock... app crash... i have solved the crash by solution you provided, but after app activate... i am not able to get any message..

@joyharsh13 sorry for the late reply, but I've only today managed to solve the issue!
Using the following code signal(SIGPIPE, SIG_IGN);
In my app I now have:
  func applicationWillEnterForeground(_ application: UIApplication) {
       signal(SIGPIPE, SIG_IGN);
   }

I hope this helps you.


Add warnings to commands that result in data loss in UG

Added warnings to commands that result in data loss. e.g meeting-delete, delete, clear, refresh commands
Resolves #222

data loss
can you say data removal.


Add 4.15, 4.16, SNO to master CI

SNO PR: https://github.com/openshift/oadp-operator/pull/1264

/lifecycle frozen


Enable Warmup function could be specified outside of the node module.

As an organisation, I NEED to be able to write my own warmup function
SO THAT I can write more complex business logic and attach other event sources.
I think this would simply be a pointer in the yaml that packages a function external to the serverless-plugin-warmup.
The reason this could be useful is shown in my comment, specifically the bit about SNS sources.

Just elaborating a bit on this.
I'd suggest that we configure the warmup lambda like any other lambda: handler, trigger, etc.
And have defaults for those.


Feature Request: API to change individual line size

Hello
I would like the possibility to change individual line sizes
Use Case:
In Visual Studio I am running an extension that makes a line only containing a bracket smaller.
I would like a similar extension for VSCode, but first it must be possible to shrink lines individually.

We first need support from the editor for this

To keep the number of issues in our inbox at a manageable level, we're closing issues that have been on the backlog for a long time but haven't gained traction: we look at the number of votes the issue has received and the number of duplicate issues filed. Thank you for your time and understanding.
If you disagree and feel that this issue is crucial: we're happy to listen and to reconsider.


[SparkLoad]Use the yarn command to get status and kill the application

Proposed changes
#4346 #4203
This cl will use yarn command as follows to kill or get status of application running on YARN.
yarn --config confdir application <-kill | -status> <Application ID>

To do
1、 Make yarn command executable in spark load.
2、Write spark resource into config files and update it before running command.
3、Parse the result of executing the command line.
Types of changes
What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have create an issue on (Fix #ISSUE), and have described the bug/feature there in detail
[] Compiling and unit tests pass locally with my changes
[] I have added tests that prove my fix is effective or that my feature works
[] If this change need a document change, I have updated the document
[] Any dependent changes have been merged

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...

@xy720 Hi, do we have any user doc for this PR?

I will add some relevant user doc later


Document release process

The docs should have notes similar to the ones for Benefits on making a release.

@angela-tran Maybe we can include this issue in your newly-created milestone to capture improvements to the release process?

@indexing The release process for eligibility-api is pretty different from that of benefits and eligibility-server since it's a Python package that gets published to PyPI rather than a web app that runs on Azure, so it won't be subject to any of the changes in the new milestone.
I could see this being a "Stretch" ticket if you think it's worth adding to the Sprint, but I don't think it really belongs in the "Tag-based deployment model" milestone.

@angela-tran Got it. Doesn't seem related to the "Tag-based deployment model" milestone to me either. How urgent is it to have this process documented?

@indexing Not urgent right now. It would become more urgent if we were to start some work on eligibility-api but nothing lined up right now


Conversion of gray code to decimal

💥 Proposal
Given the decimal equivalent number n of a gray code. Find the inverse number in decimal form. I would like to add code in C++.
Example:
I/O : 4
O/P : 7
4 in binary form is 100. Binary equivalent of gray code 100 is 111. If 111 is converted into decimal, it is 7.
Have you read the Contributing Guidelines on Pull Requests?
Yes.

/assign


Find the K-th Largest Number

Aim
Find the k-th largest number in a sequence of unsorted numbers.
Example:
Input : [8, 7, 2, 3, 4, 1, 5, 6, 9, 0], K = 3
OutPut: 7
Programming language

[x] Java

I can do this in C and C++
assign me.
LGMSOC'21

I can do this in python ! Please assign me this! I am an lgmsoc participant

I can solve this in c and c++. Please assign me this issue under LGMSOC 21

Already Exist

@Amit366 plz reopen this issue !

@shantamsultania @siddhi-244 implement in java and python

@Amit366  sure I am doing it in python !

@Amit366 check pr #660


[Application] darknet53 pytorch implementation for yolo v3  @open sesame 06/07 10:59

Added pytorch darknet53 model for yolo v3.
It is used in yolo v3 as a backbone model.
I'll add nntrainer implementation, too.
Signed-off-by: Seungbaek Hong<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2217. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306011758100.71034407615662-3af40e825d130577eb4871dfb1b27f9b7a019b3b/report/pylint_result.txt.

:octocat: cibot: @baek2sm, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306011758100.71034407615662-3af40e825d130577eb4871dfb1b27f9b7a019b3b/.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306020852370.049355983734131-3af40e825d130577eb4871dfb1b27f9b7a019b3b/report/pylint_result.txt.

:octocat: cibot: @baek2sm, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306020852370.049355983734131-3af40e825d130577eb4871dfb1b27f9b7a019b3b/.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306021331270.91604804992676-3af40e825d130577eb4871dfb1b27f9b7a019b3b/report/pylint_result.txt.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306071059000.66429209709167-3af40e825d130577eb4871dfb1b27f9b7a019b3b/report/pylint_result.txt.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306071108410.017971992492676-14c20aefdb57ec41347957593061919601ce6fa4/report/pylint_result.txt.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306071109240.55041193962097-1ed9fce97d1e06df00ef3c7f8fc1b6d5fa633dbf/report/pylint_result.txt.

:octocat: cibot: @baek2sm, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306071109240.55041193962097-1ed9fce97d1e06df00ef3c7f8fc1b6d5fa633dbf/.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306071456100.44165706634521-6a0b988671de080f23d34bc9629cc8459aa4e030/report/pylint_result.txt.

:octocat: cibot: @baek2sm, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306071456100.44165706634521-6a0b988671de080f23d34bc9629cc8459aa4e030/.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306071650350.062711000442505-04f09fcf299a003b51ebdcad89ba801cc96dd881/report/pylint_result.txt.

:octocat: cibot: @baek2sm, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306071650350.062711000442505-04f09fcf299a003b51ebdcad89ba801cc96dd881/.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306081825580.89882111549377-90757457119748a13f1c407958685a47d2acb28e/report/pylint_result.txt.

:octocat: cibot: @baek2sm, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306081825580.89882111549377-90757457119748a13f1c407958685a47d2acb28e/.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306101926430.5737099647522-90757457119748a13f1c407958685a47d2acb28e/report/pylint_result.txt.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2217-202306161612370.93419289588928-d0d4f8f564a1f5f647439700c1b3a0f765b4f09a/report/pylint_result.txt.


[1.71 nightly] error: the #[proc_macro_derive] attribute is only usable with crates of the proc-macro crate type

error: the `#[proc_macro_derive]` attribute is only usable with crates of the `proc-macro` crate type   --> /home/imoc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/thiserror-impl-1.0.40/src/lib.rs:29:1    | 29 | #[proc_macro_derive(Error, attributes(backtrace, error, from, source))]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  error: could not compile `thiserror-impl` (lib) due to previous error

I can't tell what would cause this but I don't think it has to do with thiserror. The thiserror-impl crate is definitely marked as proc-macro crate type and our nightly CI is working.

Thanks for your quick reply, something is probably wrong about cargo or rustc:
$export RUSTFLAGS="-C target-feature=+crt-static"
$cargo build --release
error: cannot produce proc-macro for `thiserror-impl v1.0.40` as the target `aarch64-unknown-linux-gnu` does not support these crate types

aarch64-unknown-linux-musl works. without crt-static also works.


OK dokument (Independent Publisher)

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[ ] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[ ] I attest that the connector works and I verified by deploying and testing all the operations.
[ ] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[ ] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[ ] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[ ] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[ ] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[ ] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[ ] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

Hello @SoliteaSlovensko,
Thank you very much and congratulations on your new submission!
Please sign the CLA, this step is necessary. We can't start the review process without it.
After this step is done, our Certification Engineers will review the PR within 1-2 weeks.
Please let us know if you have any questions.
Thank you very much again for working with us.

Hi, thank you. CLA is signed.
I would like to ask if further action is needed from the my site. Because this is my first connector and I am not sure.
In Github is one validation error with description PowerShell exited with code '1'. So I am not sure if I have to take some action and if yes, what should be fixed.
Thank you
Tomáš Szarka | Consultant
+421 915 788 019 |<EMAIL_ADDRESS>| www.solitea.skhttps://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.solitea.sk%2F&data=04|01|peter.gajdosech%40solitea.sk|0a572f87542e47023f9e08d9dc07f3e2|6e0a5f8317284956bdf4ce37760cd214|0|0|637782749260980647|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=E3nAapfKjopfHpvrznzPw9zFyGuosxrIKEnqv94Onx4%3D&reserved=0
Solitea Slovensko, a.s., Pluhova 50/A, 831 03  Bratislava, Slovakia
@.***https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.solitea.cz%2F&data=04|01|peter.gajdosech%40solitea.sk|0a572f87542e47023f9e08d9dc07f3e2|6e0a5f8317284956bdf4ce37760cd214|0|0|637782749260980647|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=SwyV1W2CH01qhAEQxWJfBkMG6nK4tiLUunt93F1zc4s%3D&reserved=0
From: v-EgorKozhadei @.>
Sent: 29 June, 2022 16:01
To: microsoft/PowerPlatformConnectors @.>
Cc: Szarka Tomáš @.>; Mention @.>
Subject: Re: [microsoft/PowerPlatformConnectors] OK dokument (Independent Publisher) (PR #1772)
Hello @SoliteaSlovenskohttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSoliteaSlovensko&data=05|01|tomas.szarka%40solitea.sk|5b6e25a858b942d0be7508da59d7c20f|6e0a5f8317284956bdf4ce37760cd214|0|0|637921080463200712|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=TU9HCIcdNts1aW%2F7pEIGznxUSPV8RoF4C2fpdhrUjtI%3D&reserved=0,
Thank you very much and congratulations on your new submission!
Please sign the CLA, this step is necessary. We can't start the review process without it.
After this step is done, our Certification Engineers will review the PR within 1-2 weeks.
Please let us know if you have any questions.
Thank you very much again for working with us.

Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FPowerPlatformConnectors%2Fpull%2F1772%23issuecomment-1170019024&data=05|01|tomas.szarka%40solitea.sk|5b6e25a858b942d0be7508da59d7c20f|6e0a5f8317284956bdf4ce37760cd214|0|0|637921080463200712|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Nu9qjzjJGqDhjo8M39ddJ8fHP9ZmR%2Fi%2F%2Fn1P5bGl8Hk%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZ26QQHJ6O2OXSKFU3CPKNLVRRJIVANCNFSM52FWALLA&data=05|01|tomas.szarka%40solitea.sk|5b6e25a858b942d0be7508da59d7c20f|6e0a5f8317284956bdf4ce37760cd214|0|0|637921080463200712|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=8F7Zm6ObZO3WyJDUwJ%2BkhQ0mCgovTmUqCtrVm%2FvXFL4%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

[[certify-connector]]

Hello @SoliteaSlovensko,
I hope you are doing well.
Congratulations, your connector is approved. We will move forward with the certification process. We are preparing your connector for production deployment and will queue up for the next deployment schedule. Once your connector onboards the next deployment schedule, it starts to deploy your connector in our production environments that typically takes 3-4 weeks.
Please let us know if you have any questions.
Thank you very much for working with us.

Hello @SoliteaSlovensko,
I hope you are doing well.
Your connector is in production deployment and queued up for the next deployment schedule. This process typically takes 3-4 weeks. Please note that the documentation for your connector will not be generated until the deployment process is in the final steps.
Please let us know if you have any questions.
Thank you very much for working with us.

@SoliteaSlovensko
Congratulations! The deployment of your connector and documentation page is now complete, We have a short survey on the connector certification process that we would like for you to complete. Your feedback is appreciated and will help us improve the program, Thanks.


v0.4.0

Codecov Report

Merging #15 (5e7c56f) into main (b9660ba) will increase coverage by 0.83%.
The diff coverage is 85.56%.

@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
+ Coverage   85.50%   86.34%   +0.83%
==========================================
  Files           8        8
  Lines        2353     2395      +42
==========================================
+ Hits         2012     2068      +56
+ Misses        273      263      -10
+ Partials       68       64       -4

Impacted Files
Coverage Δ

cl/type_and_var.go
91.35% <57.14%> (+2.07%)
:arrow_up:

cl/stmtchk.go
92.38% <82.25%> (-2.84%)
:arrow_down:

cl/stmt.go
92.56% <100.00%> (+2.40%)
:arrow_up:

cl/blockctx.go
80.53% <0.00%> (+3.05%)
:arrow_up:

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 b9660ba...5e7c56f. Read the comment docs.


ENH: make ReaderWithFileStore have exposure_time

Current coverage is 82.48% (diff: 28.57%)

Merging #627 into master will decrease coverage by 0.13%

@@             master       #627   diff @@
==========================================
  Files            20         20
  Lines          4371       4378     +7
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           3611       3611
- Misses          760        767     +7
  Partials          0          0

Powered by Codecov. Last update cf05cb4...0f34e8a


Thank you

A very useful library.
Is there a way to listen to a complete event?

Yes, the way is to use a sequence Action, with a runFunc at the end:
Actions.sequence(
    actions,
    Actions.runFunc(onCompleteFunc)
).play();

Let me know if you want more specific examples!


how to track event like lost focus?

Hi,
I am new to flexx and going through http://flexx.readthedocs.io for examples.
Here in http://flexx.readthedocs.io/en/latest/ui/button.html has event for mouse_click (button), checked (radio/toggle button) etc.
Whereas LineEdit has only one -submit().
I want to check the data when LineEdit loses focus. Is there a way to achieve this?
e.g. I want LineEdit ui to hold only interges greater than 5000

The LineEdit 'submit' event gets emitted when it loses focus or when enter is pressed. Do you mean that you do not want to trigger when enter is pressed?

I want to get behavior equivalent of javascript's onblur() or onfocusout() in flexx.
I tried with 'submit' event, it is only triggered when Enter key is press but not triggered when user moves out of element.
code:
flexx import app, event, ui
class Example(ui.Widget):
def init(self):
    with ui.FormLayout():
        ui.Widget(flex=.2)
        self.t1 = ui.LineEdit(title='Amount:',style='width:30%;')
        ui.Widget(flex=.2)
        self.l2 = ui.Label(title='Note:')
        ui.Widget(flex=3)

@event.reaction('t1.submit')
def _lineEdit_events(self, *events):
    ev = events[-1]
    self.l2.set_text('Lost focus')

app.export(Example,'test.html')

I stand corrected; it does not emit "submit" when losing focus. The line edit in the combobox does, but not the normal one. I'd need to re-think to see what makes sense. Can you explain a bit about your use-case? Would it work for you if "submit" would also trigger on losing focus?
For the time being, you can make your example work by adding this line to the init():
    self.t1.node.onblur = self.t1.submit

thanks for reply.   your suggestion/trick will do as of now.
my use-case is:  I want user to only enter integers greater than say 5000 in line-edit. If user enters string or any other value and then moves on to other fields of the form, I want to alert user to get alert message
One more thing,  In http://flexx.readthedocs.io/en/latest I could not find any material regarding DOM node or tricks of assigning JS events to flexx events. Please share link if it is there.

Thanks for the clarification.
Yes, you are right; the docs of ui or Widget should explain about Widget.node.  I will add it to the list of things to do before the release.

can I create custom event for line-edit? and then assign JS event to it as you suggested in previous post. That will be great if possible.

Yes. There's two possibilities. In the simplest form, just change the line a bit to emit an event with a custum name. Note the "!" added in the reaction; it is there to suppress the warning the Flexx will give because it does not know that event.
        self.t1.node.onblur = lambda: self.t1.emit('myblurevent', {})

@event.reaction('!t1.myblurevent')
def _lineEdit_events(self, *events):
   ...
...

Or do it the "proper" way by subclassing and adding an emitter:
class MyLineEdit(LineEdit):
    @emitter
    def myblurevent(self):
        """ docs here ..."""
        return {}

great! I got the behavior I wanted with the first method.
test .txt
I could not get it second subclassing method. Can you explain/wirte it with my code i am attaching here. Sorry if I  am bothering you too much, I am just keen to learn flexx.

from flexx import app, event, ui

class MyLineEdit(ui.LineEdit):

    def init(self):
        self.node.onblur = self.myblurevent

    @event.emitter
    def myblurevent(self):
        """ docs here ..."""
        return {}

class Example(ui.Widget):

    def init(self):
        with ui.FormLayout():
            ui.Widget(flex=.2)
            self.t1 = MyLineEdit(title='Amount:',style='width:30%;')
            ui.Widget(flex=.2)
            self.l2 = ui.Label(title='Note:')
            ui.Widget(flex=3)

    @event.reaction('t1.myblurevent')
    def _lineEdit_events(self, *events):
        ev = events[-1]
        self.l2.set_text('Lost focus')

app.launch(Example)
app.run()

I'd say the second method is preferred if you or other people are using this functionality in other places. Otherwise the first method is simply less code.

Thanks a lot. You can close this now.
Off to build some flexx web apps now. Will post new issue if I get stuck....
Thanks again

I'm leaving this open for now, since I think maybe LineEdit should submit on losing focus.

Will post new issue if I get stuck....

Please do :)

I think maybe LineEdit should submit on losing focus.
That might conflict with form's submit button. Generally users click submit button after entering all details. If there are mulitiple LineEdits it may create problems. I may be wrong though.

There are a few string methods that are not supported by PyScript, like encode/decode (because bytes are not supported), and also isdecimal and isdigit. I do not remember exactly why this is :/ If you really miss this method, please make a separate issue and I will look into it more closely.

Closing. The LineEdit emits a user_done event when it loses focus. One can react to this event in addition to submit if necessary.


Add SetHTTPClient method to hipchat.Client

As discussed in #29, I have added SetHTTPClient method to hipchat.Client.

Thanks for the contribution

Thanks for the quick merge!


How do you set defaultChecked on Checkbox?

💬 Questions and Help
As seen in the below sandbox, passing defaultChecked to a Checkbox component doesn't seem to do anything.
https://codesandbox.io/s/reakit-fk3qk
Is this possible with Reakit?

My current solution is to fire a useEffect on first render to update state.
function App() {
  const {state, setState} = useCheckboxState();

  React.useEffect(() => {
    setState(true)
  }, [setState])

  return (
    <React.Fragment>
      <Checkbox {...{state, setState}} defaultChecked={true} />
    </React.Fragment>
  );
}

This obviously isn't ideal and I'm sure there's a nicer solution, I just can't see it.

Hey @tom-sherman. All state hooks (useSomethingState) in Reakit accept objects as initial state. You can learn more about it here: https://reakit.io/docs/managing-state/
You can do this:
const checkbox = useCheckboxState({ state: true });

console.log(checkbox.state); // true

Example here: https://reakit.io/docs/checkbox/#usecheckboxstate

Thanks, I should read the docs!

No worries. Your question helps to find points that aren't intuitive enough. 👍

@diegohaz I was trying to get your solution to work initially, however the piece I was missing was that I need to pass it in as {state: true} and not just true.
I was trying to use the hook exactly how React.setState works. Is there ever a scenario where you would want to pass in a setState option to the useCheckboxState hook? Otherwise it might be more intuitive to do useCheckboxState(true)?

state is the only option you can pass to useCheckboxState. So, yes, it would make sense to pass the value directly as an argument.
But, for the sake of consistency, all state hooks in the library behave similarly so you'll need to learn less things when using other Reakit components. Since objects address all of our use cases, that's a standard in the library.
Besides that, it's easier to introduce new features by using objects. useHiddenState, for example, also had only one option, and we're able to introduce a new animated option without breaking anything because it uses an object.

But, of course, you can always create your own version of it:
import { useCheckboxState as useBaseCheckboxState } from "reakit";

function useCheckboxState(state) {
  return useBaseCheckboxState({ state });
}

useCheckboxState(true);

Thanks for explaining your reasoning on this, it's really useful 👋


release<EMAIL_ADDRESS>

A regular release to include a few bumps of otel deps.

Tagged.
Release workflow: https://github.com/elastic/elastic-otel-node/actions/runs/11616425556


Roundup: [oss-security] mupdf: mujstest: global-buffer-overflow in my_getline (jstest_main.c)

Here is a report from the oss-security mailing list for Vulnerability Roundup 27.
Skip to First Email
Instructions:
Identification
Identify if we have the software, in 16.09, 17.03, and unstable. Then determine if we are vulnerable, and make a comment with your findings. It can also be helpful to specify if you think there is a patch, or if it can be fixed via a general update.
Example:
unstable: we are not vulnerable (link to the package)
17.03: we are vulnerable (link to the package)
16.09: we don't have it packaged

IMPORTANT: If you believe there are possibly related issues, bring them up on the parent issue!
Patching
Start by commenting on this issue saying you're working on a patch. This way, we don't duplicate work.
If you open a pull request, tag this issue and the master issue for the roundup.
If you commit the patch directly to a branch, please leave a comment on this issue with the branch and the commit hash, example:
fixed:

release-16.09: abc123

Skip to First Email
Upon Completion ...

[ ] Update Graham's database

Info
Triage Indicator:
-needs-triage +roundup27 thread:0000000000002603

File Search: https://search.nix.gsc.io/?q=mupdf&i=fosho&repos=nixos-nixpkgs
GitHub Search: https://github.com/NixOS/nixpkgs/search?utf8=✓&q=mupdf+in%3Apath&type=Code

Should the search term be changed from mupdf? Suggest a new package search by commenting:
-suggested:mupdf +suggested:correctPackageName thread:0000000000002603

Known CVEs: CVE-2016-10247

Skip to End
Sun, 16 Oct 2016 20:52:31 +0200 Agostino Sarubbo <ago-at-gentoo.org>, 11022030.6ZF3cfAM3U@arcadia
A note outside the blog post:
This issue does not affect any library, but it is only in the mujstest binary.
There aren't known applications which use mujstest, but if you have an
application or website which relies on mujstest you are invited to apply the
patch or use the newer package when it will be released. Thanks.

Description:
Mujstest, which is part of mupdf is a scriptable tester for mupdf + js.

A fuzzing revealed a global buffer overflow write.

The complete ASan output:

# mujstest $FILE
==1278==ERROR: AddressSanitizer: global-buffer-overflow on address
0x0000013c7280 at pc 0x0000004fa432 bp 0x7ffea75837d0 sp 0x7ffea75837c8
WRITE of size 1 at 0x0000013c7280 thread T0
    #0 0x4fa431 in my_getline /var/tmp/portage/app-
text/mupdf-1.9a/work/mupdf-1.9a/platform/x11/jstest_main.c:214:5
    #1 0x4fa431 in main /var/tmp/portage/app-
text/mupdf-1.9a/work/mupdf-1.9a/platform/x11/jstest_main.c:335
    #2 0x7fb62229661f in __libc_start_main /var/tmp/portage/sys-
libs/glibc-2.22-r4/work/glibc-2.22/csu/libc-start.c:289
    #3 0x41ade8 in _init (/usr/bin/mujstest+0x41ade8)

0x0000013c7280 is located 0 bytes to the right of global variable
'getline_buffer' defined in 'platform/x11/jstest_main.c:24:13' (0x13c6280) of
size 4096
SUMMARY: AddressSanitizer: global-buffer-overflow /var/tmp/portage/app-
text/mupdf-1.9a/work/mupdf-1.9a/platform/x11/jstest_main.c:214:5 in my_getline
Shadow bytes around the buggy address:
  0x000080270e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080270e10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080270e20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080270e30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080270e40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x000080270e50:[f9]f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9
  0x000080270e60: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9
  0x000080270e70: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9
  0x000080270e80: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9
  0x000080270e90: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9
  0x000080270ea0: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Heap right redzone:      fb
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack partial redzone:   f4
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==1278==ABORTING

Affected version:
1.9a

Fixed version:
1.10 (not yet released)

Commit fix:
http://git.ghostscript.com/?p=mupdf.git;h=446097f97b71ce20fa8d1e45e070f2e62676003e

Credit:
This bug was discovered by Agostino Sarubbo of Gentoo.

CVE:
N/A

Timeline:
2016-08-04: bug discovered
2016-08-05: bug reported to upstream
2016-09-22: upstream released a patch
2016-09-24: blog post about the issue

Note:
This bug was found with American Fuzzy Lop.

Permalink:
https://blogs.gentoo.org/ago/2016/09/24/mupdf-mujstest-global-buffer-overflow-in-my_getline-jstest_main-c/

--
Agostino Sarubbo
Gentoo Linux Developer

Skip to End

Mon, 13 Mar 2017 11:27:50 +0100 Agostino Sarubbo <ago-at-gentoo.org>, 1933450.huz7fftLl8@blackgate
On Sunday 16 October 2016 20:52:31 Agostino Sarubbo wrote:
> Permalink:
> https://blogs.gentoo.org/ago/2016/09/24/mupdf-mujstest-global-buffer-overflo
> w-in-my_getline-jstest_main-c/

This is CVE-2016-10247

--
Agostino Sarubbo
Gentoo Linux Developer

Skip to End

Master: Not Affected
16.09: affected version 1.9a
17.03-release Not affected


Provide a copy code button for code snippets in markdown

Similar to #224, but it would be nice to automatically have a clipboard button for me.markdown (which will automatically benefit me.code which uses markdown under the hood)

Question. Do you want the copy button on the markdown block? Or do you only want it to appear for each code fenced block?
Initially was thinking just the markdown block since that's easiest, but reading the title, it occurred to me you could mean the latter.

I think it's better to do it for each code-fenced block, since that's a big reason why people want to copy and paste. similar to what Gemini / GitHub does:

def foo():

text
def foo():

Ok, yeah, that's what I was afraid of. I think it's doable.
Seems like we'll need to get the native html element, then grab all the pre tags and update the mark up to include the copy button. Then I guess under the hood we could try to extract all the code blocks and send them over to the frontend to use with the copy button.
Another option is to write a custom extension which make it easier to extract the code blocks (since we need to account for the various ways code blocks can be rendered) Then we can added some extra formatting for the copy button in the mark up. Then we'd still need to do some DOM manipulation on the native html to add the click handlers.
Third option, which is my preference is to move the markdown component to render on the frontend using markedjs and highlightjs. Then I think it will be easier to add our hook to add the copy button. This also has the benefit of improving the performance of the markdown component. The only hesitation about it is that I don't know if there's any downstream implications for using markedjs and highlightjs. Also don't know what issues you ran into initially with using markedjs.

+1, missing this feature


Looking for core maintainers

My schedule is extremely hectic at my day job and my start-up is gaining momentum. Full transparency, I could use some help here with getting new versions out, reviewing pull requests, etc. If anyone is interested, please post here so we can connect. This project is far from dead, but it does indeed need a bit of TLC in order to keep it up to date, which I am currently unable to provide. Thanks so much!

Hello,
Thank you for sharing and asking for help.
I was wondering how much of a commitment this is. What I mean is, is it 2 hours a week or 2 hours a day of reviews and whatnot. What would a good maintainer need to know to take this task on?
Thanks,
Andrew

@anlek those are fantastic questions!

This is not a huge commitment, this product is extremely stable and doesn't receive many pull requests. I would say that even 2 hours per month to start is extremely helpful!
A good maintainer needs to be familiar with CI/CD, some bash scripting and a bit of python. They also must be detail oriented and stand for quality.

Please let me know if you have any further questions. <3

@Theaxiom  I'm a big fan of this project and think I could help out as well if needed.

Hello @Theaxiom , I also can try to help if needed? At least I can look over the issues and try to fix what I can understand :D

@sshishov thanks for your interest, please feel free to submit any pull requests for submission. It is greatly appreciated! :)

I can also help if needed, I could work on getting the CI moved  to Github Actions? :)

@samip5 thank you for offering, I have sent you an invite to become maintainer. Your support is greatly appreciated!

@sshishov I have invited you as a maintainer, thank you! Your support is greatly appreciated!


Upload tools refactor and BMP support

Refactor to join openocd scripts and config under /tools/openocd directory
Added new directory /tools/blackmagic to upload firmware with BlackMagicProbe
Documentation in README.md explaining how to upload firmware
Bugfix: removed panic_semihosting refered crate on the blink example

Already merged. Thanks @rafacouto


Rename "Porn" label to "Explicit" for Moderation Filter Consistency

The currently existing content warning labels are inconsistent with the Moderation/Content-Filtering policy toggles.
The self-labeling toggles should have their titles and copy updated to be consistent.
Current self-labeling options:

Current Moderation settings:

Below is a table mapping the self labels to the moderation labels:

Self-Label
Subtitle
Moderation Label
Moderation Subtitle

Suggestive
Pictures meant for adults.
Sexually Suggestive
Does not include nudity

Nudity
Artistic or non-erotic nudity.
Other Nudity
Including non-sexual and artistic

Porn
Sexual activity or erotic nudity.
Explicit Sexual Images
i.e. pornography

I'd propose we change the Self Labels to:

Suggestive
Artistic Nudity
Explicit

Or something like that if it fits in the UI.

Hard disagree with moving away from the word porn and the notion that it is somehow less descriptive and blurry than terms like sexually explicit activity. This is a Carlin bit.

"Pornography" is a completely unambiguous and succinct term. All that the longer-form description really achieves is a veneer of Corporate Safe language.

(apologies for horrendous English in advance)
I slightly fear that without using the "corporate safe language" where it outright just says "porn" might introduce reasons from these 'taboo purists' to outright block it or to countries that inherit high religion ideologies to block it completely just because it has 'porn' in one of the buttons, sounds ridiculous, but it's a real reason countries would unironically consider.
I'm not sure if what I'm saying even made sense, I'm all ears for feedbacks.


New provider to support complicated multi-dns-provider setups

This adds a "multi" provider that dynamically creates and selects dns providers to use on a domain-by-domain basis. I need this for our production setup because:

We need a single certificate that spans many domains, including multiple wildcards.
Most domains are hosted on multiple dns providers (google cloud and r53, both active all the time).
Some domains are hosted on different providers from others.
We even have multiple cloudflare accounts with different feature sets that have different domains on them.

Using the "multi" provider, you supply an addition json configuration that specifies which providers are available with their credentials, and which providers should be applied to which domains.
This can be a little complicated to specify, but it seems necessary if your setup is as convoluted as described above.
Godoc documentation should describe pretty well how to use it.
Tested working in some pretty complicated scenarios for production-level certs.

@captncraig could you rebase?

Any updates on this? it is becoming clear that I might need this in our platform too.

Sorry, I got sidetracked on this and we decided to use our existing dns tool for this as well. I think this feature is still an ok idea, but am reluctant to continue work on it as the config can be a bit tricky, and I can't commit to really offering support going forward. The code is there though. If somebody wants to take it up, rebase and get it merge-ready please do.

I already start to work on this, but for now I don't found a satisfying approach.


Rails assets group was removed with rails 4.0

It was removed here:
https://github.com/rails/rails/pull/9955
The rails 5.1.0 template has just Bundler.require(*Rails.groups) here:
https://github.com/rails/rails/blob/v5.1.0/railties/lib/rails/generators/rails/app/templates/config/application.rb#L21

cc @bdunne 🍪


[WIP] No Encryption Key Found in Config while escrow disabled

Latest WIP version:
I do not have filevault_escrow config enabled so there is no encryption key in my config, as well as there is no filevault_escrow table in my database, but when I run the migration it errors out with:
No encryption key found in config
--
started update: Fri Mar 23 2018 11:17:13 GMT-0400 (Eastern Daylight Time)
No encryption key found in config
stack trace follows:
in /secure/DEV/vendor/illuminate/database/Migrations/Migrator.php:417 FilevaultEscrowEncryptPlaintextKeys->__construct.
in /secure/DEV/vendor/illuminate/database/Migrations/Migrator.php:168 Illuminate\Database\Migrations\Migrator->resolve.
in /secure/DEV/vendor/illuminate/database/Migrations/Migrator.php:146 Illuminate\Database\Migrations\Migrator->runUp.
in /secure/DEV/vendor/illuminate/database/Migrations/Migrator.php:95 Illuminate\Database\Migrations\Migrator->runPending.
in /secure/DEV/app/controllers/database.php:79 Illuminate\Database\Migrations\Migrator->run.
in /secure/DEV/system/kissmvc_core.php:88 munkireport\controller\Database->migrate.
in /secure/DEV/system/kissmvc.php:17 KISS_Engine->__construct.
in /secure/DEV/public/index.php:147 Engine->__construct.

Instead of ignoring the migration step it errors out and stops there.

Looks like the latest release fixed that, but now I am getting the "base table or view not found"
Maybe add a clause if the table does not exist, create it?

Did you modify the db manually?

I did not but it is possible another tech did by accident. If that is the case, how can we create it manually so it will migrate in the future?

remove 2017_12_19_193803_filevault_escrow from the migration table, run migration again

migrations stack on top of each other, so the first one creates the table, the second one makes adjustments (in this case I did not realise that there were people storing plaintext keys already)

Looks like that fixed it, thanks.


Fix/load table wrong parameters

Table was shifting some of the parameters. I also took advantage to re-write the function and add load_array.

By mistake the tech demo example 1 is being updated too. There are minor style fixes though.


Nex Dex

Ydarissp made his dex private, so the dex Ctrl+D links to no longer works. Can you change that link to the new dex made by the game devs ? The new dex can be found at https://wiki.pokerogue.net/starters:pokedex according to the official discord. Thanks in advance for this and for all the work you put in this handy project.

oh yeah, good point; I'll do that real quick.


Don’t show a “please rate” alert when a crash report is available for submission.

If a crash report is available, this might mean that the user had to endure a crash just before. Asking the user to rate at that time might not be the best time to do so, as they might respond in an iRate fashion.

Sounds legit to me


IPv6 Support

Got an email about missing IPv6 support. Added an AAAA record to generative.fm, but probably still need to add an AAAA record to samples.generative.fm.

Sneakily swapped the samples.generative.fm CNAME record with A and AAAA records, then tested with http://ipv6-test.com/validate.php, so I think this is working now. Finally, people from the future can access the site.


Move the Concerto documentation into the AP documentation site

We should move the documentation for the CTO file format, runtime etc into the AP technical docs for publication and management:
https://github.com/accordproject/techdocs
Generate the JSDoc API docs and integrate into the technical docs.

Hacktoberfest:
This issue can provide for multiple pull requests.

Can I work on this @irmerk @dselman

Hey @irmerk  Can you please help me get started?

I would be following through the releases as well as some of the issues tracking documentation for the overall v0.20 release propagation:
https://github.com/accordproject/concerto/issues/64
https://github.com/accordproject/techdocs/issues/111
https://github.com/accordproject/techdocs/issues/108
https://github.com/accordproject/techdocs/issues/87

Just to clarify, I'd have to add a section to this called Concerto?

Unsure, I think we'd need more input from @jeromesimeon, @dselman, @mttrbrts, and @4katie.
So far my thoughts are having more information here

Okay sure @irmerk . What do you suggest I do in the mean time?

I'm opening this back up as being stale.
@christyjacob4 like I said I think joining those would help with issues like this one.

README material has been moved to https://docs.accordproject.org/docs/next/model-concerto.html

Documentation for Concerto has been moved to : https://docs.accordproject.org/docs/model-concerto.html
Requests for improvements or fixes can be open as new issues directly on the documentation repo.


Wish: document in what cases this is needed

Node.js have a native events implementation, so it would be useful to note in the README in what cases there is a benefit or requirement to use this module over the native events module.

used by browserify to simulate node.js environment in the browser

@defunctzombie Why close this? Is better documentation deemed unnecessary or undesirable?

PR would be welcome but there is no real requirement to use this module. You can use it in node or browser if you want to have a particular version of events module. Hard for me to say explicitly what the benefit is for your cases.


⚠ Bofrost.fr has degraded performance

In 1e43f51, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1015 ms

Resolved: Bofrost.fr performance has improved in cf38c2e after 6 minutes.


Update shade maven plugin add minimizeJar properties

Update shade maven plugin add minimizeJar properties to reduce the size of the generated jar
Add the minimizedJar because need to upload the jar into blazmeter but it's support upload with max size 50MB.

Hi @kami619, I have modified the PR to remove the profile and add only the minimizedJar configuration to reduce the sizing of the jar generated.


Support for pdf

I have a pdf file with multiple dxf images. I have attached sample pdf. Please help me how to extract this pdf using javascript/nodeJs. Please let me know any
Sample Vector PDF_outlines.pdf
suggestions. Thanks

Hi, PDF files are not a simple format to parse. You'll need to look for a project that can get the DXF data out of the PDF as plain text, then use this library to parse that text. You aren't likely to find anyone who knows how to parse PDFs here and it is outside the scope of this project


Add firePropertyChange call to @Setter

Migrated from Google Code (issue 401)

Like my idea in https://github.com/rzwitserloot/lombok/issues/1155


Discovery Service requires restart to get latest changes to Plan Tree view

Describe the bug
I ran a few migrations against a single MigPlan while working on #723 . I found that the PodVolumeRestores and PodVolumeBackups will sometimes only show up in the plan tree view if you kill mig-controller, which also kills the discovery service, and let it restart.
The PodVolumeRestores and PodVolumeBackups are also  missing from JSON output of /plan/tree.
What I expected

What I saw
Same as above, but with PodVolumeBackups and PodVolumeRestores missing until I restarted the controller.
To Reproduce
Steps to reproduce the behavior:

Run a few migrations against the same MigPlan
Check the debug tree view in the UI
Notice that the output received from the discovery service is missing PodVolumeBackups that are present on the cluster

I will try to reproduce and investigate next week.

I saw similar behavior when preparing MTC labs with MTC 1.3.1.
I consistently failed to see any PVB/PVR data in my debug views.
I was using a stock MTC 1.3.1 install from production.


[FEATURE] Added 'Buy Now' button and 'Add to Cart' icon on the Products Page

Added 'Buy Now' button, 'Wishlist' icon and 'Add to Cart' icon on the Products Page and also added toast notification here too
https://github.com/pooranjoyb/popShop/assets/132436131/e15ed0fb-10ab-4911-8c51-c50f4ad316ad

@yashmandi the 'Wishlist' icon and 'Add to Cart' icon  are too big reduce their size also their should be some game between buy now button and footer section.

@yashmandi the 'Wishlist' icon and 'Add to Cart' icon  are too big reduce their size also their should be some game between buy now button and footer section.

will fix it soon 👍🏻

@yashmandi Take a Pull, Fixed some merge-conflicts :)

@yashmandi run npm run build and check build errors

@yashmandi you need to take pull from dev and master branch, and try to resolve conflicts by tomorrow end of the day.

Fix the conflicts by EOD. @yashmandi

trying to resolve this issue. how do i encounter this error:

Just take a pull from dev and run npm i

Just take a pull from dev and run npm i @yashmandi
Also delete the node_modules before running npm install

tried doing it multiple times... nvm, u can assign this one to some other person 👍🏻

@yashmandi there I have reviewed your code and there are a lot of merge conflicts seems like you don't know how to work with complex projects on open source I tried resolving a few but there are so many that if I try to push them they may cause production to degrade. I am closing this pr and the issue would be assigned to someone else.


forms: make csv import parse dates accepts a list of columns

Instead of a boolean which has way less chances to work. While
at it add a proper label for the "con" field.
Fixes #4637
cc @timifasubaa

Codecov Report

Merging #4639 into master will increase coverage by 0.02%.
The diff coverage is 94.44%.

@@            Coverage Diff             @@
##           master    #4639      +/-   ##
==========================================
+ Coverage   71.22%   71.24%   +0.02%
==========================================
  Files         190      190
  Lines       14880    14896      +16
  Branches     1098     1098
==========================================
+ Hits        10598    10613      +15
- Misses       4279     4280       +1
  Partials        3        3

Impacted Files
Coverage Δ

superset/views/core.py
71.19% <ø> (-0.03%)
:arrow_down:

superset/forms.py
98.11% <94.44%> (-1.89%)
:arrow_down:

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 97afcd5...e5155b5. Read the comment docs.

@timifasubaa any chance you can take a look at this? I'll show this in a talk about superset tomorrow and I'd like that this or something equivalent will reach mainline. Thanks!

LGTM

Thanks @timifasubaa @graceguo-supercat !


Cluster details page shows internal ip's only for ec2 clusters

Setup

Rancher version: v2.6-2c2137347e42f48ea9ab8e3ded0830f78050aef0-head
Browser type & version: Chrome

Describe the bug
Cluster details page shows internal ip's only for ec2 clusters
To Reproduce

Fresh install of rancher v2.6-head
Deploy a downstream AWS Node driver cluster
From Cluster Management, select the cluster's name hyperlink under Name
Reproduced

Result
IP Addresses listed are internal
Expected Result
IP Addresses listed are external OR both external/internal
Screenshots

Additional Context
Linode Node driver clusters display external ip's as expected; AWS Node driver clusters do not; EC2 specific

@torchiaf You'll need AWS access if you don't have it

Self-removed my assignment because Catherine is already working on it.

I closed my PR addressing this issue because I believe it unnecessary due to the fact that I can no longer reproduce the original bug in the master branch.
Here's how it looks when you have an RKE2 cluster in EC2:

Here's how it looks when you have an RKE1 cluster in EC2:

@catherineluse I see the following for an RKE2 cluster on a pretty recent 2.7-head build (ignore the drained state)

It could be a simple fix of this.status?.addresses --> this.status.internalNodeStatus tweaks in shell/models/management.cattle.io.node.js, but i haven't dived in to it

Ticket #6371 - Test Results
With Docker on a single-node instance:
Verified on rancher v2.7-ae44c398377516fcd150b8fc2a81a9fd6d4d8fb5-head:

Scenario
Test Case
Result

1.
Amazon EC2 RKE1
✅

2.
Amazon EC2 RKE2
✅

Scenario 1:

Fresh install of rancher v2.7-head
Provision a downstream AWS Node driver RKE1 cluster w/ 3 nodes - individual roles
Once active, Navigate to Cluster Details > Machine Pools
Verified - External/Internal IPs are seen as expected

Scenario 2:

Fresh install of rancher v2.7-head
Provision a downstream AWS Node driver RKE2 cluster w/ 3 nodes - individual roles
Once active, Navigate to Cluster Details > Machine Pools
Verified - External/Internal IPs are seen as expected


Gaussian smearing for DOS

Added Gaussian smearing for DOS

I just merged two older commits that added the FFTW library to Xtal in the force push. No changes were made to the contents between the dev branch and the latest commit.


bulk work item API

It appears that the bulk work item update is not implemented.  Is this on the roadmap for implementation?

The bulk work item update REST endpoint was written with a very different pattern from the other Azure DevOps apis.  Our code generator was never updated to support this one off pattern.  In order to add Python support for this API, we would either need to update the generator to support this, or we would need manual write the Python code to call the endpoint.   The latter is probably more practical, since it only applies to one endpoint.   If you would like to create a PR to add this functionality we could add it to the SDK.  All code changes need to be in a separate .py file, so the code does not get overwritten on regeneration.


Efficient way to add chain locations

Thinking of a system whereby all jsons are formatted into one json source which is then added to the map. Here's a poor diagram I made in Paint:

Would address #5 - mapping chain markers

look into using .all? see https://daveceddia.com/waiting-for-promises-in-a-loop/


Updated cloneParams method for better performance in Latest Devices

    public static RelativeLayout.LayoutParams cloneParams(RelativeLayout.LayoutParams params) {
        if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.KITKAT) {
            return new LayoutParams(params);
        } else {
            RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(params.width, params.height);
            layoutParams.leftMargin = params.leftMargin;
            layoutParams.topMargin = params.topMargin;
            layoutParams.rightMargin = params.rightMargin;
            layoutParams.bottomMargin = params.bottomMargin;
            int[] rules = params.getRules();
            for (int i = 0; i < rules.length; i++)
                layoutParams.addRule(i, rules[i]);
            //layoutParams.setMarginStart(params.getMarginStart());
            //layoutParams.setMarginEnd(params.getMarginEnd());
            return layoutParams;
        }
    }

Thanks to @GadgetCheck
from https://github.com/GadgetCheck/TinderView

@ThunderRoid: I'm missing some methods: scale, move, getMoveParams, scaleFrom, moveFrom in class CardAnimator, could you tell me how to fix it? Thank you.

@ngocht143 you can find all the required methods here -> https://github.com/wenchaojiang/AndroidSwipeableCardStack/blob/master/CardStack/src/main/java/com/wenchao/cardstack/CardUtils.java

@ThunderRoid: Thanks for your reply, it helped me. :)
And do you take notice with the issue which i mentioned? https://github.com/wenchaojiang/AndroidSwipeableCardStack/issues/62
It's about integrate this lib with a zoomable imageview.

a pull request?


Panic 071 with v0.2.54 when Bluetooth is enabled

To reproduce panic 071, download https://github.com/lancaster-university/microbit-v2-samples and unzip. Rename codal.json as codal.noble.json, and codal.ble.json as codal.json, then build. Drag MICROBIT.hex to micro:bit and see panic 071. Panic still appears after changing main.cpp so it only does uBit.init().

Removing this change gets rid of the panic in v0.2.53.
https://github.com/lancaster-university/codal-microbit-v2/blob/5eefe4c870fe403229637b67dcba9c7c59026dfc/model/MicroBit.cpp#L286

@JohnVidler @finneyj
This avoids panic 071.
#if CONFIG_ENABLED(DEVICE_BLE) && CONFIG_ENABLED(MICROBIT_BLE_ENABLED)
    sd_clock_hfclk_request();
#else
    NRF_CLOCK->EVENTS_HFCLKSTARTED = 0;
    NRF_CLOCK->TASKS_HFCLKSTART = 1;
    while (NRF_CLOCK->EVENTS_HFCLKSTARTED == 0);
#endif

Not sure if it should wait on sd_clock_hfclk_is_running. Or if it should be inside bleManager.init, between enabling softdevice and starting advertising.
Note that HFCLK increases power consumption.
https://devzone.nordicsemi.com/f/nordic-q-a/46640/hfclk-start-and-usage
The Softdevice will always start the HFXO before a RADIO event, and release it afterward to reduce the base current (e.g., advertisement event). The reason for this is that the RADIO requires an accurate clock source to transmit at the correct frequency. If you want the HFXO always on you can call  sd_clock_hfclk_request() after enabling the Softdevice, but this will most likely increase the average power consumption.


Fileupload used in form inside a modal (JetStream)

Package
filament/filament
Package Version
2
Laravel Version
10
Livewire Version
2
PHP Version
8
Problem description
Hello an thank you for this great work,
I ran into an issue, when I wanted to insert a filament form inside a modal using jetstream modal component.
The FileUpload using the default component or Spatie's, are behaving similarly. In other words,
when I put the form inside the page (not in a modal) everything goes fine but when I put the FileUpload inside a modal, there is a duplicate filepond fileupload div, Empty + Filled one overlapping which doesnt let me click on the buttons of Download, Remove or Open as this will make me click on the overlapping empty filepond FileUpload input file.
Plus when i upload a new file on top of that, i can see two separate fileuploads and they both get cleared, then the file path is removed from the database if I use spatie's.
PS: This happens only when Form is FILLED
Here are some screenshots:

Expected behavior
Normal behavior letting me Fill the input file, and then replace it, remove it, downloaded it and open the file without going through double inputs overlapping.
Steps to reproduce

Install Jetstream (maybe its only using jetstream's x-dialog-modal)
Create Livewire component (Example is Youssef livewire component)
Insert modal  in the blade with a button opening that modal
Insert {{$this->form}} inside the modal
Fill the form in the livewire component indicating the fileinput in the mount function.
Preview with existing record containing path of the file

Reproduction repository
https://github.com/yamakrane/test.git
Relevant log output
No response

wire:ignore

Idk why when I put it in the modal, the .filepond--drop-label div takes the following style: transform: translate3d(0px, 0px, 0px); opacity: 1; instead of transform: translate3d(0px, 30px, 0px); opacity: 0; visibility: hidden; pointer-events: none;

I don't think this is a Filament issue, we didn't design the Jetstream modal and it may need some tweaking to get it to work. Our own admin panel modal component works fine with forms so it must be something in your implementation.

true, I created a new modal component to work with it. thanks

For those who are still encountering this issue.
This is actually happening in every modal using the Hide/Show as if it recreates the filepond.
The trick is to build the form only when the modal is open, example:

@if($modalOpen) // <---- This is the thing
{{ $this->form }}
@endif

For those who are still encountering this issue.
This is actually happening in every modal using the Hide/Show as if it recreates the filepond.
The trick is to build the form only when the modal is open, example: @if($modalOpen) // <---- This is the thing {{ $this->form }} @endif

how to build the form only when the modal is open ?

For those who are still encountering this issue.
This is actually happening in every modal using the Hide/Show as if it recreates the filepond.
The trick is to build the form only when the modal is open, example: @if($modalOpen) // <---- This is the thing {{ $this->form }} @endif

You saved my day! Thank you!


Junit retry tests formatting

We have a small issue wherein since we retry our tests for failure, how do we incorporate that with danger-junit, because junit.report would fail even for single test 😓

Is there a special output format in junit for describing that? Otherwise that problem probably lives in you test runner

@orta there isn't, unfortunately. We faced the same issue using trainer to generate JUnit off the back of Xcode with test retries enabled - the JUnit simply has multiple entries for the same test. I did have a look at the JUnit spec and there doesn't seem to be a way to model this properly.
I actually added the functionality to parse this in a fork of danger-junit (the functionality is only enabled if you switch on a flag, otherwise it defaults to the standard behaviour of any-failure-is-a-failure). We wanted to maintain the full list of tests + retries inside the JUnit so it can be inspected by other parts of our build system.
I didn't open a PR as I wasn't sure it'd be accepted, as this doesn't feel like a "standard" JUnit thing, but if you'd be amenable I could. Changes are here: https://github.com/orta/danger-junit/compare/master...Gousto:feature/test-retries

We are running into the exact same issue with some flaky tests. I think this addition makes total sense... is there any plan to merge it? if not, how should I use your fork? thanks!


Look at https://github.com/boxed/pytest-readme

https://github.com/boxed/pytest-readme

Not that important especially as the commands are not pure python ones


Fix backwards compatibility break for reporterOptions

Description of the Change
In https://github.com/mochajs/mocha/pull/4004 there was a change to use the documented reporterOption in favour of the setting that had always been used in practice called reporterOptions. This broke a lot of configurations that used the reporterOptions, which was the only way it every worked AFAIK. This is also clear in that all the built-in reporters use this name.
This changes the documentation to specify reporterOptions instead and ensure that any one that has switched to reporterOption after upgrade, still works.
Alternate Designs
reporterOption could have been chosen as the new preferred way, but objects with options are generally referred to in their plural form in JS. I think the root cause of the confusion comes from the command line option reporter-option. I think it makes sense that this is singular, since it is a single option, but it is compiled into a reporterOptions object.
Why should this be in core?
To fix #4142 and other related issues like https://github.com/michaelleeallen/mocha-junit-reporter/issues/106#issuecomment-574015463
Benefits
Make it easier to upgrade to Mocha 7
Possible Drawbacks
Slight overhead of supporting two aliases
Applicable issues
#4142

Coverage increased (+0.07%) to 92.915% when pulling 21aa6440e7842e63c767baa1fa0fa24c5c76589e on peakon:issue/4142 into 0e1ccbb915ba8c2f73134af5bebd357f3329b9b7 on mochajs:master.

I'm unsure what change you are requesting here. I'm not sure why the change I am proposing is inconsistent with anything.
Surely you do not want to require everyone to update their settings and all reporters to release new versions of their packages, when then i turn have to manage backwards compatibility with older versions of Mocha?

reporterOptions is not a canonical name, but an alias.
I'm planning to reduce the options passed into Mocha constructor (in our case: reporter-option, reporter-options, reporterOption, reporterOptions, O). So I don't agree to the change from reporterOption to reporterOptions as expected option name.
For backwards compability (L105) we could add reporterOptions as fallback, but reporterOption should remain the option to be.

The Mocha constructor is never called with reporter-option or reporter-options AFAIK. That is only done via the CLI.
Searching the code base, up until your change, reporterOption was never used outside the documentation mistake. If anyone had passed it in, it would simply be ignored. From what I can tell you want to change it to use reporter-option on the command line and reporterOption in the rest of the code. I don't really see why that is better than my proposal of reporter-option in the CLI and reporterOptions in the rest of the code. They are not the same, one is a single option, the other is a set of options.
Since reporterOptions have always been used by everyone, rather than try to force this change on everyone, wouldn't it be better to just use my suggestion?

No, I don't want to change anything for use in CLI, everything remains as is.
In CLI you can use comma separators, so --reporter-option is not only a single option.
For the constructor, I need this rule for all options: "canonical or its camel-cased version".
"[...] have always been used [...]" is not a good argument, especially in a major release. Furthermore if we keep backwards compability with the mentioned fallback.


URI resolver redirects to detail-pages that no longer exist

error: Reverse for 'person-detail' not found. 'person-detail' is not a valid view function or pattern name.
request: /apis/api/metainfo/uritoobject/?uri=https://d-nb.info/gnd/119165457

This has been fixed in 24f91f1ae3e8f88a7cfbffcbc21de16e34246b97


XT4 supported?

According the manual only  XT1 Plus, XT2, XT2 Plus and XT3 are supported. There is a new device: XT4.
Are there any known restrictions for using the adapter with the XT4 alarm system?

The Lupusec XT4 works with the adapter. I will change the readme.


Add stop_cluster for kubedl

What do these changes do?

Add stop_cluster for kubedl and print url when creating kubedl.
Related issue number

Will submit another PR to solve this problem, close now.

Will submit another PR to solve this problem, close now.


Ability to pass className

I'm using styled-components and would like the ability to do something like this
const Wrapper = styled(Measure)`
  ....
`;

Sorry for not testing enough before opening this issue, it looks like you are rendering the children directly and not wrapping them with a div 👍

No worries! Maybe I can add some better documentation perhaps?

Yeh probably, I would expect to treat Measure like a normal component and add styling, ref, ....etc, right? ;)

The idea behind it is that you can use those dimensions to affect that element, especially when using a child function :) you can think of it as a smart component that gives you some info about the component you pass to it.


Leaks private keys, Github API tokens and Docker registry credentials on host

Running ps on the host machine shows that Drone passes the following things openly on the command line:

A public/private keypair
Name and credentials for private Docker registry
Github API token (netrc)

One thing is that environment variables are not secure, but command lines! Here's the full output:
$ ps aufxww | grep docker
root     23683  0.0  0.1 200496  3300 ?        Sl   19:44   0:00  |   \_ docker-containerd-shim 81da217a220fd7113fca7a695f92262efd10fdb30cd1563babe49541ce646c7d /var/run/docker/libcontainerd/81da217a220fd7113fca7a695f92262efd10fdb30cd1563babe49541ce646c7d docker-runc
root     23697  0.0  0.1   4084  2564 ?        Ssl  19:44   0:00  |       \_ docker -- {"workspace":{"root":"/drone/src","path":"/drone/src/github.com/atombender/dolphin","netrc":{"machine":"github.com","login":"***","user":"x-oauth-basic"},"keys":{"public":"ssh-rsa ***","private":"-----BEGIN RSA PRIVATE KEY-----\n***\n-----END RSA PRIVATE KEY-----\n"}},"system":{"version":"","link_url":"https://***","plugins":null,"globals":null,"privileged_plugins":null},"repo":{"scm":"git","owner":"atombender","name":"dolphin","full_name":"atombender/dolphin","avatar_url":"https://avatars.githubusercontent.com/u/50314?v=3","link_url":"https://github.com/atombender/dolphin","clone_url":"https://github.com/atombender/dolphin.git","default_branch":"master","timeout":60,"private":true,"trusted":false,"allow_pr":true,"allow_push":true,"allow_deploys":false,"allow_tags":false},"build":{"number":22,"event":"push","status":"running","enqueued_at":1468784642,"created_at":1468784642,"started_at":1468784643,"finished_at":0,"deploy_to":"","commit":"a7e5ccb460d547cd6d6f88892a0056d83398ccde","branch":"drone","ref":"refs/heads/drone","refspec":"","remote":"https://github.com/atombender/dolphin.git","title":"","message":"Drone file test.","timestamp":0,"author":"atombender","author_avatar":"https://avatars.githubusercontent.com/u/50314?v=3","author_email":"alex@bengler.no","link_url":"https://github.com/atombender/dolphin/commit/a7e5ccb460d547cd6d6f88892a0056d83398ccde"},"job":{"id":22,"number":1,"status":"running","exit_code":0,"enqueued_at":1468784642,"started_at":1468784643,"finished_at":0,"environment":{}},"vargs":{"email":"***","file":"Dockerfile","insecure":false,"password":"***","registry":"***","repo":"dolphin","storage_driver":"aufs","tag":["latest"],"username":"***"}}

(Horrible secrets elided with ***.)
Drone 0.4.

This is how 12-factor apps work. What do you expect?

Ah wait... This is the payload. This have been heavily changed for 0.5

And as a third thing. You should respect issue templates. You have not discussed anything on Gitter, you clearly ignored the questions from the template, that's sad.

Does "heavily changed" mean that it's been fixed for 0.5?
I expect 12-factor apps not to leak anything. You exchange secret information through channels that are not open; not the process namespace, which is an open channel.
As for the template, sorry; but I did provide all the essential details, and I'm not on Gitter and have no wish to be, especially to discuss things that are blatant bugs. Nothing came up when I searched for pre-existing Github issues, which means that (unless there's an issue that I couldn't find) means that the behaviour has never been published before. Since 0.4 is the current version, it stands to reason that there should be an issue about so other people can see it and find it.

I closed the issue because drone no longer uses command line arguments to pass information to the build container. So yes it is fixed.


Include all Node.js globals

This fixes an issue where Uint8Array and other Node.js globals are not recognized as such. Includes the utility script to get the globals.

This is not a node thing. It is an ES6 thing. ES6 isn't finished yet. I don't recommend using ES6 until it is standardized.

OK, looks like this should be two separate property sets: setImmediate and others seem to be Node.js specific (and used in our production code), while some like Uint8Array belong to ES6 (which should probably also be possible to allow, since they are already in use).

ES6 isn't finished yet. I don't recommend using ES6 until it is standardized.


agg fix incorrect profile

Proposed changes
Issue Number: close #xxx
Aggregation node ExecTime is recounted, resulting it's larger then node Active time:
VAGGREGATION_NODE  (id=114):(Active:  235.763ms,  %  non-child:  0.00%)
                      -  AggInfos::  (_is_merge:  false,  _needs_finalize:  true,  Streaming  Preaggregation:  false,  agg  size:  1,  limit:  -1)
                      -  BlocksProduced:  370
                      -  BuildConvertToPartitionedTime:  0ns
                      -  BuildTime:  212.40ms
                      -  BytesProduced:  28.91  MB
                      -  DeserializeAndMergeTime:  0ns
                      -  ExecTime:  244.322ms

After fix:
VAGGREGATION_NODE  (id=114):(Active:  243.280ms,  %  non-child:  0.00%)
                      -  AggInfos:  (_is_merge:  false,  _needs_finalize:  true,  Streaming  Preaggregation:  false,  agg  size:  1,  limit:  -1)
                      -  BlocksProduced:  370
                      -  BuildConvertToPartitionedTime:  0ns
                      -  BytesProduced:  28.91  MB
                      -  DeserializeAndMergeTime:  0ns
                      -  ExecTime:  236.773ms

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...

run buildall


Can I train gpv2 on Visual Grounding via loc?

Great work here!
I find that gpv2 can be well transferred to Visual Grounding as is shown in Supplementary Material and UnifiedIO. However, I encountered some performance related problems, when I use Localization to train gpv2 on RefCOCO. Specifically, I use the checkpoint trained with web data to init the model and use the default hyper parameters.
Could you please tell me how to train gpv2 on Visual Grounding?
Thanks in advance!

In essence, I think the way to do that would be to treat refexp as a  localization query but with a more complex input query and with only a single bounding box returned as output. Basically each refexp example could become a `LocalizationExample with a single output box and with the referring expression as the category.


PHP 8 features introduced are breaking backward compatibility with PHP7.2++

Monolog version 2
The function preg_last_error_msg was introduced in different files. This function is available in php8+.
The README states that Monolog requires php7.2+ in order to work, so this function is not backwards compatible with our minimum php version required.
The function is on this files:
Handler/BrowserConsoleHandler.php
Handler/ErrorLogHandler.php
Formatter/LineFormatter.php
Handler/SyslogUdpHandler.php
Utils.php
I am creating a Pull requests to provide a possible fix for this, please let me know in case I should adjust the pull request, I would really like to provide my first contribution to the project.
@Seldaek

Sorry about that, did not realize it was a new function. Thanks for the PR 👍🏻


Help! Error when bind view in android.support.v4.app.Fragment

hello,master Jake! I came across one question when i tried to bind view in Fragment,code like :
    public class ClockFragment extends android.support.v4.app.Fragment{
    @BindView(R.id.tvSwitch)
    TextView tvSwitch;
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container,
                             @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.frg_clock, container, false);
        ButterKnife.bind(this, view);
        return view;
    }
    @Override
    public void onActivityCreated(@Nullable Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);

        //tvSwitch = (TextView) getActivity().findViewById(R.id.tvSwitch);//without butterknife,this works fine
        Log.i("tag"">>>>>>>>>>>>>>>>>>>" + tvSwitch.getText());//this will cause java.lang.NullPointerException
    }
}

version 8.4.0, ide: Android Studio
can you tell me how to bind view in android.support.v4.app.Fragment ？

Why you need to re-initialize tvSwitch when it has already been initialized using @BindView?
Also tell, is tvSwitch part of your Activity or Fragment??

@jimitpatel i don't mean to re-initialize tvSwitch, it just turned out to be null when i used it:
Log.i("123","tag" + tvSwitch.getText());//this will cause java.lang.NullPointerException which means @BindView didn't have initialized tvSwitch

Butter Knife only binds views inside R.layout.frg_clock and in this case you're reaching outside the fragment scope into the activity. Either retain your old findViewById code or remove your fragment's dependency on a view that is outside of its scope.

Cant I bind TextViews outside Activity like in helper class? What would be another option to get access to textview outside activity other than findViewById?


Add book MonoGame Role-Playing Game Development Succinctly

What does this PR do?
Add resource(s)
For resources
Description
Add the book MonoGame Role-Playing Game Development Succinctly
Why is this valuable (or not)?
There is only one book on MonoGame development, so a second book would be a nice addition.
How do we know it's really free?
The homepage of the book says so, and there are already many books from www.syncfusion.com already listed in this repo.
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Accepting as as, but wouldn't the game dev books work better in the subjects list?


How to use the Angular Bootstrap Popover in AngularUi calendar?

In my application, I'm using AngularUi calendar to show my events.
I want to show a popover when someone clicks with the event details in it.
I can't find any solution where someone is using Angular Bootstrap popover with AngularUi calendar.
Everyone is using Popover on button click but I want to use it with AngularUI calendar from my JS code.
Any suggestions on how to do it?

Closing this as this project is no longer being maintained, per the README and the ISSUE_TEMPLATE.


Rewrite-maven: ChangeParentPom recipe does not work correctly with multi-module maven projects

I have problems applying the ChangeParentPom recipe in multi-module maven projects where the goal is to modify the parent version of the root module of type pom.
It seems that the problem is related to the number of modules the maven project contains...
For example, I have created a Recipe in the following project  with the goal of modifying the Spring Boot parent to version 2.6.7:
---
type: specs.openrewrite.org/v1beta/recipe
name: com.yourorg.ChangeParentPomExample
displayName: Change Maven Parent Pom example
recipeList:
  - org.openrewrite.maven.ChangeParentPom:
      oldGroupId: org.springframework.boot
      newGroupId: org.springframework.boot
      oldArtifactId: spring-boot-starter-parent
      newArtifactId: spring-boot-starter-parent
      newVersion: 2.6.7
      versionPattern:
      allowVersionDowngrades: false

And on the other hand, I have a demo project with the rewrite plugin configured for the above active recipe which contains 6 modules, whose pom.xml of type pom has Spring Boot parent version 2.6.5 configured. When running mvn rewrite:run the expected result is to update the Spring-boot parent version to 2.6.7, but this is not the case.
Only when I run the command with -N (mvn rewrite:run -N) or comment out all or most of the modules, the recipe correctly updates the Spring Boot parent version to 2.6.7.
Can you check it? thank you very much.

Thank you for the detailed example, we will look into this.

Just a note if this is relevant… I've had some similar issues that got fixed with version 4.24.0 of the maven plugin

Just a note if this is relevant… I've had some similar issues that got fixed with version 4.24.0 of the maven plugin

thanks @dmt ! I'll try it and see if it has been corrected ;)

@tkvangorder,
as @dmt says, when doing the same test now with version 4.24.0 of the rewrite plugin it works correctly!!
Can you close the issue thank you!

@tkvangorder This is happening with last version (rewrite-maven-plugin:4.44.0). I attach sample minimal multi-module project.
TestRecipe code:
package com.test;

import org.openrewrite.Recipe;
import org.openrewrite.maven.ChangeParentPom;

public class TestRecipe extends Recipe {

  public TestRecipe() {
    this.doNext(new ChangeParentPom("org.springframework.boot", null, "spring-boot-starter-parent", null,
        "2.6.7", null, true, null));
  }

  @Override
  public String getDisplayName() {
    return "Migration test";
  }

  @Override
  public String getDescription() {
    return "Migration test.";
  }

}

When launching the recipe from a custom recipe library jar via:
mvn -U  -org.openrewrite.maven:rewrite-maven-plugin:run -D"rewrite.recipeArtifactCoordinates=com.xxxxxx.amgorwr:amigaorwrecipes:0.1.0-SNAPSHOT" -D"rewrite.activeRecipes=com.test.TestRecipe"

It does nothing!
But, if I add maven -N option, then it works flawlessly. It seems a problem with multi-module projects.
Maven version: 3.8.4
Java version: 17
openrewrite-test.zip
Could you please check this?

I am no longer on the OpenRewrite team, I am going to ping @timtebeek on this issue. Thanks for reporting!

Hi all; we just pushed a new snapshot version of the Maven plugin with a potential fix. Would be so kind as to give it another try with version 4.46.0-SNAPSHOT?
<build>
    <plugins>
        <plugin>
            <groupId>org.openrewrite.maven</groupId>
            <artifactId>rewrite-maven-plugin</artifactId>
            <version>4.46.0-SNAPSHOT</version>
        </plugin>
    </plugins>
</build>

Given that it's been non deterministic, it's been rather hard to pin down. We did see this being more prevalent with a larger number of submodules, so we're hoping it was the linked ordering issue. Would you mind running a few times even if it works the first time?

FYI @timtebeek -- I can help test out that SNAPSHOT fix first thing tomorrow.
I was troubleshooting this same issue today, narrowed it down to a rewrite-maven-plugin thing (saw a module with itself as its parent in the resolution result), and just saw your commits.

Fix looks good, after running 3 times across 2 repos. The "Project [xyz] parsing source files..." messages appear in a consistent, sensible order (whereas previously the order was chaotic), and the ChangeParentPom recipe works as expected.
Would love a patch release of the maven plugin with this fix (perhaps after positive feedback on #3219)

Great to hear @nmck257 , thanks for confirming so quickly. I'm getting mixed reports in #3219, but there might a different underlying issue there. I'll see about getting a patch release out, with help if needed. Would be great to close this one finally.

We've just released v4.45.1 of the plugin, which based on the above resolves this issue. Thanks all for reporting this here, and your patience while we troubleshooted this one.


Setup for China

As of today, most of our services are running on decentralized community servers, but there are still a few core services that need to be moved to have a proper response time inside China region.
We have identified the following core services:
Metaconfiguration & Map data

explorer-config.decentraland.org
api.decentraland.org (marketplace data, map.png)

Blockchain related (players' inventory & names)

wearable-api.decentraland.org (no longer used after wearable migration)
api.thegraph.com

World content & Wearables

content-assets-as-bundle.decentraland.org
content.decentraland.org (no longer used after wearable migration)

Private chat & Friends

decentraland.modular.im

Quests Server API

quests-api.decentraland.io / quests-api.decentraland.org (in the future)

@pablitar @Suduck could you expand this information for BiW and quests use cases?

Sure! @nchamo can help there with the kernel part.
Builder In world & Builder
builder-api.decentraland.org

As of now, kernel only uses the builder api (builder-api.decentraland.org) for BiW


Use NetworkInterface get mac address when ifconfig/getmac fails

Use NetworkInterface get mac address when ifconfig/getmac fails.

Codecov Report

Merging #645 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #645   +/-   ##
========================================
  Coverage    35.11%   35.11%
========================================
  Files           74       74
  Lines         2913     2913
  Branches       411      411
========================================
  Hits          1023     1023
  Misses        1811     1811
  Partials        79       79

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 a254902...03a213b. Read the comment docs.


Support choria autonomous agents

Support viewing agents, support state transitioning agents

Done as part of incorrectly labelled https://github.com/choria-io/mcorpc-agent-provider/pull/41 and https://github.com/choria-io/mcorpc-agent-provider/pull/40


Translate page titles

I like to see text in German, in spite of I am Brasilian und can read in English.
I ask to translate only title pages I use to access whenever the message warning: (not literal) "This page is not available in selected language. Here is the English version". I intend to mantain the original title as a subtitle in this way:
Title (in German)
Original Title (in English)

Imperialism.

Hi @GiovanniHD201E and @G-Couvert, thanks for your feedback. I wanted to let you know that we published localized versions of the topics. I'll go ahead and close this issue now. Thanks again.


Subscription: add data subscription docs

WIP...

duplicate by https://github.com/apache/iotdb-docs/pull/400


Implement field and struct annotations

Thrift supports declaring arbitrary annotations to advise compilers of various kinds on special treatment for fields and structs.
These appear as parenthesized key-value pairs.
These would be useful for annotating whether to use an Object, Array of [key, value] entries, Map, or perhaps Immutable map for Thrift "map", or Object, Array, or Set for the Thrift "set".
struct Foo {
    1: required map<int, string> bars ( "js.type" = "Map" )
}

cc @leizha


We want you as a champion!

Reason/Context
The whole idea around champions is that we want you to help drive the project forward. Where you get to be a code owner for the specific part you contribute to. Therefore I wanted to make it explicit, and give a few guiding points on how to get to that stage.
Becoming a champion does not mean you should know everything there is about Modelina, it can be a smaller section of the code/docs/website, such as only for a specific generator, preset, or input. It also does not matter if you only contribute once a month, what really matters is that you want to stick around for longer than just a single contribution.
Here are a couple of ways to get started:

Find something you find interesting, maybe it's a bug you encountered while using Modelina, or a feature you think is missing. Doing something you find interesting is always the best starting point.
We try to create as many good first issues as we can, that is a well-defined issue that we want your help with. If there is another issue that you find interesting, feel free to ping me (or others) to let us know if we can provide a better description.
If you don't know where to even begin, always feel free to reach out as described in the contribution section

Hey @jonaslagoni ,I would like be a part of it.


PyYAML update CVE-2017-18342

Issue Type

Bug report

summary
Currently we have
https://github.com/ansible/molecule/blob/9d1dec85ed2f995e2ebd24e234fd8fe4334ecb62/requirements.txt#L15
CVE-2017-18342 defines
Vulnerable versions: < 4.2b1
Patched version: 4.2b1
In PyYAML before 4.1, the yaml.load() API could execute arbitrary code. In other words, yaml.safe_load is not used.
Do we need to update?

Following the note from jborean93 that we should make sure we're using safe_load, I grepped around and can't find an instance of the plain 'ol load call. Someone might want to check that again more solidly but I think we're OK for now

greppage: find files with 'yaml' in them (to get import yaml, from yaml.module import foo, etc...), then print lines with 'load' in them:
$ for file in `grep -rl yaml molecule/`
> do if grep -q load $file
> then echo --
> echo $file:
> grep load $file
> fi
> done
--
molecule/config.py:
                    defaults, util.safe_load(interpolated_config))
                                        util.safe_load(interpolated_config))
        d = util.safe_load_file(env_file)
--
molecule/driver/ec2.py:
        instance_config_dict = util.safe_load_file(
--
molecule/driver/vagrant.py:
        instance_config_dict = util.safe_load_file(
--
molecule/driver/gce.py:
        instance_config_dict = util.safe_load_file(
--
molecule/driver/openstack.py:
        instance_config_dict = util.safe_load_file(
--
molecule/driver/delegated.py:
        instance_config_dict = util.safe_load_file(
--
molecule/driver/linode.py:
        instance_config_dict = util.safe_load_file(
--
molecule/driver/azure.py:
        instance_config_dict = util.safe_load_file(
--
molecule/provisioner/ansible.py:
    The playbook loading order is:
--
molecule/provisioner/ansible/plugins/filters/molecule_core.py:
    return util.safe_load(interpolated_data)
--
molecule/provisioner/ansible/plugins/libraries/molecule_vagrant.py:
  vagrant_config_hash = YAML::load_file('{{ vagrantfile_config }}')
--
molecule/util.py:
def safe_load(string):
        return yaml.safe_load(string) or {}
def safe_load_file(filename):
        return safe_load(stream)
--
molecule/model/schema_v2.py:
    data = util.safe_load(stream)
--
molecule/migrate.py:
        return json.loads(json.dumps(od))
        d = util.safe_load(open(self._molecule_file))

I see no instances of yaml.load. Everything seems to go through util.safe_load, including util.safe_load_file, which uses util.safe_load, which itself uses yaml.safe_load.

Thanks @seandst, solid :+1:

This asks for a PR to bump the minimal requirements. This is what I did on another project https://github.com/pycontribs/jira/blob/master/requirements-dev.txt#L17 even if pyyaml is not yet released we can use the pre-release version in this case.
I do not want to speculate on how long it would take for pyyaml to make an official release due to its "recent" history and we should not make this a hard-dependency for us.

I'd argue that it's not a security issue. I even dare to say that that "CVE" is nonsense. The real issue is users not reading docs, not the version of a library which explicitly states in docs that there's safe_load(). Anyway, there's no stable version with the API swapped and we mustn't depend on unstable pre-releases so let's not praise formalities over common sense.
Other than that, it's fine to bump the dependency requirement as soon as there's a stable version to bump to.

Yup, agree that as is this isn't a security problem. This issue was raised so we ensured we had multiple set of eyes to check the code, as well as raising awareness
PyYAML 5.1 has just been released https://pypi.org/project/PyYAML/#history
I don't suggest we upgrade to this during v2.20 as it's so new, though maybe something we look at as apart of general Python Dependency pinning (and usability) during v2.21

/me was about to post about pyyaml release first

@gundalow agree about looking :eyes: at in as a more general dependency management problem.
Maybe even raise the idea of switching to semver to better indicate breaking changes

I am not sure abotu all places where pyyaml is used but I do fancy the idea of switching from pyyaml to ruamel.yaml because that one has published binaries for all plaforms, as opposed to pyyaml.
It seems that pre-commit also considering the same move.

I've run into issues with indentation in yaml dumping that could be fixed by using ruamel.yml. As far as all place where pyyaml is used in molecule, my comment from last week gives me high confidence that all yaml loading is filtered through the util module.
A more thorough search would be required, with a pretty easy method being to change the requirements to pull in ruamel.yml, adjust the utils module to use it, and see what explodes in the test suite when pyyaml can no longer be imported.

Woops. ansible itself still depends on pyyaml, so this change would likely need to affect the entire stack.

@seandst I think we'll end up with two yaml libs then, just like ansible-lint.

Yeah, I was thinking that finding references to pyyaml by uninstalling it would be impossible because molecule depends on ansible, and ansible depends on pyyaml. Unless the entire dependency stack was altered to no longer install pyyaml (presumably by replacing pyyaml with ruamel.yaml), my "pretty easy method" to find references to pyyaml in molecule is actually not easy at all. Pardon my ambiguity. :)
That all said, I'm still reasonably confident that most, if not all, yaml loads are done through those util module functions. I'm hoping to find some time to do a more thorough search if nobody beats me to it.

In any case it'd be nice to bump molecule's dependency to the 5.1 release of pyyaml,  or at least test on 5.1 and loosen up the version pinning.  Every project I have that imports molecule has Github emailing me about "critical" security vulnerabilities.

Regarding pinning and the entire project, there was some work in https://github.com/ansible/molecule/pull/1832.

@decentral1se @ssbarnea I think it's safe now to turn exact version pins into ranges in setup.cfg's install_requires and extras_require now.

Done.


last_pref_set_err not populated

It seems even if there is an error setting a pref, last_pref_set_err is not containing that error object when finished.
https://github.com/mwalsh161/CommandCenter/blob/0728368355aba1dd8501fa121525c72f50570927/%2BBase/Module.m#L412

ahhh this actually isn't supposed to be set for the user, rather internally.  It is specifically for errors handled in the pre/post listeners in pref_handler.