copyfrom stuck and locks table

Problem
We are starting to extensively use the COPY API in CARTOframes. While developing the new write method that uses copyfrom behind the scenes I've found a case in which the COPY statement gets stuck in the user database, locking the table.
I'm using this query to list the processes with Exclusive Lock in my team user database:
SELECT pg_stat_activity.pid,
       pg_class.relname,
       pg_locks.transactionid,
       pg_locks.granted,
       substr(pg_stat_activity.query,1,30) AS query_snippet,
       age(now(),pg_stat_activity.query_start) AS "age"
FROM pg_stat_activity,
     pg_locks
LEFT OUTER JOIN pg_class ON (pg_locks.relation = pg_class.oid)
WHERE pg_locks.pid=pg_stat_activity.pid
  AND pg_locks.mode = 'ExclusiveLock'
ORDER BY query_start;

The result is:
pid  | relname | transactionid | granted |         query_snippet          |          age
-------+---------+---------------+---------+--------------------------------+------------------------
 21393 |         |               | t       | COPY cf_test_table_3_7_none_no | 2 days 23:18:34.335634

I've checked I cannot do any operation on the table other than terminate the process with SELECT pg_terminate_backend(pid);
How to reproduce
I've uploaded a CARTOframes branch with a test that reproduces the problem. To test it:
git clone https://github.com/CartoDB/cartoframes
cd cartoframes
git checkout 561_copyfrom_write_copy_bug
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
pip install -e .
pip install pytest
cp test/secret.json.sample test/secret.json #and introduce your CARTO credentials in the secret.json file
py.test -s test/test_context.py::TestCartoContext::test_cartocontext_write_lnglat

After the test fails with this error carto.exceptions.CartoException: local variable 'the_geom_val' referenced before assignment the COPY statement should be stuck in your user database and you have to manually kill it to be able to do any other operation on the related table.
Note: I've realized of this while developing this new feature, that has a bug in it: a variable being used before it's declared in the rows streaming function. But I'd like to highlight the importance of this, since it appears that any bug introduced on the call to the copyfrom API may left the related table unusable.
Note 2: While checking the process that locked a table, I've realized I had other statements apparently from our Import API? (so this might not be an isolated case...)
  4983 |         |     508570110 | t       | COPY "cdb_importer"."importer_ | 3 days 19:00:21.72226
  4983 |         |               | t       | COPY "cdb_importer"."importer_ | 3 days 19:00:21.72226

cc. @CartoDB/rt-managers for triage
cc. @oleurud for awareness

I can not reproduce it :scream:

Ok, finally I have reproduced it, it is happening randomly. I am trying to create a test

Great!
I wanted to mention that this issue happened specifically with the branch of CARTOframes I mentioned in the issue (561_copyfrom_write_copy_bug)
Could you rebuild that specific branch in CI while running the script?

I wanted to mention that this issue happened specifically with the branch of CARTOframes I mentioned in the issue (561_copyfrom_write_copy_bug)

What has that branch changed?

It contains a bug in the client code (a variable used before it's initialized) that made the COPY queries to get stuck in the server.
The bug is quite explicit but it served to test the stuck behaviour when there's an error client side.

I've been debugging this issue along @oleurud, I've been able to reproduce the problem. The issue is related to the method that generates the CSV to be sent with the copyfrom endpoint. The generator is raising an exception, and the underlying HTTP client is not handling that exception properly (it might be the "iterable" must not raise an error). At this point, the HTTP connection remains open indefinitely in SQL_API (and Postgres) waiting for the data that never arrives. So in the database, the copy command seems to be stuck, but it's waiting for the streamed data forever. As we are running CartoFrames' tests in Travis CI, it creates a VM. Then it runs the test and, when done it destroys the VM. If CartoFrames is not closing the connection, it should be destroyed when the VM no longer exits. The fun fact is the HTTP connection remains open between SQL-API and user's  database :scream:.
So I'm focusing on Nginx, which is the piece of software between CartoFrames and SQL-API. It might Nginx is keeping the connection although the client doesn't exist anymore. I've just asked for help to @gonzalosr  in case he can shed some light here.
The following is a small diagram to clarify the use case:

TravisCI runs a job build

 --------------         ----------------------------------------------
| TravisCI VM  |       |                   CARTO                      |
| ------------ |       | -------         ---------         ---------- |
||            ||       ||       |       |         |       |          ||
|| CartoFames || <===> || Nginx | <===> | SQL API | <===> | Postgres ||
||            ||       ||       |       |         |       |          ||
| ------------ |       | -------         ---------         ---------- |
 --------------         ----------------------------------------------

When the job finishes, the VM is drestoyed and the connection to Nginx should be destroyed as well

--------------         ----------------------------------------------
| TravisCI VM  |       |                   CARTO                      |
| ------------ |       | -------         ---------         ---------- |
||            ||       ||       |       |         |       |          ||
|| CartoFames ||   X   || Nginx | <===> | SQL API | <===> | Postgres ||
||            ||       ||       |       |         |       |          ||
| ------------ |       | -------         ---------         ---------- |
 --------------         ----------------------------------------------

As the conection between SQL-API and Postgres remains active, I guess Nginx is not closing the connection:

                        ----------------------------------------------
                       |                   CARTO                      |
                       | -------         ---------         ---------- |
                       ||       | ????? |         |       |          ||
                       || Nginx | <===> | SQL API | <===> | Postgres ||
                       ||       |       |         |       |          ||
                       | -------         ---------         ---------- |
                        ----------------------------------------------

These are my finding so far.

Hey @dgaubert, @dppascual is going to take a look at this as he is in RT now 🤗

Additional info about how nginx works
A typical HTTP request processing cycle looks like the following:

Client sends HTTP request.
Process header.
Process body.
Run through the processing phases.

When nginx handles an HTTP request, it passes it through a number of processing phases. At each phase there might be 0 or more handlers to call. Here is a list of all phases:

NGX_HTTP_SERVER_REWRITE_PHASE — the phase of request URI transformation on virtual server level;
NGX_HTTP_FIND_CONFIG_PHASE — the phase of configuration location lookup;
NGX_HTTP_REWRITE_PHASE — the phase of request URI transformation on location level;
NGX_HTTP_POST_REWRITE_PHASE — request URI transformation post-processing phase;
NGX_HTTP_PREACCESS_PHASE — access restrictions check preprocessing phase;
NGX_HTTP_ACCESS_PHASE — access restrictions check phase;
NGX_HTTP_POST_ACCESS_PHASE — access restrictions check post-processing phase;
NGX_HTTP_TRY_FILES_PHASE — try_files directive processing phase;
NGX_HTTP_CONTENT_PHASE — content generation phase;
NGX_HTTP_LOG_PHASE — logging phase.

When the HTTP request header is read, nginx does a lookup of the associated virtual server configuration. If the virtual server is found, the request goes through six phases:

server rewrite phase
location phase
location rewrite phase (which can bring the request back to the previous phase)
access control phase
try_files phase
log phase

In an attempt to generate the necessary content in response to the request, nginx passes the request to a suitable content handler. In our case, proxy-pass handler is called.
The content handlers' content is then passed to the filters (not when a proxy-pass handler is set up). Filters do the task of manipulating the output produced by a handler. Filters follow a particular design pattern.  After that, nginx finalizes the response. Filters don't have to wait for the previous filter to finish. The next filter in a chain can start its own work as soon as the input from the previous one is available (functionally much like the Unix pipeline). In turn, the output response being generated can be passed to the client before the entire response from the upstream server is received. Examples of body filters that are used:

gzip compression
chunked encoding

After the filter chain, the response is passed to the writer.
Upstreams are used to implement what can be identified as a content handler which is a reverse proxy (proxy_pass handler). Upstream modules mostly prepare the request to be sent to an upstream server (or "backend") and receive the response from the upstream server. There are no calls to output filters here. What an upstream module does exactly is set callbacks to be invoked when the upstream server is ready to be written to and read from. Callbacks implementing the following functionality exist:

Crafting a request buffer (or a chain of them) to be sent to the upstream server
Re-initializing/resetting the connection to the upstream server (which happens right before creating the request again)
Processing the first bits of an upstream response and saving pointers to the payload received from the upstream server
Aborting requests (which happens when the client terminates prematurely) --> This callback should be closed the upstream connection. Anyway, if this connection is not closed when the callback is triggered, it will be done when the timeout (proxy_read_timeout) comes up.
Finalizing the request when nginx finishes reading from the upstream server
Trimming the response body (e.g. removing a trailer)

Nginx timeouts
From client side
keepalive_timeout   60 --> a timeout during which a keep-alive client connection will stay open on the server side.
From upstream side
proxy_connect_timeout 60s --> Defines a timeout for establishing a connection with a proxied server.
proxy_read_timeout 120s --> Defines a timeout for reading a response from the proxied server. The timeout is set only between two successive read operations, not for the transmission of the whole response. If the proxied server does not transmit anything within this time, the connection is closed.
proxy_send_timeout 60s --> Sets a timeout for transmitting a request to the proxied server. The timeout is set only between two successive write operations, not for the transmission of the whole request. If the proxied server does not receive anything within this time, the connection is closed.
Nginx uses event notification mechanisms like epoll for handling a variety of actions associated with managing network connections and content retrieval so that I'm not sure if the connection is closed during the aborting request callback. Looking at nginx code:

In the function ngx_http_upstream_init_request, when the directive proxy_ignore_client_abort is enabled, nginx will not check for client connection. In our config, such directive is set to its default value off so that the client connection is checked out:

    if (!u->store && !r->post_action && !u->conf->ignore_client_abort) {
        r->read_event_handler = ngx_http_upstream_rd_check_broken_connection;
        r->write_event_handler = ngx_http_upstream_wr_check_broken_connection;
    }

Later on, when reading the body from upstream and writing to downstream, if client closed the connection the flag p->downstream_error is set to 1.

In ngx_http_upstream_process_request, if downstream_error flag is set, we also close the connection to upstream:

    if (p->downstream_error) {
        ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
                       "http upstream downstream error");

        if (!u->cacheable && !u->store && u->peer.connection) {
            ngx_http_upstream_finalize_request(r, u, NGX_ERROR);
        }
    }

