Label show outbound ScrollView

I created CustomButton class with FrameView, one Label for fill and one Label for text inside.
Then I put some buttons inside the scrollview.

Buttons that are outside of the scrollview display a label.

Can you provide the CustomButton code, please. I seems that you are redraw it in a manner that it don't be respecting the ScrollView clip area. FrameView when is redrawing also set his clip area and may be are over-spilling the ScrollView clip area.

Add how I create window with ScrollView
 public class ScrollViewTestWindow : Window
    {
        private List<Button> buttons;
        private const int BUTTONS_ON_PAGE = 7;
        private const int BUTTON_HEIGHT = 3;

        private ScrollView scrollView;

        public ScrollViewTestWindow()
        {
            Title = "ScrollViewTestWindow";
            Width = 80;
            Height = 25;

            var titleLabel = new Label("DOCUMENTS")
            {
                X = 0,
                Y = 0
            };

            scrollView = new ScrollView()
            {
                X = 0,
                Y = 1,
                Width = 27,
                Height = BUTTONS_ON_PAGE * BUTTON_HEIGHT,
                ShowVerticalScrollIndicator = true,
                ShowHorizontalScrollIndicator = false
            };
            scrollView.ClearKeybindings();

            buttons = new List<Button>();
            Button prevButton = null;
            int count = 20;
            for (int j = 0; j < count; j++)
            {
                Pos yPos = prevButton == null ? 0 : Pos.Bottom(prevButton);
                var button = new ASCIICustomButton(j.ToString(), $"section {j}", 0, yPos, 25, BUTTON_HEIGHT);
                button.Id = $"button{j}";
                scrollView.Add(button);
                buttons.Add(button);
                prevButton = button;
            }

            var closeButton = new ASCIICustomButton( "close", "Close", 0, Pos.Bottom(prevButton), 25, BUTTON_HEIGHT);
            scrollView.Add(closeButton);
            buttons.Add(closeButton);

            var pages = buttons.Count / BUTTONS_ON_PAGE;
            if (buttons.Count % BUTTONS_ON_PAGE > 0)
                pages++;

            scrollView.ContentSize = new Size(25, pages * BUTTONS_ON_PAGE * BUTTON_HEIGHT);

            Add(titleLabel, scrollView);
        }
    }

I renamed this issue to hopefully make it more clear. Please let me know if I didn't get it right.

I see in your code that the ScrollViewTestWindow force the width to 80 and the height to 25 but in your image seems that isn't been respected. So, I deduce you are initialize the app by one of the follows ways:
Application.Run (new ScrollViewTestWindow ());
or
Application.Run<ScrollViewTestWindow> ();
These two ways doesn't force the terminal size to what you want because the ScrollViewTestWindow will be the Application.Top and thus will have always the terminal size.
If you really want to force the size for what you want you must add it before run, like this:
Application.Top.Add (new ScrollViewTestWindow ());
Application.Run ();

This is the result:

But the bug still exists and I'll investigate it, but was only to clarify what is what you want. But perhaps was a workaround to hidden the bug, was isn't? :-)
Do you allow I add a scenario with the code you provide to the UICalalog?

These two ways doesn't force the terminal size to what you want because the ScrollViewTestWindow will be the Application.Top and thus will have always the terminal size. If you really want to force the size for what you want you must add it before run, like this:
Application.Top.Add (new ScrollViewTestWindow ());
Application.Run ();

@BDisp do you think using Application.Run<ScrollViewTestWindow> (); should behave correctly? It seems to me that it should.

Do you allow I add a scenario with the code you provide to the UICalalog?
Yes, sure.

I see in your code that the ScrollViewTestWindow force the width to 80 and the height to 25 but in your image seems that isn't been respected.

I mean that the scrollview is not always the same height as the screen, and in case it is smaller in height, this bug occurs. But as a quick fix, this might be helpful.
By the way, if you I use  TextView in  CustomButton instead of a label, then there is no such problem. But textview does not allow  to do text alignment.
Perhaps this will help you find a solution.

Anyway, thanks for help :)

Thanks @eonyanov. This is already fixed but to test you have to use the current develop branch instead of the nuget package. The problem was caused by the control was derived from the Button which also uses two Label. These two views use the View base Redraw method that wasn't checking for right container bounds.

These two ways doesn't force the terminal size to what you want because the ScrollViewTestWindow will be the Application.Top and thus will have always the terminal size. If you really want to force the size for what you want you must add it before run, like this:
Application.Top.Add (new ScrollViewTestWindow ());
Application.Run ();

@BDisp do you think using Application.Run<ScrollViewTestWindow> (); should behave correctly? It seems to me that it should.

Yes @tig, it it does what it should. So to clarity these bellow samples are similar:
// If the driver is null the InternalInit will be called
Application.Run<ScrollViewTestWindow> ();

or
// The Init must be explicit called.
Application.Init ();
Application.Run (new ScrollViewTestWindow ());

But those two ways will start the app with the ScrollViewTestWindow as Application.Top and thus will always have the terminal size. For this reason I called the @eonyanov attention if he want the ScrollViewTestWindow a fixed size different from the terminal size, then it's needed to add the ScrollViewTestWindow to the Application.Top first, like bellow:
Application.Init ();
Application.Top.Add (new ScrollViewTestWindow ());
Application.Run ();


NoMoreHWID

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

Waste of a PR as no one will even use this "client", would be best for people who wan't to "use" the "client" should remove the Auth their self.


response does not contain count values in production mode

Hi,
just started using pupeteer
I have a scraping code which gets the follower count from facebook and instagram from the url i send with request body
everything works fine locally, but when i move it heroku or google app engine , its giving a success response without facebook or instagram follower count !
i have tried almost everything ! i just can't figure out what is the issue here in production!
app.post("/followers", getFollowers);
handler is 👇
`exports.getFollowers = async (req, res, next) => {
let facebook_followers, instagram_followers;
try {
if (!req.body.facebookURL || !req.body.instagramURL) {
return res.json({
message: "must include facebook and instagram urls in request body.",
});
}
const browser = await puppeteer.launch({
  headless: true,
  timeout: 9000,
  args: ["--no-sandbox", "--disable-setuid-sandbox"],
});

const facebook = await browser.newPage();
const instagram = await browser.newPage();

facebook.on("console", (msg) => {
  for (let a = 0; a < msg.args.length; ++a)
    console.log(`${a}: ${msg.args[a]}`);
});
instagram.on("console", (msg) => {
  for (let b = 0; b < msg.args.length; ++b)
    console.log(`${b}: ${msg.args[b]}`);
});

await facebook.goto(req.body.facebookURL);
await instagram.goto(req.body.instagramURL);

const spanElements = await facebook.$$("span");
const spans = await instagram.$$("a");
for (let j = 0; j < spanElements.length; j++) {
  const element = spanElements[j];
  const txt = await facebook.evaluate(
    (element) => Promise.resolve(element.textContent),
    element
  );
  console.log(txt);
  if (txt.includes("followers")) {
    facebook_followers = txt.split(" ")[0];
  }
}

for (let i = 0; i < spans.length; i++) {
  const element_i = spans[i];
  const txt_i = await instagram.evaluate(
    (element_i) => Promise.resolve(element_i.textContent),
    element_i
  );
  console.log(txt_i);
  if (txt_i.includes("followers")) {
    instagram_followers = txt_i.split(" ")[0];
  }
}
await browser.close();
return res.json({
  success: true,
  facebook: facebook_followers,
  instagram: instagram_followers,
});

} catch (error) {
console.log(error);
res.json({
success: false,
error: error,
facebook: facebook_followers,
instagram: instagram_followers,
});
}
};
`

@Devalfaz not yet, i think its puptr , it api is not widely supported i think


Simple Example of ListView

I tried running the ListView example but ran into errors.
Is it possible to create a very simple demo where developers could essentially copy and past a ListView example to see a working demo? Or perhaps could I get some assistance in running the demo?
I am currently adding a gui to a simple search project I wrote.  As far as I can tell, I cannot create a dynamic set of widgets unless I use the ListView - is this correct?
I like this project and like where its going.  Amazing job to all involved.

