Polymer Dart 1.0.0-rc.2

todomvc is ported to polymer-dart 1.0.0-rc.2

I signed it!

Looks good, thanks for the contribution!


[fix] Make can output of Multiple possible types

input:
  props: {
    propB: [String, Number],
  }

output:
## props
- `propB` ***String|Number***

reference:
https://vuejs.org/v2/guide/components-props.html#Prop-Validation
propB

Coverage increased (+0.02%) to 99.185% when pulling 41aabef73bc963a857ae107cba3eeb8e88e5b23d on ota-meshi:custom into 11ab55dbc9cec5d6b980faa91a936bb8e9957d53 on vuedoc:master.

@demsking Thank you for review!
I changed the variable name, as your requested.
Please check again it.

Merged to the develop branch. I'll release a new version soon

Released<EMAIL_ADDRESS>


Number class shows degradation in math operations performance.

Issue Description
Number class shows degradation in math operations performance as compared to similar operations
implemented in STAmount.
Steps to Reproduce
Here is a simple unit test, which demonstrates the issue:

void
testSwap1()
{
    testcase("Swap1");
    using namespace jtx;

    std::uint16_t tfee = 1000;
    auto const gw = Account("gw");
    auto const USD = gw["USD"];
    auto const GBP = gw["GBP"];
    auto const issueIn = USD;
    auto const issueOut = GBP;
    auto const in = STAmount{USD, 1000};
    auto const out = STAmount{GBP, 1000};
    auto const assetIn = STAmount{USD, 1};
    auto const assetOut = STAmount{GBP, 1};

    auto start = std::chrono::high_resolution_clock::now();
    for (int i = 0; i < 100; ++i)
    {
        auto const fm = 1 - Number{tfee} / 100000;
        auto const res = in - (in * out) / (in + assetIn * fm);
    }
    auto elapsed = std::chrono::high_resolution_clock::now() - start;
    std::cout << "Number(swapIn) math: " << std::chrono::duration_cast<std::chrono::microseconds>(
                                        elapsed).count() << std::endl;

    start = std::chrono::high_resolution_clock::now();
    for (int i = 0; i < 100; ++i)
    {
        auto const n1 = STAmount{1};
        auto const feeMult = n1 - divide(STAmount{tfee}, STAmount{100000}, n1.issue());
        auto const en = multiply(in, out, issueOut);
        auto const den = in + multiply(assetIn, feeMult, issueIn);
        auto const res = out - divide(en, den, issueOut);
    }
    elapsed = std::chrono::high_resolution_clock::now() - start;
    std::cout << "STAmount(swapIn) math: " << std::chrono::duration_cast<std::chrono::microseconds>(
        elapsed).count() << std::endl;
    BEAST_EXPECT(true);
}

Expected Result
Math operations using Number and STAmount function should produce similar results.
Actual Result
The issue manifested itself in the payment engine updated for AMM. Swap in formula used
to figure out initial AMM offer size resulted in the throughput degradation.
Environment
The benchmark test ran on 11 "Ubuntu 20.04.4 LTS" servers (five validators, four clients, two signing) in AWS.
The unit test ran on OSX Ventura.


Update dismiss button color and text

Purpose

Summary of Changes
Side Effects / Testing Notes
Ticket
https://openscience.atlassian.net/browse/EMB-
Reviewer Checklist

[ ] meets requirements
[ ] easy to understand
[ ] DRY
[ ] testable and includes test(s)
[ ] changes described in CHANGELOG.md

Coverage remained the same at 4.425% when pulling 41ca891cd69899fc8e4c771a4ce8361aff236799 on feature/feedback-update into ef7432d582aa650a545d3e42918cf3abb390a2d4 on develop.


Test for FuZhuang

First make sure you read the test guidelines here: https://github.com/Wiredcraft/test-pm
This task will be followed up asynchronously over a few days and should not take more than two hours in total.
Project Introduction
You have been assigned as project manager for a project for the client Hodor Corp (your client stakeholder is Harry). The outcome of this project will be a website which allows a user to sign up, and log-in to a system that gives them stock market information. The system as a whole is expected in 5 weeks.
Project Details
The work has been divided into two parts:
• the backend and frontend for login and signup - This will be handled by Wiredcraft completely
• the backend and frontend for stock information which will be provided by a separate company Frodo Labs, you will need to interface with Frank, their project manager, to coordinate as they are building this system from scratch for Hodor Corp.
The specific requirements for the registration have been decided as Username, Password and Email address fields. The login will be based on username. And after sign up the stock market information system expects to receive the Username and Email so they can customise the information.
In your team you have:
• A designer who can make mockups and flow diagrams of the login and once confirmed, implement the frontend
• A developer who can implement the backend and help out integrating the login frontend
• A dev-ops engineer who can set up the servers and take care of deployment.
Your Task
The first step of this task is for you to provide the following:
• Clarify the requirements and provide your understanding of the final scope for Wiredcraft's work.
• An initial project plan including:
A work breakdown for Wiredcraft's integration with Frodo labs up to the final delivery
a rough timeline of what you think needs to happen in this project and deliverables. You can use the methodology of your choice for this plan,
Outline the project phases you would have and what should be delivered at each phase.
The plan can be a few paragraphs of text and the timeline can also be made using Github markdown by outlining what needs to be done during each week.
A rough outline of the process you would use for the day-to-day organisation of the development team and a short overview of how you would manage the communication flows internally and externally.
You can also kick off with any questions to multiple people in one GitHub comment, I will answer likewise and bring up more cases to test your communication skills as we go along:
(Assume you have already been introduced to the client (@hcharry111) and stock market service vendor (@flfrank222) ) and you can @myteam333 for questions to your development team)
e.g.
@flfrank222 - Hi there, can I confirm with you the requirements for ...
@hcharry111 - I heard from FLFrank222 that they need to have xxx, does that mean we need to change ....
@myteam333 - I'm not clear on how xxx could work, can you tell me more about it?
@mpathiuk - For the test, I don't understand what you mean by xxx ...

@mpathiuk For the test， is hcharry111 the product owner？Will the product owner provide a function feature list or our team will need to deliver a function specification？

You can see hcharry111 as the Project sponsor and main stakeholder. He's provided you the basic requirements, and you're not expected to go into a lot of detail, more of a high level work breakdown to gauge your experience in analysing project steps/deliverables and differentiating work items.

Requirement understanding

Background

Purpose: To build the user account module for the stock information website and allow website to present different contents to users based on user profile

Value: Enable the website to customize the content to users and accumulate user profile data for future use

Requirement scope
Wiredcaft will need to build the account module and enable it to interact with the master module of the stock information website. A rough breakdown of the function features as follows:

User profile management function（what fields will the user be able to edit after they log in）
User sign-up function（registration）
User log in function
Email verification function
Password recovery function
safety mechanism
API with master module

Open questions

whether the listed function features is sufficient from the client's point of view-will chat with the client to confirm；
Whether the current identified fields in user profile is sufficient for the master module for content differentiation-will chat with Frodo to confirm

For the test，the waterfall method I'm currently use in my current position，the rough timeline （milestones）would be:
Week1 Day2
Confirmation of function specs with Team and client and Frodo lab project manager，assuming feature items aligned as：

User profile management function（what fields will the user be able to edit after they log in）
User sign-up function（registration）
User log in function
Email verification function
Password recovery function
safety mechanism
Deliverable: Function specification document

Week 2 Day3
Confirmation of user case and UI design for all all features with the team and client
Deliverable: User case doc and UI design doc
Week2 Day 5
Confirmation of technical design with the team
Deliverable: Technical design doc，including API definitions
Week4 Day 2
Smoke test for main features and user flows，starting API testing with master module with Frodo labs
Deliverable: email confirmation of smoke test pass
Week4 Day5
All features dev finished and tested，including API testing with master module with Frodo labs
Deliverable: Testing doc
Week5 Day2
UAT confirmation by client
Deliverable: email to confirm UAT pass
Week5 Day 5
Lauch and deployment to production
Deliverable: Online functioning module
After project， review meeting and records

I would try to produce a scrum version of the plan later today，with what I learned from the scrum training

Scrum plan
Phase\Timeline\Content\Deliverables

Sprint Planing\Week 1\Clarify requirements and confirm work items，inviting all team members and stakeholders\Function feature list for the user account module
Sprint Planning \Week1\Sprint Planning meeting follow-up---Estimate sprint budget and work item cost（in hrs），agree on Sprint backlog\Sprint backlog；breakdown to daily tasks
Sprint \Week 1 -Week3\ Use burndown chart to track progress of work items & daily tasks completed. Finish all initial functional development and unit tests at the end of week 3\Burndown chart；Design&Technical documentation； Functioning pages for sign-up， log in and password recovery and etc.
Sprint \Week 4\Integration test\Burntdown chart；Testing documentation
Sprint \Week 5\UAT & Launch\Burntdown chart； UAT&Dev-op documentation
Sprint Review\Week 5\Celebrate sprint competition and review lessons learned in this sprint

Daily communication routine:

30 mins Standup meeting every morning: Each member of the dev team will summarize what he did yesterday, what he will do today and what’s the barriers he encountered and what help he might need.
Update burndown chart at the end of the day by each dev member

Organization of communication

In general situations，I would be using group chat for updating information with relevant parties （usually there would be a chat group for internal teams and a separate one with teams plus external stakeholders including client and contract partners or etc.） so that all members in the group could follow up the thread without repeating the same information. For complex issues，a conference call would be set up so people could align on decisions and agree on action items concerning the complex issue.
Important conclusions and action items lists will be posted as reminders and visible to all related parties.
In specific circumstances，I might also talk to individuals separately so that the same action\decision could be accepted by presenting them on appropriate ways

@hcharry111 Hi there，from our initial communication，currently we would need your feedback on 2 issues:

Function features specification:
here's summary from our discussion yesterday:

User profile management function（what fields will the user be able to edit after they log in）
User sign-up function（registration）
User log in function
Email verification function
Password recovery function
As far as we understand you want a simple and standard version for this part，is this list in line with your expectation？ Pls let us know we you have more things in your mind.

Would you be able to provide an estimate of the average and peak daily user visit of the website you expected？We would need to set up performance indicators for the website functioning test.

@flfrank222 On our sprint planning meeting yesterday，we've specified that the fields for user account profile will be the following:

Username
Password
Email address
Could you kindly confirm that these fields  are sufficient for our integration of the master module function from your side？

Follow up questions covered during interview. Closing as completed. Thanks for participating @fuzhuangli .


Request: detect animated webp

I would be useful to detect whether the .webp image is animated.
It would, at least for me, change the way the image is processed. Normally I would just resize and output as jpeg, but for animated webp I would output to gif or webp.
Webp support isn't yet 100 % so I can't just output everything to webp, I have to select the ones I do...

