MolSSI Driver Interface support

This PR enables QCEngine to function as a engine within the context of the MolSSI Driver Interface (MDI).  MDI supports interoperability within a driver-engine paradigm, in which a driver code controls the high-level operations of one or more engine codes, orchestrating complex calculations like QM/MM or advanced sampling.  This PR allows MDI to interface with QCEngine, controlling production codes using QCEngine as an intermediary.
The following is an example script for launching QCEngine as an MDI engine:
import qcengine as qcng
import qcelemental as qcel

mol = qcel.models.Molecule.from_data("""
O 4.92718 4.99809 1.10308
H 5.80905 5.31488 0.90767
H 4.87602 4.14701 0.667997
O 0.0880888 4.00127 0.245364
H 9.67931 3.21326 0.714742
H 0.329457 3.6894 9.23817
O 8.38355 2.57034 3.9726
H 7.44821 2.36788 3.95264
H 8.7019 2.15517 4.77417
O 7.00057 7.16334 4.02289
H 7.72912 7.3014 3.41759
H 7.21545 6.34743 4.47493
O 4.30406 0.919395 2.3125
H 4.6805 1.40121 1.57604
H 4.49956 9.86655 2.12387
O 3.14136 6.90125 0.70106
H 2.42226 6.62251 1.26801
H 3.71511 6.13692 0.647808
O 7.16357 4.36105 7.68273
H 7.35485 3.47729 7.99679
H 7.40743 4.93254 8.41087
O 9.36571 1.39718 6.75649
H 9.80707 2.14953 7.15071
H 8.72182 1.12662 7.41103
""")

o = qcng.MDIServer(mdi_options = "-role ENGINE -name QM -method TCP -port 8021 -hostname localhost",
                   program = "psi4",
                   molecule = mol,
                   model = {"method": "SCF", "basis": "sto-3g"},
                   keywords = {"scf_type": "df"})
o.start()

@dgasmith Thanks for these comments!  I believe this is now ready to go.

@dgasmith Thanks for reviewing this, and sorry for the slow response.  I think I'll be able to address the last few items tomorrow.

@dgasmith The latest commit should address your comments.  Thanks again!

Looks good, thanks!


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_c5c6e151-ae6f-4c63-87d6-1006ca19675c/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_c5c6e151-ae6f-4c63-87d6-1006ca19675c.git

Docs Build status updates of commit f4e03f5:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


CupertinoDialogRoute leak fix

Reattempts to fix CupertinoDialogRoute the only thing left close CurvedAnimation leaks.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@polina-c Looks like previous changes for CupertinoDialogRoute were indeed correct since its passing test, probably failed last time because of tree status being red?
hopefully this closes CurvedAnimation chapter

Approved to kick off google testing. The comments still need to be addressed.

@polina-c Added change as mentioned and it seems google test was passing as well 🥂


Route canonical_url wildcard support

I have a vhost in nginx like:
server {
        server_name *.zend.dev;
        server_name_in_redirect off;

        root /home/www/$host/public;

        include /etc/nginx/includes.d/deny;
        include /etc/nginx/includes.d/nolog;

        access_log /var/log/nginx/access_$host.log;
        error_log /var/log/nginx/error_zend.log;

        location / {
                try_files $uri $uri/ /index.php?$query_string;
        }

        location ~ \.php {
                include /etc/nginx/includes.d/php-fpm_www;
                include /etc/nginx/includes.d/fastcgi_params;
                fastcgi_param PHP_VALUE  "include_path=.";
                fastcgi_param APPLICATION_ENV development;
        }
}

Only when creating a canonical url like:
$this->url()->fromRoute('admin/profile/changePassword', array(), array('force_canonical' => true));

I get a link with the wildcard:
http://*.zend.dev/nl-NL/admin/profile/change-password
Now I am not sure if this is a mistake of the vhost setup or that ZF 2 allows to override this somewhere?

This issue has been closed as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html


env config done

.env.production early not added in ignore file that why it is as it is.
I was not too sure what to add in gitignore as well.
I had added .env.example

@swarajpure Should I close this  PR or any update to de done

@swarajpure Should I close this PR or any update to de done

Why close? Do you not want it to be merged? 🤔

@swarajpure Should I close this PR or any update to de done

Why close? Do you not want it to be merged? thinking

Yes, I want it to be merged, but it has been opened for a long time So I thought that it won't be merged in future.

@swarajpure Should I close this PR or any update to de done

Why close? Do you not want it to be merged? thinking

Yes, I want it to be merged, but it has been opened for a long time So I thought that it won't be merged in future.

It's important that the reviewer is in loop when you make changes, otherwise they won't come to know that required changes are done and hence PR might become stale. Please ensure to tag the reviewers on Discord channel once you've made changes (can't rely on GitHub notifications, there are always tons of them)

Closing this PR, we already have .env.development and .env.production. And I don't think so we need .env.test
But if you guys think we want this PR we can always discuss and open this PR.


Quest with time played

What does your feature do?
Have quests with the goal is just to play on the server.
How would people use it?
Like all quest. In stage.

+1

You can already make this via an action, just make it so it completes the stage action when it runs out on the timer

Currently, Quests does not track when players are first- nor last-seen, so there's no way to tell how long they've been playing. If the goal is to merely force the player to spend a certain about of time on a quest, then the suggestion by @Larskei-dev is most effective, as it encourages players not to log out (as the timer will continue ticking).


Write to AWS

I need to be able to write to an s3 bucket.
@necaris is going to help. thanks, Rami!
you can see current error I get here:

---------------------------------------------------------------------------
NoCredentialsError                        Traceback (most recent call last)
<timed eval> in <module>

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/dask/dataframe/core.py in to_parquet(self, path, *args, **kwargs)
   3947         from .io import to_parquet
   3948
-> 3949         return to_parquet(self, path, *args, **kwargs)
   3950
   3951     @derived_from(pd.DataFrame)

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/dask/dataframe/io/parquet/core.py in to_parquet(df, path, engine, compression, write_index, append, ignore_divisions, partition_on, storage_options, write_metadata_file, compute, compute_kwargs, schema, **kwargs)
    461     # Engine-specific initialization steps to write the dataset.
    462     # Possibly create parquet metadata, and load existing stuff if appending
--> 463     meta, schema, i_offset = engine.initialize_write(
    464         df,
    465         fs,

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/dask/dataframe/io/parquet/arrow.py in initialize_write(df, fs, path, append, partition_on, ignore_divisions, division_info, schema, index_cols, **kwargs)
    876         if append and division_info is None:
    877             ignore_divisions = True
--> 878         fs.mkdirs(path, exist_ok=True)
    879
    880         if append:

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/fsspec/spec.py in mkdirs(self, path, exist_ok)
   1016     def mkdirs(self, path, exist_ok=False):
   1017         """Alias of :ref:`FilesystemSpec.makedirs`."""
-> 1018         return self.makedirs(path, exist_ok=exist_ok)
   1019
   1020     def listdir(self, path, detail=True, **kwargs):

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/s3fs/core.py in makedirs(self, path, exist_ok)
    458
    459     def makedirs(self, path, exist_ok=False):
--> 460         self.mkdir(path, create_parents=True)
    461
    462     async def _rmdir(self, path):

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/fsspec/asyn.py in wrapper(*args, **kwargs)
     98     def wrapper(*args, **kwargs):
     99         self = obj or args[0]
--> 100         return maybe_sync(func, self, *args, **kwargs)
    101
    102     return wrapper

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/fsspec/asyn.py in maybe_sync(func, self, *args, **kwargs)
     78         if inspect.iscoroutinefunction(func):
     79             # run the awaitable on the loop
---> 80             return sync(loop, func, *args, **kwargs)
     81         else:
     82             # just call the blocking function

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/fsspec/asyn.py in sync(loop, func, callback_timeout, *args, **kwargs)
     49     if error[0]:
     50         typ, exc, tb = error[0]
---> 51         raise exc.with_traceback(tb)
     52     else:
     53         return result[0]

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/fsspec/asyn.py in f()
     33             if callback_timeout is not None:
     34                 future = asyncio.wait_for(future, callback_timeout)
---> 35             result[0] = await future
     36         except Exception:
     37             error[0] = sys.exc_info()

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/s3fs/core.py in _mkdir(self, path, acl, create_parents, **kwargs)
    444                         'LocationConstraint': region_name
    445                     }
--> 446                 await self.s3.create_bucket(**params)
    447                 self.invalidate_cache('')
    448                 self.invalidate_cache(bucket)

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/aiobotocore/client.py in _make_api_call(self, operation_name, api_params)
     89             http, parsed_response = event_response
     90         else:
---> 91             http, parsed_response = await self._make_request(
     92                 operation_model, request_dict, request_context)
     93

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/aiobotocore/client.py in _make_request(self, operation_model, request_dict, request_context)
    110                             request_context):
    111         try:
--> 112             return await self._endpoint.make_request(operation_model,
    113                                                      request_dict)
    114         except Exception as e:

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/aiobotocore/endpoint.py in _send_request(self, request_dict, operation_model)
    224     async def _send_request(self, request_dict, operation_model):
    225         attempts = 1
--> 226         request = self.create_request(request_dict, operation_model)
    227         context = request_dict['context']
    228         success_response, exception = await self._get_response(

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/botocore/endpoint.py in create_request(self, params, operation_model)
    113                 service_id=service_id,
    114                 op_name=operation_model.name)
--> 115             self._event_emitter.emit(event_name, request=request,
    116                                      operation_name=operation_model.name)
    117         prepared_request = self.prepare_request(request)

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/botocore/hooks.py in emit(self, event_name, **kwargs)
    354     def emit(self, event_name, **kwargs):
    355         aliased_event_name = self._alias_event_name(event_name)
