D415 Device Recognized on Power Up, Not on Reboot

Required Info

Camera Model
D415

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 16.04.4 LTS

Kernel Version (Linux Only)
4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018

Platform
NUC with dual Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz cores

SDK Version
librealsense tag 2.10.0

Issue Description
When rebooting this type of NUC computer with a D415 plugged in, the D415 does not register properly as a USB device, with the following error in dmesg output. However, when it is power cycled, the D415 registers fine.
[    2.477775] usb 2-4: device not accepting address 2, error -71
I've attached the USB relevant bits of dmesg and the output of lsusb -t from a good start on power up, and from a bad start on reboot. Oddly enough, this does not occur with newer NUC models with dual Intel(R) Core(TM) i5-7260U CPU @ 2.20GHz cores, where the device registers fine on reboots.
dmesg-bad.txt
dmesg-good.txt
lsusb-t-bad.txt
lsusb-t-good.txt

Looks like dmesg output on failure didn't upload correctly. Here it is again.
dmesg-bad.txt

[Realsense Customer Engineering Team Comment]
@jallard-sr, in the BIOS settings try setting the xHCI mode to Enabled (not Auto or Smart Auto) under Devices/USB.

This setting was already enabled in the BIOS as described: xHCI mode = Enabled
From: RealSense Customer Engineering<EMAIL_ADDRESS>Sent: Monday, March 12, 2018 5:28 PM
To: IntelRealSense/librealsense
Cc: Subscribed
Subject: Re: [IntelRealSense/librealsense] D415 Device Recognized on Power Up, Not on Reboot (#1283)
[Realsense Customer Engineering Team Comment]
@jallard-srhttps://github.com/jallard-sr, in the BIOS settings try setting the xHCI mode to Enabled (not Auto or Smart Auto) under Devices/USB.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/IntelRealSense/librealsense/issues/1283#issuecomment-372506283, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ah5haHdhPyHzVFqwJjjm-RY0N3A-jH29ks5tdxKogaJpZM4Scnfl.

[Realsense Customer Engineering Team Comment]
Although I haven't seen this with the 415 it is similar to an issue with the 435 - except xHCl mode = enabled was a usable work-around (newer NUCs only have xHCI). For the f/w <IP_ADDRESS> fixed the problem for the 435 cameras so you can try that if you wish. https://downloadcenter.intel.com/download/27522/Latest-Firmware-for-Intel-RealSense-D400-Product-Family?v=t

[Realsense Customer Engineering Team Comment]
@jallard-sr did you try <IP_ADDRESS> f/w and/or do you still see the issue?

@jallard-sr I assume that you are no longer having this issue and I will close this ticket. If you still have this or any other problem please feel free to open another issue.
Thanks.
Ted.
Intel RealSense Support.


WinForms C# performing a Post (or Patch) to insert/update data through AL/D365BC web service

LS,
Within some months we will be migrating from SAP to D365BC. We created a lot of work arounds for SAP using C# WinForms.
One of the things we will face is rewriting a lot of C# programs into AL.
But there will be cases where it is easier to have our existing C# program communicate with the D365BC database in stead of our current SAP database. (Especially in the beginning.)
In D365BC I created a simple table, ListPage and CardPage. I called it Workers and it contains No., First Name, Last Name and FunctionName.
I created a web service using the Card Page for this workers table.
I can use PostMan and I can read/insert/modify data.
Now I want to do the same in WinForms C#.
In C# I have successfully implemented the read/GET for both a list and a single record. So I can read all workers and I can read a single worker that are in D365BC in C# using the web service I setup in D365BC.
As it may help you to understand what it is that I am looking for I included this code. Also it is very difficult to find any data through Google on this subject, so perhaps I can help others by letting them know how at least I got the GET working.
The difficult part (I think) is to get to know what exactly I need to put in the RequestHeaders.
I know that for a PATCH I will have to use the odata.etag (to identify the right record). But where and how exactly and also how to pass my changed or new record back?
When I call upon the webservice with a GET, I get the following result (and as mentioned luckily I can intercept this data, the problem is the PUT and PATCH command):
{"@odata.context":"https://api.businesscentral.dynamics.com/v2.0/SomeFunkyGuid/Sandbox/ODataV4/$metadata#Company('CRONUS NL')/WorkersWebService","value":   [{"@odata.etag":"W/"JzQ0O3oxcnZ1aEhkVlgxbFVtT2tvcXdpU0hwRU1xeG5rT0l3VVdYSk1EWWI4Ym89MTswMDsn"","No":"1000","First_name":"Jan","Last_name":"Jansen","FunctionName":"Werker"},
{"@odata.etag":"W/"JzQ0O01EQXJHWmhHTEhXaGJMVFZjMSttK2pXWVd5QkVrUnNVU3ZyQjJVeTBoUWs9MTswMDsn"","No":"1001","First_name":"Piet","Last_name":"Pietersen","FunctionName":"Werker"},
{"@odata.etag":"W/"JzQ0O1FkTk1jSStSVmExWUJhZDBOVlAzMmw3bWM4amI0bitpb2lrTWtqaVJJSDg9MTswMDsn"","No":"1002","First_name":"Kees","Last_name":"de Vries","FunctionName":"Chef"}]}
I use the NewtonSoft Json.Net library to deserialise the data and read it into my class, works great.

(To deserialise or serialise JSON data simply use Viusal Studio's Manage Nuget Packages for Solutions and without typing anything it is already there. Click on it to install is and add using Newtonsoft.Json )
To read the data from my web service I have the following code:
    private void button1_Click(object sender, EventArgs e)
    {
        string _url = "https://api.businesscentral.dynamics.com/v2.0/SomeFunkyGuid/Sandbox/ODataV4/Company('CRONUS%20NL')/WorkersWebService";
        HttpWebRequest _request = (HttpWebRequest)WebRequest.Create(_url);
        _request.ContentType = "application/json; charset=utf-8";
        _request.Headers["Authorization"] = "Basic " + Convert.ToBase64String(Encoding.GetEncoding("ISO-8859-1").GetBytes("USERNAME:PASSWORD"));
        _request.PreAuthenticate = true;
        HttpWebResponse _response = _request.GetResponse() as HttpWebResponse;
        using (Stream _responseStream = _response.GetResponseStream())
        {
            StreamReader _reader = new StreamReader(_responseStream, Encoding.UTF8);
            string _content = _reader.ReadToEnd();

            string _jasonPart = GetJsonPartMultiRecord(_content);

            List<WorkerClass> _jWorkers = JsonConvert.DeserializeObject<List<WorkerClass>>(_jasonPart);

            foreach (var _worker in _jWorkers)
            {
                WorkersReadFromAlWebService.Add(_worker);
            }
        }
    }

To read a single record I created the following code (the trimming of junk data is a bit different):
    private void button2_Click(object sender, EventArgs e)
    {
        string _url = "https://api.businesscentral.dynamics.com/v2.0/SomeFunkyGuid/Sandbox/ODataV4/Company('CRONUS%20NL')/WorkersWebService('1000')";
        HttpWebRequest _request = (HttpWebRequest)WebRequest.Create(_url);
        _request.ContentType = "application/json; charset=utf-8";
        _request.Headers["Authorization"] = "Basic " + Convert.ToBase64String(Encoding.GetEncoding("ISO-8859-1").GetBytes("USERNAME:PASSWORD"));
        _request.PreAuthenticate = true;
        HttpWebResponse _response = _request.GetResponse() as HttpWebResponse;
        using (Stream _responseStream = _response.GetResponseStream())
        {
            StreamReader _reader = new StreamReader(_responseStream, Encoding.UTF8);
            string _content = _reader.ReadToEnd();

            string _jasonPart = GetJsonPartSingleRecord(_content);

            WorkerClass _jWorker = JsonConvert.DeserializeObject<WorkerClass>(_jasonPart);

            WorkersReadFromAlWebService.Add(_jWorker);
        }
    }

I hope someone can help me to do a PUT and PATCH so that we can insert and update records.
Another subject is that I have no idea how to delete a record (from C#)?
Kind regards,
Clemens Linders

I understand that this repository no longer handles general questions.
But when I keep looking for this problem Google shows this issue. So other people will find this issue. And it would be a shame if they would find this issue but not a solution. Also it is incredible hard to find anything on this subject I think many people would like to have a working solution for this problem (although this solution is SOAP and not ODATA).
First of all let me start by stating that I could not (up to this moment) get this working in ODATA. The answer of DaanSaveyn helped me a lot to go into the right direction. And I expected it to work. But when I use it I get the error: 405 Method not allowed??
The approach above is based on ODATA and as mentioned something is missing as it gives the error 405 Method not allowed.
However if you use SOAP (D365BC gives 3 URL's the most right one being SOAP), than this is the solution.
First you need to add a reference. In solution explorer/reference/add reference. Pass the url here and click GO. If you need to logon and if that doesn't work. open a browser and pass that url. Your browser will now ask for username/password. Pass your credentials her, keep the page open. And back in visual studio continue with adding the reference. This should now not be a problem.
In your c# form page add at the top:
using AL_WS_Comm.D365BCWS;//Before the point the name of the namespace, after the point the name you entered when you added the service reference.
Reading from the web service:
private void btnZoekWerkersHttp_Click(object sender, EventArgs e)
{
listBox1.Items.Clear();
WorkersReadFromAlWebService = new List();
string _wsURL = "https://api.businesscentral.dynamics.com/v2.0/SomeFunkyGuid/Sandbox/WS/CRONUS NL/Page/WorkersWS";
string _userName = "USERNAME";
string _wsKey = "PASSWORD";
        //Create an instance of the D365BC SOAP WS
        BasicHttpBinding _binding = new BasicHttpBinding();

        //Set https usage
        _binding.Security.Mode = BasicHttpSecurityMode.Transport;
        _binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Basic;

        using (WorkersWS_PortClient _ws = new WorkersWS_PortClient(_binding, new EndpointAddress(_wsURL)))
        {
            _ws.ClientCredentials.UserName.UserName = _userName;
            _ws.ClientCredentials.UserName.Password = _wsKey;

            //Filter
            List<WorkersWS_Filter> _filters = new List<WorkersWS_Filter>();
            WorkersWS_Filter _filter = new WorkersWS_Filter
            {
                Field = WorkersWS_Fields.No,
                Criteria = "*"
            };
            _filters.Add(_filter);

            try
            {
                foreach (WorkersWS _workerWS in _ws.ReadMultiple(_filters.ToArray(), "", 0))
                {
                    WorkerClass _wc = new WorkerClass();
                    _wc.E_Tag = _workerWS.Key;
                    _wc.First_Name = _workerWS.First_name;
                    _wc.Last_Name = _workerWS.Last_Name;
                    _wc.FunctionName = _workerWS.FunctionName;
                    WorkersReadFromAlWebService.Add(_wc);
                    listBox1.Items.Add(_workerWS.Last_Name + " / " + _workerWS.First_name + " (No: " + _workerWS.No + ")");
                }
            }
            catch (Exception _ex)
            {

            }
        }
    }

Adding a record:
private void btnCreateHttp_Click(object sender, EventArgs e)
{
string _wsURL = "https://api.businesscentral.dynamics.com/v2.0/SomeFunkyGuid/Sandbox/WS/CRONUS NL/Page/WorkersWS";
string _userName = "USERNAME";
string _wsKey = "PASSWORD";
        //Create an instance of the D365BC SOAP WS
        BasicHttpBinding _binding = new BasicHttpBinding();

        //Set https usage
        _binding.Security.Mode = BasicHttpSecurityMode.Transport;
        _binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Basic;

        WorkersWS_PortClient _ws = new WorkersWS_PortClient(_binding, new EndpointAddress(_wsURL));
        _ws.ClientCredentials.UserName.UserName = _userName;
        _ws.ClientCredentials.UserName.Password = _wsKey;

        try
        {
            WorkersWS _wws = new WorkersWS();
            _wws.No = tbNo.Text;
            _wws.First_name = tbFirstName.Text;
            _wws.Last_Name = tbLastName.Text;
            _wws.FunctionName = tbFunctionName.Text;

            _ws.Create(ref _wws);

            tbResult.Text = _wws.No;
        }
        catch (Exception _ex)
        {

        }
    }

Deleting a record:
string _wsURL = "https://api.businesscentral.dynamics.com/v2.0/SomeFunkyGuid/Sandbox/WS/CRONUS NL/Page/WorkersWS";
string _userName = "USERNAME";
string _wsKey = "PASSWORD";
        //Create an instance of the D365BC SOAP WS
        BasicHttpBinding _binding = new BasicHttpBinding();

        //Set https usage
        _binding.Security.Mode = BasicHttpSecurityMode.Transport;
        _binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Basic;

        WorkersWS_PortClient _ws = new WorkersWS_PortClient(_binding, new EndpointAddress(_wsURL));
        _ws.ClientCredentials.UserName.UserName = _userName;
        _ws.ClientCredentials.UserName.Password = _wsKey;

        try
        {
            WorkersWS _wws = _ws.Read("1003");//Read contains a string that matches the primary key of the table. It's value is assigned by a way the programmer sees fit
            if (_wws.No == "1003")
            {
                _ws.Delete(_wws.Key);//The Key field here (or E_Tag in ODATA) is the MASTER primary key. It's value is provided bij D365BC
            }
        }
        catch (Exception _ex)
        {

        }

Updating a record:
string _wsURL = "https://api.businesscentral.dynamics.com/v2.0/SomeFunkyGuid/Sandbox/WS/CRONUS NL/Page/WorkersWS";
string _userName = "USERNAME";
string _wsKey = "PASSWORD";
        //Create an instance of the D365BC SOAP WS
        BasicHttpBinding _binding = new BasicHttpBinding();

        //Set https usage
        _binding.Security.Mode = BasicHttpSecurityMode.Transport;
        _binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Basic;

        using (WorkersWS_PortClient _ws = new WorkersWS_PortClient(_binding, new EndpointAddress(_wsURL)))
        {
            _ws.ClientCredentials.UserName.UserName = _userName;
            _ws.ClientCredentials.UserName.Password = _wsKey;

            try
            {
                WorkersWS _wws = _ws.Read(tbNo.Text);
                if (_wws.No == tbNo.Text)
                {
                    _wws.First_name = tbFirstName.Text;
                    _wws.Last_Name = tbLastName.Text;
                    _wws.FunctionName = tbFunctionName.Text;
                    _ws.Update(ref _wws);

                    if (_wws.No == tbNo.Text)
                    {
                        tbResult.Text = "Update success.";
                    }
                }
            }
            catch (Exception _ex)
            {

            }
        }

In my attempts to get ODATA working I added 2 webservices. One is based on the Card Page (as suggested in all samples). But a Card Page doesn't have the ability to Create and Modify. So I created a second webservice, this time based on the List Page. I must say that this sample uses the web service based on the List Page. It's better that I tell you this as there is still the possibility that it doesn't work with a Card Page (haven't tried that yet, I am way to happy that this is working)
To be complete I also will add my D365BC code:
CpWorkers.AL
page 50108 "Workers Card"
{
PageType = Card;
ApplicationArea = All;
UsageCategory = Administration;
SourceTable = Workers;
layout
{
    area(Content)
    {
        group(General)
        {
            field("No."; "No.")
            {
                ApplicationArea = Basic;
                Importance = Promoted;
            }

            field("First name"; "First name")
            {
                ApplicationArea = Basic;
            }

            field("Last name"; "Last name")
            {
                ApplicationArea = Basic;
            }

            field(FunctionName; FunctionName)
            {
                ApplicationArea = Basic;

            }
        }
    }
}

}
LpWorkers.AL
page 50109 "Workers List"
{
PageType = List;
ApplicationArea = All;
UsageCategory = Lists;
SourceTable = Workers;
layout
{
    area(Content)
    {
        repeater(Group)
        {
            field("No."; "No.")
            {
                ApplicationArea = Basic;
            }

            field("First name"; "First name")
            {
                ApplicationArea = Basic;
            }

            field("Last Name"; "Last Name")
            {
                ApplicationArea = Basic;
            }

            field(FunctionName; FunctionName)
            {
                ApplicationArea = Basic;
            }
        }
    }
}

}
TabWorkers.AL
table 50109 "Workers"
{
DataClassification = ToBeClassified;
fields
{
    field(1; "No."; Code[20])
    {
        DataClassification = ToBeClassified;
    }

    field(10; "First name"; Text[50])
    {
        DataClassification = ToBeClassified;
    }

    field(20; "Last Name"; Text[50])
    {
        DataClassification = ToBeClassified;

    }

    field(40; FunctionName; Text[50])
    {
        DataClassification = ToBeClassified;

    }
}

trigger OnInsert()
var
    myInt: Integer;
begin

end;

trigger OnModify()
var
    myInt: Integer;
begin

end;

trigger OnDelete()
var
    myInt: Integer;
begin

end;

}
WorkersWebService.xml (based on the Card Page, this would be the generally excepted choice)

Page
50108
WorkersWebService
true

WorkersWS.xml (based on the List Page, I used this in my SOAP web service)

Page
50109
WorkersWS
true

Publishing the whole thing in D365BC may also be problematic as at this moment it seems to work differently from the samples I saw on the internet. What worked for me:
Ctrl-Shift P, Publish without debugging.
In D365BC at the top menu at the magnifier type web service (note the space) and type: web services. Click on Web services List.
On several YouTube video’s the webservice is created and after publishing it is immediately available in the Web services list. However for me this was not the case.
In the top menu of the web services list page there is a New button.
Click on this New button (an empty line will appear at the top or bottom of the grid) and copy Object Type, Object ID and Service name from the XML page.
Select Published and unselect All tenants, the object name can be selected (50109 is called WorkersList). You may of course also use 50108 based on the Card Page, Whatever you choose.
Now you have a complete set of documentation to get a SOAP web service up and use it in C# .
I hope they will keep and show this reply because I think many people would like to see this. It took me quite some days to figure all this out.
I hope it is of use to some people. And if someone knows how to do this in ODATA, I would still like to know (ODATA is faster).
Kind regards,
Clemens Linders


GPUImage ios7 filtering live video memory error

Brad,
Your library is really amazing. I've had success using it in the past; however, recently I updated my project to xcode5 and ios7, and now my live filters cause my app to receive memory errors.  When I run the same build on an ios6 device, it works with no errors, even with 10 live preview filters running at one time.  I'm not sure if i'm doing something wrong.  I lowered AVCaptureSessionPreset352x288, but it still does not work very well.  What has changed from ios6 and 7 to cause this difference?

THANK YOU! works well with autolevel.


[Feature] Self update / check for updates

It would be great to have a "Check for updates" menu item which checks for new versions and automatically downloads and runs the installer if one is found.

Possible duplicate: https://github.com/usebruno/bruno/issues/103

@rsilvr Thanks, didn't see that one. Will add my comments there


Row selection acting strange when using fully controlled table

Describe the bug
When I try to use table row selection with fully controlled state and i'm on the second page, then it selects the first page.
I think it's either the selection function is not accounting for the page index in getToggleAllPageRowsSelectedHandler OR it is re-rendering the page index back to 0.
Your minimal, reproducible example
https://codesandbox.io/s/tanstack-table-fullycontrolled-w-selection-gmuhmm?file=/src/main.tsx:667-702
Steps to reproduce

Go to second, third, or fourth page of table
Click the header selection
See that something did get selected.
Go back to first page and see the first page gets selected.

Expected behavior
As a user I expect to see the page that im on get selected when using the header selection.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
mac OS, chrome, Version 112.0.5615.49 (Official Build) (arm64)
react-table version
8.8.5
TypeScript version
No response
Additional context
No response
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

@tannerlinsley bump?

I agree that it is a bug.

@talatkuyuk any updates on this? https://github.com/TanStack/table/issues/4848 looks like the solution

@changyeamoon
I tried the above method, although the rowSelection state problem has been resolved, but when using table.getSelectedRowModel() it still gives wrong results. Is there any way to handle this problem?

Yup, as @changyeamoon mentioned. Using getRowId in table config sets given property as value which by rows will be managed. Any unike value will do so, it's not a bug it's a feature in my humbe opionion :)


Name of this repository means a D-word in russian

Just in case the name of this repo (XUI) is very similar to russian word "ХУЙ"(a dick)

Hey @andrew-medvedev ! Thank you for letting us know 😊
Since the name is an acronym (X as prefix, UI as User Interface) and we do not use Cyrillic Script, we assume that it is clear that the name is not intended to have this meaning.


Updated OpenVPN chart notes to use logs command instead of deprecated log command

What this PR does / why we need it:
The kubectl log command referenced in the chart notes is deprecated.
Which issue this PR fixes
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped

/assign @jfelten

@jfelten - please review

/ok-to-test

/lgtm


Update to jsontableschema-v0.7

Overview
Upcoming jsontableschema-v0.7 release will be:

breaking because of Storage.read/iter semantics change Storage.tables renaming
deprecating old Schema class

The driver should be updated accordingly.

Requires https://github.com/frictionlessdata/jsontableschema-py/issues/99


Even in synchronized modes, records can potentially be duplicated

I think I identified the following cases whereby in synchronized mode, which to my knowledge means "exactly once" semantics, records can be duplicated. Please validate them, I might be incorrect.
Case 1:
If the buffer exceeds capacity before the flush() is called by Kafka Connect, then the buffer logic will copy the records to the database (in effect, prematurely flush). If then the call to Connector.Flush() fails for some reason, the records will be resent on the next Connector.put(). This will result in duplicates.
Case 2:
When Connector.Flush() is called and the update of the offsets in synchronized mode will cause an exception for whatever reason the batch will be resent on the next Connector.Put() and Flush() combo and this will lead to duplicates.
This is because the Connector.Flush() does not strictly control the business transaction. I.e. the copy operation will not roll back when Flush() fails in part.
Case 3:
If the connector is stopped and Connector.Stop() is called, the call to stop will currently flush whatever data is in the Copy buffer to the database. Those records could get duplicated as the offsets might or might not be written to kafka connect (Just flush on the buffer is called, the Synchronized offset table is not updated until Flush() is called - if at all)

Hi @jdevalk2
Note: in synchronized mode the offsets for the consumer group 'persisted' with kafka/zookeeper are not used at all - merely kept up to date.
On each startup of the connector (sync mode) - the offsets are read from the db and written/updated from the connector -> to kafka.
Then further - in each way a flush is invoked, via buffer overflow or configured periodic timeout - everything - actual inserted data <-> and the actual offsets - everything is within the same db transaction and either fails or succeeds. Therefore there shouldn't be any duplicates ever.
If anything fails at any point in time and the transaction is rolled back - the connector will restart consuming/ingesting at the last successfully persisted offsets.
Does this make sense?


Make layers hashable and comparable

Description
Building on #686, this PR adds __hash__ and __eq__ methods to the base layer, making it easier to do equivalence checks with layer1 == layer2?  All it really adds is a utility recursive_hash function for hashing nested dictionaries and numpy arrays, and calls that on @sofroniewn's new _get_state() dicts.  I guess the main questions this PR raises are:

how would we actually use it?  If I'm not mistaken, one of the reasons for making dictionaries of layer properties was its potential for remote sync.  In that case, being able to quickly ask whether two layers are equal is a nice way to know whether update is necessary
how do we define equality? Currently, two layers would need to have the same id to be equal, this PR relaxes that to simply having equivalent output from get_state.  Is that what we want?  do we need to add more properties for equivalence check?  I suppose that goes back to question number 1. (I'm fine with the current approach for now).
how to handle numpy arrays.  If we are to use this to know whether a synced viewer needs updating, it seems like we'd need to include the data arrays in the hash.  That can get hairy though as the array gets bigger, and it's unclear how to do it with dask.  xxhash (via its python binding) can hash the bytes of a moderate sized in-ram array really fast, but it brings a new dependency.  I implement it with a fallback in this PR, but if we want the hash to actually be useful, we kinda need to use the same hashing method on all installations, so it would need to be non-optional.  (the stdlib strategies either takes a small subset of the array or can quickly become many seconds long).  (see this SO thread).

Type of change

[x] New feature (non-breaking change which adds functionality)

References
https://stackoverflow.com/questions/16589791/most-efficient-property-to-hash-for-numpy-array
https://stackoverflow.com/a/8714242/1631624
How has this been tested?

[x] the test suite I added makes sure layers can be compared correctly and that arrays are included correctly in the hash.
[x] all tests pass with my change

Final checklist:

[x] My PR is the minimum possible work for the desired functionality
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works

Thanks for getting this going, I think this will be useful for remote syncing / sharing state and diffing etc. I think equivalent get_state is good for equality, though curious what @jni thinks.

how to handle numpy arrays.

I'm not familiar with the xxhash, but agree we're sort of all in or not. Looking at dask's from_array it seems like they do some hashing that can be customized and name 3 potential choices. I'm not familiar with their relative trade-offs

By default, hash uses python’s standard sha1. This behaviour can be changed by installing cityhash, xxhash or murmurhash. If installed, a large-factor speedup can be obtained in the tokenisation step. Use name=False to generate a random name instead of hashing (fast)

My instinct is that we should not hash numpy arrays. Let's use a random name and provide users the ability to update the "hash" when they modify the data. (e.g. "on_data_update" could update the "hash" also.)

if we're not worried about being strict about hashing arrays, one quick option is to just use hash(str(arr)).    That little string representation is as good of a name as any, and hashing it takes about 1.2 ms on my system, regardless of the size of the array.

Curious if we might want to revisit this - see https://github.com/napari/napari/pull/1374#issuecomment-659565241

if we're not worried about being strict about hashing arrays, one quick option is to just use hash(str(arr)). That little string representation is as good of a name as any, and hashing it takes about 1.2 ms on my system, regardless of the size of the array.

If we just go with this approach and not worry about the arrays for now then this should be pretty easy to wrap up. Could be a good first issue for a new contributor, in which case I'd flag it as such. Thoughts @tlambert03


Update to Chromium 114.0.5735.90/91

This PR updates to Chromium 114.0.5735.90/91.
Notes:

There were a handful of changes to the safebrowsing patch mostly due to [4383029]
The last of the ntp snippets were removed in [4395467]
The ip6 check has been updated to be asyc in [3941746]
The guest scheme has been removed in [4379157]

Some upstream patches will be required until they make it into a release:

A couple typenames were left out and fixed in [4526465]
The fix in [4534915] since we build without the tflite lib. This is included now

If your version of clang doesn't include https://github.com/llvm/llvm-project/commit/a4d3bc68142e67c1cbceef3ac33cdaf9b78fd84a then the change in [4470209] will need to be reverted.

Change log
Blog post

Sure thing!  I've added that in a new commit.

To remove tab search button on Windows, Remove flag win-10-tab-search-caption-button needs to be reverted: https://chromium.googlesource.com/chromium/src/+/f395a86902572461006674b9a8d5033e4f5444e7^!/#F0

Builds and runs fine on windows

Sorry for the late response again, conferences are keeping me busy.
I'm running into
../../components/omnibox/browser/autocomplete_controller.cc:1577:11: error: member access into incomplete type 'AutocompleteScoringModelService'
          ->ScoreAutocompleteUrlMatch(&scoring_model_task_tracker_,
          ^
../../components/omnibox/browser/autocomplete_provider_client.h:34:7: note: forward declaration of 'AutocompleteScoringModelService'
class AutocompleteScoringModelService;
      ^
1 error generated.

with both gcc and clang, any idea?

No worries, everyone is donating their own free time for stuff like this.  I haven't seen @PF4Public in a while, I hope they're just enjoying a well-deserved vacation.
As for the issue you're running into, you need to apply the changes in [4534915].  Now that I'm thinking about this specifically, I think that change is something I should add to the update since it's specific to us building without tflite.  I'll push new commits with that added soon.

As there's an approval from a Windows team member in https://github.com/ungoogled-software/ungoogled-chromium/pull/2366#issuecomment-1571503825 and to not delay a release further I think this is good to merge.

I haven't seen @PF4Public in a while, I hope they're just enjoying a well-deserved vacation.

As much as I wanted to, but unfortunately no. I'm sorry for my sudden disappearence, but for a moment I felt overwhelmed by interactions on GitHub and needed to disconnect and take a break. Besides there were some things of utmost importance offline, which were neglected for far too long, so I was there :) somewhere there.
And now I have a lot of catching up to do :)

I'm glad you're doing alright.    I appreciate y'all and the work you share with the world.


use standard component for fractal

Making sure we use the same thing.
I also removed the comments as they were just repeating what was happening in the code.

@gestchild let me know if you want to go over this.

let me know if you want to go over this.

Me too pls.


DOCS - add gitlab runner configuration example

Issue Type

Feature request
https://github.com/ansible/molecule/blob/master/doc/source/ci.rst#gitlab-ci

Desired Behavior
There would be very helpful for newbies to get the command that the runner is registered to the CI of Giltab. Mainly we miss here the type of executor and various explanations.
Thanks a lot I was looking for an example for a long time.

There would be very helpful for newbies to get the command that the runner is registered to the CI of Giltab.

Sorry, can you clarify?

Hi, thanks for looking into it,
I meant that someone new to the concept (like me) would still need to go 2 more hours threough documentations and infos to come out with this command.  gitlab-ci-multi-runner register -n --url https://yourgitlab.com --registration-token HqS3jZitk_Ro7Pyxv7rv --tag-list shell,pip36,docker --executor shell --description 'Shell runner molecule'
Very good thing!


Before all code are loaded，where can i init some code？

Before all code are loaded，where can i init some code？
I try to init them in the place of app's componentDidMount and  app's constructor, but  before it has been done, other app's components have been invoke.

index.js or App.js


Figure out when a non-coverting keyword should be increased to top of page, and when not.

For now, we should probably disable this feature


Python error

I get this error:
Collecting aiohttp<1.1.0,>=1.0.0 (from discord.py>=0.16.8->discord-raid-coordinator)
Using cached aiohttp-1.0.5.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-LHFRrP/aiohttp/setup.py", line 60, in
raise RuntimeError("aiohttp requires Python 3.4.2+")
RuntimeError: aiohttp requires Python 3.4.2+
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-LHFRrP/aiohttp/
My version i use is Python 3.5.2
What is the problem?

hmm are you installing this in a virtualenv? Perhaps pip is pointing to python 2?

Yes i try to do that. I dont know where the pip is pointed.

http://docs.python-guide.org/en/latest/dev/virtualenvs/
To ensure you are using the right version of python.

C:\Python35>python --version
Python 3.5.4

Get it to work now.

Do you mean you got it to work now?

This points to an environment issue, as it fails installing a dependent library, not on my code.
 File "", line 1, in
File "/tmp/pip-build-LHFRrP/aiohttp/setup.py", line 60, in
raise RuntimeError("aiohttp requires Python 3.4.2+")
RuntimeError: aiohttp requires Python 3.4.2+

Your pip is not pointing to that python. Check the version of python in the environment you made or if you have multiple python installs.


[Fixes #336] Promise.prototype.finally must not fail for a non-callable callback

Sorry for letting this linger, I was out sick the past few days.

released as v4.2.5 🎉

I'm going to back-
port this to RSVP.js as well, thanks again!


no mondodb data in ngCodeCamper.zip

In order to run the cc-bmean app, I started by unzipping the file ngCodeCamper.zip file, modifying the dbpath property in mongodb.config and starting up mongod daemon by using the modified mongodb.config doesn't work.
Connecting to mongo server and switching to ngCodeCamper database does not show any collelction. Does the zip file have any issues or anythign specific required to be done?
I am running this on a Mac

+1
When connecting to the database directly using a mongo client, there are no databases listed, and when running the cc-beam app, the last console line is:
"!!! Failed while getting MongoDb collections; is the MongoDb server running?"
Yes, it is running, but there is nothing in the DB. Did you get this resolved?

I saw some wildtiger files in the unzipped folder and so I restarted mongod using the wildtiger option, but still there 0 collections connecting using a client and running db.collection.count().
Looks like the zip contains an empty database.

+1
Have the same problem.  After starting MongoDB and listening on port 27017 (through e.g. MongoChef i can establish connection),  get  "!!! Failed while getting MongoDb collections; is the MongoDb server running?"  error.

+1
me too, and can't find a solution.

+1

+1

+1

+1

+1

You should add following to the mongodb config file
storageEngine=mmapv1
WiredTiger is a new storage engine for MongodDB which is now recommended over MMAPv1.

Worked great in Linux. Got the same errors on Windows.

+1
Still got the same error on windows

+1, setting storageEngine=mmapv1 solved issue on OSX as well

This didn't work for me received an error.
2016-04-14T06:52:41.964-0500 I STORAGE  [initandlisten] exception in initAndListen: 28662 Cannot start server. Detected data files in /Users/username/development/ng-demos/cc-bmean/src/server/data/ngCodeCamper created by the 'wiredTiger' storage engine, but the specified storage engine was 'mmapv1'., terminating

@JonathanAaron: as @pancasutresna wrote, you need to set that before running the fresh extract of ngCodeCamper.zip. That means if you have extracted the zip file, you should delete the extracted folder, set storageEngine=mmapv1, and re-extract the zip file.

I did as all you folks said, but get an error at starting cc-bmean server. Help, pls!
err
:)
GET /bower_components/angular/angular.js 200 11.944 ms - -
c:\Users\alex\WebstormProjects\AngularCleanCode\ng-demos\cc-bmean\node_modules\mongodb\lib\utils.js:98
    process.nextTick(function() { throw err; });
                                  ^

TypeError: Trailer name must be a valid HTTP Token ["Content-Type:"]
    at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:347:13)
    . . .

Process finished with exit code 1

@aleksmaksiuta: please always have Google by your side. The first result of searching "Trailer name must be a valid HTTP Token ["Content-Type:"]" should solve your problem. Or if it's not the first result, here you are https://github.com/johnpapa/ng-demos/issues/84

Thank you smahesaniya, setting storageEngine=mmapv1 solved issue on OSX for me!

Having the same problem in Windows 10.
The steps that i have tried:

Installed MongoDB 3.2
Download fresh copy of data files.
Added storageEngine=mmapv1 to my mongodb.config file. The file is now like that:

#logpath=c:\mongodb\log\mongo.log
#dbpath=C:\Projects\AngularJSPatterns\ng-demos\cc-bmean\src\server\data
#rest=true
#storageEngine=mmapv1

Added mongodb the my PATH

Run this command
mongod.exe --dbpath C:\Projects\AngularJSPatterns\ng-demos\cc-bmean\src\server\data

When i type http://localhost:27017/ to Chrome, i get an Error:
"It looks like you are trying to access MongoDB over HTTP on the native driver port."

When i try to gulp serve-dev command in project folder, i also get an error:

!!! Failed while getting MongoDb collections; is the MongoDb server running?
C:\Projects\AngularJSPatterns\ng-demos\cc-bmean\node_modules\mongodb\lib\utils.js:98
process.nextTick(function() { throw err; });
^
Error: Unable to locate collection Persons: MongoError: Collection Persons does not exist. Currently in strict mode.

For the previous problem that i wrote above, HTTP interface deprecated since version 3.2 of mongo db
https://docs.mongodb.com/ecosystem/tools/http-interfaces/
So if you are able to do, could you please update the course or mention a workaround in here. @johnpapa

This also worked for me on Windows 7. Had to add storage line to mongodb.config file, delete extracted ngCodeCamper folder, unzip it again and restart the server.
Thanks!

Please could someone describe step by step how to make this work on windows 10? I'm not getting any ... :-(

+1
I have the same problem
first i installed the mongoDB from site and make it as a service running now but when try to run the configuration it give me this error:
"Unable to locate collection Persons: MongoError: Collection Persons does not exist. Currently in strict mode."
Is there any solution for this issue @johnpapa

@mawadallah same problem doing Angularjs clean code course on pluralsight.
I create my own mongo database that pointing to data/ngCodeCamper directory.
Error: Unable to locate collection Persons: MongoError: Collection Persons does not exist. Currently in strict mode

A few of the solutions above work for some folks, but not others.
The course is not reliant on the mongodb, and I may just remove it from the course entirely since the course is about Angular and not messing with configuring mongo :)

+1
Thank you @smahesaniya
Setting storageEngine=mmapv1 solved the issue on my OSX as well


[Bug]: scalafmt.conf includePaths/excludePaths ignored

What happened?
I have a reproduction of the issue here: https://github.com/vinnybod/bazel_java_example/tree/rules_lint_config
TL;DR
I have a scalafmt.conf that specifies which files to format. When running directly via scala-cli fmt, it formats the correct files. When running with bazel run format, it formats every file.
project {
    includePaths = [
        "glob:**/app/**/FormatThis.scala",
    ]
    excludePaths = [
        "glob:**/app/**/DontFormatThis.scala"
    ]
}

Version
Development (host) and target OS/architectures: MacOS
Output of bazel --version: 7.2.1
Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file:
Language(s) and/or frameworks involved:
scala - scalafmt
How to reproduce
https://github.com/vinnybod/bazel_java_example/tree/rules_lint_config
Run bazel test //tools/format:format_test --test_output=errors to see that both DontFormatThis.scala and FormatThis.scala
are attempted to be formatted.
==================== Test output for //tools/format:format_test_Scala_with_scalafmt:
--- a/Users/vinnybod/dev/vinnybod/bazel_java_example/app/src/main/scala/com/example/DontFormatThis.scala
+++ b/Users/vinnybod/dev/vinnybod/bazel_java_example/app/src/main/scala/com/example/DontFormatThis.scala
@@ -4,6 +4,4 @@

-
-  def main
-(args:
-Array[String]) = println("Hello, world")
+  def main(args: Array[String]) = println("Hello, world")
 }