Hello, this will require an addition to libvips to include the detection and exposure of frame count. In the meantime, perhaps use something like https://github.com/PeckZeg/animated-webp-info

I've released node-webpinfo for this usage.
Also, this package does not requires any native addons or programs like libwebp. also this is WritableStream. so you can stream WebP data to get WebP information.


[DC-733] Update tests that use renderHook for compatibility with React 18

@testing-library/react-hooks does not support React v18. Instead, renderHook was added to React Testing Library in v13. However, it has a simplified API. The React Testing Library version of renderHook does not return a waitForNextUpdate function.
https://testing-library.com/docs/react-testing-library/api#renderhook
This updates Terra UI tests that use renderHook for compatibility with React v18 / React Testing Library v14. Mainly, this is replacing await waitForNextUpdate() with await act(...).
Many hooks contain effects that do async things (usually fetching data) when the hook is rendered. For these, renderHook has to be wrapped in act to wait for those async updates to finish. I added a helper to test-utils to make this more convenient.
const { result: hookReturnRef } = await renderHookInAct(() => ...);

vs
let hookReturnRef: { current: HookResultType };
await act(async () => {
  hookReturnRef = renderHook(() => ...).result;
})

One other stumbling block... it's difficult to test state in the middle of an async update (case in point: the "loading" state in useLoadedData). Testing Library complains if act isn't awaited and if the render is not wrapped in act. The useLoadedData tests are kind of hacky to work around this.
In the update to React v18 / React Testing Library v14, all imports from @testing-library/react-hooks will need to be changed to @testing-library/react.

@nawatts you have a merge conflict

Rebased to resolve merge conflict.


Mention return type difference between >> and map

https://docs.raku.org/language/traps#Using_»_and_map_interchangeably
It's worth noting that >> produces a List while Map produces a Seq. This is more or less a consequence of autothreading over the values while trying to preserve order.

authothreading producing a List is an implementation detail, it could well have produced a Seq

Ouch. Well, what can I say. Something leaking to the end user as a high-level type shouldn't be an implementation detail in the first place.

