Allow to select s3 bucket region for static contents

Is your feature request related to a problem? Please describe.
Hi! We are currently experiencing some performance loss with our next.js webapp hosted via Amplify. The server-side-rendered webapp contents are generated via Next.js ISR Lambda@Edge, put into S3 and served from there over CloudFront CDN. Whenever now the contents expire in the CDN, the data is fetched from S3 via a Nex.js Lambda@Edge. The CDN as well as the Lambda@Edge are running close to the clients in Europe, but with S3 being deployed in us-east-1, all requests after the CDN invalidation take unnecessary long.
Describe the solution you'd like
In order to boost the performance of delivering our static pages, we want to be able to select the S3 region in Amplify, where the static contents should be hosted.
Additional context
Even though the requested feature would be a great improvement in TTFB (time to first byte) for us, there is an additional improvement to skip the call to S3 entirely. If CloudFront would support the Cache-Control feature "stale-while-revalidate", CloudFront will do the call to S3 or Lambda@Edge asynchronously and have the latest static content ready to be served on the next call. This would be pretty nice, especially in the context of Next.js and ISR. E.g. Vercel is supporting this on their CDN.
Thanks and best regards
Rob

I just wanted to add some finding.
We set up Serverless Next.js, which is a kind of self-managed version of running the Next.js stack in AWS. With this solution, we were able to set the S3 (and SQS) regions closer to us (eu-central-1).
We accomplished an immense boost in performance.
Initial Rendering of a page - from ~1.1s to ~350ms
Fetch of Pre-Rendered page (from S3) - from ~600ms to ~120ms
As a further improvement, we will leverage the CloudFront CDN, by using the Invalidation functionality, when we have to re-render pages.
Cheers,
Rob

Hi @bobrossthepainter, thanks for raising this feature request. We will add it to our backlog for it to be prioritized. I'm glad you found a solution in the meantime by using Serverless Next.js.

Is there any update on this?
I'm also looking to increase performance and reduce TTFB in eu regions. As evidenced above, allowing this value to be configured seems to have a large impact.
#2222 seems to highlight the same issue of using us-east-1 for the Next.js static bucket. @ferdingler you suggest this is deliberate for SSR resources due to Lambda@Edge restrictions. Does this hold for the origin static S3 bucket as well?
Given Serverless Next.js supports this configuration, can this be passed through to Amplify users as well? Or even to use the same region as the Amplify app?

Dear @ferdingler,
sorry to bother you, but I just wanted to ask if this is something that you plan to implement? For european users, we have to deal with TTFB from 600ms to 1200ms (Next.js app) 😥

We bumped into this issue as well. Our concern is not about performance, but GRPC.
Our organization can only store data in the EU region, and this is enforced on an AWS account level. Since the SSR enabled app tries to create a bucket in us-east-1, the build fails and there's nothing we can do about it.


Fixes mouse cursor icon name in 'gesture_detector.py'. (fixes #540)

Hello dear.
I checked issue #540 I saw many icon names in the Mouse Cursor enum were incorrect. I changed them and created this PR. I hope I helped your great project and the python community.

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


🐛 Index on FK is created despite Relation::$indexCreate=false

No duplicates 🥲.

[X] I have searched for a similar issue in our bug tracker and didn't find any solutions.

Database
PostgreSQL
What happened?
Even if the options is false, index will be created by Cycle\Schema\Generator\Migrations\GenerateMigrations
Sometimes relation db is used just like a persistence storage, with insert/select by id only operation,
not operational db, so index is unnecessary for these cases.
As a workaround, I deleted these indexes in the same migrations.
Cycle\Schema\Generator\Migrations\GenerateMigrations will not find any differences,
so it look like the bug happen only while generate migrations for new table.
Version
database 2.4.1
PHP 8.2

it was discovered firstly in #82


Cannot use mocket in docker image

I'm trying to build an image with python 3.5.3-alpine
One of my dependencies is mocket and the build of the images gives me this output
error in mocket setup command: 'extras_require' requirements cannot include environment markers, in 'speedups': 'xxhash; platform_python_implementation == "CPython"'

My docker file is the following
FROM python:3.5.3-alpine

# set envirnoment variables
ENV SRC=project_name
ENV USER_HOME=/home/project_name
ENV CODE_DIR=$USER_HOME/$SRC

# create user `project_name` and add it to group `project_name`
RUN addgroup -S project_name && adduser -S -G project_name project_name

# add bash since alpine does not have it installed
RUN apk add --no-cache bash

# install python requirements
WORKDIR $CODE_DIR
COPY requirements.txt .
RUN apk add --no-cache --virtual .build-deps \
    ca-certificates gcc postgresql-dev linux-headers musl-dev \
    libffi-dev jpeg-dev zlib-dev make \
    && pip install -r requirements.txt \
    && find /usr/local \
        \( -type d -a -name test -o -name tests \) \
        -o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
        -exec rm -rf '{}' + \
    && runDeps="$( \
        scanelf --needed --nobanner --recursive /usr/local \
                | awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' \
                | sort -u \
                | xargs -r apk info --installed \
                | sort -u \
    )" \
    && apk add --virtual .rundeps $runDeps \
    && apk del .build-deps

# copy all the code
COPY . $CODE_DIR

# create logs directory and add logrotate rule
RUN mkdir /var/log/project_name
COPY docker/logrotate/project_name /etc/logrotate.d/

# assign permissions to `project_name`
RUN chown project_name:project_name /var/log/project_name
RUN chown -R project_name:project_name $CODE_DIR

USER project_name

ENTRYPOINT ["python3", "manage.py"]

Is there a way to avoid extras or to install xxhash on an alpine docker image?

I am having a look at it. Thank you.

/ # pip
pip            pip3           pip3.5         pipe_progress
/ # pip
pip            pip3           pip3.5         pipe_progress
/ # pip
pip            pip3           pip3.5         pipe_progress
/ # pip install mocket
Collecting mocket
  Downloading https://files.pythonhosted.org/packages/c7/cf/abf941113920502dbdd7cab365d0559bf6a5ebe2842e9755a3d399720525/mocket-2.7.4.tar.gz
    Complete output from command python setup.py egg_info:
    error in mocket setup command: 'extras_require' requirements cannot include environment markers, in 'speedups': 'xxhash; platform_python_implementation == "CPython"'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-s7f6pqsy/mocket/
You are using pip version 9.0.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
/ # pip install -U setuptools
Collecting setuptools
  Downloading https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl (575kB)
    100% |████████████████████████████████| 583kB 1.7MB/s
Installing collected packages: setuptools
  Found existing installation: setuptools 36.2.0
    Uninstalling setuptools-36.2.0:
      Successfully uninstalled setuptools-36.2.0
Successfully installed setuptools-41.0.1
You are using pip version 9.0.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
/ # pip install mocket
Collecting mocket
  Using cached https://files.pythonhosted.org/packages/c7/cf/abf941113920502dbdd7cab365d0559bf6a5ebe2842e9755a3d399720525/mocket-2.7.4.tar.gz
Collecting python-magic (from mocket)
  Downloading https://files.pythonhosted.org/packages/42/a1/76d30c79992e3750dac6790ce16f056f870d368ba142f83f75f694d93001/python_magic-0.4.15-py2.py3-none-any.whl
Collecting six (from mocket)
  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting decorator (from mocket)
  Downloading https://files.pythonhosted.org/packages/5f/88/0075e461560a1e750a0dcbf77f1d9de775028c37a19a346a6c565a257399/decorator-4.4.0-py2.py3-none-any.whl
Collecting hexdump (from mocket)
  Downloading https://files.pythonhosted.org/packages/55/b3/279b1d57fa3681725d0db8820405cdcb4e62a9239c205e4ceac4391c78e4/hexdump-3.3.zip
Collecting urllib3 (from mocket)
  Downloading https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl (150kB)
    100% |████████████████████████████████| 153kB 2.5MB/s
Building wheels for collected packages: mocket, hexdump
  Running setup.py bdist_wheel for mocket ... done
  Stored in directory: /root/.cache/pip/wheels/11/a9/ac/6943cf01e7d86f5ce7425617e8b7115568e60c55bb2db0fd25
  Running setup.py bdist_wheel for hexdump ... done
  Stored in directory: /root/.cache/pip/wheels/d5/d1/f2/c8183b5863b3df595c2eeafd8e015a43dae13d403a959467c6
Successfully built mocket hexdump
Installing collected packages: python-magic, six, decorator, hexdump, urllib3, mocket
Successfully installed decorator-4.4.0 hexdump-3.3 mocket-2.7.4 python-magic-0.4.15 six-1.12.0 urllib3-1.25.3
You are using pip version 9.0.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
/ # ```


Fix: ASB-2081 - Project stage withdrawn content amend

Describe your changes
https://pins-ds.atlassian.net/browse/ASB-2081?atlOrigin=eyJpIjoiNTZlNzY5OTE0ZGQ5NDEwY2ExM2EzYWNlNTBkNjU5OTUiLCJwIjoiaiJ9
Type of change 🧩

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[ ] I have performed a self-review of my own code
[ ] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

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

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

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


Update README.md

make groups in groupsettings plural (groupssetting)

I like the content of this change but can't integrate it into the codebase without your having signed the CLA.

I've signed the CLA already.


Remove-SPOContentTypeFromList not working on sub sites

I have an issue with the following on the default 'Documents' library that gets created when provisioning a new site:
add-SPOContentTypeToList -List "Documents" -ContentType "Team site document" -DefaultContentType
** This works, a new content type is added called 'Team site document' and is now the default CT **
Remove-SPOContentTypeFromList -List "Documents" -ContentType "Document"
** This doesn't work, the command runs but whatever I try the 'Document' content type never gets removed **
With testing the above does work on the top level site / root web but does not work on subsites.
Speaking to Luis Manez on Yammer he thinks its a similar issue to this:
https://github.com/OfficeDev/PnP-Sites-Core/issues/165

I'm pretty sure that the reason is because PS command is calling GetContentType without specifying that it has to search in the Site collection too (and by default is False). I'll try to fix this issue, but I'm waiting for confirmation from @erwinvanhunen that my proposal solution is valid and I'm not missing anything.

The fix for this was already in place. I will close this issue.


Error related Multi GPUs

Hello Xinyuan Liao,
Hoping for your good health,
I used a complex convolution layer using the implementation you provided in my model. It works fine using a single GPU, but using 2 GPUs shows the below error-related datatype mismatch. Would you happen to have any solution to this issue? In your last issue reply, you said you hadn't implemented it for multi-GPUs ,
error:
out = torch.nn.functional.conv2d(input=inp, weight=self.weight, bias=self.bias, stride=self.stride,
RuntimeError: Input type (CUDAComplexFloatType) and weight type (torch.cuda.FloatTensor) should be the same,
Also, you have implemented complex convolution by directly doing convolution on the input and just added zeros as an imaginary part , can you please elaborate , how is this the approximation of ,the equation

G
(

z

)
=
conv
(

z

R

,

W

R

,

b

R

)
)
−
conv
(

z

I

,

W

I

,

b

I

)
)
+
j
(
conv
(

z

R

,

W

I

,

b

I

)
)
+
conv
(

z

I

,

W

R

,

b

R

)
)
)