+
--- a/Users/vinnybod/dev/vinnybod/bazel_java_example/app/src/main/scala/com/example/FormatThis.scala
+++ b/Users/vinnybod/dev/vinnybod/bazel_java_example/app/src/main/scala/com/example/FormatThis.scala
@@ -4,6 +4,4 @@

-
-  def main
-(args:
-Array[String]) = println("Hello, world")
+  def main(args: Array[String]) = println("Hello, world")
 }
+
error: --test failed
FAILED: A formatter tool exited with code 1
Try running 'bazel run //tools/format:format_test_Scala_with_scalafmt ' to fix this.
================================================================================
Target //tools/format:format_test_Scala_with_scalafmt up-to-date:
  bazel-bin/tools/format/format_test_Scala_with_scalafmt
INFO: Elapsed time: 1.241s, Critical Path: 1.13s
INFO: 2 processes: 2 local.
INFO: Build completed, 1 test FAILED, 2 total actions

Run scala-cli fmt . --check (I installed it via coursier).
See that only FormatThis.scala is attempted to be formatted.
--- a/Users/vinnybod/dev/vinnybod/bazel_java_example/app/src/main/scala/com/example/FormatThis.scala
+++ b/Users/vinnybod/dev/vinnybod/bazel_java_example/app/src/main/scala/com/example/FormatThis.scala
@@ -4,6 +4,4 @@