--> 356         return self._emitter.emit(aliased_event_name, **kwargs)
    357
    358     def emit_until_response(self, event_name, **kwargs):

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/botocore/hooks.py in emit(self, event_name, **kwargs)
    226                  handlers.
    227         """
--> 228         return self._emit(event_name, kwargs)
    229
    230     def emit_until_response(self, event_name, **kwargs):

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/botocore/hooks.py in _emit(self, event_name, kwargs, stop_on_response)
    209         for handler in handlers_to_call:
    210             logger.debug('Event %s: calling handler %s', event_name, handler)
--> 211             response = handler(**kwargs)
    212             responses.append((handler, response))
    213             if stop_on_response and response is not None:

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/botocore/signers.py in handler(self, operation_name, request, **kwargs)
     88         # this method is invoked to sign the request.
     89         # Don't call this method directly.
---> 90         return self.sign(operation_name, request)
     91
     92     def sign(self, operation_name, request, region_name=None,

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/botocore/signers.py in sign(self, operation_name, request, region_name, signing_type, expires_in, signing_name)
    155                     raise e
    156
--> 157             auth.add_auth(request)
    158
    159     def _choose_signer(self, operation_name, signing_type, context):

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/botocore/auth.py in add_auth(self, request)
    423         self._region_name = signing_context.get(
    424             'region', self._default_region_name)
--> 425         super(S3SigV4Auth, self).add_auth(request)
    426
    427     def _modify_request_before_signing(self, request):

~/opt/anaconda3/envs/data-science-at-scale/lib/python3.8/site-packages/botocore/auth.py in add_auth(self, request)
    355     def add_auth(self, request):
    356         if self.credentials is None:
--> 357             raise NoCredentialsError
    358         datetime_now = datetime.datetime.utcnow()
    359         request.context['timestamp'] = datetime_now.strftime(SIGV4_TIMESTAMP)

NoCredentialsError: Unable to locate credentials

distributed.client - ERROR - Failed to reconnect to scheduler after 10.00 seconds, closing client
_GatheringFuture exception was never retrieved
future: <_GatheringFuture finished exception=CancelledError()>
asyncio.exceptions.CancelledError

@hugobowne apologies for the mixup here! Your local notebook needs to be able to access your AWS credentials, so that Coiled can federate them to your workers.
To get those credentials:

Sign in to the AWS console: https://coiled.signin.aws.amazon.com

Go to your security credentials under your account details:

Create an access key, and copy both the Access key ID and Secret access key values somewhere for the moment

With the credentials in hand, I suggest installing the AWS CLI tool:
a. conda install -c conda-forge awscli in your base environment should work -- it'll install an older version of the CLI but that shouldn't be a huge deal.
b. (Alternatively, use their downloadable installer: https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-mac.html)
c. run aws configure to save the credentials to a file that other libraries will read: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html#cli-configure-quickstart-config

Alternatively, ensure the AWS environment variables are set before starting the notebook:

export AWS_ACCESS_KEY_ID=<paste access key ID value here>
export AWS_SECRET_ACCESS_KEY=<paste secret access key value here>
jupyter lab

Thanks, @necaris. I got to Step 3 but am now blocked. Looks like i need more permissions here:

Sometimes it feels like AWS is dead-set against making common use-cases easy for people :wink:
I've added the specific permission sets to manage your own access keys, passwords, and other credentials to your account; hopefully this is enough to unblock you!

thanks!

Sometimes it feels like AWS is dead-set against making common use-cases easy for people

sometimes? ;)


PDO drivers installation

Output
checking for PDO includes... checking for PDO includes...
configure: error: Cannot find php_pdo_driver.h.
Error: Configure failed: configure: error: Cannot find php_pdo_driver.h.

Command
    Deeps-MBP:~ deepsachan$ phpbrew --debug install --stdout 7.2 +default +gd +soap +pear +pdo +sqlite +mysql +zlib=`brew --prefix zlib` +editline -- --enable-maintainer-zts --with-gd=shared

OS:
OS X 10.15, Catalina
Running PHP:
php 7.2.26
Installing PHP:
php 7.2.26

I can't reproduce this. Just tried on a fresh Mojave VM:
$ phpbrew --debug install --stdout 7.2 +default +gd +soap +pear +pdo +sqlite +mysql +zlib= +editline -- --enable-maintainer-zts --with-gd=shared
...
checking for PDO includes... checking for PDO includes... /Users/morozov/.phpbrew/build/php-7.2.26/ext
checking Oracle OCI support for PDO... no

This is where the missing file is expected to be located:
$ ls -l ~/.phpbrew/build/php-7.2.26/ext/pdo/php_pdo_driver.h
-rw-r--r--  1 morozov  staff  24815 Dec 17 04:30 /Users/morozov/.phpbrew/build/php-7.2.26/ext/pdo/php_pdo_driver.h

Could you check if it exists in your case? If not, then please try removing and installing PHP.

I can't reproduce this. Just tried on a fresh Mojave VM:
$ phpbrew --debug install --stdout 7.2 +default +gd +soap +pear +pdo +sqlite +mysql +zlib= +editline -- --enable-maintainer-zts --with-gd=shared
...
checking for PDO includes... checking for PDO includes... /Users/morozov/.phpbrew/build/php-7.2.26/ext
checking Oracle OCI support for PDO... no

This is where the missing file is expected to be located:
$ ls -l ~/.phpbrew/build/php-7.2.26/ext/pdo/php_pdo_driver.h
-rw-r--r--  1 morozov  staff  24815 Dec 17 04:30 /Users/morozov/.phpbrew/build/php-7.2.26/ext/pdo/php_pdo_driver.h

Could you check if it exists in your case? If not, then please try removing and installing PHP.

File doesn't exist for me. Let me reinstall PHP.

This issue has been resolved. My PHP build didn't have the php_pdo_driver.h but I will still recommend patching existing build with the new one if build successful and must be generated from the source not from the existing build if new options include.

@deep12650 by patching, do you mean unpacking the distribution package on top of already unpacked sources replacing the existing files?
It makes sense in this case. Another benefit of doing that is that we'll be able to apply the bundled patches cleanly again instead of seeing the messages from patch like "the file is already patched".
There are more consideration to be taken into account before making a code change?

Why we're keeping the existing sources at all? Why doesn't phpbrew install remove the entire source directory and create it from scratch?
What about installing extensions? Installing an extension will need some source files which may be missing for an unknown reason like here. How do we handle this?

In any event, a pull request is welcome.


How to add new control code into vocabulary?

Is it possible or is there any code for adding new control code into the vocabulary file?
parser.add_argument('--control_code', type=str, required=True,
                                        help='control code to use for this file. must be in the vocabulary, else it will error out.')

You can't add a control code that isn't in the vocabulary. Typically, exact specification of the token is not needed, a synonym (or really, any unused code) should work. What did you have in mind?

Patent classification codes which may have 600+ codes. Assuming that such codes are not in vocabulary, would CTRL model work?

No, they certainly need to be in the vocabulary at the moment. But, maybe what can work is that you can just start using word2idx[0], word2idx[1], ..., word2idx[600] as the control codes? It's convenient for the word used for the control code to have some relevance to the domain but that's not important to the model.

Interesting ideas & thanks. Let me try later.


redundant mkdir

Following these instructions will put the SampleModule directory two folders deep which creates confusion when following the subsequent docker build and push steps.
Use the IoT Edge .NET template to add a new C# module. For example, the following command adds a new module named SampleModule and configures module.json to use myacr.azurecr.io/samplemodule as the image repository.

You'll end up with something like this:
(python-stuff-py3.8) :~/code/iot-spike/iot-edge-module-v1$ docker build --rm -f "./modules/SampleModule/SampleModule/Dockerfile.amd64.debug" -t acrrajohnson.azurecr.io/samplemodule:0.0.1-amd64 "./modules/SampleModule"
[+] Building 0.1s (1/2)
 => ERROR [internal] load build definition from Dockerfile.amd64.debug                                0.0s
 => => transferring dockerfile: 80B

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

ID: 5a3f2f86-40bf-19f2-4f56-9dc71ed47fa2
Version Independent ID: 20e8912c-4a10-68b9-c46a-e945a62421d6
Content: Develop and debug modules Azure IoT Edge modules using VS Code
Content Source: articles/iot-edge/how-to-vs-code-develop-module.md
Service: iot-edge
GitHub Login: @PatAltimore
Microsoft Alias: patricka

@timmyreilly Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Hi @timmyreilly,
I've separated the debug article and custom module tutorial.
In the update, I've fixed the mkdir issue. The updates publish today.
Thanks,
Pat
#please-close


HBASE-22343 Make procedure retry interval configurable in test

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
23
Docker mode activated.

_ Prechecks _

+1
hbaseanti
0
Patch does not have any anti-patterns.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 2 new or modified test files.

_ master Compile Tests _

0
mvndep
23
Maven dependency ordering for branch

+1
mvninstall
233
master passed

+1
compile
71
master passed

+1
checkstyle
81
master passed

+1
shadedjars
262
branch has no errors when building our shaded downstream artifacts.

+1
findbugs
241
master passed

+1
javadoc
51
master passed

_ Patch Compile Tests _

0
mvndep
16
Maven dependency ordering for patch

+1
mvninstall
236
the patch passed

+1
compile
70
the patch passed

+1
javac
70
the patch passed

+1
checkstyle
85
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedjars
261
patch has no errors when building our shaded downstream artifacts.

+1
hadoopcheck
479
Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0.

+1
findbugs
226
the patch passed

+1
javadoc
48
the patch passed

_ Other Tests _

+1
unit
211
hbase-procedure in the patch passed.

-1
unit
8070
hbase-server in the patch failed.

+1
asflicense
54
The patch does not generate ASF License warnings.

10833

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-215/1/artifact/out/Dockerfile

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

Optional Tests
dupname  asflicense  javac  javadoc  unit  findbugs  shadedjars  hadoopcheck  hbaseanti  checkstyle  compile

uname
Linux dcc668607c2c 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/testptch/patchprocess/precommit/personality/provided.sh

git revision
master / 0c0d59541a

maven
version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)

Default Java
1.8.0_181

findbugs
v3.1.11

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-215/1/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-215/1/testReport/

Max. process+thread count
4816 (vs. ulimit of 10000)

modules
C: hbase-procedure hbase-server U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-215/1/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.


Tooling sprint - Week 08 - 2019

Usability Test

[x] Send PRs for BBG issues found
[x] Create issues for bugs/improvements on tooling
[ ] send an update to dev list

API Docs Revamp https://github.com/ballerina-platform/ballerina-lang/issues/13548

[x] Merging dependabot PRs for javascript
[x] #13737
[x] #13700
[ ] Fix construct categories (eg:Client , Errors)
[ ] improve TOC structure
- make categories prominent

Required Reviews

[ ] Diagram usability
[ ] OpenAPI designer
[ ] Idea LS Plugin
[x] LS compiler module cache
[x] Go to definition initial revamp design review
[ ] Formatter implementation

OpenAPI Designer (https://github.com/ballerina-platform/ballerina-lang/issues/13588)

[ ] Backend fixes - Focus on making sure the generated code for complex (k8s) scenarios are not broken.
[ ] Swagger -> OpenAPI rename (https://github.com/ballerina-platform/ballerina-lang/issues/13807)

Diagram

[ ] Function collapse/expand initial working version

Idea Plugin

[ ] Incorporate suggested fixes during initial review
[x] Code actions support through LS
[x] Repository restructure
- Keep library and plugin in a single repo
- A new branch for ballerina-idea-ls-plugin
- Maven org/ copyrights

Build (Gradle) (https://github.com/ballerina-platform/ballerina-lang/issues/13569)

[ ] Sync with master
[ ]  Enabling cover coverage tools
[ ] Migrating documentation

Formatting (https://github.com/ballerina-platform/ballerina-lang/issues/13280)

[ ] Discussion on adding formatting guidelines to site
[x] fix error types source gen & formatting - https://github.com/Anoukh/ballerina-lang/pull/4

Lang-Server

[x] Text Edit support with Completion static snippets
[x] Revamp Rename symbols
[x] Use workspace edits to create tests

Closing and moving remaining task to next sprint https://github.com/ballerina-platform/ballerina-lang/issues/13848


Make sure that Credentials and Presentations Verify

This is addressing an issue from https://github.com/WebServiceDevelopment/PrivateInvoice/issues/15 where credentials and presentations didn't verify. It turns out the issuer id attribute was wrong (needs to be the did referenced from the proof), and our document loader was returning the did document incorrectly. Once these two issues were addressed, the credentials and presentations verified.
Right now as a stop-gap, we are using did:key. There is an item in the issue for updating this which will be addressed in another pull request.

In this PR, we were able to get credentials and presentations to verify. In order to debug why the credentials and verifying, we used did:key to check against this example: https://github.com/w3c-ccg/traceability-vocab/blob/main/packages/traceability-schemas/scripts/create-future-vc.js#L70.
The effect of this was it broke the relationship between the user did and the issuer value for a credential. For instance if we have a member did with did:elem:123. We would expect the credential to look the like the following.
{
    "issuer" : {
        "id" : "did:elem:123"
    }
}

Instead what we have is:
{
    "issuer" : {
        "id" : "did:key:445"
    }
}

The effect of this is that presentations and credentials seem to work by coincidence when sending them to yourself. But there is a regression being able to send credentials to another Private Invoice node. Having presentations and credentials verify correctly takes priority which is why this PR was merged to secure that functionality. The next PR will address expected node-to-node behavior.


run kimera-vio using mynteye camera online

Description:
Have you tried to run the kimera-vio-ros with mynteye-d camera?
I tried to run it online with mynteye camera, but always get the same error at the very beginning:
F0324 08:37:29.031905 15002 QueueSynchronizer.h:110] Check failed: timestamp == payload_timestamp<PHONE_NUMBER>980287075 vs.<PHONE_NUMBER>013477087) Syncing queue data_provider_right_frame_queue in module Data Provider failed;
Could not retrieve exact timestamp requested:

Requested timestamp:<PHONE_NUMBER>980287075
Actual timestamp:<PHONE_NUMBER>013477087

Do you know how to fix it?

I'm also getting this error (issue), will let you know if I find anything.

Can you make a short rosbag (1-2sec) that gives you the error, and upload your launch files?

@violetteavi

Can you make a short rosbag (1-2sec) that gives you the error, and upload your launch files?

Hello, I have the same problem, I use realsense T265
This is the kimera-vio-ros launch file
`

`
This is the realsense_camera launch file
`

  <arg name="enable_sync"              value="$(arg enable_sync)"/>

  <arg name="fisheye_width"            value="$(arg fisheye_width)"/>
  <arg name="fisheye_height"           value="$(arg fisheye_height)"/>
  <arg name="enable_fisheye1"          value="$(arg enable_fisheye1)"/>
  <arg name="enable_fisheye2"          value="$(arg enable_fisheye2)"/>

  <arg name="fisheye_fps"              value="$(arg fisheye_fps)"/>
  <arg name="gyro_fps"                 value="$(arg gyro_fps)"/>
  <arg name="accel_fps"                value="$(arg accel_fps)"/>
  <arg name="enable_gyro"              value="$(arg enable_gyro)"/>
  <arg name="enable_accel"             value="$(arg enable_accel)"/>

  <arg name="linear_accel_cov"         value="$(arg linear_accel_cov)"/>
  <arg name="initial_reset"            value="$(arg initial_reset)"/>
  <arg name="unite_imu_method"         value="$(arg unite_imu_method)"/>

  <arg name="publish_odom_tf"          value="$(arg publish_odom_tf)"/>
  <arg name="topic_odom_in"         value="$(arg topic_odom_in)"/>
  <arg name="calib_odom_file"       value="$(arg calib_odom_file)"/>
</include>

      /camera/tracking_module/enable_map_preservation: true

`
Please update about this issue, Thank you.

@sunrentao It looks like you are trying to use the RealSenseIR parameters. These parameters are taken from a calibration of a RealSense d435i, and so will probably not fit your T265. We'll be releasing a more in-depth look at how to transfer calibration parameters from a Kalibr imu camchain file to Kimera's param format. Watch this issue for more details.
As far as the QueueSynchronizer issue goes, I have some suspicions as to what is going on. I'm going to make a fresh issue addressing them.

See #77


Fix a spell error in README

Codecov Report

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

@@           Coverage Diff           @@
##           master     #236   +/-   ##
=======================================
  Coverage   75.41%   75.41%
=======================================
  Files           9        9
  Lines         541      541
  Branches      125      125
=======================================
  Hits          408      408
  Misses         46       46
  Partials       87       87

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 818744f...779df42. Read the comment docs.


Revert "feat(nodes): add freeu support"

Reverts invoke-ai/InvokeAI#4846
It appears the addition of FreeU is breaking custom nodes due to a circular dependency error.
  File "/home/jsp/InvokeAI3/src/invokeai/backend/model_management/lora.py", line 15, in <module>
    from invokeai.app.invocations.shared import FreeUConfig

$ invokeai-web
Traceback (most recent call last):
  File "/home/jsp/InvokeAI3/.venv/bin/invokeai-web", line 5, in <module>
    from invokeai.app.api_app import invoke_api
  File "/home/jsp/InvokeAI3/src/invokeai/app/api_app.py", line 35, in <module>
    import invokeai.backend.util.hotfixes  # noqa: F401 (monkeypatching on import)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jsp/InvokeAI3/src/invokeai/backend/__init__.py", line 4, in <module>
    from .model_management import BaseModelType, ModelCache, ModelInfo, ModelManager, ModelType, SubModelType  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jsp/InvokeAI3/src/invokeai/backend/model_management/__init__.py", line 5, in <module>
    from .model_manager import ModelManager, ModelInfo, AddModelResult, SchedulerPredictionType  # noqa: F401 isort: split
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jsp/InvokeAI3/src/invokeai/backend/model_management/model_manager.py", line 251, in <module>
    from .model_cache import ModelCache, ModelLocker
  File "/home/jsp/InvokeAI3/src/invokeai/backend/model_management/model_cache.py", line 37, in <module>
    from .models import BaseModelType, ModelBase, ModelType, SubModelType
  File "/home/jsp/InvokeAI3/src/invokeai/backend/model_management/models/__init__.py", line 29, in <module>
    from .textual_inversion import TextualInversionModel
  File "/home/jsp/InvokeAI3/src/invokeai/backend/model_management/models/textual_inversion.py", line 7, in <module>
    from ..lora import TextualInversionModel as TextualInversionModelRaw
  File "/home/jsp/InvokeAI3/src/invokeai/backend/model_management/lora.py", line 15, in <module>
    from invokeai.app.invocations.shared import FreeUConfig
  File "/home/jsp/InvokeAI3/src/invokeai/app/invocations/__init__.py", line 24, in <module>
    spec.loader.exec_module(module)
  File "/home/jsp/InvokeAI3/nodes/__init__.py", line 44, in <module>
    spec.loader.exec_module(module)
  File "/home/jsp/InvokeAI3/nodes/ideal-size-node/__init__.py", line 1, in <module>
    from .ideal_size import IdealSizeInvocation
  File "/home/jsp/InvokeAI3/nodes/ideal-size-node/ideal_size.py", line 17, in <module>
    from invokeai.app.invocations.model import ModelInfo, UNetField, VaeField
  File "/home/jsp/InvokeAI3/src/invokeai/app/invocations/model.py", line 8, in <module>
    from ...backend.model_management import BaseModelType, ModelType, SubModelType
ImportError: cannot import name 'BaseModelType' from partially initialized module 'invokeai.backend.model_management' (most likely due to a circular import) (/home/jsp/InvokeAI3/src/invokeai/backend/model_management/__init__.py)

cc: @psychedelicious

Reverting resolves the problem I was experiencing.

All custom nodes or just this one?
The error appears to be missing some portion of the message.

All custom nodes or just this one?

Seems like all custom nodes - @JPPhoto can you confirm?

The error appears to be missing some portion of the message.
My bad - updated with the full message

What have we attempted to fix the issue with custom nodes? I don't think we need to revert anything. Just fix the issue at hand. Maybe related to importing FieldDescriptions, could instead just have the descriptions in the file.

Nothing as of yet - was trying to identify the cause of the issue mostly

Ok, probably removing the import of fielddescriptions will fix it. Can copy the descriptions from the baseinvocation file.
I need to move some of those objects out of that file to avoid issues like this but will do it separately

This happened with my ideal size node as well as a node that pulled in NoiseOutput:
from invokeai.app.invocations.noise import NoiseOutput, build_noise_output


Starting up without network connection leaves HDD engaged

Description
What I observed

powered up
forgot to attach network cable
base docked
and stayed like that. Probably the program crashed when trying to do some network stuff, gotta check journalctl

What happens if we don't do it (aka Why is it important)?
if network isn't available for some reason, hdd is always docked

exposed
consumes excess power

Definition of Ready
no prequisites
Key Tasks

[ ] check journalctl what the issue is
[ ] catch that and default to undock and shutdown
[ ] maybe check network beforehand and don't even dock i.e. when NAS isn't reachable

Acceptance Criteria

[ ] when I remove the network cable and start up base, it either doesn't dock to begin with or undocks shortly after docking

journalctl -u backupserver
Jan 14 17:47:46 raspberrypi python3[320]: 2024-01-14 17:47:46,045 DEBUG: __main__: obtained IP Address of NAS: <IP_ADDRESS>
Jan 14 17:47:46 raspberrypi python3[320]: 2024-01-14 17:47:46,047 DEBUG: __main__: Backing up with command rsync -aH --stats --delete <IP_ADDRESS>::backup_testdata_source/* /me>
Jan 14 17:47:46 raspberrypi python3[320]: 2024-01-14 17:47:46,069 INFO: __main__: Starting Backup...
Jan 14 17:47:49 raspberrypi python3[320]: 2024-01-14 17:47:49,239 INFO: __main__: Backup finished.
Jan 14 17:47:49 raspberrypi python3[320]: 2024-01-14 17:47:49,240 DEBUG: __main__: Backup output task finished.
Jan 14 17:47:49 raspberrypi python3[320]: 2024-01-14 17:47:49,241 ERROR: __main__: Fehlerausgabe: rsync: [Receiver] failed to connect to <IP_ADDRESS> (<IP_ADDRESS>): No route to>
Jan 14 17:47:49 raspberrypi python3[320]: rsync error: error in socket IO (code 10) at clientserver.c(137) [Receiver=3.2.3]

just removed the line that tracked #19. It killed the program on purpose on any rsync fault to leave base in the respective state


Retry button too close to scrollbar

2.9.0 recent alphas
Tapping the retry button is very difficult as it is dangerously close to the "X" button, and most taps when I try are taken by the scrollbar.

@nicolas-raoul I would like to take this up! I am new to the application, could you help me figure out which retry button, or on which screen are we looking at? Thanks!

Feel free to take this up @sup95. :)

@vanshikaarora Do you mind if I work on this issue?

@vanshikaarora I am not working on this and will not be able to get to it, anybody could take it up:)


Update mobile-windows-universal-dotnet-authenticate-app-with-token.md

LoginAsync method should have been LoginAsync(provider, "{url_scheme_of_your_app}"); instead of LoginAsync(provider);

@niteshrestha : Thanks for your contribution to the Azure documentation! The author, @azdocprs, has been notified to review your proposed change.

@ggailey777 - Would you review the proposed changes?  Thanks


protectContentFromUser feature request

looks like the function protectContentFromUser in patreon_frontend.php checks to see what patron level they are compared to the entered level in the post.  If patron is less than said number, it will display the PatreonCampaignBanner().  Maybe it should just redirect to a page or post of Admins choosing in the Patreon settings.  This way there is 1 master page explaining your sites "Patreon Pitch" and how they can sign up.  Admin can design and put any info they want express on the page.

I like this. I will develop this functionality for you.

Well, who doesn't want both.  Since you are currently changing the $content anyways, you could just fetch the post ID of the post that will be the pitch page from the Patreon settings, and show it instead as the $content.  Also since the pitch page is standalone obviously that would be the page to sell the idea of patreon on without them having to attempt to view a patreon protected item..

This is now handled with unified pledge flow on Patreon side. Closing.


docs: spelling and grammar corrections

Types of changes

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

Checklist (all required):

[x] I have read and follow the CONTRIBUTING document.
[x] There are no other pull request similar to this one.
[x] The pull request title is descriptive.
[x] The template is fully and correctly filled.
[x] The pull request targets the right branch (develop or support/*).
[x] My commits are correctly titled and contain all relevant information.
[x] My code follows the code style of this project.
[ ] I have updated the documentation accordingly to my changes (if relevant).
[ ] I have added tests to cover my changes (if relevant).
[x] All new and existing tests passed.

Yeah let me pull it to my box real quick.

Thank you @datatypevoid. Merging.


Add CI tests for py3.13 after final release

What should we add?
Python 3.13 is scheduled to be released in its final version in October 2024, as outlined in PEP 719. This setup should be included in the CI test suite soon after the final release of Python 3.13.

The final release of Python 3.13 is scheduled for next Monday, 7 October. So, we could start preparing the update to increase the maximum supported version.

FYI: Qiskit has an open issue to support 3.13 https://github.com/Qiskit/qiskit/issues/12903

Removing the milestone pin because Qiskit 1.3 with Py3.13 support might not be released by the time our 0.8.0 is out. In this way, we can merge this update asynchronously to the release schedule.

Re-labeling to 0.8.3 since Numba, an indirect dependency, is not yet compatible with Python 3.13, leading to test failure.


Updated podspec to work on non static builds

The dependency is React-Core not React and this caused it to break when
using use_frameworks! In the main podfile :)
On Tue, 26 July 2022, 9:17 pm Mina Samir, @.***> wrote:

@.**** requested changes on this pull request.
Please can you mention the error before fixing it to add it in the release
notes !?
Thank you in advance
—
Reply to this email directly, view it on GitHub
https://github.com/MinaSamir11/react-native-in-app-review/pull/126#pullrequestreview-1050805459,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJ66LAEILU4PESEZUYWU33VV7CMFANCNFSM54NP6U6A
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

@MinaSamir11 You may want to run a release with this change included. With .69.x this library build fails without this. Errors are not helpful: symbol(s) not found for architecture x86_64
With this change though, all works well

@MinaSamir11 You may want to run a release with this change included. With .69.x this library build fails without this. Errors are not helpful: symbol(s) not found for architecture x86_64
With this change though, all works well

Will upload new release next days.


enterpoint_node_  is unsigned int, but initialized to -1. It makes me feel bad.

https://github.com/nmslib/hnswlib/blob/2571bdb6ef3f91d6f4c2e59178fde49055d2f980/hnswlib/hnswalg.h#L62

Hi @Jowekk,
This essentially the max value of the integer (0xFFFFFFFF).
AFAIK such behavior is a part of the standard, but I agree it is confusing and probably needs to changed.


Remove saddleback.edu from stoplist

@theunkn0wn1 lib/domains/stoplist.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@theunkn0wn1 Thank you for your request. Regrettably, this domain is blacklisted because one of the following happened:

the school allows to register an email address there even if you are not a student of the school.
someone from the school shared their account details publicly or sold it, and it lead to broad account misuse and license terms violation.

Therefore, we are not able to identify if the people with @saddleback.edu addresses are actual students or not.
If you are the student of this college, please apply with official document ("OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students).
I have to close this request without merging. Thank you for your understanding.

Thank you for the quick reply.
It is unfortunate, but I guess this is why we can't have nice things.
As for the license itself, I have gone through the official document method and was granted my license; i was attempting to make it easier on my peers to adopt this software.
Once on the stoplist always on the stoplist?


UsageList cannot be null

The documentation currently says "Alternatively, applications or drivers can call HidP_GetUsages and set UsageList to zero to return the required length in UsageLength" but doing so just causes the application to crash (Windows 10).
Calling  HidP_MaxUsageListLength() works though.

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

ID: 535caf6e-4209-084e-e110-3f94ec42f252
Version Independent ID: 7ff2a064-c75e-bca4-8abe-3d01010b869c
Content: HidP_GetUsages function (hidpi.h) - Windows drivers
Content Source: wdk-ddi-src/content/hidpi/nf-hidpi-hidp_getusages.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @EliotSeattle
Microsoft Alias: eliotgra

Hi @lgonzalezluna, thanks for pointing this out. Let me see if I can reach out to the devs and confirm this for you.

Hi @lgonzalezluna, I've gotten a response from the devs on this. It does look like we have a typo when referring to the correct parameter here. To get the required length, (*UsageLength) should be zero. In other words, UsageLength should be a valid pointer that points to a ULONG value 0. I'll go ahead and update the doc, and those changes should be live later today. Thanks!


Create index.file

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
I have added new Game which is Avenger End Game Puzzle Game
Fixes #2684

Mark the task you have completed ✅

[ ✅] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[ ✅] I have performed a self-review of my own code or work.
[✅ ] I have commented my code, particularly in hard-to-understand areas.
[✅ ] My changes generates no new warnings.
[✅ ] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[✅ ] I have added screenshot for website preview in assets/images
[ ✅] I have added entries for my game in main README.md
[ ✅] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[✅ ] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @SnigdhaP2022 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @SnigdhaP2022 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Fix the url remnants

When attempting to navigate to localhost:3000/mythings, it redirects to localhost:3000/mythings#/dashboard, and the "mythings" sticks around when navigating to different places. Try figuring out why it lingers.

That’s pretty normal.

On Apr 27, 2018, at 3:28 PM, Connor Grimm<EMAIL_ADDRESS>wrote:
When attempting to navigate to localhost:3000/mythings, it redirects to localhost:3000/mythings#/dashboard, and the "mythings" sticks around when navigating to different places. Try figuring out why it lingers.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/Picolab/Manifold/issues/35, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQyh3GZSDKocir0qEl3audWXGk2vE9Zks5ts42QgaJpZM4TrCf0.

In that case, I'm closing the issue until/if we start caring about it again.


How to provide publish credentials for an alternative (named) package index?

The documentation on Package indexes specifies how to provide credentials via environment variables for installing packages from a named index. The documentation on Publishing packages specifies how to provide credentials via environment variables for publishing via PyPI.
In my opinion the documentation seems to have a gap, in that it's not clear how to provide credentials via environment variables for publishing to an alternative (named) package index (e.g. a private Artifactory registry).
For example, given an index definition named my_artifactory in pyproject.toml (which defines a publish-url per the docs):
[[tool.uv.index]]
name = "my_artifactory"
url = "https://myorg.jfrog.io/artifactory/api/pypi/pypi/simple"
publish-url = "https://myorg.jfrog.io/artifactory/api/pypi/pypi-local"
explicit = true

Do I use the same UV_INDEX_MY_ARTIFACTORY_USERNAME / UV_INDEX_MY_ARTIFACTORY_PASSWORD environment variable names for publishing to the publish-url that I would for installing dependencies from the index's url ? Or should I expect to use environment variables that have PUBLISH in the name? (Or something else?)

I tried using the same UV_INDEX_MY_ARTIFACTORY_USERNAME / UV_INDEX_MY_ARTIFACTORY_PASSWORD environment variable names, but get a credentials error.
Here's the relevant part of my GitHub Actions publish job definition:
      - name: Build python package
        run: |
          uv build
      - name: Publish python package
        env:
          UV_INDEX_MY_ARTIFACTORY_USERNAME: ${{ secrets.PUBLISH_USERNAME }}
          UV_INDEX_MY_ARTIFACTORY_PASSWORD: ${{ secrets.PUBLISH_PASSWORD }}
        run: |
          uv publish --index my_artifactory

Here's the error:
Run uv publish --index my_artifactory
  uv publish --index my_artifactory
  shell: /usr/bin/bash -e {0}
  env:
    UV_CACHE_DIR: /home/runner/work/_temp/setup-uv-cache
    pythonLocation: /opt/hostedtoolcache/Python/3.12.8/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.8/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.8/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.8/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.8/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.8/x64/lib
    UV_INDEX_MY_ARTIFACTORY_USERNAME: ***
    UV_INDEX_MY_ARTIFACTORY_PASSWORD: ***
warning: `uv publish` is experimental and may change without warning
Publishing 2 files https://myorg.jfrog.io/artifactory/api/pypi/pypi-local
Note: Neither credentials nor keyring are configured, and there was an error fetching the trusted publishing token. If you don't want to use trusted publishing, you can ignore this error, but you need to provide credentials.
Trusted publishing error: Environment variable ACTIONS_ID_TOKEN_REQUEST_TOKEN not set, is the `id-token: write` permission missing?
Uploading my_package-0.2.1-py3-none-any.whl (2.5KiB)
error: Failed to publish `dist/my_package-0.2.1-py3-none-any.whl` to https://myorg.jfrog.io/artifactory/api/pypi/pypi-local
  Caused by: Failed to send POST request
  Caused by: Missing credentials for https://myorg.jfrog.io/artifactory/api/pypi/pypi-local
Error: Process completed with exit code 2.

For what it's worth, we publish to the same Artifactory registry using the same credentials in other Python projects with Poetry, so I'm pretty confident that the credentials and the URL are correct.

Thanks for all the details!
Is this a duplicate of https://github.com/astral-sh/uv/issues/9845 ?

Is this a duplicate of #9845 ?

Yes, I think it's the same issue - no objections to closing this as a duplicate of that.


Same action, multiple different image versions 20231115.7.0 and Version: 20231030.2.0

Description
Tests are running on different versions of the Runner image, which is not expected. It needs to run on the older image until rollout is 100%. This mixed versions situation is breaking our entire CI/CD pipeline!
See https://github.com/microting/eform-angular-frontend/actions/runs/6901192700/job/18775648266
Platforms affected

[ ] Azure DevOps
[X] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[X] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
None failing build:

Failing build:

Is it regression?
Don't know
Expected behavior
Not mix versions until image is 100% rolled out.
Since we use chrome for the testing in this repository, the version is critical for making the tests pass. If we upgrade our dependencies to match version 119 of chrome, all the tests running on the older image with chrome 118 fails and vice versa.
Actual behavior
Same test run is using different versions of the Runner image.
Repro steps
Create any repository which relies on a specific version of Chrome.

Hello @renemadsen. Unfortunately, it is impossible to pin the image version for certain customers by design. Also, we have our protocol to distribute the new image across all available pools. We are very sorry that you experiencing such an issue, and as a possible solution, you can switch to the GitHub large runners. Their image version update happening within one day.

Hello @renemadsen. Unfortunately, it is impossible to pin the image version for certain customers by design.
I don't need for us a customer, just that you consider to make it possible in general for all users of github. It could be solved with ubuntu-latest for bleadig edge following your rollout. Where ubuntu-22.04 only switching image version, when the rollout is 100% done.

Also, we have our protocol to distribute the new image across all available pools.
What do you mean by the above?

We are very sorry that you experiencing such an issue, and as a possible solution, you can switch to the GitHub large runners. Their image version update happening within one day.
It still have the same issue, just narrowed down to one day.

I don't understand why it's this way of rollig version instead of switching the version when rollout is 100% done?
What is the technically reason for doing it this way?

@Alexey-Ayupov actually what we need is not large runners, but some sort of stable runners. We would gladly pay for a stable CI env, where we are sure that a given runner image version is consistent across all our builds until they all switch over and not this mixed versioning as it is right now.


FixCheck and replace user sensitive characters

if we allowed insert arbitrary data into a log file, the integrity of the chain of events being recorded can be compromised.

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.08 seconds
stream load tsv:          510 seconds loaded<PHONE_NUMBER>9 Bytes, about 139 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.2 seconds inserted 10000000 Rows, about 342K ops/s
storage size:<PHONE_NUMBER>3 Bytes


grpcproxy / gateway: composed operation

There are cases where a single node wants both proxy and gateway behavior. Currently, to get both feature sets, grpcproxy and gateway must run as separate processes. This is both inconvenient and potentially inefficient. As an alternative, etcd could possibly have a gateway-grpcproxy mode that manages both connection-level proxying and protocol-level proxying.
cf. #7522 #7527

Is there a way to prioritize (at least https) that feature? The etcd3 gateway is not really working in a https environment without making changes to the certificates or by disabling the certificate checking in the etcd clients.
I know there are a bunch of other things to do, I just wanted to ask nicely :)

@pizzarabe tls termination works right now by having client <-> proxy <-> gateway <-> etcd. It's just a little unwieldy / has an extra hop, which is what this issue is meant to address.

Oh, actually, judging by the grpcproxy listener path maybe it doesn't terminate... I'll need to test this.

tls termination works right now by having client <-> proxy <-> gateway <-> etcd

Yeah, but if you have to work with both v2 and v3 API you need to use the grpc proxy and the v2 proxy, correct? The grpc proxy seems to work only with the v3 API.
If I understand the docs correctly, the gateway is not inspecting the traffic so I can use it for both api versions and I only have to run the gateway (If I want to move from v2 to v3 etcd (and using both api versions), I only need to replace my v2 proxy with the v3 gateway and everything should work fine).
In that case tls termination would be very nice.
Please correct me, if I am wrong here!

@pizzarabe that's gateway tls termination, which isn't what this issue covers.

@heyitsanthony but https://github.com/coreos/etcd/issues/7522 is talking about tls termination and it is mentioned in that issue.

@pizzarabe tls termination with respect to v3, not tls termination in general.


Uncaught Error: ENOENT: no such file or directory, open '/Users/jwomack/.atom/packages/sync-setti...

[Enter steps to reproduce below:]

Try to update the package

Atom Version: 1.6.0-beta4
System: Mac OS X 10.11.3
Thrown From: sync-settings package, v0.7.0
Stack Trace
Uncaught Error: ENOENT: no such file or directory, open '/Users/jwomack/.atom/packages/sync-settings/node_modules/github/api/v3.0.0/routes.json'
At fs.js:549

Error: ENOENT: no such file or directory, open '/Users/jwomack/.atom/packages/sync-settings/node_modules/github/api/v3.0.0/routes.json'
    at Error (native)
    at Object.fs.openSync (fs.js:549:18)
    at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:137:20)
    at Object.fs.readFileSync (fs.js:397:15)
    at Object.fs.readFileSync (ATOM_SHELL_ASAR.js:385:29)
    at Object.module.exports (/Users/jwomack/.atom/packages/sync-settings/node_modules/github/api/v3.0.0/index.js:22:33)
    at new module.exports (/Users/jwomack/.atom/packages/sync-settings/node_modules/github/index.js:184:26)
    at Object.SyncSettings.createClient (/Users/jwomack/.atom/packages/sync-settings/lib/sync-settings.coffee:198:18)
    at Object.SyncSettings.checkForUpdate (/Users/jwomack/.atom/packages/sync-settings/lib/sync-settings.coffee:46:8)
    at Immediate._onImmediate (/Users/jwomack/.atom/packages/sync-settings/lib/sync-settings.coffee:32:8)
    at processImmediate [as _immediateCallback] (timers.js:374:17)

Commands

Config
{
  "core": {
    "customFileTypes": {
      "source.ini": [
        ".buckconfig",
        ".flowconfig"
      ],
      "source.json": [
        ".arcconfig"
      ],
      "source.python": [
        "BUCK"
      ]
    },
    "disabledPackages": [
      "autoclose-html",
      "tree-view"
    ],
    "themes": [
      "seti-ui",
      "solarized-dark-syntax"
    ]
  },
  "sync-settings": {
    "_analyticsUserId": "d971b179-c80d-43cb-b338-465335d05445",
    "_lastBackupHash": "c9a94f12a0747785e171240293531d41af635fc1",
    "gistId": "25dc21963f54beda5abe",
    "personalAccessToken": "13cc28741a0492dee19103fcee6cc1d856bec40a"
  }
}

Installed Packages
# User
Stylus, v3.0.0
atom-alignment, v0.12.1
atom-grails, v0.1.0
atom-html-preview, v0.1.16
atom-import-sort, v0.6.0
atom-jade, v0.3.0
atom-pair, v2.0.10
atom-ternjs, v0.13.2
atom-wallaby, v1.0.7
autocomplete-paths, v1.0.2
color-picker, v2.1.1
csslint, v1.1.4
highlight-column, v0.5.1
highlight-line, v0.11.1
highlight-selected, v0.11.2
ide-flow, v0.8.0
js-refactor, v0.6.0
language-babel, v2.15.5
language-gitignore, v0.2.0
language-javascript-jsx, v0.3.7
linter, v1.11.3
linter-eslint, v7.0.0
linter-jscs, v3.4.8
minimap, v4.20.0
nuclide, v0.120.0
pigments, v0.24.4
project-manager, v2.7.6
react, v0.14.1
refactor, v0.6.0
seti-ui, v0.9.1
sync-settings, v0.7.0
travis-ci-status, v1.0.0
webbox-color, v0.5.9

# Dev
No dev packages

Duplicate of #194

In the above error report you have shared your personalAccessToken. You must revoke it to prevent abuse.


CCColor4B(byte,byte,byte) - System.NotImplementedException: The method or operation is not implemented.

I've added CocosSharp and CocosSharp.Forms packages to a UnitTest project.
References e.g. packages\CocosSharp.<IP_ADDRESS>\lib\portable-net45+win+wpa81+wp81\CocosSharp.dll
In my test I simply do a
var color = new CCColor4B(0,0,0);
It compiles fine but during running the test I get a
System.NotImplementedException: The method or operation is not implemented.
at this line.
What's wrong here?

Seems that testing is only possible with platform-dll.


How to claim hermitian-semidefinite constraints?

Describe the bug
I am trying to solve a semidefinite programming and one of my constraints is hermitian-semidefinite matrix. I am pretty sure the problem is solvable since I solve it on MATLAB successfully. But I get inf as my result.
Expected behavior
I believe the problem can be solved and report some numerical value, not inf.
Version

OS: Mac0S 10.15.7
CVXPY Version: 1.0.25

Additional context
I search the solution online and one possibility is that my CVXPY Version is old. I need to update to 1.1. If this is the case, could you please tell me how to upgrade CVXPY?

@liaochunyang let us know if updating didn't fix your problem. Otherwise I'll close this issue the next time I review it.

Closing for inactivity.


[monorepo] Setup initial scaffolding

Based off @counterfactual, we should create a monorepo.

Closed via 5663a39.


Added a brief HTTP Endpoint description

HTTP endpoint is an ambiguous term, but I tried to clarify what the original writer meant in this case, as per comments requests.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@mihemihe  nice work!


Problems deleting objects

Note: If your question is regarding the AWS Amplify Console service, please log it in the
official AWS Amplify Console forum

Which Category is your question related to?
GraphQL Mutation
Amplify CLI Version
You can use amplify -v to check the amplify cli version on your system
4.45.2
What AWS Services are you utilizing?
Provide additional details e.g. code snippets
I'm not sure this is the correct forum for this question. If not please tell me where I should post this.
I'm using aws amplify, with GraphQL, with Dynamo DB. Basically using the same setup that is used with the demo code
https://docs.amplify.aws/start/getting-started/data-model/q/integration/angular#testing-your-api
I have 93 Player objects in the DB. I have a function that is intended to delete all the players.
I'm currently getting a list of their ids, and then deleting them one by one. I believe this is the only way to do this as I tried using the condition parameters, but they don't seem to work for delete.
For some reason only 47 objects get deleted. Leaving 46 behind. I get no errors thrown on the client. The console output logs the delete with no issue. When the display is refreshed, I see 46 items left.
I check the DB via the appsync queries console, and I can see the 46 objects.
I then do a delete again, and the remaining objects get deleted.
Is there some sort of internal limit I'm hitting? I can not figure out why I have to do delete them twice. A work around I guess, would be to loop the delete function, but ideally would like to learn what I am doing wrong.
try {
        await this.api.DeletePlayer({id: player.id});
        console.log("Deleted Player: " + player.id);
      } catch(err) {
        console.log(err);
      }

Also, maybe it's related to some internal limit, but I'm creating Player objects by reading a csv file and doing a loop calling this.api.CreatePlayer(...)
It's called 139 times, but only 93 players get created. I get no errors thrown in the console, and no indication why the 46 Players are not created.
Since 46 players are not being created in the loop, and 46 players are left behind in the delete loop, it seems like something fishy is going on. I'm running in the latest Chrome browser...could there be something going on with the browser?
  createPlayer(firstName: string, lastName: string, dob: string,
    leagueId: string, divisionId: string, playerNumber: number, group: string)
  {
    this.api.CreatePlayer({firstName: firstName,
      lastName: lastName, dob: dob, playerLeagueId: leagueId, playerDivisionId: divisionId,
      playerNumber: playerNumber, group: group}).then(player => {
      //console.log('player created!');
      return player;
    })
    .then(player => {
      console.log('player finished creating: ' + player.id + " " + player.firstName + " " + player.lastName);
    })
    .catch(e => {
      console.log('error creating player...', e);
    });
  }

Thanks,
Rich
division-detail.component.ts:186 DELETE PLAYER ID COUNT: 93
division-detail.component.ts:200 Deleted Player: bb93cc91-8f0f-4ef7-ae80-4ef325e00597
division-detail.component.ts:200 Deleted Player: 07f2a7a5-15a0-4cbb-8458-78aa71d09e25
division-detail.component.ts:200 Deleted Player: e5982bf1-247c-41ee-b538-bd19a5b7591f
division-detail.component.ts:200 Deleted Player: d5d94270-53f2-4595-b9e2-53c84e985fe8
division-detail.component.ts:200 Deleted Player: 477834e0-56b2-4d65-ad6a-905634c966db
division-detail.component.ts:200 Deleted Player: 6b5c9c89-f237-407d-9470-7a8f2180e2af
division-detail.component.ts:200 Deleted Player: 980a7cd9-52dc-4326-9912-190ea01d0849
division-detail.component.ts:200 Deleted Player: 0a6c8844-c444-44f8-97d4-756fac3b9e12
division-detail.component.ts:200 Deleted Player: 61da953d-4390-40cd-99ae-b82df793a13e
division-detail.component.ts:200 Deleted Player: 9b08d8d5-3ef5-499b-a38b-fb0a265b9b6a
division-detail.component.ts:200 Deleted Player: 3b866ae7-85cc-4d78-aa45-84b56783b43a
division-detail.component.ts:200 Deleted Player: b0cafd3a-6a52-490d-b8c1-549737d60f03
division-detail.component.ts:200 Deleted Player: c64cf3b5-e691-4f69-9fd1-8c2b242de00e
division-detail.component.ts:200 Deleted Player: 12e725c4-8ff5-4b05-b6c3-e8ce27b6ba1f
division-detail.component.ts:200 Deleted Player: 3de4277a-9459-4ba4-9631-3a6700095bc8
division-detail.component.ts:200 Deleted Player: 8023e796-3c8e-4e3d-a8bf-dec4cf089a88
division-detail.component.ts:200 Deleted Player: 777158d4-6402-4016-a265-de824bbe95bb
division-detail.component.ts:200 Deleted Player: b6c59d28-9734-44f0-a45d-c75432ab6660
division-detail.component.ts:200 Deleted Player: cb86f701-2503-4484-9250-d09f4f095e57
division-detail.component.ts:200 Deleted Player: 6905ea75-b64e-4d4b-bb80-9441e383f05d
division-detail.component.ts:200 Deleted Player: 60006052-ae9e-4d68-8902-49c9b0ac11fa
division-detail.component.ts:200 Deleted Player: 10e10b61-47e6-4c20-b890-623ce4ea01cc
division-detail.component.ts:200 Deleted Player: 203e65ff-fd0c-43b0-b6bc-c5c996c6b045
division-detail.component.ts:200 Deleted Player: f2ee4116-ab02-4e3a-919b-b4b1f5663ed7
division-detail.component.ts:200 Deleted Player: 1ada2db1-cc66-46fd-9703-c75d8e417731
division-detail.component.ts:200 Deleted Player: c014ea5e-3d40-42af-801f-cca58859e0e6
division-detail.component.ts:200 Deleted Player: 3ac1ba45-8649-49ea-b233-7e5d1289a89c
division-detail.component.ts:200 Deleted Player: 9c1fcd93-e573-4953-9e16-e6924b83e245
division-detail.component.ts:200 Deleted Player: 530b5932-7c5e-4b01-914a-42d74b1f60fa
division-detail.component.ts:200 Deleted Player: 97370bc0-9c1e-49b0-a25b-1bcd17a8d22f
division-detail.component.ts:200 Deleted Player: 93bc4a17-1c82-4767-9206-5c18594a6a55
division-detail.component.ts:200 Deleted Player: 42bc2bd9-c33f-4d78-b7d3-3c5128503c76
division-detail.component.ts:200 Deleted Player: a2d39d76-d2b0-45dc-974b-dc8f03e9c93c
division-detail.component.ts:200 Deleted Player: 64bafbba-d159-4804-8203-89559283000f
division-detail.component.ts:200 Deleted Player: 95bd473a-ce70-4639-b0b2-cb202542ed94
division-detail.component.ts:200 Deleted Player: 5a8cab5a-3b8d-44fb-9d34-d7263e288a5d
division-detail.component.ts:200 Deleted Player: d78decfb-12a1-424f-832d-13d89af27ee7
division-detail.component.ts:200 Deleted Player: 432293f7-9925-4424-88b1-59d02ad8395b
division-detail.component.ts:200 Deleted Player: c9b91f1b-af4e-4991-848a-ac5213b9b767
division-detail.component.ts:200 Deleted Player: bc10441a-e717-4e6b-82f6-72e9333d5cc1
division-detail.component.ts:200 Deleted Player: f1b80b92-2e01-4f83-8016-eb07bb560d65
division-detail.component.ts:200 Deleted Player: f6431e78-f723-4739-8301-69c5304e2b44
division-detail.component.ts:200 Deleted Player: 6f076e84-5ff3-42ec-b90e-9aa4ab0049e4
division-detail.component.ts:200 Deleted Player: 216b0ee7-c105-4b3a-bbc6-e03b68293e6a
division-detail.component.ts:200 Deleted Player: 23b6f5aa-6857-4fb0-842d-982d82fb7e82
division-detail.component.ts:200 Deleted Player: c754e03c-647d-401e-b3ba-6065198dd2d0
division-detail.component.ts:200 Deleted Player: 3d316dae-9c81-49ac-aa1b-0a9a57140d74
division-detail.component.ts:200 Deleted Player: da568490-df91-46e5-a718-276363d6d7e2
division-detail.component.ts:200 Deleted Player: dd1b602b-7c65-4c2b-82c0-cd17cc37770e
division-detail.component.ts:200 Deleted Player: dfb32e19-cacf-41d0-b468-d1a8c3b698b6
division-detail.component.ts:200 Deleted Player: 019a81fc-f4b9-4747-8900-634852031d15
division-detail.component.ts:200 Deleted Player: 3c4120f6-6b4a-4fed-b07e-07435f25c1a0
division-detail.component.ts:200 Deleted Player: e96f957f-2351-4a24-a9e8-ebdc533fe28b
division-detail.component.ts:200 Deleted Player: b98ba87d-0a54-4c30-b1c5-f870eb541bcd
division-detail.component.ts:200 Deleted Player: 99cdb491-8332-4b43-926e-38b8e3103b82
division-detail.component.ts:200 Deleted Player: 848bc8c3-432e-4ac6-a5dd-95a5c74f211b
division-detail.component.ts:200 Deleted Player: 5fc6de28-169b-435f-9811-006b064a0c3e
division-detail.component.ts:200 Deleted Player: 3d92dc7f-c613-40d6-af34-a71d838034e5
division-detail.component.ts:200 Deleted Player: 24c42382-c17e-474c-a47f-d53774549260
division-detail.component.ts:200 Deleted Player: 3f418722-ed2c-416c-bb45-22032f1d1be4
division-detail.component.ts:200 Deleted Player: 3567a8d5-473d-4686-bb65-09911f1157f3
division-detail.component.ts:200 Deleted Player: 2ed54252-7faf-4742-83ad-2abdf463b469
division-detail.component.ts:200 Deleted Player: 0d0e31db-10e3-4ebc-af5a-5d9874d8e10b
division-detail.component.ts:200 Deleted Player: 6b5b8a28-b4d6-4bcd-b200-252047767f5b
division-detail.component.ts:200 Deleted Player: 706451e2-c4a3-497d-8567-0dfc2f31ae67
division-detail.component.ts:200 Deleted Player: 36f3b5dc-82d6-4804-9d30-68fbdc47e0a0
division-detail.component.ts:200 Deleted Player: 1e691cf3-2379-45fe-8b78-cf52f7885022
division-detail.component.ts:200 Deleted Player: de2ada68-e2c4-4047-84ba-86a2d138a34a
division-detail.component.ts:200 Deleted Player: 48df9828-7b3c-4a47-8b4c-cc25c093ce11
division-detail.component.ts:200 Deleted Player: 0c6a58a3-46f7-4dc4-a092-fcab56cc2ea1
division-detail.component.ts:200 Deleted Player: bc867f1e-e738-4d86-8272-ef95a9615036
division-detail.component.ts:200 Deleted Player: ead9cf5b-2dd8-4c2c-8579-2ab572ab0b4c
division-detail.component.ts:200 Deleted Player: da210663-f4bc-47ed-ae6c-14169645606a
division-detail.component.ts:200 Deleted Player: e6ac3355-7cce-4ff8-b630-5f48ae3baf9f
division-detail.component.ts:200 Deleted Player: 68de4bb8-6ef4-447d-89bb-5d9b4a665056
division-detail.component.ts:200 Deleted Player: abe493f2-bbde-48ea-b667-8767a875700f
division-detail.component.ts:200 Deleted Player: 792943a0-3f6d-4449-b099-30ef12bce06d
division-detail.component.ts:200 Deleted Player: 88418a22-e173-4504-a0dd-a81b88a4f08c
division-detail.component.ts:200 Deleted Player: 0116a508-d712-4d14-b614-c2e967ef23cf
division-detail.component.ts:200 Deleted Player: 3d79d7cd-37cd-41ab-a2f5-9dec988ebbf0
division-detail.component.ts:200 Deleted Player: 3f1f148d-d95c-4f28-ba87-ad9e87f33371
division-detail.component.ts:200 Deleted Player: c2d47379-ee9d-4a4a-9e8f-d14c712cfe10
division-detail.component.ts:200 Deleted Player: c12f3dee-4a11-4284-a6ba-0f177fd2f453
division-detail.component.ts:200 Deleted Player: 832e7233-8856-4c08-b130-39f8211aeded
division-detail.component.ts:200 Deleted Player: b9e85988-1aeb-41c1-895e-d1992e5c9e3e
division-detail.component.ts:200 Deleted Player: 9774b0c0-9a85-4115-8585-837ef6f8a8f3
division-detail.component.ts:200 Deleted Player: cd3d11bb-969f-449e-95d9-4a56e7d863b0
division-detail.component.ts:200 Deleted Player: 6733c4b1-9d6e-4926-b9df-36dec0712970
division-detail.component.ts:200 Deleted Player: 35ecd2d5-e2aa-49ef-b833-235ad6208a8a
division-detail.component.ts:200 Deleted Player: 684cfd1e-7057-4313-ac61-5f3c6d949775
division-detail.component.ts:200 Deleted Player: 93b85ef2-bf64-402c-9aa5-a79907d18c34
division-detail.component.ts:200 Deleted Player: e6585683-171f-4bd6-a9b5-dafb84efec0e
division-detail.component.ts:200 Deleted Player: d0e604af-eb79-4968-a681-05dcd9aa230c
division-detail.component.ts:81 Player IDs: length: 46
46division-detail.component.ts:106 SCORE: 0

Hi @awhig , thanks for reaching out!
I'm going to transfer this the the amplify-js repo to get some more eyes on it.


Change batch size issue

I change the batch size (from 1 to 4, for ex) under txt2img and it seems to cause the Generate button to stop working. I need to refresh the gradio page for it to start working again. Please help. Thank you.
Change the batch size (1 to 4), generate, and then try to generate again after the batch renders.

I think that's a problem with Gradio, when the images don't reach back fast enough from google colab to gradio, it also happens when the resolution is big.
You can find the generated images inside your google drive even if they don't show in the gradio UI.


Invalid database constraint specification

Taking the example of BookingEntity, there are several @NotNull annotations on fields like email. However, there is no database constraint at all assuring, that email is never null, which should be done by @Column(nullable = false).
Take a look also on the other entities. It seems to be a failure in use in several entities.

Hi @maybeec,
this issue is possibly solved with this PR https://github.com/oasp/my-thai-star/pull/27. May we close this?


ci: add workflow with smoke-build with kas

The workflow is a straightforward kas build with worker-local state used as download and sstate-cache directories.

This is failing due to usrmerge. I think we need to improve the recipe a little.

I'll merge this even though CI is failing as this catches an existing failure that was just not there before (kirkstone kernel moved, broke our patches).


avr/pgmspace.h: No such file or directory

Issue description
After avrgcc libc binutils was splitted I can't build qmk firmware.
It hangs with following error:
In file included from keyboards/atreus/atreus.h:4:0,
                 from keyboards/atreus/atreus.c:1:
./quantum/quantum.h:20:26: fatal error: avr/pgmspace.h: No such file or directory
compilation terminated.

Steps to reproduce
git clone https://github.com/qmk/qmk_firmware.git
cd qmk_firmware
make atreus
Technical details

System: 17.09.1535.1fdca25ee8 (Hummingbird)
Nix version: nix-env (Nix) 1.11.15
Nixpkgs version: "17.09.1535.1fdca25ee8"
Sandboxing enabled: false

Try running  nix-shell in the qmk_firmware directory, I recently added a shell.nix to make the build work.

It works but looks like a hack.

I see shell.nix in the qmk_firmware folder, but even after running nix-shell, I still have the same problem.

I ran into the same problem, and was able to work around it by copying the approached used here.
I suspect this happens because avr-gcc is a direct symlink to the executable, instead of using the cc-wrapper script like gcc does. I had a go at getting avr-gcc to use it, but unfortunately I'm not familiar enough with Nix to get it working.


unbound: 1.19.1 -> 1.19.2

Changes: https://www.nlnetlabs.nl/news/2024/Mar/07/unbound-1.19.2-released/
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Cherry-picked to staging-next for testing, successfully built gnutls, python3.pkgs.pyunbound, macos 12 x86_64. Built libreswan, stringswan, python3.pkgs.pyunbound on nixos x86_64. Built pkgsi686Linux.{unbound,gnutls,python3.pkgs.pyunbound}, pkgsStatic.gnutls, pkgsCross.aarch64-multiplatform.gnutls.
No current build capacity to do the nixos tests.

We don't really need to as the only change in this version is the CVE fix https://github.com/NLnetLabs/unbound/compare/release-1.19.1...release-1.19.2


Feature: Thermal Expansion Coefficient

I know the work is still in progress. But I have seen one important aspect that should be fixed asap: The formatting differs from the general formatting of the package. This would result in a lot more code to review than necessary: So we should solve this issue within the next days.

Same here as in #108 @stkroe


NERSC GitLab Example

There is now a new lsstdesc/examples/mirror-desc-continuous-integration set up on NERSC GitLab (software.nersc.gov) which for now can be manually run to mirror this repo.  I should briefly write up how to do this under docs/gitlab.rst or some similar file.
The new files in this PR set up a simple example CI which demonstrates running a script on cori.
To view things on the NERSC GitLab side - I need to add people as members.  I don't see you @stuartmcalpine in the list of users - I suspect you just need to log into software.nersc.gov using your typical NERSC credentials and you'll likely be initialized in the system so I can find you.
So two things left to do:

Provide some doc
demonstrate returning the status of running a job at NERSC

I've managed to login to NERSC gitlab now (@mcalpine)


Nested Mode

These are the minimum changes required for a mostly seamless gamescope session, nested in an existing desktop session. This allows recording the entire session with tools like OBS, which isn't possible in a normal gamescope session.

I've just realized I can implement this as a separate add-on script compatible with chimeraos, steamos3, and this gamescope-session package. Closing this in favor of that option.


add Admin acknowledging service edits feature

https://trello.com/c/CnowkGc5
This was originally going to be at least two different scenarios, but I realized that the setup of the "race condition" test was the same as the contents of the first test, so decided not to waste anyone's time making it do it twice.
Can anyone think of any other scenarios I could test?

Ok fixed now - just managed to pass 100% when run on staging.


Thoughts on text rendering performance

The source docs don't give much information, but based on what little code I've read, is it true that nanovg allocates a new texture atlas every time I draw text?
No? Then will a new texture atlas get created if I call nvgFontSize? Maybe I should avoid calling this very much?

NanoVG caches a glyph for each typeface/size (size is quantized to one decimal place). If you render same size text all the time, then it should not be a problem.
If you see atlasses create each frame, then that is a bug. I'd appreciate a repro case for that.

Thanks, that's what I was hoping for, it just didn't look that way when I was trying to read the code.
I'm planning to run some performance tests next weekend since my bitmapfont library is just about done and I wanted to make comparisons between nanovg's text rendering, sdl_ttf, and my own. I suspect sdl_ttf will probably be the worst.


PAYMENT GATEWAY ADDED USING RAZORPAY

Description
When the checkout button is clicked then the payment methods appear and user can pay through various methods.
MAKE SURE TO REPLACE THE RAZORPAY KEY AND SECRET ID OF YOUR ACCOUNT
ALSO TO ADD UPI / CODE KYC MUST BE DONE WITH PAN , AADHAR VALIDATION
RAZOR PAY - SAFE AND SECURE
How Has This Been Tested?
Yes the code has been tested with various checks
Screenshots (if appropriate):

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

@MuthuvelA resolve the conflict , Is there any api  key involve ?

@MuthuvelA resolve the conflict , Is there any api key involve ?

Resolved the conflict, yes the razor pay key and secret key is involved it should be placed in pages -> cart ->index.js

@MuthuvelA great work , will add the key after words


Escaped quotes creating triple quotes

Hello! Great tool, thanks for sharing!
I'm having a small issue with escaped quotes.
Ideal output "HEADER1","HEADER2"
Resulting output """HEADER1""","""HEADER2""" or  HEADER1,HEADER2
Tested code:
var headers = ['HEADER1', 'HEADER2'];
var headers = ['\"HEADER1\"', '\"HEADER2\"'];
Is there a way to specific an enclosing tag perhaps?
Thanks!

"" is how CSV escapes a double quote character, so encoding the JavaScript string '"HEADER1"' would be expected to produce """HEADER1""".  This seems to be a case of bad input causing bad output.

Looking for more of an explanation here. I have tried to following:
headers = ['HEADER1', 'HEADER2']  results in HEADER1,HEADER2
headers = ['"HEADER1"', '"HEADER2"'] results in  """HEADER1""","""HEADER2"""
so what should my array be formatted as to result in:  "HEADER1","HEADER2"

@willyts The CSV line HEADER1,HEADER2 is semantically equivalent to "HEADER1","HEADER2". Quotes are only needed to escape the characters ", ,, and newline.

@cdhowie absolutely makes sense, however in this use case the processor that picks up these files expects that each field be double quoted to escape "this,stuff" so a comma can appear within a field.

If a field contains a comma, it will be escaped.  For example, the input ['a', 'b,c', 'd'] would be expected to produce a,"b,c",d.  (Only the second value needs escaping.)
Are you saying that the parser you have to emit for requires quotes on all fields?  That would be a bit silly (though not unheard of).

"Are you saying that the parser you have to emit for requires quotes on all fields? That would be a bit silly (though not unheard of)." yes :( unfortunately

Then I would suggest using another module that has an option to force quoting all fields for braindead parsers.  csvwriter has such an option ({ quoteMode: 1 }).

Thanks @cdhowie much appreciated!

Was looking to do the exact same thing, by forcing double-quotes around each entry in each row.
csv-write-stream works great otherwise. I will check out csvwriter
Thanks

Possible patch for anyone looking for it:
Index: index.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/index.js b/index.js
--- a/index.js	(revision c817170d6b7812eb552da20fcbd5cb3a4012b9d1)
+++ b/index.js	(revision 6ab352301beca66300b54b450ffd9f38edd40c3f)
@@ -10,6 +10,7 @@
   this.headers = opts.headers || null
   this.separator = opts.separator || opts.seperator || ','
   this.newline = opts.newline || '\n'
+  this.forceQuote = opts.forceQuote || false

   this._objRow = null
   this._arrRow = null
@@ -22,6 +23,7 @@
 CsvWriteStream.prototype._compile = function(headers) {
   var newline = this.newline
   var sep = this.separator
+  var forceQuote = this.forceQuote;
   var str = 'function toRow(obj) {\n'

   if (!headers.length) str += '""'
@@ -31,18 +33,22 @@
     return 'a'+i
   })

-  for (var i = 0; i < headers.length; i += 500) { // do not overflowi the callstack on lots of cols
+  for (var i = 0; i < headers.length; i += 500) { // do not overflow the callstack on lots of cols
     var part = headers.length < 500 ? headers : headers.slice(i, i + 500)
     str += i ? 'result += "'+sep+'" + ' : 'var result = '
     part.forEach(function(prop, j) {
-      str += (j ? '+"'+sep+'"+' : '') + '(/['+sep+'\\r\\n"]/.test('+prop+') ? esc('+prop+'+"") : '+prop+')'
+      var nm = '(/['+sep+'\\r\\n"]/.test('+prop+') ? esc('+prop+'+"") : '+prop+')'
+      if (forceQuote) {
+        nm = '(/['+sep+'\\r\\n"]/.test('+prop+') ? esc('+prop+'+"") : quote('+prop+')+"")'
+      }
+      str += (j ? '+"'+sep+'"+' : '') + nm
     })
     str += '\n'
   }

   str += 'return result +'+JSON.stringify(newline)+'\n}'

-  return new Function('esc', 'return '+str)(esc)
+  return new Function('esc', 'quote', 'return '+str)(esc, quote)
 }

 CsvWriteStream.prototype._transform = function(row, enc, cb) {
@@ -97,3 +103,7 @@
 function esc(cell) {
   return '"'+cell.replace(/"/g, '""')+'"'
 }
+
+function quote(cell) {
+  return '"'+cell+'"'
+}


refactor: comments repository

Describe your changes
Related Issues / Projects
Checklist

[x] I've manually tested my code
[x] The changes pass pre-commit checks (make lint)
[x] The changes follow coding style

tested on local and is working


It will be great if attachment's payload can be lazy-loaded.

For now, loading payload when Attachment object created is default behavior.

my mistake


mark all node_modules as external

only marking peerDeps as external is not enough. for packages, everything should be external, because the user's bundler already knows how to install the correct dependencies specified in package.json#dependencies.
closes #284, see https://github.com/KittyGiraudel/react-a11y-dialog/issues/284#issuecomment-1694648829
other improvements that should probably also be made (in different PRs):

add exports field to package.json
remove UMD build
remove prop-types

Shall we maybe use webpack-node-externals?

hmm, i'm not sure how webpack-node-externals would fit into rollup.
that said, i ran a build and inspected the output, it was correctly excluding all deps instead of bundling them.

Unfortunately that didn’t work. We’re back to prop-types being missing:
TypeError: Cannot read properties of undefined (reading 'oneOf')
    at file:///Users/kitty/Sites/stormbound-kitty/node_modules/react-a11y-dialog/dist/react-a11y-dialog.js:121:25
    at file:///Users/kitty/Sites/stormbound-kitty/node_modules/react-a11y-dialog/dist/react-a11y-dialog.js:4:80
    at file:///Users/kitty/Sites/stormbound-kitty/node_modules/react-a11y-dialog/dist/react-a11y-dialog.js:5:3
    at ModuleJob.run (node:internal/modules/esm/module_job:198:25)

Which makes sense. If it’s not bundled, where is it coming from? I suspect a11y-dialog to also be missing this way.

So I’m thinking maybe the compilation type is wrong. Perhaps we shouldn’t use umd, but cjs.

I’m going to roll back to using Babel I think. At least it was working. 🙃

yeah UMD shouldn't really be used at all (which is why I mentioned removing it in the PR description), and even CJS is largely unnecessary. I was only testing it with ESM.
in the current published version, dependencies from react are still getting bundled, which is not ideal (at best it bloats up the bundle, at worst it leads to unexpected cryptic errors at runtime). let me know if you're still interested in follow-up PRs

Prop types and TypeScript serve slightly different purposes though since they operate at different time (runtime vs. compile time). But yeah, perhaps with tooling becoming better, prop types are less useful than they used to be. I wouldn’t be opposed to have a MR to remove them.


cn/make-instance should always parse the record-name

fixed here: https://github.com/fractl-io/fractl/pull/1430


Replace kubeval with kubeconform

Is your feature request related to a problem? Please describe.
kubeval is no longer supported.
Describe the solution you'd like
Replace kubeval with kubeconform per recommendation in kubeval's README. I have been using kubeconform in place of kubeval for quite some time and it works well.
Describe alternatives you've considered
There is also kube-linter, but it has slightly more opinionated linting rules than kubeval/kubeconform.
Additional context
This has been requested before: https://github.com/github/super-linter/issues/2460

This was implemented in https://github.com/super-linter/super-linter/pull/3800


Add HBP funding acknowledgment and main authors file.

@berthelm I added the HBP acknowledgement to the README (front page on github) and as a separate file. I am not sure if I should also add it to LICENSE.txt. Please let me know if I should.

@lidakanari @eleftherioszisis @mgeplf I added you to the new AUTHORS.md file. Please let me know if that is OK with you, if you want your name to be hyperlinked to something, or if you have any other suggestions.

I wondered that too (about adding it to the license text)  but I don't think we should. My reasoning is that the license is a legal statement about rights whereas the acknowledgements has less legal importance and is standalone. (IMHO)

It looks good to me, please merge.
Thanks,
Julian


Restack 1.1 macros and symbols to meet spec changes

See also: https://github.com/amazon-ion/ion-rust/pull/879
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

I know what's going wrong with ion-tests- I ended up pulling in an older version somehow. I'm working through that and I will first publish an update to ion-tests and then a new revision to this PR.


[Task] Add temporal information to the challenge card

Update the challenge card, so that a user can more easily infer what the start/end dates are at a glance. For example:

See #2185 for more details.

Added to Sprint 23.11


My Add button didn't work. Help!

Problem with add button. Can someone help me with it?

Check if you have included jquery ui in your page as $.fn.dialog is not defined.

I have included the jquery by the way. But still, Uncaught TypeError: $(...).dialog is not a function..

my .dialog is okay now.. but showDetailsDialog is error..

I guess, you have not defined this function. Just read the error message.

Actually, I am combining jsgrid PHP backend with your data manipulation. Do you have data manipulation for PHP though?

I guess, you have not defined this function. That's exactly what the error message says

No, it's two different things: demos are client-side, and backend samples are backend-side stuff. They can be used interchangeably.

Thanks tabalinas.


Remove Judy dependencies from vespa.spec.

@aressem : please review
@vekterli , @baldersheim : FYI

Seem to be an unrelated java unit test failure in PR build.


Missing break when applying fonts

First commit adds breaks and second one uses a switch with default (I don't know if your style guide allows multiple returns).
Are you going to use this fonts a lot in your app? if you plan on using several fields the recommended way of doing it is using a factory that 'caches' the fonts. And also a custom textview to not have to set the font manually from java code. I can send a pull with the changes :)

Thanks @nhpatt! We appreciate (and expect) pulls :)


replApi/interpApi -> repl.apl/interp.api

Should help avoid capitol letters in the published module names

boo CI y u no pass :(

@lihaoyi That's basically green now (could be even greener with things like this)

looks good to me!


Fix LIKE and ILIKE clauses in MySQL adapter

MySQL does not have an ILIKE clause, and so attempting to use Ecto's ilike function results in an SQL error. MySQL's LIKE clause is case-insensitive by default, however, and so that can simply be used. Also, since Ecto's like function is suppose to be case-sensitive, we need to perform a binary string comparison in MySQL to get the desired behaviour.

I'm not sure I agree with changing the database semantics of functions. I'd probably expect like to be translated straight into LIKE clause without any changes similar to how it's done today. The user should be aware of how database treats various functions. Furthermore like in the documentation gives no guarantees about case sensitivity. Because of this I'm against the change of like translating to LIKE BINARY.
Obviously broken ilike is an issue. A solution would be to raise an error explaining that MySQL does not support ilike, but I think we should rather support it in that case. Changing ilike to translate to the MySQL's LIKE is an acceptable solution.

Hi Michał,
I can understand your view point for wanting a direct translation of Ecto's like to MySQL's LIKE, but I feel that it introduces unnecessary difficulties for developers. Without some form of basic abstraction, developers will be required to know how LIKE differentiates between different SQL dialects of different databases. If this inconsistency is not known, then moving from Postgres to another database may introduce subtle application bugs. If Ecto could provide some sort of consistent interface amongst databases, then this would simplify things for the developer.
So I feel like it would be better to have consistency amongst the like and ilike functions in Ecto, regardless of whichever database is used. Otherwise, developers will need to know the intricacies of inconsistencies between different DB SQL dialects and be forced to inject SQL code fragments for simple behaviours like this.
Good point on the documentation though. Seeing a case-insensitive version (ilike), I just assumed that like was for case-sensitive matchings (which it is for Postgres, even though it was not explicitly stated).

I did a little research on how other databases behave:

Postgres - like is case-sensitive, ilike is case-insensitive
MySQL - like is case-insensitive
SQL Server - like is case-insensitive
SQLite - like is case-insensitive

Given that, it's rather postgres that is behaving "oddly" - ilike is a postgresql-only extension.
\cc @josevalim thoughts on that?

I am not sure. In any occasion, ILIKE translating to LIKE or vice-versa would be confusing. I can see two options:

Document LIKE and ILIKE behaviour are database specific

Remove the two functions

Reference to related discussion: https://github.com/xerions/mariaex/issues/78

1. Document LIKE and ILIKE behaviour are database specific

Does this mean ilike should translate to like for all databases (other than Postgres)? Or that ilike should simply throw an error for all databases (other than Postgres)?
2. Remove the two functions

For a common operation, it would be a shame to remove both functions from Ecto's library.
Given that like is predominantly case-insensitive, couldn't it be documented for case-insensitive matchings across all databases (incl. Postgres), and just remove ilike (since that didn't work for MySQL or SQLite anyway). For case-sensitive matchings, developers can instead use raw SQL according to their DB (Postgres = LIKE, MySQL = LIKE BINARY, SQLite = some weird hack, MSSQL = ...).
Whilst it's not ideal for Postgres to have like mapping to ilike, it would be consistent amongst all other databases. Plus case-insensitive matching seems to be the more common scenario anyway, so supporting it consistently across all databases from Ecto would be nice.

So this means a third option. Supporting only like and make PG use ILIKE for it. 1, 2 or 3?

Maybe we can just write in the docs, that ilike is used only in PG, similar to how it is written in PG docs.

I vote for creating a third (and fourth?) function that is consistent in case-handling in ecto. A new function means that users would not be confused if like in ecto does not work like it does in the underlying database and ecto would be consistent.

I looked for how it's solved in other languages. Django offers contains that is case sensitive and icontains that is case insensitive. Maybe we could adopt those and deprecate like and ilike?

The issue is that like supports special characters. If we call it "contains", we will support like's special characters still? Then will the documentation simply says: "uses the DB LIKE"?

OK, we have decided to continue translating like/2 directly to LIKE and remove ilike/2 from MySQL. The reasoning is: there is no way like can behave consistently across databases, specially because each database support a different combination of characters and escape sequences: http://stackoverflow.com/questions/712580/list-of-special-characters-for-sql-like-clause.
In particular, MySQL is not always case sensitive or insensitive, it depends on the character collation.
I also think it suits well with Ecto's philosophy of staying closer to the database instead of trying to mimic features. Thanks everyone for the input and feedback.

delet

delet

delet

d