Well, that's a more general issue in core / documentation, that's been bothering me for a long time  :-)
And some of it is actually frozen in spectests  :-(

@lizmat do you think I should close this issue?


get_symbols missing a "self" in session.py

Hi,
As title says, the get_symbols missing method a "self" in session.py to work.
Thanks for this API.
LPT

Could you point me to the exact line number please?

This would be line #285.
It should be this instead:
def get_symbols(self, names=None, ids=None, id=None):


Processes run in OPT mode are not immediately running after predecessors have finished

When running RushTI in OPT mode, the script should

Run Cube target version clear
Run Cube source version export
Run cube target version import (After ensuring 1 & 2 are finished)

But what seems to be happening is that the import is not starting until all cube export and clears have finished, which seems more in line with the use of the wait command
Please find attached example of RushTI TXT file and the log output from the execution.
RushTI.log
SnapshotAllCubes.txt

Hi @lbrowncubewise,
If you need to launch the bloc you described ( {1, 2} -> {3}) bloc by bloc, you should link each bloc with the next one in the tasks file like this :
id="11" predecessors="" instance="XXfab" process="}bedrock.cube.data.export"
id="21" predecessors="" instance="XXfab" process="}bedrock.cube.data.clear"
id="31" predecessors="11,21" instance="XXfab" process="}bedrock.cube.data.import"
id="12" predecessors="31" instance="XXfab" process="}bedrock.cube.data.export"
id="22" predecessors="31" instance="XXfab" process="}bedrock.cube.data.clear"
id="32" predecessors="12,22" instance="XXfab" process="}bedrock.cube.data.import"
etc...
I hope that answers your need.

Hi @ichermak not quite. The issue is more that the sequencing is not working as expected. I.e in the below example Id 31 should not run till 11 and 21 have finished but this fault is because 31 is running before these have finished.
id="11" predecessors="" instance="XXfab" process="}bedrock.cube.data.export"
id="21" predecessors="" instance="XXfab" process="}bedrock.cube.data.clear"
id="31" predecessors="11,21" instance="XXfab" process="}bedrock.cube.data.import"

Hi @lbrowncubewise,
sorry for responding soo late on this issue.
Is it still an issue? Then I will look into it.

Hi @MariusWirtz ,
I am facing similar issue as @lbrowncubewise .  Let's consider the example attached in "SnapshotAllCubes.txt" file above.
id="11" predecessors="" instance="XXfab" process="}bedrock.cube.data.export"
id="21" predecessors="" instance="XXfab" process="}bedrock.cube.data.clear"
id="31" predecessors="11,21" instance="XXfab" process="}bedrock.cube.data.import"
id="12" predecessors="" instance="XXfab" process="}bedrock.cube.data.export"
id="22" predecessors="" instance="XXfab" process="}bedrock.cube.data.clear"
id="32" predecessors="12,22" instance="XXfab" process="}bedrock.cube.data.import"
id="13" predecessors="" instance="XXfab" process="}bedrock.cube.data.export"
id="23" predecessors="" instance="XXfab" process="}bedrock.cube.data.clear"
id="33" predecessors="13,23" instance="XXfab" process="}bedrock.cube.data.import"
etc...
My understanding is that, If I am running above in OPT mode with 3 maximum workers,
In First run it should execute, ID # 11, 21 & 12
Lets assume ID  # 11 finished first, then It should trigger ID # 22 (while ID # 21 & 12 still going).
Next lets assume ID # 21 finished, I would expect ID # 31 to kick off ( as ID #11 & 21 finished), But what it does is go to ID # 13 and so on to ID # 23.
ID # 31, 32 & 33 will wait until all other ID # without predecessors are finished executing, while I was expecting RushTI should have triggered them in between as predecessors IDs are completed.


replace default Identity

Fixes #6990
Internal review URL

@javiercn  once we agree to the doc changes I'll add links to this section in the migration docs and other identity docs.

I think it looks good.

@javiercn  Isn't there a more elegant way to fix - Navigating to the /Identity/Account/Manage generates the following exception: see Internal review URL

@Rick-Anderson I would not phrase it like that, but just say that you need to register your own IEmailSender implementation. With respect to that statement about GDPR I'm not sure what to say about that. I'll let @blowdart chip in

I don't see why GDPR is mentioned here at all?


Enable MCO from cluster operator

/retest

This is now tested and only change we require on crc side to add the generated ssh key to the MCO side mostly patching the 99-master-ssh machineconfig resource.


fix(Breadcrumbs): add correct html5 structured microdata for breadcrumbs

- Problem
Right now, the Breadcrumbs on Orbit contain structured microdata that helps google identify the different parts of the breadcrumbs for SEO purposes (https://developers.google.com/search/docs/data-types/breadcrumb).
When parsing the HTML, Google takes the @id property from the href property of a given anchor, to identify the URL of the breadcrumb. However, when the href is not present i.e when you are only using the onClick handler, this @id property is currently not set.
This is caused because the id property on the Breadcrumbs do not add the correct property on the breadcrumbs for google to identify them. The correct property to add is itemid.
- Solution
This MR adds valid microdata for the Breadcrumbs by setting the itemid when the id prop is present and defaulting to href if no id is set.
By that, https://search.google.com/structured-data/testing-tool/u/0/ effectively passes and the SEO of the Breadcrumbs is improved when no href is set.
- To test
Create a Breadcrumb without hrefs (Added the option on Storybook playground), and paste the HTML code in the structured-data console. Check that everything passes nicely e.g

@vepor Seems like I need a valid surge account for deploying the Storybook? Any account would do it?


How to display state properties of a react component

Hello Team,
I am working with Storybook and using the info Addon for displaying the properties of the component in the story. And I wanted to display the state properties of the component too.

Is there some way I can use the same addon to display the state properties of the component?
Or there is some other addon I have to use for this purpose?

Thanks in advance.
Amit

Hey @amittkSharma, what properties of the state do you exactly want to display?
The reason that the addon-info can display the additional information of the properties of components is cuz they are statically defined. As far as I'm aware, that is rarely to not done for the state of react components. Or are you referring to different information?

Hi Keraito,
Thanks for the response, but the thing I am referring is some kind of state interface that a react component has? This will be useful for the user using the storybook to get the information that what kind of state a component will be maintaining.
Thanks
Amit

Hi @amittkSharma,
The info addon currently uses the parse tree to generate propTypes docs. However, state documentation is not supported unless you just want to use withInfo. Perhaps in the future we can support flow annotations on state type definitions.

Thanks, looking forward to the feature in the addon.

For now, if you want to document state it'll prob be just just to write it out. 👍


Comply with microformats2

We are going to comply with the following:

[ ] h-card for author info
[ ] h-feed meta tag for articles page
[ ] h-entry for articles on article index page
[ ] h-entry for articles on article page

List to be kept updated in this comment.


Plugin stops working after suspend

Plugin stops working after suspend.
For example I have a button to turn on my elgato keylight air, workes as expected but when waking the PC from suspend the plugin stops working which requires Streamcontroller to be fully close, re-open, and plugin works again.

I'll see if I can recreate this on my machine. I'm not happy with the current reconnect mechanism anyway.

logs.txt
heres some logs, currently the plugin is not working. I have restarted the application yet

I have the same problem. Ubuntu 24.04.1. Quitting and reopening StreamController helps as a workaround, but is a bit annoying ;-)

I implemented a workaround. Please tell me how that works for you.

Never heard of this option. Is there still something to do for me here?

issue persists for me :-(
logs.txt

Never heard of this option. (...)

You can find it in Settings -> System -> Last toggle button
After a bit of testing it seems like it does not update values if they got updates during suspend. Only if an entity gets a new update the new value will be shown, before that the old (most likely outdated) value is shown.

I feel like we are dealing with two seperate issues here. @oparada1988's plugin completely breaks after suspend, while @asmaps' just doesn't reconnect properly - for which there already is an open issue. Is that correct?
Either way I probably won't have time to look into it until next year.

Yeah that's probably correct. If I have time I can also try to look into it myself but I'm also pretty busy atm, so don't know when that could be. Thanks for your efforts!

Same problem here, after suspend buttons assigned to homeassistant won't work anymore. If i open Streamcontoller to change settings regarding those buttons the whole flatpak breaks down and I have to kill it. After restarting the flatpak everything is working again until next suspend.
Had a look into logs on my own but at those specific moments  when pc enters or leaves suspend it seems log is not writing anything (errors etc.) regarding this. So i can not debug on my own or at least guess what it could be.


Proposal for help

Hi @williamFalcon  ! I saw your project and I am very pleased by the idea. I wish to help you writing production level code.  PLease let me know in what way can I help!

Sounds great. can you send me a pm on twitter? we can coordinate through there _willfalcon

Seems like on twitter both the sides have to follow each other in order to share PMs. Any other platform?

good point haha. didn't know that about twitter. I've added you anyhow, but let's just chat here.
First step to helping is for you to do the following things and document your experience such as what was hard, what was not intuitive, what documentation would be helpful, etc.

Build and run the demo.
Build a simple classifier on your own using this.

From there we can see where the gaps are in usability and documentation. Then we can make a dev plan to get those things fixed in the library.
How does that sound? What's a good ETA to get that done?
Thanks!

Yes. I will do these after this week only. (I am too busy this week)
Anyways, the things that majorly concern me is the organisation of the package. You can have a look at my other library (Not related to DL) EinsteinPy, but you can have a look at how extensively its tested etc.

From there we can see where the gaps are in usability and documentation. Then we can make a dev plan to get those things fixed in the library.

For this plan, I will get back to you this Tuesday?

Sounds great. Yeah, this is a research library, so I didn't write tests for it because I've been moving quickly through research for publication. Tests would be great! I have however tested it myself when using/coding it, just didn't write an explicit test out.
Writing code for research has a less rigorous approach than code for a production system haha.

I have however tested it myself when using/coding it, just didn't write an explicit test out.

No issues! I would love to help. I will make some organisational changes in a PR, for making docs and CI easy! Is that fine?

perfect. Looking forward!

One question. Why is the package name pytorch_lightning somewhere and pytorch-lightning somewhere else?

Oh! I am sorry, the tuesday thing got slipped off my mind. Will do this shortly :)

Hi! lighting has been updated to include: tensorboard visualization, multi-gpu training, multi-node training, thoroughly documented and updated clean syntax.
Would be auper helpful if you tried version 0.21 and provided feedback!
Thanks!


Make sure to set _GLIBCXX_USE_CXX11_ABI=0 if it's not defined

This is necessary to make sure we can compile TensorFlow with gcc4 and compile custom operator with gcc5.

Can one of the admins verify this patch?

Jenkins, test this please

@jhseu, @gunan, thanks for the quick turnaround!


Method 'sectionController(_:didSelectItemAt:viewModel:)' has different argument labels from those required by protocol

New issue checklist

[X] I have reviewed the README and documentation
[X] I have searched existing issues and this is not a duplicate
[X] I have attempted to reproduce the issue and include an example project.

General information

IGListKit version: 4.0.0
iOS version(s): 13.2.2
CocoaPods/Carthage version: CocoaPods 1.9
Xcode version: 11.2.1
Devices/Simulators affected: all
Reproducible in the demo project? (Yes/No): no
Related issues:

I just updated my pods, including IGListKit to 4.0.0.  Now, every instance in the app where I use sectionController didSelectItemAt is now throwing an error.
Method 'sectionController(_:didSelectItemAt:viewModel:)' has different argument labels from those required by protocol 'ListBindingSectionControllerSelectionDelegate' ('sectionController(_:didDeselectItemAt:viewModel:)')

Method 'sectionController(_:didSelectItemAt:viewModel:)' has different argument labels from those required by protocol 'ListBindingSectionControllerSelectionDelegate' ('sectionController(_:didHighlightItemAt:viewModel:)')

Method 'sectionController(_:didSelectItemAt:viewModel:)' has different argument labels from those required by protocol 'ListBindingSectionControllerSelectionDelegate' ('sectionController(_:didUnhighlightItemAt:viewModel:)')

My code:
extension InfoSectionController: ListBindingSectionControllerSelectionDelegate {

    func sectionController(_ sectionController: ListBindingSectionController<ListDiffable>,
                           didSelectItemAt index: Int,
                           viewModel: Any) {
        if let viewModel = viewModel as? NavigationProvidable {
            viewController?.present(viewModel.navigation)
        }
    }
}

I've checked the documentation, and the signature appears correct.  Anyone have any suggestions as to what I need to do here?

If I add empty stubs for the other methods, it works:
´´´
func sectionController(_ sectionController: ListBindingSectionController, didDeselectItemAt index: Int, viewModel: Any) {
}
func sectionController(_ sectionController: ListBindingSectionController<ListDiffable>, didHighlightItemAt index: Int, viewModel: Any) {
}

func sectionController(_ sectionController: ListBindingSectionController<ListDiffable>, didUnhighlightItemAt index: Int, viewModel: Any) {
}

´´´

Hello, may I ask if the problem has been solved


Cross-region load balancer roadmap

Is there plans to address the below limitations? We have a pipeline that handles 10B requests and 15TB worth of data daily across 4 regions that we would like to put behind cross-region private load balancer.

Cross-region frontend IP configurations are public only. An internal frontend is currently not supported.

Private or internal load balancer can't be added to the backend pool of a cross-region load balancer

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

ID: 22cdce66-2297-7485-f557-a98ab550082e
Version Independent ID: b9571d39-0db0-adba-07fc-ac0c553f52b0
Content: Cross-region load balancer - Azure Load Balancer
Content Source: articles/load-balancer/cross-region-overview.md
Service: load-balancer
GitHub Login: @mbender-ms
Microsoft Alias: mbender

@nelsonpv
Thanks for your feedback! We will investigate and update as appropriate.

@nelsonpv
Thank you for reaching out. I have included you in an internal email regarding your question above.
As we primarily monitor this channel for documentation bugs/enhancements we will proceed to close this issue out. Please let me know if you have any questions. Thank you!


Separation of creation of test status in report and verification of created test status in integration test

Description
Extracted execution of test cases for creating specific test status for report tests from actual integration test to avoid test failures, which are ok in general.

pretest phase: mentioned test cases are executed and a log4j-log-file is generated. Done with command
'gradle test -P pretest=true -D log4j2.configurationFile=src/test/resources/log4j2-pretest.xml'

executes src/test/resources/Execution.xml

log4j-log-file is evaluated for the expected test status per test method with command
'gradle test'

executes src/test/resources/CheckStatus.xml implicitly
CheckStatusTest class contains test methods reading the log file and asserting several parameters

Additional Information

full parallel execution not possible, because of TestNgPriorityTest
DataProviderTest not in pretest phase because only failed and expectedfailed status are created

Open Topics

deletion of package integration-tests\src\test\java\eu\tsystems\mms\tic\testframework\playground
deletion of tests asserting or validation status in package execution for each test that created a status

Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

There is no change.


Stitching Delegate directive arguments not working when path contains field

Describe the bug
When extending type with stitched schema, using nested field and using argument, argument resolution fails.
To Reproduce
Steps to reproduce the behavior:

Extend type with field with arguments
Use arguments in delegate path
Add nested field to path

extend type Query {
  inventoryInfo(sku:String!):    InventoryInfo @delegate(schema: "inventory", path: "inventoryInfo(sku: $arguments:sku)")
  isProductInStock(sku:String!): Boolean       @delegate(schema: "inventory", path: "inventoryInfo(sku: $arguments:sku).isInStock")
}

Expected behavior
inventoryInfo will work.
isProductInStock will not work. Error states that there is no sku argument on InventoryInfo.
Desktop (please complete the following information):

Version 11.2.2

Tested on 11.3.1, same bug.
Error extensions returned:
"extensions": {
  "type": "InventoryInfo",
  "field": "isInStock",
  "argument": "sku",
  "specifiedBy": "http://spec.graphql.org/June2018/#sec-Required-Arguments",
  "remote": {
    "message": "The argument `sku` does not exist.",
    "locations": [{}],
    "path": [
      "isProductInStock"
    ],
    "extensions": {
      "type": "InventoryInfo",
      "field": "isInStock",
      "argument": "sku",
      "specifiedBy": "http://spec.graphql.org/June2018/#sec-Required-Arguments"
    }
  },
  "schemaName": "inventory"
}

Same problem occurs on mutations


HBASE-28250 Bump jruby to <IP_ADDRESS> to fix snakeyaml CVE

Please see https://issues.apache.org/jira/browse/HBASE-28250 for RCA

This is good for review, except licensing changes, if any, need to analyse!

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 37s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m 16s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m  6s

master passed

+1 :green_heart:
compile
8m  8s

master passed

+1 :green_heart:
spotless
0m 45s

branch has no errors when running spotless:check.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 17s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 57s

the patch passed

+1 :green_heart:
compile
8m  7s

the patch passed

+1 :green_heart:
javac
8m  7s

the patch passed

-0 :warning:
blanks
0m  0s
/blanks-eol.txt
The patch has 1 line(s) that end in blanks. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

-0 :warning:
rubocop
0m  3s
/results-rubocop.txt
The patch generated 17 new + 23 unchanged - 22 fixed = 40 total (was 45)

+1 :green_heart:
xmllint
0m  0s

No new issues.

+1 :green_heart:
hadoopcheck
10m 46s

Patch does not cause any errors with Hadoop 3.3.6 3.4.0.

+1 :green_heart:
spotless
0m 44s

patch has no errors when running spotless:check.

_ Other Tests _

+1 :green_heart:
asflicense
0m 23s

The patch does not generate ASF License warnings.

42m 26s

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6127/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6127

Optional Tests
dupname asflicense javac codespell detsecrets rubocop spotless xmllint hadoopcheck compile

uname
Linux 7d84631ce7e3 5.4.0-177-generic #197-Ubuntu SMP Thu Mar 28 22:45:47 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 879fd86be33979ab0c8b6b64f902ef2c07b3aa26

Default Java
Eclipse Adoptium-17.0.11+9

Max. process+thread count
190 (vs. ulimit of 30000)

modules
C: hbase-shell . U: .

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 16s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m  1s

the patch passed

+1 :green_heart:
compile
2m 13s

the patch passed

+1 :green_heart:
javac
2m 13s

the patch passed

+1 :green_heart:
javadoc
2m 19s

the patch passed

+1 :green_heart:
shadedjars
5m 23s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
301m 35s

root in the patch passed.

335m 24s

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6127/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6127

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 67cf6d6fda85 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 879fd86be33979ab0c8b6b64f902ef2c07b3aa26

Default Java
Eclipse Adoptium-17.0.11+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6127/1/testReport/

Max. process+thread count
8833 (vs. ulimit of 30000)

modules
C: hbase-shell . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6127/1/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

This is good for review, except licensing changes, if any, need to analyse!

Just verified, we do not need any licensing changes as apparently ruby licensing is already in place: https://github.com/ruby/irb/blob/v1.4.2/LICENSE.txt is already there in our LICENSE.txt: https://github.com/apache/hbase/blob/836f2d9a5b3ae013ecd84efb457bf7ff20cdd997/LICENSE.txt#L617

Hi just updating how I have been testing out this version bump. Following are the things i have tested:

HBase Shell sanity commands in a standalone on Mac and distributed cluster (with/without kerberos, both cases) on RHEL

Tested in distributed mode by backporting changes to 2.6.0 code fork
While have tested in standalone mode with master OS code itself

HBase Shell Help command, works fine!
JRuby version check

Shell echo and then pipe command and check exit code.

Covers https://issues.apache.org/jira/browse/HBASE-18393

Shell top level defs to load a scipt inside shell.

Covers https://issues.apache.org/jira/browse/HBASE-26269

Shell echo then pipe and run script in background.

Covers https://issues.apache.org/jira/browse/HBASE-26772

Shell error handling cases.

Covers https://issues.apache.org/jira/browse/HBASE-26751, https://issues.apache.org/jira/browse/HBASE-26741 and https://issues.apache.org/jira/browse/HBASE-26880

Shell exit code in case of error.

Covers https://issues.apache.org/jira/browse/HBASE-26741

Run other existing scripts like get-active-master.rb, replication/copy_tables_desc.rb, draining_servers.rb and ensure no error.
Test basic ruby code, works fine!

puts "Enter first value: "
num1=gets.chomp.to_i
puts "Enter second value: "
num2=gets.chomp.to_i
sum=num1+num2
puts "The sum is #{sum}."

Test basic HBase ruby code, works fine, with removal of import

java_import 'org.apache.hadoop.hbase.HBaseConfiguration'
java_import 'org.apache.hadoop.hbase.client.HTable'
java_import 'org.apache.hadoop.hbase.client.Scan'
java_import 'org.apache.hadoop.hbase.util.Bytes'

config = HBaseConfiguration.create()
connection = ConnectionFactory.createConnection(config)
table_name = TableName.valueOf("nj:test")
table = connection.getTable(table_name)

scan = Scan.new()
scanner = table.getScanner(scan)

iterator = scanner.iterator()

while iterator.hasNext()
  result = iterator.next()
  puts Bytes.toString(result.getRow())
end

scanner.close()
connection.close()

Here, there's a breaking change import commands no longer work, so we ought to use java_import

Tested TAB behavior. Now instead of asking to display all possible options, it just picks up some command from history
Test Autocomplete, works fine for most commands

Test Autocomplete in a scenario where we try switching to command 'disable_all' by typing 'disable' and then TAB

Buggy, command hangs and we are not able to take input

Based on point 12 and 14, I suggest to disable colorize and auto_complete which are by default enabled in JRuby <IP_ADDRESS> and is very buggy Or we could document steps on how to disable it via .irbrc. See https://github.com/ruby/irb/issues/445 and https://github.com/ruby/irb/issues/351. Will update PR based on how others feel.
Based on point 11, we may need to add removal of import for custom ruby scripts.
Rest all looks good to me.

Please fix the whilespace issue and also open a PR against branch-2.
Thank @Apache9 for the review, will fix whitespace.

Which all branches should we target? Just branch-2 right? Also just wanted to call out again JRuby 9.4.x targets Ruby 3.1 compatibility instead of Ruby 2.6 which 9.3.x were having!
Anyways I have tested my changes on 2.6.0 itself and all work good mostly!

Thanks for the thorough testing here. This looks very promising!
Re: autocomplete and colors, can we disable them by default and document how to reenable them for the brave?

Should this PR also update all the internal rb scripts to use java_import as appropriate?

Hi Nick thanks for taking time to review this PR.

Re: autocomplete and colors, can we disable them by default and document how to reenable them for the brave?

I can think of two approaches to implement same:

Expose flags in hbase shell to allow colorize and auto-complete. Something like below:

cmdline_help = <<HERE # HERE document output as shell usage
Usage: shell [OPTIONS] [SCRIPTFILE [ARGUMENTS]]

 -d | --debug            Set DEBUG log levels.
 -h | --help             This help.
 -n | --noninteractive   Do not run within an IRB session and exit with non-zero
                         status on first error.
 --top-level-defs        Compatibility flag to export HBase shell commands onto
                         Ruby's main object
 -Dkey=value             Pass hbase-*.xml Configuration overrides. For example, to
                         use an alternate zookeeper ensemble, pass:
                           -Dhbase.zookeeper.quorum=zookeeper.example.org
                         For faster fail, pass the below and vary the values:
                           -Dhbase.client.retries.number=7
                           -Dhbase.ipc.client.connect.max.retries=3
 -c | --colorize         Enable colorize
 -a | --autocomplete     Enable autocomplete
HERE

Or, let user set their preferences via .irbrc file and we respect that. For example, if user explicitly sets these features to be enabled, override and ignore our default setting in code

# Load .irbrc
require 'irb'
irbrc = "#{ENV['HOME']}/.irbrc"
if File.exist?(irbrc)
  load irbrc
end

# Check and set :USE_AUTOCOMPLETE
unless IRB.conf.key?(:USE_AUTOCOMPLETE)
  IRB.conf[:USE_AUTOCOMPLETE] = false
end

# Check and set :USE_COLORIZE
unless IRB.conf.key?(:USE_COLORIZE)
  IRB.conf[:USE_COLORIZE] = false
end

Should this PR also update all the internal rb scripts to use java_import as appropriate?

I have tried ruby scripts like get-active-master.rb, replication/copy_tables_desc.rb, draining_servers.rb to check they work even after this change. Also I had done a quick check with following command: grep -rnw './' -e '^import' --include '*.rb'. Thankfully we have no usage of import, and we use use java_import everywhere.

Hi Nick thanks for taking time to review this PR.

Re: autocomplete and colors, can we disable them by default and document how to reenable them for the brave?

I can think of two approaches to implement same:

Going ahead to implement and update PR with approach 1.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 38s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m 16s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m  5s

master passed

+1 :green_heart:
compile
8m  7s

master passed

+1 :green_heart:
spotless
0m 45s

branch has no errors when running spotless:check.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 15s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 53s

the patch passed

+1 :green_heart:
compile
8m  7s

the patch passed

+1 :green_heart:
javac
8m  7s

the patch passed

-0 :warning:
blanks
0m  0s
/blanks-eol.txt
The patch has 1 line(s) that end in blanks. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

-0 :warning:
rubocop
0m  6s
/results-rubocop.txt
The patch generated 17 new + 32 unchanged - 22 fixed = 49 total (was 54)

+1 :green_heart:
xmllint
0m  1s

No new issues.

+1 :green_heart:
hadoopcheck
10m 47s

Patch does not cause any errors with Hadoop 3.3.6 3.4.0.

+1 :green_heart:
spotless
0m 45s

patch has no errors when running spotless:check.

_ Other Tests _

+1 :green_heart:
asflicense
0m 23s

The patch does not generate ASF License warnings.

42m 43s

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6127/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6127

Optional Tests
dupname asflicense javac codespell detsecrets rubocop spotless xmllint hadoopcheck compile

uname
Linux ebf1d9694b6d 5.4.0-177-generic #197-Ubuntu SMP Thu Mar 28 22:45:47 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / e8b359a263314d2a34c07febf29ef78937f15535

Default Java
Eclipse Adoptium-17.0.11+9

Max. process+thread count
191 (vs. ulimit of 30000)

modules
C: hbase-shell . U: .

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 16s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m  0s

the patch passed

+1 :green_heart:
compile
2m 17s

the patch passed

+1 :green_heart:
javac
2m 17s

the patch passed

+1 :green_heart:
javadoc
2m 20s

the patch passed

+1 :green_heart:
shadedjars
5m 24s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
302m 32s

root in the patch passed.

336m 48s

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6127/2/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6127

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 9d4ed3dae6e6 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / e8b359a263314d2a34c07febf29ef78937f15535

Default Java
Eclipse Adoptium-17.0.11+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6127/2/testReport/

Max. process+thread count
8872 (vs. ulimit of 30000)

modules
C: hbase-shell . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6127/2/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

Ping @ndimiduk could you please see if commit 2 addresses your review comment

Thank you so much for your reviews @ndimiduk and @Apache9. I will raise a backport for branch-3 next.
Let me know if should pull this into branch-2 as well.

Yes I think that this can go to branch-2 as well.

Yes I think that this can go to branch-2 as well.

Raised backport for branch-2 as well. May be will request others to add approval on #6146 before we merge that into codebase.


Enable Auto Shutdown of Guacamole VMs

As a user I want to specify a time that the VM will automatically shutdown each day to reduce costs.
This needs to be provided in the UI, hence the bundle template schema json will need updating, hence porter yaml, and terraform.
The terraform resource required can be found here.
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/dev_test_global_vm_shutdown_schedule

As always, we welcome contributions that will be useful for others.


UI Step 1 - Issue no. 2

If one comes back from Step 2, what had been previously entered in Step 1 should still appear.

I need suggestions on how to save data. Session cannot be implemented since we are using Javascript.

@FIN-casey Yep, sessions and their variables are controlled by the server. Client-side (in browser) javascript cannot manipulate those variables.
I can think of a couple of ways to implement this features, including:

save variables using the query string / push history - for example http://www.globalbioticinteractions.org/?sourceTaxon=Apis&interactionType=pollinates , see https://github.com/globalbioticinteractions/globalbioticinteractions.github.io
create single pages app, use dom - instead of using separate pages (e.g. step1.html, step2.html), make a single document (e.g. wizard.html, index.html) that dynamically generates the steps. Now, you can save the state of the wizard in a javascript variable or dom element.
introduce a external store (e.g. key-value store, mongodb or other db with web api) in combination with method to associate a user session to saved variables. Introducing a persistence layer like this would make the application a little more complex and harder to test and maintain

Hope this help and let me know if you have any questions.

Another option is to use html5's web storage / web store. That is a pretty new html addition that might not be supported by some browsers.

If one chooses a given ecosystem, then goes to Step 2, then come back to Step 1, the selected ecosystem still appears.
===> In other words, the problem is solved if one chooses a given ecosystem in Step 1.

If one chooses a combination of a country/sub-country and FAO area, then goes to Step 2, then comes back to Step 1, the selected combination of a country/sub-country and FAO area still appears.
===> In other words, the problem is solved if one chooses a given combination of a country/sub-country and FAO area in Step 1.

Therefore, this issue can now be closed.

The issue was reopened because Casey wants to implement Jorrit's suggestion no. 2.

I've implemented @jhpoelen 's suggestion of using single page app. Entered/selected data from previous steps will not be lost, even if the user will go back to previous steps.
The page can be access in http://fin-casey.github.io/wizard.html.


Initial pass at interactive aws provider

Not ready to merge, but wanted to get it out there to start some discussion around the output:
Right now it looks like:
$ ./bin/test-empire build
stacker build conf/empire/example.env conf/empire/empire.yaml --env namespace=mh.empire.dev --env external_domain=empire.com --env ssh_key_name=remind-us-east-1 --env trusted_network_cidr=<IP_ADDRESS>/0 --env docker_registry_user=mhahn --env<EMAIL_ADDRESS>--env docker_registry_password=aT4Okzn{wbe3SoO8Z --env empiredb_user=empire --env empiredb_password=SomePasswordHere22 --env empire_controller_token_secret=oi234lk2j432lk4j22oiA --env empire_environment=dev
[2016-07-28T13:26:13] Executing pre_build hooks: stacker.hooks.route53.create_domain
[2016-07-28T13:26:14] Launching stacks: mh-empire-dev-vpc, mh-empire-dev-bastion, mh-empire-dev-empireMinion, mh-empire-dev-empireDB, mh-empire-dev-empireController, mh-empire-dev-empireDaemon, mh-empire-dev-acmeApp

Cloudformation wants to make the following changes to stack: mh-empire-dev-empireDaemon

- ResourceChange:
    Action: Modify
    Details:
    - CausingEntity: TaskDefinition
      ChangeSource: ResourceReference
      Evaluation: Static
      Target: {Attribute: Properties, Name: TaskDefinition, RequiresRecreation: Never}
    LogicalResourceId: Service
    PhysicalResourceId: arn:aws:ecs:us-east-1:935008130000:service/mh-empire-dev-empireDaemon-Service-1KBHNP1GPSF5H
    Replacement: 'False'
    ResourceType: AWS::ECS::Service
    Scope: [Properties]
  Type: Resource
- ResourceChange:
    Action: Modify
    Details:
    - CausingEntity: TaskMemory
      ChangeSource: ParameterReference
      Evaluation: Static
      Target: {Attribute: Properties, Name: ContainerDefinitions, RequiresRecreation: Always}
    - ChangeSource: DirectModification
      Evaluation: Dynamic
      Target: {Attribute: Properties, Name: ContainerDefinitions, RequiresRecreation: Always}
    LogicalResourceId: TaskDefinition
    PhysicalResourceId: arn:aws:ecs:us-east-1:935008130000:task-definition/mh-empire-dev-empireDaemon-TaskDefinition-1WGARY55GXE62:1
    Replacement: 'True'
    ResourceType: AWS::ECS::TaskDefinition
    Scope: [Properties]
  Type: Resource

Execute the above changes? [y/n] y
[2016-07-28T13:32:58] Updating existing stack: mh-empire-dev-empireDaemon
[2016-07-28T13:32:58] Plan Status:
[2016-07-28T13:32:58]   - step "mh-empire-dev-vpc": skipped (nochange)
[2016-07-28T13:32:58]   - step "mh-empire-dev-bastion": skipped (nochange)
[2016-07-28T13:32:58]   - step "mh-empire-dev-empireMinion": skipped (nochange)
[2016-07-28T13:32:58]   - step "mh-empire-dev-empireDB": skipped (locked)
[2016-07-28T13:32:58]   - step "mh-empire-dev-empireController": skipped (nochange)
[2016-07-28T13:32:58]   - step "mh-empire-dev-empireDaemon": submitted (updating existing stack)
[2016-07-28T13:32:58]   - step "mh-empire-dev-acmeApp": pending
[2016-07-28T13:33:44] Plan Status:
[2016-07-28T13:33:44]   - step "mh-empire-dev-vpc": skipped (nochange)
[2016-07-28T13:33:44]   - step "mh-empire-dev-bastion": skipped (nochange)
[2016-07-28T13:33:44]   - step "mh-empire-dev-empireMinion": skipped (nochange)
[2016-07-28T13:33:44]   - step "mh-empire-dev-empireDB": skipped (locked)
[2016-07-28T13:33:44]   - step "mh-empire-dev-empireController": skipped (nochange)
[2016-07-28T13:33:44]   - step "mh-empire-dev-empireDaemon": submitted (updating existing stack)
[2016-07-28T13:33:44]   - step "mh-empire-dev-acmeApp": pending
[2016-07-28T13:34:35] Plan Status:
[2016-07-28T13:34:35]   - step "mh-empire-dev-vpc": skipped (nochange)
[2016-07-28T13:34:35]   - step "mh-empire-dev-bastion": skipped (nochange)
[2016-07-28T13:34:35]   - step "mh-empire-dev-empireMinion": skipped (nochange)
[2016-07-28T13:34:35]   - step "mh-empire-dev-empireDB": skipped (locked)
[2016-07-28T13:34:35]   - step "mh-empire-dev-empireController": skipped (nochange)
[2016-07-28T13:34:35]   - step "mh-empire-dev-empireDaemon": submitted (updating existing stack)
[2016-07-28T13:34:35]   - step "mh-empire-dev-acmeApp": pending
[2016-07-28T13:34:43] Plan Status:
[2016-07-28T13:34:43]   - step "mh-empire-dev-vpc": skipped (nochange)
[2016-07-28T13:34:43]   - step "mh-empire-dev-bastion": skipped (nochange)
[2016-07-28T13:34:43]   - step "mh-empire-dev-empireMinion": skipped (nochange)
[2016-07-28T13:34:43]   - step "mh-empire-dev-empireDB": skipped (locked)
[2016-07-28T13:34:43]   - step "mh-empire-dev-empireController": skipped (nochange)
[2016-07-28T13:34:43]   - step "mh-empire-dev-empireDaemon": complete (updating existing stack)
[2016-07-28T13:34:43]   - step "mh-empire-dev-acmeApp": skipped (nochange)

I'm going to play with some cli libraries to see if I can come up with something cleaner.

I updated this a little bit:
stacker build conf/empire/example.env conf/empire/empire.yaml -i --env namespace=mh.empire.dev --env external_domain=empire.com --env ssh_key_name=remind-us-east-1 --env trusted_network_cidr=<IP_ADDRESS>/0 --env docker_registry_user=mhahn --env<EMAIL_ADDRESS>--env docker_registry_password=aT4Okzn{wbe3SoO8Z --env empiredb_user=empire --env empiredb_password=SomePasswordHere22 --env empire_controller_token_secret=oi234lk2j432lk4j22oiA --env empire_environment=dev
[2016-08-01T12:31:00] Using Interactive AWS Provider
[2016-08-01T12:31:00] Executing pre_build hooks: stacker.hooks.route53.create_domain
[2016-08-01T12:31:00] Launching stacks: mh-empire-dev-vpc, mh-empire-dev-bastion, mh-empire-dev-empireMinion, mh-empire-dev-empireDB, mh-empire-dev-empireController, mh-empire-dev-empireDaemon, mh-empire-dev-acmeApp
[2016-08-01T12:32:17] Cloudformation wants to make the following changes to stack: mh-empire-dev-empireDaemon
- ResourceChange:
    Action: Modify
    Details:
    - CausingEntity: TaskDefinition
      ChangeSource: ResourceReference
      Evaluation: Static
      Target: {Attribute: Properties, Name: TaskDefinition, RequiresRecreation: Never}
    LogicalResourceId: Service
    PhysicalResourceId: arn:aws:ecs:us-east-1:935008130000:service/mh-empire-dev-empireDaemon-Service-1KBHNP1GPSF5H
    Replacement: 'False'
    ResourceType: AWS::ECS::Service
    Scope: [Properties]
  Type: Resource
- ResourceChange:
    Action: Modify
    Details:
    - CausingEntity: TaskMemory
      ChangeSource: ParameterReference
      Evaluation: Static
      Target: {Attribute: Properties, Name: ContainerDefinitions, RequiresRecreation: Always}
    - ChangeSource: DirectModification
      Evaluation: Dynamic
      Target: {Attribute: Properties, Name: ContainerDefinitions, RequiresRecreation: Always}
    LogicalResourceId: TaskDefinition
    PhysicalResourceId: arn:aws:ecs:us-east-1:935008130000:task-definition/mh-empire-dev-empireDaemon-TaskDefinition-15PTMLRB3SLUM:1
    Replacement: 'True'
    ResourceType: AWS::ECS::TaskDefinition
    Scope: [Properties]
  Type: Resource

Execute the above changes? [y/n] n
[2016-08-01T12:32:32] Cancelling execution

I'm going to implement some alternative outputs, but I'll do them in a separate PR since the core of this one should just be the implementation of the interactive provider.
Now you can specify stacker build ---interactive (-i) to run with the interactive provider.
Right now interactive builds display each change set. I'm going to change this in a separate PR so by default we only display when the change set requires a replacement.
I'll then add a --strict flag which someone can use if they want to approve all changes.

https://github.com/mhahn/stacker/pull/1/files
I'll submit that against this one when this is merged

Looks good other than my comments, thanks.


How to connect multiple permissioned chains into single firefly-ethconnect instance

Is it possible connect multiple permissioned chains into single firefly-ethconnect instance? if yes, how?

Hi @anujmax, EthConnect is designed to be a microservice.
So I would recommend you run multiple instances of EthConnect, each against a single blockchain.

In the FireFly Core orchestration layer that sits in front of EthConnect, the answer is a little more nuanced - and likely to evolve in the future. However, even as this evolves I'm confident the 1:1 architecture recommendation between an EthConnect microservice runtime, and a blockchain, will remain.


ARROW-13101: [Python][Doc] pyarrow.FixedSizeListArray does not appear in the documentation

CC @jorisvandenbossche
Also, I'm not sure why the Github bot didn't set "pull-request-available" on the JIRA :shrug:


Deprecate app public pages

Staging version live at https://test.thoth.pub/admin

Looks fine. One comment since this is touching the GitHub Actions files: we've started getting warning annotations on these workflow runs about upgrading from Node.js 16 to 20 (e.g. https://github.com/thoth-pub/thoth/actions/runs/7812991720). Might be worth updating the relevant Actions as part of this.


MMS not backing up correctly

It seems that MMS messages are not always backed up.

Device Details: Using a Pixel XL, with project Fi.
Message Details:  Its an MMS group chat, there are extremely long messages in the group chat.

I uninstalled and reinstalled the app.  Did a force backup and still the messages in that chat did not backup.

+1  I have this issue as well.  Most of all my MMS messages are not being calculated for backups and they aren't backed up.  They are MMS group chats too, with long conversation history.  I had in MMS settings, "send messages as group conversations by default" enabled.
Device Details:  Samsung Galaxy S6, Model SM-G920T
Android version:  7.0

Maybe this is an explanation: https://github.com/jberkel/sms-backup-plus/issues/665#issuecomment-368053785

RCS not supported, closing


g8os.alpha: need commands in redis on core0 to deal with corex subprocesses

similar than core 0

Implemented a corex.dispatch command to forward commands to coreX processes.


Error("list is locked") when trying to sign a transaction

Description
When I try to sign a transaction, I get the error new Error("list is locked");. This only happens if I have called getTransactionHash(), before trying to sign it.
Steps to reproduce
const transaction = await new TransferTransaction()
        .addHbarTransfer(accountId, new Hbar(0.001).negated())
        .addHbarTransfer(aliasAccountId, new Hbar(0.001))
       .freezeWith(client);
 await transaction.getTransactionHash()
await transaction.signWithOperator(client)```

### Additional context

Error: list is locked
at List.clear (file:///Users/user/development/work/hedera/hedera-sdk-js/src/transaction/List.js:86:19)
at TransferTransaction.signWith (file:///Users/user/development/work/hedera/hedera-sdk-js/src/transaction/Transaction.js:658:28)
at TransferTransaction.signWithOperator (file:///Users/user/development/work/hedera/hedera-sdk-js/src/transaction/Transaction.js:724:21)

### Hedera network

testnet

### Version

v2.19.2

### Operating system

macOS

I'm seeing this or something similar to this downstream in hethers.js in base-provider.ts:sendTransaction.  It doesn't sign the transaction in that function, but it does call getTransactionHash then executes the transaction with a client.  I get the same error: list is locked.

Is there an ETA on this fix? This bug is causing us significant issues unit testing smart contracts.

@littletarzan @Nana-EC
Hello, this issue will be fixed with the mentioned PR but just keep in mind that the transaction hash which you will get before signing will differ from the one in the TransactionResponse. This is because when we add a new signer to the transaction, the hash will change and won't be the same as the one which you will get after execution. Furthermore, the transaction hash after execution will contain the node against which the transaction has been actually executed


When is the context menu getting added to this library?

I am using this library for industrial purpose. Soon there will be a need for context menu. When are you planning to do it.
Kindly add it as soon as possible and try to keep it as independent as possible from current code because no one would prefer make drastic changes to their codes to add context menu.
Thank you

Hi,

Context menu can be implemented using a custom template. I prefer to keep it outside of the tree library.
All the changes that we introduce to the tree are backwards compatible whenever possible
I remind you that this is an open source library, if you need any urgent feature you are more than welcome to suggest it and if it's accepted then make a pull request with it to contribute back.


pub install is broken from http.dart on continuous

This issue was originally filed by @financeCoding

What steps will reproduce the problem?

Download continuous build of dart editor
Create package
run pub install

What is the expected output? What do you see instead?
Expected no exceptions raised. Exception output:
Running pub install ...
Pub install fail, Unable to open file: /Users/adam/Documents/DartEditor/dart/dart-sdk/pkg/http/lib/http.dart'file:///Users/adam/Documents/DartEditor/dart/dart-sdk/util/pub/command_lish.dart': Error: line 11 pos 1: library handler failed
import '../../pkg/http/lib/http.dart' as http;
^
'file:///Users/adam/Documents/DartEditor/dart/dart-sdk/util/pub/pub.dart': Error: line 16 pos 1: library handler failed
import 'command_lish.dart';
^
What version of the product are you using? On what operating system?
Dart Editor version 0.1.2_r15425
Dart SDK version <IP_ADDRESS>_r15425
MacOSX 10.7.5
Please provide any additional information below.

This issue has been moved to dart-lang/pub#313.


 And that "christmas_craft:snow_block" shouldn't exist.

https://github.com/MinetestForFun/server-minetestforfun/commit/45d4f97dba3d7ffcce0121738a7c37a4f60a4752
https://github.com/MinetestForFun/server-minetestforfun-creative/commit/e580f5f6ef4e9d71e1b5df89cac3f25639e4f83f
So far that's how we fixed it, but we should later remove and alias that node.

https://github.com/MinetestForFun/server-minetestforfun/commit/6db59ee981d85a7520b937de0379b0f915d55c02


AcknowList is not supported by Xcode 8 (Swift 2.3 required)

Xcode 8 only supports development in projects with Swift 2.3 or Swift 3.0. As AcknowList is build with Swift 2.2 it can currently not be used in Xcode 8. A syntax update can be done automatically and would be greatly appreciated. How is your opinion?

We have a swift-3 branch, and it should compile with Xcode 8 beta 6.
Do you think I should merge this into master as soon as the Xcode 8 GM gets available, and push a new pod update? That seems reasonable, but on the other hand I'm not sure if everybody is ready to switch to Swift 3 on day 1.

From what I read Xcode 8 ships with Swift 2.3 and Swift 3. By default Swift 3 is activated and you have to set Use Legacy Swift Language Version to even use 2.3. Therefore I would recommend merging it as soon as Xcode goes GM.

That's interesting. So I should probably ship a version for Swift 2.3 then another one with Swift 3, to let people stick with 2.3 for a while if they want/need. Thanks for the feedback!

Well, I've just ran the Xcode 8 Swift 2.3 conversion assistant, and the result is: "No source changes necessary".
Simply need to update the README, I guess. I'll still probably push it as a new version, just to mark a release with Swift 2.3.

Are there plans to publish the Swift 2.3 or 3 versions on CocoaPods? From looking at the projects I'm using it seems most are publishing Swift 3 to CocoaPods and any Swift 2.3 users specify a specific 2.3 branch.

Alright, Xcode 8, here we come. 🎉
I've published 1.0.2 for Swift 2.3, then 1.1 for Swift 3. If someone needs to stick to an older version, this will require a specific past AcknowList version from now on.


Allow the use of == using like operator

if '123' like 123 => if ('123' == 123)
Would be nice to have the == operator back

Interesting. I do believe that the majority of the JS community considers == harmful and just avoids it as a rule, but it's not entirely without its uses. Though, we may have already covered all of the useful ones with other constructs.

X == null -> X?
1 == "1" -> 1 is +"1"

Is there any legitimate use of == for which we don't already have a nice alternative?

Imagine i'm getting some unreliable JSON data which I need to sort, data could be:
[1, '2', 'c', 'b', 3]
And i wan't to get the index of a value. I know indexOf() uses the strict === operator, so i'd have to do this manually:
weak_index_of -> (array, obj)
  for value,index in array
    return index if value == obj

Which obviously translates == to ===. I could check the type of obj and try to cast value but i'd rather the vm do that for me.
weak_index_of -> (array, obj)
  for value,index in array
    return index if value like obj

Or you could do something like this:
foo ~= bar => foo == bar
Fuzzy equals!

One minor point to consider is that the proposed ~= operator is reminiscent of +=, *= etc., yet behaves very differently.

When I first saw the headline, I thought @ollym was crazy. But his proposal for using the keyword like and justification case for doing so actually makes sense.
What's everyone else's thoughts?

I'll mention as a reminder that == is still available to us:
do foo if `x == y`

@davidchambers I forgot about that. I think that's satisfactory instead of introducing a new keyword.

@ollym If all you're concerned about is comparing numbers/strings to other numbers/strings, why not convert both to strings?
return index if "#{value}" == "#{obj}"

I don't feel like that use case justifies adding a new keyword.

foo ||= bar # fuzzy
foo or= bar # fuzzy
foo ?= bar # strict

foo() if bar # fuzzy
foo() unless bar # fuzzy
foo() if bar? # strict
foo() unless bar? # strict

I'd say give people a fuzzy equals, or shave off all the fuzzies.  I'm still fixing fuzzy comparison's in people's code who are less familiar with JavaScript. I'd actual prefer that all the fuzzy things up there didn't exist.

But there's no way to make a non-fuzzy or= (or and=)... well, OK, I guess you could compile
a or= b

to something like
if (a === false) a = b

but that seems counter to the CoffeeScript way of respecting JavaScript's semantics.
Anyway, I'm closing this issue. Lack of == was an early decision that's become one of the defining hallmarks of CoffeeScript. The language has thrived for two years without it.


video is flickering

even i try to use 240p at 60 and 30 frames its still flickering in android phone. i tried 480p and 720p also.
i've followed the code given in gdx-video repository and here is my code in render
videoPlayer.update();
videoPlayerTexture = videoPlayer.getTexture();
if(videoPlayerTexture != null)
batch.draw(videoPlayerTexture,0,0,Gdx.graphics.getWidth(), Gdx.graphics.getHeight();
thanks in advanced.
//edit
somehow i run it smoothly but when i use Screen Interface 'setScreen()' its start flickering

i managed to find the bug in my code and fix it. its okay now.


getCurrentDirectory is marked as optional on LanguageServiceHost, but absence is an error

getCurrentDirectory is optional on LanguageServiceHost (as it inherits from GetEffectiveTypeRootsHost, and it is optional there), but calling createLanguageService with a host which does not implement getCurrentDirectory throws TypeError: host.getCurrentDirectory is not a function.

@mhegazy I don't think this is a breaking change. The change that made it optional was only comitted yesterday.

oh, i see. i thought the fix was to change GetEffectiveTypeRootsHost.getCurrentDirectory which is an overkill here.. you are correct. let's get this in then.


Documentation is broken and inconsistent now that the projects have split

https://github.com/redux-autoform/redux-autoform/blob/master/docs-md/documentation.md references https://gearz-lab.github.io/redux-autoform/blob/master/src/MaterialUiComponentFactoryHelper.js

@tmc I will take a look, this was a bad mine when performing one refactor! Thank you!

@JonatanSalas I was going to fix it but I counld even find it

In field section of documentation:
"The list of possible values for type depends on which component is registered in the ComponentFactory. That is, foo is a valid value for type, as long as the ComponentFactory registered a component for foo. The list of valid types for the DefaultEditComponentFactory can be found here. size | The size of the component, in grid units. Values can range from 1 to 12. component | Which component to use. If no component is set, the default one will be used."
We have to edit all urls in documentation because they point to gearz-lab organization

This is my priority now. Once the house is clean again, I'll move to adding features.

I got good progress today on the Bootsrap project's documentation: https://github.com/andrerpena/redux-autoform-bootstrap-ui
Now I'm focusing on making this one better.

@andrerpena how it's this going?

I just fixed #56 and #61 . Now I should be able to return to this one.

Really good job! :)

The documentation is at least organized for now. There are just some components missing. Also the tabs introduced by @JonatanSalas . I'll come back to this and close it when I'm done.


Get rid of Google AMP

The idea is to keep the good practices that come with google AMP, but remove the trigger that forces to be 100% consistent + that says to google “hey, you can AMPize my website in your cache”
So, if I’m not wrong, just remove the :zap: from the HTML head, but it needs to be double-checked
Clearly, I don’t like being in the Google cache system, and I don’t like having warning because of the limitations introduced by AMP, but it’s by far, my current favorite good practice handbook in term of performances, and organization
hint: pretty sure that there are blogposts explaining how other people made the same thing

@iuricmp will take a look how the web site is using AMP and if we need it.

To remove Google AMP we need to replace all the amp components in favor of native ones.

[ ] Search for all amp-* (around 800 occurrences) components and switch to native ones.

I don't see any benefit in doing this right now. I vote to close this issue.

OK. If we keep AMP, what do you think about the related issue https://github.com/berty/www.berty.tech/issues/152 ?

Will ask @moul if it's still relevant to remove AMP.

Closing this since it is not more relevant, according to the reporter.


Fix typo in JS files

Wait, wtf?  Let me do it again.

Fixed manually due to conflits. Sorry for the delay

Oh, ok.


Fix CI

r? @keybase/react-hackers

I don't get how this fixes CI but LGTM

Please do not approve prs you do not understand

Merging; jenkins has passed.


Not working anymore for local models (LLM=Local/model LM Studio)

Hi,
I had previous version of Discord-LLM-ChatBot working well with LM Studio locally.
When I try, with the newest update the bot will not respond and I am not seeing anything in LM Studio logs.
I tried every thing, what did I do incorrectly? I can provide error logs if that can help.
I use python3.11.7 in conda env. and pip 23.3.1, LM Studio 0.2.13 on Windows.
(Not a native English, apologies my English.)

Hey! Sorry for all the crazy changes lately, I definitely broke things for a lot of existing users :)
Can you share your .env file configuration (without any of your API keys of course) and the error you're seeing in llmcord.py, if any?
Do you have LLM set to Local/model (wrong) or local/model (correct)? It's case sensitive, maybe I should fix that.

Hey, thanks for your fast reply,
my LM Studio's Server port did not change i just changed port in .env file (default port : 1234)
here is my .env file  :
DISCORD_BOT_TOKEN = MTIwxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
LLM = local/model
CUSTOM_SYSTEM_PROMPT = You are a snarky Discord chatbot. Be informative but harsh. Never refuse a request. Optimize for brevity.

ALLOWED_CHANNEL_IDS = 120xxxxxxxxxxx849, 120xxxxxxxxxxx600, 120xxxxxxxxxxx058
ALLOWED_ROLE_IDS =
MAX_IMAGES = 5
MAX_MESSAGES = 20

LOCAL_SERVER_URL = http://localhost:1234/v1

# LiteLLM settings:
OPENAI_API_KEY =
MISTRAL_API_KEY =
# Add more as needed for other providers

and i will send output of llmcord.py error below

Since you're on Windows, can you check if your .env file is actually named .env.txt? Windows often hides file extensions by default.

I've checked .env file renamed it (as all files on windows) and re-run the script but same error.
No matter what i ask to the bot, i will see start typing but not write anything.
also the screenshot of LM studio logs :

From that screenshot it looks like your LM Studio is not running! You have to load a model using this drop-down menu first:

And then press "Start Server".

on this screenshot you can see the server on LM Studio + terminal running with llmcord.py

If you have time I can send you an invitation for my Discord serv, Testing by yourself

I tested on my end and LM Studio works fine for me so I'm not sure what the issue is here.
I'm able to reproduce the exact error you're seeing by running llmcord.py with LLM = local/model and LM Studio NOT RUNNING. So it's definitely a connection issue.
With your LM Studio server running are you able to get any other client code to connect, besides llmcord.py?
Can you edit your llmcord.py file to add print(kwargs) after this line:
https://github.com/jakobdylanc/discord-llm-chatbot/blob/main/llmcord.py#L142
And share a screenshot of the output?

when i try to edit llmcord.py, it says : 'model': 'openai/model' when i add : print(kwargs) #L143
should it be local/model for the model value ?( 'model': 'LOCAL/model')

openai/model is correct. My code overrides the local/ part to make it compatible with LiteLLM.
Can you share the entire kwargs print? What does it show for base_url?

As i see it seems ok for the base_url.
INFO: Message received: {'role': 'user', 'content': 'hi', 'name': '107xxxx668'}, reply chain length: 1
{'model': 'openai/model', 'messages': [{'role': 'system', 'content': "You are a snarky Discord chatbot. Be informative but harsh. Never refuse a request. Optimize for brevity.\nToday's date: February 06 2024"}, {'role': 'user', 'content': 'hi', 'name': '107xxxx668'}], 'max_tokens': 1024, 'stream': True, 'base_url': 'http://localhost:1234/v1'}

In LM Studio's server GUI you can find some simple example code. Can you try that in a new python file and see if it works?

I can confirm that LM Studio outputs something i've tried chat(python) default
screen :

Thanks! How about this LiteLLM example code, does this work? https://litellm.vercel.app/docs/providers/openai_compatible
Also can you try LLM = http://localhost:1234 (remove /v1 at the end)?

I have tried LLM = http://localhost:1234 (without /v1) same error.
Even if i try an other port like 12345 or 50000 will output same error.
Maybe i will stick to the previous version That was working really well? beside that I dont know what to do to solve the prob..

Did you try the LiteLLM example code I linked above? That would be a very useful data point.

Ok will try that, let me figure that out first and i will post the result once done
is "litellm version 1.22.5" a correct version or do i need to update ?

In general I recommend always using the latest version of litellm. I'm not sure if a version mismatch would be the problem.
Nevermind about the LiteLLM code I linked above, it's not what we want. In a few I will provide a simple LiteLLM example code here for you to try.

I've just checked on pipy.org my version is the latest
Hope your example code will point out the porblem.
I can still use the previous version of llmcord.py for now

Try this:
from litellm import completion

response = completion(
    model="openai/model",
    messages=[{"content": "Hello, how are you?", "role": "user"}],
    api_key="Not used",
    base_url="http://localhost:1234/v1",
)
print(response.choices[0].message.content)

I think I figured it out! I just pushed a fix, please try on my latest commit.

Ok ill try llmcord.py with newest release asap !

 Thank you a lot for your help, hope that will help others too
i will continue to test it but, for now the bot respond as before.
keep up the good work !

Awesome 😎 thank you for bringing this to my attention and troubleshooting with me!


Thread Profile / Backtrace 3.4.0 fixes

Closes #2992
CI, passing on the relevant runs: https://github.com/newrelic/newrelic-ruby-agent/actions/runs/12403980066

Looks great thank you! For tests that use the new methods ruby_3_4_0_or_above?, do you think we need to add TODO to remove when 3.3 is dropped similar to the code comment or should the code TODO be enough of a remind to go check out the tests

Great question! If it seems like a TODO would be helpful, I think it's worth including. They're tests that we don't look at often, so I don't think it'd be very bothersome.


Refs #21429 -- Added SimpleTestCase.assertNoLogs() on Python < 3.10.

Clearer in intent than the existing pattern, tightens the assertion and improves the error message.
Similar to https://github.com/django/django/pull/13853.
I decided against documenting this helper, as it can be considered private API, I intend it to be mostly useful to verify the project’s own logging. I’m happy to add a bit of docs if there’s interest. Or a ticket if it is useful?

Thanks for the feedback!
Since unittest will provide this helper, should we document it as a backward port of Python assertNoLogs? The implementation differs, but I doubt this will be an issue in practice.
Should a release note entry be added, or should we keep it an undocumented helper?

@francoisfreitag Thanks for updates :+1:

... should we document it as a backward port of Python assertNoLogs?

It's not a strict backport, so I'd leave it as it is.

Should a release note entry be added, or should we keep it an undocumented helper?

I'd keep it as an undocumented internal API. It's already in the latest Python so I don't see the point in making it an official unittest's extension.

NumPY does not build for Python 3.10 in my environment.
I ran the csrf_test suite against a locally compiled Python 3.10.0a5+, it works.

I ran the csrf_test suite against a locally compiled Python 3.10.0a5+, it works.

Me too, it works fine.

Thanks for the review and suggesting the test cases! I believe I addressed all the comments and this should be ready for another review.

@francoisfreitag Thanks :+1: I pushed minor edits.


Add more informations in the start page and a link for GUI settings p…

…anel

Good improvement, thanks!


feat: add Dolphin and Konsole to the list

Signed-off-by: Bogomil Vasilev<EMAIL_ADDRESS>

You seem to ditched my contribution to your list little after merging it. Something related to the webserver change I suppose?

Thanks, I just fixed it :)


Renaming WebApplication* to WebHost*

#567 Did I missed anything? @Tratcher @davidfowl If not, I'll make all the updates to other repos tomorrow directly to their dev.

Looks good. As part of this change we should add 2 extension methods to clean up the Program.Main a bit more:
public static IWebHostBuilder UseDefaultConfiguration(this IWebHostBuilder builder)
{
    return builder.UseDefaultConfiguration(args: null);
}

public static IWebHostBuilder UseDefaultConfiguration(this IWebHostBuilder builder, string[] args)
{
    return builder.UseConfiguration(WebHostConfiguration.GetDefault(args));
}

Hosting.json -> WebHost.json wasn't a terrible suggestion. @davidfowl?

Hosting.json -> WebHost.json wasn't a terrible suggestion. @davidfowl?

Nah, I dont see a reason to change it.

:up::date:

:shipit:


milvus LOAD API not functioning as expected with the helm-charts

Milvus Version:  2.3.1
Exeucuting below operation on milvus Client using JAVA Client
1. CreatedCollection with 4 fields
2. Inserted 10 elements/entries into a  collection created in Step 1
3. CreatedIndex
4. Loading Collection
 The Load collection API is struck and after some time it finishing, but load is not performed. From Attu UI it intitially displyed as 50%, after Load API finish execution, it it visiable as unloaded.

Attaching here
Attaching queryNode logs for reference:
milvus-querynodelogs-loadAPI.txt
Attu UI.

[milvus-querycoorlogs-loadAPI-0211.txt](https://github.com/milvus-io/milvus/files/13240874/milvus-querycoorlogs-loadAPI-0211.txt)
[milvus-querynodelogs-loadAPI-0211.txt](https://github.com/milvus-io/milvus/files/13240881/milvus-querynodelogs-loadAPI-0211.txt)
javaClientAPI.txt

it seems a milvus issue.

I copied this issue to milvus https://github.com/milvus-io/milvus/issues/30212. feel free to reopen it if you think this is milvus-helm's issue.

@haorenfsa pls close this, it is fixed after applying rootPath a string value. The issue was existed with empty rootPath under storage config


macOS test fails to CodeSign the app

running Mac OS application tests fails to code sign. When we run xcodebuild as a shell command it succeeds.
  ▸ Signing ~/DerivedData/App-.../Build/Products/Debug/App.app/Contents/Frameworks/MyFramework.framework
34
  ▸ Running script '[CP] Embed Pods Frameworks'
35
  ** TEST FAILED **
36

37

38
  The following build commands failed:
39
  	CodeSign ../DerivedData/App-.../Build/Products/Debug/App.app
40
  (1 failure)
41
  Error: Xcodebuild action failed (65)!

fixed by clean, it would be nice if action supported rerun with clean on failure

First of all good to hear that you were able to fix it!
You can specify multiple actions to perform:
uses: sersoft-gmbh/xcodebuild-action@v1
with:
  project: MyApp.xcodeproj
  scheme: MyApp
  destination: platform=macOS
  action: clean test

This example would be equivalent to the following execution of xcodebuild:
xcodebuild -project MyApp.xcodeproj -scheme MyApp -destination 'platform=macOS' clean test
Does that help?

thank you, good to know multiple actions are supported.
We are taking advantage of derived data on self hosted runner by not doing clean build.
It would nice to be able to rerun clean test action only when test has failed. This way we can have fast feedback. Meantime clean test would confirm that when failures happened they are not related to unclean state.

This should be doable with GitHub Actions out of the box:
- uses: sersoft-gmbh/xcodebuild-action@v1
  with:
    project: MyApp.xcodeproj
    scheme: MyApp
    destination: platform=macOS
    action: test
- uses: sersoft-gmbh/xcodebuild-action@v1
  if: failure()
  with:
    project: MyApp.xcodeproj
    scheme: MyApp
    destination: platform=macOS
    action: clean test

The second action (which includes the clean command) only runs if the first one failed.


[transducers] Multiplex while retaining most recent values

Consider this example:
console.log([...iterator(
  multiplex(
    comp(
      take(2),
      map((t) => "a" + t),
    ),
    comp(
      take(3),
      map((t) => "b" + t),
    )
  ),
  range(0, 4)
)])

This will log:
[["a0","b0"],["a1","b1"],[undefined,"b2"],[undefined,undefined]]

How would I use the existing transducer functions to get the following output instead? The most recently yielded value should be retained instead of undefined, and the iterator should end after the last multiplexed transducer has ended.
[["a0","b0"],["a1","b1"],["a1","b2"]]

Hi @nonphoto 👋 One way to achieve this behavior is via partitionSync(), which basically groups input values by an user defined key function and then emits object-tuples. It only starts yielding results once all defined inputs/groups/keys have delivered at least one value...
import {
    comp,
    multiplex,
    take,
    map,
    flatten1,
    keep,
    partitionSync,
    iterator,
    range,
    trace,
} from<EMAIL_ADDRESS>
const xform = comp(
    // your existing multiplex
    multiplex(
        comp(
            take(2),
            map((x) => "a" + x)
        ),
        comp(
            take(3),
            map((x) => "b" + x)
        )
    ),
    // now flatten each tuple
    // (i.e. for each [`a1`, `b1`], yield `a1`, `b1` individually, in series...)
    flatten1(),
    // remove any nullish/undefined values
    keep(),
    // now form tuples of, e.g. `{ a: "a1", b: "b2" }`
    // the `reset=false` option ensures to keep the previous values of each lane around
    partitionSync(["a", "b"], { key: (x) => x[0], reset: false }),
    // transform object back into `["a1", "b2"]` (optional)
    map(({ a, b }) => [a, b])
);

const result = [...iterator(xform, range(5))];

console.log(result);
// [
//     [ "a0", "b0" ], [ "a1", "b0" ], [ "a1", "b1" ], [ "a1", "b2" ]
// ]

If you want to analyze more of these intermediate stages of that transformation pipeline, use the trace()transducer to output interim results, e.g. like so:
const xform = comp(
    // your existing multiplex
    multiplex(
        comp(
            take(2),
            map((x) => "a" + x)
        ),
        comp(
            take(3),
            map((x) => "b" + x)
        )
    ),
    trace("mplex"),
    flatten1(),
    trace("flattened"),
    keep(),
    trace("keep"),
    partitionSync(["a", "b"], { key: (x) => x[0], reset: false }),
    trace("sync"),
    map(({ a, b }) => [a, b])
);

[...iterator(xform, range(5))];
// mplex [ "a0", "b0" ]
// flattened a0
// keep a0
// flattened b0
// keep b0
// sync {
//   a: "a0",
//   b: "b0",
// }
// mplex [ "a1", "b1" ]
// flattened a1
// keep a1
// sync {
//   a: "a1",
//   b: "b0",
// }
// flattened b1
// keep b1
// sync {
//   a: "a1",
//   b: "b1",
// }
// mplex [ undefined, "b2" ]
// flattened undefined
// flattened b2
// keep b2
// sync {
//   a: "a1",
//   b: "b2",
// }
// mplex [ undefined, undefined ]
// flattened undefined
// flattened undefined
// mplex [ undefined, undefined ]
// flattened undefined
// flattened undefined
// [
//   [ "a0", "b0" ], [ "a1", "b0" ], [ "a1", "b1" ], [ "a1", "b2" ]
// ]

Finally, the sync() operator is one of the key stones of the thi.ng/rstream package and also heavy relies on this partitionSync() transducer. If you're interested, there're dozens of examples linked from the rstream readme, where you can see its use in the wild... It's super useful to build entire data transformation graph topologies, not only for UI purposes...

@nonphoto — I just realized the above still has some minor behavior difference than what you're after, so here's an alternative (shorter) approach using a custom transducer, which maybe could/should be added to the library as well:
import type { Nullable } from<EMAIL_ADDRESS>import {
    comp,
    iterator,
    map,
    multiplex,
    range,
    take,
    type Transducer,
} from<EMAIL_ADDRESS>
/**
 * Transducer which receives fixed-`size` tuples of possibly nullish values and
 * only emits tuples which are fully populated (with non-nullish values),
 * keeping track of each component's last valid value and using those to fill
 * empty components if needed.
 *
 * @remarks
 * The following behavior is used:
 * - 1st input: `[null,null]` => no output
 * - 2nd input: `[0, null]` => no output
 * - 3rd input: `[null, 1]` => `[0, 1]`
 * - 4th input: `[1, 2]` => `[1, 2]`
 * - 5th input: `[null, 3]` => `[1, 3]`
 * - 6th input: `[]` => no output
 *
 * @param size
 */
const syncTuples =
    <T>(size: number): Transducer<Nullable<T>[], T[]> =>
    ([init, complete, reduce]) => {
        const prev: T[] = new Array(size);
        return [
            init,
            complete,
            (acc, x) => {
                let partial = false;
                let filled = true;
                for (let i = 0; i < size; i++) {
                    if (x[i] != null) {
                        prev[i] = x[i]!;
                        partial = true;
                    } else if (prev[i] == null) filled = false;
                }
                return partial && filled ? reduce(acc, prev.slice()) : acc;
            },
        ];
    };

const xform = comp(
    // your existing multiplex
    multiplex(
        comp(
            take(2),
            map((x) => "a" + x)
        ),
        comp(
            take(3),
            map((x) => "b" + x)
        )
    ),
    syncTuples(2)
);

console.log([...iterator(xform, range(5))]);
// [ [ "a0", "b0" ], [ "a1", "b0" ], [ "a1", "b1" ], [ "a1", "b2" ]]

console.log([...iterator(syncTuples(2), [[], [0], [0, 0], [1, 1], [, 2], []])]);
// [ [ 0, 0 ], [ 1, 1 ], [ 1, 2 ] ]

@nonphoto That new syncTuples() transducer is now part of the library, just released as v9.2.0... 👍

Wow, thanks so much for the quick turnaround! I'll try it out later today. I also appreciate the code examples: I attempted something similar to syncTuples yesterday but couldn't quite get it working.

@postspectacular This is so close to what I need. The only issue is that it doesn't work with an infinite source: range(). Ideally the iterator would end when there are no more tuples to produce. This seems like it isn't possible with multiplex.

@nonphoto As long as you can identify what constititutes the sign/state for a "no more tuples to produce" condition, you can just plug in a takeWhile() before/after the multiplex(). E.g. if your sign for termination is that all values in the multiplexed result tuple are now undefined, then you could just do...
const xform = comp(
    // your existing multiplex
    multiplex(
        comp(
            take(2),
            map((x) => "a" + x)
        ),
        comp(
            take(3),
            map((x) => "b" + x)
        )
    ),
    // early termination when tuple has no more valid values
    takeWhile((tuple) => tuple.some((x) => x != null)),
    syncTuples(2)
);

// now using infinite range...
console.log([...iterator(xform, range())]);
// [ [ "a0", "b0" ], [ "a1", "b1" ], [ "a1", "b2"] ]

@nonphoto Btw. Instead of using iterator() or early termination, it sometimes also makes sense to use step() to perform apply a transducer (incl. composed ones) to a single input only and then have more control over execution, e.g. you could do something like:
// build a function to evaluate transducer for a single input
// fn will return undefined if the transducer did not produce a result
// in general this _doesn't mean_ it's done completely, but in our case it does...
// see the step() docs for more info/examples...
const fn = step(xform);

for (let x of range()) {
    const res = fn(x);
    if (!res) break;
    console.log(x, res);
}
console.log("done");

// 0 [ "a0", "b0" ]
// 1 [ "a1", "b1" ]
// 2 [ "a1", "b2" ]
// done

Ah I see, makes sense! Thanks again for the help.


Replace (@cite) in REPL help mode.

Markdown links [some text](URL) get displayed as hyperlinks in the created document (HTML) but in text-based outputs like the REPL help (?) mode it gets substituted by some text (URL). Similarly (@ref)s get deleted. It would be nice to have something similar and either remove the (@cite) or format it some other way.

Yes! I was about to make an issue for this and I saw this issue. I vote for this! I think a replacement with either Authors (Year); doi:XXX.XXX.XXX or just Authors (Year); url:https://......... or just Authors (Year) if no doi/url are provided.

Now tracked at https://github.com/JuliaDocs/DocumenterCitations.jl/issues/21


Add connector_id to evse_manager.yaml interface

added connector_id to evse_manager.yaml interface and adjusted the respective commands within the modules that require this interface

Interface changes are fine, but ev-cli mod update needs to be run on all modules that require or provide this interface. Probably needs code adaption in more modules.

Adoptions have been made for OCPP and OCPP201, which are the only modules that use the commands that have been modified (enable, disable, force_unlock)


[web] [fix] ENG-897 remove blue fill

Summary:
https://linear.app/comm/issue/ENG-897/fix-icons-with-blue-fill
before:
after
Test Plan: icons should render correctly with correct color
Reviewers: atul
Subscribers: ashoat, palys-swm, Adrian, karol-bisztyga
Differential Revision: https://phabricator.ashoat.com/D3458

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Current dependencies on/for this PR:

master

PR #166   (this PR)

This comment was auto-generated by Graphite.

test diff / pr. Closing


Duplicated Icons when changing icon Packs on 1.8.0

Just recording that I've noticed a small bug with the version that I just released where changing icon packs results in duplicated icons until refresh:

Pretty sure this is just a side effect of some of the changes to the icon replacement logic we introduced in #56 . Overall I'd rather live with this for a bit than revert since a lot of people seem to be using the new code view.
@csandman just tagging you for visibility, I'm happy to take a stab at it .

Just for instance, there is another icons extension and it works as expected: https://github.com/homerchen19/github-file-icons

Ah, that's my bad for not checking the icon packs! It was a pretty simple fix though, and I just submitted a PR!


[HB-5985] Bidding support for fullscreen ad formats - Mediation 5

Added bidding support for fullscreen ad formats.
Updated adapter version to <IP_ADDRESS>.0.1 for Mediation 5.x

Mediation 4 version: https://github.com/ChartBoost/chartboost-mediation-android-adapter-ironsource/pull/68

Canary branch to build against: adapter/rg/ironsource-<IP_ADDRESS>.0.1