-
-  def main
-(args:
-Array[String]) = println("Hello, world")
+  def main(args: Array[String]) = println("Hello, world")
 }
+
error: --test failed

Any other information?
I tested changing the maxColumns to make sure it picks up the config and it does, its just those paths that are not working. I wonder if it has something to do with the cwd when running through bazel.

FIxed by #372


findAddressCandidates?

I might be missing something, but does this component only support the find operation on the Esri World Geocoding service?
I see in the docco, it mentions:
The recommended operation to use is findAddressCandidates. Single field input is easier because the address parsing is done for you; however, multifield input may provide faster responses and more precise results.
Our client has a requirement to separate out the address search into: street number, street name, postcode, state  (We are in Australia), thus I believe I would need to use findAddressCandidates.

the L.esri.geosearch UI control utilizes find because it collects single line input from the user.
the underlying task, L.esri.Geocoding.geocode supports both.
L.esri.Geocoding.geocode().text("Denver").within(bounds).run(function(err, response){
  console.log(response);
});
>>> uses 'find'

L.esri.Geocoding.geocode().address('380 New York St').city('Redlands').region('California').postal(92373).run(function(err, results, response){
  console.log(results);
});
>>> uses 'findAddressCandidates'

find is used when text is supplied, findAddressCandidates is used when you discrete individual parameters are provided instead.
check out the codeblock here to see under the hood.