Hey @mjehrhart
Try to summarize the needed blocks ... (which should go into orbtk-book
In general we try to implement reference code inside the example subdirectory of the orbtk crate. In concrete, the showcase code is designed to implement all common components, structured to group related widgets inside dedicated tabs.
You can find a reference section consuming the ListView widget around line 338.
The macro instantiates an ItemsView widget (which is used to represent a ListView. It defines a variable items consuming a List type. The List is constructed via a regular rust  Vector creation macro [vec!], where its members are constructed from the given strings.
You are completely free, to construct your List/vector from a file io or socket/stream call.
// Represents an overview of list widgets like ListView, ItemsWidget and ComboBox.
widget!(ItemsView {
    /// Active seleced index of combo box.
    selected_index: i32,

    /// Valid list of items.
    items: List
});

impl Template for ItemsView {
    fn template(self, id: Entity, ctx: &mut BuildContext) -> Self {
        let items = vec![
            "Item 1".to_string(),
            "Item 2".to_string(),
            "Item 3".to_string(),
            "Item 4".to_string(),
            "Item 5".to_string(),
        ];
        let items_count = items.len();

given Codeline 401 a ListView widget will consume the items_builder  method, which itself is using a closure to iterate its index.
BuildContext is mutable and will assign the text variable, that will take the context of the vector string, that is addressed via its index position. Each text-index is rendered inside a TextBlock, aligned in the center of that widget.
Finally calling the build method will trigger the rendering pipeline. Compare to orbtk-book Ingredients, that visualizes the state workflow.
Hope that clarifies your question.

@mjehrhart does that solve your issue? Can i close it?


@edge-runtime/node-utils can't start example server from docs using primitives (node v18.18.2) Headers2 is not a constructor

node v18.18.2
operating system: arch linux
Bug Report
The following code from the docs example fails:
import { once } from "node:events"
import { createServer } from "node:http"
import { buildToNodeHandler } from "@edge-runtime/node-utils"
import * as primitives from "@edge-runtime/primitives"

// 1. builds a transformer, using Node.js@18 globals, and a base url for URL constructor.
const transformToNode = buildToNodeHandler(primitives, {
  defaultOrigin: "http://example.com",
})

const server = await createServer(
  // 2. takes an web compliant request handler, that uses Web globals like Request and Response,
  // and turn it into a Node.js compliant request handler.
  transformToNode(async (req) => new Response(req.body)),
)

// 3. start the node.js server
server.listen()
await once(server, "listening")

// 4. invoke the request handler
const response = await fetch(`http://localhost:${server.address().port}`, {
  method: "POST",
  body: "hello world",
})

console.log(await response.text()) // is 'hello world'
await server.close()

-> % node test.js
.../node_modules/@edge-runtime/node-utils/dist/index.js:1008
    const headers = new Headers2();
                    ^

TypeError: Headers2 is not a constructor
    at toHeaders (/.../node_modules/@edge-runtime/node-utils/dist/index.js:1008:21)
    at toRequest (/.../node_modules/@edge-runtime/node-utils/dist/index.js:1057:18)
    at Server.<anonymous> (/.../node_modules/@edge-runtime/node-utils/dist/index.js:1151:23)
    at Server.emit (node:events:517:28)
    at parserOnIncoming (node:_http_server:1107:12)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)

Expected behavior/code
The server should print "hello world"
I also tried this with global instead of primitives but got a different error. I think the primitives case is easier to debug so I've kept this issue using primitives

I was able to get this working with the following workaround:
import primitives from "@edge-runtime/primitives"

const dependencies = {
  ...primitives,
  Uint8Array,
}

// 1. builds a transformer, using Node.js@18 globals, and a base url for URL constructor.
const transformToNode = buildToNodeHandler(dependencies, {
  defaultOrigin: "http://example.com",
})

Perhaps Uint8Array should be included as part of primitives?
The docs also seem out of date since they suggest using globals to pass to buildToNodeHandler, however this does not seem to include FetchEvent...


feat: local development for NMS after combination with webui

Description
WIP
Feedback is more than welcome
(I haven't taken a look to the docker part but I think it does not work)
This is a first attempt to automate the local development over the NMS, without having to build a rock and deploy it on a charm.
In order to have a local NMS running we need:

Build the NMS
Copy the static files to a specific directory on the webui
Build the webui
Run the webui

The idea is to be able to locally work on the NMS without having to manually run each step every time a change is made.
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code.
[ ] I have made corresponding changes to the documentation.
[ ] I have added tests that validate the behaviour of the software.
[ ] I validated that new and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

superseded by https://github.com/canonical/sdcore-nms/pull/646


Subscriptions do not cleanup

Using your example repo, I noticed that subscriptions do not clean up. Eventually I get the following error:
[1] (node:22811) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 output listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
[1] (Use `Electron --trace-warnings ...` to show where the warning was created)
[1] (node:22811) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 destroyed listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
[1] subscribed

In /electon/api.ts, if you console.log in the cleanup function within the observable, you will see that the component unmounts without cleaning up.

Hi, thanks for reporting the issue! I'll take a look at this and see what's happening.

were you able to confirm this behavior?

It looks like the return value in the subscription observable never get's called. Can reproduce it in the example/basic-react folder:
  return () => {
        ee.off('greeting', onGreet);
        console.log('removed event onGreen ');
      };

The function is only fired once the electron app closes, rather than when the component that uses the useSubscription function is unmounted. Currently looking into the code to find out more if you have any ideas @jsonnull, I will make a PR with the changes once I find it.

So I looked into this and I've found a pretty big oversight in the subscription architecture on the server-side. There's multiple issues here that were converging.
As Ben's pointed out (thanks for making this part easy!) the subscription.stop message is sent to the server, but the server isn't set up to handle this correctly.
It turns out that there's more than that. As Ben also points out, each new subscription was setting a handler on the window to clean up the subscription when the window is destroyed. This is the leak. What's worse is, since the subscription.stop method wasn't being handled, not only was the subscription not getting cleaned up, but this listener on the window's EventEmitter wasn't getting cleaned up either.
I've got a fix working where the subscription cleanup runs, and there's only one listener per window for the window destruction no matter how many subscriptions run.
So I just need to clean up that fix, check on tests, and I'll push the fix out.

Very glad you found the issue. I'll give it a test once it's merged in, hopefully soon!

Alright<EMAIL_ADDRESS>is out with a fix. If you get a chance, let me know if things are working better for you!

Confirming that it works! Thanks!


[SPIKE] Assess InfoSec Cloud Infrastructure Security Report

Context
We need to address the issues raised by this InfoSec Security report (see attached).
In Scope
We should address the Tier 1 issues and assess the Tier 2 issues and either address them or create a card for them (if they are challenging to address).

https://sites.google.com/thoughtworks.com/tw-invisible-institute-wiki/faq?authuser=1

https://publicdataworks.github.io/police_data_manager/technical-content/new-city-setup/infrastructure-setup.html#customizing-the-terraform-scripts


[HP] [MM] multiple menus open at once

Detailed description

Describe in detail the issue you're having.

Click My IBM (don’t close)
Click any mega menu link (don’t close)
Then click any other mega menu link
My IBM icon maintains focus (known issue: #3617 ) if user clicks and doesn't select anything in the dropdown menu, then clicks on any mega menu item.
If the user clicks a second, or third mega menu they will see multiple menus overlaid on top of each other
My IBM focus, single menu

Double menu

Triple menu

Is this a feature request (new component, new icon), a bug, or a general
issue?

bug

Is this issue related to a specific component?

mega menu

What did you expect to happen? What happened instead? What would you like to
see changed?

Only one menu should be open at a time

What browser are you working in?

Chrome
Version 85.0.4183.83 (Official Build) (64-bit)
Safari
Version 13.1.1 (156<IP_ADDRESS>.2)

What version of the IBM.com Library are you using?

Latest release that was integrated with Homepage (Aug 26)

What offering/product do you work on? Any pressing ship or release dates we
should be aware of?

Steps to reproduce the issue

Click My IBM (don’t close)
Click any mega menu link (don’t close)
Then click any other mega menu link
Click another mega menu

Additional information

Screenshots or code
Notes

@annawen1 This is the new bug created by Olivia.  I think she made you aware of it.  I don't have a severity yet, but it seems important so I am moving into the current sprint.

We will identify the root cause and then patch with dates TBD.

Praveen and Chetan tested this bug fix.  Looks good.  Can be closed.


Fixing for Clipboard-Agent Coverity issues

Fixing for Clipboard-Agent Coverity issues
Coverity scan reported
exn_spec_violation An exception of type std::length_error
Test done: Boot and Functional test passed with engineering build.
Tracked-On: OAM-112451

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has completed Engineering Build for this issue, build is SUCCESS.To merge the changes please click on APPROVE FOR MERGE button in Android CI WEB

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has completed Engineering Build for this issue, build is SUCCESS.To merge the changes please click on APPROVE FOR MERGE button in Android CI WEB

Improper Commit Message
Tracked on not found in commit message,
make sure Tracked-On: Jira-ticket  is present.

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has completed Engineering Build for this issue, build is SUCCESS.To merge the changes please click on APPROVE FOR MERGE button in Android CI WEB


Enable RSpec feature to run only failing tests

I find useful being able to run only failing tests:
  rspec --only-failures

see: https://relishapp.com/rspec/rspec-core/docs/command-line/only-failures#running-rspec---only-failures-loads-only-spec-files-with-failures-and-runs-only-the-failures

Moved into tmp/


Add CSV import module to AuditPolicyDsc resource

A new module ready to submit that takes advantage of the new security cmdlets released for nano server.

Closed by #29


Tasks: Add Postman.Postman

Can't test the script, not sure if it works correctly.
The latest PR is https://github.com/microsoft/winget-pkgs/pull/167549 for reference.

Added

Fixed


Environment page - workspace error message

System Information (please complete the following information):

Model Builder Version: <IP_ADDRESS>1905
Visual Studio Version:

Describe the bug
When I try to select an existing workspace + experiment or try to create a new workspace I get errors that basically dump the logs in the dialog.
To Reproduce
Steps to reproduce the behavior:

Go to Model Builder
Click on Object Detection
Select Azure and set up an experiment

Expected behavior
If there's an error in creating / using existing workspace, we should warn the user in a more user-friendly manner in VS. Will need designs from design team.
Screenshots

Additional context
Add any other context about the problem here.

The root cause of it is user doesn't have enough permission to create a workspace, better error message should be thrown in model builder though

Thank you for debugging this, @LittleLittleCloud .
I have created a design backlog ticket for this item.


Add additional environment support (e.g., "staging")

This request came out of #293

@greypants any progress on this one or direction on a friendly PR that we could do to help out? We're increasingly using static builds and need a friendly way to deploy statically generated site that's referencing staging APIs rather than production.


Fixed bug: Showing Data for Maharashtra instead of complete India

Description of PR
Fixed bug: Showing Data for Maharashtra instead of complete India
Type of PR

[x] Bugfix

Relevant Issues
Fixes #694
Checklist

[x] Properly formatted
[x] Tested on desktop
[x] Compiles and passes lint tests
[x] Tested on phone

Screenshots

Hey, looks like this feature was added in #80
Thanks for the PR though :)


Remember window size

Windows such as Branch > Select should retain their previous size otherwise one has to resize (or scroll horizontally) every time it's open.

This should be filed in the UI repo


[Refactoring Suggestions] refactored Operator.register api

Motivation
Operator register api of v2 can remove the part that passes null as a parameter through method overloading.
In this case, we can remove the logic to protect null from the logic inside the register api.
This can make register api code more readable.
Proposal

Change deprecated kubernetesClient.getVersion to KubernetesClient.getKubernetesVersion
Pass a non-null value as a parameter by creating defaultConfiguration in register(Reconciler reconciler)
Remove unnecessary null defense code

I created a pull request to show an example. :)
https://github.com/java-operator-sdk/java-operator-sdk/pull/688

Makes sense to me , also PR looks good. Thank you!


Rewrite Kotlin sources to Java

In order to maintain the consistency of codebase and remove some extra dependencies for Android build, I rewrote Kotlin code to Java.
This already was tested on production.

Interesting. I suppose this is a good idea, given we don't have much written fully in Kotlin anyway. I'd say 👍 if it works as advertised.

Actually, sorry about that but the plan is to do the opposite, I only converted events to kotlin as a POC but everything will need to change 😊


Perform Input Modification Checks At the End of the Build

Also deduplicate them while we're at it. We don't need to ask each job for its input set, we just need to check the same set of files we recorded mod times for in the first place. This saves a quadratic amount of disk I/O and syscalls in the incremental and non-batch builds, which can be a huge wall time savings for large compiles.
In the incremental stress test, 15 seconds are just gone from total wall time. Total user time spent in stating files went from 7 seconds to 20 milliseconds!

@swift-ci test

testInputModifiedDuringMultiJobBuild is failing because this is now only reporting one error for a two-job compile, which should be the expected behavior IMO

@swift-ci test

@swift-ci test

⛵


[refactor](remove unused code) remove many xxxVal structure

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

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

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 39.59 seconds
load time: 500 seconds
storage size:<PHONE_NUMBER>3 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230128014357_clickbench_pr_85306.html


chore: add preview comment on commits

Linked issue
This is a test to see how this would work

🚀 Expo build is ready!
expo-monorepo

Project → expo-monorepo
Platforms → android, ios
Scheme → testscheme
Runtime Version → exposdk:47.0.0
More info

other-monorepo

Project → other-monorepo
Platforms → android, ios
Scheme → testscheme
Runtime Version → exposdk:47.0.0
More info

Learn more about 𝝠 Expo Github Action

test


Making Enum conform to Equatable and CaseIterable

Remove old cases implementation and replacing it with CaseIterable

Thanks @mackoj. Could you run the tests so that the fixtures get updated, and commit them. That's why the tests are failing.
Could you also add a changelog entry

Ok, I will do it today.

It actually breaks swift 4.1 :/

Perhaps a cleaner way would be to just define a custom CaseIterable below Swift 4.2, perhaps in Coding.swift
#if swift(<4.2)
public protocol CaseIterable {
    static let cases: [Self] { get }
}
#endif

In the interest of time I've just opened another PR here https://github.com/yonaskolb/SwagGen/pull/133. I opted to simply drop Swift 4.1 support


Add runtime configuration validation

What does this PR do?
Adds config models from https://github.com/DataDog/integrations-core/pull/8675

/azp run

voltdb:
    File `defaults.py` is not in sync, run "ddev validate models -s"
    File `instance.py` is not in sync, run "ddev validate models -s"


update of VMH metabolite links

Hello
please update the links to the vmh database: e.g., https://www.vmh.life/#metabolite/glc_D
It uses still a vmh.uni.lu link.
Thanks Ines

Hi @ithiele ; thank you for providing us with the updated information! I will check and update accordingly.


ReactInstanceEventListener thread safety

Description
0bea6a9b199 patched up a thread safety issue in ReactInstanceManager by adding a null check.
It should instead have made the code thread safe. This is most easily done by changing mReactInstanceListeners into a https://developer.android.com/reference/java/util/concurrent/CopyOnWriteArrayList. This class use a thread-safe snapshot when get an Iterator from it, and is commonly used for listeners (the Effective Java book talks about this).
The code needs to keep the null check, since some users of the API might now be adding null listeners.
Version
v0.68.0-rc2
Output of npx react-native info
N/A
Steps to reproduce
Add or remove listeners from multiple private threads.
Snack, code example, screenshot, or link to a repository
No response

@JoshuaGross

The code's still using the same field twice and expecting the size to be the same each time.


Link to GitHub with extension recommendation does not work

[Enter feedback here]
link on the site "Extend your subnet to Azure using vendor solutions." does not work

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

ID: c221d52e-1959-7c59-fbb4-2e7690d5ed03
Version Independent ID: ee419d0c-0243-d5b2-44fd-96857015b793
Content: Subnet extension in Azure
Content Source: articles/virtual-network/subnet-extension.md
Service: virtual-network
GitHub Login: @anupam-p
Microsoft Alias: anupand

@marekchmel Thanks a lot for bringing this to our notice, we will review it and fix the document accordingly.

@marekchmel, Appreciate your patience. The doc has been edited accordingly and it would take some time for the changes to get reflect over the doc.
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


Reload data

Hi, is it possible to get data from api and reload data for wheel?
Thanks a lot.

Hello, you can either add the subview programmatically only when your request to network finishes or call wheelLayer.setNeedsDisplay() when changing the slices property of the wheel.


User.IsInRole() issue

I’m seeing some conflicting/confusing behavior when evaluating User.IsInRole().
I'm using example code (Identity Server & MVC Client).  I have database storage for both Identity Server and Asp.Net Identity.
In the Asp.Net Identity database I have a Role, using the tables appropriate for roles, we’ll call it “AdminRole”, I’ve also created a claim in the claims table, ClaimType “Role”, value “UserRole”.  This is not how I would actually implement roles, but this will illustrate the issue I’m seeing.
In both the MVC Client and the Identity Server ‘client’, I have code that evaluates the user roles:  User.IsInRole().
Give the following scenarios this is the behavior I’m seeing:
AspNetRoles table: “AdminRole”
AspNetUserClaims: ClaimType: “role”; ClaimValue: “UserRole”
MVC Client: User.IsInRole(“AdminRole”) returns false
MVC Client: User.IsInRole(“UserRole”) returns false
Identity Server: User.IsInRole(“AdminRole”) returns true
Identity Server: User.IsInRole(“UserRole”) returns true
If I change the Claim type in AspNetUserClaims to:
AspNetUserClaims: ClaimType: “**http://schemas.microsoft.com/ws/2008/06/identity/claims/role**”; ClaimValue: “UserRole”
MVC Client: User.IsInRole(“AdminRole”) returns false
MVC Client: User.IsInRole(“UserRole”) returns true
Identity Server: User.IsInRole(“AdminRole”) returns true
Identity Server: User.IsInRole(“UserRole”) returns false
The claims output for both clients is identical in regards to the role claims.
Additionally, I have the scope type set to ScopeType.Identity (I wasn't seeing the roles in the MVC Client otherwise), and the IncludeAllClaimsForUser = true.

See here
https://leastprivilege.com/2016/08/21/why-does-my-authorize-attribute-not-work/

Any update on the issue? closing for now - feel free to re-open if it needs further discussion.


[Question]: Using vLLM to build GroupChat

Describe the issue
Hi there! Your work is inspiring, but may I ask if there any examples about how to use vLLM to build GroupChat?
I can only find a simple example about leveraging vLLM-powered application, which only supports simple chat form: 'user/assistant/user/assistant/...'
Steps to reproduce
No response
Screenshots and logs
No response
Additional Information
No response

you can try the existing groupchat notebooks/tutorials with the config_list mentioned in the above mentioned example.
https://microsoft.github.io/autogen/docs/notebooks

Thanks @Hk669, @wxl-lxw you can also look at specific group chat examples in this section.

Thanks!


Crash error

Game crashes when you enter into a game when injected. Error:
[schema.cpp:111] [error] failed to find offset for field with hash: 0x9241B8778DD136BD

that only happened if you haven't pulled the latest commit lol, I have said this multiple times, stop using old non updated clone

read #67


Ionic Server & Build Taking too long.

Is there any solution to minimize the build time, as it is taking too long for build/serve every time

ionic-app-scripts build
[07:19:21]  ionic-app-scripts 0.0.23
[07:19:21]  build prod started ...
[07:19:21]  clean started ...
[07:19:21]  clean finished in 47 ms
[07:19:21]  copy started ...
[07:19:21]  ngc started ...
[07:19:22]  lint started ...
[07:19:22]  copy finished in 547 ms
[07:19:25]  lint finished in 3.61 s
[07:20:44]  ngc finished in 82.59 s
[07:20:44]  bundle prod started ...
[07:21:30]  bundle prod finished in 45.86 s
[07:21:30]  sass started ...
[07:21:39]  sass finished in 9.26 s
[07:21:39]  minify started ...
[07:21:39]  cleancss started ...
[07:21:39]  uglifyjs started ...
[07:22:22]  uglifyjs finished in 43.13 s
[07:22:22]  cleancss finished in 43.13 s
[07:22:22]  minify finished in 43.15 s
[07:22:22]  build prod finished in 180.96 s

Hello, thanks for using Ionic! It looks like you are running the production build here, which is not meant to be run often. The dev build that runs when you use ionic serve is much faster as it does not run NGC or Uglifyjs. We are constantly working on getting our build times lower and you will see this improve dramatically in the future. Thanks!

I am just doing ionic serve as i always do.
If this build is for production then please let me know, how do I build for development? Where can i switch mode between Production  to Development (or vice-versa) .

I'm just doing ionic serve, but still taking more than 20 sec
 bundle dev update finished in 20.15 s


make arangosh automatically reconnect if the server closes the connection

Scope & Purpose
This masks the ugly "Connection reset by peer" errors that occur if a user operation is carried out in arangosh on a connection that was already closed by the peer.
Instead of throwing the error in the user's face, the shell will silently try to reconnect and execute the operation once again. If that still fails, the error is propagated.

[x] Bug-Fix for devel-branch (i.e. no need for backports?)
[ ] Bug-Fix for a released version (did you remember to port this to all relevant release branches?)
[x] The behavior in this PR can be (and was) manually tested (support / qa / customers can test it)

Testing & Verification
This change is a trivial rework / code cleanup without any test coverage.
https://<IP_ADDRESS>/view/PR/job/arangodb-matrix-pr/7003/

https://<IP_ADDRESS>/view/PR/job/arangodb-matrix-pr/7005/


[2017-05-09 13:03:50] [info] Found 30 duplicates  --Always Reports 30--

I have run Diskover and then run it with the --dupesindex on four of my NFS mounts and all four report back "Found 30 Duplicates".  I think it's very unlikely that they all have exactly 30 duplicates so I'm thinking there might be a bug that is limiting it to 30.
Below are the results of indexing and dupes searching two different NFS mounts.
[2017-05-09 11:53:54] [status] Connecting to Elasticsearch
[2017-05-09 11:53:54] [info] Checking for ES index: diskover-2017.04.22
[2017-05-09 11:53:54] [warning] ES index exists, deleting
[2017-05-09 11:53:55] [info] Creating ES index
Crawling: [100%] |████████████████████████████████████████| 279718/279718
[2017-05-09 12:47:18] [status] Finished crawling
[2017-05-09 12:47:18] [info] Directories Crawled: 279718
[2017-05-09 12:47:18] [info] Files Indexed: 475561
[2017-05-09 12:47:18] [info] Elapsed time: 3204.14460206
python /diskover/diskover/diskover.py --dupesindex
[2017-05-09 13:03:49] [status] Connecting to Elasticsearch
[2017-05-09 13:03:49] [info] Checking for ES index: diskover_dupes-2017.04.22
[2017-05-09 13:03:49] [warning] ES index exists, deleting
[2017-05-09 13:03:49] [info] Creating ES index
[2017-05-09 13:03:50] [info] Found 30 duplicates
[2017-05-09 13:03:50] [status] Finished creating duplicate files index
[2017-05-08 20:08:21] [status] Connecting to Elasticsearch
[2017-05-08 20:08:21] [info] Checking for ES index: diskover-2017.04.22
[2017-05-08 20:08:21] [warning] ES index exists, deleting
[2017-05-08 20:08:21] [info] Creating ES index
Crawling: [100%] |████████████████████████████████████████| 70988/70988
[2017-05-08 20:50:11] [status] Finished crawling
[2017-05-08 20:50:11] [info] Directories Crawled: 70988
[2017-05-08 20:50:11] [info] Files Indexed: 3165862
[2017-05-08 20:50:11] [info] Elapsed time: 2510.63846493
python /diskover/diskover/diskover.py --dupesindex
[2017-05-09 09:46:18] [status] Connecting to Elasticsearch
[2017-05-09 09:46:19] [info] Checking for ES index: diskover_dupes-2017.04.22
[2017-05-09 09:46:19] [warning] ES index exists, deleting
[2017-05-09 09:46:19] [info] Creating ES index
[2017-05-09 09:46:19] [info] Found 30 duplicates
[2017-05-09 09:46:19] [status] Finished creating duplicate files index

It seems like you are not using the cli argument --nodelete for the 2nd crawl:
[2017-05-08 20:08:21] [warning] ES index exists, deleting
Please take a look at the diagram on the README.md and you will see the CLI arguments and steps to use.
You need to run the --dupesindex after all the crawling/indexing is finished. You can run concurrent crawls/indexers but you need to use the --nodelete cli argument for additional crawls that you want to append/merge into an existing index.

The diagram is under the heading Speeding up crawl times

Perhaps I'm misunderstanding but... doesn't that prove the bug?  I'm doing a completely new index each time I run.  I am not doing runs concurrently.
To be specific, steps I took:
cd /mnt/NFS1/
python /diskover/diskover/diskover.py -m 1 -s 1
\Wait for it to Finish.
python /diskover/diskover/diskover.py --dupesindex
\Results are 30 dupes from NFS1.
cd /mnt/NFS2/
python /diskover/diskover/diskover.py -m 1 -s 1
\Wait for it to Finish.
python /diskover/diskover/diskover.py --dupesindex
\Results are 30 different dupes from NFS2
And so on and so forth.

Those two crawl will use an index name that is in the diskover.cfg file so you are overwriting the index on the 2nd crawl of NFS2. If you don't add the cli argument -i  it will use the index name in the config file.

I've fixed this bug in v1.0.8, please download the new release and test again.

Seems fixed.  The first time running 1.0.8 --dupes I got the weird error below but after running a second time there was no issue.
[2017-05-09 23:18:18] [status] Connecting to ElasticsearchTraceback (most recent call last):   File "/diskover/diskover/diskover.py", line 533, in <module>     main()   File "/diskover/diskover/diskover.py", line 490, in main     dupe_count = indexCreateDupes(ES, INDEXNAME, NODELETE, VERBOSE)   File "/diskover/diskover/diskover.py", line 424, in indexCreateDupes     dupes_list, dupe_count = dupesFinder(ES, INDEXNAME)   File "/diskover/diskover/diskover.py", line 461, in dupesFinder     res = ES.search(index=INDEXNAME, body=data)   File "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/utils.py", line 73, in _wrapped     return func(*args, params=params, **kwargs)   File "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/__init__.py", line 625, in search     doc_type, '_search'), params=params, body=body)   File "/usr/local/lib/python2.7/dist-packages/elasticsearch/transport.py", line 318, in perform_request     status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)   File "/usr/local/lib/python2.7/dist-packages/elasticsearch/connection/http_urllib3.py", line 122, in perform_request     raise ConnectionTimeout('TIMEOUT', str(e), e) elasticsearch.exceptions.ConnectionTimeout: ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host='localhost', port=9200): Read timed out. (read timeout=10))