looking forward to hearing from you soon

Thanks for your interest. However, I don't have the multi-GPU platform to fix potential bugs. So, if you are available, you can fix it and pull a request.


Issue with managing hyper-v host with no domain

I tried to follow the last section, "Manage a Hyper-V host outside your domain (or with no domain) ", with no success.
It seems that I need to enable the CredSSP server role on hyper-V host and run the original second and third command on the managing PC.
I'm running Windows 10 on both Hyper-V host and managing PC.

I logged an issue about this. Check out https://github.com/Microsoft/Virtualization-Documentation/issues/261

@muzzar78 l wish I had found your report when I was trying to figure it out.

Thanks for the update :)

Also, sorry @muzzar78.  I lost the thread before updating the doc.


how to use api plug CVAT into a DevOps?

I want to use open api to transfer annotation into a DevOps, then I don't need to dump annotations every time, but I did't find an api document here.

Hi, try /api/swagger/


% Added the ability to change the corner radius

This adds the ability to change the corner radius for the alerts.

This doesn't quite work as intended.


Expected Maintenance - Database Upgrade

We will be performing database upgrades on the evening of 2022-05-03. During this time, small interruptions might occur, but we do not expect any loss or major downtime.


Added Product of Array Except Self DSA Problem Solution

📥 Pull Request
Description
This pull request implements the Product of Array Except Self algorithm, which calculates the product of all elements in an array except for the element at the current index without using division. This implementation aims to optimize performance using O(n) Linear time complexity.
Fixes #468
Type of change

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

Checklist:

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

Hi @ajay-dhangar
I wanted to let you know that I have submitted a pull request for your review. When you have a moment, could you please check it and consider merging it?


TestNG Jump between classes when doing priority

Hey All
I have a question, I am using selenium, and I have 3 classes of tests, and in each class 4 test.
Class A - open websiet A  and perform tests
Class B - open website B and perform tests
Class C - open website c and perform tests
In each class I prioritized the tests (it is necessary in each page to do specific order )
When I run manually only class A and Only B and Only C all working.
However when I try to create testng xml and run
it is trying to perform action from class B in the website of A.
I do not need parallel, just to testng run as  human maid the actions. to run class A with all its tests by priority. after that to run class B with all its tests by priority and than class C. Is it possible that testNG do this thing? or just manually (and no automation can be made)
this is my XML
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">

<suite allow-return-values="true" name="sanitySuite" parallel="false" thread-count="1" verbose="1" >
    <test name="Role page"  preserve-order="true" >
        <parameter name="userName"<EMAIL_ADDRESS>        <parameter name="password" value="bbb"/>
        <groups>
            <run>
                <include name="smokeTest"/>
             </run>
        </groups>

        <packages>
            <package name =".*"/>
        </packages>
        <classes>
            <class name="tests.classA"></class>
            <class name="tests.classB"></class>
			<class name="tests.classC"></class>

        </classes>
    </test>

    <!--<test name="Regression1">-->
        <!--<packages>-->
            <!--<package name=".*"/>-->
        <!--</packages>-->
    <!--</test>-->
</suite>

example of test attribute that exists in all 5 classes and in all tests just change the priority
@Test(groups = {"smokeTest"}, enabled = true, priority = 1)

Please post your TestNG questions on the Testng-users Google groups. We would like to make sure that the issue tracker is tracking only issues.


[follow-up pyproject.toml] Add initial docs about pyproject.toml configs

Summary of changes

Added some docs about how to use pyproject.toml to config setuptools (aka PEP 621)
Improved docs about auto-discovery
Improved examples of declarative config for setup.cfg
Improved examples in quickstart and depencency management for using experimental pyproject.toml.

Closes
Pull Request Checklist

[ ] Changes have tests
[ ] News fragment added in changelog.d/.
(See documentation for details)

Thank you very much @blink1073 for the help!


Inconsistent body validation behavior

I find there are some inconsistencies in the validation of request bodies, especially with multipart data. First of all, empty body produces TypeError: validator.validate is not a function on validation, where specification requires a multipart body. Secondly the Content-Type attribute is not checked, I can send multipart body where e.g. a JSON body is expected.
I am not sure if this is the desired behavior. But from my point of view the existence of the body should be checked during validation if the specification requires a body in the request. Otherwise the consumer of the API will see a mysterious error message and will not be informed about the specification violation.
My setup is like follows:
Specification
    post:
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                image:
                  type: string
                  format: binary
                  ...

Route
router.post(
  "/users",
  multer().single("image"),
  validator.validate,
...
);

Making a request to this endpoint without a body produces an error:
TypeError: validator.validate is not a function
    at Middleware._validateBody (/home/serg/Documents/Projects/drm/services/user-management/node_modules/openapi-validator-middleware/src/middleware.js:92:28)
    at Middleware._validateRequest (/home/serg/Documents/Projects/drm/services/user-management/node_modules/openapi-validator-middleware/src/middleware.js:63:43)
    at /home/serg/Documents/Projects/drm/services/user-management/node_modules/openapi-validator-middleware/src/middleware.js:51:90
    at Middleware.validate [as validationMiddleware] (/home/serg/Documents/Projects/drm/services/user-management/node_modules/openapi-validator-middleware/src/frameworks/express.js:4:24)
    at Middleware.validate (/home/serg/Documents/Projects/drm/services/user-management/node_modules/openapi-validator-middleware/src/middleware.js:41:21)
    at Layer.handle [as handle_request] (/home/serg/Documents/Projects/drm/services/user-management/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/serg/Documents/Projects/drm/services/user-management/node_modules/express/lib/router/route.js:137:13)
    at multerMiddleware (/home/serg/Documents/Projects/drm/services/user-management/node_modules/multer/lib/make-middleware.js:18:41)
    at Layer.handle [as handle_request] (/home/serg/Documents/Projects/drm/services/user-management/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/serg/Documents/Projects/drm/services/user-management/node_modules/express/lib/router/route.js:137:13)

But I expect to see a validation error here. I assume that this is a bug, because a application/json body does not cause this error. Although the validation of a missing (but required in spec) raw body correctly indicates that the required fields are not present, but it would be more correct to report that a body itself is missing in the request.
So please let me know if my expectations are legitimate or if I have misunderstood the world.

Hi @setaman , this kind f error message isn't something that should be returned in any circumstances, so it's a bug indeed.
I'm not sure about how this package is handling multipart requests and would require investing some time on it.

Hi @kobik, It is getting even worse. I just found out that the validation of the multipart/form-data body fails, if i set image to be required. The root of all evil is the _validateBody method.
My first issue, where TypeError: validator.validate is not a function is thrown, is caused by:
...
// is undefined, no body --> no Content-Type header
const contentType = this._getContentType(requestOptions.headers);
...
// the validator is there, but we cannot reach it because of the undefined 'contentType'
// the validator is in methodSchema.body.multipart/form-data
const validator = methodSchema.body[contentType] || methodSchema.body;

I put the validation right after multer in the chain. Multer assigns the image to req.file, so the validation of the body do not pass:
const validator = methodSchema.body[contentType] || methodSchema.body;
// body has no image field
// methodSchema.body.multipart/form-data has no image to
if (!validator.validate(body)) {
  return validator.errors || [];
 }

I really want this library to work correctly and would like to help. But there are inconsistencies in the validation strategies in general. We see that in the described cases the headers are not checked, which in turn leads to the fact that Body cannot be validated. The question is whether you, the creators and maintainers, want to see the validation of the presence of the headers and the body and the correctness of the headers according to the specification as part of the functionality of this library.

Hi @setaman, indeed we'd like this package to be as consistent and validate correctly according to the specification.
You're more than welcome to submit a PR.

@kobik I will try to find some time between my work and studies to look at the issues

Thanks @setaman, much appreciated.


GUI is not resizing properly

The main issue here was that the entry fields are not resizing properly along with the gui. I think under the grid geometry manager this is the desired behavior of tkinter Entry widget. Perhaps adding a handler which on gui resize will recalculate the Entry width may do the job. Closing this for now.


ensure correct redirect uri query handling

This updates the way macros handle the redirect URI such that the query string is handled in a more correct way. Prior to this, the macros assumed no other query. Now we extend the query, if present, with the configured redirect field and URI.
Fixes https://github.com/maxcountryman/axum-login/issues/143.

cc @benwilber: let me know if this addresses your original issue.

Thank you!  I'll test this and report back!

It works great except in the case where my login_url already has a next= parameter.  In that case it is actually adding a second next= which I don't think is the correct behavior.  If I add &next=foo here then the resulting URL becomes:
Some("/login?next=%2F&foo=bar&foo=baz&next=foo")

Where the next parameter has now been repeated.  It's kind of ambiguous which actual next= parameter will be used in this case.  Because axum-login is adding this parameter implicitly, I think a good behavior would be for it to only add it's own next param if the same param is not already present in my login_url, which presumably would have been added intentionally.  This could also address a potential issue where a redirect loop keeps adding next= over and over again.  I haven't actually seen that issue, but seems plausible.
I love this library!  Thanks for making it!

Thanks for spotting that. I agree with your assessment.


regex on u2f device naming is too strict

I get an error if I try and name my yubikey anything with a . or - in it

fixed on https://github.com/Symantec/keymaster/pull/68 (https://github.com/Symantec/keymaster/commit/7aa87435afb7261ab4c0c5434e23a437ebc48c2f)


Updated the usage and license sections in README

We should also mention the available invocation styles

Closing this and opening a new PR that points to a different branch.


Make terminal tab icon the same as the menu item icon

Just something off than I noticed.
Signed-off-by: Sebastian Malton<EMAIL_ADDRESS>before:

after:

@aleksfront Here is how it looks with your recommendations


Updating some maven plugin versions

See: https://maven.apache.org/security-plexus-archiver.html

retest this please

retest this please


Sodium: OpenGL 4.5