This code shows up how the request is processed when the client closes the connection and nginx tries to send data from upstream to downstream. In other situation, when no data is sent, timeouts come up and, hence, nginx should close connections.
cc. @oleurud @dgaubert All this explanation is theoretical and based on the code that I have checked out, so in order to confirm and clarify this situation, can we test it in staging? In production, it could be a nightmare due to the amount of connections that nginx could handle.

Fix implemented in #588, #589, and #590

Fixed in production already!

❤


GUI VLAN broken if non root

VLAN creation and management is impossible for a non root user.
To Reproduce
Steps to reproduce the behavior:

Create a "supervisor" group
On the privileges assigment, untick only "GUI - All pages"
Assign an user to this group
Login with the new user
Go to Interfaces: Other Types: VLAN
Try to add a VLAN
Parent list is empty

Expected behavior
We should be able to add a VLAN with a non root user. Screenshot from the root account.

Environment
OPNsense 22.7-amd64
FreeBSD 13.1-RELEASE
OpenSSL 1.1.1q 5 Jul 2022

Did you try 22.7.8?

I did the update right now = same behaviour

New ticket creater

#6151


Java heap space error

Discord username
No response
What type of issue is this?
Transient – Occurring only once
Is this issue blocking you from using Enso?

[ ] Yes, I can't use Enso because of this issue.

Is this a regression?

[ ] Yes, previous version of Enso did not have this issue.

What issue are you facing?
On a join node the error appeared:

20230804-080206-882-enso-project-manager.log
Expected behaviour
Join should be executed or user understandable error should be thrown
How we can reproduce it?
No response
Screenshots or screencasts
No response
Logs
No response
Enso Version
15.08 nightly
Browser or standalone distribution
Standalone distribution (local project)
Browser Version or standalone distribution
standalone
Operating System
MacOS
Operating System Version
No response
Hardware you are using
No response

Is this using the latest version? I still see Null receiver values are not supported by libraries. which was fixed more than a week ago.

@hubertp yes: edition: 2023.2.1-nightly.2023.8.15

today's nightly ( I am not building enso at all)

The join wants to create a table with 487mm rows which causes an out of space error.
We need to capture the error and handle more gracefully.


more features

hello! i love the site! i would like option to exchange hashes or iota for PIVX stakes, would be very nice, and would grow pivx pool fast!

Hi, thank you so much for your support.
I am glad, there are more than me interested in this function. There will be function for this I hope very soon. You will have possibility exchange hash to iota or pivx pool share and from pivx pool share to IOTA.

Thank you! And keep up awesome work!
On Mon, Nov 19, 2018, 3:02 PM Jan Fiedler<EMAIL_ADDRESS>wrote:

Hi, thank you so much for your support.
I am glad, there are more than me interested in this function. There will
be function for this I hope very soon. You will have possibility exchange
hash to iota or pivx pool share and from pivx pool share to IOTA.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/janfiedler/mineiota/issues/92#issuecomment-440023535,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ArD_9Y6wTod5gFpHNTsgw5O0A1Vpj738ks5uww46gaJpZM4YoOhq
.


Removing K-means and test performance from node allocator

Explain the changes

Removing K-means and test performance from node allocator

Issues: Fixed #xxx / Gap #xxx

Fixed #8496

Testing Instructions:

[ ] Doc added/updated
[ ] Tests added

I agree since we don't expect a single pv pool to be spread across GEOs, or have different storage types. That can ofc be a difference between two different pv pools, but then this code is no relevant so much.


Add SouthXchange and Pionex to buy-NavCoin

and remove Poloniex
Preview Links
https://deploy-preview-265--navcoin.netlify.com/en/buy-navcoin
https://deploy-preview-265--navcoin.netlify.com/es/buy-navcoin
https://deploy-preview-265--navcoin.netlify.com/it/buy-navcoin
https://deploy-preview-265--navcoin.netlify.com/jp/buy-navcoin
https://deploy-preview-265--navcoin.netlify.com/kr/buy-navcoin
https://deploy-preview-265--navcoin.netlify.com/ru/buy-navcoin
https://deploy-preview-265--navcoin.netlify.com/zh/buy-navcoin
Checklist

[x] Have you assigned/claimed the issues you've resolved in this pull request?
[x] Have you checked there are no merge conflicts?
[x] Have you tested the changes work across both mobile and desktop?

@roast-nav i can't see pionex? is it supposed to be there? or only remove poloniex and add southxchange?

@proletesseract  Pionex was removed at Goku's request. Awaiting cold staking from them.


Use PropTypes form package 'prop-types' instead of 'react'

Since react 15.5 we've been getting a warning about importing PropTypes from prop-types instead of react, this is said to be a breaking change in React 16.

👍 please merge!


[BUG] Error message "NO bootable device" when importing a Windows VM from VMWare

Describe the bug
I migrated a Windows server 2016 VM from VMWare  into Harvester using the vm-import controller tool.
This is the imported virtual machine image.

Then I use this image to create a virtual machine but cannot start it, error message: NO bootable device.

This is the configuration of the VM. The other is the default configuration

Environment

Harvester ISO version: v1.2.0-rc2
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Dell PowerEdge R730
VM: 4C8G

How can I solve this problem？

Did Harvester automatically set the first (imported) volume type to "cd-rom" instead of "disk"? If you change that to "disk" does it still fail to find bootable devices?

I am having the same issue when using the VMImport tool with Vsphere. I am receiving this screen on the VM that has been exported/imported over:

These were the volumes that were created during the import:

I can see the volumes as "in-use" in the Volumes section. Additionally, in the Images section, I see see 2 images for the machine (One being the OS Drive and the other being a secondary drive I had installed).
Within the Longhorn UI, I can see the volumes but what Im curious on is why are the volumes "0"?

I can see the vm-import-controller grows when I attempt to do an export/import out of VMWare but I would expect that to transition to the volumes of the newly imported VMs:

Any help is greatly appreciated. Ive attempted multiple VMs both old and completely new in VMWare and I always get the unable to boot screenshot. Ive tried rebooting, reconfiguring the add-on import tool, changing between virtio and sata for the disks but no luck

is source vm on vmware using efi? may i also know the guest OS?

The source VMs are using EFI. I have had the issue with both Windows Server 2019 and Windows Server 2022.
One other thing that Ill mention is that our VM's are "cloned" off of a VM Template in VmWare through Packer and Terraform. I'm not sure if that is a reason for the issue so I am going to try the export/import process that doesn't use our automation tool in vmware.

I ended up figuring it out myself. For anyone else that struggles with this, there are additional steps to do:

After machine is imported into Harvester - Power it down
I had to navigate to my volumes and change my imported volumes from Virtio to SATA - this may not be the case for everyone but I had to do it when importing from VMWare.
The Network part still does not work for me by defining source/destination - I had to manually remove the Management network that is assigned and add the networking that is set up for my environment.
This is the BIGGEST one --> navigate to Advanced Options and enable these options (The biggest being "Booting in EFI mode", the others are per your preference:

Once you have all this work done, power the machine on and it should boot and look identical to your VMWare setup.

Lastly, you may need to create the virtio-container-disk Container as a volume if you want the qemu agent tools to work correctly


question about downloading the hpsv2 test dataset

how to solve the connectionerror??

You may need to check your network status.

I'v solved the question, but another unzip error happened

import hpsv2
print(hpsv2.available_models)
hpsv2.evaluate_benchmark('Stable Diffusion v2.0')
when I run these codes,

I meet the above error.
how to solve the network error?


How could a final .hic file be created?

Hi. After the finalize stage, I have to create the final .hic map by using Juicer, which is time-consuming. Could it be created from the pipeline?

Does it create a final.hic file for diploid mode as well? Because I'm reading into the code and the only *final.hic that exists is here:

if [ $diploid == "false" ]; then
ln -sf ${genomeid}.rawchrom.cprops ${genomeid}.final.cprops
ln -sf ${genomeid}.rawchrom.asm ${genomeid}.final.asm
ln -sf ${genomeid}.rawchrom.fasta ${genomeid}.final.fasta
ln -sf ${genomeid}.rawchrom.hic ${genomeid}.final.hic
fi

Hello Viriatoll,
I am assuming that the question is whether final.hic is created in diploid mode. No, it is not created, and this behavior is expected. In diploid mode one needs to remap Hi-C data to the final assembly in current version.
Best,
Olga


Experimental results of CPS

Hi! In the paper of Unimatch, the recorded results of CPS on the Cityscapes dataset is 69.8 74.3 74.6 76.8 with ResNet-101 used. But in the original paper of CPS, the results are 74.72 77.62 79.21 80.21 (corresponds to 1/16 1/8 1/4 1/2, respectively). I wonder why there exists an obvious difference?

Because we could not reproduce the reported results of CPS, so we borrow the reported CPS results from U2PL. You may also refer to https://github.com/LiheYoung/ST-PlusPlus/issues/15 and https://github.com/charlesCXK/TorchSemiSeg/issues/43 for details.

Thanks! By the way, do you know what are the differences between the original implementation and the reproduction? How can the performance be so good in CPS, while the performance drops rapidly after reproducing?

Sorry. I failed to figure it out. The reproduced results are indeed from U2PL. It seems U2PL does not provide the reproduced CPS code. If you have any ideas, you can also share them here. :)

Get it. Thank you!


Adding Subcellular Localization (SCL) splits

Once applied, this PR will add Subcellular Localization (SCL) split.
Proposed splits:

From original LA paper data:

mixed_soft: deepLoc train + deepLoc validation + deepLoc test ---> Ready!

mixed_hard: deepLoc train + deepLoc validation + testHARD test --->  Ready!

New proposals:

human_soft: deepLoc train + deepLoc validation + deepLoc test (only human proteins) ---> Ready!

human_hard: deepLoc train + deepLoc validation + testHARD test (only human proteins) ---> Ready!

mixed_balanced: Same as mixed_soft but with balaced classes ---> TO DO

human_balanced: Same as human_soft but with balanced classes ---> TO DO

Open issues:

[ ] How to carry out the balance of classes? Options:

Oversample the smallest classes: discarded due to the complexity of creating a large bunch of artificial sequences.
Undersample the biggest dataset: the best choice?
Are there other options?

[ ] Is it ok to choose the human sequences only by comparing the name of the proteins?

Open issues:

[ ]  How to carry out the balance of classes? Options:

Oversample the smallest classes: discarded due to the complexity of creating a large bunch of artificial sequences.
Undersample the biggest dataset: the best choice?
Are there other options?

I think 2 is good enough. What is your interpretation of class balance here?