happy to chat more if you have any other questions.


BindMounts updated to Mounts

In a recent updation of testcontainers, BindMounts in the ContainerRequest has been updated to Mounts.
Kindly review and fix
From: https://github.com/romnn/testcontainers/blob/c0e2a685eb012c415e05810fbd15a2519d75e397/kafka/kafka.go#L68
To: https://github.com/testcontainers/testcontainers-go/blob/41a9d3d94912d28abacca1f1eef353f454b9536a/container.go#L89

Dear @vyshnavcompass, thanks for bringing this up.
Excuse the late follow up, I have not been actively working on this. I just updated the dependencies and refactored the code, which should resolve this issue.
Best, Roman


Add torrent move functionality and tracker field

Just fleshing out the API a little for my use case. I'm happy to tweak to make it more generic if needed. Thanks for doing the hard work! :+1:

Looks great! Thanks for choosing to submit a PR :grinning:

Optionally, you could add some documentation to the README but it's less of a big deal


DRAFT: Fix typeerror when changing type back to password

WARNING: This is a draft.  The changes to the .js file have not yet been reflected in the min.js file.
Description
After the password input has been converted to text, there is no
input matching type=password. However, the JS assumed there is which
resuled in a TypeError due to a null result when it looked for the
input. This fixes the problem by selecting by class instead.
Motivation and Context

This fixes a bug that occurs when you click to convert a text input back into a password input.
How Has This Been Tested?

Tested locally.
Screenshots (if appropriate)
Types of changes

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

Checklist

[x] My code follows the code style of this project.

The behavior was actually still a little buggy.  Specifically, the button could get out of sync, so clicking would have no effect.  This fixes the bugginess by eliminating the nested onclick.  So if you're willing to make a bigger change to the JS (although still non-breaking) I would recommend this:
const passwordInput = document.querySelector("[type='password']");
const passwordToggle = document.getElementById("toggle-password");

passwordInput.classList.add("input-password");
passwordToggle.classList.remove("d-none");

passwordToggle.onclick = function () {
  if (passwordInput.type === "password") {
    passwordInput.type = "text";
    passwordToggle.setAttribute("aria-label", "Obscure the value.");
  } else {
    passwordInput.type = "password";
    passwordToggle.setAttribute("aria-label", "Reveal the value.");
  }
  passwordInput.focus();
};


Vertical lines appear in file browser

