Send to route

Issue: #188
This PR contains functionality which sends sat through predefined routes
by passing payment hash and "queryroutes" function call, which takes
public key of destination node and amount of sending sat, and returns
array of appropriate routes.

Coverage decreased (-0.03%) to 74.067% when pulling 23da3315c401909a35e523c0535e12974c607336 on afederigo:send-to-route into c13e36617cc341d973501399df7d1577916614fa on lightningnetwork:master.

Coverage decreased (-0.03%) to 74.074% when pulling 5d0ccb7e8b0dbef96c9d636d07ac0e0720264bab on afederigo:send-to-route into e60a370d46bb185a5b743e047e0af83b41b1a6ad on lightningnetwork:master.

Coverage decreased (-0.07%) to 74.016% when pulling 1bd6f6f761aac9fff7cea37a691bd53dacb22824 on afederigo:send-to-route into dc0ab06d9119b97598595dcb9431904197500c69 on lightningnetwork:master.

Coverage decreased (-0.09%) to 74.016% when pulling bb9b45554190d3fa5c497664b4a2af81dc286444 on afederigo:send-to-route into dc0ab06d9119b97598595dcb9431904197500c69 on lightningnetwork:master.

Coverage decreased (-0.007%) to 74.03% when pulling 1bc0bebc6ed16d95ca5aa9d142ba83a31cddb3bd on afederigo:send-to-route into 2e6800e1ed65c4c2d5b681612976834aed3d822c on lightningnetwork:master.

Coverage increased (+0.06%) to 74.093% when pulling 7102776d8d49faac80e6498c8e90ca1d68a7e42b on afederigo:send-to-route into 2e6800e1ed65c4c2d5b681612976834aed3d822c on lightningnetwork:master.

Coverage increased (+0.06%) to 74.094% when pulling 3a237d9bdde3acb87410763dc629fb09d55f1949 on afederigo:send-to-route into 2e6800e1ed65c4c2d5b681612976834aed3d822c on lightningnetwork:master.

Coverage increased (+0.06%) to 74.094% when pulling 3a237d9bdde3acb87410763dc629fb09d55f1949 on afederigo:send-to-route into 2e6800e1ed65c4c2d5b681612976834aed3d822c on lightningnetwork:master.

Thanks for feedback.
I will make amendments in accordance with your comments!

Coverage decreased (-0.05%) to 73.821% when pulling 6fead4a7edee98b708059d77b0769932e3344505 on afederigo:send-to-route into 78f6caf5d2e570fea0e5c05cc440cb7395a99c1d on lightningnetwork:master.

Coverage decreased (-0.04%) to 73.829% when pulling 632c3fb1d79ab3789f399a1fbb03ff6ea2d3e5a4 on afederigo:send-to-route into 78f6caf5d2e570fea0e5c05cc440cb7395a99c1d on lightningnetwork:master.

What was done.

Changes have been made for each comment that was mentioned above.
The SendToRoute function takes two parameters.
The SendPament function has reseted to its original state except for the place where SandToRoute is used.
New rpc service SendToRoute with new messages was added. This new messages mostly duplicate the existing messages SendPaymentRegest / Response. If I could reuse in the new service existing messages with a little extension, I will make appropriate amendments.
I have removed my test entirely, because the function SendToRoute is used inside of a function SendPayment, which in turn is used in previously written tests.
The usage of "sendtoroute" command looks like this:
lncli queryroutes --dest= --amt= | lncli sendtoroute --payment_hash=<payment_hash>

Coverage increased (+0.005%) to 73.875% when pulling a62ddcdaf362643248544dbe0ed74618ea6f694d on afederigo:send-to-route into 78f6caf5d2e570fea0e5c05cc440cb7395a99c1d on lightningnetwork:master.

Coverage decreased (-0.04%) to 73.829% when pulling d5ccbde1712de69e05f53845e89812e05c34c901 on afederigo:send-to-route into 78f6caf5d2e570fea0e5c05cc440cb7395a99c1d on lightningnetwork:master.

Coverage increased (+0.006%) to 73.876% when pulling 7e889bcc1e96640ab7053ab9a49f39106d9da81f on afederigo:send-to-route into 78f6caf5d2e570fea0e5c05cc440cb7395a99c1d on lightningnetwork:master.

Coverage increased (+0.006%) to 73.876% when pulling 7e889bcc1e96640ab7053ab9a49f39106d9da81f on afederigo:send-to-route into 78f6caf5d2e570fea0e5c05cc440cb7395a99c1d on lightningnetwork:master.

Andrew, I have added comment line and one test case which takes care about error propagation while we using SendToRoute rpc-call with fake parameter ("Routes") passed in.

Coverage decreased (-0.04%) to 73.829% when pulling 768922abcc05497434f08543afc139dcf587b638 on afederigo:send-to-route into 78f6caf5d2e570fea0e5c05cc440cb7395a99c1d on lightningnetwork:master.

Coverage increased (+0.02%) to 73.89% when pulling 5ac4fdd277ac2254b24c8d3e3e3b8629f8a2bdc9 on afederigo:send-to-route into 78f6caf5d2e570fea0e5c05cc440cb7395a99c1d on lightningnetwork:master.

Coverage increased (+0.008%) to 73.679% when pulling 7fa5c9f45bbb2c9afa834a0b6efdfe69d5ad854b on afederigo:send-to-route into b6057abe93757b407ed506375d8d73acebceb7bf on lightningnetwork:master.

Coverage increased (+0.06%) to 73.729% when pulling e5d534b390c55217d153f7736d0a20b9bc96fdc2 on afederigo:send-to-route into b6057abe93757b407ed506375d8d73acebceb7bf on lightningnetwork:master.

Coverage decreased (-0.0004%) to 73.738% when pulling e7c8a3ffabdc6f6a4857a12db2e252045226ebf0 on afederigo:send-to-route into 24db310aefd5913dd6e56de22dd474e65d1f0d6b on lightningnetwork:master.

Coverage decreased (-0.05%) to 73.693% when pulling e6bc7111e5f22ef6a1c2f21001bc5aab6ec332a4 on afederigo:send-to-route into 24db310aefd5913dd6e56de22dd474e65d1f0d6b on lightningnetwork:master.

Coverage decreased (-0.01%) to 73.806% when pulling bf69baaa970ee80722bd34b663890a2b40cceb5e on afederigo:send-to-route into b1205e71ecb46f9a5fc4bed068436c8a5f55c487 on lightningnetwork:master.

Coverage decreased (-0.04%) to 73.813% when pulling ae96e40a03f1c5a837b48c3031f5575fcc978a3b on afederigo:send-to-route into<PHONE_NUMBER>c9c0da7f84d02286ea02cd6d4db435 on lightningnetwork:master.

Coverage increased (+0.008%) to 73.858% when pulling 8cd9ff40261ee1e2384de35ee79956ba14f092b2 on afederigo:send-to-route into<PHONE_NUMBER>c9c0da7f84d02286ea02cd6d4db435 on lightningnetwork:master.

Coverage decreased (-0.04%) to 73.813% when pulling e5324ba9556ec6eaee41d1088005ede5ffdb3f6f on afederigo:send-to-route into 5c89ec6288aa1847b268bada6f2a92594673abcf on lightningnetwork:master.

Superseded by #188.
Thanks for getting the ball rolling on this feature @afederigo!

@Roasbeef, @AndrewSamokhvalov,  thank you, it was nice and interesting to work with you. I hope there will be an opportunity to participate in your project in the future.


[MINOR] Deduplicating ConsumerGroupCommand print formating

ConsumerGroupCommand contains code duplications for table row format.
This PR reduces code duplication and make it more clear and easy to understand.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

CI failures seems unrelated.

@hudeqi Are you OK with merging this?

@hudeqi Are you OK with merging this?

I'm ok, but need other commiters to merge. @showuon

Failed tests are unrelated.


Please add the following companies

Please search for the careers link and add the below companies
Credit Suisse
Quora
Viasat

Can you please assign it to me?

great :)

#110
Task completed.
Thank You


fix: Adding release plugin

Adds release plugin
Checklist:
Title:

[ ] Scope included as per conventional commits
[ ] Ticket reference included (unless it's a quick out of ticket thing)

Description:

[ ] Link to ticket included (unless it's a quick out of ticket thing)
[ ] Includes tests (or an explanation for why it doesn't)
[ ] If the work includes user interface changes, before and after screenshots included in description
[ ] Includes any applicable changes to the documentation in this code base

Tasks:

[ ] Run the end to end tests for this branch and confirm that they are passing

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 74.27%. Comparing base (6033515) to head (b892aeb).

:white_check_mark: All tests successful. No failed tests found.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #127   +/-   ##
=======================================
  Coverage   74.27%   74.27%
=======================================
  Files          18       18
  Lines         552      552
=======================================
  Hits          410      410
  Misses        142      142

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Use jsdelivr to improve jQuery load time

Technical details

Casper Version: 3.0.7
Ghost Version:
Browser Version:
OS Version:

Content
I strongly suggest you use jsdelivr as js library CDN.
My website visitors are mainly from China, and only jsdelivr provides China pops. The original code.jquery.com has poor stability in China.
Please consider changing one line in default.hbs to help improve jQuery load time.

You're very welcome to change the jQuery reference for your install!


Fixed duplication of field Actions in inlines

In Django 1.10.1 adding of 'render_actions' causes duplication of field 'Action' in admin inlines

Coverage increased (+0.1%) to 93.22% when pulling b0aeb45301a3d6698235ab13095dde4223044290 on torwald-sergesson:master into f14d3e2faf84a7a33932097781e6812a2be44c94 on escaped:master.

Thanks a lot!
I don't think it's an issue with django 1.10. It seems like an caching issue, when an already instantiated ModelAdmin is used a second time.

Not at all! Thank you for your app. It helps me in my work. :)


Possible to allow PropType "node" as well as string for backButtonText and nextButtonText?

It would be nice to allow PropType node as well as a string to allow the insertion of icons, etc., into the button contents (backButtonText and nextButtonText):
nextButtonText={<FontAwesome name='chevron-right' />}

Right now it throws an error if anything is included except a string:
Failed prop type: Invalid prop 'backButtonText' of type 'object' supplied to 'StepZilla', expected 'string'.

@gtwilliams03 we can make validation of propTypes to be oneOfType([string, node]) in codebase.
cc @newbreedofgeek

Was this ever implemented?

If we do this change then we need to change prop name. It can't be backButtonText.
We can introduce new prop here backButtonNode and nextButtonNode. If these two are present then it will have more priority over text.
@jermsam @gtwilliams03 @newbreedofgeek any thoughts on this implementation? I can start with this approach.


Whether to consider implementing s: Func or not.

Async Programming : Patterns for Asynchronous MVVM Applications: Commands

Some more detail would be helpful. You say Func<TResult>, but the article talks about making ICommand.ExecuteAsync return a Task, not a result. Did you mean Func<Task>?

Closing as no response


validation error for multiquery retriever

i am passing FAISS db as an input to the multi query retriever. I am getting the below error
ERROR    - base - 1 validation error for MultiQueryRetriever                                                                                base.py:329
retriever
value is not a valid dict (type=type_error.dict)

@dosu-bot. my bad, i am passing FAISS vector store as an input to the multiquery retriever. But i am getting the above mentioned error


v1.9 backports 2020-11-10

#13956 -- make: Fix dev-docker-image make target (@joestringer)
#13967 -- tools/licensegen: include licenses that have file extension (@Rolinh)

Once this PR is merged, you can update the PR labels via:
$ for pr in 13956 13967; do contrib/backporting/set-labels.py $pr done 1.9; done

there's no need to run the CI since the code changes can be caught by the GH actions


Configurable StandardMaterial shadowcaster behavior

What problem does this solve or what need does it fill?
Transparent StandardMaterial meshes are being rendered in shadow caster passes whenever base_color.a > 0.05
What solution would you like?
Either make the 0.05 configurable, or make it a per-material option on whether shadows are cast or not. Perhaps a flag for both cast/receive.
What alternative(s) have you considered?
Using NotShadowCaster. Its annoying because it doesnt stay synchronized to the material.
Transparent shadow maps: https://wickedengine.net/2018/01/18/easy-transparent-shadow-maps/
Additional context
0.05 cutoff was added here https://github.com/bevyengine/bevy/pull/7784#issuecomment-1442251780

Having a global default that is overridable by materials seems reasonable to me, a bit like the alpha mask threshold.


🐛 Bug Report: Bonuses table items alignment issue

📜 Description
Route : https://www.hacksquad.dev/bonuses
Issue : Alignment issue in table rows
please assign me this. i can take care of it.

👟 Reproduction steps

Go to https://www.hacksquad.dev/bonuses

👍 Expected behavior
The table row elements should align center

👎 Actual Behavior with Screenshots

💻 Operating system
Linux
🤖 Node Version
16.14.0
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

Are you willing to submit PR?
Yes I am willing to submit a PR!

hi i would like to solve this problem.
can i contribute?


App does not load

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Signed out and signed back on
Cleared cache and cookies

Expected Result
Staging to load since we are expected to use staging over production
Actual Result
Does not load
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: 1.3.9-14
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

https://user-images.githubusercontent.com/43996225/236050772-c6066664-dc63-4e6a-b344-c3bb49e19a8c.mp4
Expensify/Expensify Issue URL:
Issue reported by: Guides team
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1683055546065909
View all open jobs on GitHub

Triggered auto assignment to @jliexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

I'm on v1.3.9-19 and cannot reproduce.
It took 6 seconds to load for me - a little longer than usual, but not too bad.

Closing, doesn't seem to be an issue anymore - https://expensify.slack.com/archives/C049HHMV9SM/p1683157905036449?thread_ts=1683055546.065909&cid=C049HHMV9SM


update express-jwt for 1.6

Object literals must have either a [property: string]: any, otherwise it fails with Object literal may only specify known properties, and 'requestProperty' does not exist in type 'Options'.

@pocesar Thanks mate!


Parse kobo form response fields

closes #290

This works for Myanmar as expected, but when I tried the Cambodia version, I get a 500 error:
"error": "Internal server error: '<=' not supported between instances of 'datetime.datetime' and 'str'"
Here's the form configuration in layers.json:
"incident_report": {
"title": "Disaster impact report",
"type": "point_data",
"data": "http://localhost/kobo/forms",
"date_url": "http://localhost/kobo/forms",
"additional_query_params": {
"form_name": "PRISM-KHM-Disaster-Report-v1",
"datetime_field": "disaster_date",
"geom_field": "location",
"kobo_url": "https://kobo.humanitarianresponse.info/api/v2/assets.json",
"filters": {
"status": "Approved"
}
},
"feature_info_props": {
"disaster_type": {
"type": "text",
"label": "Type of disaster"
},
"num_ppl_affected": {
"type": "number",
"label": "Number of people affected"
}
},
"opacity": 0.9,
"measure": "num_ppl_affected",
"legend_text": "Number of people affected",
"legend": [
{"value": "0", "color": "#909090"},
{"value": "< 100", "color": "#ffeda0"},
{"value": "100 - 500", "color": "#feb24c"},
{"value": "500 or more", "color": "#f03b20"}
]
}

@wadhwamatic now we can get from kobo the type for each field with the goal of parsing each value. Because of this, we do not need to send the measure field to the PRISM API.
"error": "Internal server error: '<=' not supported between instances of 'datetime.datetime' and 'str'"

This error happens because Cambodia forms have a date field instead of datetime. Fix included in 07a8d40365922a8a0f17c695e6f17063f97a7306

@wadhwamatic now we can get from kobo the type for each field with the goal of parsing each value. Because of this, we do not need to send the measure field to the PRISM API.
"error": "Internal server error: '<=' not supported between instances of 'datetime.datetime' and 'str'"

This error happens because Cambodia forms have a date field instead of datetime. Fix included in 07a8d40

Got it. Thanks for the explanation and changes. All looks good from my side.


⚠ Bofrost.de has degraded performance

In 1ca0343, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 789 ms

Resolved: Bofrost.de performance has improved in 3c4c389 after 27 minutes.


Nested component routing - malformed hash on sequential navigation

OpenUI5 version:
1.116.0
Browser/version (+device/version):
Chrome Version 114.0.5735.199
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible):
https://codesandbox.io/p/sandbox/ui5-component-routing-v7jnz2
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

Open the app in the codesandbox above
Open the devtools
Set network throttling to "fast 3g"
Press on the "Working" component NavigationListItem
Press again immediatelly after a message is logged in the console ("Working Component before router.initialize")
If the press above was correctly timed, the NotFound page should be displayed due to a malformed hash (bypassed)
Alternatively, click on the "Buggy" component, which triggers this bug programmatically inside it's Component file

What is the expected result?
Target view should be displayed and hash should be correct
What happens instead?
Hash is malformed and bypassed to the NotFound page
Any other information? (attach screenshot if possible)
This is a timing issue. If a second call to "Router.navTo" happens during a specific time frame, then the component prefix is removed from the url and the resulting hash is invalid. This can happen in situations where someone click mutiple times in a button/link while waiting for the new page to load, specially when under slow network conditions.
This time frame seems to begin after the child component's router is initialized and lasts until the target view has been loaded, which seems to happen inside this navigation promise variable:
https://github.com/SAP/openui5/blob/210a3acdcf378b81dcdba07a841d1fd69d6d81d4/src/sap.ui.core/src/sap/ui/core/routing/Router.js#L874
The prefixes to be removed are collected here:
https://github.com/SAP/openui5/blob/210a3acdcf378b81dcdba07a841d1fd69d6d81d4/src/sap.ui.core/src/sap/ui/core/routing/RouterHashChanger.js#L142-L159
And then set here:
https://github.com/SAP/openui5/blob/210a3acdcf378b81dcdba07a841d1fd69d6d81d4/src/sap.ui.core/src/sap/ui/core/routing/RouterHashChanger.js#L301-L303
Subsequent navigations are not affected by this issue, but I'm not entirely sure why (maybe bSuppressActiveHashCollect is true?), so if you click a second time on the NavigationListItem, the correct hash is set and the correct view is displayed.
Note: In order to be able to reproduce the issue, the target view must not have been loaded yet, so it may be necessary to refresh the page very now and then in between tests.
Workarounds:
I've also included in the codesandbox above some workaround suggestions, although I think none of them are particularly good, so I really hope you can fix this issue on your side.

Using busy state: Everytime a button/link is clicked, set it to busy until a "hashSet" or "hashReplaced" event is fired (not very ergonomic, might need to change a lot of places).
Using a async navigation queue: Use an async queue to process navigation requests in sequence, using a promise that resolves when one of the events above is fired. This logic could be implemented in one or more controllers, or more generically in a custom Router class inside the navTo method. Also not a very great alternative, since we would have to maintain this code/logic ourselves, while also likely having to create a custom Router class.

Just as a side note, I couldn't find any templates for ui5 + ui5 tooling in codesandbox or stackblitz or similar solutions, so I had to create one, which took me quite a while. It would be very helpful for the github issues here if there was one or more official templates we could fork (simple sample app, app with routing, app with component routing etc.). I already gave up creating issues here before, because I couldn't find an easy way to put up a small demo reproducing the bug (and I didn't want to create a repo in my github for that).

Hey @vonBrax,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here on GitHub.
Regards,
Diana

Hi @vonBrax,
thank you very much for providing us with such a comprehensive example and in-depth analysis. The issue is now fixed. The fix will be available from UI5 version 1.118.
Best regards,
Jiawei

Hey @stopcoder
Thanks for the quick fix and for the follow-up here!


'open' command on Linux

Currently, the url_open_command has a hard-coded default of open:
https://github.com/aome510/hackernews-TUI/blob/3da2bc07034b451dedfea434f00946fa0025e197/hackernews_tui/src/config/mod.rs#L51-L54
That is (AFAIK) a MacOS-ism. On most Linux systems, the equivalent command is xdg-open. Since we're compiling separate binaries for each anyways, could the default be set to xdg-open when targeting Linux? This would provide a much more sane default for Linux users.

Updated in #88. Can you try the new changes in the PR to see if they work?


Ryu doesn't even make it start up

I installed a few mods on Nexus, but whenever I try to start up Yakuza 0, It doesn't even start up no matter how I try. anyone know the solution?

I believe Yakuza 0 is just broken with the latest version of RMM as I have the same issue with the latest, use v2.1 instead https://github.com/SutandoTsukai181/RyuModManager/releases/tag/v2.1


fix log1p_poisson_around_mean() numba signature

import molecular_cross_validation.util gives the following error:
TypeError: Failed in object mode pipeline (step: fix up args)
Signature mismatch: 2 argument types given, but function takes 1 arguments

Yeah that definitely looks like a mistake.

All credit goes to @flo-compbio ! Thanks for the quick merge.


fix: downgrade uncontrollable to 7.2.1

uncontrollable v8 requires react >= 17 but @restart/ui supports >=16

Why do we support react 16? It's like 4 years old now.

Why do we support react 16? It's like 4 years old now.

No reason other than we haven’t had a major version bump.  Should we do a v2 now?

We can...tbh I I'm not sure we actually support v16 now, or if we do it might be accidently?
Actually isn't v16 the same as 16 for breaking changes? Uncontrollable probably just needed to drop v15

Yeah 16 and 17 are pretty much the same except for event delegation changes in 17.  Uncontrollable should work fine in 16.

Let me fix that in uncontrollable 👍


Outputs for child components not firing when parent component uses *clrIfOpen

[X] bug
[ ] feature request
[ ] enhancement

Expected behavior

When I make a component to do nested dropdown menus, the clicks from inside of the sub menus fire the output on the component, which the parent component can handle.
Actual behavior

When I make a component to do nested dropdown menus, the clicks from inside of the sub menus DO fire the output on the nested menu component, BUT, because the parent component is using *clrIfOpen, the parent component's listener to the output is never triggered. If I remove the *clrIfOpen directive, it works. Or I can do an ugly hack, so that I can still get the performance benefit of *clrIfOpen without the problem I have explained above. Keep in mind, my hack is ugly.
I am not sure if I have done a good job at explaining the problem. If not, please ask more questions.
Reproduction of behavior

Include a link to the reproduction scenario you created by forking one of the Clarity Plunker Templates:
Here is a plnkr showing it broken: https://plnkr.co/edit/Bu98LC
Here is a lame hack that I wrote to work around this issue: https://plnkr.co/edit/mcz4ok

Environment details

Angular version: 4.x.x

Clarity version: 0.10.10

OS and version: OSX 10.12.6

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

That's an interesting one...
I don't want to classify it as a bug yet, because we need a bit more investigation. In the meantime, for the workaround, I would say the cleanest solution is simply to have the "root" component (the one that contains the trigger) declare a provider that contains the current selection. That way your components can communicate through a locally centralized service rather than inputs/outputs: https://plnkr.co/edit/KcqTge?p=preview
We'll look into solving the input/output case as soon as we can.

😲  I haven't ever seen anything like this. This technique of creating an on-the-fly injectable like this... is kind of cool. What is this technique called?

It's a typical use of non-class dependency injection tokens. It's explained pretty well here: https://angular.io/guide/dependency-injection#dependency-injection-tokens
It's very useful to declare quick and small providers everywhere and communicate through them, you end up with a cleaner application than having to chain outputs from bottom components all the way up to top components.

Subscribing for notifications.


Help

Can you help me , with a skill for http://www.pflegewiki.de
Detlef

Sorry - writing a skill is quite a big job. I suggest you start will some of the tutorials that amazon provide


Bump yip to include https://github.com/mudler/yip/pull/118

Adding the blocked label as there is no yip release including the bigfix yet.


Zmw/adding tests

Coverage increased (+0.4%) to 92.279% when pulling e20a88cdc92720ca73fb2abf22c785d62cb7a1eb on zmw/adding_tests into 0dd916022ae7f9144a5e06954c6516ecf6bf817c on master.

Coverage increased (+0.5%) to 92.403% when pulling 3290d81f3bda2d43e3b2aa7dfb278203e45960ea on zmw/adding_tests into 0dd916022ae7f9144a5e06954c6516ecf6bf817c on master.

Coverage increased (+0.5%) to 92.403% when pulling 3290d81f3bda2d43e3b2aa7dfb278203e45960ea on zmw/adding_tests into 0dd916022ae7f9144a5e06954c6516ecf6bf817c on master.

Coverage increased (+0.4%) to 92.279% when pulling aa14669b4c31271e4f32131a4fd85399b9d11d3c on zmw/adding_tests into 0dd916022ae7f9144a5e06954c6516ecf6bf817c on master.


SCP-504 - Implement assertions for Marlowe's static analysis

Implement a way of writing assertions in Marlowe contracts that can be checked through static analysis.

Deployed in https://pablo.marlowe.iohkdev.io/


Keybase client on Windows Server 2019 terminates when remote desktop session closes - duplicate of 26083

[write something useful and descriptive here]
my log id: 7105e9ab2812d2ae19d1ba1c

Keybase client on Windows Server 2019 terminates when remote desktop session closes
This has been going on for as long as I can remember, apologies for reporting it so late
If i remain in the session, active, keybase continues to work and remain open.
If I disconnect from windows server, keybase closes and I have to open it again when I reconnect to the still running session
The session is never stopped, i just disconnect from it. Yet keybase closes.


bg1 pretty unstable

I have a bg1 that I am testing at the moment.... is close to the router so there are no connection issues but I get socket timeout and nothing happens.
2020-03-24 18:07:44,968] DEBUG Connected to 'BG1' Broadlink device at '<IP_ADDRESS>' (MAC f6:53:fc:42:f7:c8) and started listening for commands at MQTT topic having prefix 'broadlink/'
[2020-03-24 18:07:44,983] DEBUG Connected to MQTT broker, subscribing to topic broadlink/#
[2020-03-24 18:08:16,009] DEBUG Sending BG1 pwr '1' to topic 'broadlink/state/pwr'
[2020-03-24 18:08:16,011] DEBUG Sending BG1 pwr1 '0' to topic 'broadlink/state/pwr1'
[2020-03-24 18:08:16,012] DEBUG Sending BG1 pwr2 '1' to topic 'broadlink/state/pwr2'
[2020-03-24 18:08:16,013] DEBUG Sending BG1 maxworktime '0' to topic 'broadlink/state/maxworktime'
[2020-03-24 18:08:16,013] DEBUG Sending BG1 maxworktime1 '0' to topic 'broadlink/state/maxworktime1'
[2020-03-24 18:08:16,015] DEBUG Sending BG1 maxworktime2 '0' to topic 'broadlink/state/maxworktime2'
[2020-03-24 18:08:16,015] DEBUG Sending BG1 idcbrightness '100' to topic 'broadlink/state/idcbrightness'
[2020-03-24 18:08:34,372] DEBUG Received MQTT message broadlink/power/1 on
[2020-03-24 18:08:34,372] DEBUG Setting power state of socket 1 to True
[2020-03-24 18:08:42,284] DEBUG Received MQTT message broadlink/power/1 off
[2020-03-24 18:08:42,285] DEBUG Setting power state of socket 1 to False
[2020-03-24 18:08:52,298] ERROR Error
Traceback (most recent call last):
  File "./mqtt.py", line 145, in on_message
    device.set_state(pwr1=state)
  File "/home/drFaustroll/venv/broadlink/lib64/python3.8/site-packages/broadlink/__init__.py", line 391, in set_state
    response = self.send_packet(0x6a, packet)
  File "/home/drFaustroll/venv/broadlink/lib64/python3.8/site-packages/broadlink/__init__.py", line 286, in send_packet
    response = self.cs.recvfrom(2048)
socket.timeout: timed out
[2020-03-24 18:08:53,876] DEBUG Received MQTT message broadlink/power/1 on
[2020-03-24 18:08:53,876] DEBUG Setting power state of socket 1 to True
[2020-03-24 18:08:55,302] ERROR Error
Traceback (most recent call last):
  File "./mqtt.py", line 546, in broadlink_bg1_state_timer
    state = device.get_state()
  File "/home/drFaustroll/venv/broadlink/lib64/python3.8/site-packages/broadlink/__init__.py", line 370, in get_state
    response = self.send_packet(0x6a, packet)
  File "/home/drFaustroll/venv/broadlink/lib64/python3.8/site-packages/broadlink/__init__.py", line 286, in send_packet
    response = self.cs.recvfrom(2048)
socket.timeout: timed out
[2020-03-24 18:09:04,311] ERROR Error
Traceback (most recent call last):
  File "./mqtt.py", line 145, in on_message
    device.set_state(pwr1=state)
  File "/home/drFaustroll/venv/broadlink/lib64/python3.8/site-packages/broadlink/__init__.py", line 391, in set_state
    response = self.send_packet(0x6a, packet)
  File "/home/drFaustroll/venv/broadlink/lib64/python3.8/site-packages/broadlink/__init__.py", line 286, in send_packet
    response = self.cs.recvfrom(2048)
socket.timeout: timed out

any ideas?
the device details are here...
{"PID":"...","DID":"...","Access to the cloud":"....","MAC":"c8:f7:42:fc:53:f6","Firmware":"46043","device IP":"<IP_ADDRESS>@80"}

Could you please redirect this issue to the https://github.com/mjg59/python-broadlink issue tracker?

yes no problem, indeed looks like a broadlink issue.

upstreamed to https://github.com/mjg59/python-broadlink/issues/328


NO-JIRA - fixing up some broken tests

updated tests that rely on logging id's

There was a JIRA recently about changing the IDs, ARTEMIS-1018, if it caused these failures the fixup commit should have gone against that too rather than being a NO-JIRA.


Create a dummy Air Purifier. Stuck at "turning off.." and a spinning wheel

Can anyone help me to create a dummy Air Purifier?
Just install the plugin and set up the config inside the plugin. Everything works fine but i can't find a way get it "Off" completely. It stuck with "Turning off.." and spinning wheel.
Config is the same as the docs provided only without "state_cmd" and "polling".
When i tried to use them, it throw error that directory not found.
Can anyone provide me a complete working config for this accessory?

Hi Shi,
Can you please send me the config.json you were using and the platform
you were running Homebridge on.
Thanks,
John
On Mon, Dec 18, 2023 at 4:57 AM Shi Pham @.***> wrote:

Can anyone help me to create a dummy Air Purifier?
Just install the plugin and set up the config inside the plugin.
Everything works fine but i can't find a way get it "Off" completely. It
stuck with "Turning off.." and spinning wheel.
Config is the same as the docs provided only without "state_cmd" and
"polling".
When i tried to use them, it throw error that directory not found.
Can anyone provide me a complete working config for this accessory?
—
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/140, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX7FJ4WFA3UUD42CQQ3YKAHPJAVCNFSM6AAAAABAZHWLQKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2DMMRSGIYDKNQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Here is a config.json I just tested
{
"platform": "Cmd4",
"name": "Cmd4",
"allowTLV8": false,
"outputConstants": false,
"restartRecover": true,
"debug": true,
"cmd4_Mode": "Demo",
"accessories": [
{
"type": "AirPurifier",
"displayName": "My_AirPurifier",
"active": "ACTIVE",
"currentAirPurifierState": "INACTIVE",
"targetAirPurifierState": "MANUAL",
"lockPhysicalControls": "CONTROL_LOCK_DISABLED",
"name": "Air Purifier",
"swingMode": "SWING_DISABLED",
"rotationSpeed": 0,
"manufacturer": "Hosome",
"model": "1010",
"serialNumber": "A659B",
"stateChangeResponseTime": 1
} ]
}
From within HomeKit I can turn the device On and Off.  I will note that the AirPurifier says "Turning on..." when you turn it on and stays this way.  I noticed this for a GarageDoorOpener over a year ago. From what I determined HomeKit/HomeBridge did not like/respond properly to an update status message for accessories that are multi-state and they never fixed it.  This is not however the issue you are talking about.
As I can turn On/Off the device with the config above.  I'll close the issue.
John Talbot


Dropdown: propConnect + namespace

Dropdowns need to be reworked. At the very least, it should be connected with propConnect and namespaced to improve reliability.

Closing this since we now have DropdownV2, which is all propConnected and things!


fix(optimizer): browser field bare import (fix #7599)

Description

Closes #7599
fixes #4798
fixes #7301
fixes #7576
Additional context
Make vite correctly resolve bare imports with browser field

In #8706 @sapphi-red mentioned we need to

solved by fixing implementation around idToPkgMap

instead of the way in #8709

What is the purpose of this pull request?

[X] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[X] Read the Contributing Guidelines.
[X] Read the Pull Request Guidelines and follow the Commit Convention.
[X] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[X] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[X] Ideally, include relevant tests that fail without this PR but pass with it.

Thank you! I confirmed that #4798, #7301, #7576 will be fixed by this PR.

Hi, I am having a problem with the browser field still.
When I import @xenova/transformers, it is trying to import the node modules of onnxruntime-node and sharp, which are native node modules and should not be imported in the browser. When they are imported, it creates a lot of errors due to missing node modules.
The browser field in package.json of @xenova/transformers specifically states false for these modules and they should be ignored when running @xenova/transformers in the browser.
Is there any way to fix this?


No support for containment clauses

For queries like this SELECT min_units FROM courses WHERE course_codes @> ARRAY['CS 103'];, the compiler simply neglects the containment clause at the moment.

This issue is being worked on fix/28


Support for Docker Swarm

Docker Swarm is awesome when working with multiple nodes.
When using multiple nodes docker swarm is very convenient, but just as normal docker the commands can be cumbersome to type. This project looks amazing and I would very much like to use it on one of my manager nodes.
Describe the solution you'd like
Right now docker swarm is not supported and it would be awesome if some things like deploying/updating and state-monitoring can be done using this TUI (ofcourse there are also secrets, configs, networks, etc but these are used less often)
Additional context
Most commands are the same between docker swarm and normal docker. The main differences are in deploying stacks/services and monitoring commands.

Hey!
Thanks for the suggestion, I'll add this to my list and add it in next few releases.


Adopt lintrunner and enable github actions lint checks 1/2

Type of Change
CI
Description

Adopt lintrunner as standard ONNX tooling and enable github actions lint checks.
Use black and isort to format the code base. The CI will enforce formatting from now on.

This is the first of two PRs. The second PR will enable more ruff rules and apply autofixes.
Fixes https://github.com/onnx/neural-compressor/issues/5
Expected Behavior & Potential Risk
Auto-formatted code.
How has this PR been tested?
CI
Dependency Change?
+dev dependencies: lintrunner, lintrunner-adapters

@justinchuby, Although I got the admin permission, I am not able to install this APP.

If the tool is not allowed to be installed, let's remove ".pre-commit-config.yaml" directly.

SGTM. Just did


Inconsistent location context inheritance between builders

BuildPart and BuildSketch do not inherit location contexts while BuidLine does kindof. How BuildLine inherits context, however, depends on how it is used and can lead to unexpected behavior. How the location of the created object is passed to the parent context is also inconsistent.
These issues are demonstrated below.

class Collect(Builder):
    objs = []
    def __init__(self, *workplanes):
        # use of inspect.currentframe().f_back is very fragile
        super().__init__(*workplanes)
    def _add_to_pending(self, *args, **kwargs): pass
    def _obj(self): return None
    def _add_to_context(self, *objects, **kwargs):
        Collect.objs += [Pos(len(Collect.objs)*3) * o for o in objects]

with Collect():
    with BuildPart(Pos(0,0,10)):
        Sphere(1)

    with BuildPart(Pos(0,0,10)):
        with BuildPart():
            Sphere(1)

    with BuildPart(Pos(0,0,10)):
        with BuildSketch():
            Circle(1)
        extrude(amount=1)

    with BuildSketch(Pos(0,0,10)):
        Circle(1)

    with BuildPart():
        with BuildSketch(Pos(0,0,10)):
            Circle(1)
        extrude(amount=1)

    with BuildPart():
        with BuildSketch(Pos(0,0,10)):
            with BuildLine():
                CenterArc((0,0,0), 1, 0, 360)
            make_face()
        extrude(amount=1)

    with BuildPart(Pos(0,0,10)):
        with BuildSketch(Pos(0,0,10)):
            Circle(1)
        extrude(amount=1)

    with BuildPart():
        with BuildSketch(Pos(0,0,10)):
            with BuildLine(Pos(0,0,10)):
                CenterArc((0,0,0), 1, 0, 360)
            make_face()
        extrude(amount=1)

    with BuildPart():
        with BuildSketch(Plane.XZ.move(Pos(0,0,10))) as s:
            with BuildLine(Plane.XZ) as l:
                Line((-1,0), (1,0))
            make_face(offset(l.line, amount=1))
        extrude(amount=1)

    with BuildPart():
        with BuildSketch(Plane.XZ.move(Pos(0,0,10))) as s:
            with BuildLine(Plane.YZ) as l:
                Line((-1,0), (1,0))
            make_face(offset(l.line, amount=1))
        extrude(amount=1)

    with BuildPart():
        with BuildSketch(Plane.XZ.move(Pos(0,0,10))):
            with BuildLine(Pos(0,0,10)):
                CenterArc((0,0,0), 1, 0, 360)
            make_face()
        extrude(amount=1)

    with BuildPart():
        with BuildSketch(Plane.XZ.move(Pos(0,0,10))) as s:
            with BuildLine(Pos(0,10,0)) as l:
                Line((-1,0), (1,0))
            make_face(offset(l.line, amount=1))
        extrude(amount=1)

    with BuildPart():
        with BuildSketch(Plane.XZ.move(Pos(0,0,10))) as s:
            with BuildLine(Pos(0,0,10)) as l:
                Line((-1,0), (1,0))
            make_face(offset(l.line, amount=1))
        extrude(amount=1)

    with BuildPart():
        with BuildSketch(Plane.XZ.move(Pos(0,0,10))) as s:
            with BuildLine(Plane.XZ.offset(10)) as l:
                Line((-1,0), (1,0))
            make_face(offset(l.line, amount=1))
        extrude(amount=1)

show(Collect.objs)

Does https://build123d.readthedocs.io/en/latest/build_sketch.html#sketching-on-other-planes help explain what is going on?
When used within the scope of BuildSketch, BuildLine should almost always be working on Plane.XY as all sketching is done on Plane.XY and only placed on the provided planes when complete.  Would generating an exception when the user provides a workplane other than Plane.XY to BuildLine while in the scope of BuildSketch be helpful?

https://build123d.readthedocs.io/en/latest/build_sketch.html#sketching-on-other-planes doesn't explain how/why each type of builder behaves differently. It is a simple concept that could be applied consistently to all builders and shouldn't require an explanation.
Also, another note that BuildLine only inherits is parent's location context if it is inside of a BuildSketch and doesn't inside of a BuildPart. This distinction is unnecessary and confusing.

Also, another note that BuildLine only inherits is parent's location context if it is inside of a BuildSketch and doesn't inside of a BuildPart. This distinction is unnecessary and confusing.

I wonder if this is related to https://github.com/gumyr/build123d/issues/308

Another odd behavior due to all the moving and case-specific handling of workplanes:
with BuildSketch(Plane.YZ) as s:
    with BuildLine() as l:
        Polyline((0,0), (1,0), (1,1), (0,1), close=True)
    Circle(0.5)

with BuildSketch(Plane.YZ) as s:
    with BuildLine() as l:
        Polyline((0,0), (1,0), (1,1), (0,1), close=True)
    Circle(0.5)
    make_face()

This makes no sense. (I don't mean "it makes no sense to me", I understand what build123d is doing). All these arbitrary special cases and rules could be replaced with a simple universal workplane inheritance hierarchy.

This has come up many times in the past, hopefully the following additions to the FAQ explains the reasoning beyond the current design choices: https://build123d.readthedocs.io/en/latest/tips.html#why-doesn-t-buildsketch-plane-xz-work


Add a about us section in website

Hey ,I can work on this issue,please assign it to me

As you are already working on an issue so let's other work on it

Hey can i work on this issue?

Hey can I work on this issue.??

hey please @akshitagupta15june mam can you assign me this issue

Assigning to @omk-coder

thanks.

As you are already working on an issue so let's other work on it

ok no issues


Revised the English translation definitions

Updated material_en.arb in the flutter_localizations package to make purals and translation parameters explicit.
The "type" property for @foo meta resources has been removed since we're not using it.
Our one plural translation now identifies itself and names it's integer quantity parameter:
  "selectedRowCountTitleZero": "No items selected",
  "selectedRowCountTitleOne": "1 item selected",
  "selectedRowCountTitleOther": "$selectedRowCount items selected",
  "@selectedRowCountTitle": {
    "description": "Title for the PaginatedDataTable's selected row count header",
    "plural": "selectedRowCount"
  },

Parameterized translations specify their parameter names. For example:
  "pageRowsInfoTitle": "$firstRow–$lastRow of $rowCount",
  "@pageRowsInfoTitle": {
    "description": "Title for the [PaginatedDataTable]'s row info footer when the exact overall row count is known",
    "parameters": "firstRow, lastRow, rowCount"
  },


Question: How to produce a correct embedding for a dataset?

Hi, i was looking for a solution on various papers but I've not found the answer anywhere. I have a csv dataset, I would like to produce an embedding for each value of my csv, considering that I'm passing a string and an array representing an image as the inputs to the model. In the current state-of-the-art which is the better way to make the embedding for each value? Do i need to extract it from the model by passing the whole dataset as input or is it better if i give a single row of the dataset at the time?

Assuming your csv has image array and also the corresponding text description, it makes no difference whether you do it in one go or one by one. The results will be the same.
I think what you mean is running in batches vs line-by-line. Running in batches allows you to use GPU, where multiple rows get processed simultaneously, and you get the results quickly. However, if you do it line-by-line, it will take longer.


parquet write to s3 is not queryable by Athena

Hello,
The parquet file generated by this library is compatible with Spark but not queryable using Athena.
I wrote a file to s3 and all array columns would break with the error GENERIC_INTERNAL_ERROR: null
AWS Premium Support told me that after doing a bit of research, the main reason for these issues is the different ways parquet files can be created.  After using parquet-tools to inspect the sample data I provided they informed me that this is written in some hybrid parquet format.The parquet format generated by parquetjs allows for the final parquet file to exclude columns if that column is blank in the data.  For example, if a record (row) does not have any value for the "x" column, then the "x" column is omitted from the actual parquet file itself.
Athena uses the Hive parquet SerDe (org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe).  As a result, the SerDe expects that all columns will be present in the source parquet file.  In this case, empty columns are not included within the record (row) of the parquet file.  Unfortunately, the previously mentioned Hive parquet SerDe is the only parquet SerDe supported in Athena.

I'm not sure of the details, but I had the same problem and this option solved it for me.
useDataPageV2: false

useDataPageV2: false

Would you please give more details about that workaround?
Where/how do you set that option?


Moved Fetch Calls of Login & Sigup Page to the Global Context

#4 , Hi @whysosaket, I have modified the code as per your instructions, moved Fetch calls of Login & Signup Pages to the Auth Context.
And I have validated the changes they are working as expected.
Could you also test them from your end. If everything works out, kindly review and accept the PR.
Please let me know incase I need to modify anything. We can connect here LinkedIn and discuss on that.
Thanks

Hi @archiejain28 , thank you for submitting the pull request. I have reviewed your changes and it seems fine. I appreciate your effort in moving the Fetch calls of the Login & Signup Pages to the Auth Context.
I have tested the changes from my end and if everything works as expected, I have reviewed and merged your pull request.
Best regards.


Aborting on GUI causes lock up

When clicking abort, the Aborting message is incorrect causing the messaging library to lock up.
  File "C:\dev\Github\Fixate\src\fixate\ui_gui_qt\ui_gui_qt.py", line 411, in update_tree     self.active_update(message="Aborting, please wait...") TypeError: active_update() missing 1 required positional argument: 'msg'

PR is merged, so closing this issue


ERROR: Setting up interface failed!

Hello. I have a major issue. I was trying to install CWM on my Galaxy Ace 2x using Odin, when something went horribly wrong. Now, my device is bricked, and gives me the following error message when I try to turn it on: "Firmware upgrade encountered an issue. Please select recovery mode in Kies & try again."
I tried to fix my device through Kies, but my phone wasn't connecting to it. I don't have access to a PC anymore and am now using a Mac (OS X 10.9.1). I discovered Heimdall, and how it is like a Mac alternative to Odin. I was thrilled that I was finally able to flash my stock ROM, and have my phone back to normal once more. However, whenever I try to download my device's PIT file, I get the following error message:

Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
ERROR: Setting up interface failed!
Releasing device interface...

Please, someone help me. I have run out of options. I desperately need assistance. :(
Thank you, Eli.

Currently, I have the same issue, any suggestion ? I'm using Ubuntu 14.04

acardenasnet have you tried every single one of the USB plugs in your computer? (ie to verify that they aren't viewed as hubs internally)

Client: Lenovo ideapad S10-2
Software: Arch Linux 3.18.5-1 i686
Phone: Samsung Galaxy Note III SM-N9005
heimdall info
heimdall print-pit
heimdall print-pit --usb-log-level debug
lsusb
dmesg
uname
cat /etc/udev/rules.d/51-android.rules
ls -lA /dev/android_*
All outputs here: http://pastebin.com/kQFxfDXK
I've read a lot that this is supposed to be a libusb error in heimdall 1.4 but I'm using 1.4.1. Am I stupid?

Same issue here.

same for me, no luck on an t520, booth patches applied ubuntu 14,
may be something to do with ubuntu libusb's packages
libusb-0.1-4 cames installed but  libusb-1.0-0 needed to compile ...

installing from https://launchpad.net/~modycz/+archive/ubuntu/heimdall solve it :-)

PPA resolved the error for me too on Ubuntu 14.04

just tried using PPA on Ubuntu 14.04 64bit, but still no luck. I have tried 1.4.0 (from website) and 1.4.1 (from github source) as well.
$ lsusb
...
Bus 003 Device 024: ID 04e8:685d Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II] (Download mode)

$ sudo heimdall download-pit --output s.pit --verbose --stdout-errors
Heimdall v1.4.1

Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...

            length: 18
      device class: 2
               S/N: 3
           VID:PID: 04E8:685D
         bcdDevice: 0001
   iMan:iProd:iSer: 2:1:3
          nb confs: 1

interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 02.02.01
       endpoint[0].address: 83
           max packet size: 0040
          polling interval: 05

interface[1].altsetting[0]: num endpoints = 2
   Class.SubClass.Protocol: 0A.00.00
       endpoint[0].address: 81
           max packet size: 0200
          polling interval: 20
       endpoint[1].address: 02
           max packet size: 0200
          polling interval: 20
Claiming interface...
Setting up interface...
libusbx: error [op_set_interface] setintf failed error -1 errno 110
ERROR: Setting up interface failed!
ERROR: Setting up interface failed!
Releasing device interface...

same error here
smartphone : samsung ace 3 (gt-s7270)
$ sudo heimdall download-pit --output s.pit --verbose --stdout-errors
Initialising connection...
Detecting device...
        length: 18
  device class: 2
           S/N: 3
       VID:PID: 04E8:685D
     bcdDevice: 0001

iMan:iProd:iSer: 2:1:3
nb confs: 1
interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 83
max packet size: 0040
polling interval: 05
interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 20
endpoint[1].address: 02
max packet size: 0200
polling interval: 20
Claiming interface...
Setting up interface...
libusbx: error [op_set_interface] setintf failed error -1 errno 110
ERROR: Setting up interface failed!
ERROR: Setting up interface failed!
Releasing device interface...

Hi,
I have the same issue with Ubuntu 14.04 64 bit and both heimdall 1.4.0 and 1.4.1. The error message is the following
sudo heimdall flash --verbose --recovery recovery.img
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
        length: 18
  device class: 2
           S/N: 3
       VID:PID: 04E8:685D
     bcdDevice: 0001

iMan:iProd:iSer: 2:1:3
nb confs: 1
interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 83
max packet size: 0040
polling interval: 05
interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 20
endpoint[1].address: 02
max packet size: 0200
polling interval: 20
Claiming interface...
Setting up interface...
libusbx: error [op_set_interface] setintf failed error -1 errno 110
ERROR: Setting up interface failed!
Releasing device interface...

Thanks @sanjayankur31, moving to other USB port solved the problem for me.

Different USB port worked for me too :)

Same trouble. I tried to flash samsung galaxy s2 (i9105) and see the following message:
Detecting device...

	length: 18
  device class: 2
	  S/N: 3
      VID:PID: 04E8:685D
    bcdDevice: 0001
  iMan:iProd:iSer: 2:1:3
      nb confs: 1

interface[0].altsetting[0]: num endpoints = 1
  Class.SubClass.Protocol: 02.02.01
  endpoint[0].address: 83
      max packet size: 0040
      polling interval: 05

interface[1].altsetting[0]: num endpoints = 2
  Class.SubClass.Protocol: 0A.00.00
  endpoint[0].address: 81
      max packet size: 0200
      polling interval: 20
  endpoint[1].address: 02
      max packet size: 0200
      polling interval: 20
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...
libusb: error [op_set_interface] setintf failed error -1 errno 110
ERROR: Setting up interface failed!
Releasing device interface...
Re-attaching kernel driver...

Tried all my USB ports. Same result. OS Gentoo GNU/Linux, version from upstream. (9999)

@kozlov-p-v What is you run as root?

@Benjamin-Dobell yes, sure - I tried from non-root and root user.

That error is much lower level than Heimdall itself, 110 is a timeout error straight from the Linux kernel.
What version of libusb-1.0 is running on your machine?
I have seen a few odd reports (although I don't remember where) of certain libusb-1.0 versions not getting on with certain Linux kernel versions. If you're able to try compiling libusb-1.0 yourself and see if the problem persists that would be ideal.

I have pretty much the same problem please help me !
it shows me this when i try to run the compiled version
root# ./heimdall print-pit --usb-log-level debug
./heimdall: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by ./heimdall) ./heimdall: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by ./heimdall)
And it shows me this when i run the usb-log-level debug command on 1.4.1 version!
root# heimdall print-pit --usb-log-level debug
Heimdall v1.4.1
Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
[timestamp] [threadID] facility level [function call]
[ 0.003228] [00006e86] libusbx: debug [libusb_get_device_list]
[ 0.003258] [00006e86] libusbx: debug [discovered_devs_append] need to increase capacity
[ 0.003269] [00006e86] libusbx: debug [libusb_get_device_descriptor]
[ 0.003275] [00006e86] libusbx: debug [libusb_get_device_descriptor]
[ 0.003280] [00006e86] libusbx: debug [libusb_get_device_descriptor]
[ 0.003284] [00006e86] libusbx: debug [libusb_get_device_descriptor]
[ 0.003289] [00006e86] libusbx: debug [libusb_get_device_descriptor]
[ 0.003294] [00006e86] libusbx: debug [libusb_get_device_descriptor]
[ 0.003299] [00006e86] libusbx: debug [libusb_get_device_descriptor]
[ 0.003307] [00006e86] libusbx: debug [libusb_open] open 3.3
[ 0.003343] [00006e86] libusbx: debug [usbi_add_pollfd] add fd 11 events 4
[ 0.003362] [00006e86] libusbx: debug [libusb_get_device_descriptor]
[ 0.003370] [00006e86] libusbx: debug [libusb_get_config_descriptor] index 0
Claiming interface...
[ 0.003389] [00006e86] libusbx: debug [libusb_claim_interface] interface 1
Setting up interface...
[ 0.003420] [00006e86] libusbx: debug [libusb_set_interface_alt_setting] interface 1 altsetting 0
[ 5.002298] [00006e86] libusbx: error [op_set_interface] setintf failed error -1 errno 110
ERROR: Setting up interface failed!
Releasing device interface...
[ 5.002341] [00006e86] libusbx: debug [libusb_release_interface] interface 1
[ 5.002370] [00006e86] libusbx: debug [libusb_close]
[ 5.002387] [00006e86] libusbx: debug [usbi_remove_pollfd] remove fd 11
[ 5.002407] [00006e86] libusbx: debug [libusb_exit]
[ 5.002413] [00006e86] libusbx: debug [libusb_exit] destroying default context
And this error log is from version 1.4.0
root# heimdall print-pit --usb-log-level debug
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
[timestamp] [threadID] facility level [function call]
[ 0.003373] [000018f5] libusbx: debug [libusb_get_device_list]
[ 0.003417] [000018f5] libusbx: debug [discovered_devs_append] need to increase capacity
[ 0.003430] [000018f5] libusbx: debug [libusb_get_device_descriptor]
[ 0.003436] [000018f5] libusbx: debug [libusb_get_device_descriptor]
[ 0.003442] [000018f5] libusbx: debug [libusb_get_device_descriptor]
[ 0.003447] [000018f5] libusbx: debug [libusb_get_device_descriptor]
[ 0.003453] [000018f5] libusbx: debug [libusb_get_device_descriptor]
[ 0.003458] [000018f5] libusbx: debug [libusb_get_device_descriptor]
[ 0.003469] [000018f5] libusbx: debug [libusb_open] open 1.9
[ 0.003513] [000018f5] libusbx: debug [usbi_add_pollfd] add fd 11 events 4
[ 0.003587] [000018f5] libusbx: debug [libusb_get_device_descriptor]
[ 0.003610] [000018f5] libusbx: debug [libusb_get_config_descriptor] index 0
Claiming interface...
[ 0.003651] [000018f5] libusbx: debug [libusb_claim_interface] interface 1
Setting up interface...
[ 0.003700] [000018f5] libusbx: debug [libusb_set_interface_alt_setting] interface 1 altsetting 0
[ 5.003905] [000018f5] libusbx: error [op_set_interface] setintf failed error -1 errno 110
ERROR: Setting up interface failed!
Releasing device interface...
[ 5.003989] [000018f5] libusbx: debug [libusb_release_interface] interface 1
[ 5.004050] [000018f5] libusbx: debug [libusb_close]
[ 5.004085] [000018f5] libusbx: debug [usbi_remove_pollfd] remove fd 11
[ 5.004115] [000018f5] libusbx: debug [libusb_exit]
[ 5.004125] [000018f5] libusbx: debug [libusb_exit] destroying default context

This might be the same issue as #228. Try my fix with the udev rule.

Thanks Sanjay


⚠ RPC server - Figment Solana has degraded performance

In 6915c20, RPC server - Figment Solana ($FIGMENT_SOLANA_RPC_URL) experienced degraded performance:

HTTP code: 429
Response time: 104 ms

Resolved: RPC server - Figment Solana performance has improved in 249f745.


Automatic & Annotation Configuration

This is a reimplementation of #40 using the new enricher service. All annotations are now named according to #44.
Some points...

WeldJunitEnricher was modified to pass the JUnit ExtensionContext to the enrich method. The automatic scanning needed to know about the test configuration (specifically the explicit parameter injection setting) and this requires the context.
DefaultWeldJUnitEnricher was removed. It "defaulted" to adding the entire test package; this is exactly the functionality the automatic scanning was trying to stop. In almost all cases automatic scanning should yield the same results without adding bean classes that are not required. The reason adding the entire test package is not helpful is because some of our tests need mocks, while others need real implementations of the same class; narrowing the included bean classes means each test can easily choose what is included without needing to first exclude certain implementations.
Fixed a bug in WeldJUnit5Extension where it wasn't using the builder provided to the enrichers to create the initiator

Thanks for the PR, we'll try to review this throughout the week and add some comments as we glance at it.

WeldJunitEnricher was modified to pass the JUnit ExtensionContext to the enrich method.

If this is needed, then it can be passes over to enrich method instead of Object testInstance as that one can be obtained from context anyway.

DefaultWeldJUnitEnricher was removed. It "defaulted" to adding the entire test package;

Don't like this, we cannot just change default behaviour we had until now. That would be backward incompatible. I was thinking they could both co-exist. I thought that when you want to use automagic, that's basically using special beans you added into same package + some extra from "outside" which the automagic adds. Why else would you add beans to same package and then not use then in tests?

Fixed a bug in WeldJUnit5Extension...

Nice catch. Though it looks like a design flaw we made, we can either use Weld object or builder but never both. I mean user could temper with Weld now but unless it is set into the builder object, it won't be used. We should perhaps only pass the builder instance and make Weld instance accessible from there? I'll think about it some more...

Few quick notes:

WeldJunit5Extension bug -good catch and thanks! :+1:
DefaultWeldJunitEnricher must be retained
@OverrideBean - this one really needs a better name, maybe something like  @SelectedAlternative/@EnabledAlternative/@MockAlternative
TestExtension - I'm still not convinced we want this workaround to support mock producers taking state from the test instance, but if we decide to keep it a better name must be choosen

Thanks again!

@mkouba I've implemented most of that which is requested.  The outstanding issues are...

@OverrideBean was already previously named @EnabledAlternative; the suggestion now is to rename it again, possibly back to its old name.  I personally like having the word "override" in the name because it does that and not exactly just enables it as an alternative. Although, either name is fine with me.
DefaultWeldJunitEnricher has not been reinstated. The automagic scanning provided by ClassScanning should be backwards compatible while selecting a smaller set of classes. Not selecting the test package by default allows us to create test utility that have their own injection and we can control what gets injected via the normal extensions (e.g. AddBeanClasses).

Just a note...
TestExtension is not just to support mock producers it handles all the injection for the test instance. As noted above, It has been renamed and can be replaced when the required functionality exists in JUnit 5.

@kdubb thanks for updates!

@AddClasspaths - I insist on removing this feature, it's out of the project scope, if a similar functionality is really needed, then use Arquillian Weld Embedded + ShrinkWrap instead (see for example Weld test suite)
DefaultWeldJunitEnricher

this change is not entirely backward compatible - injection points analysis does not work if you're programming to the interface (e.g. if there is Foo interface and FooImpl class, @Inject Foo will not add the bean class)
also any enricher can be disabled through a system property (see also https://github.com/weld/weld-junit/blob/master/junit5/src/main/java/org/jboss/weld/junit5/WeldJunitEnricher.java#L26)
pls bring the class back

@OverrideBean

I think the annotation target should be only METHOD and FIELD
@EnabledAlternative is probably good ...

"TestExtension is not just to support mock producers, it handles all the injection for the test instance."

not really, the test instance is first injected here: https://github.com/weld/weld-junit/blob/master/junit5/src/main/java/org/jboss/weld/junit5/WeldInitiator.java#L191
in fact, I think there is a problem with the current impl: whenever a producer method is invoked (i.e. the bean instance is needed), the test instance is "reinjected" and this might cause serious problems if a test class injects some @Dependent beans
still the functionality is probably useful, a simple fix (which should be enough for now) is to add/test AtomicBoolean isInjected so that the target instance is only injected once

@manovotn @mkouba I'm wondering if this code belongs in this project at this point. My reason for creating this PR was because CDI-Unit has few maintainers, overlaps in functionality and seems to lag behind Weld and JUnit. I thought since the goals were similar enough that we could essentially merge the major functionality into a "Weld" sanctioned project and everybody be better off.
Unfortunately there seems to be a bit of impedance mismatch. You seem to have some objections which I do not understand (e.g. AddClasspaths) and for a fledgling project you seem very concerned about backwards compatibility (i.e. DefaultWeldJUnitEnricher).
When it comes to AddClasspaths I've provided real world examples of why it makes our tests easier to write and easier to maintain; this functionality was modeled after that in CDI-Unit, so other real world users find it useful as well. Your answer to this was to tell me to "use something else" because it doesn't belong here. That sounds like dogma not a valid reason.
For all intents and purposes this project is fairly new and the default behavior of including the entire test package is problem in our large test suite; and so I would assume others. It causes us to have to add some mocks and real implementation beans  to every single test class even when a specific class doesn't use the all the objects referenced; simply because by default you include every single bean in the test package in the booted container. The automagic scanning is designed it cut the included beans down to only those needed by each test class.  As I stated this should be mostly backwards compatible, is it 100% backwards compatible probably not. With a project in a fairly early stage the level of compatibly it provided seems agreeable to me; apparently it is not enough for you.
I tried to use the project "as is" in the last version. In our codebase it meant manually adding weld initiator fields to hundreds of test classes and then trying to figure out every single bean dependency for each class and adding it to the initiator. Not only is this very "JUnit 4" style, the level of work is basically untenable when compared to other methods. With the changes in this PR we were able to do it by adding a single annotation to each test class (which we already had to do for JUnit 5).  It seems to me one of these methods works really well while the other is very cumbersome.
Before I spend anymore time working on the PR I guess you need to decide the real direction of the project going forward. If it's something like this PR awesome but then you need to open up your scope to include things you may not agree with immediately.  If these things are to different for you, so be it, I'll invest my time in another project that works for me.
To be clear I'm not upset or trying to demean anybody. I'm just trying to make sure my efforts result in a test framework we can use.  I don't have time to build a test framework for others and then figure out how to solve our problems separately.

@manovotn FYI, Travis runs Maven commands on its own before running the commands specified in .travis.yml by auto-activating the profiles based on environment variables it ensures that the selected profiles are activated for those commands as well.

Nobody questions the usefulness of most functionalities included in this PR. However, we're not going to merge anything we don't think is entirely correct, nor sacrify backward compatibility ("fledgling" project or not). After all, this is not CDI-Unit and our goal is not to take over its heritage. Nor is our goal to follow the "take all or nothing" PR strategy. In most open source projects I know the maintainers cherry-pick the parts which fit well and represent no stability risks. Anyway, that's the reason why we expose SPI so that anyone can extend the core functionality.
AddClasspaths - I can see more risks than benefits here. E.g. if you add a bean archive which itself has beans.xml. This beans.xml would be happily ignored. So it's a no-go.

Your answer to this was to tell me to "use something else" because it doesn't belong here. That sounds like dogma not a valid reason.

Dogma? Well, I tried to say: use a hammer to drive a nail instead of taking a screwdriver and trying to attach boulder to it to reach similar functionality.
I understand that you feel concerned about the scope of this project, but the reality it that this project is not tailored to a single user needs. It's the community which shapes its future. So it's up to you whether you take the risk. And we hope you will ;-)

@mkouba After messing around with the implementation and trying a couple different methods I couldn't really figure a way to make auto configuration and the default behavior play well together.  I now think the best option is to separate them. I implemented that in the latest commit.
I created a new extension WeldJunit5AutoExtension and a companion annotation @EnableAutoWeld.  This new extension derives from WeldJunit5Extension but implements the auto configuration without adding any default packages.
The nice part about this is people can easily choose between implementations without having to set one or more system properties; essentially they can choose @EnableWeld or @EnableAutoWeld and it determines the "default" behavior.
Both implementations kept the new enrichers so they can easily be extended by implementing the WeldJunit5Enricher service as before.
Also, I removed the @AddClasspaths functionality as requested.
Let me know what everybody thinks of this approach. I think it's a pretty good compromise and makes it very easy for users to choose their preferred default functionality.

Hey, good to see you back!
This does sounds like a reasonable compromise to me.
BTW in the current state, the DefaultWeldJunitEnricher is completely useless as you never invoke it anyway (and the functionality is now in the extension itself). Plus some other minor changes, but yea, in general, this looks feasible. Let's see what Martin has to say.

Yes, there are some cleanup items that need to take place before this would be considered ready. I wanted to get everybody's take on it before spending that time.

I like the idea of @EnableAutoWeld: +1

@manovotn I think all your issues have been addressed.

@kdubb merged, thanks for contribution!
We'll be doing a release soon to roll this out (within, say, next two weeks).


Login command does not work properly

On ubuntu 24.04
kernel: 6.8.0-45
When trying to launch ./login to create the auth token I get this error in the terminal.
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
And I cannot enter the game cause the token is missing, how can I solve this?

hm this is weird, do you have no issues with other graphical applications or games? I would guess some driver issue may be


Naïve Bayes Added

I have added simple beginner friendly code of Naïve Bayes algorithm of Machine Learning in Jupyter notebook.

congratulations on your hactoberfest contribution. if you like this repo then give it a star. Happy hacking..


[Event Request] CU90 "Purch.-Post" - procedure FinalizePosting()

------- ADD PARAMETER : PurchInvHeader AND PurchCrMemoHeader ---------
OnFinalizePostingOnBeforeInsertValueEntryRelation(PurchHeader, PurchInvHeader, PurchCrMemoHdr);

.........................

[IntegrationEvent(true, false)]
local procedure OnFinalizePostingOnBeforeInsertValueEntryRelation(var PurchHeader: Record "Purchase Header", PurchInvHeader: Record "Purch. Inv. Header"; PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr.")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Fix issue #1254: pass the variable 'categorical'

pass the variable 'categorical' instead of the method 'is_categorical'
Based on the context of the codes, the variable 'categorical' should be passed in the function call of '_estimate_conditional_expectations' instead of the method 'is_categorical'

@all-contributors please add @Yangliu-SY

@all-contributors please add @Yangliu-SY for code.


No menus work for me

First, I am not blaming you or the code of the software. I respect what you've been doing for free, for us. On the latest version when I click an icon to open a menu I.E. (Pokeball to open the pokemon menu) nothing happens. What could that me? and if you need any information from me I will be glad you share it.

@LaZzie what bot? and the version? (Necrobot Forked/PokeMob)
Its stranger issue for me, never happened before
can you started bot from source? i need error/something information from your browser console.

Same for me here, menu not camo when I click and profile window on the right down corner doesn't appear either... it's when I'm using TurningBot.... the older version JavanHawk 8.17 work fine with TurningBot.
But with NecroBot 9.3 run smooth.

I think TurningBot its another bot.. yeah I change something with new version to read what Bot used (for send different request to bot).
@iwean can you give me link TurningBot?

I use not from first release, but from discord version (edited version)
TurningBot edited by Neil
I think necrobot get this killswitch from that bot...

@iwean bro try the latest version, i was try TurningBot and the bot not sending "TrainerProfile". Without that JavanHawk cannot read Exp, Level etc (I didnt found their source code)
View Pokemon (Evo/Transfer), Eggs, Items look fine.
Let me know if you got another error

@AndikaTanpaH Ok bro, you are doing great! I'm testing it right now.
Btw add color to IV % is very helpfull. Awesome !!!


[QUERY]

Query/Question
How can we help?
Can i use azure authentication for a custom application in which i want to authenticate without interacting with the UI and also perform the MFA if enabled.
Windows 10
using C# application

Hi @amitSahu9.  Apologies, but I'm not sure how to find the right folks to assist.
From the context of your issue, it seems as if you may be asking about the capabilities of Azure product offerings and not one of the SDKs from this repository.   Unfortunately, if that is the case, we're not able to offer assistance.  I'd recommend that you take a look at the product documentation for Azrue AD and Azure AD B2C.
If I'm misunderstanding and you're looking for help with the Azure SDK for .NET, can you help me understand which library you're working with and offer a bit more context about your scenario?

Hi @amitSahu9. Apologies, but I'm not sure how to find the right folks to assist.
From the context of your issue, it seems as if you may be asking about the capabilities of Azure product offerings and not one of the libraries from this repository. Unfortunately, if that is the case, we're not able to offer assistance. I'd recommend that you take a look at the product documentation for Azrue AD and Azure AD B2C.
If I'm misunderstanding and you're looking for help with the Azure SDK for .NET, can you help me understand which library you're working with and offer a bit more context about your scenario?

Hi @jsquire i want to user azure authentication without interacting with the UI , i mean is there an end point where i can pass the username and password and after that i can perform Multifactor Authentication with the UI . Please let me know if it is possible.

Hi @amitSahu9.  Unfortunately, this isn't an area where the Azure SDK team can assist.   You are most likely to find what you're looking for as part of the Azure Active Directory offerings, though I cannot speak to whether they meet your needs.
I'd recommend taking a look at the product documentation for Azrue AD and Azure AD B2C.  They'll discuss the features offered by each and offer quick-starts to help you explore their capabilities.
I'm going to close this out; please feel free to reach out with any questions or feedback pertaining to the Azure SDK libraries as you build out your application.


Allow specifying the grid size in microns

Fixes #845
To test:

Confirm tests still pass

Given parameter change could you review https://gerrit.diamond.ac.uk/c/gda/gda-mx/+/39676 too


VSCode changes .git folder Hidden attribute which bugs tsc -w

VSCode Version: Code 1.19.3 (7c4205b5c6e52a53b81c69d2b2dc8a627abaa0ba, 2018-01-25T10:36:34.867Z)
OS Version: Windows_NT x64 10.0.16299
Extensions: Extensions are disabled

Steps to Reproduce:

Open VSCode with a project using git.
Click on VSCode to focus on the application. This will modify the .\git folder Hidden Attribute.

Using a File Watcher software, I receive this popup when I focus on VSCode after tsc -w finishes compiling.

The change of the \.git folder causes tsc -w  to trigger the File change detected. Starting incremental compilation... message again but it doesn't actually compile anything.
Changing the setting to "git.enabled": false, fixes the problem. (But obviously also disables git in VSCode).

VSCode doesn't touch the git folder. It runs git status.
Does git status cause the same event?


add formal checks

The QueueFifoAlt_5_16SpecFormal fails because the QueueFifoAlt has a depth that is hard-coded to 16. Not sure if this is by design or an actual bug.

Thanks for finding that bug. (I was trying to explain different syntaxes for instantiating a Queue to someone.)
I've merged this and reenabled github actions. See #4 for a continued thread.


HDDS-7884. ofs: Recursive delete of path of symlink with empty source fails

What changes were proposed in this pull request?
For link bucket as orphan, fix the failure of volume not found or bucket not found.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-7884
How was this patch tested?
Integration test added for the orphan link bucket deletion

Thanks @sumitagrawl for this PR and for your comments on the jira.  Pls note, looks like an integration test is failing when testing the sym links in CI workflow:
TestOzoneFileSystemWithLinks.testLoopInLinkBuckets:228 Should throw Exception due to loop in Link Buckets

@SaketaChalamchala @tanvipenumudy can you please take a look?

Hi @sumitagrawl , I saw a problem with the symlink delete problem with orphaned link while reviewing this PR.  It occurs when the src volume/bucket for the link is deleted.  When the src for the link is deleted it causes an orphaned bucket link.  This in turn currently causes an error when the target link volume/bucket is recursively listed.  This should be handled.  It can be reproduced by,
create src and target link.
ozone sh bucket link /vol1/abc /s3v/abc
delete src volume/bucket
ozone fs -rm -R -skipTrash ofs://om/vol1
list recursively the target link:
ozone fs -ls -R ofs://om/s3v
drwxrwxrwx   - hadoop hadoop          0 2023-03-20 19:20 ofs://localhost/s3v/abc
ls: Volume not found when getting bucket info

Hi @sumitagrawl , I saw a problem with the symlink delete problem with orphaned link while reviewing this PR. It occurs when the src volume/bucket for the link is deleted. When the src for the link is deleted it causes an orphaned bucket link. This in turn currently causes an error when the target link volume/bucket is recursively listed. This should be handled. It can be reproduced by,
create src and target link. ozone sh bucket link /vol1/abc /s3v/abc delete src volume/bucket ozone fs -rm -R -skipTrash ofs://om/vol1
list recursively the target link: ozone fs -ls -R ofs://om/s3v drwxrwxrwx - hadoop hadoop 0 2023-03-20 19:20 ofs://localhost/s3v/abc ls: Volume not found when getting bucket info

@neils-dev Above case is handled and PR is updated

@neils-dev Looks like the test case failure is also related to #4246 ?

@neils-dev Looks like https://github.com/apache/ozone/pull/4405#issuecomment-1471145558 is also related to https://github.com/apache/ozone/pull/4246 ?

Thanks @smengcl .  Actually, the failure is something that should be handled here.  The other PR we have open, #4246 is for recursive deletes with symlinks where the src bucket is intact, however in this case the src bucket is removed leaving an orphan symlink.  Failures occurring with operations on this orphan symlink are handled by Sumit's PR.

Thanks @sumitagrawl for reaching out.  Let me take a look and also let me coordinate with @smengcl having this update and PR #4246 added as they will overlap a bit and conflict when we merge.

Thanks @sumitagrawl for reaching out. Let me take a look and also let me coordinate with @smengcl having this update and PR #4246 added as they will overlap a bit and conflict when we merge.

@neils-dev @smengcl Please check if the PR can be merged


Update the package script for new solr version

Summary:
The new solr version uses a cores folder structure and not
just a root conf directory.
Tested docker build works correctly. Updated package.
Fix for issue reported by Keith
@yafsn @byxorna @Primer42 @defect @defect

Seems reasonable to me. Have you tested building and running a container with this branch?

Tested docker build works correctly


Add functionality to manually publish a quickstart

Summary
Our current publishing workflows use the associated pull request to determine what needs to be published to nerdgraph. We would like the ability to trigger a workflow on demand to publish a single quickstart.
Desired Behavior

The workflow can be triggered just like any workflow_dispatch action
The workflow takes in the quickstart id
The workflow takes in the install plan id
The workflow publishes the contents of that quickstart on the main branch to nerdgraph.
The workflow publishes the  contents of the install plan on the main branch to nerdgraph.
This workflow  can only be run by Admins of the repo.

Helpful links

workflow dispatch trigger

Acceptance Criteria

[ ] the workflow for updating install plans can be dispatched manually
[ ] the workflow for updating quickstarts can be dispatched manually
[ ] both workflows take in the id of the install plan/quickstart and the region to publish (staging, prod, EU-prod)
[ ] both workflows use the install plan/quickstart on the main branch for publishing

@aswanson-nr will add some AC to this.

That's some fine AC. @aswanson-nr


NonNumericResponseException while executing command [SPEED], response []

Hi Elton,
i'm trying to use your library in my android project.  my project is in java, but i created a kotlin class for your library.
here is my kotlin class:

everytime i run this code it gives me a NonNumericResponseException. it happens with all of the commands.
can you please help me?
Thanks, Doron.

Hi Doron and Elton,
I am experiencing the same problem. Please, tell me if you get any clue, Doron.
Thanks, Lucas.

Hey @DoronShaul and @Lucastmarques I went over this issue this weekend and was able to confirm this is an issue.
I'm guessing this can be a release issue as the API is working properly in an app I developed before.
I'll continue looking further to resolve this ASAP. Feel free to share any findings.

Same issue here...

Hey!
Version 1.2.0 was just released and it should fix this issue.

issues still exist :(

This issue should now be resolved as version 1.3.0 was released.


how to use multipart upload file and  set filename is Chinese

hi  thank you  code .
i used guzzle  send email with api.
when i use curl upload and set filename  Chinese eg"中文", is worked.
but when i use guzzle  and set put "multipart"  filename lost.
here is my code, thank you again.
//...
[
            'name'     => '中文',
            'contents' => fopen('/path/to/file', 'r')
            'filename' => '中文.pdf'
]
//...

$http = new \GuzzleHttp\Client();
$response = $http->post($url, ['multipart' => $data]);
$results = $response->getBody()->getContents();
return json_decode($results);

Can you provide the debug output? http://docs.guzzlephp.org/en/latest/request-options.html#debug

I trace the source code and found that the php basename does not support Chinese.
so...
//guzzlehttp/psr7/src/MultipartStream.php
// line 120
// basename ($ filename) change to
get_basename ($ filename)
....

function get_basename ($ filename) {
      return preg_replace ('/^.+[\\\\\\/]/', '', $ filename);
}

Is there anything Guzzle can do here then? This seems like a PHP issue.

Closing as this is a PHP bug AFAIU.

it is not a issue of PHP basename function, because basenae depend on locale, so you should set locale correctly:
$langLocal = setlocale(LC_CTYPE, 0);
setlocale(LC_ALL, "zh_CN.utf8");
echo basename($filename);
setlocale(LC_ALL, $langLocal);

Stumbled upon this problem and this should be looked at again, because this forces all files to be english letters and obviously that's not always the case. There's already a fix for this: https://github.com/guzzle/psr7/pull/181/commits/3e963d4a6cc6c1e2bfd93cb3b33111ea8787981a
but there doesn't seem to be much attention to it


feat: replace sort icon

https://monday.monday.com/boards/3532714909/pulses/5070026459

Icon sizes and color should be fixed

oh damn, my bad, I did it on Atmosphere and forgot about it here also
thanks for noticing 🙏🏼


Close popup if combobox is not visible

What does the pull request do?

Drop-down list of the combobox is closed if the combobox becomes invisible.
What is the current behavior?

Opened drop-down list stayed open when the combobox becomes invisible.
What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

I added IsVisible property change subscriptions for visual parents of the combobox.
Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

None
Obsoletions / Deprecations

None
Fixed issues

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

It seems that WPF implements this via mouse capture:
https://github.com/dotnet/wpf/blob/main/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Controls/ComboBox.cs#L1690-L1696
Looks like a hack based on comments and it was perhaps planned for other controls as well.

Jevan Saks is still at Microsoft and active on the WinUI repo. If you are curious of a better way or the thinking at the time he might answer. (The comments indicate he was assigned the internal issue).

@kaminova can you resolve conflict, so this PR can be merged?


Arabic OCR is not working

I used the code below to parse an Arabic documents:
pipeline_options = PdfPipelineOptions()
pipeline_options.do_ocr=True
pipeline_options.do_table_structure=True
pipeline_options.table_structure_options.do_cell_matching = True
options = TesseractOcrOptions()
options.lang = ['eng', 'ara']
pipeline_options.ocr_options = options
doc_converter = DocumentConverter(
allowed_formats=[
InputFormat.PDF,
    ],
format_options={
    InputFormat.PDF: PdfFormatOption(pipeline_options=pipeline_options,
                                      backend=PyPdfiumDocumentBackend),

}

)
Here is the results: Completely off:

@Alla-Abdella Can you please re-check this after adding options.force_full_page_ocr = True? We need to be sure it is actually using OCR and not preferring content encoded in the PDF.

@Alla-Abdella have you installed the tesseract languages pack?
https://tesseract-ocr.github.io/tessdoc/Installation.html

@cau-git
ValueError: "TesseractOcrOptions" object has no field "force_full_page_ocr"


Containers section not showing any data - Kubernetes GKE Istio

HI,
I've been trying weave scope on my gke cluster, I use istio, the application is made of several microservices. It works fine for most of it (I can see my pods, hosts, etc...) however there is nothing under containers. I've just used your helm chart simply like this: " helm install stable/weave-scope -n weave --set global.service.type="LoadBalancer" --set global.image.tag="1.9.1" --set global.image.pullPolicy="Always""
What's in my cluster
The cluster is in GKE: v1.10.7-gke.1
I use Istio: 1.0.1
A bunch of microservices in nodejs are running in the cluster as well
What's working, what's not
The Processes, Pods and Hosts section are showing up in weavescope
The Containers section is not working, it shows: "Nothing to show"
Versions:
I used the following command to install weave-scope on my cluster:
helm install stable/weave-scope -n weave --set global.service.type="LoadBalancer" --set global.image.tag="1.9.1" --set global.image.pullPolicy="Always"
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.2", GitCommit:"bb9ffb1654d4a729bb4cec18ff088eacc153c239", GitTreeState:"clean", BuildDate:"2018-08-07T23:17:28Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10+", GitVersion:"v1.10.7-gke.1", GitCommit:"7221ffe8776f399448d61b4dc9edb5c69232aece", GitTreeState:"clean", BuildDate:"2018-08-29T23:11:12Z", GoVersion:"go1.9.3b4", Compiler:"gc", Platform:"linux/amd64"}

Logs:
$ kubectl logs <weave-scope-pod> -n <namespace>
time="2018-09-13T19:19:03Z" level=info msg="publishing to: weave-weave-scope.default.svc:80"
<probe> INFO: 2018/09/13 19:19:03.845128 command line args: --mode=probe --no-app=true --probe.docker=true --probe.docker.bridge=docker0 --probe.kubernetes=true weave-weave-scope.default.svc:80
<probe> INFO: 2018/09/13 19:19:03.845172 probe starting, version 1.9.1, ID 6b224c18fe170176
<probe> WARN: 2018/09/13 19:19:03.876237 Cannot resolve 'scope.weave.local.': dial tcp <IP_ADDRESS>:53: connect: connection refused
<probe> INFO: 2018/09/13 19:19:04.096348 Control connection to weave-weave-scope.default.svc starting
<probe> INFO: 2018/09/13 19:19:04.327550 kubernetes: targeting api server https://<IP_ADDRESS>:443
<probe> WARN: 2018/09/13 19:19:04.390095 Error collecting weave status, backing off 10s: Get http://<IP_ADDRESS>:6784/report: dial tcp <IP_ADDRESS>:6784: connect: connection refused. If you are not running Weave Net, you may wish to suppress this warning by launching scope with the `--weave=false` option.
<probe> ERRO: 2018/09/13 19:19:04.412740 conntrack stderr:NOTICE: Netlink socket buffer size has been set to 8388608 bytes.
<probe> INFO: 2018/09/13 19:19:04.574988 Publish loop for weave-weave-scope.default.svc starting
<probe> WARN: 2018/09/13 19:19:14.395992 Error collecting weave status, backing off 20s: Get http://<IP_ADDRESS>:6784/report: dial tcp <IP_ADDRESS>:6784: connect: connection refused. If you are not running Weave Net, you may wish to suppress this warning by launching scope with the `--weave=false` option.
<probe> WARN: 2018/09/13 19:19:34.396535 Error collecting weave status, backing off 40s: Get http://<IP_ADDRESS>:6784/report: dial tcp <IP_ADDRESS>:6784: connect: connection refused.  Happy Helming!
LAST DEPLOYED: Thu Sep 13 15:18:38 2018
NAMESPACE: default
STATUS: DEPLOYED

RESOURCES:
==> v1/ConfigMap
NAME                     DATA  AGE
weave-scope-weave-tests  1     5h

==> v1/ServiceAccount
NAME                     SECRETS  AGE
weave-scope-agent-weave  1        5h

==> v1beta1/ClusterRole
NAME                     AGE
weave-scope-agent-weave  5h

==> v1beta1/ClusterRoleBinding
NAME               AGE
weave-weave-scope  5h

==> v1/Service
NAME               TYPE          CLUSTER-IP     EXTERNAL-IP    PORT(S)       AGE
weave-weave-scope  LoadBalancer  <IP_ADDRESS>  <IP_ADDRESS>  80:30088/TCP  5h

==> v1beta1/DaemonSet
NAME                     DESIRED  CURRENT  READY  UP-TO-DATE  AVAILABLE  NODE SELECTOR  AGE
weave-scope-agent-weave  8        8        8      0           8          <none>         5h

==> v1beta1/Deployment
NAME                        DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE
weave-scope-frontend-weave  1        2        1           1          5h

==> v1/Pod(related)
NAME                                         READY  STATUS             RESTARTS  AGE
weave-scope-agent-weave-7ckfn                1/1    Running            0         5h
weave-scope-agent-weave-fxgpv                1/1    Running            0         5h
weave-scope-agent-weave-g9cl4                1/1    Running            0         5h
weave-scope-agent-weave-jncws                1/1    Running            0         5h
weave-scope-agent-weave-q774t                1/1    Terminating        0         5h
weave-scope-agent-weave-r2hm2                1/1    Running            0         5h
weave-scope-agent-weave-tc9mm                1/1    Running            0         5h
weave-scope-agent-weave-wws48                1/1    Running            0         5h
weave-scope-frontend-weave-576c9b89bd-lbp4h  1/1    Running            0         5h
weave-scope-frontend-weave-d5584499c-wms8l   0/1    ContainerCreating  0         0s

NOTES:
You should now be able to access the Scope frontend in your web browser, by
going to the URL given by:

kubectl -n default get svc weave-weave-scope \
-o jsonpath='http://{.status.loadBalancer.ingress[0].hostname}:80/{"\n"}'
For more details on using Weave Scope, see the Weave Scope documentation:

https://www.weave.works/docs/scope/latest/introducing/

Hi, do you know if GKE are using Docker, or CRI-O, or something else?
Nothing in the Scope logs about it having any trouble getting container info.


Fixed flax package version error in SayCan notebook

The SayCan notebook in the repository does not currently work "out of the box" because it was published and tested when the most recent version of Flax was 0.5.3. The current most recent version of Flax is 0.6.0 (released ~6 hours ago from the time of writing), which introduced a breaking change to code using flax.optim (which is used in this notebook when training the CLIP-conditioned Transporter Nets).
The fix was simply to change the pip install to use Flax version 0.5.3, though in future demos it's probably better to switch to the Optax API since flax.optim is deprecated.
@brianichter

Also, the changelog shows all these changes in character encodings that are an artifact of my saving this notebook from colab -- these can be ignored (unless you see an issue with this); only the pip install line is actually different.

Thanks very much for the fix, I've pushed this change and it should be updated shortly.

Today, I tried to run this notebook on google colab, and it fails at pip install, is there working versions of modules in requirements.txt as notebook with the all working versions of modules to share with me please?


Add support for pure lambda functions

Proposal: https://github.com/awslabs/chalice/issues/400
Sample code:
from chalice import Chalice

app = Chalice(app_name='testpurelambda')

@app.lambda_function()
def foo(event, context):
    return {"name": "foo"}

@app.lambda_function()
def bar(event, context):
    return {"name": "bar"}

@app.route('/')
def index():
    return {'hello': 'world'}

This will create 3 lambda functions:
 $ aws lambda list-functions --query "Functions[?starts_with(FunctionName, 'testpurelambda')].FunctionName"
[
    "testpurelambda-dev-foo",
    "testpurelambda-dev-bar",
    "testpurelambda-dev"
]

Codecov Report

Merging #401 into master will increase coverage by 0.02%.
The diff coverage is 95.45%.

@@            Coverage Diff             @@
##           master     #401      +/-   ##
==========================================
+ Coverage   92.75%   92.78%   +0.02%
==========================================
  Files          18       18
  Lines        2569     2591      +22
  Branches      334      336       +2
==========================================
+ Hits         2383     2404      +21
  Misses        137      137
- Partials       49       50       +1

Impacted Files
Coverage Δ

chalice/deploy/deployer.py
90.5% <100%> (+0.12%)
:arrow_up:

chalice/app.py
96.96% <94.11%> (-0.11%)
:arrow_down:

Continue to review full report at Codecov.

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

Feedback incorporated, added validation for dupe names.  Also fixed the travis build.  Let me know if there's anything else.