everything has equal weight, or
that test + train follow the same distribution?

I think that 1. might result in a very challaging set, because the smallest class is very small. The goal of this split would be to assess whether some class has an easier signal than another to learn, I assume.
For 2., this should be easier (I think deeploc already has the same distribution in train and test, but not deeploc vs setHARD). Here the goal would probably be to see how much the model learns to predict distributions of classes regardless of the underlying signal.

[ ]  Is it ok to choose the human sequences only by comparing the name of the proteins?

Here you mean, to compare their accessions to UniProt? Sure. You can also use the ID mapping to retrieve a list of proteins, and you can download the result as a CSV with the spieces/organism number. Human is 9606

Had a look at the notebook, looks good. A few points:

.cvs vs .csv
It would be good to have some plots of distributions for each split (like in the other notebooks:

Sequences in train vs test
Distribution of sequences per class in train vs. test

You may also want to add the splits ZIPped to this PR, together with an explanation README like this one. Since this is the first classification problem added, you could add how many classes there are in this problem, etc. :)

@sacdallago Splits ready. I have finished splits, including the balanced dataset from your suggestions. I have also included the plots, the splits ZIPped and the README.
Regarding the DeepLoc 2.0 dataset with multi-labels, I have added it as we discussed in the meeting. I have a separate notebook with DeepLoc 2.0 split but with only one label per sequence, not included in this PR. If you consider that it could be good to have it, I can add it

@sacdallago Changes done. I can't merge since I have no write access to the repository.


endpoint method_missing vs override inspect

#2236 has added a method_missing to override the NoMethodError message since it was huge inside any endpoints. I found that it's been fixed in ruby 3.3 and the solution was to not use inspect on undefined method. I think that instead of using a method_missing strategy we could simply override endpoint's inspect method like this:
def inspect
  "#{self.class} in `#{route.origin}' endpoint"
end

and we would achieve the same thing.
Any thoughts ?
Happy New Year :)

This is some advanced ruby-fu, so ... I don't know? :)

This is some advanced ruby-fu, so ... I don't know? :)

IMO, I would just override the inspect. It's faster than passing by method_missing which is notoriously known to be slow.


How can see all exception on dev.botframework.com

Hi,
I shall like knowing how I can make to have all stack of the error that sends back by bot.
At the moment I have for global error:
There was an error sending this message to your bot: HTTP status code InternalServerError

In my controller (ApiController), in the method Post, I did one as such:
[ResponseType(typeof(void))]
public virtual async Task Post([FromBody] Activity activity)
{
try
{
....
}
catch (Exception ex)
{
return Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.ToString());
}
}
Is it possible to obtain all the stack of the error on dev.botframework.com console?
Thanks,
KIBASSA

hi @KIBASSA,
you can add your instrumentation key (Azure App Insights Key) to your bot in the Developer Portal. Open your bot in the dev portal, click on edit in the details panel, and scroll down to the admin section. Paste your App Insights key in the appropriate textbox.

Does this help?

Thank you for your help.
I moved forward well.
I registered the application on Application Insights.
But In the portal of Azure, I have no details.
The call stack has not details of my code:

All the errors which I obtain always have this shape.
I have no track of the error in my propore code.
Is there of other configuration to be made in the portal?
Thank you in advance

@KIBASSA can you share your bot ID?

my bot ID is emiko

@KIBASSA I did a search of our logs and definitely found log entries related to your bot, but not a single exception.  Is it possible that your bot web service simply returns a 500 error without any additional context?  You might consider enabling Application Insights for your own bot web service, because we don't have visibility into those exceptions.
http://aihelpwebsite.com/Blog/EntryId/11/Using-Application-Insights-With-Microsoft-Bot-Framework

Yes, my bot was not activated yet in Application Insights.
But when I right-click on my bot project, I do not see the "Add Application Insights Telemetry..." button appear.

How can I make this button appear?
I have to parameterize something?
Thx,

@KIBASSA found this on stackoverflow, does it help?


MinGW 64-bit builds fail for ScriptingEngine.cpp

Describe the bug
MinGW 64-bit builds fail while compiling ScriptingEngine.cpp. This problem was mentioned by @spectre1989 in Discord last Friday, but I experienced it while building debug from latest develop branch on red.segs.io this afternoon. I wanted to ensure we had a record of it here. The symptom goes away if -O2 or -O3 is passed to the compiler. As a result, 64-bit builds succeed if performing a release build. This issue should be resolved when @ZopharShinta's scripting engine refactor PR (#793) is merged.
Fatal error: can't close CMakeFiles\MapServer.dir\ScriptingEngine.cpp.obj: File too big

To Reproduce
Steps to reproduce the behavior:

Perform a 64-bit debug build of the current develop branch (75d595e) using MinGW 7.x.

Expected behavior
The build should complete without errors.
Screenshots or Attachments (if applicable)
N/A
SEGS Version, C++ Toolkit

SEGS Build ID: 75d595e
C++ Toolkit: Qt 5.12.2 bundled with MinGW 7.3.0

This issue was resolved in #793. Debug builds now complete successfully using MinGW64.


Email settings not configured - remove need for user and password

Fixes #4473
This PR removes the need to set password and user for email.

Nice simple change (for once!) :)

@SchrodingersGat I normally leave the easy stuff to starting contributors 😇


DataFrame.set_index fails when column has pandas extension dtype

I ran across an issue where set_index fails when the column that's being set to the index has a dtype of Int64 (an extension dtype from pandas). Here's a reproducer:
import numpy as np
import pandas as pd
import dask.dataframe as dd

df = pd.DataFrame({"a": [1, np.nan, 3], "b": [4, 5, 6]})
df = df.astype({"a": "Int64", "b": "int"})

ddf = dd.from_pandas(df, npartitions=2)
# Column "a" is Int64, while "b" is normal int64
print(f"ddf.dtypes = {ddf.dtypes}")
# set_index on int64 column works
print(f"ddf.set_index('b') = {ddf.set_index('b')}")
# set_index on Int64 column fails
print(f"ddf.set_index('a') = {ddf.set_index('a')}")

fails with TypeError: data type not understood

Full traceback:
ddf.dtypes = a    Int64
b    int64
dtype: object
ddf.set_index('b') = Dask DataFrame Structure:
                   a
npartitions=1
4              Int64
6                ...
Dask Name: sort_index, 3 tasks
Traceback (most recent call last):
  File "set_index_extension_type.py", line 14, in <module>
    print(f"ddf.set_index('a') = {ddf.set_index('a')}")
  File "/Users/jbourbeau/github/dask/dask/dask/dataframe/core.py", line 3532, in set_index
    **kwargs
  File "/Users/jbourbeau/github/dask/dask/dask/dataframe/shuffle.py", line 71, in set_index
    divisions, sizes, mins, maxes, optimize_graph=False
  File "/Users/jbourbeau/github/dask/dask/dask/base.py", line 436, in compute
    results = schedule(dsk, keys, **kwargs)
  File "/Users/jbourbeau/github/dask/dask/dask/threaded.py", line 81, in get
    **kwargs
  File "/Users/jbourbeau/github/dask/dask/dask/local.py", line 486, in get_async
    raise_exception(exc, tb)
  File "/Users/jbourbeau/github/dask/dask/dask/local.py", line 316, in reraise
    raise exc
  File "/Users/jbourbeau/github/dask/dask/dask/local.py", line 222, in execute_task
    result = _execute_task(task, data)
  File "/Users/jbourbeau/github/dask/dask/dask/core.py", line 119, in _execute_task
    return func(*args2)
  File "/Users/jbourbeau/github/dask/dask/dask/dataframe/partitionquantiles.py", line 415, in percentiles_summary
    vals, n = _percentile(data, qs, interpolation=interpolation)
  File "/Users/jbourbeau/github/dask/dask/dask/array/percentile.py", line 25, in _percentile
    if np.issubdtype(a.dtype, np.datetime64):
  File "/Users/jbourbeau/miniconda/envs/dask-dev/lib/python3.7/site-packages/numpy/core/numerictypes.py", line 393, in issubdtype
    arg1 = dtype(arg1).type
TypeError: data type not understood

It looks like when we compute the divisions here
https://github.com/dask/dask/blob/95ab6ee80a51f85dae61d8761a88f3c42c9b2638/dask/dataframe/shuffle.py#L65
we pass the column dtype to NumPy here
https://github.com/dask/dask/blob/95ab6ee80a51f85dae61d8761a88f3c42c9b2638/dask/array/percentile.py#L25
which is where the breakage occurs

FYI, pandas doesn't have a concept of an "ExtensionIndex", so the nullable integer type is converted to a NumPy-backed Index along the way.

Ah thanks, that's very good to know! So we could check if the new index dtype is an extension dtype and if so convert it to dtype object?

That's probably best, but we'll need to be careful since pandas has implemented indexes for specific types (datetime64[ns, tz], categorical, interval, period).