I found a bug after testing more in v1.0.8 for duplicates, please download v1.0.9 release from this morning and let me know how it goes.

That error above looks like a http time out for Elasticsearch client communicating with the ES, maybe the server hosting ES was under too heavy load during that time or some other ES issue.

I'll try to test later tonight.  I had to spin down my Diskover VM to save memory on my ESXi host.
Regarding my error after v1.0.8:  I agree, I don't think it was a Diskover error, just a Elasti error.
Thanks again!


Design for custom exceptions

In our project, we need to control which exceptions get thrown into C++ code from our Rust callbacks (i.e., it can't be rust::Error, not even std::exception, it has to be one of the project-specific exception types).
The PR https://github.com/dtolnay/cxx/pull/1180 already provides some basics to be able to handle custom errors using a callback into C++ to construct the exception (via ToCxxException trait). However, this is not sufficient, since we need to handle also "standard" exceptions like AllocError or std::io::Error to throw respective C++ exceptions.
One possible way would be to add ToCxxException for some standard Rust errors (which is probably desirable on its own), but due to the Rust type system, such implementations must reside in cxx crate. Adding the possibility to register callbacks to generate different exceptions for all these types would bloat the cxx crate unnecessarily.
The proposal is thus to simply leave this to the implementor of the higher layer functionality (i.e., our team in this case) to actually convert errors to C++ exceptions in an application-specific way.
In https://github.com/dtolnay/cxx/pull/1180, the default mapping is done using cxx::map_rust_error_to_cxx_exception macro. This currently only handles CxxException specially to allow for transparent passing of C++ exceptions through Rust frames. As mentioned, this could be extended for some standard exceptions.
However, to make this fully flexible, we can simply add an attribute with the path to the macro on the bridge/extern block/function (typically only on the bridge) to specify this mapping macro explicitly. Then, the bridge will generate the code to map the error to the exception in a user-specific way, avoiding bloat in the cxx crate.
The current working proposal is:
#[cxx::bridge(namespace = "my_crate")]
#[error_mapper = ::my_crate::map_rust_error_to_cxx_exception]
pub mod ffi {
   ...
}

where my_crate::map_rust_error_to_cxx_exception is a macro taking one ident or expr with the value of the Rust error and returning a cxx::CxxException object built for it. Since it's a macro, it can implement the semi-specialization trick via multiple trait impls shadowing each other in a deterministic way to handle some errors explicitly and some by a common fallback path, much like already done in the cxx crate.
We have the implementation already done in mere ~60 LOCs on top of https://github.com/dtolnay/cxx/pull/1180, but cannot publish it yet, since that PR is still pending.
Any further ideas/opinions/suggestions for the attribute name?
Thanks.

Note: I found an alternative, but it's not particularly nice (still based on https://github.com/dtolnay/cxx/pull/1180).
Instead of adding an attribute, I can import all items from cxx into a new crate, say rte_cxx, then shadow either the macro map_rust_error_to_cxx_exception or the trait ToCxxException there and then import rte_cxx under the name cxx into the crate creating the bridge. This works basically in the same way as specifying an additional error mapper attribute (of course, then for all bridges in that crate, but that's fine in our project). Not sure which way is preferred.
Any other ideas?


Manage profiles

add dialog page to manage conan profiles. profiles are complex, so at very least it would be nice to:

list profiles
add profiles
remove profiles
open profile for edit

editing individual profile entries is too much for the first implementation

I have the same opinion on these features as I gave regarding remotes here:
https://github.com/bincrafters/conan-vs-extension/issues/22#issuecomment-472441372


Prepare 0.3.1 release

Contains one fix: prevent nil elements when placing additional element on empty articles
Also make version number in specs dynamic

+1 not sure if plus-pull takes the GH approvals as ok, nor if it needs a count.

LGTM

+1

+1

Thanks for the reviews! And @ifosch: no, plus pull is not active on this repository, after approval we just merge the PR manually 😉


Fix query filter panel light mode style

Summary

Fix the colors of the filter panel and/or group brackets in light mode.
Also, fix the styling of the derived property button on the exists node in the filter panel.
How did you test this change?

[ ] Test(s) added
[x] Manual testing (please provide screenshots/recordings)
[ ] No testing (please provide an explanation)

Closing this PR in favor of https://github.com/finos/legend-studio/pull/3147 since gs-opensource-bot reverts any changes made to this branch.


server: support dynamically change grpc-memory-pool-quota

Signed-off-by: glorv<EMAIL_ADDRESS>
What is changed and how it works?

Issue Number: Close #xxx
What's Changed:

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
Please add a release note.
If you don't think this PR needs a release note then fill it with None.
If this PR will be picked to release branch, then a release note is probably required.

depending on https://github.com/tikv/grpc-rs/pull/568.

/build

/test

/merge


Replace globe with a 2d map

This is addressing #14:
I've replaced the globe map with a 2d map (still from plotly).
I also added a conda environment.yml file as an alternative to requirements.txt (for venv).

Wow thanks @spestana ! Would you be able to update the readme with conda instructions as well in this change?


Access Model on Service initialization (Question/Feature Request)

I have a Service that should be initialized according to settings written in the database.
What is the correct way to achieve that goal?

I use a startup hook which talks to the DB and grabs the configuration settings, then overrides the default configuration I have set in config/*.js and starts the server.
For example, our listen port is DB-derived, so at startup I check the DB for the port number the service should be configured at, and then tell Sails to use that port rather than the default of 1337 or 80.
If you mean the Sails services under api/services, then I use my startup hook to call an init() method in my service file, which gets run first. Then, each incoming request could call various methods within the service just like normal. This gives me a chance to do something once at startup but not pollute the config/bootstrap.js file.
Also, I find it helpful for my startup hook to delay returning control to Sails for about 2 seconds to ensure Grunt and anything else has a moment to complete before allowing Sails to begin listening for connections. I found that sometimes Sails would be so quick to accept connections that parallel tasks may still be finishing up and I had no way to wait for them to finish, so this was an acceptable workaround. In the case of Grunt copying a lot of assets on startup, clients would see a lot of 404s for assets when they refreshed after a restart, and this would make the UI look awful.

Wow. Cool!


Avoid having cascade be title of all methods in jazzy docs

Motivation:
Documentation in jazzy looks misleading, listing all methods under "cascade" since no new MARKs are defined;
Like this:

Modifications:

declare more MARKs, it's repetetive but not wrong now

Result:

Nicer docs

Results in:

Repetetive, but not wrong ¯\(ツ)/¯

@swift-nio-bot test this please


[WIP] Add bitrise badge to README

Pending Xcode 11 stack on Bitrise... Closes #10

While the Xcode 11 stack is now available, the test step doesn‘t work, as the iOS 13 simulator can‘t be found... Awaiting clarification from Bitrise


Shyncronization issue by using recordRTC audio and video record.

Hello Muaz,
Please help me, when I tried to record long audio and video. then there will synchronisation issue happen. I think its cache issue,can you please help me how to clear the browser cache related to this blob, I am loading this script  $.getScript('js/RecordRTC.js'); every time when I start record(audio/Video).
Thanks,
Amarjit

Suggest you have a look at MRecordRTC to see if works better


import method to write ocds and extensions into elastic

Coverage decreased (-0.3%) to 95.424% when pulling d0269609a9dab74b7a19fd357a88ce750a6c95a2 on DmytroObertan:master into 1213c278e4ec3826f78d8da6f2843992fd89d9be on openprocurement:master.


Allow message_progress_bar to be a function

I have encountered this situation many times when I want to update the progress bar message when the progress bar updates, but the only way of doing it before is manually changing the innerHTML in an on_finish function of a trial. Therefore, I think we should allow users to set message_progress_bar as a function that returns the progress, so that the message gets updated automatically.
For example:
const jsPsych = initJsPsych({
    show_progress_bar: true,
    auto_update_progress_bar: true,
    message_progress_bar: (progress) => `Current progress: ${progress * 100}%`
});

Thanks @Shaobin-Jiang! This seems useful to me.
@jspsych/core what do you think about having message_progress_bar be a string or function? Should it just be a function?

I personally think message_progress_bar could either be a string or a function. There must be many who are happy with displaying just an unchanging message along side with the progress bar. Also I believe in this way message_progress_bar can behave like a dynamic parameter.

I tend to agree with @Shaobin-Jiang. Also, supporting both really doesn't add much complexity implementation-wise.


add run_pyspark_from_build.sh to the pytest distribution tarball

Need this for the integration test CI/CD builds.
Signed-off-by: Thomas Graves<EMAIL_ADDRESS>

@revans2

build


No active keyboard focus is present on Left pane of Workbooks window.

Steps to Reproduce
1.Launch Xamarin Workbook application and select platform and create a new workbook.
2. Navigate to Left pane (Project Tree) and try to navigate through the tree.
Expected Behavior
Active keyboard should be present on Left pane and user should be able to traverse  these tree/table items using keyboard.
Actual Behavior
No active keyboard focus is present on Left pane of Workbooks window.
User is unable to interact with these tree items  using arrow /tab keys etc.
Note1: User is unable to invoke the Context menu for these left pane tree items.
Eg. In the left pane "NuGet Package" tree item having "Add Package.."  in context menu, but keyboard user is unable throw the same using keyboard.
Note2: User is unable to expand collapse the tree items of the left pane.

User Impact
User is unable to know, whether the left pane is getting keyboard the focus or not.
Environment
MAC: macOS High Sierra [10.13.4]
Workbook - 1.4 (master/b3f92f9)

Log File

Please add the following labels to this bug:
A11yMAS
Accessibility
MAS2.4.7
Xamarin-Workbook-MAC
Wipro

Exemption Approved - 1815


Merge pull request #1 from Dataman-Cloud/release

merge from dataman

Current coverage is 41.64%

No coverage report found for release at b246d93.

Powered by Codecov. Last update b246d93...75efbc0

@Felix-YuJing what's about?

@upccup  I'm sorry. It's a wrong  operation. I will close it.


Invalid email explanation summary

Added summary of what an invalid email is and link to glossary.
Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @hmbrown64,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX

this looks great @hmbrown64! I'm not sure what's wrong with the build, so troubleshooting that now

this looks great @hmbrown64! I'm not sure what's wrong with the build, so troubleshooting that now

@ksigler7, she made a tiny but crucial mistake instead of {{root_url}}/docs/glossary/invalid-email/ should be just {{root_url}}/glossary/invalid-email/. I am 100% sure that root_url stands for sendgrid.com/docs. Am I correct?

@dagolinuxoid - thank you so much for this!!!!


Monitoring the state of the application

As an administrator I want to know about the state of the marketplace application so I can check wheter it is working fine or we have issues that prevent the application for running or running with good performance.
Remark: This ticket is at it's first definition just a kind of reminder that the stakeholder wants to see new technologies in use. In this case we do have to think about an useful software to monitor our application so we can check at every moment, if its working or if there are any issus to check.
DoR:

[ ] The team found a software to monitoring the application state
[ ] When we got a software selected and ready to use, we will define the acceptance criteria and DoD.

Acceptance critera:

[ ]

DoD:

[ ]

AC's and DoD wurden zu diesem Zeitpunkt nicht konsequent nachgeführt, sollte von PO angeschaut werden @TimmyAeberli


formula_desc_cop: desc should be capitalised.

Note that the formula description field should start with a capital letter.
CC @GauthamGoli for review and @DomT4 who I think mentioned this before.

I can't remember having flagged that but it definitely seems like something I would've done, so 😄. Idea is a 👍 with me.

👍 Could also add an autocorrect method for capitalization, so fixing can be less pain for existing formulae.

Could also add an autocorrect method for capitalization

@GauthamGoli Good idea. Will look at that next!


[Feat] strapi v4 with graphql

Describe the bug
I suspect there is a bug, but not sure.
strapi v3 graphql query
query {
  users {
    username
    email
  }
}

strapi v4 graphql query, the field nested under attributes
query {
  documents {
    data {
      id
      attributes {
        title
        categories {
          data {
            id
            attributes {
                name
            }
          }
        }
      }
    }
    meta {
      pagination {
        page
        pageSize
        total
        pageCount
      }
    }
  }
}

In refine, it will query like this:
{
  "query": "query ($where: JSON, $sort: String, $start: Int, $limit: Int) { symptomsConnection (where: $where) { aggregate { count } } symptoms (sort: $sort, where: $where, start: $start, limit: $limit) { name } }",
  "variables": {
    "where": {},
    "sort": "id:asc",
    "start": 0,
    "limit": 10
  }
}

Does the symptoms { name } seems use strapi v3 graphql grammer?
There are also error messages on request :

...
"Cannot query field \"symptomsConnection\" on type \"Query\"."
...
"Unknown argument \"where\" on field \"Query.symptoms\"."
...

Do I missing something? Or @pankod/refine-strapi-graphql is used for strapi V3?
deps
"@pankod/refine-strapi-graphql": "3.25.6",
"@pankod/refine-strapi-v4": "3.25.6",
backend deps
"@strapi/plugin-graphql": "4.2.0",
"@strapi/strapi": "4.2.0",

I'm not sure I have the ability to do that thing. 😂
Can you point out how to do this? Or I can try to step by step, the worst case is that I can't do it, but I leave some information for further develop

Great, I think you're being unfair to yourself on this one. Now I will share some documents and examples that will make your development easier 🚀
How does Refine handle GraphQL queries?
https://refine.dev/docs/guides-and-concepts/data-provider/graphql/
Hasura GraphQL data provider:
https://github.com/pankod/refine/blob/next/packages/hasura/src/index.ts
NHost GraphQL data provider:
https://github.com/pankod/refine/tree/next/packages/nhost
Discord server where you can get support from us whenever you need help: https://discord.gg/refine :)

After some research, except for some technical issues, I find the support to v4 graphql support should be delay.
Lots of complains are found in strapi forum. I guess there would be some changes in the future.
And some technical issues includes:

strapi-v4 's normalizeData function could handle response problems
but query problems(mess data, attributes) are hard to resolve

@omeraplak close this issue or just leave it to wait?

Hey @HaveF,
Thanks a lot for your research. I think we can close the issue. For now, we need some time

Spent 2 hours before realizing I needed version 3 of strapi

Spent 2 hours before realizing I needed version 3 of strapi

Sorry to hear that. We should clearly state this in our documents

yes u should

Spent 2 hours before realizing I needed version 3 of strapi

Sorry to hear that. We should clearly state this in our documents


Do not allocate ids conflicting with existing segment ids

Bug
Consider a situation where there are:

No used segments
Unused segments with ids ranging from 1 to 10
Pending segments with ids ranging from 1 to 5 due to partial clean up

Previously, new segment allocations would consider only used and pending segments and allocate a segment with id 6.
This is problematic as it conflicts with an existing unused entry in the segments table.
Cause
The bug was discovered because of the pending segment cleanup introduced recently as part of https://github.com/apache/druid/pull/16144.
This PR introduced pending segment clean up but it is partial as it cleans pending segments created only after the overlord's upgrade.
Sequence of events:

Allocate and commit segments with ids from 1 to 5
Checkout to a commit containing the above PR
Allocate and commit segments with ids from 6 to 10. The pending segments would be cleaned up upon completion.
Mark all segments from 1 - 10 as unused.
Allocate a new segment.

Changes
After a segment has been allocated, check that it doesn't correspond to any used or unused segment id in druid_segments table.
If it does, try to look at the unused segments and increment the partitionNum to max(unusedSegment.partitionNum) + 1 if needed.
Even though this requires fetching all unused segments for a given (datasource, version, interval) when there is a conflict, the conflict would arise due to unused segments at most once and would not affect batch segment allocation's performance.
Alternatives
Unused pending segments must be cleaned up or ignored when they are not associated with any existing active lock.
This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[x] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[x] been tested in a test Druid cluster.

@kfaraz  @cryptoe Thank you


Ensure async functionality does not cause python2 syntax errors

Codecov Report

Merging #624 (8f0f338) into master (b78f700) will increase coverage by 0.09%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #624      +/-   ##
==========================================
+ Coverage   81.79%   81.89%   +0.09%
==========================================
  Files           4        5       +1
  Lines        3027     3037      +10
==========================================
+ Hits         2476     2487      +11
+ Misses        551      550       -1

Impacted Files
Coverage Δ

param/_async.py
0.00% <0.00%> (ø)

param/parameterized.py
82.82% <0.00%> (+0.93%)
:arrow_up:

numbergen/__init__.py
80.32% <0.00%> (+0.40%)
:arrow_up:

Continue to review full report at Codecov.

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

This looks good to me. I'll try to add some tests because I think these code paths aren't tested at all.

@philippjfr this is ready to me, the tests I've added are really simple and are just meant to get 100% coverage of the _async module.


[WIP] Changes needed in support of alchemiscale-fah

This PR contains all changes needed for alchemiscale-fah MVP support.

@ijpulidos can I get an initial review on this one? I'm not sure we'll need any additional changes in feflow in support of https://github.com/openforcefield/alchemiscale-fah/pull/7, but I'll keep it in [WIP] state until I'm certain of that. A review will still be helpful to ensure there aren't any obvious gaps in the changes here.

Actually, I think @ijpulidos is on vacation starting today; can I get a review from you instead @IAlibay?

@dotsdl The CI failing is because we have temporarily dropped support for GAFF, but we are still using it in our tests and these are not easy to adapt without some non-trivial amount of work. Thats also why it's working with older python (which install older versions of the dependencies and GAFF that work fine).
The changes in this PR are unrelated to that issue, this should be ready to be merged. LGTM!


MAISTRA-1005 Do not expect namespaces to have a stable ordering

The ServiceMeshMemberRoll controller was previously checking the equality of the existing list of namespaces vs incoming using a simple for-loop that would report inequality in case of different ordering. This now became a problem when a bug in the operator caused it to repeatedly reconcile the MemberRoll, changing the order of namespaces in the process.
Note that this increases complexity of the equality check by quite a margin, but the changes in https://github.com/Maistra/istio/pull/51 could counteract this.

LGTM, but you could also shorten this a lot by using sets.NewString() and HasAll() or Equal() (see vendor/k8s.io/apimachinery/pkg/util/sets/string.go)

Good call. I'm using sets now. I tried to make the change as non-invasive as possible, I will include a refactored version into my WIP PR that doesn't rebuild the sets on every comparison but stores a set instead of []string in its struct.

Was able to confirm that this change will at least keep the control plane sane when the operator goes into the endless reconciliation loop. Still looking at how to fix the operator side


read_clean output should not include index

Please exclude index column from the output of read_clean.py

Fixed the script (0d5eec180d51a561d4bc0cf7c8420e6806567614)


[Datumaro] Diff with exact annotation matching

Motivation and context

It can be hard to find tools for direct equality comparison of datasets. This patch adds this capability to Datumaro.

Added project ediff command for direct comparison of datasets

Optional annotation fields can be excluded from comparison (e.g. label for boxes, id, group)
Specific annotation and item attributes can be excluded from comparison (e.g. frame, is_crowd etc.)

Example output:

# Compare 2 projects,
# ignore annotation .id and .group fields and the 'is_crowd' annotation attribute
# ignore item's 'frame' and 'id' attributes
# Result: compared CVAT xml and COCO instance annotations
datum project ediff test_project2 -if id -if group -ia is_crowd -iia frame -iia id

Found:
The first project has 0 unmatched items
The second project has 0 unmatched items
25 item conflicts
15 matching annotations
0 mismatching annotations

Output has been saved to 'diff.json' # has a list of differences

How to test:

Create a pair of datumaro projects (import a CVAT task etc.)
datum project ediff -p project1/ project2/

How has this been tested?

Unit tests
Checklist

[x] I submit my changes into the develop branch
[x] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[x] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Ready for testing.

Pull Request Test Coverage Report for Build 6976

104 of 192 (54.17%)  changed or added relevant lines in 4 files are covered.
11 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.2%) to 69.506%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

datumaro/datumaro/cli/contexts/project/diff.py
0
1
0.0%

datumaro/datumaro/util/init.py
1
2
50.0%

datumaro/datumaro/cli/contexts/project/init.py
9
39
23.08%

datumaro/datumaro/components/operations.py
94
150
62.67%

Files with Coverage Reduction
New Missed Lines
%

datumaro/datumaro/util/init.py
4
76.64%

cvat/apps/engine/media_extractors.py
7
75.52%

Totals

Change from base Build 6968:
-0.2%

Covered Lines:
11763

Relevant Lines:
16476

💛  - Coveralls


Failed to load resource?

Hello,
All of a sudden I began getting the below error.

I looked into the .app, and it isn't there. I always do cordova prepare ios prior to running.

This file was added in v2.
Can you please show how you import the plugin from config.xml?

21 Şub 2017 Sal, saat 13:22 tarihinde viskin<EMAIL_ADDRESS>şunu yazdı:

This file was added in v2.
Can you please show how you import the plugin from config.xml?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/terikon/cordova-plugin-photo-library/issues/40#issuecomment-281302780,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABiHXp7Gb_nD_zn0nzpfATVp4rrnRzorks5rerrQgaJpZM4MHGwB
.

Try removing the yourapp/plugins folder (backing it up can be useful) and then run cordova prepare.
This will make cordova re-read the plugin from git.

I just tried and I have to take the time to make a few comments here and say that:

The file is in plugins/cordova-plugin-photo-library/www/async/dist/async.min.js (assuming .map is created on the fly).
The issue occurs only on iOS.

Here are the steps to reproduce the issue:

I removed all plugins/ directory and platforms/ just to be safe
Did cordova platform add android followed by cordova platform add ios.
Did cordova prepare and cordova prepare ios (again, just to be safe).
Opened .xcodeproj file and browsed to Product > Run
Opened Safari > Develop
Got the error

same issue here on ios.  I apparently haven't update my plugin for about a week or so, and now I'm seeing the same issue when trying to use the latest on ios. I'm using plugin name="cordova-plugin-photo-library" spec="https://github.com/terikon/cordova-plugin-photo-library.git">

I now understand. The async library that I added to the plugin references map file. The map file was not added, I don't want it there - it will increase size of the app without reason. And Safari Dev mode prints this error as it cannot find map file.
AFAIK this error message is harmless. Can you confirm that everything is still working on iOS, including debugging of your app?
If so, there are 4 possible solutions:

Copy map file - I don't want, size of the app matters.
Just keep it as it is, and ignore error message on iOS. Not so pretty, but possible.
Remove reference to map file from async.min.js. Will make it harder to upgrade async version in future, the need to remove something should be documented and remembered.
Adding empty map file. I don't know how Safari will behave in such case, hope it will not be something much uglier. But this solution, if it will work, can be optimal.

iOS can't find this file, and it halts (it's not working). I'll try
removing the reference and I think this needs to be fixed regardless.
Agreed?
On 21 February 2017 at 16:21, viskin<EMAIL_ADDRESS>wrote:

I now understand. The async library that I added to the plugin references
map file. The map file was not added, I don't want it there - it will
increase size of the app without reason. And Safari Dev mode prints this
error as it cannot find map file.
AFAIK this error message is harmless. Can you confirm that everything is
still working on iOS, including debugging of your app?
If so, there are 4 possible solutions:

Copy map file - I don't want, size of the app matters.
Just keep it as it is, and ignore error message on iOS. Not so
pretty, but possible.
Remove reference to map file from async.min.js. Will make it harder
to upgrade async version in future, the need to remove something should be
documented and remembered.
Adding empty map file. I don't know how Safari will behave in such
case, hope it will not be something much uglier. But this solution, if it
will work, can be optimal.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/terikon/cordova-plugin-photo-library/issues/40#issuecomment-281342336,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABiHXmQ7mapcmRTV6DZovxcWrxBXwusOks5reuS8gaJpZM4MHGwB
.

--

From what I can see, it's already commented out.

grep -n min.map
plugins/cordova-plugin-photo-library/www/async/dist/async.min.js
2://# sourceMappingURL=async.min.map

On 21 February 2017 at 16:24, Tolga Ozses<EMAIL_ADDRESS>wrote:

iOS can't find this file, and it halts (it's not working). I'll try
removing the reference and I think this needs to be fixed regardless.
Agreed?
On 21 February 2017 at 16:21, viskin<EMAIL_ADDRESS>wrote:

I now understand. The async library that I added to the plugin references
map file. The map file was not added, I don't want it there - it will
increase size of the app without reason. And Safari Dev mode prints this
error as it cannot find map file.
AFAIK this error message is harmless. Can you confirm that everything is
still working on iOS, including debugging of your app?
If so, there are 4 possible solutions:

Copy map file - I don't want, size of the app matters.
Just keep it as it is, and ignore error message on iOS. Not so
pretty, but possible.
Remove reference to map file from async.min.js. Will make it
harder to upgrade async version in future, the need to remove something
should be documented and remembered.
Adding empty map file. I don't know how Safari will behave in such
case, hope it will not be something much uglier. But this solution, if it
will work, can be optimal.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/terikon/cordova-plugin-photo-library/issues/40#issuecomment-281342336,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABiHXmQ7mapcmRTV6DZovxcWrxBXwusOks5reuS8gaJpZM4MHGwB
.

--

--

@kartagis Please do the 4. Keep the async.min.js unchanged. Create empty async.min.map file next to him. It it will solve your problem, I will add such file to the plugin.

I touch'd plugins/cordova-plugin-photo-library/www/async/dist/async.min.map and did cordova prepare ios afterward. However, I still get the error.

Fixed this by adding empty map file.
This didn't work for you cause it also should be added to plugin.xml.
Please try the latest git version.

Hello,
Thanks for fixing this, but now another problem arose.
On iOS, no matter how long I wait, getLibrary isn't grabbing anything. I tried on Safari console, I tried on the device; nothing. ActivityIndicator is spinning and spinning... I removed the plugin and added it again from github.

Can be permissions?

Right, requestAuthorization();

Yes it was permissions. This time, I've got a question for you. On Android, images are added to DOM partially as library is still being read. However on iOS, they are added once all the library has been read. Any ideas about that?

Do you have this problem with demo project?

I'll have to check on Monday as I don't own a Mac at home.
25 Şub 2017 Cmt, saat 17:38 tarihinde viskin<EMAIL_ADDRESS>şunu yazdı:

Do you have this problem with demo project?
http://photo-library-demo-jquery
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/terikon/cordova-plugin-photo-library/issues/40#issuecomment-282487904,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABiHXgNN1BGjHw3-mUOoBOUmcImD9ctUks5rgDzfgaJpZM4MHGwB
.

--

@kartagis There indeed was a problem with threads on iOS. Now seems to be fixed. Thanks for reporting.

Happy to help
25 Şub 2017 Cmt, saat 20:56 tarihinde viskin<EMAIL_ADDRESS>şunu yazdı:

@kartagis https://github.com/kartagis There indeed was a problem with
threads on iOS. Now seems to be fixed. Thanks for reporting.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/terikon/cordova-plugin-photo-library/issues/40#issuecomment-282500489,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABiHXjUrl3z58aIGrIAPto7_cJh0K7GWks5rgGtBgaJpZM4MHGwB
.

--

Hello,
I've problem displaying photos on iOS, and I'm asking for authorisation as seen in my code below:
document.addEventListener("deviceready", function() {
  ActivityIndicator.show("Galeri yükleniyor, lütfen bekleyin");
  cordova.plugins.photoLibrary.requestAuthorization(function() {
    readLibrary();
  },function(err) {
    console.log(err);
  });
});
function readLibrary() {
  cordova.plugins.photoLibrary.getLibrary(function(res){
    ActivityIndicator.hide();
    var library=res.library;
    library.forEach(function(libraryItem){
      image = "

";
      $(image).appendTo($("#images"));
    });
  });
}

Also please see https://www.dropbox.com/s/amxmifmr6om0ife/myBook.mov?dl=0

Nope, not at all.
Best regards,
Tolga
On 6 March 2017 at 18:19, viskin<EMAIL_ADDRESS>wrote:

@kartagis https://github.com/kartagis any errors in safari dev console?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/terikon/cordova-plugin-photo-library/issues/40#issuecomment-284426019,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABiHXoDSC6TfgyCU6TJUHH7lTxeHObpyks5rjCQSgaJpZM4MHGwB
.

Did you add Content-Security-Policy?
I checked that the demo project works on iOS. Does it work for you?

I noticed that content: is missing from img-src. I'll try that when I get back to work. Thanks.

Hello again, it's me.
On iOS, I'm getting the following

(See the tooltip?)
Why is this happening?

Hello?

@kartagis Can you confirm that the same happens with the demo project?

Yes I can.
18 Mar 2017 Cmt, saat 16:53 tarihinde viskin<EMAIL_ADDRESS>şunu yazdı:

@kartagis https://github.com/kartagis Can you confirm that the same
happens with the demo project
https://github.com/terikon/photo-library-demo-jquery/blob/master/www/index.html
?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/terikon/cordova-plugin-photo-library/issues/40#issuecomment-287547742,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABiHXqQt_KeJHWRRtV5-0V9ok7Bv1u37ks5rm-HZgaJpZM4MHGwB
.

--
Best regards,
Tolga

Are all the images like this (0x0 pixels)? Or only few?
What iOS version is it?
How many images are in total in the list?
If there're more than few hundreds of images, can you please limit the list in code to say 50, and check if it works for you with this small number? Maybe there's a problem with displaying too many images at once.

To be able to answer these, I need to get back to work on Monday.
Best regards,
Tolga
On 18 March 2017 at 19:52, viskin<EMAIL_ADDRESS>wrote:

Are all the images like this (0x0 pixels)? Or only few?
What iOS version is it?
How many images are in total in the list?
If there're more than few hundreds of images, can you please limit
the list in code to say 50, and check if it works for you with this small
number? Maybe there's a problem with displaying too many images at once.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/terikon/cordova-plugin-photo-library/issues/40#issuecomment-287558862,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABiHXunabYGSx76dN5Lt4jxpeheegEWeks5rnAvXgaJpZM4MHGwB
.

Im also having issues with displaying photos on iOS 10.2; also with the demo project (ionic)

Oh, thanks. I will try it on iOS 10.2.

The iDevice is running 10.2
I tried limiting the items to 50 by doing itemsInChunk: 50 right above chunkTimeSec:0.3 in demo project, same thing.

Thanks. It takes me time to get into it, but I remember.

I tried on iOS 10.2.1. Running ionic demo displays photos in my case. I just updated the demo to use official ionic-native from npm, as the library is now part of it (so please use latest version of the demo).
There is problem with displaying large amount of photos (should be fixed using virtual-scroll component). But thumbnail sizes are displayed right on my device.
I propose to try displaying 10 images in total (not using neither itemsInChunk nor chunkTimeSec). Let getLibrary return all the photos, and then display only 10 of them. I suspect the problem does relates to large amount of photos displayed together. After all, the error you published is 'request timeout'.


test: Coupons mobile e2e tests failing (GH-5714)

Closes GH-5714

Fixes selectors to assert correctly the right DOM elements
Made the test "smarter" by writing it in a way that it doesn't depend on the order of the product listing.

Closed, see GH-5714


Fix error type and message in coo_matrix

Current error message is outdated.
The type and the message in this PR is aligned with numpy.

Jenkins, test this please.

Jenkins CI test (for commit ceec65378efbc8174662d09a1be5bd4f7c1a7ab1, target branch master) succeeded!

LGTM.


updating the avl tree where the user can give the input the tree and find do other operation

implement an AVL Tree in C that allows users to insert, delete, and perform other operations, you need to maintain the balance property of the AVL tree after each insertion or deletion. Below is a basic AVL Tree implementation with functions for insertion, deletion, and rebalancing, along with user input handling.
ISSUE_NO
#1020

not assigned


The chart does not support adding multiple Hosts

I tried adding multiple Splunk hosts to the values file but it does not support it.
I wanted to make it redundant so I tried adding several hosts but it did not support this!
 So I created a Kubernetes Endpoint (which points to the Splunk hosts) and a Service which points to this Endpoint, and I added this service as a Host in the Chart.
Now, the problem is it’s not doing a round-robin. I guess it resolves the DNS and caches the IP. If the first IP in the list is unreachable, then it starts sending it to another IP on the list.
How do I add multiple Hosts in the values file?

@ritwiksin We dont support adding multiple hosts. You could try to put a load balancer in front of all your splunk hosts and use the loadbalancer as the host for the connector.


Support for VSTS (multi-ack) Git Repositories

Hi, currently the git "go-git" library used by gaia does not work with multi-ack services https://github.com/src-d/go-git/issues/335#issuecomment-293629072 e.g. VSTS. This looks to be a long running non trivial issue.  I have had success using the approach used by weave works https://github.com/weaveworks/flux/tree/master/git, however this requires the install of a git client as its just a wrapper over the binary

This is an issue, yes. But there is no official solution or care given enough in order to use something. We could use a hack, but I'd prefer not to.
Until everything is sorted and there is a definitive way of doing it, I would say, stay thy hand.


SplashScreen in emulator frozen

What I followed,
-> npm i -g ingite-cli
-> ignite new appname
-> cd appname
-> react-native run-android
This launches my app in the emulator but shows the splashscreen and just stays that way. Can't even launch dev tools in this screen.

Hey @sis-dk sorry you're having trouble. I'll see if I can figure this out. I'm having the same problem on Android.

This may have something to do with this issue

I can't reproduce this issue. After cleaning out all caches via the newclear command from mobile-commander, I ignited a new project with the boilerplate pointed at a local repo that is synced to ignite-ir-boilerplate-bowser:
ignite new BowserTest -b ~/git/ignite-ir-boilerplate-bowser
I CD into the new project directory:
cd BowserTest
I start it up. Note that I already have an Android emulator up and running, though Android Studio is not running.
react-native run-android
Result: app installs on emulator. I see the splash screen. When packager has completed loading, I see the first screen as expected with the "CONTINUE" button.
This is the ignite doctor output for my environment:
System
  platform           darwin
  arch               x64
  cpu                8 cores                                                         Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
  directory          /Users/derekgreenberg/Documents/ignite-experiments/BowserTest

JavaScript
  node               9.3.0        /usr/local/bin/node
  npm                5.5.1        /usr/local/bin/npm
  yarn               1.9.4        /usr/local/bin/yarn

React Native
  react-native-cli   2.0.1
  app rn version     0.55.4

Ignite
  ignite             2.1.1        /usr/local/bin/ignite

Android
  java               1.8.0_73     /usr/bin/java
  android home       -            /usr/local/opt/android-sdk

iOS
  xcode              9.4.1

@sis-dk please run ignite doctor from your project directory appname or whatever, and post the results here.

@sis-dk, I had the same problem that you did at first. I did the following things:

Close and clear the app
Uninstall the app
Close the packager (and restart it)
I ran newclear, a command from mobile-commander that cleans caches and temp files.
I created a new project using ignite new BowserTest -b ignite-ir-boilerplate-bowser

After these steps, my app no longer froze on the splash screen.
I'm going to close this issue for now, but thank you for submitting this issue and if you have more problems, please let us know!


query showing 7 billion?

Contact Details
<EMAIL_ADDRESS>What happened?
i was running a query and the output is<PHONE_NUMBER> (7 billion) i think it's adding the populations together? the output should be 309632000 (309 million).
Version
1.0.2 (Default)
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Try using DISTINCT in case there are any duplicate rows.

Try using DISTINCT in case there are any duplicate rows.

yeah that was it thanks


Food doesn't update right.

Sometimes when a sandwich is being eaten, it doesn't update hunger correctly.
I've just eaten 5 sandwiches, took damage and the hunger was back to where it was before.

I'm having the same issue. playing version 1.15.2, I eat baked potato and steak sammich and it fails to update hunger... this happens on any sammich style i make. even items from other mods.

i mean 1.16.5 oops

Can you give me a list of the mods you have installed? I can't reproduce this issue with just Some Assembly Required, so there's probably another mod involved. Also, are you playing singleplayer or on a server?

I'm going to close this issue as I don't have enough information to resolve it, feel free to open a new issue with more information if you're still having this problem. (Due to major design changes, this likely isn't an issue in 1.18 anymore)

Thanks for the extra info, this finally allowed me to reproduce the issue myself. I've uploaded a patch that fixes it.


Main Page updated

@kumar007ambi mention in brief what have you updated
i can't see any potential change there

@kumar007ambi as deepak said, there is no potential changes visible there, please describe the issue and the changes you've made. Also please follow the standard practices to contribute, if you found any issue then please create it first and then get assigned and then work on it.

Not significant changes
only a overflow line written
also someone else is working on responsivness he will manage that


adding Amazon.fr

hello ,
i would like to ask you if you could add amazon.fr to nvidia snatcher plz?
here are the amazon asin list for amazon.fr :
**B08HBTJMLJ
B08HGYXP4C
B08HJ9XFNM
B08HGBYWQ6
B08HH1BMQQ
B08HGLN78Q
B08HBR7QBM
B08HM4M621
B08HN4DSTC
B08HHZVZ3N
B08HN7VVLJ
B08HN6KYS3
B08JCKYYL8
B08JCVWTQY
B08HLZXHZY
B08HN37VQK
B08HM4V2DH
B08HR1NPPQ
B08KH7RL89
B08KHLDS72
B08HJTH61J
B08HR6FMF3
B08HR4RJ3Q
B08HR55YB5
B08HR3DPGW
B08HR3Y5GQ
B08HR7SV3M
B08HR5SXPS
B0B08HH5WF
978HHDP9DW
B08HJNKT3P
**
thanks for your work on this project

amazon is using the same ASIN for each of their sites (de, uk etc.)
Just edit the links in -> nvidia-snatcher\src\store\model\amazon-de.ts
.....".de" to ".fr" and you should be good to go

thanks for your help i just did what you said


Consider available funds to tune buying aggressiveness

This is an enhancement. Currently dcrticketbuyer applies a penalty to the number of tickets to purchase based on how high the current stake price is above the average price. This penalty could also consider the amount of funds available for purchasing tickets. A ratio of the users funds which are available but not locked can be found from 'getbalance' / 'getbalance * 0 all'. For example, I would reduce the penalty by half for every tenth of the users total funds that are available for ticket purchasing. (a tenth is 2.8 days worth based on a 28 day maturity time).

I am closing this because I consider the current penalty system less then ideal. It should probably be re-thought rather then built on top of. I do think at would make sense to consider a users available funds at some point to tune buying aggressiveness so that all available funds are utilized. I am going to think about this more and probably put as a new issue.


TypeError: Cannot read properties of undefined (reading 'code_snippet')

Please include some context and the contents of the console in your browser's developer tools.
TypeError: Cannot read properties of undefined (reading 'code_snippet')
    at XE (http://localhost/php/laravel/laraApp/public/:72:249981)
    at mi (http://localhost/php/laravel/laraApp/public/:72:70706)
    at Ql (http://localhost/php/laravel/laraApp/public/:72:122308)
    at xc (http://localhost/php/laravel/laraApp/public/:72:109797)
    at _c (http://localhost/php/laravel/laraApp/public/:72:109725)
    at Cc (http://localhost/php/laravel/laraApp/public/:72:109588)
    at Nc (http://localhost/php/laravel/laraApp/public/:72:106582)
    at hc (http://localhost/php/laravel/laraApp/public/:72:103958)
    at nu (http://localhost/php/laravel/laraApp/public/:72:119816)
    at http://localhost/php/laravel/laraApp/public/:72:121187

User Agent
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36

Duplicate of https://github.com/spatie/ignition/issues/59

This issue should have been resolved in the latest version of the package. Could you confirm you're on that version and otherwise upgrade, please?


Release <IP_ADDRESS>

OpenSearch 2.18.0 has been released, see release notes.
Official OpenSearch release ticket: https://github.com/opensearch-project/opensearch-build/issues/5004
Checklist:

[ ] Compatibility Matrix is updated (TODO: link to PR)
[ ] Release <IP_ADDRESS> tag is present in the repo
[ ] Release artifacts are available and downloadable
[ ] Release notes published
[ ] Forum announcement published

Hi! OpenSearch 2.18.0 was released on 2024-10-28, so I thought I'd open a ticket for a new prometheus-exporter version as well. I hope that's okay.

There is a PR for this, #316.

Hi, let me see if I can merge both https://github.com/Aiven-Open/prometheus-exporter-plugin-for-opensearch/pull/295 and https://github.com/Aiven-Open/prometheus-exporter-plugin-for-opensearch/pull/246 into master and let's do release asap.

will be great

Hi, let me see if I can merge both #295 and #246 into master and let's do release asap.

how is it going?

@lukas-vlcek , @vvanholl  how is it going? is there some blocks to merge and release ?
tell us please =)

any updates on 2.18 release?

do we have any ETA on the release date? @lukas-vlcek

same question, is there any update?

@lukas-vlcek , @vvanholl UP
Is there any updates since November?

@xnox please merge #295

@lukas-vlcek Just a friendly reminder

@lukas-vlcek  please release 2.18.0 waiting for this exporter to monitor my latest deployment

@xnox please merge #295

Hi, I am not upstream developer of Aiven-Open. The commits and PRs you see referenced simply rebuild this plugin for <IP_ADDRESS> without any other changes for Wolfi OS & Chainguard Images.

Yes just pull the project and build it yourself, the only thing that changed afaik is the version number, I've tested and it works.


Feature Redis Backend for Frontera

Add Redis backend modelled after the HBase backend.
This Backend is meant for use as a metadata store for frontera. Actual pages crawled
are assumed to be stored elsewhere using i.e. a pipeline.

Codecov Report

Merging #258 into master will increase coverage by 0.02%.
The diff coverage is 71.27%.

@@            Coverage Diff             @@
##           master     #258      +/-   ##
==========================================
+ Coverage   70.15%   70.18%   +0.02%
==========================================
  Files          68       69       +1
  Lines        4715     4990     +275
  Branches      632      615      -17
==========================================
+ Hits         3308     3502     +194
- Misses       1267     1338      +71
- Partials      140      150      +10

Impacted Files
Coverage Δ

...rontera/contrib/backends/redis_backend/init.py
71.27% <71.27%> (ø)

frontera/_version.py
30.14% <ø> (-1.48%)
:x:

frontera/utils/misc.py
68.18% <ø> (ø)
:white_check_mark:

frontera/contrib/messagebus/kafka/async.py
15.28% <ø> (ø)
:white_check_mark:

Continue to review full report at Codecov.

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

a tremendous work, thank you! 🍺


[DO NOT MERGE] - test GHA

it may need fixing as see https://github.com/anitagraser/movingpandas/actions/runs/1591436803/workflow i.e. it's not triggering


exporting button not shown

It's might not be a bug. But I don't know what I did wrong. The chart is shown, but export button is not. No runtime error. Do I need to do anything to make export shown on chart?
var Highcharts = require('react-highcharts/bundle/ReactHighcharts'); // Highcharts is bundled
require('highcharts-exporting');
require('highcharts-more');

I use ES6 style class. In render:
return (
  <div>
    <Highcharts config = {configVar} />
  </div>
);

You have to pass Highcharts instance to more and exporting.
There should be some example on highcharts website.

@kirjs I tried this, but got runtime error
require('highcharts-exporting')(Highcharts);
require('highcharts-more')(Highcharts);
Error I got:
Uncaught TypeError: Cannot read property 'document' of undefined

Is it happening in the browser?
Which line causes the error?

This is the line:
/*
 Highcharts JS v4.2.3 (2016-02-08)
 Exporting module

 (c) 2010-2016 Torstein Honsi

 License: www.highcharts.com/license
*/
(function(f){typeof module==="object"&&module.exports?module.exports=f:f(Highcharts)})(function(f){var r=f.win,m=r.document,A=f.Chart,t=f.addEvent,B=f.removeEvent,C=f.fireEvent,n=f.createElement,s=f.discardElement,v=f.css,l=f.merge,i=f.each,q=f.extend,F=f.splat,G=Math.max,H=f.isTouchDevice,I=f.Renderer.prototype.symbols,y=f.getOptions(),z;q(y.lang,{printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",
contextButtonTitle:"Chart context menu"});y.navigation={menuStyle:{border:"1px solid #A0A0A0",background:"#FFFFFF",padding:"5px 0"},menuItemStyle:{padding:"0 10px",background:"none",color:"#303030",fontSize:H?"14px":"11px"},menuItemHoverStyle:{background:"#4572A5",color:"#FFFFFF"},buttonOptions:{symbolFill:"#E0E0E0",symbolSize:14,symbolStroke:"#666",symbolStrokeWidth:3,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,theme:{fill:"white",stroke:"none"},verticalAlign:"top",width:24}};

I tried different combinations, but so far none working.

I made it working, but I don't think it's the right way to do it. @kirjs please still tell me the right way.
Instead of use exporting with webpack module, I put it in my index.html file likes this
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>

And in my js code, I just use
var Highcharts = require('react-highcharts');

Suddenly it works. But I now treat high charts as external resource and not part of the webpack build.

This is a totally legit way to go, I wonder why requiring didn't work out

Actually I see now, you were trying to feed them ReactHighcharts instead of Highcharts.

@kirjs I see. I tried to fix that but still not working.  I npm installed highcharts and highcharts-exporting.
// With webpack you may wish to alias this as 'highcharts-release'
var Highcharts = require('highcharts');
require('highcharts/modules/exporting')(Highcharts);
var HighchartsExporting = require('highcharts-exporting');
HighchartsExporting(Highcharts);
// Expects that Highcharts was loaded in the code.
var ReactHighcharts = require('react-highcharts');

Now the error is
Uncaught Error: Starting with version 3 of react-highcharts, Highcharts is not bundled by default.  please include highcharts.

OK, webpack version is working now with following code. @kirjs  what is global? It seems the key to make it work.  Is that possible to use import instead of require? I tried import, it doesn't work.
global.Highcharts = require('highcharts');
require('highcharts/modules/exporting')(global.Highcharts);
var ReactHighcharts = require('react-highcharts');

@kirjs Thanks for your help, please close the issue. Now two versions both are working.

No problem, glad it works.
global is a synonym to window.
I'm working on a newer api which would make it easier to use.

@jma7889 ,
how to make working on webpack?


Typo in README.md

I think you meant to say diverge, rather than diverse:
"otherwise your project may diverse too much" -> "otherwise your project may diverge too much"

Thank you, fixed!


Specify Node.js version to GitHub Actions

Motivation:
The GitHub Actions job for Gradle scan failed due to .nvm/nvm.sh: No such file or directory.
https://github.com/line/armeria/actions/runs/5899610915/job/16002384391
Node.js version wasn't specified in actions/setup-node@v3 workflow, so the node version in PATH could be used. https://github.com/actions/setup-node#usage It can't make our CI portable to other systems.
Modifications:

Specify Node.js 18 to setup-node workflow
Remove curruped code related to nvm
Use npm ci instead of npm install

npm ci is a recommended way to install dependencies https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#npm

Result:
Hopely fix .nvm/nvm.sh: No such file or directory issue

The changes are related to the workflows running on the main branch. Let me merge this PR and update the result in the comments.

Gradle build scans have been successfully uploaded to https://ge.armeria.dev
https://github.com/line/armeria/actions/runs/5900185663


Vagrant uses openSUSE Leap 42.1 instead of 13.2

Vagrant will use a openSUSE Leap 42.1 box.

It works for me(TM) :)


KAFKA-13036: Replace EasyMock and PowerMock with Mockito for RocksDBMetricsRecorderTest

Changes

Migrate to Mockito
Add more assertive checks using verify
Minor indentation fixes

Testing
./gradlew streams:unitTest --tests RocksDBMetricsRecorderTest is successful
Notes to help the reviewers

Mockito uses MockitoJUnitRunner.StrictStubs.class to assert that all stubs are verified.
Mockito does not have the concept of "register-activate" represented by "when - replay" in EasyMock. Hence, you only need to use "when" and that is all. No "replay" is required.
PowerMock.reset is replaced by Mockito.reset
Mockito does not have to distinguish between "niceMock" and a normal "mock". All mocks are "nicemocks".
Mockito can mock static methods using mockStatic
When verify(mockObj).functionName() is called, it is equivalent to verify(mockObj, times(1)).functionName() i.e. it validates that the function in invoked on mocked object exactly once.

Code coverage
Before

After

@ableegoldman @cadonna please help review this test in the streams domain.

Regarding "Notes to help the reviewers":

Mockito does not have verifyAll() hence each mocked function call needs to be verified individually.

This depends on the strictness level used while creating mocks.
Please check:

https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/quality/Strictness.html#STRICT_STUBS
https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html#mockito_strictness

@dplavcic Thank you for your review and enlightening me on better usage of Mockito. I have addressed your comments. Please take another look when you get a chance.

Just one more question. Do you maybe have jacoco test coverage reports before and after these changes? I think jacoco reports would be useful to confirm we are still covering (at least) the same amount of production code..

@dplavcic I have added the test coverage report to the description of this ticket. This revision is ready for your review now. Thanks again for your patience and spending time in reviewing this code. I appreciate it very much!

Looks good to me.

Heya @cadonna and @dplavcic, Divij is taking some time off, so I will aim to provide an update to the comments and the pull request in the next couple of days.