Upcoming Sodium might require OpenGL 4.5. This will affect macOS and old computers. (For context, Minecraft requires OpenGL 3.2 since 1.17, which also dropped compatibility on some computers).
Possible outcomes for this:

the change is reverted

Pros: more compatibility
Cons: worse performance and bugs that became fixed are apparent again

a compat option or extra mod is introduced

Pros: helps those users
Cons: may not be available forever (as long as needed)

Minecraft 1.20+ requires it as well

Pros: the blame goes to Mojang and affected users will just continue using old versions; they will likely fix it for macOS somehow
Cons: Sodium may update before that, so it's not a short-term solution

Fabulously Optimized starts using Canvas instead of Sodium

Pros: short-term fix for affected users
Cons: worse performance for most (maybe especially those who are affected); rip Iris and Sodium Extra; who knows when Canvas will follow suit

Fabulously Optimized introduces a new major version (most likely)

Pros: the change is clearly distinct and people can continue using older versions
Cons: no idea how big is the affected playerbase; upcoming users who have old computers and need FO

*Side note: The worst that can happen is ditching both canvas and sodium but in turn also cause even more problematic performance than ever,
But i can honestly bet that would disappoint alot of people and just assume everything works in OptiFine all of a sudden.

What about Linux? Am I affected? The text is only speaking of Windows and MacOS.

What about Linux? Am I affected? The text is only speaking of Windows and MacOS.

Good question. Here's what Jelly has to say:

Sodium 0.5 minimum hardware requirements on Windows and Linux-based operating systems:

NVIDIA GeForce GTX 400 series or newer
INTEL HD Graphics 500 series or newer
AMD Radeon HD 7000 series or newer

NOTE: macOS is no longer supported. See the following issue: https://github.com/CaffeineMC/sodium-fabric/issues/1100

On Linux-based operating systems, it might be possible to get Sodium 0.5 working on INTEL hardware as old as the HD Graphics 4000 series by using the "CROCUS" driver under Mesa. This can be enabled with the environment variable MESA_LOADER_DRIVER_OVERRIDE=crocus, but may become default with newer versions of Mesa in the future.

Source (via)

The requirements are a bit vague, but I'm sure it will work for my PC (RX 570) and Laptop (Vega 6).

The requirements are a bit vague, but I'm sure it will work for my PC (RX 570) and Laptop (Vega 6).

It will

I did some performance testing to evaluate option 4 on my old laptop (intel 4510u with integrated graphics). In 1.18.1, sodium 0.4.0 and canvas 1.0.2302 performed virtually the same, averaging 65 fps at 4 chunks with fancy graphics. Vanilla performed worse,  with around only 40 fps. If this is the option that you go with, make sure you set the pipeline to Canvas Basic instead of Canvas Standard (which is the default, with fabulous graphics and additional features). Really, this is just another good reason to look further into #109.

Change to Canvas Renderer and stop using Sodium?

Change to Canvas Renderer and stop using Sodium?

Read point 4 in OP.

I'm aware, just saying that canvas has come a pretty long way in terms of low end performance since the post was created

Sodium is still better, not to mention it works with iris.
Also canvas is almost abandoned at this point since Grondag stopped working on it iirc

Sodium won't work on older computers, which is the main problem we're trying to solve.
Canvas has found a new maintainer and changes are still being made. If anything, sodium is more inactive as it has much less frequent commits

Stull, I think canvas would be a big regression both on performance and QoL (no iris = no shaders)

What makes you think iris is the only source of shaders? Vanilla and canvas shaders also exist. As for performance, it's pretty dependent on hardware, sometimes it performs better, sometimes worse (but usually pretty close regardless)

Vanilla shaders are a meme and canvas shaders are not even comparable to optifine pipeline's shaders

Having a different design philosophy and structure doesn't mean it is inferior, canvas is currently missing a few minor features (e.g. colored shadows), but current canvas shaders look pretty much like an optifine shader (though they're relatively new, so they're a bit more unrefined in nature). Not to mention canvas's shadows perform vastly superior to that of iris. My point being, canvas has come a long way and is a competent contender for shaders.

Send me a canvas shaders which is comparable to stuff like Complementary/Slidur/s Vibrant Shaders/BSL. I don't think you'll find anything

https://github.com/Poisoned-Honey/ForgetMeNot-Shaders
https://github.com/spiralhalo/LumiLights
Keep in mind these shaders are new compared to the shaders you've mentioned. ForgetMeNot has been around for probably only half a year

Stull, I think canvas would be a big regression both on performance and QoL (no iris = no shaders)

you can use sodium+iris yourself and macOS users only has up to OpenGL 4.1.

Jelly:

I'm not going to be putting forth any additional work on Sodium. Whatever source code available on GitHub is provided as-is.

IMS (Iris dev):

I’d be happy to continue maintaining it, would you rather an updated version to be published on a separate fork? It’d probably help separate you more as a developer from the community if you wish for it.

I think Jelly got burned out. As there are several contributors to Sodium already, I don't think it will die out any time soon, any new performance features may just get implemented slower.
Source (via)

IMS:

I've decided to skip [Sodium 0.4.3 for 1.19.1] for now, in favor of just letting 0.5 release soon.

Source (via)

Sodium has now changed its release schedule to "backport" smaller fixes and improvements faster, rather than working on a huge "next" update.
Good:

This scary 0.5.x update is pushed back to unknown date
Perf increases, of course
Faster fixes and updates overall

Bad:

Sodium Extra and other dependent mods will probably break more often, at least at first
0.5.x may happen at more unexpected time (because updates are small and more incremental)

Source (via)

We've settled on a minimum hardware support policy for the project going forward:  https://github.com/CaffeineMC/sodium-fabric#-hardware-compatibility
This will help us focus on more recent hardware (released in the past 10 years) and write much faster and higher-quality code.
If your graphics card is unsupported but worked with Sodium 0.4, then it will very likely continue to work with Sodium 0.5.

All this means is that we are not going to spend our time or resources on trying to fix issues on such old hardware.

Emphasis mine. https://discord.com/channels/602796788608401408/1077645005042233374/1132341127060664350 via https://caffeinemc.net/discord

Iris just released a testing build with 4.6 features

this build won't be mainline for a while though
you still have a few months
https://discord.com/channels/774352792659820594/883067831485366304/1139217812175454239 (via)

Sodium is no longer actively maintained by the original author. Future updates are not guaranteed, and it is unlikely that any new features or enhancements will be implemented going forward.
https://github.com/CaffeineMC/sodium-fabric/commit/0cb63b8190ef573e4fef50816ccda6642c55cd38

But I wouldn't panic, especially when you read back what happened in https://github.com/Fabulously-Optimized/fabulously-optimized/issues/219#issuecomment-1132190381.


Fix CodeCov

Codecov Report
Base: 0.00% // Head: 64.69% // Increases project coverage by +64.69% :tada:

Coverage data is based on head (6ace9b5) compared to base (95d88c7).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##           develop      #43       +/-   ##
============================================
+ Coverage         0   64.69%   +64.69%
============================================
  Files            0       52       +52
  Lines            0      895      +895
  Branches         0       73       +73
============================================
+ Hits             0      579      +579
- Misses           0      287      +287
- Partials         0       29       +29

Impacted Files
Coverage Δ

...ationMods.Common/Extensions/UnitModelExtensions.cs
66.66% <0.00%> (ø)

...ts/Patches/GameSceneControllerPatchOnStageStart.cs
55.55% <0.00%> (ø)

...ods.BugFixes/Patches/ArmorCreaturePatchOnNotice.cs
38.09% <0.00%> (ø)

...ions/CreatureEvaluators/CrumblingArmorEvaluator.cs
100.00% <0.00%> (ø)

...entations/CreatureEvaluators/SpiderBudEvaluator.cs
100.00% <0.00%> (ø)

...Implementations/Adapters/AnimationScriptAdapter.cs
0.00% <0.00%> (ø)

...s/CreatureEvaluators/BeautyAndTheBeastEvaluator.cs
100.00% <0.00%> (ø)

...fts/Patches/UseSkillPatchFinishWorkSuccessfully.cs
50.00% <0.00%> (ø)

...entations/CreatureEvaluators/BloodbathEvaluator.cs
100.00% <0.00%> (ø)

...ations/CreatureEvaluators/NothingThereEvaluator.cs
100.00% <0.00%> (ø)

... and 42 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


MongoDB to MongoDB + tail

Hi,
first thanks for this tool!
I am trying to synchronize two MongoDB databases. One is a live DB, the other one is used for analytics/datamining purpose. We are using Mongo 2.4.
Everything is fine without the tail option. Transporter syncs our second database every time we launch it (no resume until now afaik).
But adding tail: true makes it failed with this error:
transporter: CRITICAL: Mongodb error (error reading collection tailable cursor requested on non capped collection)
CRITICAL: Mongodb error (error reading collection tailable cursor requested on non capped collection)

None of our collections are capped.
Also, what's the best to keep our DB sync:

run a cron job without tail option
makes the tail working and daemoize transporter

How are handle connection issue in both scenarii?

Tail needs access to local.oplog.rs which is a capped collection ( and exists only for replica set setups afaik)
Verify that you have access to oplog rs on the user being used to connect transporter

It does, it was failing before without syncing anything.
Now it can sync without "tail" but fails once we enable this option.

Is your source MongoDB running as a replicaset? Can you verify if you can create a tailable cursor on your Oplog via:
use local
db.oplog.rs.find().addOption(  DBQuery.Option.tailable ).addOption(DBQuery.Option.awaitData)

> use local
switched to db local
> db.oplog.rs.find().addOption(  DBQuery.Option.tailable ).addOption(DBQuery.Option.awaitData)
error: {
        "$err" : "tailable cursor requested on non capped collection",
        "code" : 13051
}

That just goes on to show that either you're not running mongoDb as a replicaset or you don't have access to oplog.rs
Both those conditions need to be true for you to enable tail on transporter

@fjg why don't you use mongo's native feature of hidden replica set members? https://docs.mongodb.org/v2.4/core/replica-set-hidden-member/

closing this as it appears the issue was with the type of mongodb being run either not being a replica set or the user didn't have permissions to read from local.oplog


Correct paths in “Changing the logo”

Some paths in this document previously looked like public/assets/img/..., but it looks like the URL “/assets/...” is served from the path public/..., so the assets directory needs to be removed from the path. I think this change needs to be made for others paths in this document, but I am not familiar with them, so I have not changed them. I have tested this on v1.20.2+1.