Issue Type: Bug
How to turn off vertical lines in file explorer?!
Why do you guys keep adding stuff wherever you see free space?!?!
VS Code version: Code 1.37.0 (036a6b1d3ac84e5ca96a17a44e63a87971f8fcc8, 2019-08-08T01:22:37.660Z)
OS version: Darwin x64 18.5.0

/question
https://code.visualstudio.com/updates/v1_36#_tree-indent-guides


Switch to Rollup

Suggested by @eltonmesquita, rollup with postcss looks like it would give us everything we need and would simplify our build process, a goal explicitly set in #835.

@daneden is the idea to replace animate-config.json with an animate-config.js that imports the modules the user chooses?
E.g.:
// animate.config.js to be used with rollup
import 'attention_seekers/pulse.css'; // import 'attention_seekers/tada.css'; import 'bouncing_exits/bounceInDown.css';
I'm interested in helping.

Have you already took a look at http://parceljs.org/ ?

@daneden is it still open? I could work on this.

@janydrozd yes you can, please use the dev branch to submit your pull request since it is part of v4 feature.

I'm closing this as we're taking a even simpler approach and using only npx + postcss. See #900 .


Add pytest to our github

Adding pytest to be available to run the tests and provide us with details about the tests with each PR that has tests.

@thetaxas2468 change the commit message title and the PR name so it conforms with the convention mentioned on the contributing guide. Specifically, use add instead of adding (it should sound like you're telling someone to do it).

other than the title, it does looks ok to merge

Please conform to the contribution guide:

link an issue
add reviewers and assignee
as mentioned, fix the title.

other than that, LGTM

Please conform to the contribution guide:
link an issue

When reviewing, confirm that the code accomplishes the requirements and the acceptance criteria by using one or both ways: A GitHub issue: the code fixes the problem. Adding a feature: elaborate in the commit the purpose of the code. Both cases should have accompanying unit tests that cover all the relevant edge cases.

just to verify, this PR doesnt count as adding a feature? why linking to an issue?

I dont see somthing wrong in the files exept what Paz said about the title.
I think it can be merge

#29

Please conform to the contribution guide:
link an issue

When reviewing, confirm that the code accomplishes the requirements and the acceptance criteria by using one or both ways: A GitHub issue: the code fixes the problem. Adding a feature: elaborate in the commit the purpose of the code. Both cases should have accompanying unit tests that cover all the relevant edge cases.

just to verify, this PR doesnt count as adding a feature? why linking to an issue?

TBH I didn't notice the way it was phrased in the contribution guide and would highly suggest changing it.
an issue does not have to be a "problem" or a "bug", it can also be a feature request. an issue linked to any kind of PR adds clarity and makes it easy to follow the reasons for the change and who is involved.


As a world health organisation analyst, I want to produce a report by population of the cities of all the countries in the world about population so that I can support population reporting of the organisation

Population reports


Hack Days: survey users to determine interest and what topic we should cover

https://docs.google.com/document/d/1lTJ1EoALf9atlN4ViMtU9HtRuLspLKJsAljNnQFQtiU/edit

Draft survey:
https://forms.gle/ykMg637bTJDqumkbA

Based of the feedback so far, and we should get more, a bug bash is top topic.

Bump


IsOrganizationalTrail supported?

Hello.
I get the following when trying to automated the creation of  an Organization Trail:
AttributeError: AWS::CloudTrail::Trail object does not support attribute IsOrganizationalTrail
Is this supported?
org_trail = t.add_resource(Trail(
"OrganizationTrail",
IsOrganizationalTrail=True,
Thanks!

Not currently defined in the CloudFormation docs or resource spec files. Need to await implementation by the CF team.

https://github.com/aws-cloudformation/aws-cloudformation-coverage-roadmap/issues/45

One can simply check by comparing the API documentation and CloudFormation documentation:
https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_CreateTrail.html#awscloudtrail-CreateTrail-request-IsOrganizationTrail
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html
@LewisYates BTW the property name (when it is implemented in CFN) will be IsOrganizationTrail not IsOrganizationalTrail.


Can't get double click to boudingbox link element

How to create again the issue :

Link a revit link model.
Snoop Link Element
Double clikck into boundingbox properties

See issue

Thank you @NeVeSpl  for quick fix, it working perfect as expect !


add support for Get Webhook endpoint and handle io/ioutil deprecation

Add support for Get Webhook endpoint
Handle io/ioutil deprecation

released as https://github.com/grezar/go-circleci/releases/tag/v0.8.0


Multiple Custom Predicates

Hi !
I'd like to use multiple custom predicates during my validation but I didn't manage to do it.. Could you help me ?
Here is my schema
Instruct::Validation::Schemas::Setup =
  Dry::Validation.Schema do
    configure do
      def domain
        'some_string''
      end

      predicates(Instruct::Validation::Predicates::PluginExist)
      predicates(Instruct::Validation::Predicates::ValidStepName)
    end

    # Setups step are uniq names
    # First key of setups are a plugin
    # First value of setups are a path
    # variables are #Variables
    # cases are Array[Variables]
    required(:name).filled(:str?, :valid_step_name?)
    required(:driver).value plugin_exist?: domain
  end

And here are my two predicates
module Instruct::Validation::Predicates::ValidStepName
  include ::Dry::Logic::Predicates

  predicate :valid_step_name? do |value|
    !/^[a-zA-Z0-9_]*$/.match(value).nil?
  end
end

module Instruct::Validation::Predicates::PluginExist
  include ::Dry::Logic::Predicates

  predicate :plugin_exist? do |domain, plugin|
    plugin.is_a?(String) && domain.is_a?(String) &&
      Instruct::PluginLoader.exist?(domain, plugin)
  end

end

Thanks a lot in advance

My bad #409 already talks about this


'apache#1595'

https://github.com/apache/incubator-dolphinscheduler/issues/1595

Codecov Report

Merging #1608 into dev will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff          @@
##             dev   #1608   +/-   ##
=====================================
  Coverage   9.07%   9.07%
=====================================
  Files        283     283
  Lines      13846   13846
  Branches    2205    2205
=====================================
  Hits        1256    1256
  Misses     12490   12490
  Partials     100     100

Impacted Files
Coverage Δ

...he/dolphinscheduler/server/utils/AlertManager.java
0% <0%> (ø)
: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 7826843...3b65332. Read the comment docs.


feat: owner profile

Show owner detail in detail pages (except for owner)
This PR contains #142 and #145, might want to get those reviewed first
  Detail page

  On click

My intention of creating a fragment container is for injecting whatever button and however many of them as we want with customizable title and body and onclick and a hook.
 For this implementation there's a styling issue for accepted detail.

 what I recommend is, you could just do something similar to this :point_down: and call the inflate wherever appropriate


myfavourites is not show up

favourites not show up
look like bug in plugin.video.specto-2<IP_ADDRESS>\plugin.video.specto\resources\lib\indexers\tvshow.py and movies.py that is why myspecto is show up blank.

did find quick fix that was to use old indexers file of tvshow.py and movies.py.
need fix memory leak because error exceptions return null for list favouritestvshow

update to latest version, and restore  manually favorites movies


DOC: recommend forcing path-style AWS SDK PHP

Even though v3 AWS SDK for PHP advertises it forces path-style
requests, it doesn't seem to (see http://forum.scality.com/t/issues-when-using-aws-sdk/127 ).
The new PHP template client features the "use_path_style_endpoint" set to true.

@LaureVergeron if you can rebase your branch, I can merge it for you, or let me know if you want me to rebase it if it gets outdated again between the time zones.

PR has been updated. Reviewers, please be cautious.

Regular ci failing due to unrelated flaky tests for multiple backends. Merging.


cli command shown in "langium-quickstart.md" is not correct

Langium version: 2.0.0
Package name: langium-generator
Steps To Reproduce

generate hello-world sample
try running the advertised ./bin/cli which leads to the following error (on OS-X)

./bin/cli
zsh: no such file or directory: ./bin/cli

The current behavior
Command shown langium-quickstart.md does not work.
The expected behavior
Command shown in langium-quickstart.md should work unversially
Possible ways to solve

chmod cli.js to be executable and change command to ./bin/cli.js
change command to node ./bin/cli.js

If not mistaken although I think shebang-lines don't work on Windows so I think the proper way is to change the readme to use the 2nd option

@sailingKieler You fail to see it, because you have a Mac :)
I didn't work on Windows (as mentioned in the initial issue comment). Windows is fairly strict about what it accepts as an executable via the command line - which is why calling node first is necessary on Windows. Closing the issue.

Indeed, I thought in that direction but the description says:

Hm, I see. No idea, though using node should work anyway as expected ¯\_(ツ)_/¯

@sailingKieler - correct the error from above is produced on my OS-X

I use yo langium to bootstrap
In the bin-directory there's no file named cli hence the file not found error is at least to me expected
And as the file has not set the executable bit I don't understand why you can execute it

@msujew - on windows (unless you run in WSL) I don't think windows can do anything with #!/usr/bin/env node - at least I would be very suprised and according to https://stackoverflow.com/questions/10396305/npm-package-bin-script-for-windows it is simply ignored but I confess I have not tried but as you wrote using "node" is the safeway and works just anywhere.

@tomsontom you're right, since v2.0 ./bin/cli will be generated as ./bin/cli.js. (I had v1.0.0 in my global installation.)
@msujew what the rational for this renaming? See https://github.com/eclipse-langium/langium/commit/eea5bc2b5621cc8a321c4b95d4ca63f0aa5324fe#diff-b4755ad3e38404bce97bf673a7adacacdac1a1def6788be6ad931a06728ad8ff

Well I think this how it is supposed to be in node/npm - if you package this up then npm automatically creates the wrapper so that the end user can really run "./bin/cli" - It is also mentionned in the stackoverflow link from above


Update nock to 9.0.14 to fix Node 8

Signed-off-by: Bob Wombat Hogg<EMAIL_ADDRESS>Closes #170

Coverage remained the same at 95.787% when pulling e3ab2ef7e8b666c96a4b1ce493e3de3a926afe27 on rhoggSugarcrm:update-nock into 19a2ed1b75aa9f18c534ab5480fab94588f60b36 on sugarcrm:master.

Coverage remained the same at 95.787% when pulling e3ab2ef7e8b666c96a4b1ce493e3de3a926afe27 on rhoggSugarcrm:update-nock into 19a2ed1b75aa9f18c534ab5480fab94588f60b36 on sugarcrm:master.

Coverage remained the same at 95.787% when pulling 341cfbf3c972165b7be1363e211bf5710ac72afd on rhoggSugarcrm:update-nock into fe63897f35f6423a2f3dd481c4919fbdf0325aa6 on sugarcrm:master.

Coverage remained the same at 95.787% when pulling 341cfbf3c972165b7be1363e211bf5710ac72afd on rhoggSugarcrm:update-nock into fe63897f35f6423a2f3dd481c4919fbdf0325aa6 on sugarcrm:master.

Coverage remained the same at 95.787% when pulling 848bfa28ed84ef928b1f4517d63ee00f9ec9c872 on rhoggSugarcrm:update-nock into 61d64230e9d5bf8a64a98a87a59ffaa46ca1d6fe on sugarcrm:master.


@freetube/yt-channel-info will be archived

Hello,
We are planning on archiving the @freetube/yt-channel-info module in the near future. I thought I'd reach out to the modules dependents to let them know so they can migrate to a new module if they would like.
FreeTube is switching to https://github.com/LuanRT/YouTube.js but I'm sure there are other modules that you could switch to.
https://github.com/FreeTubeApp/yt-channel-info/issues/166

Just leaving a note here to close the issue.
The @freetube/yt-channel-info package will continue to be used in the project and will not be replaced by a different one.

We have already migrated to youtube.js. All we have to do is to put out a new release and archive the repo.


License

@theaqua We probably should add a license in the repo. Perhaps public domain?

Public domain is perfect.


[BUG] Redirect start-https.sh script to local Java servers instead of staging servers.

Description
On registering new email and password with no smtp credentials at dev.appsmith.com, the user is receiving an email from<EMAIL_ADDRESS>

Important Details

Version: Cloud
OS: MacOS 10.14.6
Browser: Firefox 80.0.1 (64-bit).

@mohanarpit not so sure about this. What stops a user from creating fake emails on prod and causing the same problem? Changing the server URL won't help this

@Nikhil-Nandagopal That's a different problem. During dev time, we almost always end up using a dummy email ID for testing. It's a lot more prevalent in dev scenarios than in production.
Also, getting the dev setup to be completely independent of any hosted service is the ideal goal. As a developer, I should be able to get up & running with the Appsmith codebase independently on my machine and not rely on an internet connection to develop.

Then it seems like different problems to solve. Frontend devs will value a hosting server and we can assume goodwill there. If we want to protect our email reputation let's solve that correctly.

@mohanarpit @Nikhil-Nandagopal Can you specify the procedure to recreate issue in little more detail?
Thanks

@ps-19 Apologies. This issue is a duplicate of #1231 and has already been resolved.

@mohanarpit can you suggest me some very beginner friendly issue to work on.

@ps-19 please have a look at our (Contribution Guide)[https://github.com/appsmithorg/appsmith/blob/release/contributions/CodeContributionsGuidelines.md]


(Re-)activate --event-signature flag for logs dataset

Is your feature request related to a problem? Please describe.
Currently --event-signature cli flag exists but does not have any references in the codebase. Also there's no reference for log decoder object created and used. No log decoder object is passed to table_schema regardless of supplied cli param. (code)
example command with no difference of result - the latter is expected to have additional columns of _from, _to and value.
# USDT logs from random mainnet block
$ cryo logs --address 0xdAC17F958D2ee523a2206206994597C13D831ec7 -b 18556423:18556424 --csv
$ cryo logs --address 0xdAC17F958D2ee523a2206206994597C13D831ec7 -b 18556423:18556424 --csv --event-signature "event Transfer(address indexed _from, address indexed _to, uint256 _value)"

Describe the solution you'd like
Implement parsing log decoder from cli params.

fixed in 0733f705e529bc51adda850d1f89b40cacf51eae


Clean up apt package cache

Describe the bug
At the end of image generation we should cleanup the apt package cache (apt-get clean). There's no use for it on deployed images.  Doing this would free up multiple GB of disk space.
Area for Triage:

I couldn't find an area that matched (this is an OS-wide issue)
Question, Bug, or Feature?:
Bug
Virtual environments affected

[ ] macOS 10.15
[x] Ubuntu 16.04 LTS
[x] Ubuntu 18.04 LTS
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Expected behavior
I shouldn't see wasted disk space due to .deb files for packages that were already installed.
df -h
apt-get clean
df -h # free space should not increase greatly

Actual behavior
A description with steps to reproduce the issue. If your have a public example or repo to share,
please provide the link.
free space increases greatly

Hello, @congyiwu
Fixed in the https://github.com/actions/virtual-environments/pull/757 PR.


void template version bump

Good day.
Can you bump void template to the current version?
Also, if I want to do it myself, I need only to change the version in the template, right?
I'm not sure where to look for the appropriate _xpp_version.
And one last question, it says that
srcpkgs/polybar/template: line 13: vopt_if: command not found
Is it part of some package I should get?

Hi
You would need to change the version and the sha256 hash (I usually just bump the version, try to package it and then copy the hash printed to stderr on failure). The xpp version that is used can be found in .gitmodules.
The vopt_if command should be part of xbps unless they recently removed or changed it.

Thanks, it worked!


ENH: parse and expand bound tuples

Parsing and translation support for bound tuples, examples:

rigid quantification \E <<x, y>> \in A \X B: ...
choose expressions CHOOSE <<x, y>> \in A \X B: ...
set constructor for subset {<<x, y>> \in A \X B:  ...}
set constructor {...:  <<x, y>> \in A \X B}
function definitions f[<<x, y>> \in A \X B] = ...
function constructors [<<x, y>> \in A \X B |-> ...]

The syntax tree is changed to represent bound tuples. The translation is after the parser and before conversion to indexed identifiers. Subexpression references where bound tuples occur are not supported.
If a Cartesian product is found in the expression, of the same length as the bound tuple, for example <<x, y>> \in A \X B, then a rewriting to a simpler expression is applied. For example,
{<<x, y>> \in A \X B:
    P(x, y)}

is translated to (the names of auto-generated identifiers differ):
{y \in A \X B:
    LET
        a == y[1]
        b == y[2]
    IN
        P(a, b)}

Another case is:
{x + y: <<x, y>> \in A \X B}

which is translated to:
{x + y: x \in A, y \in B}

Otherwise the rewriting results in expressions that contain CHOOSE or quantification.
Includes fixes to parsing of declarations in function definitions and quantification.

@johnyf could you rebase on the latest changes in main to see whether these changes pass the new syntax tests from #159? I tried to rebase myself but could not successfully resolve the merge conflicts in src/expr/e_anon.ml.

Great! You can run the parser tests with dune runtest test/parser --force --always-show-command-line; they should take less than a second. It should cause these tests to fail:
https://github.com/tlaplus/tlapm/blob/56f33ef51f092c1126b242baa08f5ba534c2e1c0/test/parser/parser_tests.ml#L92-L97
If you delete those test names from the list then the test should pass if these changes fix all those cases.


LoadProductStockSubscriber gets loaded before ProductMaxPurchaseCalculator

PHP Version
8.2
Shopware Version
v<IP_ADDRESS>
Affected area / extension
Platform(Default)
Expected behaviour
When the function Load of AbstractStockStorage is implemented it should be used as calculation basis for ProductMaxPurchaseCalculator
Actual behaviour
When i overwritte the load function AbstractStockStorage the field maxPurchase gets ignored as the stock overwritte is applied after ProductMaxPurchaseCalculator was executed.
How to reproduce
Set Product max purchase to some value in the db.
And set another value in max purchase via AbstractStockStorage.
    public function load(StockLoadRequest $stockRequest, SalesChannelContext $context): StockDataCollection
    {
        $stock = new StockDataCollection([]);
        $stock->add(new StockData(
            productId: '66c16c65e30640e89e33641348de86a3',
            stock: 0,
            available: true,
            minPurchase: null,
            maxPurchase: 1,
            isCloseout: false
        ));
        return $stock;
    }

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-38104
[created from NEXT-38104, comment 491289]

Currently working on this


DSCP Value for App Sharing on macOS

You documented the DSCP Vales for Audio and Video for macOS. Whats missing is the value for App Sharing.
Cloud you please update the documentation.
Thanks Georg

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

ID: 76c2487c-044d-1349-708a-5841fcb21ab8
Version Independent ID: b7033454-1a9c-48d4-8004-78415c5feb89
Content: Implement Quality of Service in Microsoft Teams - Microsoft Teams
Content Source: Teams/QoS-in-Teams.md
Service: msteams
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

Thanks for your feedback, I could get information from the team and an update to the article is being proposed


Additional Dev guide update v1.3

Related to #70
Includes implementation of enhancement in DeveloperGuide
Replace the ModelClassDiagram to include additional changes and puml file

Codecov Report

Merging #95 (b564b9c) into master (919a293) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #95   +/-   ##
=========================================
  Coverage     76.96%   76.96%
  Complexity      780      780
=========================================
  Files           114      114
  Lines          2301     2301
  Branches        264      264
=========================================
  Hits           1771     1771
  Misses          447      447
  Partials         83       83

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Fix v2 transforms in spawn mp context

Fixes https://github.com/pytorch/vision/issues/8066
cc @vfdev-5

Failure seem to be unrelated.
There was
FAILED test/test_datasets.py::FlyingThings3DTestCase::test_str_smoke - PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmp3_12x8ek\\FlyingThings3D\\optical_flow\\TRAIN\\B\\0001\\into_future\\left'
= 1 failed, 21433 passed, 16912 skipped, 2 xfailed, 231 warnings in 2584.93s (0:43:04) =

on the 3.10 windows job but this dataset isn't touched by this PR, and the other windows job are executing the new test and running fine. Let's hope it's just a one-off, I'll merge


Sticky box not working in IE

Hi,
It appears that the sticky box is not working in IE.
const StickyViewport = styled(StickyBox)
  display: flex;
  flex-direction: column;

  @media ${breakpoints.md}, ${breakpoints.lg} {
    height: 100vh;
  }

<StickyViewport>
    <ActivitiesStats activities={activities} examDate={examDate} getColor={getColor} />
    {(hasExamStats || hasQbankStats) && (
      <React.Fragment>
        <HSeparator />
        <GroupContainer>
          {hasExamStats && (
            <FlexItem grow={1}>
              <ExamStats exam={exam} getColor={getColor} />
            </FlexItem>
          )}
          {hasExamStats && hasQbankStats && <VSeparator />}
          {hasQbankStats && (
            <FlexItem grow={1}>
              <QbankStats qbank={qbank} getColor={getColor} />
            </FlexItem>
          )}
        </GroupContainer>
      </React.Fragment>
    )}
  </StickyViewport>

IE does not support sticky position.

Is this a known bug?
Thanks!

Hi there,
yes, it's a known... let's call it "compromise".
In the docs it is mentioned that StickyBox relies on position: sticky and falls back to a position: relative behaviours on browsers that do not support it.

gotcha, is there an alternative for it?
thanks danielberndt

Unfortunately I'm not aware of any react based solution that is doing both, supporting IE as well as being responsive if the sticky container is bigger than the viewport.
One alternative I could offer is to look at the 0.5 versions of this library which emulates sticky behaviout with position: fixed. Check out the changelog for some more details for this version!

yeah, I understand.
I tried that but no luck.

I will try to find a workaround somehow.

I solved the issue using @media all and (-ms-high-contrast: none), (-ms-high-contrast: active)...
Thanks!
const StickyViewport = styled(StickyBox)`
  display: flex;
  flex-direction: column;

  @media ${breakpoints.md}, ${breakpoints.lg} {
    height: 100vh;
  }

  @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10+ CSS styles go here */
    position: fixed;
    top: 50px;
    bottom: 25px;
    left: 26px;
    right: 0;
    width: 48.5%;
    overflow-y: scroll;
    overflow-x: hidden;
  }
`

Ah yes!


Request money - Extra 0 digit in the amount and app crashes when requesting money

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

Action Performed:

Launch New Expensify app
Tap + > Request money > Enter any amount > Next
Scroll down the list

Expected Result:
In Step 2, there will be no extra digit in the amount when the amount is entered
In Step 3, app does not crash
Actual Result:
In Step 2, an extra zero is present in the amount when the amount is entered
In Step 3, app crashes
Workaround:
Unknown
Platforms:

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

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

Version Number: 1.3.75-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/ed0235b0-3247-4284-b04b-f2c8ccbc18b8
logs (2).txt
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

due to this PR started crashing https://github.com/Expensify/react-native-onyx/pull/329/files

@ospfranco Do you think it's related? I'm not seeing the connection necessarily, but if it is related, can you come up with a fix?

@pradeepmdk Can you please share how you determined that was the PR?

@tgolen when you go to request money it will throw the setWithOnyxState  error.

Note: @ospfranco started working on this
https://github.com/Expensify/App/issues/28419#issuecomment-1740392217

Yes, it looks like it...
@dukenv0307 Are you available to submit a follow-up PR?

...and I overlooked that 🙈

Issue is not reproduced on build <IP_ADDRESS>
https://github.com/Expensify/App/assets/93399543/e4dd4a74-1114-4869-a2c8-c93a01b2b406

@aimane-chnaif Yes, still the extra 0 is reproducible.

fixed in staging, no payment here since the authors of regression fixed it

25% so $125 to @dukenv0307 for the solution which was used cc @jliexpensify please, thanks!

Payment Summary here
Invited!

Paid, and job closed!


[Improvement] show media files in the app

At the moment if you send a video, file, etc. via pm or to a channel it's shown as a link. If you click the link your browser opens and you have to login, then you can download the video/file the the smartphone and watch it.
A better solution is to embedd the video in a player or the file/pdf in a view that it's possible to watch it directly in the app in fullscreenmode without leaving it.

the issue in zulip discussing this, not sure if the markdown processing on mobile would need extra care...
https://github.com/zulip/zulip/issues/9081

Previews would be nice, but what would be the behaviour for non-text/video files? At the very least there should be a button to download the file directly because the whole 'download through the browser' routine is fairly annoying.

For the case of video files this would already be solved with the standard browser controls of a preview window as they show a download button in the control bar

Am 19.07.2018 um 22:16 schrieb Ingmars Melkis<EMAIL_ADDRESS>Previews would be nice, but what would be the behaviour for non-text/video files? At the very least there should be a button to download the file directly because the whole 'download through the browser' routine is fairly annoying.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Oh, I meant non(text|video), as in neither text nor video (nor pictures I
suppose). Woops.
On Fri, Jul 20, 2018, 00:35 lukasIO<EMAIL_ADDRESS>wrote:

For the case of video files this would already be solved with the standard
browser controls of a preview window as they show a download button in the
control bar

Am 19.07.2018 um 22:16 schrieb Ingmars Melkis<EMAIL_ADDRESS>:
Previews would be nice, but what would be the behaviour for
non-text/video files? At the very least there should be a button to
download the file directly because the whole 'download through the browser'
routine is fairly annoying.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip-mobile/issues/2816#issuecomment-406421691,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA3-hlI5hJK3eJvVAH7xsGDN7-04z1vfks5uIPuagaJpZM4VQm_D
.

The annoying requirement to log in again before viewing uploaded files is something we expect to fix soon; that's https://github.com/zulip/zulip-mobile/issues/3303. We recently made an implementation plan (see discussion) that answers a security concern that was blocking progress on this. A careless implementation using file URLs that contained the user's API key would have allowed a user to unwittingly grant people access to their account if they copy/pasted and shared such a URL. The proposed solution doesn't put the API key in the URL, and it still restricts access to the file to people who are logged in, without making them enter their credentials again.
The specific feature of having inline previews for these files has a web app counterpart; that's https://github.com/zulip/zulip/issues/9081. For that reason, we'll keep this issue open, with some clarifications to the title and initial message. But we expect the fix for https://github.com/zulip/zulip-mobile/issues/3303 to be a big help for people wanting to view files.

Thanks @j0hannesr0th for this feedback (from back in 2018)!
While we aren't going to implement this feature in zulip-mobile because we're migrating to Flutter, it is a valid feature request and I'll want to have an open issue for it following the migration. Therefore leaving it open, to be migrated when we do a triage sweep through the zulip-mobile issues to migrate the still-relevant ones to zulip-flutter.


Missing records on FOR query

My Environment

ArangoDB Version: 3.10.5
Deployment Mode: Single Server
Deployment Strategy: Manual Start in Docker
Configuration: default
Infrastructure: own
Operating System: Windows 11 (on Docker)
Total RAM in your machine: 16 GB
Disks in use: SSD (m2)
Used Package: Docker - official Docker library

Component, Query & Data
Affected feature:

AQL query (if applicable):
FOR p IN products RETURN p.internalCode

AQL explain and/or profile (if applicable):

Query String (39 chars, cacheable: false):
 FOR p IN products RETURN p.internalCode

Execution plan:
 Id   NodeType          Calls   Items   Filtered   Runtime [s]   Comment
  1   SingletonNode         1       1          0       0.00001   * ROOT
  5   IndexNode            11   10320          0       0.00400     - FOR p IN products   /* persistent index scan, index only (projections: `internalCode`) */
  3   CalculationNode      11   10320          0       0.00127       - LET #1 = p.`internalCode`   /* attribute expression */   /* collections used: p : products */
  4   ReturnNode           11   10320          0       0.00002       - RETURN #1

Indexes used:
 By   Name                      Type         Collection   Unique   Sparse   Cache   Selectivity   Fields               Stored values   Ranges
  5   internalCodeUniqueIndex   persistent   products     true     false    false      100.00 %   [ `internalCode` ]   [  ]            *

Optimization rules applied:
 Id   RuleName
  1   reduce-extraction-to-projection

Query Statistics:
 Writes Exec   Writes Ign   Scan Full   Scan Index   Cache Hits/Misses   Filtered   Peak Mem [b]   Exec Time [s]
           0            0           0        10320               0 / 0          0          32768         0.00558

Query Profile:
 Query Stage           Duration [s]
 initializing               0.00000
 parsing                    0.00003
 optimizing ast             0.00000
 loading collections        0.00001
 instantiating plan         0.00004
 optimizing plan            0.00015
 executing                  0.00536
 finalizing                 0.00002

Dataset:

Just plain documents with internalCode field with type of integer number
Size of your Dataset on disk:

3-4 MB
Replication Factor & Number of Shards (Cluster only):

None
Steps to reproduce

Run query on web interface (all results selected on filter) or with the go-driver couple of times rapidly. (like clicking rapidly execute button on web interface)

Problem:
As you can see on execution plan I have 10320 documents and every one of them have unique internalCode. I have to know every internal code to generate new internal code on golang side of server but some times some results are missing and it causes conflicts on my generator code.
Expected result:
Expected result;

Occasionally returned result;

Is this problem reproducible with a different collection and persistent index but the same data?
Can you try to disable the reduce-extraction-to-projection rule and re-test with the Go driver? Something like this:
package main

import (
	"context"
	"fmt"
	"os"
	"sync"

	driver "github.com/arangodb/go-driver"
	"github.com/arangodb/go-driver/http"
)

var wg sync.WaitGroup

func main() {
	iterations := 100
	wg.Add(iterations)
	for i := 0; i < iterations; i++ {
		go runQuery()
	}
	wg.Wait()
}

func runQuery() {
	defer wg.Done()
	conn, err := http.NewConnection(http.ConnectionConfig{
		Endpoints: []string{"http://localhost:8529"},
	})
	if err != nil {
		fmt.Println("Failed to create connection")
		os.Exit(1)
	}
	client, err := driver.NewClient(driver.ClientConfig{
		Connection: conn,
	})
	if err != nil {
		fmt.Println("Could not create client")
		os.Exit(1)
	}

	ctx := context.Background()
	dbName := "_system"
	db, err := client.Database(nil, dbName)
	if err != nil {
		fmt.Printf("Could not find database %s\n", dbName)
		os.Exit(1)
	}

	ctx = driver.WithQueryCount(ctx)
	ctx = driver.WithQueryProfile(ctx, 2)
	ctx = driver.WithQueryOptimizerRules(ctx, []string{"-reduce-extraction-to-projection"})

	query := "FOR p IN products RETURN p.internalCode"
	cursor, err := db.Query(ctx, query, nil)
	if err != nil {
		fmt.Println("Query failed")
		fmt.Println(err.Error())
		os.Exit(1)
	}
	defer cursor.Close()
	fmt.Printf("%d results\n", cursor.Count())
}

Reproduced it.
Looks like a UI issue to me, but I need to do some investigation into the HTTP requests first.

It looks like the whole AQL query result handling in the web UI code (which runs inside the browser) cannot deal properly with concurrently running queries.
For example, self.tmpQueryResult will be updated with new results whenever some data comes back:
https://github.com/arangodb/arangodb/blob/devel/js/apps/system/_admin/aardvark/APP/frontend/js/views/queryView.js#L2497
However, when multiple queries execute concurrently, the result is more or less undefined, because the results from each query will end up in the same (shared) instance variable. This works well if queries are executed serially, but for concurrently running queries, it cannot work like it is. Instead, query results should be tracked by query/cursor ID and not in a global variable.

@jsteemann well, yeah. Even if I found it accidentally it still looks like a valid issue anyways :)

Hey @ozguncagri, thanks for the report! The query view UI is currently undergoing a major refactor, which will be a part of 3.12 (by November-end). It'll land in devel branch in the next 2-3 weeks!


No easy way to set default value in Insert Modal

I want to set a default value for a column while adding a new row. I am not able to figure out any easy straight forward way to do so. The custom insert modal seems to be the only option

Currently, the most easy way is https://github.com/AllenFang/react-bootstrap-table/blob/master/examples/js/custom/insert-modal/custom-insert-modal-field.js, but I think i can support this feature in next or next two versions :)

@p21asthana, fixed on v3.3.5, check example
use editable.defaultValue to assign the default value in insert model field

Awesome.... Thanks a lot
On May 17, 2017 7:06 PM, "Allen"<EMAIL_ADDRESS>wrote:

Closed #1294
https://github.com/AllenFang/react-bootstrap-table/issues/1294.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AllenFang/react-bootstrap-table/issues/1294#event-1085991722,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHyeA1QSXbyzASSgcySuuA3W2Vswff-6ks5r6vfQgaJpZM4NTgzx
.

I have used the default value as mentioned above
<TableHeaderColumn dataField="ttl" dataSort={true} editable={{defaultValue: '28800' }}>             TTL           </TableHeaderColumn>
but when I click on New the form not showing default value in the textbox

After updating to the latest version, i am receiving the following error -
Module not found: Error: Cannot resolve module 'react-dom/lib/getVendorPrefixedEventName'

@sunnybogawat, try again with following?
<TableHeaderColumn dataField="ttl" dataSort={true} editable={{ type: 'text', defaultValue: '28800' }}> TTL </TableHeaderColumn>
@p21asthana, I've no idea about your error, I think its not related with this release.


Chrome custom Profile upload issue

Hello Team, I hope you are well, #1172  #1150
I've read several issues across Selenoid/Selenium and chromeDrivers without finding a solution.
Currently, I'm facing an issue with adding a custom chrome profile, I've completed the following steps:

volume setup.
using User-data-dir
Profile directory.
4)Broswer.json is up to   ##date.

and it's not working, with that being said, If I use the code on a local machine Using Selenoid it's working, I've checked Chrome: versions, and apparently. when the new sessions have created the default(User-data) being stored in a randomized generated directory.
Which it's makes it impossible to point a volume toward a specific Generated folder.
I'm wondering if there is a way we could point it to pick up the custom profile for a specific path within the container using Volume.
Is there a way to configure Selnoid-server to start a Chrome node with a given --user-data-dir value?
Here is some information I've found about
ChromeOptions options = new ChromeOptions();
options.addArguments("user-data-dir=/path/to/your/custom/profile");
You can create your own custom profile by just running Chrome (on the command-line or through
ChromeDriver) with the 'user-data-dir' switch set to some new directory. If the path doesn't exist, Chrome
will create a new profile in the specified location. You can then modify the profile settings as desired, and
ChromeDriver can use the profile in the future. Goto chrome://version in the browser to see what profile
Chrome is used.

On another note as well. when I try to access the custom profile from The session using (File:/// ), it gets stuck on loading.
I'm not sure what else, I could provide.
Looking forward to hearing your thoughts about it.

@Anticope12 so far as I know Chromedriver does not allow to upload a profile like Geckodriver does. However using capabilities (https://chromedriver.chromium.org/capabilities) you can upload extensions, change Chrome prefs, mobile emulation settings and so on separately. What is you use case?

Thank you for the clarification really appreciate it.
The Extention upload it's working without any issues( I did actually find the solution on one of the Q/A here).
The reason I want to use the "profile/--profile-Directory", is just to save time going through all the Sign-in processes/ for each test, as well the session data/cache /cookies will be stored in the Custome profile directory which is using Volume "resistant data", therefore, it will allow me to use the same history, activity for a specific profile under new test/session.
If you have an idea or workaround Would be great to hear.

Out of curiosity! I came across ChromeDriver Documentation:
Should it be possible if ChromeDriver can create, As well read from a specific directory?
As what I can see it's happening now is the following :
"When chromedriver starts Chrome, if the ChromeOptions it receives from A"server" (which were passed as ChromeOptions to RemoteWebDriver) do not contain a value for --user-data-dir, then chromedriver generates a random chrome profile directory in /tmp and starts chrome with that value in --user-data-dir.  i.e. something like --user-data-dir=/tmp/.com.google.Chrome.ex4vLx/
Is there a way to configure A-server to start a Chrome node with a given --user-data-dir value?  "
Common use cases
Use custom profile (also called user data directory)
By default, ChromeDriver will create a new temporary profile for each session. At times you may want to set special preferences or just use a custom profile altogether. If the former, you can use the 'chrome.prefs' capability (described later below) to specify preferences that will be applied after Chrome starts. If the latter, you can use the user-data-dir Chrome command-line switch to tell Chrome which profiles to use:
ChromeOptions options = new ChromeOptions();
options.addArguments("user-data-dir=/path/to/your/custom/profile");
You can create your own custom profile by just running Chrome (on the command-line or through ChromeDriver) with the user-data-dir switch set to some new directory. If the path doesn't exist, Chrome will create a new profile in the specified location. You can then modify the profile settings as desired, and ChromeDriver can use the profile in the future. Open chrome://version in the browser to see what profile Chrome is using.

Just adding some extra content here,
I was playing around with the argument. "--user-data-dir" actually created a new path/directory Here is the screenshot,

Here a snapshot if the code
options1 = webdriver.ChromeOptions()
    options1.add_argument('--user-data-dir=/tmp/chrome:')
    options1.add_argument('--profile-directory=Profile 1')

@Anticope12 what you are describing will only work when Chromedriver is running on the same host where the test is being run. However in the majority of situations that's not the case. You need to first of all somehow transfer your profile to remote host with browsers and this is not implemented in Chromedriver.

Thank you @vania-pooh, for your feedback. Any thoughts of a workaround that could work here?

Is it normal to have a multiple user-date-dir created?
I thought it was an issue on my end, I've created a brand new host and the system is creating multip DIR/Duplicate.

@Anticope12 yeah, we've also seen multiple directories like this in /tmp. Seems to be normal.

Hello, you can distribute custom chrome profiles over selenoid nodes and
use volumes to mount them to container, then pass user-data-dir option with
profile path.
вт, 1 февр. 2022 г., 07:15 Ivan Krutov @.***>:

@Anticope12 https://github.com/Anticope12 yeah, we've also seen
multiple directories like this in /tmp. Seems to be normal.
—
Reply to this email directly, view it on GitHub
https://github.com/aerokube/selenoid/issues/1173#issuecomment-1026462896,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKY23IAWYZFJDAGXNBGUBTUY5M57ANCNFSM5NDXFJPQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi @aandryashin , Thank you for the swift response.
Do you mean to run something link the below:
1)store the Custom chrome profile Files on a docker.
2)Create a volume
3)list the volume in Broswer.json
4)Execute the code below, If yes. I've already done it. and it's crashing with errors. For some reason, it cannot use the below Directory. (I've tried to change it, and had the same issue)
options1 = webdriver.ChromeOptions()
options1.add_argument('--user-data-dir=/tmp/chrome') # (If I use --user-data-dir=/tmp/chrome1 it does create a new Folider Chrome1 with a profile information within it.)
    options1.add_argument('--profile-directory=Profile 1')

capabilities = dict(browserName="chrome", version="97.0", enableVNC=True, enableVideo=True,
volumes=["/var/lib/docker/volumes/myvolume/chrome:/tmp/chrome:ro"],
)
    self.driver = webdriver.Remote(
        command_executor="http://SelenoidIP:4444/wd/hub",
        desired_capabilities=capabilities,
        options=options1)

Please let me know if there is anything I could share that Could help you analyze the Issue.
P.S: That's my first time using GitHub.
THank you,

Hello, volumes are only supported in browsers.json and not in capabilities.
вт, 1 февр. 2022 г. в 15:14, Anticope12 @.***>:

Hi @aandryashin https://github.com/aandryashin , Thank you for the
swift response.
Do you mean to run something link the below:
1)store the Custom chrome profile Files on a docker.
2)Create a volume
3)list the volume in Broswer.json
4)Execute the code below, If yes. I've already done it. and it's crashing
with errors. For some reason, it cannot use the below Directory. (I've
tried to change it, and had the same issue)
options1 = webdriver.ChromeOptions()
options1.add_argument('--user-data-dir=/tmp/chrome') # (If I use
--user-data-dir=/tmp/chrome1 it does create a new Folider Chrome1 with a
profile information within it.)
options1.add_argument('--profile-directory=Profile 1')

