question for PVTv2: in the paper the reduction ratio is 7 in Linear SRA, but in the code  is sr_ratios=[8, 4, 2, 1]

question for PVTv2: in the paper the reduction ratio is 7 in Linear SRA, but in the code  is sr_ratios=[8, 4, 2, 1],
Is there something wrong with my understanding?

Hi, 7 is the attention pooling window size of PVTv2-Li. In "*-Li" models, sr_ratios are not available.

See "7" at here: https://github.com/whai362/PVT/blob/v2/classification/pvt_v2.py#L77

Thank you .  Very nice idea.  Thanks for you response
发自我的iPhone
------------------ Original ------------------
From: whai362 @.>
Date: Wed,Dec 29,2021 4:49 PM
To: whai362/PVT @.>
Cc: Archerzjc @.>, Author @.>
Subject: Re: [whai362/PVT] question for PVTv2: in the paper the reduction ratio is 7 in Linear SRA, but in the code  is sr_ratios=[8, 4, 2, 1] (Issue #90)
Hi, 7 is the attention pooling window size of PVTv2-Li. In "*-Li" models, sr_ratios are not available.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>


Explain use of maybe_map in page data funciton

I don't understand the advantage of using maybe_map here instead of just assigning directly to proxies_to_names_map
Originally posted by @niharikasingh in https://github.com/plocket/docassemble-cucumber/pull/192#discussion_r607095163

I don't have a succinct way to do it right now, but I'll do it with an example here:
Take an example of a loop where the results are in order

The correct data because the variable does provide a map for the sought var.
No data because there was no match between the sought var and this particular field.

If we just assign the value to proxies_to_names_map, the second value will override the first. If we use maybe_map as an intermediary, we can avoid writing over a useful map.

We are no longer guessing at the sought var and instead requiring the developer to give it to us when needed.


Stop rewriting Uberon IDs as CL IDs in RDF generation.

Please address before release.

This will be resolved when https://github.com/INCATools/PandaSaurus/pull/32 is merged


Error and Corruption When Reopening PSD Files Saved with psd-tools

Describe the bug
When attempting to reopen a psd file saved using psd-tools, an error occurs, preventing successful reopening.
To Reproduce
Steps to reproduce the behavior:

Open a PSD file using psd-tools, e.g., "error_sample.psd".
Save the opened PSD file as "sample.psd" using the following code in Python:

psd = PSDImage.open("error_sample.psd")
psd.save("sample.psd")

Try to reopen "sample.psd" using psd-tools with the following code in Python:

PSDImage.open("sample.psd")

Expected behavior
Both "error_sample.psd" and "sample.psd" should be identical, and "sample.psd" should be successfully reopened without any errors.
File and screenshots
Error file:
error_sample.psd.zip
Error log:
File ~/.pyenv/versions/3.8.10/lib/python3.8/enum.py:663, in Enum.__new__(cls, value)
    661 ve_exc = ValueError("%r is not a valid %s" % (value, cls.__name__))
    662 if result is None and exc is None:
--> 663     raise ve_exc
    664 elif exc is None:
    665     exc = TypeError(
    666             'error in %s._missing_: returned %r instead of None or a valid member'
    667             % (cls.__name__, result)
    668             )

ValueError: b'loat' is not a valid OSType

Environment

Python [3.8.10]
Version [v1.9.28]

Additional context
After investigating the issue,  it has been discovered that the error occurs when there are layers that require clipping during the Lab to RGB conversion process.

This is likely a bug in the low-level psd structure

Found the cause of this. It affected every PSD that contained a SolidColor layer.
The redFloat, blueFloat and greenFloat keys are being interpreted as OSTypes since they're in this _TERMS set:
https://github.com/psd-tools/psd-tools/blob/03a14e2c9b9b7e67931f3fb6af4858d29cd42e0a/src/psd_tools/psd/descriptor.py#L69-L77
Since those are the only keys with length greater than 4 (at least at the moment) you can just add a condition to only include length 4 byte strings to fix this, or move the keys to their own separate class.
https://github.com/psd-tools/psd-tools/blob/03a14e2c9b9b7e67931f3fb6af4858d29cd42e0a/src/psd_tools/psd/descriptor.py#L52-L56


Dex div zero error (price is zero?)

2015-01-19-T13:31:07+0000:^[[1;41mERROR^[[1;0m:cache:x / 0
Traceback (most recent call last):
  File "/home/xcp/counterpartyd_build/dist/counterblockd/lib/cache.py", line 51, in cached_function
    result = func(*args, **kwargs)
  File "/home/xcp/counterpartyd_build/dist/counterblockd/lib/components/dex.py", line 286, in get_market_orders
    market_order['amount'] = D(order['give_remaining']) / D(price)
  File "/usr/lib/python2.7/decimal.py", line 1323, in __truediv__
    return context._raise_error(DivisionByZero, 'x / 0', sign)
  File "/usr/lib/python2.7/decimal.py", line 3872, in _raise_error
    raise error(explanation)
DivisionByZero: x / 0

Followed by:
2015-01-19-T13:31:07+0000:^[[1;41mERROR^[[1;0m:cache:'NoneType' object is not iterable
Traceback (most recent call last):
  File "/home/xcp/counterpartyd_build/dist/counterblockd/lib/cache.py", line 51, in cached_function
    result = func(*args, **kwargs)
  File "/home/xcp/counterpartyd_build/dist/counterblockd/lib/components/dex.py", line 540, in get_market_details
    for order in market_orders:
TypeError: 'NoneType' object is not iterable

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

fixed


lwAFTR doesn't respond to pings at internal-interface

The script that tests pings to internal and external interfaces is no longer working.
sudo SNABB_PCI0=0000:82:00.0 SNABB_PCI1=0000:02:00.0 program/lwaftr/tests/hw/test_ping_on_a_stick.sh
Error: Couldn't ping to internal interface

I debugged the error and the last known good commit is 3d9ad9ac013f253579f3f0bb05067dd2e0eb015b. One commit after, ae714b66285c2f2becfe48f38bdb49620747cb14, the script fails.
NOTES:

At this moment there's an error in the script. Command ping6 should be ping -6.
This test is not a selftest because the test doesn't work when run inside a Docket container.

NA response in ae714b6 is wrong due to bad formatting of the frame (checksum is not correct). When comparing NA from 3d9ad9a with NA from lwaftr, there are no differences.

I learned that if running lwaftr with two physical interfaces, ping to the internal interface works.
$ sudo ./snabb lwaftr run --conf program/lwaftr/tests/data/lwaftr-vlan.conf --v4 82:00.0 --v6 82:00.1

$ sudo SNABB_PCI0=0000:82:00.0 SNABB_PCI1=0000:02:00.1 \ program/lwaftr/tests/hw/test_ping_on_a_stick.sh


Running docker container as non-root user

Hey,
if I try to start the fiware/pep-proxy container with a different user than root (e.g. user: "994:993") I get the following error:

npm update check failed
Try running with sudo or get access
to the local update config store via
sudo chown -R $USER:$(id -gn $USER) /.config

Do I now have to build my own image and change the permissions in it or is there a solution without having to build my own image?
Is it possible to work with docker secrets for the environment variable PEP_PASSWORD. For example PEP_PASSWORD_FILE

Hi @SamuelTJackson
I think that the error is due to the permission on your machine. But if it persists try to build your own image.
Now you can use docker secrets. You can see how to use them by checking extras/docker/docker-entrypoint.sh


fix resolveServiceInterfaceClass interfaceClass is String type

What is the purpose of the change
reference 传过来的interface 是String 类型,这里需要做下适配
Brief changelog
XXXXX
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Is it possible for interfaceClass be a string? Could you please provide a demo?

Close for long time no response.
Please feel free to reopen if you have any question.
If you think these changes still useful in the latest master branch, please submit a new pull request.


Technical debt v3

We should try to release v3 without technical debt.

[ ] Move most types to the types package and sub-packages
[ ] Replace hardcoded strings and ints with well-documented constants
[ ] Custom error types
[ ] Add detailed documentation for each package
[ ] Refactor the Rule evaluation algorithm by creating a ruleEval struct
[ ] Reduce code complexity of modsecurity inherited transformations

Move monolitic testdata to consumer package

On Fri, 26 Aug 2022, 06:17 Juan Pablo Tosso, @.***>
wrote:

We should try to release v3 without technical debt.

Move most types to the types package and sub packages
Replace hardcoded strings and ints with well-documented constants
Custom error types

—
Reply to this email directly, view it on GitHub
https://github.com/corazawaf/coraza/issues/362, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXOYAVKTCLNKHJW5DTXX2TV3BAMFANCNFSM57VJQZJQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Reduce code complexity of modsecurity inherited transformations

Would you elaborate a bit more on this?

Reduce code complexity of modsecurity inherited transformations

Would you elaborate a bit more on this?

I have quoted a sample code: https://github.com/corazawaf/coraza/blob/v2/master/transformations/url_decode_uni.go
Basically, there is C code ported to golang. We should make it the golang way


Having all Monokle Validation methods highlighted in the Validations tab

As a user I would like to see all our Validation methods (already integrated with Monokle) highligthed in the innital space of the Validations tab, modular way, so users are aware of what Monokle is offering validation-wise out of the box.

Order of the modules TBD
Name of the validation method, short description and more info link (if available) required for UI work.

I think the following built-in validation methods could be added:

YAML Syntax - validates that your manifests have correct YAML syntax.
K8s Schema - validates that your manifests have the correct properties/values defined in the schema for their resource kind/version. Configuration option: "K8s Version" (currently under project settings)
Resource Links - validates that references to other resources are valid. Configuration option: "Ignore optional unsatisfied links" (currently under project settings)

"Read more" links for all of these would initially go to https://kubeshop.github.io/monokle/resource-validation/ - we should perhaps have separate documentation pages for each type of validation!?

UX ready. Figma file: https://www.figma.com/file/PJDKaMjo95XCMA4Ek8Ttxp/%231539-Integrate-Trivy-into-Monokle?node-id=0%3A1


Support for iPad  and other tablets?

Hi Ville,
Have you ever looked into getting the parsons problems to work on a tablet?  We have a lot of high schools using the thinkcspy book, and many are using iPads and other tablets.  Most things work fine except for the parsons problems.
Brad

Hey Ville,
i plan to hold small presentation about parson's puzzle at my university. Is there a way get the mobile app only for test purposes? I just want to show whats possible and usefull.
Cheers Nils

Adding touch-punch should do the trick. That is adding something like <script src="/js/jquery.ui.touch-punch.min.js"></script> and of course including the library into your project. You can see an example here: http://js-parsons.github.io/ That should work fine even with touch devices.
Does this solve the problem?
Cheers,
Petri

My bad... I didn't read the issue properly. Sorry.

Hey Nils,
Just sent you an email, let's deal with this there.


React 0.12.x support?

Is it right that redux won't work with older react versions? Redux depend on es6 classes and inheritance, but in react 0.12.2 there is no React.Component from which you could inherit..

Right now there are no plans to support earlier versions of React. What is the use case? 0.13 has been out for several months, 0.14 is on the way.

I feel that supporting older versions is something we shouldn't do. A project can always be updated to a new React version. It might come with some refactoring work, but if you want to replace something with redux, you're refactoring/migrating anyway, right?

Thanks for clarification!

I think we can close this. I don't see a compelling reason to support 0.12 now that 0.14 is coming out soon.


Add authentication for web ui and chat

Login endpoint, integrates with GO auth platform
Chat registration endpoint
Chat authentication middleware, enforces chat user authentication
UI support for user login and chat channel registration
Several patterns defined for api endpoints, dialogues, and middleware that support dependency injection for potential unit testing

@maxnorth  -- Resolved merge conflicts and merged the PR.


Asset code cleanup

Remove unused Asset method get_relative_path
I grepped for get_relative_path and it is not used anywhere.  It was
used to be in Asset.path when it was a property instead of a database
field.

Add all the images in the asset group fixture
We used to have only "zebra.jpg" and "fluke.jpg" but now we also have
"phoenix.jpg" and "coelacanth.png".

Move derived file ext and mime type to constants in Asset
We hardcoded the content type to be "image/jpeg" in resources.py and
the file extension to be "jpg" in models.py.  Probably best to move them
to constants so it's easier to see what's going on.
By the way, I tried sending a png file to sage detection and it came
back with results so I guess it's working even when it's not jpegs.

Remove /asset/<code> from app_ui.py
It tries to query a database field "code" which has been removed a long
time ago... I'm pretty sure this endpoint should be removed as well.

Question: Do we always want to change images to jpegs when we create the thumbnails?

/rebase

/rebase


Renaming milpa to kip

We have a lot of names in the codebase from when kip was called Milpa the software was a pretty cool stand-alone management controller.  That time has passed and those references to Milpa need to be changed.  I'm trying to keep track of those things here.
Easy to change

[x] security groups
[x] instances (node->cell, milpa -> kip)
[x] server.yml -> kip.yml or virtual-kubelet-provider.yml
[ ] log messages

Harder to change but not as noticable to users

[x] paths in itzo filesystem (and references in cloud-init)
[ ] paths in etcd

I'm OK with how far we got on this issue before our release.  We can update milpa log lines in time, the paths in etcd will stay for a while.


feat: updated semantic ado variable

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Front end validation not working in invoice paid amount

In reference to: https://github.com/ColoredCow/employee-portal/pull/550#issuecomment-407661145

@Satendra-SR I was checking from the invoice create screen, not from project billing screen.

This issue has been fixed. If we try to save invoice without entering Received Amount, there is a check which asks user to  Please fill out this field.
Please refer the following screenshot


nginx: 1.9.4 -> 1.9.7

@teozkr tnx!

Hmm this commit disables spdy. @teozkr is v2 module incompatible with spdy?

Yes. SPDY support in nginx was dropped when HTTP2 support was added, since
SPDY was essentially the HTTP2 draft.
On 18 Dec 2015 14:19, "Domen Kožar"<EMAIL_ADDRESS>wrote:

Hmm this commit disables spdy. @teozkr https://github.com/teozkr is v2
module incompatible with spdy?
—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/nixpkgs/pull/11515#issuecomment-165775272.


CSSTransitionGroup and routes

Hi, thanks very much for this boilerplate, I'm enjoying it thoroughly.
I'm trying to wrap around how I can wrap the routes around CSSTransitionGroup so I can achieve transitions between routes. I'm referring to these docs but I don't see anything remotely similar to that in router or route-loader. Any ideas?

Maybe this example can help you: https://github.com/kriasoft/universal-router/issues/15#issuecomment-222808233

Thanks @frenzzy  I understand that I'm supposed to wrap the elements with CSSTransitionGroup but where in this boilerplate is that appropriate? There's no "list" of routes anywhere because they're all dynamically generated.

@josephdburdick for example, you can put <React.addons.CSSTransitionGroup> inside your components/Layout/Layout.js component alongside with the corresponding CSS styles in components/Layout.css, that should do the trick I believe.

@koistya That's exactly what I was looking for, thanks for the support!

@josephdburdick Did you get CSSTransitionGroup to work? I tried what's below, and can only get the enter/leave classes to apply when I click on the current active page in the header.

 (this.root = node)}>

    <ReactCSSTransitionGroup
      component="div"
      className="container"
      transitionName={{
        enter: s.enter,
        leave: s.leave
      }}
      transitionEnterTimeout={9000}
      transitionLeaveTimeout={9000}
    >

    </ReactCSSTransitionGroup>


Chore: conflate templates

Per #56 ... this PR combines the previous partials and layouts src objects in the options object, which did pretty much the same thing. Now there is a single templates src, defaults to:
templates: {
    basedir: 'src/templates',
    glob: 'src/templates/**/*'
  }

All files matching glob are parsed, registered as partials on Handlebars and made available on drizzleData.templates for the rest of the build. README and tests are updated accordingly; several modules renamed from layouts -> templates. Various tests added and passing.
Fixes #56

Nitpick comment. LGTM! :+1:


fix(text-area): add experimental light textarea background-color

Closes #1581
Currently the experimental light version of the textarea component is identical to the normal variant. This PR adds the background-color style rule change for the light version.
Dependent on https://github.com/IBM/carbon-elements/issues/209 as https://github.com/IBM/carbon-components/blob/master/src/globals/scss/_theme-tokens.scss#L126 is not finalized
Changelog
New

Experimental light textarea background color styles

Also depends on: #1556


Change from checking engine image's availability on all nodes to checking the engine image's availability on required nodes

If the engine image is failed to be deployed on some nodes, it shouldn't prevent Longhorn from operating volumes that don't have engine or replicas on those nodes. This PR changes from checking engine image's availability on all nodes to checking the engine image's availability on required nodes.
More details about the detail proposal is at https://github.com/longhorn/longhorn/issues/2081#issuecomment-780964823

Doing more testing

@PhanLe1010 you can mark the pr as draft, till it's ready for review.
I switched it to draft for the moment :)

Yeah, I would prefer checking the replicas's nodes as well. Rebuilding big replicas at the same time can hurt the performance of the whole system.
Also, by not allowing the volumes to attach, users will probably notice the error and try to get the engine image to be deployed on the missing nodes.

@shuo-wu

In engine image controller, I think the following flow maybe a little bit more straightforward:

Create the Daemonset if necessary
Update the node map
Change the OwnerID if the current node doesn't contain the engine image
Check binary, API version, and the compatibility
Update the deploy state
Count the reference
Do cleanup

I changed the order to:

Count the reference
Do cleanup
Create the Daemonset if necessary
Update the node map
Change the OwnerID if the current node doesn't contain the engine image
Check binary, API version, and the compatibility
Update the deploy state

Because counting reference and cleaning up must happen even if there are errors in checking binary, API version, and the compatibility.

@joshimoo
Many thanks for review suggestion. I have addressed them.
Can you give the PR a final look?

PhanLe1010 can you use fixup commits, then squash them after the review has been approved.
That reduces the time requirement of reviewing big prs like this, since github can then just show the delta between the last    reviewed version and the changed commits.

I am not quite understand this benefit. Do you mean that I should squash all commits together into 1 commit after the PR is approved so that latter on when someone looks at the code, they can easily see changes in the squashed commit?

The E2E tests will pass when https://github.com/longhorn/longhorn-tests/pull/541 is merged

@joshimoo
Many thanks for review suggestion. I have addressed them.
Can you give the PR a final look?

PhanLe1010 can you use fixup commits, then squash them after the review has been approved.
That reduces the time requirement of reviewing big prs like this, since github can then just show the delta between the last    reviewed version and the changed commits.

I am not quite understand this benefit. Do you mean that I should squash all commits together into 1 commit after the PR is approved so that latter on when someone looks at the code, they can easily see changes in the squashed commit?

See the last commit of this PR as an example: https://github.com/longhorn/longhorn-manager/pull/822#event-4409885275

Sorry for merging the test PR in advance. We need to merge this ASAP or revert the test PR. Otherwise, the related test PR will fail the whole test.

I am currently reviewing, no worries we can add additional commits if required.

Since I squashed the fixup commit just now, here is the link to the direct commit.
https://github.com/longhorn/longhorn-manager/commit/03a7e57a39da2545d015c0980a5f20f35dc3f572
You cannot see the branch history anymore but if you keep clicking on parent you can see the original commit.
Since the fixup commit does not require a force push, github can show only the delta from the last reviewed state to the reviewer.
This way the reviewer does not need to review everything again, if only minor modifications have been requested.


Army Of Heaven isn't deploying properly, and is skipped if the caster's weapons are already +5 holy

I really appreciate the skip redundant effect component of the mod, but it's a bit oversensitive with the angel uber-buffs.
When to recast Fortress when elements of it are down is really up the player, but the reason to cast Army Of Heaven isn't for the Mass Holy Sword, it's to get hourlong Avengers and Mind Blanks for everyone out of one slot, so that spell should really execute automatically regardless of party weapon status.
Also the buffs aren't actually deployed when it executes as part of the queue.

I need to add more fine grained overwriting control


Code for readme animation

Hello, can you share the code you used to create the animation in the readme? thanks

I also need

Hey, Im working with RPLIDAR and I too am looking for the code / will be working on an implementation soon


speech recognition in webchat v3

i have just started working with webchat V3 and i want functionality for speech service.
custom functionality is mentioned below :-

how to increase the pause time while speaking. ex:- How (---- wait for 1second ----) are (----- wait for 1 second) ---- you.
after listening this "how are you" i want to use custom click functionality on mic only to send the "how are you"(i don't want it to send it automatically).
i want this functionality to written using javascript/jquery(also want a sample code suggestion if possible).

@Bradrajkumar Could you please provide more information regarding the documentation link that you are referring to against which the issue can be mapped?
Please note that Azure docs is used for issues related to documentation and for issues related to functionality or code MSDN/stackoverflow forums might be the right place to post the same as the right audience would help in answering the question.

@RohitMungi-MSFT  these are the custom functionality i want  and i don't know how to achieve this from the client side.

@Bradrajkumar It would be great if you can provide us a document link that you are facing issues with as this forum is used to address issues related to documentation.
If the issue is related to bot service you can post the same in our stackoverflow forum where the developer community can help you address the same.

@RohitMungi-MSFT  i am not facing issue, i am using cognitive service.js file and i want to customize it for extra or custom functionality. is it possible or not?  if it possible please let me know, how?

@Bradrajkumar Customization of the application depends on the client side implementation of any service. We would recommend to post your requirements in detail at our developer forum on stackoverflow.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag @RohitMungi-MSFT in your reply.


Rule request: no-ambient-declarations-on-exports

A coworker ran into an interesting situation across packages recently.
In package A, they had two files:
A/typings/globals.d.ts:
declare interface IDictionary<TItem> {
    [i: string]: TItem;
}

A/src/index.ts:
export const fruits: IDictionary<number>= {
    apple: 1,
};

Then, in package B, they wanted to import fruits and use its same types:
B/src/index.ts:
import { fruits } from "a";

export const copy: IDictionary<number> = { ...fruits };

...but they had no way of also importing IDictionary from package A.
Package A wasn't exporting IDictionary because it was intended as an ambient global - not to be used in every file. This can be useful for types meant to augment the basic built-ins.
Perhaps we could have a rule that bans exporting types that rely on non-exported ambient globals?

Closing this as out of scope, per #4534. I would normally say something like "thanks for the discussion!" but it seems like nobody else cared about this issue. 🕺


esp32 s2 tiny usb driver lost complete interrupt  during concurrent IN & OUT  test  (IDFGH-6285)

Environment
verion:esp-idf-4.3-beta3
EPS32 S2  as a usb device
host : centos7
Describe your problem
esp-idf-4.3-beta3\esp-idf-4.3-beta3\components\tinyusb\tinyusb\src\portable\espressif\esp32s2\dcd_esp32s2.c
when concurrent issue USB IN & OUT transcation in stress test. it seem lost complete interrupt  that cause USB can't work.
(USB0.out_ep_reg[n].doepint & USB_XFERCOMPL0_M)  or(USB0.in_ep_reg[n].diepint & USB_D_XFERCOMPL0_M) can't ocurr in bad case.
I suspect the esp-idf tiny usb have known limitation beacuse the IOT project use a Semphore for switch IN or OUT transfer.
refer:
esp-iot-solution\components\usb\tinyusb\additions\tusb\src\class\net\net_device.c
3.  my queston:
is that it's a limitation for usb transfer? or it's a bug ?

let me update status .
my diy project is a usb 802.11 wireless network card with esp32s2,
the  root cause maybe the wifi EMI affect the USB transfer that cause esp32s2 usb transfer failed.  and the esp32s2 usb tinyusb seem doesn't have any error recovery flow, then the USB endpoint work abnormal.
the USB recieve the data from host, then issue the data to wifi interface, then wifi start transmit, and the wifi also input data to host, then the EMI affect the USB transfer.
I doesn't have the USB sniffer now, maybe 202201 got one . i will check the bus status .

Hello @chuanjinpang sorry for such a long delay.
this may be the same case as https://github.com/espressif/esp-idf/issues/7404 and https://github.com/espressif/esp-idf/issues/8241
Could you please try your code on latest master branch of esp-idf?

Thanks for reporting, will close due to short of feedback, feel free to reopen with more updates. Thanks.


[Onboarding] When to show what notifications prompt.

From @robertlenne:

I hit a follow button in the feed and the app asks me to turn on push notification. I feel like this is abrupt and will make people say "don't allow" at which point we loose them. Suggest an simple pre-alert saying "Want to receive push notification new works and shows by  are added?" and only show this if they say yes.

Related to https://github.com/artsy/eigen/issues/1339#issuecomment-213043376

@robertlenne The alert that we show is actually a pre-alert, so we don’t loose our 1 shot at actually registering for notifications. However, using the app it did annoy me a little to get this alert after each follow, so I’m slightly more afraid that people might stop following out of annoyance.

Hmm that's my bad then.
The spec is that it should show upon following an artist only once. In that case, it's also a bug on my part which I'll fix.

@mennenia Can you also add the missing trailing period in the alert message? That’s the format that Apple uses as well:

Ah, realized that it was a pre-alert after playing with it a bit more. Makes sense. One think that you probably want to confirm is that we don't ask people who have their notifications on and then upgrade to this new version. I think I got the questions even though I had notifications on (Could be because I downloaded the beta through Testflight though)

Show the alert max once a week and only show it from the artist VC.
@mennenia Please check ASAP if this needs work in the native emission module (to know what VC it comes from).


add exporter

What this PR does / why we need it:
We need to report data, alert for example, to northbound platforms, with this exporter, it's easy to add a new platform dynamically. This PR provides the basic framework of the exporter and adds an example to show how to use it.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
This PR just provides the basic framework, the format of data which needs to be reported is not defined strictly. Different data, alert data, statistic data, for example, may use different data format, that depends, we will make it clear and define it later.
Release note:

With exporter added, you need to run `python setup.py build` before you start your test.

Suggestions:
Let us use just 'exporter' instaed of 'base_exporter'
let us have two interfaces initially dispatch_resource_data() and dispatch_alert_data()

Hi @NajmudheenCT , This PR is just for the exporter framework, and give the example to show how to use it, so dispatch_alert_data() or others can be add according to our requirements.


Add usage description to readme

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Fixed issues
-

:+1


Unhandled exception executing command 'quests' in plugin Quests v3.3.4-b316

(Required) What is your Quests version / build number (do not say "latest")?
Version 3.3.4-b316
(Required) Please describe the problem and how to replicate it. Any console errors?
The problem occurs when player gets a new quest.  Error included in Pastebin.
(Optional) Can you provide an example quest from quests.yml using Pastebin.com?
https://pastebin.com/HaAKUJmr

Sorry I never got around to closing this. This should be resolved in recent builds of Quests.


Security Fix for Resources Downloaded over Insecure Protocol - huntr.dev

https://huntr.dev/users/Mik317 has fixed the Resources Downloaded over Insecure Protocol vulnerability 🔨. Mik317 has been awarded $25 for fixing the vulnerability through the huntr bug bounty program 💵. Think you could fix a vulnerability like this?
Get involved at https://huntr.dev/
Q | A
Version Affected | ALL
Bug Fix | YES
Original Pull Request | https://github.com/418sec/node-wixtoolset/pull/1
Vulnerability README | https://github.com/418sec/huntr/blob/master/bounties/npm/node-wixtoolset/1/README.md
User Comments:
Bounty URL: https://www.huntr.dev/bounties/1-npm-node-wixtoolset
⚙ Description *
A zip file is downloaded using a unencrypted and insecure channel, through http, being vulnerable against MITM.
💻 Technical Description *
I changed the http to https version and used the https library to request successfully the file :smile:
🐛 Proof of Concept (PoC) *
No needed
🔥 Proof of Fix (PoF) *
No needed
👍 User Acceptance Testing (UAT)
All ok and working :+1:

Just to note: this fix assumes that the SSL configuration for the azure storage endpoint is valid and isn't using the default MS wildcard. The SSL config of static.wixtoolset.org may need its own SSL certificate - for example a free one from LetsEncrypt


Make forms sass clearer and propose changes

This pull request:

Adds a numbered list of contents
Numbers individual sections
Marks styles which are likely to change with TODO: and the proposed change.

Most of these proposed changes exist in other pull requests (by @timpaul).
This is a tidy-up of what exists, prior to making any changes.

This includes the changes from #78 (these styles will be updated as part of the fixed-width PR).


Add title to license to clarify that it is BSD 2-Clause

The BSD 2-Clause License is a simplified version of the BSD 3-Clause License.  This license was popularized by the FreeBSD project and is sometimes referred to as the "FreeBSD License" (see https://opensource.org/licenses/BSD-2-Clause and https://en.wikipedia.org/wiki/BSD_licenses#2-clause).
To clarify that the OpenLayers License uses the BSD 2-Clause License template, this change adds "The 2-Clause BSD License" to the top of our license file.  In addition, this change makes our license a verbatim copy of the template at https://opensource.org/licenses/BSD-2-Clause with only the copyright holders added.  This change is not intended to change the project's license, only to clarify the template used for that license.  See the original motion to switch to the BSD 2-Clause License (also known as the FreeBSD License) for historical context.
Closes #6152.

I wonder the same, and agree we can continue tweaking it to try getting it properly detected.
From https://help.github.com/en/articles/licensing-a-repository#detecting-a-license, it looks like the Licensee Ruby gem is used to match the text against known licenses.  That help doc links to https://choosealicense.com/licenses/bsd-2-clause/, which includes the name in the license text, though I see other examples that don’t include it.

Nice, GitHub recognizes the license now. Thanks!


Add LOG_LEVEL environment param

LOG_LEVEL has been used in code but was never added here.

Pull Request Test Coverage Report for Build 647

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

Totals

Change from base Build 645:
0.0%

Covered Lines:
906

Relevant Lines:
906

💛  - Coveralls


Fix URL for download link

@kmuthukk reported the download link not working.
This PR appends the version to the jar name.

/cc @nmalladi

My bad, thanks for fixing this @tedyu !

@tedyu @deeps1991 Hey Folks, We generally don't use version no. as part of the jar. If you see the earlier release 1.3.6, yb-sample-apps jar doesn't have the version number.
When releasing the 1.3.7, we have uploaded the wrong jar to the release. On building the project there are two jars that get generated, we need to use the one which doesn't have the version number in it.
Instead of changing the download string format to use the version number, can we upload the correct jar to the 1.3.7 release.
Thanks


Provide a strong named version.

Referenced assembly 'XamlAnimatedGif, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' does not have a strong name.

To reference this assembly from an assembly with strong name, this assembly must also have a strong name.

Adding a strong name is a breaking change, so I'll do it in the next major release.
But to be honest, I don't know when that will be... In the meantime, I suggestion you use this package to strongly sign the assembly yourself at build time.

Thanks. Interesting tool, I will have a look on it. In the meantime I have forked your repository and signed the WPF part only. Because I only use GIF in an optional sample plugin for my converter and anybody can create own plugin, is this an acceptable temporary solution  for me. In the future it would be nice, when your nuget package could be used directly.

v2 is coming soon, with a strongly-named assembly


Core RPC: Calling getDevice() multiple times resets state.

Calling getDevice() via the RPC layer seems to reset some items each time it is called.
First picked up when debugging Kevin Gordons Java code. It was resetting service pricing information.
Investigate and fix.

Closing this for now. I think this may have been resolved as I have not been able to re-create after some simple tests.


Remove duplicates on canvas

There has been an issue where the canvas shows a duplicate. This has been fixed by creating a temporary canvas first then transposing the image later on to the original canvas

Hi @iwandejong
Thanks for both pull requests. I'm glad to merge them, can you just please make sure the tests pass? I've added a github action to run them automatically on pull requests for convenience.
Thanks!


[Brightroll]Adapter config update : bidfloor from 0.3 to 0.65 for BusinessInsider

Updating adapter config bidfloor from 0.3 to 0.65 for BusinessInsider
Reviewers:
@bretg
@rpanchyk

@bretg Can I get a second review/approval. When can this config change available in production?

Yes, if you have any changes you can push them in this PR.
This PR can be merged after your changes.

@rpanchyk I dont have any other changes. Looking for this config change to get merged and push to production. What will this change can be pushed?

Optimistic plan to out next week.

@rpanchyk  Is this config change out now?

No, but the plan to out this week.

Can you please update me when it is done?

ok, i'll try but you can subscribe for project updates and see releases at https://github.com/rubicon-project/prebid-server-java/releases

@rpanchyk  Is this still not deployed to prod?

Deployed a couple of hours ago. You can check it.


:not selector with multiple arguments

https://developer.mozilla.org/en-US/docs/Web/CSS/:not

The :not() pseudo-class requires a comma-separated list of one or more selectors as its argument.

Does pup's implementation not accept a comma-separated list, or am I not understanding the appropriate syntax to accomplish what I'm trying to do? Specifically, I'm trying to filter out the header & footer divs from the html I'm working with, ie.
cat example.html | pup 'div#wrap > div:not(#header, #footer)'

Is this a bug/limitation of pup? Regardless, would appreciate any guidance. Thx.

Hit by this as well, am trying to filter out links pointing towards localhost and those needing Tor, so I want a:not([href*=localhost], [href*=.onion/]) to work -- right now am getting

Selector parsing error: Unmatched open brace '['

MDN's workaround of chaining :not()'s doesn't work either, a:not(...):not(...)  yields

Selector parsing error: Expected selector indicator after ']'


Scrapper, Ekaterina Nushkina - 22FPL2

good progress,
do not forget to fix imports order in your code
+
do not forget to implement HTMLParser

I don't understand how to fix imports order

You have missed deadline and score 4. I suggest you should increase your mark in order to get appropriate mark after lab handover next time.


await parent() not working correctly

Describe the bug
After client side navigation, calling await parent() from within a +page.server.js exported load function returns {"data":null} instead of the value returned from the +layout.server.js exported load function
Reproduction

Load https://stackblitz.com/edit/sveltejs-kit-template-default-8az3ew?file=src/routes/+page.server.js
Note that layout data, and page data are correct initially
Click on 'Another page' link, to do a client side navigation to a new page
Note that layout data is now incorrect (as is the layout data that was merged into page data)

Logs
No response
System Info
stackblitz default template fork

Severity
serious, but I can work around it
Additional Information
No response

Seems like it works fine if +layout.server.js is changed to +layout.js

Seems like it works fine if +layout.server.js is changed to +layout.js

Good to know that the issue doesn't affect +layout.js. I need to use +layout.server.js to fetch server side data though, so that doesn't help.
If I didn't need to fetch server side data in my layout, that would be fine. Unfortunately +layout.js doesn't run on the server, and so can't access databases etc., which is why +layout.server.js exists.

On first navigation, the load function in +layout.server.js is run, because the server is hit. The second navigation is a client-side-only nagivation, so the server isn't hit, and therefore +layout.server.js isn't run and the values it returns aren't preserved. And instead, await parent() gets { data: null }, which indeed doesn't seem right.
In https://github.com/sveltejs/kit/discussions/5883#discussioncomment-3393943, Rich Harris wrote that load results are re-used; the question I don't yet know the answer to is whether load results from server load functions are intended to be preserved after client-side navigations. I suspect the answer is yes, in which case the issue title should probably be changed to "load() results from server discarded after client-side nagivation" to better reflect what the actual bug is.

I agree - I don't know if changing the title of the issue would confuse somebody that has already seen it once though. Unless the issue extends beyond the +layout.server.js though, perhaps the title should be: "load() results from +layout.server.js discarded after client-side navigation"
I've reduced the reproduction to one which shows the problem in a more minimal way (i.e. without a +page.server.js and await parent()):
https://stackblitz.com/edit/sveltejs-kit-template-default-euznnp?file=src/routes/+layout.svelte

https://github.com/sveltejs/kit/issues/5921#issuecomment-1216518882 suggests that it would be good to change the title. Though that will hopefully become a moot point once #5916 is merged and released.


Support Bean Validation Annotations via Annotation Processor to generate a Validator

public class Message {
	@NotEmpty
	private String text;

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}
}

↓
import am.ik.yavi.builder.ValidatorBuilder;
import am.ik.yavi.core.Validator;

public class Message_Validator {
	public static final Validator<Message> INSTANCE = ValidatorBuilder.<Message>of()
			.constraint(Message::getText, "text", c -> c.notEmpty())
			.build();
}

I have written a few annotation processors and had something like this in mind.  Is there a branch or separate repo where a prototype for this is located?  Looking for help?

@rbygrave https://github.com/making/yavi/tree/beanvalidation here it is. It’s a naive implementation. Nested constraints (@ Valid) are not supported yet

Ah, it is in the same module - not a separate module. I was not expecting that.  I guess I was also thinking about this as a potential drop in implementation for the standard BeanValidation Validator API which is perhaps a subtly different goal.

It is now implemented as a Poc in the same repository. I think it will be another repository eventually.

I guess I was also thinking about this as a potential drop in implementation for the standard BeanValidation

It would be great if the base part is reusable :)


Added support for usage as dynamic module

Needed to use it in a Docker environment, so I have modified the config to enable usage as a dynamic module.

@gregoreesmaa
Good patch!  Thanks!!


Channel Suggestions

Hello, I'm currently contributing to a Japanese IPTV list and it seems you have coverage for almost all of the channels our list currently has.
In this case, I would like to see if you could these EPG feeds, in which case if you're able to, I'd appreciate it a lot.

Space Shower TV (音楽・ライブ！　スペースシャワーTV HD)
MONDO TV (MONDOTV HD)
Music Japan (ミュージック・ジャパン)
Tokyo MX2
TSS (新広島テレビ)

Thanks in advance.

I'll see what I can do but I need to add them to iptv-org/epg

Maybe they are on JCOM ?

Yep:
https://www2.myjcom.jp/tv/cs-list/?c=&t=1&s=191_11&g=fmovie&d=20240726&sc_pid=my_epg_globalnavi_cs-list
https://tvguide.myjcom.jp/?area_id=108
https://tvguide.myjcom.jp/?area_id=10046
Music Japan is on Sky Perfect:
https://www.skyperfectv.co.jp/program/schedule/premium/channel:639/date:240725/
It seems many IDs already exist on iptv-org, except for TSS.

Adding TSS, Space Shower TV and MONDO TV right now.
I'll need a bit more work to be done in order to add Tokyo MX2 (maybe using the official Tokyo MX website ?).

Space Shower TV (音楽・ライブ！　スペースシャワーTV HD)
MONDO TV (MONDOTV HD)

They are already in the EPG, just didn't have any IDs attached to them, I'm currently adding them.

TSS (新広島テレビ) doesn't seem to have an ID in iptv-org/database, should I add a temporary ID for you to use ?

Alright seems pretty easy for Tokyo MX2, the official website uses https://s.mxtv.jp/bangumi_file/json01/SV2EPGYYYYMMDD.json

Example: https://s.mxtv.jp/bangumi_file/json01/SV2EPG20240727.json

TSS (新広島テレビ) doesn't seem to have an ID in iptv-org/database, should I add a temporary ID for you to use ?

Yep, it shouldn't be a problem.

In regards to Music Japan, Is the process done in a similar way to JCOM?

For Music Japan, it needs to add another site to the iptv-org/epg repo (for example Sky Perfect) and write a parser.

Another alternative I was thinking of was to consider the Bangumi.org website which has EPG for each and every Japanese channel, but I don't know if that website also requires to be added to the repository.

@weldon1045

Another alternative I was thinking of was to consider the Bangumi.org website which has EPG for each and every Japanese channel, but I don't know if that website also requires to be added to the repository.

The problem with bangumi.org is that their EPG is purely HTML-based, meaning that to parse the information, you need to download the whole page to parse it (which is also weak to any change of the website).
Moreover, only the basic informations are here (Title, Description and Time). To try retrieving more data, there is a need to open the page of each program.
To be fair it might be possible to download the app and try to understand how their API works from here but for now JCOM's EPG works best.

(Btw just implemented Tokyo MX2)

Alright let's get to implementing SkyPerfect

Alright did everything possible to add all listed channels (+ even more channels since SkyPerfect! literally has 137 channels available).
Closing this issue since this repository uses the unmerged content and should have the issue solved (feel free to open it again if you feel the need to!)

[!TIP]
Follow the related upstream PRs iptv-org/database#13067 and iptv-org/epg#2409.


Better Support for Namespaced URLs

Currently, the URL names are namespaced with name_. Lets pull out that the prefix, and use namespace="name" in the root urls conf.
We will need to add this to the installation instructions.

Let's include #62 as part of this.


Apple Silicon support

Describe the bug
Not working npm install on MacBook with M1 chip. Is there a reason to use Electron v8? Electron >= v11 has separate arm64 build.
Logs
npm ERR! code 1
npm ERR! path /Users/nebula/Git/SvelteStorm/node_modules/electron-chromedriver
npm ERR! command failed
npm ERR! command sh -c node ./download-chromedriver.js
npm ERR! /Users/nebula/Git/SvelteStorm/node_modules/electron-chromedriver/download-chromedriver.js:19
npm ERR!   if (err != null) throw err
npm ERR!                    ^
npm ERR!
npm ERR! Error: Failed to find Electron v8.0.0 for darwin-arm64 at https://github.com/electron/electron/releases/download/v8.0.0/chromedriver-v8.0.0-darwin-arm64.zip
npm ERR!     at Request.<anonymous> (/Users/nebula/Git/SvelteStorm/node_modules/nugget/index.js:169:61)
npm ERR!     at Request.emit (node:events:394:28)
npm ERR!     at Request.onRequestResponse (/Users/nebula/Git/SvelteStorm/node_modules/request/request.js:1059:10)
npm ERR!     at ClientRequest.emit (node:events:394:28)
npm ERR!     at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:621:27)
npm ERR!     at HTTPParser.parserOnHeadersComplete (node:_http_common:127:17)
npm ERR!     at TLSSocket.socketOnData (node:_http_client:487:22)
npm ERR!     at TLSSocket.emit (node:events:394:28)
npm ERR!     at addChunk (node:internal/streams/readable:312:12)
npm ERR!     at readableAddChunk (node:internal/streams/readable:287:9)

The only reason we are using Electron 8 is because that's what we were able to get up and running quickly. We have a seperate issue to bump all dependencies to the latest version and is in progress on other branches. Please feel free to bump electron locally and make a PR if stable :)


add gh job to run golangcilint

What type of PR is this?
/kind cleanup
What this PR does / why we need it:

add gh job to run golangcilint

some pre-submits seem to be stuck running golangcilint, and running in gh action is easier and free :)
/assign @ameukam @xmudrii @puerco
cc @kubernetes-sigs/release-engineering
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
Does this PR introduce a user-facing change?

add gh job to run golangcilint

/lgtm


Pl 88 search

Add search functionality to the site. - will break unless you merge in my other pull request. https://github.com/CivicCommons/CivicCommons/pull/32

I merged in the flash message fix, so this shouldn't break.


Plugin: camera - crash when app resumed or screen unlocked if controller is disposed

Steps to Reproduce

Start example in camera repository at https://github.com/flutter/plugins/tree/master/packages/camera/example
Edit example to pretend there is a previous page that navigate to camera main page:

class PreHome extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new Container(
      child: new RaisedButton(
        onPressed: () {
          Navigator.of(context).push(
            new MaterialPageRoute(
              builder: (BuildContext context) {
                return new CameraExampleHome();
              },
            ),
          );
        },
        child: const Text("CAMERA"),
      ),
    );
  }
}

Dispose the camera controller when the CameraExampleHome is disposed (this was taken by 0.2.0 examples of this plugin, I cannot find it in the new example, will explain this later)

  @override
  void dispose() {
    try{
      controller?.dispose();
    }catch(err){
      print(err);
    }
    super.dispose();
  }

Run example, tap on "CAMERA" button, and then proceede to select a camera, starting the preview (no need to take a picture actually)
Using software or hardware buttons, go back to the first page with only the button "CAMERA" and lock screen or pause app
Unlock screen or resume app. The app crashes

Logs
[        ] Synced 0.7MB.
[   +2 ms] _flutter.listViews: {}
[  +20 ms] Connected to _flutterView/0x7f741e8818.
[        ] 🔥  To hot reload your app on the fly, press "r". To restart the app entirely, press "R".
[        ] An Observatory debugger and profiler on Lenovo P2a42 is available at: http://<IP_ADDRESS>:8109/
[        ] For a more detailed help message, press "h". To quit, press "q".
[+3528 ms] I/FlutterActivityDelegate( 6503): onResume setting current activity to this
[+5389 ms] V/BoostFramework( 6503): mAcquireFunc method = public int com.qualcomm.qti.Performance.perfLockAcquire(int,int[])
[        ] V/BoostFramework( 6503): mReleaseFunc method = public int com.qualcomm.qti.Performance.perfLockRelease()
[        ] V/BoostFramework( 6503): mAcquireTouchFunc method = public int com.qualcomm.qti.Performance.perfLockAcquireTouch(android.view.MotionEvent,android.util.DisplayMetrics,int,int[])
[        ] V/BoostFramework( 6503): mIOPStart method = public int com.qualcomm.qti.Performance.perfIOPrefetchStart(int,java.lang.String)
[        ] V/BoostFramework( 6503): mIOPStop method = public int com.qualcomm.qti.Performance.perfIOPrefetchStop()
[   +2 ms] V/BoostFramework( 6503): BoostFramework() : mPerf = com.qualcomm.qti.Performance@35464e0
[+3388 ms] I/CameraManager( 6503): Using legacy camera HAL.
[ +138 ms] I/CameraDeviceState( 6503): Legacy camera service transitioning to state CONFIGURING
[   +1 ms] I/RequestThread-0( 6503): Configure outputs: 2 surfaces configured.
[        ] D/Camera  ( 6503): app passed NULL surface
[   +4 ms] I/RequestThread-0( 6503): configureOutputs - set take picture size to 4160x3120
[  +19 ms] I/CameraDeviceState( 6503): Legacy camera service transitioning to state IDLE
[   +4 ms] I/RequestQueue( 6503): Repeating capture request set.
[   +4 ms] W/LegacyRequestMapper( 6503): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
[        ] W/LegacyRequestMapper( 6503): Only received metering rectangles with weight 0.
[        ] W/LegacyRequestMapper( 6503): Only received metering rectangles with weight 0.
[ +372 ms] I/CameraDeviceState( 6503): Legacy camera service transitioning to state CAPTURING
[+2642 ms] I/art     ( 6503): Do partial code cache collection, code=21KB, data=25KB
[        ] I/art     ( 6503): After code cache collection, code=21KB, data=25KB
[        ] I/art     ( 6503): Increasing code cache capacity to 128KB
[+1251 ms] I/RequestQueue( 6503): Repeating capture request cancelled.
[  +34 ms] E/BufferQueueProducer( 6503): [SurfaceTexture-1-6503-1] queueBuffer: BufferQueue has been abandoned
[  +10 ms] E/BufferQueueProducer( 6503): [SurfaceTexture-1-6503-1] cancelBuffer: BufferQueue has been abandoned
[        ] E/BufferQueueProducer( 6503): [SurfaceTexture-1-6503-1] cancelBuffer: BufferQueue has been abandoned
[        ] E/BufferQueueProducer( 6503): [SurfaceTexture-1-6503-1] cancelBuffer: BufferQueue has been abandoned
[+6877 ms] I/CameraManager( 6503): Using legacy camera HAL.
[  +80 ms] I/FlutterActivityDelegate( 6503): onResume setting current activity to this
[  +20 ms] E/GLConsumer( 6503): [SurfaceTexture-0-6503-0] setDefaultBufferSize: GLConsumer is abandoned!
[        ] E/BufferQueueProducer( 6503): [SurfaceTexture-0-6503-0] query: BufferQueue has been abandoned
[   +1 ms] E/Legacy-CameraDevice-JNI( 6503): LegacyCameraDevice_nativeDetectSurfaceDimens: Error while querying surface width No such device (-19).
[        ] D/AndroidRuntime( 6503): Shutting down VM
[        ] E/AndroidRuntime( 6503): FATAL EXCEPTION: main
[        ] E/AndroidRuntime( 6503): Process: io.flutter.plugins.cameraexample, PID: 6503
[        ] E/AndroidRuntime( 6503): java.lang.IllegalArgumentException: Surface was abandoned
[        ] E/AndroidRuntime( 6503): 	at android.hardware.camera2.utils.SurfaceUtils.getSurfaceSize(SurfaceUtils.java:70)
[        ] E/AndroidRuntime( 6503): 	at android.hardware.camera2.params.OutputConfiguration.<init>(OutputConfiguration.java:184)
[        ] E/AndroidRuntime( 6503): 	at android.hardware.camera2.params.OutputConfiguration.<init>(OutputConfiguration.java:94)
[        ] E/AndroidRuntime( 6503): 	at android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSession(CameraDeviceImpl.java:489)
[        ] E/AndroidRuntime( 6503): 	at io.flutter.plugins.camera.CameraPlugin$Camera.startPreview(CameraPlugin.java:672)
[        ] E/AndroidRuntime( 6503): 	at io.flutter.plugins.camera.CameraPlugin$Camera.access$2000(CameraPlugin.java:237)
[        ] E/AndroidRuntime( 6503): 	at io.flutter.plugins.camera.CameraPlugin$Camera$3.onOpened(CameraPlugin.java:437)
[        ] E/AndroidRuntime( 6503): 	at android.hardware.camera2.impl.CameraDeviceImpl$1.run(CameraDeviceImpl.java:134)
[        ] E/AndroidRuntime( 6503): 	at android.os.Handler.handleCallback(Handler.java:751)
[        ] E/AndroidRuntime( 6503): 	at android.os.Handler.dispatchMessage(Handler.java:95)
[        ] E/AndroidRuntime( 6503): 	at android.os.Looper.loop(Looper.java:154)
[        ] E/AndroidRuntime( 6503): 	at android.app.ActivityThread.main(ActivityThread.java:6111)
[        ] E/AndroidRuntime( 6503): 	at java.lang.reflect.Method.invoke(Native Method)
[        ] E/AndroidRuntime( 6503): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
[        ] E/AndroidRuntime( 6503): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
[        ] E/AndroidRuntime( 6503): Caused by: android.hardware.camera2.legacy.LegacyExceptionUtils$BufferQueueAbandonedException
[        ] E/AndroidRuntime( 6503): 	at android.hardware.camera2.legacy.LegacyExceptionUtils.throwOnError(LegacyExceptionUtils.java:73)
[        ] E/AndroidRuntime( 6503): 	at android.hardware.camera2.legacy.LegacyCameraDevice.getSurfaceSize(LegacyCameraDevice.java:585)
[        ] E/AndroidRuntime( 6503): 	at android.hardware.camera2.utils.SurfaceUtils.getSurfaceSize(SurfaceUtils.java:68)
[        ] E/AndroidRuntime( 6503): 	... 14 more

Flutter Analyze
Analyzing example...
No issues found! (ran in 1.9s)

Flutter Doctor
[✓] Flutter (Channel beta, v0.4.4, on Linux, locale it_IT.UTF-8)
    • Flutter version 0.4.4 at /home/adaron/flutter
    • Framework revision f9bb4289e9 (4 settimane fa), 2018-05-11 21:44:54 -0700
    • Engine revision 06afdfe54e
    • Dart version 2.0.0-dev.54.0.flutter-46ab040e58

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /home/adaron/.android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /usr/local/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
    • All Android licenses accepted.

[✓] Android Studio (version 3.0)
    • Android Studio at /usr/local/android-studio
    • Flutter plugin version 23.2.1
    • Dart plugin version 171.4424
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[✓] VS Code (version 1.23.1)
    • VS Code at /usr/share/code
    • Dart Code extension version 2.13.2

[✓] Connected devices (1 available)
    • Lenovo P2a42 • ZY223WWWVD • android-arm64 • Android 7.0 (API 24)

• No issues found!

Notes

The problem descripted above seems not occur on android 5.0: I encountered it only on devices with Android 7.0 by now.
Consider that my workflow is: RECORD LIST > START CAMERA and TAKE PICTURE > FILL A FORM and SAVE. Theese 3 routes are tied by an await Navigator which inform the list if user has abandoned or completed the flow, in order to refresh the list. This information is passed through POP method of navigator.
When I started developing my app, the plugin was in version 0.2.0 which has a "_controller?.dispose()" call inside the "dispose" method of the parent StatelessWidget. There is no similar call in new example, so I wonder if in my case is still needed, but using the 0.2.0 version, I noticed that removing the "_controller?.dispose()" in my case (maybe for the workflow above) lead to overheating of the camera.
I tried to push a further route after the picture is taken (in the attached file is a route where I show the picture in full width), when the screen locked or app paused, nothing happens at resume until I go back to the route with the button "CAMERA".
main.dart.zip

@Hixie

Just wanted to drop my 2 cents - I reverted to 0.4.3 and it works as intended so probably something in engine changed meanwhile which broke camera. Also I want to point out that what I found out that later (after 0.4.4) the camera stops working at all: #18329

Just for your information, on a test device equipped with Android Oreo (Samsung Galaxy S7), avoiding to dispose the camera controller, causes the system notification to user that the app is using too much resources in background. Don't remember the exact quote, but I can check if needed and provide a screenshot.

The exact error message would definitely be helpful, but it might be better to create a new issue for that.

I do have an iphone 6 which is 4 years old but camera widget/page crashes when clicked and really slow to load image selected from library.  I will try to post the error if I can but this is really disappointing.   I gave Flutter about 4 months try so I got used to things but this is too slow.  Oh man, do I have to go back to Xamarin???

I've identified the bug and submitted a pull request here: https://github.com/flutter/plugins/pull/645

This issue is quite urgent. Will it get merged soon?

@wheel1992 I believe we're waiting on my CLA to be approved.
In the meantime, you can use the patch by referencing my branch directly. You would add the dependency to your pubspec.yaml like so:
camera:
  git:
    url: git://github.com/kmorkos/plugins.git
    ref: camera/crash-fix
    path: packages/camera/

I had to combine both @kmorkos and @CurosMJ solutions (but I wrapped the whole startPreview method in a try-catch block, since also the other calls were raising exceptions) and never had any more exception. Here is the fork, if anyone is interested: https://github.com/maral/plugins/tree/camera/crash-fix

This is a major show stopper, it should not remain open since July, without hot-fix update, come on guys, I used @maral 's workaround to save me from bining a major product.

Any update on when this fix will be released?

@rlee1990 it was released as v0.2.4 a few days ago.

Thanks @kmorkos I didn't see it on https://pub.dartlang.org/ I will update my app.

@kmorkos I get this error when I try to use it
Because flutter_crushn depends on camera ^0.2.4 which doesn't match any versions, version solving failed.

@rlee1990 there is a dependency in your project that is not compatible with other dependencies in your project or with the Flutter/Dart version you are using

It appears the update hasn't been pushed to pub yet. If you track the master branch you'll have the fix.

At the moment I'm using the fork version which does not causes crash.
I will release a new app within 3 days in which I will test the new version of pugin. Will reply soon.
Many thanks.

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

Not sure if this has been resolved; I recently encountered the surface exception using camera: ^0.4.3+2.  I was able to avoid it by limiting my calls to controller.dispose().  In short, I restructured it so that controller.dispose() is called only once, by the enclosing state widget dispose() method.  In other areas, when check if controller == null, I returned instead of disposing.  My suspicion being a timing offset from asynchronous operations in my code.
In my project, this avoids the surface issue, but it should be noted that I am only using the back camera. Also, I am not recording video.

Not sure if this has been resolved; I recently encountered the surface exception using camera: ^0.4.3+2. I was able to avoid it by limiting my calls to controller.dispose(). In short, I restructured it so that controller.dispose() is called only once, by the enclosing state widget dispose() method. In other areas, when check if controller == null, I returned instead of disposing. My suspicion being a timing offset from asynchronous operations in my code.
In my project, this avoids the surface issue, but it should be noted that I am only using the back camera. Also, I am not recording video.

Can you provide code upon how you have initiated this?


Screen flicker on NewsDetileActivity

When scrolling fastly in NewsDetileActivity,on some devices, the background may become transparent and appear screen flicker,I thought it may be cause by the swipebacklayout and transparent theme defined  on activity theme,but i try use a normal layout and set activity not transparent ,it not use.I doubt it's a bug of CoordinatorLayout,but i'm not sure.Is anybody knows reason?Please tell me ,thank you!

Yes, the background become transparent when I slide the page in my emulator.


performance _Extension issue

Issue Type: Bug
Extension Name: vsliveshare
Extension Version: 1.0.3968
OS Version: Windows_NT ia32 10.0.19042
VSCode version: 1.54.2

:warning: We have written the needed data into your clipboard. Please paste! :warning:

Hey @avijadu, thanks for reaching out for Live Share and sorry about the issue you've been facing. What exactly is the problem? You can access your logs by going to > Live Share: Export Logs in the command palette.

Closing due to inactivity.


Search for dotnet-cake in ~/.dotnet/tools/ additionally to PATH

As in https://github.com/cake-build/cake-rider/issues/78, sometimes (seemingly on macs) the $HOME/.dotnet/tools/ (%USERPROFILE%\.dotnet\tools\) is not in PATH.
We should, when resolving dotnet-cake[.exe], check those folders additionally to PATH.

If anyone wants to take a stab at this. Relevant code is here:
https://github.com/cake-build/bakery/blob/develop/src/Cake.Scripting/CodeGen/CakeScriptGenerator.cs#L227
IMO we should also reorder the order that these are resolved in. First local (tool path), then Global Tool, then Cake.exe.. We could also consider ship Cake.Common with Bakery and use "built-in" Cake.Core + Cake.Common (preferably v1) as fallback.

@nils-a I have marked this as a bug, and assigned to the 0.5.2 milestone.  Does this make sense?
@bjorkstromm are you in a position to do a release of bakery, or would you like some help in this regard?

@gep13! Great! Not currently in position to do a release, might be able later. If you have time, please go ahead. It's using Cake.Recipe, so you know the process by heart 😄


Does mask_decoder in RSPrompter participate in training?

The paper states that mask_decoder is frozen, but I see that mask_decoder is written in panoptic_head in the code, and sub_model_train also includes panoptic_head. Does this mean that mask_decoder will participate in training? If it does not participate in training, how should I modify the code to participate in training?

The decoder in the latest version has been included in the training phase.


Refresh around dependencies #15750

Why:
Closes 15750

What's being changed:
Per recommendation - refreshed the phrasing around the first paragraph of the Dependencies View section. Also, created a list of conditions a repo must meet in order to display the "Used by" section.

Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@cmwilson21
Thanks so much for opening a PR! I'll get this triaged for review :zap:


Complete_mobile_version is the new branch made to satisfy the current project's requirement

All checks passed successfuly.

Hi @vickymarz
I don't think this review is fair at all. This is just my third day into this programme. Am I expected to begin to write like someone who has been doing this for months? I have been submitting pull requests since Monday but no reviewer has rejected the request on the basis of "incorrect description".
I would really have appreciated a clue or hint as to what you are expecting and there are just two reviews left... How will I cope with just two reviews left when the first one was not utilised properly.

@Bestbynature, I dont understand your concern tho. I only invalidated your review because your pull request summary was not descriptive. I didn't seem to know what changes you added to your project as it was not summarized in the pull request summary.
Invalidation does not reduce your number of reviews so you can still submit again

Hi @vickymarz
I now understand the meaning of invalidating the request and I am so pleased to rewrite the pull request's description as you've suggested. I also noticed that you wrote an article on pull requests. I will do well for myself to check it out during the day tomorrow.
My only concern before


New Relic for remote deployment

The current newrelic.php script is written to run the git commands locally, but this will not work if you deploy your stuff on a remote server. I would prefer an autodetect, but I am not sure if this is possible.

Yes, this is nice feature to have. I will think how to implement this.


Automatic handling of missing values

For those stats which require complete data, missing values will be automatically removed with a warning in ´ggplot2´ (see here for the corresponding convenience function). The Python library plotnine also removes missing values with a warning.  When I started creating plots with TidierPlots, I was confused by the axis labels until I realized that it automatically adds a missing  category to the labels.
Here is a specific example:
using Tidier, PalmerPenguins

penguins = DataFrame(PalmerPenguins.load())

# Creating a plot without dropping missing variables leads to messed up axis labels
@ggplot(penguins, aes(x = bill_length_mm, y = bill_depth_mm)) +
  @geom_point()

# Dropping missing values from aes variables leads to proper labels
penguins_sub = @drop_na(penguins, bill_length_mm, bill_depth_mm)
@ggplot(penguins_sub, aes(x = bill_length_mm, y = bill_depth_mm)) +
  @geom_point()

Is this desired behavior or do we also want to have automatic handling of missing values eventually?

fixed in https://github.com/TidierOrg/TidierPlots.jl/commit/2c45592dce2de56cb4e34542180af42683dc2e9c


Action Bar Design

Goals

Define UX Elements #759
Improve the Interaction design
Define clear usage patterns
Refresh the Visual Design

Current state v1.5.x

Pain points

Confusion of where the back button goes. Due to inconsistent behaviour / implementation.
Inconsistent behavior of Cancel / Save.
Inconsistent behavior when used to navigate in a multi-step flow. Back, Cancel / Next.
Not able to display the available and current steps in a multi-step flow.
Dimension problem for localised buttons. Russian and French are Edge Cases.
The same Primary buttton have different actions, on the same screen, depending on the context.

Action Bar Main design elements are at #759

from Jeanne at https://github.com/SAP/techne/issues/759#issuecomment-311342559
Denise and I worked with him [Dieter] to remove the word, "Back" and just have the arrow to differentiate it from the sidebar

New Design for reference

@joseegm  You've captured the scenarios when there are actions on the page. Dieter also created an example for when it's a landing page with a primary button, a table or tabs.

@LeoT7508
Yes that is the latest stand of the design. Colors will most probably change.
@jeannewalters
The Use of back in the Action Bar and back on the Side Navigation may be better have that in its own discussion, they are not implemented consistently right now on YaaS. We may only need one of both.
Other use case for the bar is when the user is in a flow with multiple steps.

@joseegm Since the Action Bar uses icon and button components, I recommend those be prioritized.

@xak
Button is in process at #782

Uses cases and behaviour started at #793

Flow/Steps and Mobile inflections now at #793

UX Elemtns, Use Cases and Behaviours are now documented at
https://github.com/SAP/techne/wiki/Action-Bar-Design

Closing this, since this tasks is continuing on #793


Starling V2 Webhook support

Hey @GazFranklin
Thanks for this.
I think we can get rid of the standing order endpoint, as you will end up with duplicate webhook events firing by supporting that.

Yeah was gonna follow up actually - we (and users) only need to set up a Feed Item webhook.
Feel free to use as much (or as little!) of it as you like haha

On 28 May 2021, at 12:16, Scott Robertson @.***> wrote:

Hey @GazFranklin
Thanks for this.
I think we can get rid of the standing order endpoint, as you will end up with duplicate webhook events firing by supporting that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hey @scottrobertson
Removed the redundant endpoint.
FYI both my wife and I have been using this since mid-May now without issue. So sample size of 2, but better than nothing!

Hey @scottrobertson
Removed the redundant endpoint.
FYI both my wife and I have been using this since mid-May now without issue. So sample size of 2, but better than nothing!

Thank you :)


Multiple rotues in the same map with different colors and number order

Hi guys, thanks for the awesome work.
I have a feature that I need to display several routes at the same time, like the image below... it is possible with this directive?  please notice the different colors and the order number.

I'll appreciate advices, any source code or article related.

Hey, I just figured out.

As you can see in the image above, "directions" tag has an attributes called polyline-options, which you can check the options here
Many thanks.

Hello Alex, I would be grateful if you send or tell me how you have done it because I cannot draw multiple routes on the same map from an array of routes it only draws the last route in the array. I use directions component with ng-repeat


Link Spanish pages to Spanish social media

When used in its non-sharing configuration, our social media molecule links to the Bureau's English Facebook (cfpb) and Twitter (cfpb) accounts. On Spanish pages, these links should go to the appropriate Spanish Facebook (CFPBespanol) and Twitter (CFPBespanol) accounts.
We always import this social-media template with context so it should have the proper language variable set.
How to test this PR
To test, run a local server and visit these pages, and observe the links in the footer. These should be English:

http://localhost:8000/
http://localhost:8000/about-us/blog/receive-your-unemployment-benefits-options/

And these will be Spanish:

http://localhost:8000/es/
http://localhost:8000/about-us/blog/opciones-recibir-beneficios-desempleo/

Notes and todos
There's some additional potential work to be done here when the social media molecule is used for sharing, for example around the default text, but that is not covered here.
Checklist

[x] PR has an informative and human-readable title

PR titles are used to generate the change log in releases; good ones make that easier to scan.
Consider prefixing, e.g., "Mega Menu: fix layout bug", or "Docs: Update Docker installation instructions".

[x] Changes are limited to a single goal (no scope creep)
[x] Code follows the standards laid out in the CFPB development guidelines
[x] Future todos are captured in comments and/or tickets

I wonder if there might be a better way to do this that doesn't rely on this extra template logic – something using the translation framework, perhaps?

Yes, I agree. There's some other complexity here too like this code that puts both languages in the template but then we use CSS to hide one based on the page lang. Here I was going for the minimal fix -- thanks for the review.


What the format of the config

I see the conf is very clearly. So want to know it's your customize config, or a popular format.
https://github.com/pudae/kaggle-understanding-clouds/blob/master/configs/model_b_00.yaml

Do you mean the file format?
It's a YAML.

Thanks for your share, I known it's YAML. How about the meaning of the content, how to parse it. Dose it define by yourself?

I defined them.
In general, 'name' is a name of type or type constructor function.
'params' are parameters being passed to a type constructor.
Several configurations, i.e train or evaluate, are used as implemented in train.py or inference.py.

thanks, i already go thru the related code, and find the code to parse it.


FlagManager::Set when called on a Peer doesn't change state

Currently visible in Relay::Foward.

resolved in 270b332


Update spec and interpreter for ReduceWindowOp to clamp window_end

The current spec does not use slice with the same semantics as what stablehlo.slice does. stablehlo.slice version of limit_indices accounts for dilation and also complies with SliceOp's constraint: (C3) 0 <= start_indices[d] <= limit_indices[d] <= dim(operand, d) for all dimension d.
ReduceWindowOp's limit_indices calculation does not account for the dilation and (C3), so a multiplication by a dilation factor and a clamp is needed.
This was discussed previously in the interpreter PR https://github.com/openxla/stablehlo/pull/1336#discussion_r1142826672. We kept the formulation as-is to assume that the program provides correct values, but we may not assume this is the case when we are explicitly constructing the input values. We also have evidence from the tests that clamping is a necessary step as well.

@ghpvnist I reassigned this PR to myself earlier today, but I think the ball's in your court at the moment. Please take a look.


Two times need to click on adapter view

I have found new issue with overscroll-bouncy-android. I have to click two times in RecyclerView.ViewHolder of adapterview. that means If I want to open image page then I have to click two times on that. why this happening?

I am using CursorRecyclerAdapter in my code.


Add max retries, retry delay and retention time to MSG_AQ_PKG.CREATE_QUEUE.

Previously these values were hardcoded in the body.
Now these hardcoded values will be the default value for the parameters:
procedure create_queue
( p_queue_name in varchar2 -- Must be a simple SQL name
, p_comment in varchar2
, p_max_retries in naturaln default 1
, p_retry_delay in naturaln default 0
, p_retention_time in naturaln default 24 * 60 * 60 -- 1 day
);

See release 3.4.0


Optimize bundle size

The bundle size is nearly 3MB and when we include EmbedBox, our website becomes slow. Therefore we load it lazily when the user clicks the button but it also takes some time to load it. t would be nice if we could make Embedbox more lightweight. It seems that all the images is also bundled in javascript file and it affects the file size dramatically, maybe we can extract them into separate folders?

One thing we’ve avoided is creating too much much work for the developer to get things going. Maybe we could make a version of the build which points all image paths to CDN URLs? cc @TeffenEllis

@buremba, @adamschwartz,
It's interesting timing this was brought up because I had just been thinking the same thing a few days ago.
I believe a single build with a assetPath configuration wouldn't be too difficult for developers to configure.

Thanks!


[Amazon AWS] Secrets Manager (incorrect region when opening in browser)

Extension
https://www.raycast.com/Falcon/aws
Description
I'm opening Secrets Manager command to list all my secrets - that's working fine and all of them are listed properly
When I try to open a secret in a browser to edit it I get navigated to the following link
https://eu-north-1.console.aws.amazon.com/secretsmanager/secret?name=&region=eu-west-1#
As you can see region is eu-west-1 in params, but somehow it queries eu-north-1 instead - so the page says secret not found
Steps To Reproduce

Open Secrets Manager command
Select a secret
Open Secret

Current Behaviour
Opens https://eu-north-1.console.aws.amazon.com/secretsmanager/secret?name=&region=eu-west-1#
Expected Behaviour
Should open https://eu-west-1.console.aws.amazon.com/secretsmanager/secret?name=&region=eu-west-1#

@reflash I prepared a PR (https://github.com/raycast/extensions/pull/7936). Would you mind checking if this works?

@reflash I prepared a PR (#7936). Would you mind checking if this works?

yep, tried it out on my local machine - works perfectly 😄
Thanks!


Add library function to estimate assignment probs

This contains both the added library function as well as an updated version of the examples (and docs). I just need one of you folks to review.

Thanks for review @mpharrigan and @ampolloreno


Generate executable files

I would like to use RedPen without Java installation. For the purpose I think jlink and javapackager  generate  executable files which do not need Java runtime environments.

+1
It's better migrating to Java 9 first. Because javapackager can take advantage of Java 9's module system and reduce the output file size.

Thanks for the advice! We already made the issue for the migration, https://github.com/redpen-cc/redpen/issues/796.  We should focus on migration to Java 9 immediately after a current major issue, https://github.com/redpen-cc/redpen/pull/794.


"uuidgen: command not found" during instalation

During instalation (or reinstalation) I get this error message:
HOME/.panamax/desktop: line 279: uuidgen: command not found

But everything seems to go just fine.
Is uuidgen a requirement or is it ok to go without it? And if it is a requirement shouldn't it be stated along VirtualBox and Vagrant in the documentation?
Local Panamax component versions:
   UI: 0.2.20
  API: 0.3.3
Local Panamax Installer version:
  0.6.3

@andredasilvapinto
uuidgen is needed for some minor features of panamax and is not required for the core features. But we have added this for our next release and you should see it in the list. Thank you.


Create test suite and CI pipeline

Describe the bug
As a follow up to the discussion https://github.com/seaweedfs/seaweedfs/discussions/6161 i create this issue to track the development of a test harness.
I intend to contribute this feature myself. I list the approach i intend to take here so that people can comment.
Expected behavior

The key feature is to continually test backward compatibility as part of the CI pipeline
There are multiple test configurations: No erasure coding, with erasure coding, with filer [leveldb, postgresql], with erasure coding and filer[leveldb, postgresql]. Initially i will only create the no erasure coding configuration
For every configuration, there is a genesis test dataset (ie a dataset created with an arbitrary version of seaweedfs and containing initial data). This test dataset will never change.
for every new commit, we execute the test suite against each configuration: we pull the genesis dataset and run read  tests of existing data, write tests, ec rebalance, ec encode, ec decode, etc....

The benefits of this approach is that contributors can simply add unit tests for the current version, while the ci-pipeline takes care of testing backward compatibility in each configuration as a prerequisite for pull requests.
We can start by adding coverage for the most basic operations, and then expand to test most advanced features (filer-enabled features etc....).
I am still weighting the options that can be used to spin up an instance for every configuration. i will look into the options supported by Github Actions but my guess is that it will either be docker containers, or me contributing hosted test instances on a virtual server.

Thanks! The initial pipelines do not need to be perfect. Having a framework to add future new integration tests would be a very good start.


1.18.2 UPDATE

Make sure you are not opening a duplicate.

[x] I have searched the issue tracker and did not find an issue describing my bug.

Description of your suggestion.
Can you do a backport of your recent update to the 1.18.2 version ?

Out of time reasons I only work on the latest versions of my mods.


user_medias() always returning list of Medias with no location

Hey,
When using user_medias(), it always returns a list of Media objects with the location attribute as None. However, if you use media_info() with a photo PK, location is always gotten correctly.
Its not a huge issue as you can just then use media_info but I thought it was worth bringing up.
Thanks for the awesome work!

@Jammy108 user_medias use first user_medias_gql (Public Graphql API) which does not contain location data. Use user_medias_v1 instead:
>>> cl.user_medias_gql(1903424587, amount=1)[0].location
None

>>> cl.user_medias_v1(1903424587, amount=1)[0].location.dict()
{'pk': 271758927,
 'name': 'Уткина Заводь',
 'address': '',
 'lng': 30.511951,
 'lat': 59.863589,
 'external_id':<PHONE_NUMBER>59331,
 'external_id_source': 'facebook_places'}


Error: " OverflowError: Too many data points to interpolate "

Describe your issue.
I am trying to use scipy.interpolate.interp2d and I have the error "OverflowError: Too many data points to interpolate". Due to the confidentality, I cannot provide the real data, but I can provide the example codes. Please help me solve this error.
Reproducing Code Example
import numpy as np
x = np.random.rand(3800418)
y = np.random.rand(3800418)
z = np.random.rand(3800418)

from scipy.interpolate import interp2d
f = interp2d(x, y, z, kind='cubic')

Error message
OverflowError                             Traceback (most recent call last)
<timed exec> in <module>

C:\Program Files\Anaconda3\envs\geofabrics40\lib\site-packages\scipy\interpolate\interpolate.py in __init__(self, x, y, z, kind, copy, bounds_error, fill_value)
    230         if not rectangular_grid:
    231             # TODO: surfit is really not meant for interpolation!
--> 232             self.tck = fitpack.bisplrep(x, y, z, kx=kx, ky=ky, s=0.0)
    233         else:
    234             nx, tx, ny, ty, c, fp, ier = dfitpack.regrid_smth(

C:\Program Files\Anaconda3\envs\geofabrics40\lib\site-packages\scipy\interpolate\_fitpack_impl.py in bisplrep(x, y, z, w, xb, xe, yb, ye, kx, ky, task, s, eps, tx, ty, full_output, nxest, nyest, quiet)
    952         b1, b2 = by, by + u - kx
    953     msg = "Too many data points to interpolate"
--> 954     lwrk1 = _int_overflow(u*v*(2 + b1 + b2) +
    955                           2*(u + v + km*(m + ne) + ne - kx - ky) + b2 + 1,
    956                           msg=msg)

C:\Program Files\Anaconda3\envs\geofabrics40\lib\site-packages\scipy\interpolate\_fitpack_impl.py in _int_overflow(x, msg)
     46         if msg is None:
     47             msg = '%r cannot fit into an %r' % (x, dfitpack_int)
---> 48         raise OverflowError(msg)
     49     return dfitpack_int.type(x)
     50

OverflowError: Too many data points to interpolate

SciPy/NumPy/Python version information
1.7.3 1.21.3 sys.version_info(major=3, minor=9, micro=7, releaselevel='final', serial=0)

The interpolation routine that you requested is implemented in FORTRAN. FORTRAN routines are are often limited to using 32-bit integers (and arrays of length less than what a 32-bit integer can represent). The code computed the size of one of its intermediate work arrays that it would have to create, and that length was greater than what a 32-bit integer could represent. This routine simply can't handle inputs of that size.

@rkern : Thank you very much for your detailed information. Do you mean that there is no current solution for function scipy.interpolate.interp2d to handle such large size of array and it would be better that I should build up a specific function similar to scipy.interpolate.interp2d that can handle the large size of array for my case? Or do you have any other better suggestion to solve this error?

@matthew-brett any chance there's a timeline for the ILP64 support in meson builds which you mentioned in the other PR?


Remote connection

Is it possible to host lxp-bridge on a remote server and connect to the datalogger?

Mostly the limitation here is connectivity. Generally speaking you don't want your datalogger exposed to the Internet, so unless you setup a VPN, lxp-bridge running on a remote server cannot see it.
Luxpower get around this by having the datalogger actually connect outwards to a listening port. We could also do this - lxp-bridge could listen on a port and then we configure the datalogger to connect to that.
Since there is no authentication in the communications with the datalogger it would still be your responsibility to secure lxp-bridge, ie by firewalling it. But it would offer a bit more flexibility for cases like these.
Would that be useful?

I suspect a better case for remote management is to use the luxpower HTTP API to mange the parameters.

Bit of a thorny issue at the moment, that HTTP API, I think :) I'm staying well clear ;)
As the OP hasn't returned to make any further comments I'll just close this for now.


Fixed lack of output

Fixed <generator object  at 0x7eff46a77910> output when script is run in Python 2.7.12

Thank you for you contribution to the repo and the community
On 1 May 2017, at 07:54, BhushanDhamale<EMAIL_ADDRESS>wrote:

Fixed <generator object at 0x7eff46a77910> output when script is run in Python 2.7.12
You can view, comment on, or merge this pull request online at:
https://github.com/geekcomputers/Python/pull/160
Commit Summary
Fixed lack of output
File Changes
M Print_List_of_Even_Numbers.py (2)
Patch Links:
https://github.com/geekcomputers/Python/pull/160.patch
https://github.com/geekcomputers/Python/pull/160.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@geekcomputers You're welcome :+1:

@geekcomputers Why is this not merged yet?

Merged now, sorry for the delay


Add source metadata to bedrock retriever response

Thank you for contributing to LangChain!

[X] PR title: "community: Add source metadata to bedrock retriever response"

[X] PR message:

Description: Bedrock retrieve API returns extra metadata in the response which is currently not returned in the retriever response
Issue: The change adds the metadata from bedrock retrieve API response to the bedrock retriever in a backward compatible way. Renamed metadata to sourceMetadata as metadata term is being used in the Document already. This is in sync with what we are doing in llama-index as well.
Dependencies: No

[X] Add tests and docs:

Added unit tests
Notebook already exists and does not need any change
Response from end to end testing, just to ensure backward compatibility: [Document(page_content='Exoplanets.', metadata={'location': {'s3Location': {'uri': 's3://bucket/file_name.txt'}, 'type': 'S3'}, 'score': 0.46886647, 'source_metadata': {'x-amz-bedrock-kb-source-uri': 's3://bucket/file_name.txt', 'tag': 'space', 'team': 'Nasa', 'year': 1946.0}})]

[X] Lint and test: Run make format, make lint and make test from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/

Additional guidelines:

Make sure optional dependencies are imported within a function.
Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests.
Most PRs should not touch more than one package.
Changes should be backwards compatible.
If you are adding something to community, do not re-import it in langchain.

If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, hwchase17.

@baskaryan
Can you help merge this PR. Seems like @rozerarenu has attempted to fix the CI issues, but the CI did not start after her changes, can you help with this. Thanks.

added back the unit tests here: https://github.com/langchain-ai/langchain/pull/21485


Add samples for C++ builds

I think a good way to start documenting and gathering feedback on the new C++ plugins would be to add some public samples, similar to those we have added for Swift.

Maybe we could add them in the Swift sample repository as it's totally legal to mix the two together. Any thought? I can do that tomorrow.

Yeah, I would just add them all in the same repo for now.


Commercial Support

We would like to implement some capabilities on okhttp based on quic and was considering if you would consider commercial support for this to help accelerate the implementation of those features.
Let me know the best way to contact you for this

Hi @gcameo,
Open source is a foundation that much of Google is built upon, and we have a full time team dedicated to this project. You are welcome to open a feature request and if it is beneficial for all users we will prioritise it.
If your needs are special to your project, we don't offer commercial support, but you are also welcome to contribute here, and to the home repository of Cronet. If you decide to contribute, you might want to discuss your needs first and we will advise on how to proceed.
Thanks

Thank you very much @fridek. That is fine. I will look at the best way to leverage this based on our. requirements and see if there is anything we can suggest to help improve this. Thanks