Hmm, either our loading code is wrong or this is wrong, https://github.com/go-gitea/gitea/pull/25907 specifically introduced the public/assets directory for 1.21.

Could it be that you are working with 1.20?

Yes, my mistake!


Add achievements page

preview: https://40559ab9.tarkov-dev.pages.dev/achievements

.deploy to development

.unlock development

.deploy to development

.deploy to development

Love it!
I would maybe add a sorting condition: if sorting by 'hidden', when it's equal do a secondary sorting condition on 'player%' and if that is still the same (like 0%) a third sorting condition on the achievement name.

.deploy


I'm looking for version rust-1.48.0

Since we are going from 1.45 directly to 1.51 (https://github.com/softprops/lambda-rust/pull/87/files) closing this.


developer advocate updates to marketing website

overview
ask from Kat: each developer advocate needs their own page to highlight information about them and links to their content.
current state: we have this page https://www.pulumi.com/community/developer-advocates/ though it does not exist in the navigation
@katcosgrove can provide a list of content that's needed on the individual developer advocate pages, along with a rough wireframe which communicates her thoughts
this needs to launch before the end of the quarter
design needs

add the developer advocates page to navigation; for now, i suggest adding it to the footer somewhere though w can explore the top nav after we redesign it
design a way to get to each individual developer advocates page from the developer advocates page
design a template for the individual developer advocates pages

needs to be able to easily get back to the developers advocates page
needs a space for each developer advocate to bio/intro themselves
needs a space for links to their content
needs a space for ways to get in contact with them
other needs should be identified in collaboration with Kat

stretch goal

design the content for the community page in collaboration with all of the developer advocates and @aaronkao and link to it in the footer instead of the developer advocate page

eng needs

after we have designed a template we will need to implement it, but then each developer advocate should be able to open their own pr which adds content to their individual page

collaborators
@katcosgrove is the main point of content from the developer advocates, and should be included in design reviews

Figma Link
Designs and Changes

The Developer Advocates page will link to individual profiles for each DA via new "View Profile" secondary buttons.
Additionally the Developer Advocates page will be linked in the site footer. This is subject to change in the near future with the expected addition of a Community page.
Individual DA profiles will contain a profile image, social media handles, a short about blurb, a giveaway sign-up form, a list of upcoming and recent speaking engagements, recent blog posts, and a contact form.
Users will be able to toggle between DA profiles using a dropdown at the top of the page, or return to the main Developer Advocates page.
The contact form on the main Developer Advocates page will move into individual profiles so each DA can be reached directly.
Responsive resizing and additional state changes viewable in Figma. See annotations for pertinent callouts.

Handoff Notes

Recent Blog posts sections should have a maximum of 6 posts
Past speaking events should be capped at the 10 most recent events
For mobile resizing, speaking table can scroll horizontally when a fourth column is introduced for recent events

@zchase Tagging in case I haven't linked you this issue yet! If anything is unclear message me whenever!

this was completed (but still needs ux review) in https://github.com/pulumi/pulumi-hugo/pull/1281 and https://github.com/pulumi/pulumi-hugo/pull/1289


Make Cash on delivery code configurable

What is the motivation for adding / enhancing this feature?

The code for the cash on delivery is hard coded.
https://github.com/DivanteLtd/vue-storefront/blob/release/v1.11/src/modules/payment-cash-on-delivery/index.ts#L18
The idea is to make it configurable so that the value can be as per the backend system
What are the acceptance criteria

[ ]  Provision config file with offline payment code
[ ]  Payment Cash on Delivery module honor config files

Can you complete this feature request by yourself?

[x] YES
[ ] NO

Which Release Cycle state this refers to? Info for developer.
Pick one option.

[x] This is a normal feature request. This should be available on https://test.storefrontcloud.io and then after tests this can be added to next Vue Storefront version. In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
[ ] (Pick this option only if you're sure) This is an important improvement request for current Release Candidate version on https://next.storefrontcloud.io and should be placed in next RC version. In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
[ ] (Pick this option only if you're sure) This is a critical improvement request for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version. In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.

Additional information

@adityasharma7 the other way around is just to copy this module and adjust it to your backend platform which probably is a preferred way rather than adding the configurable option


Error on startup after bot prepares slash commands

Hey there, after I start the bot I see this warning in the terminal, and it appears that the slash commands are not appearing in my guild. Thanks in advance!
[28/7/2021 4:11:37 a. m.] INFO > [READY] Bot is online and ready in 2 guild(s)!
[28/7/2021 4:11:37 a. m.] INFO > Preparing Slash Commands...
Error: [403] The Authorization token you passed did not have permission to the resource.
    at Object.processQueue (https://deno.land/x/discordeno@11.2.0/src/rest/process_queue.ts:101:40)
    at async Object.processRequest (https://deno.land/x/discordeno@11.2.0/src/rest/process_request.ts:31:5)
[28/7/2021 4:11:37 a. m.] WARN > Error: Location:
    at Object.runMethod (https://deno.land/x/discordeno@11.2.0/src/rest/run_method.ts:36:9)
    at upsertSlashCommands (https://deno.land/x/discordeno@11.2.0/src/helpers/interactions/commands/upsert_slash_commands.ts:16:21)
    at file:///C:/Users/gm_10/OneDrive/Documents/discordbot/src/events/ready.ts#7:63:13
    at Map.map (https://deno.land/x/discordeno@11.2.0/src/util/collection.ts:95:20)
    at Object.bot.eventHandlers.ready (file:///C:/Users/gm_10/OneDrive/Documents/discordbot/src/events/ready.ts#7:62:18)
[28/7/2021 4:11:37 a. m.] INFO > Updated Guild 😤🙏<PHONE_NUMBER>70238268) Slash Commands...
Error: [403] The Authorization token you passed did not have permission to the resource.
    at Object.processQueue (https://deno.land/x/discordeno@11.2.0/src/rest/process_queue.ts:101:40)
    at async Object.processRequest (https://deno.land/x/discordeno@11.2.0/src/rest/process_request.ts:31:5)
[28/7/2021 4:11:37 a. m.] WARN > Error: Location:
    at Object.runMethod (https://deno.land/x/discordeno@11.2.0/src/rest/run_method.ts:36:9)
    at upsertSlashCommands (https://deno.land/x/discordeno@11.2.0/src/helpers/interactions/commands/upsert_slash_commands.ts:16:21)
    at file:///C:/Users/gm_10/OneDrive/Documents/discordbot/src/events/ready.ts#7:63:13
    at Map.map (https://deno.land/x/discordeno@11.2.0/src/util/collection.ts:95:20)
    at Object.bot.eventHandlers.ready (file:///C:/Users/gm_10/OneDrive/Documents/discordbot/src/events/ready.ts#7:62:18)
[28/7/2021 4:11:37 a. m.] INFO > Updated Guild test<PHONE_NUMBER>98213387) Slash Commands...
[28/7/2021 4:11:37 a. m.] INFO > [READY] Slash Commands loaded successfully!

The bot needs to be invited with the right scopes in order to be able to create slash commands. (application.commands)

This one

Ah, I missed that when creating the invite link. Thank you!


Added %f to full ISO 8601 Full Time Format that being generally used as JSON time format.

The spec for the format is here: https://www.w3.org/TR/NOTE-datetime
JavaScript also represents default JSON time format as ISO 8601 Full Time Format
JSON.stringify({'now': new Date()})

will output
{"now":"2013-10-21T13:28:06.419Z"}

which makes %f useful.

:+1: for this

I guess we can add this. In that website there are other ISO 8601 formats, should we add them too? What letters we use for those?
Is there a reason you need a specific modifier for this? Or is it just because it's common in JSON and you want to use TimeFormat.new("%f") instead of TimeFormat.new("%FT%T.%LZ") in a JSON.mapping?

@asterite using crystal-pg i had to convert to corresponding fields (of Time) to json.
But Time didn't have to_json so manually added it like this.
require "kemal"
require "kemal-pg"
require "json"

struct Time
  def to_json(io)
    Time::Format.new("%FT%T.%LZ").to_json(self, io)
  end
end

pg_connect "postgres://serdar@localhost:5432/kiosk"

get "/api/v1/menu_items" do |env|
  env.response.content_type = "application/json"
  menu_items = conn.exec(
  {Int32, Time, Time},
  "SELECT id, created_at, updated_at
   FROM menu_items"
  )
  release
  menu_items.to_hash.to_pretty_json
end

So having this formats built-in comes in handy.

I don't think Time should have a default to_json representation, because some might send just the date part, or might send info in many different formats.
We are currently working on a DB API to make it easy to work with any database driver. Maybe we can wait until we have that done and see how to do more complex things like this one.

I agree that Time shouldn't have that by default :+1: But for this case i needed to do that :smile:

@asterite I actually add %f for "full", and you already used %F for shorter version.
I could use %FT%T.%LZ but this time format is too common (actually a standard) to use as %Y-%m-%d (aka ISO 8601 Date) but with the time. And %FT%T.%LZ is kinda hard to remember/write (I digged the codebase to generate this pattern).


Rule: use only arrow functions in React component

Eslint v: v7.5.0
Description
I got class defining inisideFunc(). I get this code, exmp:
export class Hello {
  insideFunc() { ... }
  render() { ... }
}

but I require to use only arrow functions instead normal function, except render, exmp:
export class Hello {
  insideFunc = () => { ... }
  render() { ... }
}

What I did
I already tried func-style: "error" or third party library like eslint-plugin-prefer-arrow but it didn't show any error, exmp:
func-style: "error"

    "prefer-arrow/prefer-arrow-functions": [
     "error",
     {
       "disallowPrototype": true,
       "singleReturnOnly": false,
       "classPropertiesAllowed": false
     }
   ]

What I expect
I would like to use only arrow functions in my React component

I do not think is invalid repo because this issue is only about React eslint validation where all rules fail. Mainly because in component we do not have functions but methods and that why we can't use any solution. In our app we use only arrow functions and this was the rule from the beginning. In TS it would be force-arrow-method but it do not has yet any equivalent in eslint

I see; you're asking for that rule, and eslint-plugin-arrow was just something you tried that didn't work.
In that case, I'd still decline to support that rule - "only use arrow functions" is just a flat-out incorrect way to use the language, and it would be very harmful imo to make it easier for people to opt into that coding style.

I can't decide to make it different App in continuously developed for over 3 years and before that someone decided to use this code style. I am just migrating it from TSlint to ESlint and only this rule make it difficult for me.

Performance is only one of the concerns, and the least important one. It's a philosophy/clarity concern.
I'd encourage you to write your own eslint plugin for this rule.

can you point more of the concerns or forward me to some article about it?

https://medium.com/@charpeni/arrow-functions-in-class-properties-might-not-be-as-great-as-we-think-3b3551c440b1


Fixes #16: Removes unstable features

Fixes #16, gets everything working on stable

Codecov Report

Merging #22 into master will increase coverage by 0.07%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
+ Coverage   58.68%   58.75%   +0.07%
==========================================
  Files          17       17
  Lines        1077     1079       +2
==========================================
+ Hits          632      634       +2
  Misses        445      445

Impacted Files
Coverage Δ

src/lib.rs
100% <ø> (ø)
:arrow_up:

src/rudymap/root_leaf.rs
52% <100%> (+0.64%)
:arrow_up:

Continue to review full report at Codecov.

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

This fails the CI at the moment, because associated constants are not yet stable. I think we should either wait until they are or replace them with static methods.

Associate consts were stabilized in the latest release, but the version of rustc that travis-ci uses (1.18) does not have them stabilized yet. Fortunately, SIZE is not yet used anywhere, so it can be removed entirely.


Support MemoryReservation

Moved ContainerResourceLimits to hostConfig since that seems to be the correct location according to docs

Released as version 0.6.2


npm run production compile error: "UglifyJs Invalid syntax"

Laravel Mix Version: 1.4.2 (npm list --depth=0)
Node Version (node -v): 6.10.2
NPM Version (npm -v): 3.10.10
OS: Mac os 10.12.6

Description:
npm run watchworks fine but npm run production throws the following error after updating to the latest version of mix (coming from 1.0). It worked fine before updating.

My webpack.mix.js file looks like this
let mix = require('laravel-mix');

mix.js('resources/assets/js/app.js', 'public/js').sourceMaps()
mix.sass('resources/assets/sass/app.scss', 'public/css');

mix.scripts(['node_modules/buzz-goodbytes-js/distribution/index.js'], 'public/sdks/SDK-latest.js');
mix.copy('node_modules/buzz-goodbytes-js/buzz_sw.js', 'public/sdks/SW-latest.js');

mix.styles([
    'node_modules/buzz-goodbytes-js/css/Buzz.css'
], 'public/sdks/Buzz.css');

if (mix.inProduction()) {
    console.log("We are in production");
    mix.version(['public/js/app.js', 'public/css/app.css']);
}

I can trace the error above to the following plugin called vee-validate:
var vee_validate = __webpack_require__(4TSb);
Steps To Reproduce:

I'm afraid this will be hard to reproduce without my full source code -
from what I've read in tens of posts is that this might be related to ES6 in some of my external modules that I'm loading e.g. vee-validate

Updating all my vue libraries solved this issue, probably third party related


[SHUI YAO] Add testing for Task and TaskList

When I run the tests for the first time, I got three tests failed:

seedu.address.storage.JsonAppDataStorageTest > readAndSaveAppData_allInOrder_success() FAILED
seedu.address.model.task.exceptions.DuplicateTaskException at JsonAppDataStorageTest.java:66

seedu.address.storage.JsonSerializableAppDataTest > toModelType_typicalAppDataFile_success() FAILED
seedu.address.model.task.exceptions.DuplicateTaskException at JsonSerializableAppDataTest.java:29

seedu.address.storage.StorageManagerTest > appDataReadSave() FAILED
seedu.address.model.task.exceptions.DuplicateTaskException at StorageManagerTest.java:57

However, when I run for the second time without changing any code or file, all test cases can pass.
The "throw new DuplicateTaskException" is at line 37 of TaskList.java. When I change it to "throw new DuplicateTitleException", all test cases can pass then.
I don't know why this happens. Can someone help me figure it out?

When I run the tests for the first time, I got three tests failed:

seedu.address.storage.JsonAppDataStorageTest > readAndSaveAppData_allInOrder_success() FAILED
seedu.address.model.task.exceptions.DuplicateTaskException at JsonAppDataStorageTest.java:66

seedu.address.storage.JsonSerializableAppDataTest > toModelType_typicalAppDataFile_success() FAILED
seedu.address.model.task.exceptions.DuplicateTaskException at JsonSerializableAppDataTest.java:29

seedu.address.storage.StorageManagerTest > appDataReadSave() FAILED
seedu.address.model.task.exceptions.DuplicateTaskException at StorageManagerTest.java:57

However, when I run for the second time without changing any code or file, all test cases can pass.
The "throw new DuplicateTaskException" is at line 37 of TaskList.java. When I change it to "throw new DuplicateTitleException", all test cases can pass then.
I don't know why this happens. Can someone help me figure it out?

Case closed. Can be safely merged


IPC doesn't respect XDG_RUNTIME_DIR

Similar to https://github.com/hyprwm/Hyprland/issues/5813
$ sudo mv /run/user{,-disabled}
$ export XDG_RUNTIME_DIR=$HOME/.run
$ mkdir -m 0700 $XDG_RUNTIME_DIR
$ Hyprland
$ hyprpaper
[LOG] Welcome to hyprpaper!
built from commit v0.7.0 (core: move socket to runtime dir (#167))
[LOG] Cleaned old hyprpaper preloads (1), removing 33.2MB
[LOG] Preloaded target /path/to/mywall0.jpg in 12.71ms -> Pixel size: [1185, 1147]
[LOG] Buffer created for target /path/to/mywall0.jpg, Shared Memory usage: 3.7MB
[LOG] Total SM usage for all buffers: 3.7MB
[WARN] Monitor WL-1 does not have a target! A wallpaper will not be created.
[LOG] hyprpaper socket started at /run/user/1234/hypr/cba1ade848feac44b2eda677503900639581c3f4_1714855311_978641511/.hyprpaper.sock (fd: 4)
[ERR] Couldn't listen on the hyprpaper Socket. (3) IPC will not work.

What does "Monitor WL-1 does not have a target!" even mean? How does one create a target for WL-1?


Evochron Mercenary

SteamDB link to the game
https://steamdb.info/app/71000/
What is it being detected as and what should it be detected as? Any other information?
Detected as Godot, but it doesn't seem to be.
Don't know what's the actual engine, might be in house.
Additional information
Windows depot: https://steamdb.info/depot/71001/
It matches the Godot rules as it has .exe and .pck with the same basename, which is indeed the main signature of Godot 3.0+ games:
EvochronMercenary.exe
EvochronMercenary.pck

But Evochron Mercenary was released in 2012, so 2 years before Godot's first open source release, and most importantly 6 years before Godot 3.0 which uses the ".pck with same basename as .exe" logic (previous releases required a main .pck named data.pck).
There's also a ton of other files which are not relevant for Godot, such as DirectX installer and MSVC redistributable DLLs. It's hard to say 100% that this could never match a Godot game as with a custom build and a custom-developed DirectX renderer one could get a distribution like this if one wanted to... but it's extremely unlikely.
If one can access the release date, the Godot rule could exclude games released before February 2014 (or possibly a few months later if needed - the first game released on Steam might be the Dog Mendonça demo: https://steamdb.info/app/330800/).

If one can access the release date, the Godot rule could exclude games released before February 2014 (or possibly a few months later if needed - the first game released on Steam might be the Dog Mendonça demo: steamdb.info/app/330800).

Worth noting: Original release date might not be a 100% accurate factor either as some games might have had a Godot port in a later update (that seems to be the case for e.g. https://steamdb.info/app/579230/ which has a Windows version using Godot and macOS/Linux versions still using Unity, i.e. not updated).

This is a good catch and will be a false positive after the Godot PR goes through.

But Evochron Mercenary was released in 2012, so 2 years before Godot's first open source release, and most importantly 6 years before Godot 3.0 which uses the ".pck with same basename as .exe" logic (previous releases required a main .pck named data.pck).

I think release date checking is out of scope for SteamDB. You also rightly note that release dates are hard to rely on because of stealth updates.

There's also a ton of other files which are not relevant for Godot, such as DirectX installer and MSVC redistributable DLLs. It's hard to say 100% that this could never match a Godot game as with a custom build and a custom-developed DirectX renderer one could get a distribution like this if one wanted to... but it's extremely unlikely.

I think this is the better way to go. Look at all the Godot false positives for this pattern and throw in some easy rule-out evidence patterns we can check.

So I've been thinking about how to excluse this false positive (which is a bit annoying as it's the most "followed" "Godot" game so far on https://steamdb.info/tech/Engine/Godot/ :)).
We could exclude based on stuff like DirectX installers (e.g. DXSETUP.exe), but there's the risk of excluding games which might start with a DirectX engine, and get ported to Godot later. I've seen a number of Godot games with VCRedist depots which made me thought they wouldn't be Godot projects, but then it turned out that e.g. the Windows version had been ported to Godot. (And the VCRedist depots would just be leftovers from previous distributions.)
So... this might be worth a try.
At the same time, this is so specific that it might be just as well if we could have an exclusion list where we can specify that app ID 71000 should not match Godot. Would that be an option?

We could exclude based on stuff like DirectX installers (e.g. DXSETUP.exe), but there's the risk of excluding games which might start with a DirectX engine, and get ported to Godot later. I've seen a number of Godot games with VCRedist depots which made me thought they wouldn't be Godot projects, but then it turned out that e.g. the Windows version had been ported to Godot. (And the VCRedist depots would just be leftovers from previous distributions.)

Just found a Godot game with a DirectX install depot for some obscure reason: https://steamdb.info/app/1189230/depots/

What about these files?
msvcp71.dll
msvcr100.dll
msvcr71.dll

In general we are willing to accept false negatives if it avoids false positives. So I'm willing to trade a lost ID for not making a bad one, so let me know if you find any of the msv files, otherwise I'll go off of DXSETUP.exe

I think it's the same for DXSETUP.exe or msvc*.dll, if the game was ported from another engine but old files have been left lying around, both are likely to be there. msvc*.dll might be a valid scenario for a Godot game using a GDNative plugin that was compiled and linked statically against MSVC's DLLs though, so I'd go with DXSETUP.exe instead.
Or EvochronMercenary.pck, because it's the only false positive I see now ;)

I've just went through all Godot titles currently detected by SteamDB, and Evochron Mercenary is the only false positive I could fine.
Is it really not an option to simply exclude Evochron Mercenary's ID from the Godot detection heuristics?


Firebase storage, trying to upload image when file is null

class StorageFileUploadTask extends StorageUploadTask {
  final File _file;
  StorageFileUploadTask._(this._file, FirebaseStorage firebaseStorage,
      String path, StorageMetadata metadata)
      : super._(firebaseStorage, path, metadata);

  @override
  Future<void> _start() async {
    final String downloadUrl = await FirebaseStorage.channel.invokeMethod(
      'StorageReference#putFile',
      <String, dynamic>{
        'app': _firebaseStorage.app?.name,
        'bucket': _firebaseStorage.storageBucket,
        'filename': _file.absolute.path,
        'path': _path,
        'metadata':
            _metadata == null ? null : _buildMetadataUploadMap(_metadata),
      },
    );
    _completer
        .complete(new UploadTaskSnapshot(downloadUrl: Uri.parse(downloadUrl)));
  }

Shouldn't the plugin check here if file exists?
I go E/flutter (27353): NoSuchMethodError: The getter 'absolute' was called on null. since I was trying to pick an image from my Drive folder, and I didn't check If the image file was there.
Just wanted to put it out there.

ensure you init firebase_storage after init project firebase

@matejthetree
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/811. Any further collaboration will be done there.


Center map location not working when the latlong changed

If the map view is loaded with the given latlon, after a while when the lat long changed, the map didn't move to the new latlon.

I have read some issues and the Mapcontroller did the trick.


DM-37933: Add tests for the Docker storage layer

Test the code to retrieve a tag list and an image digest from the Docker API using mocked httpx responses.  This introduces a mocking system for the Docker API that can eventually be used to retire the higher-level mock of the Docker storage object.

I did not know about respx.  That does indeed make it pretty easy to mock the Docker client.

Oh.  Heh.  I came back here after reading some stuff about respx to say "yeah, it all looks good" but you beat me to it.

Oh, whoops, sorry, I missed that you hadn't approved it yet!


Optimizer: simplify expression optimizer rule

Is your feature request related to a problem? Please describe.
Most other rule based execution engines have some form of expression simplification.
Some common optimizations

inline constant expressions such as 2+2 - 4
simplifying boolean logic true = true - true

Additional context
other rust based examples

datafusion: https://github.com/apache/arrow-datafusion/blob/888504a8da6d20f9caf3ecb6cd1a6b7d1956e23e/datafusion/optimizer/src/simplify_expressions/expr_simplifier.rs
polars: https://github.com/pola-rs/polars/blob/71495ebb017aacc9bedc9723e33481b2307ac8cd/crates/polars-plan/src/logical_plan/optimizer/simplify_expr.rs

it seems like some of these expression simplifications happen in other optimizers
One example is combining conditional logic for filters as tested here
https://github.com/universalmind303/Daft/blob/158291c66e03be9b2252a428f826b6e78c2fb30a/src/daft-plan/src/logical_optimization/rules/push_down_filter.rs#L351

Good call out!


Failed to register operator torchvision::_new_empty_tensor_op

Trying to import
import torchvision
results in exception:

Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.6/dist-packages/torchvision/init.py", line 3, in
from torchvision import models
File "/usr/local/lib/python3.6/dist-packages/torchvision/models/init.py", line 12, in
from . import detection
File "/usr/local/lib/python3.6/dist-packages/torchvision/models/detection/init.py", line 1, in
from .faster_rcnn import *
File "/usr/local/lib/python3.6/dist-packages/torchvision/models/detection/faster_rcnn.py", line 7, in
from torchvision.ops import misc as misc_nn_ops
File "/usr/local/lib/python3.6/dist-packages/torchvision/ops/init.py", line 13, in
_register_custom_op()
File "/usr/local/lib/python3.6/dist-packages/torchvision/ops/_register_onnx_ops.py", line 49, in _register_custom_op
register_custom_op_symbolic('torchvision::_new_empty_tensor_op', new_empty_tensor_op, _onnx_opset_version)
File "/usr/local/lib/python3.6/dist-packages/torch/onnx/init.py", line 200, in register_custom_op_symbolic
return utils.register_custom_op_symbolic(symbolic_name, symbolic_fn, opset_version)
File "/usr/local/lib/python3.6/dist-packages/torch/onnx/utils.py", line 793, in register_custom_op_symbolic
.format(symbolic_name))
RuntimeError: Failed to register operator torchvision::_new_empty_tensor_op.                            The symbolic name must match the format Domain::Name,                            and sould start with a letter and contain only                            alphanumerical characters

Torchvision version (built from source): 0.6.0a0+28b7f8a
PyTorch version (built from source): 1.4.0a0+7f73f1d

Hi,
You need a newer version of PyTorch to be able to compile latest torchvision (I had myself the same issue yesterday and an upgrade of PyTorch fixed it)

By newer you mean the nightly version?
He already uses 1.4 (And I got the same problem with v1.4.0)
Which torchvision should we use with pytorch v1.4.0?

I'm using PyTorch 1.4.0. During building torchvision (0.6.0a0+e2573a7) from source (using pip3) I see this message:
Searching for torch==1.4.0
Best match: torch 1.4.0
Adding torch 1.4.0 to easy-install.pth file

So it looks to me like torchvision depends on 1.4.0. Is that dependency not correct?

5ac5ab9ee83837faa81e7a104f5bd86b330c9fe6 seems to have introduced _new_empty_tensor_op which is the identifier that torch is complaining about.

@saareliad newer means a nightly version of PyTorch and torchvision. Using 1.4.0 and 0.5.0 is not enough.

If you want to use torchvision nightly, you need to use PyTorch nightly.
If you want to use a PyTorch from a release (say 1.4.0), you should use a torchvision from a matching release as well (in this case, 0.5.0)

I incur in the exact same problem,
both pytorch and torchvision installed with:
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu101/torch_nightly.html
Any idea why?

I'm encountering the same problem on a linux server, nightly installed with pip:
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu101/torch_nightly.html
Solved by switching to python 3.7 (was 3.8 before).

@mknw can you open a new issue with the problem you are facing? From the description it seems that Python 3.8 with CUDa 10.1 is not working for our pip binaries, is that correct?
Can you also post when you tried downloading the binaries, and which version they are?

Hi,
I'm facing this issue on the lastest PyTorch version (1.5.0).
Traceback (most recent call last):   File "main.py", line 14, in <module>     from torchvision import transforms   File "/home/alan/anaconda3/envs/cuongpx/lib/python3.6/site-packages/torchvision/__init__.py", line 3, in <module>     from torchvision import models   File "/home/alan/anaconda3/envs/cuongpx/lib/python3.6/site-packages/torchvision/models/__init__.py", line 12, in <module>     from . import detection   File "/home/alan/anaconda3/envs/cuongpx/lib/python3.6/site-packages/torchvision/models/detection/__init__.py", line 1, in <module>     from .faster_rcnn import *   File "/home/alan/anaconda3/envs/cuongpx/lib/python3.6/site-packages/torchvision/models/detection/faster_rcnn.py", line 7, in <module>     from torchvision.ops import misc as misc_nn_ops   File "/home/alan/anaconda3/envs/cuongpx/lib/python3.6/site-packages/torchvision/ops/__init__.py", line 13, in <module>     _register_custom_op()   File "/home/alan/anaconda3/envs/cuongpx/lib/python3.6/site-packages/torchvision/ops/_register_onnx_ops.py", line 51, in _register_custom_op     register_custom_op_symbolic('torchvision::_new_empty_tensor_op', new_empty_tensor_op, _onnx_opset_version)   File "/home/alan/anaconda3/lib/python3.6/site-packages/torch/onnx/__init__.py", line 195, in register_custom_op_symbolic     return utils.register_custom_op_symbolic(symbolic_name, symbolic_fn, opset_version)   File "/home/alan/anaconda3/lib/python3.6/site-packages/torch/onnx/utils.py", line 740, in register_custom_op_symbolic     .format(symbolic_name)) RuntimeError: Failed to register operator torchvision::_new_empty_tensor_op.                            The symbolic name must match the format Domain::Name,                            and sould start with a letter and contain only                            alphanumerical characters
Environment
OS: Ubuntu 16.04.3 LTS (Xenial Xerus)"
PyTorch version: 1.5.0
torchvision version: 0.6.0
Python version: 3.6.9
CUDA version: 10.1
I have tried to degrade torchvision version to 0.5.0 but it raises another issue. How can I solve this issue?
Thanks

Seeing this error with Torchvision 0.6.0 (built from source) on ppc64le (CUDA 10.0) and x86-64 (CUDA 10.2) with PyTorch 1.4.0 (built from source), python 3.6.9 on Ubuntu 18.04.  I'll attempt to downgrade TorchVision to 0.5.0 since ppc64le is currently broken with PyTorch 1.5.0.

Hi,
torchvision 0.6.0 is expected to work with PyTorch 1.5.0, and we don't guarantee that it will work with earlier versions of PyTorch

I resolved this with pip install --upgrade torch torchvision

torchvision 0.6.0 is expected to work with PyTorch 1.5.0, and we don't guarantee that it will work with earlier versions of PyTorch

Given how intertwined torchvision is with PyTorch, might not be a bad idea to enforce the torch version via requirements.txt, have a version compatibility chart documented (if it isn't already, didn't spot one), or base the version number of torchvision on its compatible version of PyTorch (assuming they are released in lockstep).

@qhaas that is a good point.
This should be fairly easy to do for stable versions of PyTorch / torchvision, but for the nightlies it might be a bit more complicated.
cc @seemethere for thoughts on how to enforce that the dependencies for the nightlies of PyTorch and torchvision align.

torchvision 0.6.0 is expected to work with PyTorch 1.5.0, and we don't guarantee that it will work with earlier versions of PyTorch

Given how intertwined torchvision is with PyTorch, might not be a bad idea to enforce the torch version via requirements.txt, have a version compatibility chart documented (if it isn't already, didn't spot one), or base the version number of torchvision on its compatible version of PyTorch (assuming they are released in lockstep).

This is actually already a requirement, per the wheel pkginfo:
> pkginfo -f requires_dist torchvision-0.6.0-cp38-cp38-manylinux1_x86_64.whl
requires_dist: ['numpy', 'torch (==1.5.0)', 'pillow (>=4.1.1)', "scipy ; extra == 'scipy'"]

Same goes for conda packages as well:
> conda search -c pytorch torchvision=0.6.0 -info
torchvision 0.6.0 py38_cu101
----------------------------
file name   : torchvision-0.6.0-py38_cu101.tar.bz2
name        : torchvision
version     : 0.6.0
build       : py38_cu101
build number: 0
size        : 11.8 MB
license     : BSD
subdir      : linux-64
url         : https://conda.anaconda.org/pytorch/linux-64/torchvision-0.6.0-py38_cu101.tar.bz2
md5         : 43374c8892abfc00f81c0ff2d62e2596
timestamp   : 2020-04-21 02:04:48 UTC
dependencies:
  - cudatoolkit >=10.1,<10.2
  - numpy >=1.11
  - pillow >=4.1.1
  - python >=3.8,<3.9.0a0
  - pytorch 1.5.0

Given how intertwined torchvision is with PyTorch, might not be a bad idea to enforce the torch version via requirements.txt, have a version compatibility chart documented (if it isn't already, didn't spot one), or base the version number of torchvision on its compatible version of PyTorch (assuming they are released in lockstep).

We should have something similar to torchtext's dependency matrix for all the domain libraries.
https://github.com/pytorch/text#installation

Facing this issue with:
torch==1.5.0+cpu
torchvision==0.6.0+cpu

Any suggestions?

@anurag25 please add more details for the error you are getting, and your system as well

have the same problem,
RuntimeError: Failed to register operator torchvision::_new_empty_tensor_op.                            The symbolic name must match the format Domain::Name,                            and sould start with a letter and contain only                            alphanumerical characters

Version:
torch                             1.5.0
torchtext                         0.6.0
torchvision                       0.6.0
Python 3.6.9

I met the issue too. And my version info as below:
# Name                    Version                   Build  Channel
_pytorch_select           0.1                       cpu_0
blas                      1.0                         mkl
ca-certificates           2020.1.1                      0
certifi                   2<IP_ADDRESS>               py37_0
cffi                      1.14.0           py37hc512035_1
intel-openmp              2019.4                      233
libcxx                    10.0.0                        1
libedit                   3.1.20181209         hb402a30_0
libffi                    3.3                  h0a44026_1
libgfortran               3.0.1                h93005f0_2
mkl                       2019.4                      233
mkl-service               2.3.0            py37hfbe908c_0
mkl_fft                   1.0.15           py37h5e564d8_0
mkl_random                1.1.1            py37h959d312_0
ncurses                   6.2                  h0a44026_1
ninja                     1.9.0            py37h04f5b5a_0
numpy                     1.18.1           py37h7241aed_0
numpy-base                1.18.1           py37h3304bdc_1
openssl                   1.1.1g               h1de35cc_0
pip                       20.0.2                   py37_3
pycparser                 2.20                       py_0
python                    3.7.7                hf48f09d_4
pytorch                   1.4.0           cpu_py37hf9bb1df_0
readline                  8.0                  h1de35cc_0
setuptools                47.1.1                   py37_0
six                       1.15.0                     py_0
sqlite                    3.31.1               h5c1f38d_1
tk                        8.6.8                ha441bb4_0
wheel                     0.34.2                   py37_0
xz                        5.2.5                h1de35cc_0
zlib                      1.2.11               h1de35cc_3

The code is just some import:
import torch
import torchvision
import torchvision.transforms as transforms

Running it will get an error:
Traceback (most recent call last):
 File "/Users/sheldon/vscodeProjects/Dive-into-DL-PyTorch/mycode/mnist3.5.py", line 2, in <module>
   import torchvision
 File "/Users/sheldon/opt/anaconda3/lib/python3.7/site-packages/torchvision/__init__.py", line 3, in <module>
   from torchvision import models
 File "/Users/sheldon/opt/anaconda3/lib/python3.7/site-packages/torchvision/models/__init__.py", line 12, in <module>
   from . import detection
 File "/Users/sheldon/opt/anaconda3/lib/python3.7/site-packages/torchvision/models/detection/__init__.py", line 1, in <module>
   from .faster_rcnn import *
 File "/Users/sheldon/opt/anaconda3/lib/python3.7/site-packages/torchvision/models/detection/faster_rcnn.py", line 7, in <module>
   from torchvision.ops import misc as misc_nn_ops
 File "/Users/sheldon/opt/anaconda3/lib/python3.7/site-packages/torchvision/ops/__init__.py", line 13, in <module>
   _register_custom_op()
 File "/Users/sheldon/opt/anaconda3/lib/python3.7/site-packages/torchvision/ops/_register_onnx_ops.py", line 51, in _register_custom_op
   register_custom_op_symbolic('torchvision::_new_empty_tensor_op', new_empty_tensor_op, _onnx_opset_version)
 File "/Users/sheldon/opt/anaconda3/lib/python3.7/site-packages/torch/onnx/__init__.py", line 200, in register_custom_op_symbolic
   return utils.register_custom_op_symbolic(symbolic_name, symbolic_fn, opset_version)
 File "/Users/sheldon/opt/anaconda3/lib/python3.7/site-packages/torch/onnx/utils.py", line 793, in register_custom_op_symbolic
   .format(symbolic_name))
RuntimeError: Failed to register operator torchvision::_new_empty_tensor_op.                            The symbolic name must match the format Domain::Name,                            and sould start with a letter and contain only                            alphanumerical characters

Hi,
You need a newer version of PyTorch to be able to compile latest torchvision (I had myself the same issue yesterday and an upgrade of PyTorch fixed it)

I updated my torch into 1.5.0 version and my torchvision is 0..6.0, which were not able to updated further. Can you help me with this problem

Facing this issue with:
torch==1.5.0+cpu
torchvision==0.6.0+cpu

Any suggestions?

Have you ever fix this problem? I have same versions of torch and torchvision with you

Hi,
torchvision 0.6.0 is expected to work with PyTorch 1.5.0, and we don't guarantee that it will work with earlier versions of PyTorch

I have already the torch 1.5.0 and torchvsion 0.6.0, but it appears same
pip install --upgrade torch torchvision
Requirement already up-to-date: torch in /home/caine/anaconda3/lib/python3.7/site-packages (1.5.0)
Requirement already up-to-date: torchvision in /home/caine/anaconda3/lib/python3.7/site-packages (0.6.0)
Requirement already satisfied, skipping upgrade: future in /home/caine/anaconda3/lib/python3.7/site-packages (from torch) (0.18.2)
Requirement already satisfied, skipping upgrade: numpy in /home/caine/anaconda3/lib/python3.7/site-packages (from torch) (1.18.5)
Requirement already satisfied, skipping upgrade: pillow>=4.1.1 in /home/caine/anaconda3/lib/python3.7/site-packages (from torchvision) (7.1.2)

After several attempts to fix this problem, I find version of torch and torchvison should be matched. and the env cannot have other version of torch.
what i have done to fix this problem is uninstall torch and torchvision then use cmd
pip install --upgrade torch torchvision
bingo


feat(project info): output available plans

I found the following documentation with TODO commented out. Therefore, I added a function to output Plans in the following format.
example: For a dagger.cue file
success
input
package todoapp

import (
	"dagger.io/dagger"

	"dagger.io/dagger/core"
	"universe.dagger.io/netlify"
	"universe.dagger.io/yarn"
)

dagger.#Plan & {
	actions: {
		// Load the todoapp source code
		source: core.#Source & {
			path: "."
			exclude: [
				"node_modules",
				"build",
				"*.cue",
				"*.md",
				".git",
			]
		}

		// Build todoapp
		build: yarn.#Script & {
			name:   "build"
			source: actions.source.output
		}

		// Test todoapp
		test: yarn.#Script & {
			name:   "test"
			source: actions.source.output

			// This environment variable disables watch mode
			// in "react-scripts test".
			// We don't set it for all commands, because it causes warnings
			// to be treated as fatal errors.
			// See https://create-react-app.dev/docs/advanced-configuration
			container: env: CI: "true"
		}

		// Deploy todoapp
		deploy: netlify.#Deploy & {
			contents: actions.build.output
			site:     string | *"dagger-todoapp"
		}
	}
}

output
❯ ./dagger-debug project info

Current dagger project in: /Users/uyas/go/src/go.dagger.io/dagger/todoapp
+--------+------------------------------+
| ACTION |           COMMENT            |
+--------+------------------------------+
| source | Load the todoapp source code |
| build  | Build todoapp                |
| test   | Test todoapp                 |
| deploy | Deploy todoapp               |
+--------+------------------------------+

failed
input
package todoapp

import (
	"dagger.io/dagger"

	"dagger.io/dagger/core"
	"universe.dagger.io/netlify"
	"universe.dagger.io/yarn"
)

dagger.#Plan & {
	actions: {
	// 	// Load the todoapp source code
	// 	source: core.#Source & {
	// 		path: "."
	// 		exclude: [
	// 			"node_modules",
	// 			"build",
	// 			"*.cue",
	// 			"*.md",
	// 			".git",
	// 		]
	// 	}

	// 	// Build todoapp
	// 	build: yarn.#Script & {
	// 		name:   "build"
	// 		source: actions.source.output
	// 	}

	// 	// Test todoapp
	// 	test: yarn.#Script & {
	// 		name:   "test"
	// 		source: actions.source.output

	// 		// This environment variable disables watch mode
	// 		// in "react-scripts test".
	// 		// We don't set it for all commands, because it causes warnings
	// 		// to be treated as fatal errors.
	// 		// See https://create-react-app.dev/docs/advanced-configuration
	// 		container: env: CI: "true"
	// 	}

	// 	// Deploy todoapp
	// 	deploy: netlify.#Deploy & {
	// 		contents: actions.build.output
	// 		site:     string | *"dagger-todoapp"
	// 	}
	// }
}

output
❯ ./dagger-debug project info

Current dagger project in: /Users/uyas/go/src/go.dagger.io/dagger/todoapp
Failed to load dagger plan

imported and not used: "dagger.io/dagger/core":
    ./dagger.cue:6:2
imported and not used: "universe.dagger.io/netlify":
    ./dagger.cue:7:2
imported and not used: "universe.dagger.io/yarn":
    ./dagger.cue:8:2

Congrats @u-yas for your first contribution! I started looking into this & I want to add an integration test before merging.
The other thing that needs fixing is to not display hidden actions. In this case, _alpine should not be displayed:

Want to help out with that?

@gerhard

@gerhard
Thank you for watching my PR!

The other thing that needs fixing is to not display hidden actions. In this case, _alpine should not be displayed:

I have a question. The condition to determine whether an action is hidden or not is whether the first character is "_". Is that enough?
Also, if you have any, it would be great if you could tell me if there is a document about hidden actions. I looked all over but couldn't find it.

Thank you for watching my PR!

💪🏻

I have a question. The condition to determine whether an action is hidden or not is whether the first character is "_". Is that enough?

Yes, that's right.

Also, if you have any, it would be great if you could tell me if there is a document about hidden actions. I looked all over but couldn't find it.

https://cuelang.org/docs/tutorials/tour/references/hidden/
https://docs.dagger.io/1226/coding-style#private-names
https://github.com/dagger/dagger/blob/954664e6db0f548e10645848d3def287b99d53f6/docs/tests/core-concepts/fs/client/build_image.cue#L12-L15
https://github.com/dagger/dagger/blob/7aa1b8ad5f9fd9a7dcd6523dac2c08333a66c35a/cmd/dagger/logger/tty2.go#L56-L60

@gerhard
Thank you for the many documents!
https://github.com/dagger/dagger/pull/3139/commits/a54e3dff9ae8fb529a9283fc3ccc2fc33fb6ca4d
Is there any problem with this change?

@gerhard Thank you for the many documents!

🙌

Is there any problem with this change? a54e3df

No, it looks good to me.


Endpoint /application/{idApp}/{processId}/file [POST] [Required for UI screen Publish Service]

Description
Values

Description:
Endpoint to upload files for a specific application.

Screen that needs the endpoint:
Publish Service

Endpoint required:
/api/application/{idApp}/{processId}/file

Call Type:
POST

Request Data Type:
multipart/form-data

Request Parameters:
file(file), type(["promoimage", "contentlibrary", "toscaarchive"]), name(String)

A param in the URL will be needed in order to keep track of the procces.
The param will be a QueryParam/RequestParam called "processInstanceId".

I have impolemented the server side code. The client side does not send the file to the server. Please have a look at it. I commented your code and put something else and worked. Please have a look and put all the information in the new implementation. addContentLibrary is the method i've cahnge and server side method is ApplicationResource#upload. After you resolve the problem send the task to guido. The service method is : BpmnService#upload

Checked and fixed issues on the uploading of files in the UI.

TODO: The idApp and the processID recived from the rest-component should be sended to the BPMN engine, to let it keep track of the flow.

done


Please, clarify description for Stream.skipWhile()

The description for dart:async:Stream.skipWhile() reads:

Stream<T> skipWhile(
bool test(
T element
)
)
Skip data events from this stream while they are matched by test.
Error and done events are provided by the returned stream unmodified.
Starting with the first data event where test returns false for the event data, the returned stream will have the same events as this stream.
The returned stream is a broadcast stream if this stream is. For a broadcast stream, the events are only tested from the time the returned stream is listened to.

Please, clarify the case if test throws error.

Addressed by 32a2d2079af113dfcca50e9388cc578d6073dc5a

Is it true, that after test is failed first time, the test is not called anymore for next events?

Yes.


The contents of nav bar are getting underlined while hovering

Description
No response
Screenshots
No response
Any additional information?
No response
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[ ] I am a GSSoC'23 contributor

I want to fix this bug. Please assign this task

That's not an issue, it's expected.

I have made the it more interesting. I have applied certain transitions to make it cool

It just require a small CSS change
from text "text-decoration: underline;" to "text-decoration: none;" in "nav a:hover" in header

@kushwahaPrashant24 the underline effect is expected. So I made the underline transition.

@Souvik34 I think you've already added that in your existing PR. I can merge that.
Let's get that merged first and after that we will come back here if need to improve further.

Yes I have made the changes in my earlier PR.

Already merged


[RTS Viewer] "Internal Server Error" message is shown on viewer app

Viewer: "Internal Server Error" message is shown on viewer app when following streaming is started from Dashboard

Start the streaming with multi-source and enter "MAIN SRC" in Source ID
Start the streaming with multi-source off or Start the streaming with multi-source ON and no Source ID

I've tested the following scenarios and haven't found any problems

Start the streaming with multi-source and enter "MAIN SRC" in Source ID
Start the streaming with multi-source ON and no Source ID

However, the following scenario hasn't been tested due to not being able to toggle Mulit source off

Start the streaming with multi-source off


Nick: Watch bestnutrichoice.com

Nick requests the watch of the watch_keyword bestnutrichoice\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

bestnutrichoice\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


Add GetClientSentiment

Description
This adds a GetClientSentiment call which implements another of IG's endpoints.
Notes
The input to it is a marketID, it took me a while to figure out what this was. To get it you need to do a "market search", then you have to look up that market with /market/{epicId} and it is contained in that output. It might be useful to make this method just accept an epicId and do the lookup programmatically if you think that's an idea I'll do it.

Thanks @chrissharkey for opening this PR and sorry for the long delay. I missed the notification somehow 😱 Code looks good so far, could you please fix the merge conflict? Then I can merge it.


Error loading from meta graph, KeyError: u'RsqrtGrad'

On centos 6.3, I have tested both on tf 0.10 and 0.11rc0, all facing this problem.
Loading meta graph from saved model meta graph file.
File "/home/gezi/mine/tensorflow-exp/util/melt/inference/predictor.py", line 61, in restore
saver = tf.train.import_meta_graph(meta_graph)
File "/home/img/common/tensorflow.gpu.bigdata/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1458, in import_meta_graph
return _import_meta_graph_def(read_meta_graph_file(meta_graph_or_file))
File "/home/img/common/tensorflow.gpu.bigdata/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1348, in _import_meta_graph_def
producer_op_list=producer_op_list)
File "/home/img/common/tensorflow.gpu.bigdata/lib/python2.7/site-packages/tensorflow/python/framework/importer.py", line 252, in import_graph_def
op_def = op_dict[node.op]
KeyError: u'RsqrtGrad'

@chenghuige can you create a minimal test case that reproduces this problem?

@tatatodd  well it's hard to make a minimal test case.
But I have find the problem is due to mismatch tensorflow versions.
It only occurs when traing using tf 0.11 and load using tf.0.10.
So this might not be a problem.

@chenghuige I see.
I'll close this out for now, and you can comment on this issue or open a new issue if you still have problems.  Thanks!

@tatatodd @chenghuige
I've met with the same problem, for some reasons however I cant switch to tf 0.11 to load it.
So have you found any solutions with tensorflow 0.10?
Thanks!


Race condition in futures::sync::mpsc

It looks like there's a race condition in the MPSC implementation in futures 0.1.19, unless my understanding of the intended behavior is incorrect.  If a Sender::try_send() happens concurrently with a Receiver close/drop, it's possible for try_send() to return Ok(()) even though the item can never be received and will not be dropped until the Sender is dropped.  My expectation was to receive an error matching Err(ref e) if e.is_disconnected().  The Receiver Drop implementation closes the channel and drains any items present, but this can apparently happen just before the Sender thinks it has successfully enqueued the item.
I wrote a small program to stress-test this scenario and demonstrate the bug:
https://github.com/simmons/mpsc-stress
I discovered this behavior while stress testing a program which implements a synchronous API by sending a command + oneshot::Sender to a future's MPSC, which processes the command and sends the oneshot when complete.  When the described race occurs, the sending thread would deadlock while hopelessly waiting forever for the oneshot::Receiver to either receive or indicate disconnection.
If I get a chance in the next few days, I'll see if I can root-cause the problem.  (Unless I'm told that my expectation is incorrect.)

I looked through the futures::sync::mpsc code, and confirmed what is happening.  When a new item is submitted via try_send(), the Sender checks that the channel is open, then enqueues the message -- but the channel can actually be closed between these two events. Specifically:

On Thread 1, do_send() (via try_send()) is called to submit a message.
inc_num_messages() determines that the channel is open and a new message can be enqueued.
On Thread 2, the Receiver is closed, which marks the channel as closed, and all remaining messages are drained.  This could be done explicitly by the application (e.g. the "clean shutdown" described in the documentation), or by way of the Drop implementation.
Back on Thread 1, do_send() adds the new message to the queue and returns Ok(()) to indicate that the message has successfully been sent.
That message is now stuck in a channel with no Receiver.  It can never be received and will not be dropped (unless the Sender is dropped, of course).  Because try_send() returns Ok(()) instead of Err(TrySendError { kind: TrySendErrorKind::Disconnected(_) }), the caller may reasonably assume that the message is deliverable or will be properly dropped should the Receiver close.

Just to test, I added a Mutex to prevent Sender::do_send() and Receiver::close() from executing concurrently, and confirmed that this fixes the problem.  Obviously that is counter to the lock-free design goal of the MPSC code.


Smart Blueprint: Create Mechanism for Storing Infrastructure Metadata

As described in section 4 of the Smart Blueprint Approach document, config policies may contain predicate and decisions relating to the infrastructure (clusters, storage, network, etc).  Some of the infrastructure metadata may be static and some may be dynamic.  Either way, the most current values must be stored somewhere so that they may be queried by the control plane when making decisions about how best to construct the data plane for a given workload.
Assumptions:

For now the values will be entered manually.  Real time monitoring of the values of the attributes is outside the scope of fybrik.

Parent Issues: #93

It was decided to store in json format in a configmap.  Need to create a wrapper in the code in case we change the persistence in the future.  A taxonomy will describe the structure.  Configmap has a limitation of 1M.  Persistent storage is another option, but is more complicated.  For now we'll stay with configmap.
Assumption is that this information is global, and not specific to a particular user or workload.

Attached is the Json draft. Please feel free to leave your comments @shlomitk1 @roee88 @simanadler. Thanks
Json-draft.pptx

Implemented.


Fix reference in config

Referred to itself instead of the other config variable

However, checking the code, it seems this is not uses consistently.
lib/rucio/core/permission/__init__.py has in fact complex logic to determine the policy, but in several places in the code, a simple config_get("policy", "permission") is done instead.

❯ rg -F "config_get('policy', 'permission'"
lib/rucio/transfertool/fts3.py
1370:                policy = config_get('policy', 'permission')

lib/rucio/core/permission/__init__.py
49:            FALLBACK_POLICY = config.config_get('policy', 'permission')
93:                POLICY = config.config_get('policy', 'permission')

lib/rucio/common/policy.py
35:            policy = config_get('policy', 'permission')

lib/rucio/web/ui/flask/bp.py
24:POLICY = config_get('policy', 'permission')

lib/rucio/web/ui/flask/common/utils.py
239:    policy = config_get('policy', 'permission')


Fixed the canonical path in security.txt

The canonical path was incorrect.

It is also expired

I have added a commit to extend the validity to the end of the year (and set the date as per ISO 8601 required by RFC 9116).
On that note, the security.txt here is actually invalid in the scope of the specification set by RFC 9116 (some values aren't URIs, even though they must be). This includes Contact, Encryption, Policy and Hiring.


Display a random selection of cities on home page

And add links to their budget page.

Closed by 89172ff7471014e0df4e6ca329197dd5d7ec6b3c


Add verbosemode as user of ocaml-ci

I'd like to add my GH user to run the CI for the OCaml syslog-message repo.

Should be building now!