capabilities = dict(browserName="chrome", version="97.0", enableVNC=True,
enableVideo=True,
volumes=["/var/lib/docker/volumes/myvolume/chrome:/tmp/chrome:ro"],
)
self.driver = webdriver.Remote(
    command_executor="http://SelenoidIP:4444/wd/hub",
    desired_capabilities=capabilities,
    options=options1)

Please let me know if there is anything I could share that Could help you
analyze the Issue.
P.S: That's my first time using GitHub.
THank you,
—
Reply to this email directly, view it on GitHub
https://github.com/aerokube/selenoid/issues/1173#issuecomment-1026779585,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKY23I7CHY5TMPD3UMYSVLUY7FA5ANCNFSM5NDXFJPQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @aandryashin , Thank you for the heads up, I was using only Volume without mounting it.
For some reason, It's not loading any information from the profile for some reason, login process/bookmarks.
Is there anything I could do/use to overcome this challenge? I've tried to use :ro to activate readonly. but it's not working either.
Thank you again for all of your support here.
Really appreciate it, It's been 5 days debugging process overall

Hi @aandryashin @vania-pooh ,
Sorry to bring this topic up, I'm just struggling to access the mount folder,
I'm using the following structure:
"volumes": [
                "/var/www/new_directory/folder_profile:/1234/chrome"

    ],