I am running into this, as you have warned @TomAugspurger, with a type of datetime64[ns, UTC].  I don't understand what I'm supposed to do to avoid it, however.  Here is the error:
distributed.worker - WARNING -  Compute Failed
Function:  execute_task
args:      ((subgraph_callable, (<function pandas_read_text at 0x7f9eb2b55b00>, <function _make_parser_function..parser_f at 0x7f9ea7406c20>, (<function read_block_from_file at 0x7f9eb3086320>, <OpenFile '/Users/kevinpauli/projects/my-proj/data/2.csv'>, 0, 64000000, b'\n'), b'col_1,col_2,change_timestamp,status\n', {'dtype': {'col_1': <class 'str'>, 'col_2': <class 'str'>, 'status': <class 'str'>}, 'parse_dates': ['change_timestamp']}, {col_1': dtype('O'), 'col_2': dtype('O'), 'change_timestamp': datetime64[ns, UTC], 'status': dtype('O')}, ['col_1', 'col_2', 'change_timestamp', 'status'], False, False, None), 'col_1'))
kwargs:    {}
Exception: TypeError('data type not understood')

@kevinpauli pandas has an index type for datetime64[ns, tz]. Do you have a reproducible example giving that error?

The error has changed now, but the reproducer still raises an error. I think that we need a different way of checking dtypes rather than relying on np.issubdtype(data.dtype, np.integer). This is related to #7375.
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-11-d242bf2d475d> in <module>
     12 print(f"ddf.set_index('b') = {ddf.set_index('b')}")
     13 # set_index on Int64 column fails
---> 14 print(f"ddf.set_index('a') = {ddf.set_index('a')}")

~/dask/dask/dataframe/core.py in set_index(***failed resolving arguments***)
   3914             from .shuffle import set_index
   3915
-> 3916             return set_index(
   3917                 self,
   3918                 other,

~/dask/dask/dataframe/shuffle.py in set_index(df, index, npartitions, shuffle, compute, drop, upsample, divisions, partition_size, **kwargs)
    490         mins = index2.map_partitions(M.min)
    491         maxes = index2.map_partitions(M.max)
--> 492         divisions, sizes, mins, maxes = base.compute(divisions, sizes, mins, maxes)
    493         divisions = methods.tolist(divisions)
    494         if type(sizes) is not list:

~/dask/dask/base.py in compute(*args, **kwargs)
    563         postcomputes.append(x.__dask_postcompute__())
    564
--> 565     results = schedule(dsk, keys, **kwargs)
    566     return repack([f(r, *a) for r, (f, a) in zip(results, postcomputes)])
    567

~/dask/dask/threaded.py in get(dsk, result, cache, num_workers, pool, **kwargs)
     74                 pools[thread][num_workers] = pool
     75
---> 76     results = get_async(
     77         pool.apply_async,
     78         len(pool._pool),

~/dask/dask/local.py in get_async(apply_async, num_workers, dsk, result, cache, get_id, rerun_exceptions_locally, pack_exception, raise_exception, callbacks, dumps, loads, **kwargs)
    485                         _execute_task(task, data)  # Re-execute locally
    486                     else:
--> 487                         raise_exception(exc, tb)
    488                 res, worker_id = loads(res_info)
    489                 state["cache"][key] = res

~/dask/dask/local.py in reraise(exc, tb)
    315     if exc.__traceback__ is not tb:
    316         raise exc.with_traceback(tb)
--> 317     raise exc
    318
    319

~/dask/dask/local.py in execute_task(key, task_info, dumps, loads, get_id, pack_exception)
    220     try:
    221         task, data = loads(task_info)
--> 222         result = _execute_task(task, data)
    223         id = get_id()
    224         result = dumps((result, id))

~/dask/dask/core.py in _execute_task(arg, cache, dsk)
    119         # temporaries by their reference count and can execute certain
    120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
    122     elif not ishashable(arg):
    123         return arg

~/dask/dask/core.py in <genexpr>(.0)
    119         # temporaries by their reference count and can execute certain
    120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
    122     elif not ishashable(arg):
    123         return arg

~/dask/dask/core.py in _execute_task(arg, cache, dsk)
    113     """
    114     if isinstance(arg, list):
--> 115         return [_execute_task(a, cache) for a in arg]
    116     elif istask(arg):
    117         func, args = arg[0], arg[1:]

~/dask/dask/core.py in <listcomp>(.0)
    113     """
    114     if isinstance(arg, list):
--> 115         return [_execute_task(a, cache) for a in arg]
    116     elif istask(arg):
    117         func, args = arg[0], arg[1:]

~/dask/dask/core.py in _execute_task(arg, cache, dsk)
    119         # temporaries by their reference count and can execute certain
    120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
    122     elif not ishashable(arg):
    123         return arg

~/dask/dask/dataframe/partitionquantiles.py in percentiles_summary(df, num_old, num_new, upsample, state)
    414         data = data.codes
    415         interpolation = "nearest"
--> 416     elif np.issubdtype(data.dtype, np.integer) and not is_cupy_type(data):
    417         # CuPy doesn't currently support "nearest" interpolation,
    418         # so it's special cased in the condition above.

~/conda/envs/dask-dev/lib/python3.8/site-packages/numpy/core/numerictypes.py in issubdtype(arg1, arg2)
    417     """
    418     if not issubclass_(arg1, generic):
--> 419         arg1 = dtype(arg1).type
    420     if not issubclass_(arg2, generic):
    421         arg2 = dtype(arg2).type

TypeError: Cannot interpret 'Int64Dtype()' as a data type

Just an FYI, I think pandas considers DataFrame.set_index("nullable_dtype_column") converting from a nullable Int64Dtype to a NumPy dtype to be a bug, and so it might be fixed in any version (there's some effort underway now). We could match pandas bug-for-bug here, but maybe it's best to have users do the conversion if that's really what they want. Then when pandas adds support for extension indexes we can implement support for it in dask.

Following on @TomAugspurger 's comment and a conversation on Slack with @jsignell, Pandas now supports indexation by an ExtensionDtype from its 1.4 release.
So, if Dask fails, it should be because it relies at some point on some specific numpy-related code and doesn't delegate on Pandas for that. I don't know if it's just the issubdtype from this simple example that ruins everything, but note how in Pandas it's perfectly possible (compute().set_index('c')), while in Dask it doesn't work (set_index('c').compute()):
>>> ddf
Dask DataFrame Structure:
                    a      b
npartitions=1
0              object  int64
1                 ...    ...
Dask Name: assign, 9 tasks

>>> ddf['c'] = ddf['b'].astype(pd.Int64Dtype())

>>> ddf.dtypes
a    object
b     int64
c     Int64
dtype: object

>>> ddf.set_index('b').compute()
     a  c
b
1  NaN  1
2  NaN  2

>>> ddf.set_index('c').compute()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/dask/dataframe/core.py", line 4510, in set_index
    return set_index(
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/dask/dataframe/shuffle.py", line 189, in set_index
    divisions, mins, maxes = _calculate_divisions(
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/dask/dataframe/shuffle.py", line 40, in _calculate_divisions
    divisions, sizes, mins, maxes = base.compute(divisions, sizes, mins, maxes)
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/dask/base.py", line 571, in compute
    results = schedule(dsk, keys, **kwargs)
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/dask/threaded.py", line 79, in get
    results = get_async(
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/dask/local.py", line 507, in get_async
    raise_exception(exc, tb)
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/dask/local.py", line 315, in reraise
    raise exc
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/dask/local.py", line 220, in execute_task
    result = _execute_task(task, data)
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/dask/core.py", line 119, in _execute_task
    return func(*(_execute_task(a, cache) for a in args))
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/dask/dataframe/partitionquantiles.py", line 417, in percentiles_summary
    elif isinstance(data.dtype, pd.core.dtypes.dtypes.DatetimeTZDtype) or np.issubdtype(
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/numpy/core/numerictypes.py", line 419, in issubdtype
    arg1 = dtype(arg1).type
TypeError: Cannot interpret 'Int64Dtype()' as a data type

>>> ddf.compute().set_index('c')
     a  b
c
1  NaN  1
2  NaN  2

Yeah, we will need find all the calls to NumPy functions in partionquantiles and make sure that we’re just using functions from the extension array interface.

Actually, there seems to be an incompatibility in the very deep meta_from_array. This makes .values fail miserably, even when .compute() is not called. Perhaps it should be dtype.kind and not dtype itself that should be passed? @TomAugspurger :
>>> ddf.dtypes
a    object
b     int64
c     Int64
dtype: object
>>> ddf['c'].values
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/dask/dataframe/core.py", line 3105, in values
    split_every=split_every,
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/dask/dataframe/core.py", line 770, in map_partitions
    None as the division.
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/dask/dataframe/core.py", line 6139, in map_partitions
    for i, division in enumerate(divisions[:-1])
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/dask/dataframe/core.py", line 7201, in new_dd_object
    """Does this object have a dask dataframe equivalent?"""
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/dask/array/core.py", line 1217, in __new__
    This specifies the chunksize of your array blocks.
  File "/home/jorge.lopez/anaconda3/envs/AML/lib/python3.9/site-packages/dask/array/utils.py", line 57, in meta_from_array
    x = x(shape=(0,) * (ndim or 0), dtype=dtype)
TypeError: Cannot interpret 'Int64Dtype()' as a data type

I'm not sure off hand. It might be worth seeing what we do with Categorical  / CategoricalIndex.


build: update versions

Codecov Report

Merging #115 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #115   +/-   ##
=========================================
  Coverage     89.15%   89.15%
  Complexity      149      149
=========================================
  Files            47       47
  Lines           498      498
  Branches        115      115
=========================================
  Hits            444      444
  Misses           11       11
  Partials         43       43

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 2a0a17a...12b1ac2. Read the comment docs.


Italic-styled text is clipped on web

In 1.20.0-7.4-pre version, italic-styled text will be clipped, if their skew ever extend out of the box.

Steps to Reproduce
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(),
        body: Row(
          mainAxisAlignment: MainAxisAlignment.start,
          children: List.filled(
            10,
            Text(
              'f',
              style: TextStyle(fontStyle: FontStyle.italic, fontSize: 50),
            ),
          ),
        ),
      ),
    );
  }
}

Expected results:
On mobile, the Text widget won't clip the characters inside.
This behavior is affecting typesetting systems using flutter. There are significant clippings on the render samples in my equation rendering app's demo page (since equations are italic in nature). Flutter Math Demo
Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, 1.20.0, on Microsoft Windows [Version 10.0.18363.959], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
[√] Chrome - develop for the web
[√] Android Studio (version 4.0)
[√] IntelliJ IDEA Community Edition (version 2019.3)
[√] VS Code (version 1.47.3)
[√] Connected device (3 available)
• No issues found!

I can reproduce it on Windows
Windows

Mac

flutter doctor -v
[✓] Flutter (Channel beta, 1.20.0, on Mac OS X 10.15.6 19G73, locale en-GB)
    • Flutter version 1.20.0 at /Users/tahatesser/Code/flutter_beta
    • Framework revision 916c3ac648 (10 days ago), 2020-08-01 09:01:12 -0700
    • Engine revision d6ee1499c2
    • Dart version 2.9.0 (build 2.9.0-21.10.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

[✓] Connected device (3 available)
    • SM M305F (mobile) • 32003c30dc19668f • android-arm64  • Android 10 (API 29)
    • Web Server (web)  • web-server       • web-javascript • Flutter Tools
    • Chrome (web)      • chrome           • web-javascript • Google Chrome 84.0.4147.125

• No issues found!

flutter doctor -v

[✓] Flutter (Channel master, 1.21.0-8.0.pre.140, on Mac OS X 10.15.6 19G73, locale en-GB)
    • Flutter version 1.21.0-8.0.pre.140 at /Users/tahatesser/Code/flutter_master
    • Framework revision c8d051295a (8 hours ago), 2020-08-11 00:26:02 -0400
    • Engine revision a62703778b
    • Dart version 2.10.0 (build 2.10.0-5.0.dev e2a67723ca)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

S[✓] Connected device (3 available)
    • SM M305F (mobile) • 32003c30dc19668f • android-arm64  • Android 10 (API 29)
    • Web Server (web)  • web-server       • web-javascript • Flutter Tools
    • Chrome (web)      • chrome           • web-javascript • Google Chrome 84.0.4147.125

• No issues found!

Mac

Actually there is still text clipping on Mac. If you compare your result to true Roboto samples, you will see that a true Roboto italic 'f' should extend its head far right to the slash.

Not OP but here is what I see,
HTML backend:

CanvasKit backend:

Can you please also provide the full flutter run command you use to run the app? (trying to determine whether HTML and/or CanvasKit backend is affected)

It is DomCanvas backend. I just tested CanvasKit and it seems CanvasKit doesn't have this problem.

This is a problem in the browser itself. See this jsfiddle with pure HTML/CSS: https://jsfiddle.net/f5rjtbkz/1/
We'll have to find a workaround for this.

I'm seeing the same problem

There have been several changes to text rendering since this issue was filed. I'm not able to reproduce anymore. Could you try again and see if this issue still exist on master or the new stable version?

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


use https:// in generated links (not http://)

Closes #444

Coverage remained the same at 36.674% when pulling 6a0dd1cc182ef81b1505eb83096b5ae110dbdc06 on bnewbold:bnewbold-https into 4ef11633cedca0994539e26a00327a5f9cba2900 on kermitt2:master.

Thank you Bryan


use request in gruntfile

see https://github.com/leahciMic/docstrap/commit/1c2bdca2e5b0bc95597282ae59eae8dd68b974ff

done


tokengen should take in input issuer and auditor public keys #232

Signed-off-by: Angelo De Caro<EMAIL_ADDRESS>

@mbrandenburger , comments addressed. Thanks :)


The screen is black when I run the Demo of ClickAndMoveTest

Several Demos existed these issues.
I want to know why? Thanks.

These black screen issues just happen on real phone. Emulator does not exist these issues. I don't know why? I am afraid that these issues will happen on my project.

You try to pay attention to the last thread action
2016年7月13日 16:19於 "linguokunSponia"<EMAIL_ADDRESS>
These black screen issues just happen on real phone. Emulator does not
exist these issues. I don't know why? I am afraid that these issues will
happen on my project.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ZhouWeikuan/cocos2d/issues/81#issuecomment-232289005,
or mute the thread
https://github.com/notifications/unsubscribe/AGprqAYSFKbdnIf1KJvIUJ8PsiMg3o6Sks5qVJ-OgaJpZM4JLKH4
.

computer and mobile is different speeds
2016年7月13日 16:24於 "Midco Cheung"<EMAIL_ADDRESS>
You try to pay attention to the last thread action
2016年7月13日 16:19於 "linguokunSponia"<EMAIL_ADDRESS>
These black screen issues just happen on real phone. Emulator does not
exist these issues. I don't know why? I am afraid that these issues will
happen on my project.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ZhouWeikuan/cocos2d/issues/81#issuecomment-232289005,
or mute the thread
https://github.com/notifications/unsubscribe/AGprqAYSFKbdnIf1KJvIUJ8PsiMg3o6Sks5qVJ-OgaJpZM4JLKH4
.

@midcomc I recently find that these issues some phones. So I guess that also need arm64-v84 and armeabi-v7a of libgdx.so?

@midcomc  Below is answer, how can I ask contributor to update the cocos2d-android.jar?
Go to org.cocos2d.nodes package and there in the class CCDirector.java find the method SetProjection and also find this state GLU.gluPerspective(gl, 60, size.width/size.height, 0.5f, 1500.0f); and after you finded this , your topic is to replace with this >=== GLU.gluPerspective(gl, 60, size.width/size.height, 0.5f, 2000.0f);
And it will work perfectlly

Unfortunately, the author has stopped updating Android -cocos2d.jar .
He was talk me in email.
And this is my test , use android-cocos2d.jar in Android apps AIED make.
You can make any changes,Refuel.
https://github.com/midcomc/touch?files=1

Oh sorry ,  did not use cocos2d.

@midcomc  Excuse me, I also want to know if this library does not support skeleton animation? Because it has not been updated for long period?


Update and rails 3.2

Hi. Updated Trix to 0.11.1
Your gem is working with my Rails 3.2.16 app, so decide to allow.

Bumped to v0.11.1 via 912ffe7efb12fe836a91eccf58fd915ea56e0330, and would rather not support Rails v3.2 since it has EOL'ed.


Add CI for release/uwp6.0 branches of coreclr and corefx

@zamont,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@mmitche PTAL

LGTM

@dotnet/dnceng could someone take a look and merge if it looks good?

Otherwise, LGTM

@karajas @dleeapho could someone from central engineering merge this when you signoff?
In addition to CI for the release/uwp6.0 branches, I believe we also need to enable Helix runs still.
Thanks!

@joshfree Helix runs: https://mc.dot.net/#/product/netcore/uwp60

Just following up, do we need anything else to turn this on?

Just following up, do we need anything else to turn this on?

I don't believe so.  This should be sufficient.

If you look at PRs like https://github.com/dotnet/corefx/pull/22557, you'll see that an insufficient amount of legs are running.  What else needs to happen to correct this?

@zamont  It looks like the changes are not in effect. After reading the pipelines documentation it looks like the change needs to happen in the branch dev/pipelinesupport and not master.

@maririos @weshaggard I created https://github.com/dotnet/dotnet-ci/pull/735 to port these changes to dev/pipelinesupport

FYI @smile21prc

#735 fails in check "Gen CI(dotnet-ci3) - dev/pipelinesupport/tests/dsl/*.groovy ". I'll take a look to find out why that fails.

this hasn't resolved the CI leg issue still...
see https://github.com/dotnet/corefx/pull/22557

CI failures in #735 was fixed, but not all expected CI legs are run. I'll take a look on how to trigger ALL the expected CI legs.

Reopening the PR worked for future

CI leg issue seems to be resolved, and 11 legs now show in https://github.com/dotnet/corefx/pull/22557.
Four legs still fail. From the logs all failures seem to be test failures instead of Jenkins issues, and need to be investigated whether they are related to the PR changes themselves.
@zamont @joshfree , please go ahead take a first look at these failed legs to see whether they are caused by the PR changes. Feel free to let me know if you need any help from me.

Added first responder issue https://github.com/dotnet/core-eng/issues/1311 to track the work to resolve failed/missing new CI legs.


ValueError: too many values to unpack (expected 5)

Checklist for submitting an issue to KickThemOut:

[ ] I have carefully read the README file and haven't managed to resolve my issue.
[ ] I have searched the issues of this repo and believe that this is not a duplicate.
[ ] I am running the latest version of KickThemOut.

OS name & version:
Python version:
Scapy version:
Nmap version:
Link of Gist:

Description:

Hey,
please check your post , there aren't information to help you , os name ?...

I wrote an new post sorry

c

Hey,
please check your post , there aren't information to help you , os name ?...

can you look at my new post thank you

there is more info there sorry for the confusion


ASA-3584: Adding writing attribute for source code only

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


[zh] Sync /feature-gates/b*.md

Related to issue https://github.com/kubernetes/website/issues/44410
Add the new 'stages' metadata to all zh feature gate filename prefixed with "b" in
content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/

balance-attached-node-volumes
block-volume
bound-service-account-token-volume

/approve

/lgtm


Quick hack to enable overriding the QoB JAR commit hash

Enable the combiner code (and other code that may wish to) to override the QoB JAR used. In this case, if a workflow.jar_spec_revision config entry exists, the combiner will use the specified JAR instead of the default vanilla 0.2.133 release QoB JAR.
We could incorporate this into init_batch(), but that comes from cpg-utils. Limiting the changes required to production-pipelines simplifies deployment of this quick hack.
(We will also need to generate a JAR containing the fix before we can set the config item!)

Codecov Report
Attention: Patch coverage is 63.63636% with 4 lines in your changes missing coverage. Please review.

Project coverage is 26.67%. Comparing base (2c01a00) to head (fc0bfa0).

Files with missing lines
Patch %
Lines

cpg_workflows/batch.py
63.63%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #972      +/-   ##
==========================================
+ Coverage   26.43%   26.67%   +0.24%
==========================================
  Files           9        9
  Lines        1687     1698      +11
==========================================
+ Hits          446      453       +7
- Misses       1241     1245       +4

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

I was guessing @Alexander-Stuckey might have a non-checked-in config file he could put it in…?
 Thought I had run every edition of this locally…

Okay, I've now built a d07bed2b40664316e6d98ffff25039794a191924 QoB JAR, which is our 0.2.133+local branch plus hail-is/hail#14750 (upstream's new proposed fix for this problem).
Once we merge this and put the following in a suitable config file:
[workflow]
jar_spec_revision = 'd07bed2b40664316e6d98ffff25039794a191924'

@Alexander-Stuckey will be able to retry his batch and see if we've finally broken the 20 million barrier!
(Alex, if you want to add that to configs/defaults/large_cohort.toml, feel free to add that as another commit on this PR.)

Let's leave this for now until @Alexander-Stuckey has a chance to review it, as it affects his combiner code too.

Let's leave this for now until @Alexander-Stuckey has a chance to review it, as it affects his combiner code too.

I'm happy to give this a try. Not sure that I can hit this problem with a smaller dataset, it needs to be of sufficient size to generate a 20MB JSON internally (certainly this never came up when I was testing the combiner code on a smaller dataset).

Great — Let me just build one more JAR: vanilla 0.2.133+proposedfix, which will minimise the variables.

Okay, let's add this to a suitable config:
[workflow]
jar_spec_revision = 'f5b65edb8f1ed8e431f1799546a8e96d0ddff7d9'

which is built from this fixed-133-qob-jar branch. Do you have a suitable config file, or shall I add that to configs/defaults/large_cohort.toml or so in this PR?
(Also we'll need to merge this PR before you rerun it!)

Okay, let's add this to a suitable config:
[workflow]
jar_spec_revision = 'f5b65edb8f1ed8e431f1799546a8e96d0ddff7d9'

which is built from this fixed-133-qob-jar branch. Do you have a suitable config file, or shall I add that to configs/defaults/large_cohort.toml or so in this PR?
(Also we'll need to merge this PR before you rerun it!)

I've got a config that I can use. I assume that I run with the Hail 0.2.133 container, and add this into the config?

Yep. Let me merge this, and then that will be the production-pipelines commit to run from.


feat(embeddings): Add text embedding feature

Description
This PR add text embedding support, including a base embedding abstract class and OpenAI embedding APIs.
Motivation and Context
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.
You can use the syntax close #15213 if this solves the issue #15213

[x] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds core functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (update in the documentation)
[ ] Example (update in the folder of example)

Implemented Tasks

[ ] Subtask 1
[ ] Subtask 2
[ ] Subtask 3

Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

[x] I have read the CONTRIBUTION guide. (required)
[ ] My change requires a change to the documentation.
[ ] I have updated the tests accordingly. (required for a bug fix or a new feature)
[ ] I have updated the documentation accordingly.

Thanks! I am reviewing this PR. Please wait a bit.


BUG: For mobile and middle screen widths, the vertical space after </p> tags disappear in the Terms of Use and the Privacy Policy pages

To reproduce this bug, use a mobile device or resize your browser to less than 760px width.
If you go to terms-of-use.html and to privacy-policy.html,
then you'll see that all the vertical spaces between the paragraphs are missing.
When fixing this bug, please check that the vertical spacing between paragraphs still looks good for desktop widths.

Hi , I would like to work on this Issue

@Shubhangam333 Thank you, you're assigned

#136 raised for issue #133 and #135


MacOS version?

Would you consider making a version of your noip-renew scripts that works on MacOS?

Hi @JohnLockeNJ,
I don't know much about Docker, but you should be able to run this script via Docker which should work on MacOS. There's a bunch of really knowledgable guys that have worked on the docker part of this script to get it working properly in a container. Out of curiosity, what exactly happens when you run this on MacOS? I would imagine it's just that a few of the setup packages aren't found such as Chromium.
Thanks
Ryan


Fix field_value() type definition

The field value can be a list of binary().
https://github.com/klarna/kafka_protocol/blob/master/src/kpro_schema.erl#L256

approved.
klarna/kc member can merge it.
maybe bump version in .app.src,
depends on the release schedule (if there is one). @k32 ?

Seems like a pretty minor change for a new release. But if it's important, I can make one.


Adding new command cilium ip metadata

Adding a new command to list down the identity metadata information for kube-apiserver policy matching.

PR related to: https://github.com/cilium/cilium/issues/18529
Adding cilium ip metadata command to list down the identity metadata information for kube-apisever policy matching for debugging

A couple things

Travis is failing with

docker container run --rm --workdir /src/Documentation --volume /home/travis/gopath/src/github.com/cilium/cilium/Documentation/..:/src --env READTHEDOCS_VERSION= --env SKIP_LINT= --user "2000:2000" cilium/docs-builder ./update-cmdref.sh

./check-cmdref.sh

diff --git a/Documentation/cmdref/cilium_ip.md b/Documentation/cmdref/cilium_ip.md
index 10907df68..4c94df49b 100644
--- a/Documentation/cmdref/cilium_ip.md
+++ b/Documentation/cmdref/cilium_ip.md
@@ -22,4 +22,5 @@ Manage IP addresses and associated information

 * [cilium](../cilium)	 - CLI
 * [cilium ip list](../cilium_ip_list)	 - List IP addresses in the userspace IPcache
+* [cilium ip metadata](../cilium_ip_metadata)	 - List ID metadata information

HINT: to fix this, run 'make -C Documentation update-cmdref'

Please run the above command and amend the commit with the changes.

Could you update the PR description with the usage of the new command and how it looks like?

Hey @christarazi I am not able to run the cilium project on my local using these docs https://docs.cilium.io/en/stable/contributing/development/dev_setup/#dev-env, I am facing few issue with these,  Exact steps are not working, Should I create a new issue to fix these docs? Also,  are there any other docs that be followed or steps to generate the output of the cilium ip metadata command?

HINT: to fix this, run 'make -C Documentation update-cmdref'

@chowmean It looks like the CI job is no longer complaining about the changes, so it seems that you've done them correctly.

HINT: to fix this, run 'make -C Documentation update-cmdref'

@chowmean It looks like the CI job is no longer complaining about the changes, so it seems that you've done them correctly.

Ok, @christarazi  but to generate the exact output of the command for the PR details I need to be able to run it in my local dev.

@chowmean Please post for help in the #development channel on Cilium Slack.

Hi @christarazi I ran the cilium IP metadata command in my minikube setup but its not showing any output. There were issues happening with dev setups, so i have to run in minikube.
root@minikube:/home/cilium# cilium ip list
IP                  IDENTITY    SOURCE
<IP_ADDRESS>/0           world
<IP_ADDRESS>/32        health
<IP_ADDRESS>/32       host
<IP_ADDRESS>/32        host
<IP_ADDRESS>/32       unmanaged   k8s
<IP_ADDRESS>/32       unmanaged   k8s
<IP_ADDRESS>/32       unmanaged   k8s
<IP_ADDRESS>/32   host
root@minikube:/home/cilium# cilium ip metadata
root@minikube:/home/cilium# cilium ip metadata

Can you please help here? What am I missing here? Thanks

@chowmean The reason you are seeing no output is because the CLI binary is different than the cilium-agent binary so when you invoke the GetIPMetadata() function, you are fetching the identityMap from the CLI binary's memory, rather than from the cilium-agent binary's memory. In other words, this call needs to be made over the API via the Unix domain socket like all the other CLI commands. See this PR for a similar implementation. You can ignore the generated files, but pay attention to the openapi.yaml file as that will generate the code needed. Then you need to hook up the server-side implementation inside the daemon/cmd package. If you need further help, please reach out here or on #development channel.
The API we are looking for is the same as IPListEntry{,Metadata} but with a labels field added, as that's the value of the identityMetadata map.


Translations update from Weblate

Translations update from Weblate for i18n-wip/mattermost-mobile-wip.

Closing. Moved to direct commit to master.


Long press to copy relay url

Tested, it works.
Initially I was long pressing the relay icon hoping it would copy the url to clipboard, maybe add the functionality to the icon as well?
Maybe adding the functionality to relay icons under user (when Complete UI mode is used)?


Shutdown unirest everytime

@maitani
Currently, I think this plugin has some problems.
Because this plugin does not  shutdown client every time.
So, I created This PR and I want to merge.
Thanks you!

Oh! I am honored!
But this (or other implementation on any my branch) is still experimental.
Actually, this implementation has problem(unirest is throwing UnirestException that has IllegalStateException as cause now).
So, now, I am doing other experiment.
If I'll get a good result, then I'll submit it as PR!
Thank you!


feat: add update command

Add an update command that internally runs npm i -g @rpidanny/darwin@latest so that users doesn't need to know/remember the npm command.

:tada: This PR is included in version 1.29.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


New app policies

Description
Revamp of the handling of blind-signing.
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
[x] Tests
[ ] Documentation
[ ] Other (for changes that might not fit in any category)

how am i supposed to interract with smart contract wihtout blind signing ?

how am i supposed to interract with smart contract wihtout blind signing ?

Hello @3cl1ps, instead of having to enable a setting within the app, it shows you some warnings before the transaction but still lets you blind-sign. :+1:


Task/readme

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
234

Relevant Lines:
265

💛  - Coveralls


Display migration status after it's completed

After this migration is complete, display the results of the migration including:

Total # of Records
Records Failed
Migration Process Time

addressed by #29


Calculation RSI Candle

Does anyone know how to calculate the RSI with the values of candle?

You can find plenty of tutorials and websites about stock trading on how to calcule the RSI with the candle values. I don't think this is an issue to be posted here.

Hi @joaopsilva i like your example about api-binance but you didn't make any indicator? do you think that u will have a v2 in your example?
Thank you

@azedine--taha an API doesn't have indicators. Indicators are built on top of the API. Program them on your own or use one of the multiple libraries available

@antonvalletas  thank you for your answer


How can I disable cookie?

Originally reported on Google Code with ID 317
How can I disable cookie?

REST client auto send cookie to server but I don't want any cookie in my request, how
can I disable cookie?

Reported by luxin88 on 2015-08-06 08:16:30

Note to myself: try https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials

It is resolved in new upcoming version.


LocalNotification not working [IOS]

Question
I followed all the documentation properly. Still, LocalNotification is not working.
This is my environment config:

react-native : 0.61.4
@react-native-community/push-notification-ios --save : 1.0.5

I did the following things,

npm i @react-native-community/push-notification-ios --save
cd ios && pod install
Updated AppDelegate.m as per described here
Then calling function in my js like this,

import PushNotificationIOS from "@react-native-community/push-notification-ios";
.
.
.
componentDidMount(){
  PushNotificationIOS.addEventListener('localNotification', this._onNotification);

  PushNotificationIOS.requestPermissions();
  PushNotificationIOS.presentLocalNotification({
    alertBody: 'Test Notification'
  });
}

_onNotification(notification) {
  console.log(notification._alert);
}
.
.
.

By the way, It requests for permissions when the first-time app opens & also I'm getting console.log of notification but not getting any local notification.

If you are checking for local notification when the app is in the foreground, you won't get any notification that is the default behavior of iOS. for more info read this documentation.
https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/SchedulingandHandlingLocalNotifications.html

@kuls14 Then what is the purpose of this function: PushNotificationIOS.presentLocalNotification

I'm not 100% sure but this is used when we get a push notification and then we need to trigger that push notification as localNotification.
If you want to set a local notification to fire after a certain time interval or at a certain time in future you can use scheduleLocalNotification.

Okay, Thanks @kuls14

you can also check #63

I'm not 100% sure but this is used when we get a push notification and then we need to trigger that push notification as localNotification.
If you want to set a local notification to fire after a certain time interval or at a certain time in future you can use scheduleLocalNotification.

This is not correct - I have used localNotifcaiton in the foreground many times.


Add animation of an explosion when the dinosaurs are killed

👉 Checklist

Please make sure to check off the following before submitting:

[x] I have reviewed my submission thoroughly.
[x] I have tested my code (if submission is related to coding) and run the game before pushing (to make sure the project compile).
[x] I have run the JUnit tests (if submission is related to coding).
[x] I have read the Code of Conduct and Contribution Guidelines.

✍ Description of the Pull Request

Please concisely describe the changes you have made.

Add animation of an explosion when the dinosaurs are killed

🔗 Issue link

Issue reference number and link goes here e.g. 'Fixes/Closes #<issue_number>'.

[x] This Pull Request fixes the issue : 'Closes #47 '
[ ] This Pull Request does not fix an issue.

Thanks for taking the time to fill out this Pull Request! ❤ Thanks for contributing to this project 🦖

Because in "GameEntityFactory.java" the creation of "New Enemy BasicProjectile" and the creation of "New Green Dino" both use "EntityType.GREENDINO"，it will also have an explosion when enemy projectile collides with projectile shot by player.

Maybe you can fix it by creating "New Enemy BasicProjectile" with "EntityType.ENEMYPROJECTILE".In addition, you also need to add collision physics for "EntityType.ENEMYPROJECTILE" in DinosaurController.java .

因为在“GameEntityFactory.java”中，“New Enemy BasicProjectile”的创建和“New Green Dino”的创建都使用了“EntityType.GREENDINO”，所以当敌方射弹与玩家射击的射弹碰撞时，它也会发生爆炸。

https://github.com/user-attachments/assets/9bb0fe50-4e6e-4f99-8daf-b8c8dcf7ba61


How to drop "exs:type" when serializing derived types

This is not an issue but rather question for help.
I have following object structure:
class Container
{
    public string Common { get; set; } = "Common";
    public IBody Body { get; set; }
}

interface IBody
{
    string BodyType { get; set; }
}

class A : IBody
{
    public string BodyType { get; set; } = "A";
    public string FieldX { get; set; } = "FieldX";
}

class B : IBody
{
    public string BodyType { get; set; } = "B";
    public string FieldY { get; set; } = "FieldY";
}

I serialize it with following code:
var serializer = new ConfigurationContainer()
	.UseOptimizedNamespaces()
	.EnableImplicitTyping(typeof(Container))
	.EnableImplicitTyping(typeof(A))
	.EnableImplicitTyping(typeof(B))
	.EnableImplicitTyping(typeof(IBody))
	.Create();
var result = serializer.Serialize(new XmlWriterSettings { OmitXmlDeclaration = true}, container);

And I get this as result
<Container xmlns:exs="https://extendedxmlserializer.github.io/v2" xmlns="clr-namespace:Namespace.Test;assembly=Test"><Common>Common</Common><Body exs:type="A"><BodyType>A</BodyType><FieldX>FieldX</FieldX></Body></Container>
Is there any way to get rid of  exs:type and rest of namespace related attributes somehow? I am only interested in serialization.
My receiving party is a custom XML parser and it has problems with namespace parsing...

Hi @michalsznajder thank you for writing in and for the question.  Unfortunately, this is not possible.  Interestingly enough, I got involved with ExtendedXmlSerializer when I learned that the classic System.Xml.Serlialization.XmlSerializer does not handle/serialize interfaces.  Since this is considered a breaking/unsupported scenario for the classic serializer, we went the route of utilizing a custom namespaced attribute (exs:type) to denote the implementing type whenever an interface-based property/element is encountered in the object graph.
All is not lost, however.  In your case, I would use an XSLT transform to transform the resulting serialized ExtendedXmlSerializer document into a document that conforms to the destination's expected schema.  Once that transformed document has been created, you can then pass it to the receiving party, where they should be able to process it since it now conforms to their expectations.
This is the strategy/pattern that I recommend whenever someone needs to use a document (or is receiving one) from an external party that is not using ExtendedXmlSerializer and the format does not meet precise expectations.  XSLT was made specifically for these types of scenarios and is always handy to keep in mind whenever something like this is encountered.
I hope this helps you out.  Please do let me know if that works for you and/or if you have any additional questions around this and I will do my best to assist you. 👍

O thanks. It would be nice to have it but I understand. Anyway - great project.
As for my case I resorted for second best thing after XSLT - regex 😃  I will leave it for reference here for future :
var cleanupRegex = new Regex("( xmlns:exs=\"[^\"]+\"| xmlns=\"[^\"]+\"| exs:type=\"[^\"]+\")");
var result = _serializer.Serialize(_writerSettings, classWithInterfaces);
result = cleanupRegex.Replace(result, "");

BTW would you accept PR that adds option to disable namespace generation?

hah!  Good ol' RegEx.  Yes, I can understand having to go that route as using Xslt seems like you have to relearn it each time.  The same thing with RegEx but you encounter it more often than Xslt so less relearning involved, so to speak. 😁
As for a PR, sure... if the extension can read back in the same document without throwing an exception and producing the equivalent object graph that was serialized, then it is worth exploring. :)  My primary question, to start, is how you would manage to resolve a type without the namespace?  There needs to be an identifier of some sort so that a differentiating type can be activated.

My particular case needs only creation so I am not interested in reading data back. So second issue is not a problem in my case 😄 .
During XML creation I think there should be a way to turn off namespaces. Or rather provide extension point to specify you own typing way.
As for deserialization of XML. Maybe some way to leave part of document as unparsed so library user could decide on type and later run parser on the reminder? Some kind of RawXmlAttribute...

Hehe yeah, I am not sure how common this scenario will be, but I certainly appreciate the appeal.  It seems odd to create a feature that only works one way but then essentially breaks it on the other.  Something that has been suggested in the past was to create a new library, something like ExtendedXmlSerializer.Extensions that is a culmination/collaboration/compilation of community-produced extensions.  This seems like a candidate for such a compilation.  If you can produce an extension that does something like the above that you are happy with, then I can make it the first contribution of such a library. :)

Looks like this issue is as resolved as much as possible at the moment.  If you do find the motivation/courage to create a contribution, please submit a PR and we can take it from there.  In any case, thank you for your interest and considerations with ExtendedXmlSerializer. 👍  Closing for now.


Support of rmf_core

Hi,
Sorry that I couldn't find other support, so have to post my inquiries here.

The FAQ mentions the Romi-H is designed and expected to communicate with fleet manager, but also support individual robot in case it doesn't come with fleet manager. Is there a complete guide on integrate or running rmf_core with robot alone?

The rmf_core module is written and tested in ROS2 Eloquent. In case robot is running ROS Melodic, or ROS2 Dashing, how to make the robot work seamlessly with rmf_core?

Is there a complete guide on integrate or running rmf_core with robot alone?

Documentation is sparse at the moment. We're pushing hard to get a first stable release of rmf_core finished for mid-June. Hopefully once that's finished we'll have time to document various potential use-cases.

In case robot is running ROS Melodic, or ROS2 Dashing, how to make the robot work seamlessly with rmf_core?

For compatibility across ROS1 and ROS2, you can consider using either soss or ros1_bridge. Both have various advantages and disadvantages to choose between.
Both Dashing and Eloquent (the ROS2 distros) use the DDS standard under the hood, so in theory they should be cross-compatible right out of the box. However in practice I think it's very likely that you'll encounter hiccups if you try to use them together in the same system. The barrier to upgrade from Dashing to Eloquent should be pretty low, so I would sincerely recommend just upgrading any systems that are using Dashing.

@mxgrey Is it still the case for the first stable release to be out by mid-June?  Any possibility of a sneak peak / preview / diagram of the new architecture?
Thanks a lot for your work!

We had an ambitious target of getting the first Release Candidate of RoMi-H finished by today, June 15, and I'm happy to say that as of 4:30am today we've finished all the development intended for the Release Candidate. Those developments can be found on the develop branch of this repo.
However, since many critical developments for the Release Candidate are brand new, there hasn't been much time to test it thoroughly. Therefore our team is making a big effort this week to test out the new code before we formally ship out the Release Candidate. I hope to have the first Release Candidate shipped by June 22.
That being said, the new API and features are ready for anyone who is interested in trying them out. The new fleet adapter API consists primarily of these headers: https://github.com/osrf/rmf_core/tree/develop/rmf_fleet_adapter/include/rmf_fleet_adapter/agv
To create a fleet adapter that talks to a fleet manager (or to individual robots, either is fine), you would take the following steps:

Create an application that links to the rmf_fleet_adapter library
Write an implementation of the RobotCommandHandle interface that calls the robot control API of your fleet manager (or individual robot).
In your application, instantiate an Adapter.
Use the Adapter to create a FleetUpdateHandle.
Use the FleetUpdateHandle to add new robots by giving it instances of your RobotCommandHandle.
Use the RobotUpdateHandle provided by the FleetUpdateHandle to send the fleet adapter updates about your robot locations.

This fleet driver adapter might serve as a decent example of how this new API can be used. That's a fleet adapter designed to be backwards compatible with the fleet driver API that was used back in December for DP2. That adapter can be used to maintain compatibility with the old fleet drivers, but there are some fundamental issues with the fleet driver API, so I recommend migrating to using the new API directly instead of relying on the fleet drivers.
We also have Python bindings that are in progress for the new fleet adapter API. This should allow custom fleet adapters to be developed in Python, which is much more convenient than C++ for interacting with REST APIs.

Hi @mxgrey ,
any update on the release?

Closing as this is not an issue. To continue discussing this topic, please open a discussion.


chore: update Poetry to 1.5.1 (last version supporting Python 3.7)

:tada: This PR is included in version 6.1.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Incompatibility with Lunar Client

This mod doesn't work with Lunar Client and is crashing the game while it starts!
Crash-log: https://mclo.gs/AqwHc5j

Doesn't lunar client only work with a specific set of mods by design?

No! They now support custom mods!

Well, they don't support this one. They changed something in particle rendering thats causing one of my mixins to fail.

:/ Any fix you could do?

if you add "POTION" to the disabledOptimizations list in the particle_core_disabled_optimizations.json config, it might launch.

Where is this file located?

Found it in "C:\Users\pcusername\AppData\Roaming.minecraft\particle_core_disabled_optimizations.json"

Is this the right format?

I can't seem to figure out the right format :/

Lists in json are like
[
"POTION"
]
With square brackets, not curly

Like this right?

I'm waiting for confirmation

If this was the right format then it's still crashing!

Hey! Any updates?

That is a different crash than the original. Seems like "DECREASE" also needs to be added to the disable list; hopefully it luanches after that


[NETBEANS-54] Module Review Apache License testng.maven

Fix #200
Update old Oracle license to Apache License.

@emilianbold do you want the title of the PRs to be:
1)[NETBEANS-54] Module Review
2)[NETBEANS-54] Module Review testng.maven
3)[NETBEANS-54] Module Review Apache License testng.maven
I will change the rest of them to what you want.

They should be
[NETBEANS-54] Module Review testng.maven
Read https://cwiki.apache.org/confluence/display/NETBEANS/List+of+Modules+to+Review for the long explanations.

BTW, could you configure your git user.name and user.email?
You show up as Trevor<EMAIL_ADDRESS>Some proper name + real email would look much better.

Hmm that is weird because I have it setup locally.
C:\dev\gitspace\incubator-netbeans (181.refactoring.java)
λ git config user.name
trevlewis
C:\dev\gitspace\incubator-netbeans (181.refactoring.java)
λ git config user.email
<EMAIL_ADDRESS>

Nope, look at your previous commit: https://github.com/apache/incubator-netbeans/commit/1cb625d13eaeff0566347fa0527e261b19704e58.patch
From: Trevor<EMAIL_ADDRESS>Also look at your own git log.

Okay got it now. I had it set to not use my email in my GitHub profile.


install: added quotation marks and brackets

in order to avoid messy situations. Please test on Darwin since I can't.

Thanks @novoid  ! I'll take a look at this soon.


[Feature Request]: Support for TokenCredential from Azure.Identity package

Is your feature request related to a problem? Please describe.
Having TokenCredential support would enable services to reduce or eliminate client secrets (a common attack vector - and source of operational toil).
Describe the solution you'd like
In addition to APIKeys, provide methods for creation of AzureOpenAIConfig accepting TokenCredentials.  Other solutions would be acceptable, this is just my initial thought.
Additional context
No response

Upon further review it appears this support exists.  We can directly create OpenAIClients (which support TokenCredential) and pass those GptAgent constructor.


Window title on Gnome 3.16 is "Unknown"

App works beautifully, but the title shows up as "Unknown"
using Gnome 3.16.3 on Linux 4.1.6

Looks like this is an open issue with NW.js itself: nwjs/nw.js#3266

It's fixed if you manually set a WM_CLASS using xprop... but you have to do that every time you open this application. This also fixes the icon issue if you use a custom icon theme.

Yep, can confirm, still an issue on 3.18, would be nice to have at least a work-around.

As a workaround you can create a wrapper script that launches this app and imediately after it launches xdotool and changes it's WM_CLASS to the one you set in this app's .desktop file in /usr/share/applications
You will have to use that script in order to luanch this app from now on, so it might be a good idea to put it in /usr/bin and change the .desktop file's Exec line

Note that a wrapper script still violates the specification because the client is required to set the property before mapping the window.

I agree. A wrapper script is by no means a solution, just a(n ugly) workaround, as I mentioned before. It would be really nice if the author could fix this issue in a proper way. I don't know how hard it would be since I don't really know Node.js but I do know that many Electron-based apps suffer from this same issue. Also as far as I know this problem only exists on Linux because WM_CLASS is an X Window property.
However, Whatsie dosen't seem to have this problem, so I assume that the author did indeed find a solution.

Hi!
I invite you to try the new beta. I added a WM_CLASS (as far as I remember) and I personally never had this problem.
See https://github.com/Aluxian/Facebook-Messenger-Desktop/issues/458 for more information.
I will let this issue open a bit more to see if your problem is resolved.


az webapp up -g $resourceGroup -n $appName --html
Penyebaran kustom

https://github.com/dotnet/arcade/blob/main/Documentation/Projects/Build Analysis/LandingPage.md
name: .NET Core Build
on:
workflow_dispatch:
push:
branches: [ main ]
tags:
- 'v*'
pull_request:
branches: [ main ]
tags:
- 'v*'
jobs:
build-and-publish-release:
 runs-on: ubuntu-18.04

 steps:
 - uses: actions/checkout@v2
   with:
       fetch-depth: 0
 - name: Setup .NET Core
   uses: actions/setup-dotnet@v1
   with:
     dotnet-version: 5.0.401

 - name: Install dependencies
   run: dotnet restore ContributorLicenseAgreement.sln
   env:
     DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
 - name: Build
   run: dotnet build ContributorLicenseAgreement.sln --configuration Release --no-restore

 - name: Test
   run: dotnet test ContributorLicenseAgreement.sln --configuration Release --no-build --verbosity normal --collect:"XPlat Code Coverage" --settings coverlet.runsettings.xml -r ./coverlet-results

 - name: Generate coverage badge
   if: github.ref == 'refs/heads/main'
   uses<EMAIL_ADDRESS>   with:
     reports: './coverlet-results/*/*.xml' # REQUIRED # The coverage reports that should be parsed (separated by semicolon). Globbing is supported.
     targetdir: 'coveragereport' # REQUIRED # The directory where the generated report should be saved.
     reporttypes: 'Badges' # The output formats and scope (separated by semicolon) Values: Badges, Clover, Cobertura, CsvSummary, Html, HtmlChart, HtmlInline, HtmlInline_AzurePipelines, HtmlInline_AzurePipelines_Dark, HtmlSummary, JsonSummary, Latex, LatexSummary, lcov, MarkdownSummary, MHtml, PngChart, SonarQube, TeamCitySummary, TextSummary, Xml, XmlSummary

 - name: Update badge in README
   if: github.ref == 'refs/heads/main'
   run: |
     git checkout coverage || git checkout -b coverage
     mkdir -p docs/images
     cp coveragereport/badge_shieldsio_linecoverage_green.svg docs/images/linecoverage.svg
     git config --local user.email<EMAIL_ADDRESS>     git config --local user.name "GitHub Action"
     git add docs/images/linecoverage.svg
     git commit -m 'Auto update coverage badge' || exit 0
     git push origin HEAD:coverage

Closing. If you would like to report a Microsoft Edge Enterprise documentation issue to the team please open a new issue and include relevant information/repro steps in the Comment section.


Adds a method in IndexNameExpressionResolver to determine if a request matches system indices

Description
Adds a method in IndexNameExpressionResolver to determine if a request matches system indices. Currently, the security plugin tracks a list of system indices via an OpenSearch setting, but should be using the registry from core since plugins that reserve system indices should be implementing SystemIndexPlugin.getSystemIndexDescriptors.
Companion Security PR: https://github.com/opensearch-project/security/pull/4471
Related Issues
Related to https://github.com/opensearch-project/security/issues/4439
Check List

[X] Functionality includes testing.
[X] API changes companion pull request created, if applicable.
[X] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@andrross @reta I have pushed a change to add a method to IndexNameExpressionResolver instead of a new extension point for a singular plugin. Can you please take a look and let me know your thoughts on this approach?

@cwperks The gradle-check is failing with below error:
* What went wrong:
Execution failed for task ':libs:opensearch-common:forbiddenApisTest'.
> de.thetaphi.forbiddenapis.ForbiddenApiException: Check for forbidden API calls failed, see log.

Hope you are aware and looking into it.

Hope you are aware and looking into it.

Thank you @rishabh6788. I addressed the CI check errors.

@reta @andrross Pushed another change to use the internal Regex class instead of introducing WildcardMatcher

@andrross @reta Thoughts on the latest push?

@andrross could you please (re)take a look? thank you!

@andrross Can you take a look at the latest commit when you have some time? Thanks!

Marked all conversations as resolved. Thank you @andrross! Can this be merged now?


Allow Docker to be load balanced

I don't know the ultimate goal of things like the Docker support. Maybe my setup is completely wrong..
I did notice that when using Docker containers were not being load balanced as shown here:

If the container went away Traefik would properly fall back to the next available container but 100% of the traffic was being sent to one container.
With the changes that were made to the docker.tmpl it allows servers to be load balanced:

Notes:

The makeParsedUrl template function was a commit on a local branch in response to #98 . Happy to submit a PR on that too.
To get the frontends to work properly I had to drastically rename how the docker implementation was naming things.

Again, I could just be out here in left field but this now works for me.

Hi @polds,
You can assign multiple containers to the same backend foo using label traefik.backend=foo. Traefik will then load balance on all containers.


CP SAT solver stop_after_first_solution not working if num_search_workers > 1

It keeps searching for solutions: or-tools version: 7.2.6977

Fixed on master.
Thanks

That was fast, great work :+1:


Check the PHP version before re-using a cached extension

Fixes #102

Merged it to local branch, this one fixed my travis, so :+1:


How should we communicate between two processes?

socket, pipe?

Some random thoughts:

For Jan <-> cortex.cpp server: can communicate by Unix Domain Sockets (UDS) or pipe or shared memory. Thanks @louis-jan for a great idea.
For cortex.cpp CLI <-> cortex.cpp server: still communicate by IP Socket (port 1337?) because we need to run a server to serve
UDS is also supported in windows so can use it cross-platform
pipe and shared memory between JS and C++ can be a pain (?)

To use Pipe and Shared memory, we need to define our message/data. So, it is not a good idea.
UDS can support http request, so I think we don't need to change much on the JS side.

This will be our improvement after we finish all the other tasks for cortex.cpp.
If we decide to support this, will need a discussion with Jan team (cc: @louis-jan , @marknguyen1302) for more details on UDS.


zombiezen.com checkout path doesn't work

zombiezen.com has been broken for a few days, breaking checking out the go-capnproto2 project. E.g.:
  My monitoring didn't catch this, so I'll be adding a new monitoring rule to prevent this in the future.

Okay, I think I have fixed this.  I'm waiting for my monitoring to catch up, but the underlying TLS configuration should be properly configured again.  I'm going to close for now, reopen if you can't fetch within the next few hours.


Convert uses of assert!(a == b) to assert_eq!(a, b) where possible

hi ;-)
fix #210
I've used the following regex to do the change:
sed -i -E 's#assert!\((.*) == (.*)\);#assert_eq!\(\1, \2\);#' src/**.rs

Then I had to manually revert some incorrect changes: the debug_assert!(swap == 1 || swap == 0); and assert on u64x4::U64x4/u32x4::U32x4 types which doesn't implement Debug trait

Hi @touilleMan
Thanks for doing this, much appreciated! LGTM so far, but we'll have to wait for the CI to clear it as well. Did you try to apply the regex to files in the /test dir as well? IIRC, we have some candidates there as well, if it's not too much trouble.

Thanks for the fast reply !
I've updated the PR to also modify the tests folder 😃