I have the following info added in the browsers.json
I've uploaded the Profile folder to the directory, However, I cannot access or open this folder when I run the sessions and go to file:///1234/chrome/ in the Chrome browser
The page gets stuck in loading, I've tried other folders
And this one has the same issue
file:///root/
Would really really appreciate some guidance.
P.S: Selenoid is no longer available in Digital Oscen marketplace

@Anticope12

We removed Selenoid from DigitalOcean because it was not really and delivering the same stuff with a Docker VM is a 5 minute task.
I would try to mount under /home/selenium because browsers using this user.

Thank you so much for your swift response @vania-pooh  for the heads up on 1.
Regarding the 2nd part, I've tried your solution, to mount it under           "/var/www/new_directory/New:/home/selenium/test3:ro"
But unfortunately, the results are the same, I've also tried to mount it in different folders in the container, and got the same results. Anything that is mounted via volume to the container just gets sucked at the loading. using File://// in the browser.
Any thoughts on what could be the issue?

@Anticope12 I would actually use docker exec to check whether files actually appear in container and whether you can read this files with regular Linux commands like cat, less and so on.

Hi @vania-pooh , Thank you for sending this over! apparently, the issue is related to permission issues,
I've tried to access the container with root and I was able to access the folder and the files.
I was trying to find a solution for it, but I was not able to do so, as the only option I've found online was to update the permission access for "ACTIVE Containers" only.
I'm wondering if you have better options or if this is an option I've missed there.
My experience with Linux and docker is still at a Rookie status.
And thank you again for your swift replies and support 🙏

@Anticope12 probably you just need to make sure you set the same uid and gid on the files on the host machine, that we have inside images. To do this use chown command.

Hi @vania-pooh , THANK YOU!!
It's working! thank you for your help and your patience regarding this topic.
I'm closing this.