Update LLC SDKs and Autorest C# version

This PR updates the following -

Update AutoRest C# version to 3.0.0-beta.20211102.1
Move ContentType from Azure.Core.Experimental into Azure.Core
Remove package references and add project references to Azure.Core so LLCs can reference the RequestContext type. Add project references to Azure.Core.Experimental for everything but WebPubSub
Update WebPubSub customization layer

API changes have been detected in Azure.Security.ConfidentialLedger. You can review API changes here

API changes have been detected in Azure.Core. You can review API changes here

API changes have been detected in Azure.Core.Experimental. You can review API changes here

API changes have been detected in Azure.Verticals.AgriFood.Farming. You can review API changes here

API changes have been detected in Azure.Analytics.Purview.Account. You can review API changes here

API changes have been detected in Azure.Analytics.Purview.Administration. You can review API changes here

API changes have been detected in Azure.Analytics.Purview.Catalog. You can review API changes here

API changes have been detected in Azure.Analytics.Purview.Scanning. You can review API changes here

API changes have been detected in Azure.Messaging.WebPubSub. You can review API changes here

API changes have been detected in Azure.Analytics.Synapse.AccessControl. You can review API changes here


Improve GDCAPIPhenoset

Realized that I coded this up but never made a PR!
In this PR:

Hard-coded projects are removed
Multiple projects in GDCAPIPhenoset are now supported
Removed expand from GDC-PANCAN.

Here is a list of fields for those new projects which can be incorporated later.
fields.txt


Make NodeJS and Java required to build

Is there a way to opt out of that somewhow? Like, I probably don’t ever want to contribute to the Java SignalR client, so I really don’t want to have to install the Java SDK just to be able to compile non-Java stuff in the repo.

Maybe I missed something while I was out, but I thought NodeJS and Java were still optional, and only needed if you add additional paramaters to opt-in to nodejs/java projects, e.g. build.sh --build-nodejs

@natemcmaster, building Blazor.Server requires yarn to be present. The generated binary is incorrect without the embedded js files. Additionally, building template tests now fail if you do not have java installed: https://github.com/aspnet/AspNetCore/blob/master/src/Shared/E2ETesting/E2ETesting.targets#L37-L38. The error appears in the default code path when you do build. I'm simply updating the docs to reflect these new requirements

@poke generally building individual "sub-folders" should not require java or NodeJS to be installed. However building the repo does require these tools, the build fails otherwise.


Xiangling icon no longer recognized after presing F12

Due to icons changes in update 1.4 some characters icons are no longer recognized. Xianling no longer has her headband and other characters updated their icons too. (Playing Global version with English language with script version 0.0.8 release)
P.S: Sorry for english language.

Update to 0.0.9 will fix it
And, don't care about the language :)

Thank you.


Error..

There is an error in playerlist :3 when u do playerlist in the console t makes the console log blank?
@Megabyte918 any fix?
plz close this issue if its fixed

I could not reproduce this error. Try using the latest version of CommandList.js, and if that does not solve it could you provide a screenshot of the console?

nvm i fixed it :D


Prepare for publishing to NPM

Same basic thing as https://github.com/REVrobotics/node-can-bridge/pull/3

Looks good!


Food items text color mismatch

The text color of the food items does not align with the brand archetype.

Before Update

After Update


Add lock when set fragment task status.

What problem does this PR solve?
Add corresponding issue link with summary if exists -->
Issue link:
What is changed and how it works?
Code changes

[x] Has Code change
[ ] Has CI related scripts change

Check List
Tests

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

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Note for reviewer

@mergify refresh

@mergify rebase

@mergify queue


Add "validate" field to keybindings example files

When loading keybinding file, I got a parser error because the "validate" field don't exist in the keybindings example files, so I added it to them.

Hello @kuryart,
What is your app version ?

Version 0.15.1

@kuryart the validate field has been renamed to "confirm". If you have an older version of the applicatio you'll need to rename it back to "validate"


Implement rm-override

resolves #130
Implementation Open Questions

use one Context for commands Override and RmOverride?
how to handle removing empty patch table? (See comment in Code)

Could you check the failed tests, please? These fail because the existence of the manifest is checked before the package details are built. Is it ok to adopt the output errors in the tests, or does these tests have to be changed?

Could you check the failed tests, please? These fail because the existence of the manifest is checked before the package details are built. Is it ok to adopt the output errors in the tests, or does these tests have to be changed?

@teamplayer3, I'm ver sorry I took a whole week to responded. Last week was particularly busy at work so I didn't get many chances to look at open source. I'll also check out your other PR as soon as I get the chance.
The changes to the output look fine. Feel free to adopt the new output in the tests :+1: . Once that's done, I think I'm happy to merge

In test patch_path_doesnt_exist I have problems filtering the os error. @eopb have you an idea how to write the regex for it? Related to #147 .

I think, as described in https://github.com/eopb/cargo-override/issues/147#issuecomment-2366963291, we can remove snapshots that assert on cargo metadata output. assert.failure() should be enough for these cases where the output is so fragile.

I think, as described in https://github.com/eopb/cargo-override/issues/147#issuecomment-2366963291, we can remove snapshots that assert on cargo metadata output. assert.failure() should be enough for these cases where the output is so fragile.

Maybe there are two points we can learn of these specific tests. First we recognize something like in #155. Secondly, the error could be too complicated and should be simplified and be implemented by cargo-override, maybe.
Yeah, it could be too picky.


Validate 0.6.2 SUC

On fresh installs of rancher server , validate upgrade of imported k3s clusters work with 0.6.2 SUC.
On upgraded rancher server installs , validate upgrade of imported k3s clusters continue to work and uses 0.6.2 SUC.
Related PR - https://github.com/rancher/system-charts/pull/310/files

Validated both scenarios using both k3s and rke2

Uses system-upgrade-controller of v0.6.2
Upgrade scenario upgrades the system-upgrade-controller version to v0.6.2 as expected


Invisible obstacle in pedModelSwap

I was trying to modify the built-in pedModelSwap example by adding one obstacle in the middle of the intersection. The only part that I modified is adding one obstacle in the pedModelSwapS.xml.
However, the obstacle seems to be invisible to agents in the beginning. Agents can enter inside of the obstacle (as shown in the Figure) rather than avoid it. After that, the agents seem to be trapped inside.
In order to make the obstacle visible, should I change something? Any suggestions? Thanks.

Without looking at the exact definition of the obstacle, I would hypothesize that you need to reverse the order of the vertices.
Menge obstacles always have a well-defined sense of "inside" and "outside". If you define the obstacles in a counter-clockwise direction, then the inside of the polygon is "inside" and the outside is "outside". If you define them in a clockwise direction, then that gets reversed.

Thanks for your quick reply.
It solved my problem - I just changed the definition of the obstacle from clockwise to counter-clockwise, as you suggested.
My follow-up question is: Is there any documents that I could study on topics such as the definition of obstacles. It looks like that the class of Menge::NavMeshPoly defines the order of the vertices, but did I miss any other documents that I can also look into? Thanks.

Sadly, not yet. I've been working on updating the documentation for Menge, including discussing exactly that topic.  The obstacle set element is the very next one on my list.
I'll close this topic when the documentation for obstacle specification has been updated.

Sounds great, can't wait to read your new update. Cheers!


drill sqlAlchemt url

i wanted to use drill in superset but after writting the url : drill+sadrill://localhost:8047/mongo/test
but i had the problem : Invalid driver Can't load plugin: sqlalchemy.dialects:drill.sadrill
meanwhile i unstalled https://github.com/JohnOmernik/sqlalchemy-drill that can help but same problem
ubutnu18.04
apache-superset 0.36.0
how can i handle it ?

@ISLEMNEDDAR
This is looking like somehow the dialect is not installed correctly or in your python environment.  Can you try running some of the test scripts in the drill dialect and see if those work?

@cgivre
you are right
the python setup.py install does not install inside venv i dont know why ?
do you have an idea ?

thank you for help
it's solved

Hi guys, i have the same issue: ERROR:root:Can't load plugin: sqlalchemy.dialects:drill.sadrill , can anybody tell me please how can i to fix it?

@cgivre
you are right
the python setup.py install does not install inside venv i dont know why ?
do you have an idea ?
and after your response i will close the issue because it's not a reallt an issue

Hello Islemneddar, can you share me please, what did you to fix it?

@omejiasq
You have to start the virtual environment first:
source venv/bin/activate

Then, only after you've activated the virtual environment, install the sqlalchemy-drill driver.  This is now available on Pypi and can be installed with:
pip install sqlalchemy-drill

@omejiasq
You have to start the virtual environment first:
source venv/bin/activate

Then, only after you've activated the virtual environment, install the sqlalchemy-drill driver. This is now available on Pypi and can be installed with:
pip install sqlalchemy-drill

Hello cgvre thank you. I did what you told me, but when i run the command pip install sqlalchemy-drill, i caught some issues. I show this log:
Building wheels for collected packages: sqlalchemy-drill
Running setup.py bdist_wheel for sqlalchemy-drill ... error
Complete output from command /home/edgarubuntustudio/venv/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-dezp45fe/sqlalchemy-drill/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpc57728k8pip-wheel- --python-tag cp36:
/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'

Failed building wheel for sqlalchemy-drill
Running setup.py clean for sqlalchemy-drill
Failed to build sqlalchemy-drill
Installing collected packages: sqlalchemy-drill
Running setup.py install for sqlalchemy-drill ... done
Successfully installed sqlalchemy-drill-0.1.dev0
After of this i restart superset and set this SQLAlchemy URI:drill+sadrill://localhost:8047/dfs?use_ssl=False and when i click over test Connection button i get this error:AttributeError: module 'sqlalchemy_drill.drilldbapi' has no attribute 'Error' do you know please how can to fix it?

ok.. this is a bug on the version on Pypi.  I will fix this today.
In the meantime, you should be able to do the following:

source venv/bin/activate
Clone or d/l the Drill dialect from github
Navigate to the sqlalchemy-drill directory
python setup.py install

Just make sure you are in the correct virtual environment when you run the last step and it should work.
-- C

On Aug 9, 2020, at 10:45 AM, omejiasq<EMAIL_ADDRESS>wrote:
@omejiasq https://github.com/omejiasq
You have to start the virtual environment first:
source venv/bin/activate
Then, only after you've activated the virtual environment, install the sqlalchemy-drill driver. This is now available on Pypi and can be installed with:
pip install sqlalchemy-drill
Hello cgvre thank you. I did what you told me, but when i run the command pip install sqlalchemy-drill, i caught some issues. I show this log:
Building wheels for collected packages: sqlalchemy-drill
Running setup.py bdist_wheel for sqlalchemy-drill ... error
Complete output from command /home/edgarubuntustudio/venv/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-dezp45fe/sqlalchemy-drill/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpc57728k8pip-wheel- --python-tag cp36:
/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
Failed building wheel for sqlalchemy-drill
Running setup.py clean for sqlalchemy-drill
Failed to build sqlalchemy-drill
Installing collected packages: sqlalchemy-drill
Running setup.py install for sqlalchemy-drill ... done
Successfully installed sqlalchemy-drill-0.1.dev0
After of this i restart superset and set this SQLAlchemy URI:drill+sadrill://localhost:8047/dfs?use_ssl=False and when i click over test Connection button i get this error:AttributeError: module 'sqlalchemy_drill.drilldbapi' has no attribute 'Error' do you know please how can to fix it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/apache/incubator-superset/issues/10032#issuecomment-671060665, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKB7PXMO6BULH5CJOZU2CTR72ZBBANCNFSM4N2ULOUA.

Thank you cgivre, now i get this issue:
sudo python setup.py install
[sudo] password for edgarubuntustudio:
Traceback (most recent call last):
File "setup.py", line 25, in
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
TypeError: 'encoding' is an invalid keyword argument for this function
How can i to fix it?

What version of python are you using?
I apologize for all these errors and thank you for working with me to get these fixed.

On Aug 9, 2020, at 10:52 AM, omejiasq<EMAIL_ADDRESS>wrote:
Thank you cgivre, now i get this issue:
sudo python setup.py install
[sudo] password for edgarubuntustudio:
Traceback (most recent call last):
File "setup.py", line 25, in
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
TypeError: 'encoding' is an invalid keyword argument for this function
How can i to fix it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/apache/incubator-superset/issues/10032#issuecomment-671061482, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKB7PSDGRM4ISASH5QSQ23R72Z4XANCNFSM4N2ULOUA.

What version of python are you using? I apologize for all these errors and thank you for working with me to get these fixed.
Thank you to you,
I have version 3.6.9 of python. do I need to change my python version?

Cgivre, do i need to downgrade my python version? can you tell me plese to which python version ?

ok.. this is a bug on the version on Pypi. I will fix this today. In the meantime, you should be able to do the following: 1. source venv/bin/activate 2. Clone or d/l the Drill dialect from github 3. Navigate to the sqlalchemy-drill directory 4. python setup.py install Just make sure you are in the correct virtual environment when you run the last step and it should work. -- C
…
On Aug 9, 2020, at 10:45 AM, omejiasq @.***> wrote: @omejiasq https://github.com/omejiasq You have to start the virtual environment first: source venv/bin/activate Then, only after you've activated the virtual environment, install the sqlalchemy-drill driver. This is now available on Pypi and can be installed with: pip install sqlalchemy-drill Hello cgvre thank you. I did what you told me, but when i run the command pip install sqlalchemy-drill, i caught some issues. I show this log: Building wheels for collected packages: sqlalchemy-drill Running setup.py bdist_wheel for sqlalchemy-drill ... error Complete output from command /home/edgarubuntustudio/venv/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-dezp45fe/sqlalchemy-drill/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpc57728k8pip-wheel- --python-tag cp36: /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help error: invalid command 'bdist_wheel' Failed building wheel for sqlalchemy-drill Running setup.py clean for sqlalchemy-drill Failed to build sqlalchemy-drill Installing collected packages: sqlalchemy-drill Running setup.py install for sqlalchemy-drill ... done Successfully installed sqlalchemy-drill-0.1.dev0 After of this i restart superset and set this SQLAlchemy URI:drill+sadrill://localhost:8047/dfs?use_ssl=False and when i click over test Connection button i get this error:AttributeError: module 'sqlalchemy_drill.drilldbapi' has no attribute 'Error' do you know please how can to fix it? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#10032 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKB7PXMO6BULH5CJOZU2CTR72ZBBANCNFSM4N2ULOUA.

Hello Cgivre, do you  have anything to this issue please?
Thank you.

@omejiasq
I just pushed an update with a few other bug fixes.  I tested this on my local machine and was able to install the new version from pip without issues.  Please let me know if you have any problems.

Hello cgivre,
I uninstalled sqlalchemy-drill of this way: pip uninstall sqlalchemy-drill, after i installed again with this command:pip install sqlalchemy-drill of this way:pip install sqlalchemy-drill (in this case I did not see any errors in the installation.).
But i get the same error: AttributeError: module 'sqlalchemy_drill.drilldbapi' has no attribute 'Error' . I send you a complete log of superset:

2020-08-16 13:31:18,186:DEBUG:urllib3.connectionpool:http://localhost:8047 "POST /query.json HTTP/1.1" 200 7674
2020-08-16 13:31:18,189:DEBUG:root:Mapping column name of Drill type VARCHAR to dtype object
2020-08-16 13:31:18,192:DEBUG:root:Mapping column isDirectory of Drill type BIT to dtype boolean
2020-08-16 13:31:18,196:ERROR:root:module 'sqlalchemy_drill.drilldbapi' has no attribute 'Error'
Traceback (most recent call last):
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1236, in _execute_context
cursor, statement, parameters, context
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 536, in do_execute
cursor.execute(statement, parameters)
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/sqlalchemy_drill/drilldbapi/_drilldbapi.py", line 69, in func_wrapper
return func(self, *args, **kwargs)
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/sqlalchemy_drill/drilldbapi/_drilldbapi.py", line 186, in execute
df[col_name] = df[col_name].astype(col_dtype)
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/pandas/util/_decorators.py", line 178, in wrapper
return func(*args, **kwargs)
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/pandas/core/generic.py", line 5001, in astype
**kwargs)
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/pandas/core/internals.py", line 3714, in astype
return self.apply('astype', dtype=dtype, **kwargs)
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/pandas/core/internals.py", line 3581, in apply
applied = getattr(b, f)(**kwargs)
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/pandas/core/internals.py", line 575, in astype
**kwargs)
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/pandas/core/internals.py", line 636, in _astype
dtype = np.dtype(dtype)
TypeError: data type "boolean" not understood
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/superset/views/core.py", line 1781, in testconn
return json_success(json.dumps(engine.table_names(), indent=4))
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2209, in table_names
return self.dialect.get_table_names(conn, schema)
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/sqlalchemy_drill/base.py", line 283, in get_table_names
curs = connection.execute("SHOW FILES FROM " + quoted_schema)
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 974, in execute
return self.execute_text(object, multiparams, params)
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1147, in _execute_text
parameters,
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1240, in _execute_context
e, statement, parameters, cursor, context
File "/home/edgarubuntustudio/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1347, in _handle_dbapi_exception
isinstance(e, self.dialect.dbapi.Error)
AttributeError: module 'sqlalchemy_drill.drilldbapi' has no attribute 'Error'
^C[2020-08-16 13:36:31 -0500] [2692] [INFO] Handling signal: int
My server has the following characteristics:

Ubuntu 18.04.5
Superset installed. I start superset of this way:
. venv/bin/activate
superset runserver
apache drill 1.16.0 version installed and running. I can see all the databases configured even with mongodb databases.
I have installed python 3.6.9 in my virtual environment where I run superset and sqlalchemy-drill.

What can I do now? Or could we connect at some point and you will enter my server to check everything please?

@omejiasq
I apologize for this.  There was a PR for the Drill dialect which attempts to infer data types, but in the process, breaks a lot of things.
So two things:

I would strongly recommend updating Drill to the latest version if you can.
I think the bug is here:

https://github.com/JohnOmernik/sqlalchemy-drill/blob/dedb76d0be5157d32c505abf1b523364582400f8/sqlalchemy_drill/drilldbapi/_drilldbapi.py#L19
Can you try this:

Do a git clone and d/l the library from the github repo
Change that line to:

'BIT':  'bool',

Reinstall the driver from the one you just modified and see if that works.

What I think is happening here is that Drill is returning JSON with all the values in quotes.  The dialect is attempting to map the Drill data types to Pandas data types, but is failing because boolean is not a recognized data type.

Thank you very much friend. I was able to correct this bug by following your steps.
Excuse me, do you have any document or linkt where i can to read information to change the look and feel?

@omejiasq
Thanks for helping me find (and fix) a few difficult bugs!  As for changing the look and feel, that I don't think I can help you with but I'd ask on the Superset slack channel.

@cgivre I'm getting similar error but it is not related BIT. It comes from VARCHAR as you can see below. I'm using python 3.8 and latest versions of sqlalchemy-drill and drill itself. Do you have any idea how to solve it?

superset_1  | DEBUG:root:Mapping column TABLE_NAME of Drill type VARCHAR to dtype string
superset_1  | ERROR:root:module 'sqlalchemy_drill.drilldbapi' has no attribute 'Error'

@iercan
Can you open a new issue with the full stack trace?  There are a few other bugs I'd like to quash as well.
Thanks!

@cgivre I created new issue #12155


Unread Action is not synced with other devices.

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

Action Performed:

Open E.cash on Device A.
Login with User A on Device A.
Open E.cash on Device B.
Login with user A on device B.
Open any chat on device A.
Open the same chat on device B.
Send a message from User A on Device A to another user.
Mark this message as Unread from the Context menu on device A.
Go to device B and check the opened chat, that message should be unread, and ---new---- line should be visible over it.

Expected Result:
Marking a message Unread should mark that message unread on all devices and A new line should be visible over it.
Actual Result:
----New---- line is only visible on the same device.
Workaround:
Refresh the chat on other devices.
Platform:
Where is this issue occurring?
Web  :heavy_check_mark:
iOS :heavy_check_mark:
Android :heavy_check_mark:
Desktop App :heavy_check_mark:
Mobile Web :heavy_check_mark:
Version Number: Latest
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
View all open jobs on Upwork

Triggered auto assignment to @davidcardoza (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

Proposal

We need to Subscribe to UnreadAction on Report in subscribeToUserEvents.
https://github.com/Expensify/Expensify.cash/blob/408b7e00cf33c16600af0b67b819c764fcb5388a/src/libs/actions/Report.js#L649
But first we need to check if the backend is sending notifications to Such a Pusher event.
If the backend is sending that, then we subscribe to it as follows.

          // Live-update a report's actions when an 'unread comment' event is received.
    Pusher.subscribe(pusherChannelName, Pusher.TYPE.[Unread action Pusher Event here], (pushJSON) => {
        Log.info(
            `[Report] Handled ${Pusher.TYPE.[Unread action Pusher Event here]} event sent by Pusher`, true, {
                reportActionID: pushJSON.reportActionID,
            },
        );
          updateLastReadActionID(pushJSON.reportID, pushJSON.sequenceNumber);
          setNewMarkerPosition(pushJSON.reportID, pushJSON.sequenceNumber);
    }, false,
    () => {
        NetworkConnection.triggerReconnectionCallbacks('pusher re-subscribed to private user channel');
    })
        .catch((error) => {
            Log.info(
                '[Report] Failed to subscribe to Pusher channel',
                true,
                {error, pusherChannelName, eventName: Pusher.TYPE.[Unread action Pusher Event here]},
            );
        });

The proposal makes sense, assigning out to engineering.

Triggered auto assignment to @Luke9389 (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

I think you may have unassigned me on accident @davidcardoza.

My bad!

@parasharrajat, we've elected not to pursue this issue for now. The current flow works pretty well as-is, and we want to focus on higher-priority issues. Thanks very much for bringing this up though! We really appreciate your contributions and would love to see new issues like this one in the future. 👍


What permissions are needed? - State: 42501, Native error: 1, Message: ERROR: permission denied

$ odbc2parquet query --connection-string 'Driver={PostgreSQL Unicode};Server=localhost;PWD=mypassword;Database=test_user_db;UID=myusername;' ~/Downloads/out.par 'SELECT * FROM test_parquet_to_table;'
2023-08-22T14:42:49-04:00 - WARN - State: 01000, Native error: 0, Message: [unixODBC][Driver Manager]Driver does not support the requested version
2023-08-22T14:42:49-04:00 - WARN - State: 42501, Native error: 1, Message: ERROR: permission denied for table test_parquet_to_table;
Error while executing the query
Error: ODBC emitted an error calling 'SQLExecDirect':
State: 42501, Native error: 1, Message: ERROR: permission denied for table test_parquet_to_table;
Error while executing the query

odbc2parquet is not concerned with permissions in any form. It just forwards the query to the driver manager for execution. If you are able to execute the query with any other tool e.g. dbeaver or plsql odbc2parquet should also be able to execute it. Did you check that the test_user_db has read permission on the table in question.

Yes it works fine in psql

Can not reproduce this.
This is the connection string in the integration tests: Driver={PostgreSQL UNICODE};Server=localhost;Port=5432;Database=test;Uid=test;Pwd=test;
See: https://github.com/pacman82/odbc2parquet/blob/5bf3566336cd0bd26099856f2ab8dee993fa3cb1/tests/integration.rs#L29C24-L34C15
This is how the Postgres is setup in the GitHub workflow:

      postgres:
        image: postgres:13
        ports:
          - "5432:5432"
        env:
          POSTGRES_DB: test
          POSTGRES_USER: test
          POSTGRES_PASSWORD: test

See: https://github.com/pacman82/odbc2parquet/blob/5bf3566336cd0bd26099856f2ab8dee993fa3cb1/.github/workflows/test.yml#L20C1-L28C34
Works fine. As said all permission management is proprietary with this tool. As is the reported status code. You need to check PostgreSQL documentation.
Best, Markus

I am closing this issue. At the moment it is simply not actionable for me. We are even fortunate enough that PostgreSQL is already in the test suite, yet such permission Problems do not show up for me. I would take the error message at face value. Feel free to reopen the issue if you have more information or reply if you found out what caused the permission problem.


Node not found - Broken?

Currently, in https://github.com/gaearon/react-transform-boilerplate with no extra code, and just added this transform, react doesn't seem to find the nodes.

Uncaught Error: Invariant Violation: findComponentRoot(..., .0.0): Unable to find element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a <tbody> when using tables, nesting tags like <form>, <p>, or <a>, or using non-SVG elements in an <svg> parent. Try inspecting the child nodes of the element with React ID ``.

Eh.. nevermind.. react 0.13..


Linux emoji support

Feature request
Could these two nixpacks be added? So that we can use colored emojis on canvas. As linux doesn't support colored emojis, we can't show colored emojis when we draw text with emojis on a canvas.
packs:

https://github.com/SimonBriche/heroku-buildpack-emoji-support.git
https://github.com/splitwise/heroku-buildpack-emoji-priority

Motivation
I am using skia-canvas to draw text on a canvas
but it makes the emojis colorless and outlined as linux doesn't support color emojis
so, I was using these buildpacks on heroku so that it supports colored emojis

but I wanted to deploy my app on railway.
Can we get these 2 as nixpacks?
Contribution
No response

I can see this being useful for a lot of projects so I don't see a problem adding this to all nixpacks builds. I don't have time to work on this personally but would accept a PR by someone in the community.

Is there an apt/nix package?

I am guessing not. I suspect we will have to use an apt package to accomplish this.


Better rendering display of assets

Currently, it's a bit confusing the manner in which we display assets of the same type...we should group by account or asset type.

@VanishMax, was this completed? we should also add a minifront v2 task for asset rendering.

@TalDerei no, it isn't completed yet. We sorted the assets by account index in the dashboard but the asset selectors


Add Lenovo-kodama

Lenovo-kodama (Chromebook tablet 10e) is the same hardware as Lenovo-krane.
Verified this boots and is operable, with exception to screen rotation, wich is a different offset then krane.

The acceleration matrix might be "correct" [as well as incorrect].
I need to dive back into the root issue, but IIRC my understanding was that different things used it in different contexts, meaning that the "correct" matrix under some compositors is "incorrect" under others [citation needed].


Double clicking a snake case variable does not select the whole variable

Godot version
v4.0.dev.custom_build [1acc76fec]
System information
Linux
Issue description
Previously in Godot, when double clicking on a snake_case piece of text, the whole snake_case text was higlighted. Now it will trea the _ as a whitespace and higlight only the half where you double clicked. Liikely a regression?
Steps to reproduce

Create a script
Create a variable called snake_case
Double click on snake
Observe that only snake is selected and not the whole snake_case word

Minimal reproduction project
No response

Duplicate of https://github.com/godotengine/godot/issues/46380, (I've created a similar issue but it was closed as a duplicate too: https://github.com/godotengine/godot/issues/49673)


Adding helpers for asserting database query count

Description
Dealing with performance and scaling issues due to poorly designed code logic can cause a lot of hard to pin problems, especially in bigger projects. This PR adds some helpers to give the tools during development and in tests to check for hidden N+1 problems.
This PR adds the documentation for the functionality.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Refactor (refactoring a current feature, method, etc...)
[ ] Code Coverage (adding/removing/updating/refactoring tests)
[x] New feature (non-breaking change which adds functionality)
[ ] Remove feature (non-breaking change which removes functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

@Mohammad-Alavi I have excluded the test traits from code coverage. I dont think it makes sense to specifically test test case helper traits.

@Mohammad-Alavi I have excluded the test traits from code coverage. I dont think it makes sense to specifically test test case helper traits.

@yalsicor I think the traits should be tested in the Core.
The end user doesn't need to test them in their project but we have to test them here to make sure they are working as expected.
I have included them in the coverage again. I am all ears if you think otherwise.
I have prepared the test file for your code to help you kickstart writing the tests for your new features.
Everything else looks good to me :muscle: Add the tests and we are good to go.
This would be a nice addition in oour testing toolset 💪 Thank you 😎

@Mohammad-Alavi I have added the tests and fixed some issues with my code.


Configurable "empty" value for TextField / Select

[x ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
I should be able to designate values other than empty string to trigger "no selection" behaviors when using <TextField> in select mode.
Current Behavior
The <TextField> component only expands its label when a <MenuItem> with value "" is selected.
Context
The models managed by my back end APIs often have a specific value to indicate that no selection has been made, particularly for non-string values. Sometimes it's -1, other times it's "unknown". Of course there is nothing stopping me from adding MenuItems with these values to my layout, but the TextField has special behaviors (eg. enlarging the label component) that only trigger when a MenuItem with an empty string value is selected.
So: what do you think about providing something like an emptyValue configuration property? By default, of course, it would be set to empty string.
If you don't actively object to the idea I'll open a PR. Let me know what you think, and thank you for your time.

@shmax At first sight, I don't see the win. As I understand the problem. Solving the problem in userland is as simple as using an emptyValue property, no?

Naturally you could solve the problem in your own client code, but it's something that can be a bit fiddly to do (you have to correct the value going in and coming out) and would generally require you to write your own wrapper around TextField/Select if you want to keep things reusable. The win is that users wouldn't have to write the code themselves. It wouldn't break the current API, it would just be an extra convenience for people in my situation.

Tell you what; I'll post some before and after code this evening so we can make sure we both have the same understanding. Maybe you can show me where I'm being silly.

Fair enough. I wanted to gauge the general reaction before spending any time on it, but when I was poking around in the debugger I had the vague idea that the feature would boil down to a few inline changes. I'll dig a bit deeper tonight.

Perfect, it's about two lines in userland:
val = val === emptyValue ? "" : val;
//...
form.setValue(this.props.name, val === "" ? emptyValue : val)

If you are using something like react-final-form, it's the equivalent of the parse and format method. Something you would have to use anyway with boolean or number value.

I have added the waiting for users upvotes tag. I'm closing the issue as I'm not sure people are looking for such abstraction. So please upvote this issue if you are. We will prioritize our effort based on the number of upvotes.


Also allow comma separation for CnSanReplace to support IPv6

Also remove old space separation as it's not used anywhere

/lgtm

/test e2e-aws-ovn-single-node-recert-serial

/test ?

/test e2e-aws-ovn-single-node-recert-parallel


Range of y axis on Bar

Hi.
May I ask how to implement a specific range on Y. Now, the value of y is depending on the max value x.
Thank you in advance!

I already solve it hehehe thank you!

@ellatuquero how?

here sir I just the define the range on the domain. y(0,300) 0 is the minimum and 300 was the maximum


Typescript Version

We should have a TypeScript version

There could have a branch that will represent a TypeScript version


@Model DB Related Directives

There are a number of directives from #13 that cannot be implemented until #5 is implemented. See the epic:db label.

[x] Implement basics of @Model

[x] Implement dbConfig for ModelOption
[x] inject create (instance)
[x] inject save (instance)
[x] inject delete (instance)
[x] inject get (static)
[x] inject getById (static)
[x] inject delete (static)
[x] make sure CRUD methods allow for mongodb options
[x] make sure get methods allow for mongodb field projection
[x] inject fromDb static method to instantiate a Model Object from a DB result
[x] inject fromDbArray static method to instantiate an array of Model Objects from DB results
[x] inject toDb static method

[x] @Required -- see #36
[x] @Db

[x] fromDb integration
[x] update CRUD to respect @Db

[x] crudCreate
[x] crudSave
[x] crudDelete
[x] crudGetStatic
[x] crudGetByIdStatic

[x] implement private field in @Db to prevent @Json from marshalling that field
[x] implement DbOptions or string parameter (the latter mapping to DbOptions.field)

[ ] ~@Validate~ moved to #38
[x] Make sure you have all the debugs in place

@Db({})
import {SakuraApi} from 'sakuraapi';
import * as mongodb from 'mongodb';

const config = SakuraApi.instance.config;

class DataSources {
    static userDb = mongodb.MongoClient.connect(config.userDbUrl)
}

import {DataSources} from 'config/datasources';

@Model({
    dbConfig: {
        db: DataSources.userDb,
        collection: 'users'
    }
})
class User {
    @Db({
        field: '_id',
        type: ObjectId
    })
    id: string = '';

    @Db({
        field: 'un',
        type: String,
        required: true,
        default: ''
    })
    @Json('un')
    userName: string = '';

    @Db({
        field: 'pw',
        type: String,
        required: true
    })
    @Private()
    userName: string = '';
}

It is finished... I think.


Running Win 3.1 apps in Costa

Will it ever be possible for Windows 3.1 Apps or Windows 9X apps to run in Costa?

Hi dgrtygry,
No, that would be a massive undertaking as Windows apps require tremendous amounts of APIs to be implemented. No one-man project would be able to accomplish this, and it's just not technically feasible in the BASIC language.

Ok.


[Bug] Fatal Error: Did not find expected key

Is this a support request?

[X] This is not a support request

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
I attempted to update my Headscale configuration with a newer version. When I attempted to start headscale I received the error:
● headscale.service - headscale coordination server for Tailscale
     Loaded: loaded (/usr/lib/systemd/system/headscale.service; enabled; preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Thu 2024-08-29 13:42:45 UTC; 76ms ago
    Process: 2624 ExecStart=/usr/bin/headscale serve (code=exited, status=1/FAILURE)
   Main PID: 2624 (code=exited, status=1/FAILURE)
        CPU: 43ms

2024-08-29T13:43:20Z WRN Failed to read configuration from disk error="While parsing config: yaml: line 12: did not find expected key"
2024-08-29T13:43:20Z FTL ../runner/work/headscale/headscale/cmd/headscale/cli/root.go:48 > Error loading config error="fatal error reading config file: While parsing config: yaml: line 12: did not find expected key"

I tried to do a fresh install on a different machine. I am seeing the exact same error. This makes no sense to me as I had everything working earlier today.
Expected Behavior
Headscale should start up normally.
Steps To Reproduce

Perform a fresh install of headscale - download latest release from here: https://github.com/juanfont/headscale/releases/download/v0.22.3/headscale_0.22.3_linux_amd64.deb
follow the instructions for configuring and enabling headscale
sudo systemctl start headscale

Environment
- OS:Ubuntu 24.04 LTS
- Headscale version: v0.22.3

Runtime environment

[ ] Headscale is behind a (reverse) proxy
[ ] Headscale runs in a container

Anything else?
No response

can you please post the failing yaml? I suspect you have a tab field in it or something, 0.22.3 has been out for a while, so this is likely a user error and you should ask in Discord.

After some debugging it does appear that there was a tab character out of place. After formatting the config file it works as normal


generate empty javadoc jar for spring-cloud-azure-native-configuration

Description
Generate an empty javadoc jar for spring-cloud-azure-native-configuration to meet the requirement of Nexus Staging rules.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

API change check for com.azure.spring:spring-cloud-azure-native-configuration
API changes are not detected in this pull request for com.azure.spring:spring-cloud-azure-native-configuration


Env vars: allow them to work

Env vars: don't overrwite them if there's no config
Previously, commands like packer deploy would require there to be a
packer.env.json config file or it'd crash. It seems like env vars were
supposed to be allowed as a way to configure packer. But, if you did
provide a config file, all your env vars would be overridden.
Here we print an error message if the packer.env.json file can't be
found, but continue, assuming that the environment contains the needed
vars.
Local copy of submitted upstream pull: https://github.com/hayes0724/shopify-packer/pull/184

QA :+1:
json file continues to work and now when it's not available, we fall back to env vars.


Change renderTabBar() to renderTabBar(props) and some other fix

change renderTabBar() to renderTabBar(props)
fix textStyle propType
make ScrollableTabBar's height customable
add tabStyle in DefaultTabBar
add keyboardShouldPersistTaps in ScrollableTabBar

#274

lets make 1 change at a time. I agree with your ScrollableTabBar changes. I can accept them in next pull request.
Please squash commits into 1
About renderTabBar we also need to update Readme and scrollable example.


npm installer fails on proxy and certificates

When I attempt to use the npm installer for Elm (on CentOS7):
npm install -g elm
(as per https://www.npmjs.com/package/elm)
I get the following error:
> ><EMAIL_ADDRESS>install /home/dev/.nvm/versions/node/v6.11.3/lib/node_modules/elm
> > node install.js
>
> Error communicating with URL https://dl.bintray.com/elmlang/elm-platform/0.18.0/linux-x64.tar.gz Error: unable to get local issuer certificate
> npm ERR! Linux 3.10.0-693.17.1.el7.x86_64
> npm ERR! argv "/home/dev/.nvm/versions/node/v6.11.3/bin/node" "/home/dev/.nvm/versions/node/v6.11.3/bin/npm" "install" "-g" "elm"
> npm ERR! node v6.11.3
> npm ERR! npm  v3.10.10
> npm ERR! code ELIFECYCLE
>
> npm ERR<EMAIL_ADDRESS>install: `node install.js`
> npm ERR! Exit status 1
> npm ERR!
> npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node install.js'.
> npm ERR! Make sure you have the latest version of node.js and npm installed.
> npm ERR! If you do, this is most likely a problem with the elm package,
> npm ERR! not with npm itself.
> npm ERR! Tell the author that this fails on your system:
> npm ERR!     node install.js
> npm ERR! You can get information on how to open an issue for this project with:
> npm ERR!     npm bugs elm
> npm ERR! Or if that isn't available, you can get their info via:
> npm ERR!     npm owner ls elm
> npm ERR! There is likely additional logging output above.
>
> npm ERR! Please include the following file with any support request:
> npm ERR!     /home/dev/projects/assessment-service/npm-debug.log

I have attached the npm-debug-log file:
npm-debug.log
One of my colleagues suggested this workaround:
wget https://dl.bintray.com/elmlang/elm-platform/0.18.0/linux-x64.tar.gz
sudo tar -zvxf linux-x64.tar.gz --strip-components=1 -C /usr/local/bin

and that was successful. He had a look at the issue and suggest that cause might be this:

We configure NPM to use a root certificate of the proxy
The ELM install script downloads a file from the internet but does not pass proxy configuration OR certificate configuration from NPM
So I think it is a bug in the ELM package install.js - specifically this:
https://github.com/elm-lang/elm-platform/blob/master/installers/npm/install.js#L27

My colleague believes the workaround is successful because wget will honor the https_proxy / HTTPS_PROXY environment variable

This worked for me
NODE_TLS_REJECT_UNAUTHORIZED="0" npm install -g elm

JordyMoos suggestion of using NODE_TLS_REJECT_UNAUTHORISED="0" works fine but a) it seems like more of a work-around than a fix and b) I couldn't find it on the npmjs.com page for Elm. I'm concerned it will put off people less obsessive than me! ;-)

The system has all the necessary certs installed to allow things to work with our Corporate MITM proxy here, but for some reason, this operation does not use those certificates, and so I also had to disable the TLS verification :(


feat: inlay hints

Needs:

[x] Tests

https://zignar.net/2022/10/26/testing-neovim-lsp-plugins/

[x] LSP Test
[x] Test extra padding table
[x] Test WS offset
[x] shim function for 0.9 compat
[x] Works with tabbed lines, offsets need some adjustments as on complex lines they get messed up

Closes #37

@willothy can you give this one a look over as there is a lot here
i think its good to go though

I'll look this over tomorrow!


Take flake8 config from typeshed

See
https://github.com/PyCQA/pyflakes/issues/320
https://github.com/PyCQA/pyflakes/pull/371
https://github.com/python/typeshed/blob/master/.flake8

thanks @sproshev


Feature request: Add wind to preview spring bones

checkbox to add wind (with ability to change power / rotation) in the scene
would be cool for future photo mode / testing spring bones

this also seems like a good way to test, click to grab and shake the avatar around
https://pixiv.github.io/three-vrm/packages/three-vrm/examples/mouse.html


Lack of error handling in the WASM backend

The wasm backend has a bunch of unwraps where proper propagation of the errors should be happening.

@CryZe I believe you've been working on a reference implementation? I'd love for us to do better error propagation; but going from wasm's errors to proper error types was quite tricky. Did you find a solution for this?


"Session invalidated unexpectedly" on ios running example

Hi,
When I try to run the example in Xcode I get. the following error when hitting the "Toggle scan" button.
Any ideas why.  Is it a permission problem because I am just Personal Team?
Regards,
Gavin
2020-08-12 16:46:24.833420-0400 Runner[49554:17014289] Metal API Validation Enabled
2020-08-12 16:46:24.957805-0400 Runner[49554:17014485] flutter: Observatory listening on http://<IP_ADDRESS>:57473/99vrNynKEpg=/
2020-08-12 16:46:32.017670-0400 Runner[49554:17014463] [CoreNFC] 00000002 83608500 -[NFCNDEFReaderSession beginSessionWithConfig:]:324  error:Error Domain=NFCError Code=202 "Session invalidated unexpectedly" UserInfo={NSLocalizedDescription=Session invalidated unexpectedly}, errorCode: 0xca
2020-08-12 16:46:32.029065-0400 Runner[49554:17014474] flutter: error: PlatformException(SessionTerminatedUnexpectedlyError, Session invalidated unexpectedly, null)

Having same issue. Is that library still being maintained?
`flutter: error: PlatformException(SessionTerminatedUnexpectedlyError, Session invalidated unexpectedly, null, null)
flutter: error: PlatformException(SessionTerminatedUnexpectedlyError, Session invalidated unexpectedly, null, null)
flutter: error: PlatformException(SessionTerminatedUnexpectedlyError, Session invalidated unexpectedly, null, null)
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown while finalizing the widget tree:
setState() called after dispose(): _ReadExampleScreenState#afeb2(lifecycle state: defunct)
This error happens if you call setState() on a State object for a widget that no longer appears in the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error can occur when code calls setState() from a timer or an animation callback.
The preferred solution is to cancel the timer or stop listening to the animation in the dispose() callback. Another solution is to check the "mounted" property of this object before calling setState() to ensure the object is still in the tree.
This error might indicate a memory leak if setState() is being called because another object is retaining a reference to this State object after it has been removed from the tree. To avoid memory leaks, consider breaking the reference to this object during dispose().
When the exception was thrown, this was the stack:
#0      State.setState. (package:flutter/src/widgets/framework.dart:1208:9)
#1      State.setState (package:flutter/src/widgets/framework.dart:1243:6)
#2      _ReadExampleScreenState._stopScanning (package:nfc_master/read_example_screen.dart:48:5)
#3      _ReadExampleScreenState.dispose (package:nfc_master/read_example_screen.dart:64:5)
#4      StatefulElement.unmount (package:flutter/src/widgets/framework.dart:4854:12)
...
════════════════════════════════════════════════════════════════════════════════════════════════════`

This unhelpful error from iOS is because your entitlements/capabilities/permissions are not set up correctly. Note you must have a paid Apple developer membership to use this library on iOS; Apple only allows NFC access to paid tiers.
I have tested this on the latest iOS 14 as of today and it works fine with a paid account.


fail when [ceph-mon:collect admin and bootstrap keys]

ansible: v<IP_ADDRESS>
os: centos-7.4.1708
ceph-ansible: v3.0.30

[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: ceph_release_num.{{ ceph_release }} >= ceph_release_num.luminous
[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: ceph_release_num.{{ ceph_release }} >= ceph_release_num.luminous
[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: ceph_release_num.{{ ceph_release }} >= ceph_release_num.luminous
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "cmd": ["ceph-create-keys", "--cluster", "ceph", "-i", "ceph-jx-2", "-t", "30"], "delta": "0:00:36.987453", "end": "2018-04-18 11:51:06.916667", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2018-04-18 11:50:29.929214", "stderr": "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nceph-mon was not able to join quorum within 0 seconds", "stderr_lines": ["INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "ceph-mon was not able to join quorum within 0 seconds"], "stdout": "", "stdout_lines": []}
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "cmd": ["ceph-create-keys", "--cluster", "ceph", "-i", "ceph-jx-3", "-t", "30"], "delta": "0:00:37.074080", "end": "2018-04-18 11:51:07.046113", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2018-04-18 11:50:29.972033", "stderr": "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nceph-mon was not able to join quorum within 0 seconds", "stderr_lines": ["INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "ceph-mon was not able to join quorum within 0 seconds"], "stdout": "", "stdout_lines": []}
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "cmd": ["ceph-create-keys", "--cluster", "ceph", "-i", "ceph-jx-1", "-t", "30"], "delta": "0:00:37.600903", "end": "2018-04-18 11:51:07.604598", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2018-04-18 11:50:30.003695", "stderr": "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\nceph-mon was not able to join quorum within 0 seconds", "stderr_lines": ["INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'", "ceph-mon was not able to join quorum within 0 seconds"], "stdout": "", "stdout_lines": []}

i tried manually run cmd
it showed

INFO:ceph-create-keys:ceph-mon admin socket not ready yet.

Monitors are not in quorum, please check the monitor service status and the logs.

hello Jinxiao, have same issue, did you resolve this? :)

this can come from multiple reasons, could you share the service status and the logs ?

i think this is because i have not uncomment the dict
`ceph_release_num:
dumpling: 0.67
emperor: 0.72
firefly: 0.80
giant: 0.87
hammer: 0.94
infernalis: 9
jewel: 10
kraken: 11
luminous: 12
mimic: 13
`

@jinxiao  same issue, cloud you tell me how to solve?


Feature #27/redis locking

Adds support for Redis distributed lock to avoid cache stampede effects. For now its not applied anywhere and functions/class is private.
Once implementation for memcached and memory is done, I'll add support for cached decorator at first and make it public as a on demand feature after. The implementation for memcached and memory won't be hard now that the base is set with Redis.
Some things to still add in this MR:

Lease time should support miliseconds (now its just seconds). I think this will raise a problem for memcached since it doesn't support it?
There is a worst case scenario for operations that take the whole lease time N. If a call arrives 0.1 ms before the lease expires, the call will be blocked N while it would only need 0.1 to continue
If the lease expires, ALL calls will try to retrieve the value from the resource that its being protected. I've decided to do it this way to avoid block the calls too much waiting for leases that could always be expiring.

@gjcarneiro what do you think, is there anything you are missing? You can see an example of it working in https://github.com/argaen/aiocache/compare/feature_%2327/redis_locking?expand=1#diff-61192af138ef98c9b82cba13168e6e12R205 (the asyncio.sleep there represents the expensive operation)

Codecov Report

Merging #235 into master will increase coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #235      +/-   ##
==========================================
+ Coverage      99%   99.06%   +0.05%
==========================================
  Files          12       13       +1
  Lines         705      746      +41
  Branches       76       78       +2
==========================================
+ Hits          698      739      +41
  Misses          7        7

Impacted Files
Coverage Δ

aiocache/backends/redis.py
100% <100%> (ø)
:arrow_up:

aiocache/_lock.py
100% <100%> (ø)

aiocache/decorators.py
100% <100%> (ø)
:arrow_up:

aiocache/base.py
100% <100%> (ø)
: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 9f2358d...e447a86. Read the comment docs.

Redis integration done. #27


Adding unit tests

@jasonsandlin,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Add variants to YML without repeating all slots in each variant

NOTE: Related issue on Drupal.org may need to be resolved before attempting to resolve how to format the YML for this issue.
In order to include child components (such as adding atom components inside of molecules and organisms), they are added as slots under thirdPartySettings in the yml file.
However, if a component with child components has variants, all of the slots content must be repeated under each variant, creating code redundancies.

thirdPartySettings:

sdcStorybook:

Default:

Slot 1 info
Slot 2 info
Slot 3 info

Variant 1

Slot 1 info
Slot 2 info
Slot 3 info

Variant 2

Slot 1 info
Slot 2 info
Slot 3 info

Could we change this so that only slots which have some change per variant must be repeated? Such as:

thirdPartySettings:

sdcStorybook:

Default:

Slot 1 info
Slot 2 info
Slot 3 info

Variant 1

Slot 2 info (for example, if different from default)

Variant 2

Slot 3 info (for example, if different from default)

Reference to a card component where this problem may be found:
https://github.com/lunarfusion/storybook-university/blob/main/components/03-organisms/card/card.component.yml

I don't have plans for supporting variants for now, maybe just experimental
But you can take a look at better option.
Instead of using variants, you can use created stories:
https://github.com/iberdinsky-skilld/sdc-addon?tab=readme-ov-file#example-configuration
and result:
https://iberdinsky-skilld.github.io/sdc-addon/?path=/story/sdc-paragraph--grid

Variants now supported.


⚠ Cioos National CKAN Sitemap has degraded performance

In e09842d, Cioos National CKAN Sitemap (https://catalogue.cioos.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 9570 ms

Resolved: Cioos National CKAN Sitemap performance has improved in f7f2feb after 4 minutes.


Feature/ready for release

I think this is everything, semantic-release should release it to npm as part of Travis since I've stored the tokens for it to do so.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Create dotnet.yml

This is nice

This way it's always known if the code is buildable + if any tests fail


lint: @azure/azure-sdk/ts-pagination-list rule doesn't support type aliases

The rule "@azure/azure-sdk/ts-pagination-list" doesn't handle cases where you alias a PagedAsynciterableIterator. In general type aliases seem to be a bit broken, maybe there's a common fix for these kinds of issues to resolve to the base types.

See also #7605. Needs more investigation.
Marking up for grabs.


Add currentTime as input parameters for isDue function to not skip job executions

If number of jobs will be too high or if the job preparation will be called closer to the end of a minute, some jobs might be considered as not being due to execution. isDue function checks values for current minute.
A solution might be to set currentTime at the beginning of the run() function and pass it to the isDue function of cron library.

Closed by #104.


Fix possible typo

Hi, I found a possible typo.
I replaced them with the following one-liner.
$ rg datermin --files-with-matches | xargs -I {} sed -i -e 's/datermin/determines/' {}

Thanks!


Integrate newer azure-mgmt-web

//cc: @lmazuel, please release the azure-mgmt-web on Monday, otherwise the PR won't pass CI

@yugangw-msft done https://pypi.python.org/pypi/azure-mgmt-web/0.31.0


About input size

This is a great job and has a positive significance for the development of the IML community.
However, I have noticed that there is some confusion regarding the input image sizes for different methods in this project. For instance, in Trufor, the input image is randomly cropped to 512 × 512 during training, while the entire image, regardless of size, is used during testing. This is why the experimental results in Table 3 are different from those in the original paper.
Additionally, it seems that there is no standardization in current research on image manipulation detection regarding whether input images should be resized and what size they should be resized to. As a result, most comparisons are unfair, and the experimental conclusions are not reliable. This is a matter that deserves serious attention.

Thank you for recognizing and engaging with our work.

However, I have noticed that there is some confusion regarding the input image sizes for different methods in this project. For instance, in Trufor, the input image is randomly cropped to 512 × 512 during training, while the entire image, regardless of size, is used during testing. This is why the experimental results in Table 3 are different from those in the original paper.

This is a good question. In our experiments with TruFor, we indeed resized images to 512 × 512 for both training and testing, which differs from the original paper. This approach was chosen for computational efficiency since TruFor, although supporting multi-resolution input, experiences a significant increase in FLOPs with larger image sizes.

Method
Paper
Infer. Time (sec)/ Image
Params.(M)
512x512 FLOPS(G)
1024x1024 FLOPS(G)

MVSS-Net
ICCV21 & TPAMI22
2.929
147
167
683

PSCC-Net
TCSVT22
0.072
3
120
416

HiFi-Net
CVPR23
1.512
7
404
3470

TruFor
CVPR23
1.231
68
231
1016

IML-ViT
ArXiv
0.094
91
136
576

Additionally, it seems that there is no standardization in current research on image manipulation detection regarding whether input images should be resized and what size they should be resized to. As a result, most comparisons are unfair, and the experimental conclusions are not reliable. This is a matter that deserves serious attention.

Regarding your second point, the lack of standardization in image resizing is indeed a chaotic aspect of the current research landscape. Highlighting and addressing this issue is one of the primary reasons we wrote this paper. By explicitly stating the resolutions used in different studies, we hope to bring attention to this problem and help the field achieve more reliable and consistent conclusions.

Thanks for your information Han Chen. We recently also received some similar questions and advice. Please refer to Issue #22 for our detailed explanations.

Thank you very much for your outstanding contributions in the field of image manipulation detection. Regarding the input image size, would you consider using a unified experimental setup across all models by resizing the images to 512×512 for the experiments? I believe this would be the fairest way to make comparisons.

Thanks for your attention to our project. However, it's true that each network has its own appropriate resolution and design, and the corresponding complexity is also within the same order of magnitude. Therefore, our strategy is to 'stay true to the original work,' implementing the models as closely as possible to the design presented in the original paper.


TS 2.4.1 - possible regression in fp-ts (broken build)

TypeScript Version:  2.4.1
Actually I'm not sure if it's a regression, a bug or the new features simply don't play well with fp-ts.
The build (branch master) is ok using v2.4.0 but broken using v2.4.1.
If it helps, I put up a repo with a small portion of fp-ts reproducing one of the errors I get on master

This is an effect of #16368 which got added between 2.4.0 and 2.4.1. Best I can tell those are actual errors, they just weren't revealed until we introduced the stricter checks. You can use the --noStrictGenericChecks options to disable the stricter checks until the errors are fixed.

Thanks @ahejlsberg for looking into this, it seems that using a different technique to fake HKTs will fix the issue (https://github.com/gcanti/fp-ts-poc)


Build Travis with Qt4 and Qt5

Wonderful ! Thank you very much @peternewman !

Hey @peternewman , here's a curious thing.
There is one important QLC+ class that tests a timer. It relies on the fact that the test is running at a "production" speed, so in normal conditions.
The test fails on a virtual machine (I've seen it before)
And here it is in #461 where the qt5 target goes fine and the qt4 doesn't.
Probably the qt4 build happened in a moment of processing spike of the server, so the test didn't run at the correct speed and failed.
Now, I can soften the test, but when a patch would cause the current test to fail, we won't spot it in the future.
I am wondering if there is even a workaround to this...

I'd personally, and for OLA, we loosen the tests so they pass for everyone. OLA already gets run on VMs for some people. If QLC+ doesn't work on VMs, then I guess that's less relevant.
You should have the ability to rerun the build here, which would confirm it:
https://travis-ci.org/mcallegari/qlcplus/jobs/54237553
Personally, I'd be inclined to add a build time config option for VMs that allows you to loosen the timing so the tests pass. You won't spot the issue on Travis, as it won't fail there, but that's probably more useful than continually false positives for people opening PRs. It can still be caught by people running on real hardware when they do, without disrupting the contribution process too much. Buildbot would obviously help this, although you'd still only find out after the code was merged.

Agree. Is there any environment variable that I can count on to loosen (or exclude at this point) the test ?
Maybe we can add BUILDSYS='travis' to the 'env' statement ?

Please continue the discussion on #463
(found it awkward to discuss on closed PRs :smile: )
Thanks


/home/bitcoin/.bitcoin permissions vs. /data/bitcoin

Describe the issue
On the page: https://raspibolt.org/guide/bitcoin/bitcoin-client.html#create-the-bitcoin-user
"Check if the permission cookie can be accessed..."  fails.  The guide says to check this with the following code while logged in as user ADMIN.
$ls -la /home/bitcoin/.bitcoin/.cookie
This fails with a permission denied.
$ls -la /data/bitcoin/.cookie shows correctly  (  -rw-r----- )
but can a user read a file in another user's home directory, even if that specific file is correctly permissioned?
On the same page under the "Running bitcoind" section, it says to
" Grant the “bitcoin” group read-permission for the debug log file:"
and then it says the chmod the /data/bitcoin/debug.log.  (notice we are checking /data/bitcoin, not /home/bitcoin/.bitcoin)
This makes sense, other users should be able to access /data/bitcoin, but there's an inconsistency with "other" users accessing bitcoin.  Should they always access /data/bitcoin/ and only bitcoind references /home/bitcoin/.bitcoin ?
Then further on the following page: https://raspibolt.org/guide/bitcoin/electrum-server.html
the electrs.conf page lists a daemon_dir as /home/bitcoin/.bitcoin"
when starting the electrs server, it fails with the error:
Error: electrs failed
Caused by:
0: failed to open bitcoind cookie file: /home/bitcoin/.bitcoin/.cookie
1: Permission denied (os error 13)
Shouldn't this daemon_dir be /data/bitcoin/  ?
Location in guide
https://raspibolt.org/guide/bitcoin/bitcoin-client.html#create-the-bitcoin-user
Environment

Hardware platform: Beelink SER5
Operating system: Debian 12
Version: No LSB modules are available.
Description:	Debian GNU/Linux 12 (bookworm)

Additional context

All I know is I've had issues with these cookie permissions for a few months now, not sure what is going on exactly but something changed after upgrading to bitcoin 25.0 I've been running this node for several years and try to keep up with the changes. My power goes out occasionally or my router freaks out, and my node needs to be restarted. When it does it generates the cookie file with the wrong permissions:  ( -rw------- ) and nothing can access it.
There's code in the bitcoind.service that is supposed to assign the correct permissions to this cookie on startup which doesn't seem to work (probably lacking the correct permissions somehow)
"-startupnotify="chmod g+r /home/bitcoin/.bitcoin/.cookie"
I found if I switch to the bitcoin user, then run "chmod g+r /home/bitcoin/.bitcoin/.cookie" myself, All my RPC connections like electrum or whatever work again.
Unfortunately, that's as far as my troubleshooting could take me.

As I understand the issue, it is not about .cookie permission but the absolute path of it. Members of bitcoin group (e.g. admin, electrs) should access datadir using /data/bitcoin/ or ~/.bitcoin/ path (if defined). They should not use bitcoin's home directory /home/bitcoin/ because of insufficient permissions.

I had the same issue, "Permission denied", even that .cookie file has group "read" access to bitcoin group....change electrs.conf file daemon_dir to /data/bitcoin, now it's working...


Use t5_v1.1-xxl GGUF waste double times than t5xxl_fp8_e4m3fn in ClipTextEncoder

Use t5_v1.1-xxl GGUF waste double times than t5xxl_fp8_e4m3fn in ClipTextEncoder
t5xxl_fp8_e4m3fn  8s
t5_v1.1-xxl GGUF  19s
3060 12G

And easy to get error in ClipTextEncoder

https://github.com/user-attachments/assets/a21073e6-4c3a-454b-87f7-16282a21aba5
i compare q8 with fp8 there's not that difference plus q8 has better quality , q-k-m and k versions at all need more process , if you prefer speed than quality go with normal gguf versions  instead of K versions

al-swaiti

thx for your answer!

output.mp4
i compare q8 with fp8 there's not that difference plus q8 has better quality , q-k-m and k versions at all need more process , if you prefer speed than quality go with normal gguf versions instead of K versions

For 12GB VRAM, would you recommend using the "t5xxl_fp16.safetensors" which 9.11GB ?
Since model swapping is going to take place either ways, and Load/Unload time for difference is very little.
I mean if it can fit in the VRAM then that would give the best quality of all.

I found that the DualClipLoader (GGUF) uses the CPU to run the clip process, which makes the overall speed unusually slow

I found that the DualClipLoader (GGUF) uses the CPU to run the clip process, which makes the overall speed unusually slow

even I use the --highvram to start the comfyui

Not only at beginning, when running the t5 in cpu is very slow, I force it load to gpu, and it run much quicker(about 8s vs <0.1s)

I can reproduce the CPU thing when I run it on my second GPU but haven't had the time to look into it, I'll try to on the weekend.

It should be fixed If you update both ComfyUI and this custom node to the latest version.

When trying to use T5 6_K gguf in the DualClopLoader(GGUF) tonight, it still runs EXCEPTIONALLY slowly. I have updated both Comfy and all custom nodes. The workflow runs fine with the full T5 fp16 using the standard DualClipLoader. But as soon as I switch over the the GGUF loader, it runs horribly.

Following a suggestion mentioned in an earlier comment, I added a node to force the Clip to be run on the GPU. After adding this node, the workflow is running smoothly. So, it sounds like something still isn't working correctly. 🤷🏼


Add the MD5 hash for K2, Y0 GOG releases, + a way to add multiple hashes per game

I changed the exe validation code to work with the recent GOG release of Kiwami 2, and added an easy way to add multiple compatible exe hashes for one game. Currently, the launcher considers these GOG versions incompatible, even though the mod loader works fine with them, so it's annoying to see the "Game version is unsupported" popup every time...
I've only added Kiwami 2 because that's the only one I got, but someone else could easily add the rest

I have Yakuza Kiwami (1) on GOG and would like to add the hash to the file. However, when I use the MD5sum terminal command on the .exe it gives me this hash: 72414d15d8b08a81380db6420aca7e96, which is very different to the other hashes which have already been added. How do I get this hash into the same format?

The hashes in the code are just byte arrays and work as if you separated every 2 hex digits in the original MD5 hash and then converted them all into decimal. It's a weird design choice but that's how the original repo did it
We don't actually have to convert them into decimal if we use the hex literal so in your case it could look like this:
72414d15d8b08a81380db6420aca7e96
->
new byte[] {0x72, 0x41, 0x4d, 0x15, 0xd8, 0xb0, 0x8a, 0x81, 0x38, 0x0d, 0xb6, 0x42, 0x0a, 0xca, 0x7e, 0x96}

Of course I try every conversion aside from to decimal, aka the simplest. Thanks anyway, glad I could contribute


Parse error breaks docker run -v functionality

BUG REPORT INFORMATION

$ docker version
Client:
Version:      1.8.1
API version:  1.20
Go version:   go1.4.2
Git commit:   d12ea79
Built:        Thu Aug 13 02:49:29 UTC 2015
OS/Arch:      windows/amd64
Server:
Version:      1.8.1
API version:  1.20
Go version:   go1.4.2
Git commit:   d12ea79
Built:        Thu Aug 13 02:49:29 UTC 2015
OS/Arch:      linux/amd64

$ docker info
Containers: 11
Images: 34
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 56
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.0.9-boot2docker
Operating System: Boot2Docker 1.8.1 (TCL 6.3); master : 7f12e95 - Thu Aug 13 03:
24:56 UTC 2015
CPUs: 1
Total Memory: 1.956 GiB
Name: default
ID: 5PYO:K4MX:4TMA:XWZT:QBE5:D346:SJBN:JSHW:SB2A:EIWP:PQMX:S64G
Debug mode (server): true
File Descriptors: 23
Goroutines: 82
System Time: 2015-08-31T20:26:57.762207194Z
EventsListeners: 0
Init SHA1:
Init Path: /usr/local/bin/docker
Docker Root Dir: /mnt/sda1/var/lib/docker
Username: jjaquinta
Registry: https://index.docker.io/v1/
Labels:
provider=virtualbox

$ uname -a
MINGW32_NT-6.1 TRAJAN 1.0.12(0.46/3/2) 2012-07-05 14:56 i686 unknown

List the steps to reproduce the issue:
1.  Validate you have a complete path to a valid directory.

$ ls -lsd /c/Users/IBM_ADMIN/Documents
2 dr-xr-xr-x    1 jo_grant Administ     4096 Aug 31 09:21 /c/Users/IBM_ADMIN/Documents

3. Try to run bash mounting that directory as volume /Documents according to syntax defined in Managing Data In Containers/Adding a Data Volume (https://docs.docker.com/userguide/dockervolumes/)

$ docker run -i -t -v /Documents /c/Users/IBM_ADMIN/Documents ubuntu:latest bash

Describe the results you received:
Docker failed to parse the command line based on the documentation. It produced the following error:

Unable to find image 'c:/Users/IBM_ADMIN/Documents:latest' locally
repository name component must match "[a-z0-9]+(?:[._-][a-z0-9]+)*"

Describe the results you expected:
I expected it to mount the host directory /c/Users/IBM_ADMIN/Documents into the container as the point /Documents
Provide additional info you think is important:
If I use the following command line:

$ docker run -i -t -v /Documents:/c/Users/IBM_ADMIN/Documents ubuntu:latest bash

It produces this error:

invalid value "C:\Program Files (x86)\Git\Documents;c:\Users\IBM_ADMIN\Documents" for flag -v: bad mount mode specified : \Users\IBM_ADMIN\Documents
See 'c:\Program Files\Docker Toolbox\docker.exe run --help'.

It is interpreting the : separator as separating the first file name from the optional file mode. This jives with what the documentation says.
If I use this command line:

$ docker run -i -t -v /Documents:ro ubuntu:latest bash

It mounts the given directory onto /ro!

root@7a406f4bb924:/# df
Filesystem     1K-blocks    Used Available Use% Mounted on
none            19049892 2300340  15758828  13% /
tmpfs            1025388       0   1025388   0% /dev
shm                65536       0     65536   0% /dev/shm
tmpfs            1025388       0   1025388   0% /sys/fs/cgroup
tmpfs            1845704  115064   1730640   7% /ro
/dev/sda1       19049892 2300340  15758828  13% /etc/hosts
tmpfs            1025388       0   1025388   0% /proc/kcore
tmpfs            1025388       0   1025388   0% /proc/timer_stats

The problem is that in part of the code, it expects there to be only a single argument, delimited by :. But in another part of the code, expects multiple arguments.
Between the two, the functionality is broken. (Unless you always want to name your mounts "ro"!)

I am having this exact same problem - serious breakage!

I think if you want to mount the host directory /c/Users/IBM_ADMIN/Documents into the container as the point /Documents, you should use
$ docker run -i -t -v /Documents:/c/Users/IBM_ADMIN/Documents:/Documents ubuntu:latest bash

#dibs

Hi @jjaquinta,

$ docker run -i -t -v /Documents /c/Users/IBM_ADMIN/Documents ubuntu:latest bash

As @xlgao-zju  pointed out, the documentation example is the following : $ docker run -d -P --name web -v /webapp training/webapp python app.py. It does not mean mount /webapp in training/webapp — training/webapp is the name of the image. So the result you have is expected. (I do agree the documentation can be misleading though :sweat_smile:).

I think if you want to mount the host directory /c/Users/IBM_ADMIN/Documents into the container as the point /Documents, you should use
$ docker run -i -t -v /Documents:/c/Users/IBM_ADMIN/Documents:/Documents ubuntu:latest bash

@xlgao-zju   /Documents:/c/Users/IBM_ADMIN/Documents:/Documents is invalid. It can either be containerPath, containerPath:mode, hostPath:containerPath or hostPath:containerPath:mode (where mode can be ro, rw and some other thing [SELinux stuff]).

@vdemeester Sorry, I can't be more careless. Recently, I've read the code of volume, and I think my pr (#15846) will make -v /paht:ro fail.

@xlgao-zju I might have yeah :sweat_smile:. See my comment on #16013 though :wink:.

see explanation here https://github.com/docker/docker/pull/16013#issuecomment-146647216


[New game]: Gravity Drops

🎮 Game Request
Game logic and basic description
Gravity Drops is a fun and interactive game where players click on the canvas to add paint drops. The goal is to create unique patterns by manipulating gravity and the movement of the paint drops.
Point down the features
Game points

Click on the canvas to add paint drops.
Change the color of the paint drops using the color picker.
Increase or decrease gravity to control the movement of the drops.
Clear the canvas without resetting the timer.
Reset the canvas and timer to start fresh.

Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @kosuri-indu !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @kosuri-indu ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


[dockerhub] Upgrade from free account to pro?

Follow up of https://github.com/ray-project/kuberay/issues/827.
I made a mistake this week and carelessly break the CI (pushing images to dockerhub).  Free tier only support limited team and 3 members in an organization. I didn't notice the CI bot user and remove it from the ci team..
Since we may have more collaborators who will attend the release process. Does the community think we should have a pro tier instead? It will also provide more quota and we will get lower chance meeting rate limit issue when downloading the images

Thank you for pointing this out! DockerHub also has other limitations. For example, DockerHub only allows 100 pulls per 6 hours per IP address. We need to think of other solutions (e.g. (1) upgrade DockerHub's plan (2) quay.io (3) others).
Related discussion: https://github.com/ray-project/kuberay/pull/750#issuecomment-1329739242

I raised #1133, which is somewhat related to this as well.

Close this issue in favor of #1133.


Run litmus tests again

The litmus tests on Travis are currently disabled (see #80).
Another approach could be to use Docker. The idea would be to run litmus inside a container, against WsgDAV running on the host.
An image exists here:
https://hub.docker.com/r/mar10/docker-litmus/
but still have to figure out, how to access it:
https://stackoverflow.com/questions/51666589/access-a-host-from-within-a-docker-container-on-windows
Ideally the solution should allow to run the Linux-based container on Windows 10.

I'm running ubuntu 18.04, which also fails to compile litmus since SSL is enabled.
When running litmus alpine container, the wsgidav container is accessible within the bridged network, using its service name declared in docker-compose file
docker network ls

So I was able to reach the service associated to the wsgidav container, by running :
docker run --network=wsgidav_local --rm mar10/litmus http://wsgidav:8080

Regarding travis, it could be easier to put everything in a dedicated docker-compose -dev file, then run travis on top of that one.
But prior to it, I think docker-compose includes would be nice feature to have here
https://github.com/docker/compose/issues/318

https://hub.docker.com/r/mar10/docker-litmus/ can now be used to test a locally installed debug version of WsgiDAV.
Still need to integrate this into unit tests and travis

Nice,
I was able to run a container using your repository image (running nicely in travis builds as well) against wsgidav:
docker run --network=wsgidav_local --rm -ti mar10/docker-litmus \
http://wsgidav:8080/ tester secret

I'd still need to figure a way for integrating docker build from_cache and docker-compose to travis, along with your existing tests.

Got some success integrating docker-compose with travis (without caching for now, since the build is still small)
https://github.com/fngx/wsgidav/pull/3,
https://travis-ci.com/fngx/wsgidav/jobs/145194040
Both tests (tox and litmus) seem to fail though. I will look into them out of curiosity.
I also had a few issues with yaml and json configs when declaring shares / access control resulting in some obscure (to me at least) error messages, I still need to figure out.

Cool! Thanks for digging in.
I have seen all tests passing litmus when running from the docker-litmus container against a local wsgidav running in a virtualenv. Worked with SSL and authentication (only skipping the 'expect100' test).
I used this config and then
wsgidav --config tests\wsgidav-litmus.yaml -H <HOST_IP>

and
docker run --rm -ti mar10/docker-litmus https://<HOST_IP>:8080/ tester secret

What errors did you see with yaml?

Could it be that the problems arise because the current unit test server and docker-compose both use port 8080?

Thanks, I now have a better view of what tox and litmus are doing, separately, as well as a base yaml config.

Could it be that the problems arise because the current unit test server and docker-compose both use port 8080?

Yes you're right. Sorry, it was a very basic error, and running docker-compose build should have prevented it.
Ideally, everything could be run from tox utility, including deployment to both python and docker repo's.
I'm still quite unfamiliar with tox, and have to setup a correct environment so I can Hack.


Path join missing check

Affected Version
silverstripe/framework 4.13.6
Description
Passing an array with an one value being null throws a deprecated warning.
[Deprecated] trim(): Passing null to parameter #1 ($string) of type string is deprecated
Steps to Reproduce
return Path::join(
    Director::absoluteBaseURL(),
    $this->myNullValue
);

$parts ["http://localhost/", null ]
I'm sure I can always check for null before calling - however I'm currently experiencing this in a module I'm using.
PR

https://github.com/silverstripe/silverstripe-framework/pull/10803

Linked PR has been merged and released as 4.13.8 and 5.0.5


Prp updates

Thanks for the great chart! Sending some updates I've done when deployed to my cluster

Hi! Thanks for your pull request.
Can you detail what's the purpose of having a secret boolean in here?

In my case I'm using TLS, but there's a default cert provided for all ingresses, so I don't need to specify an additional secret.
Actually I was wondering why you're using this way to set up ingress... The standard way in helm template (the one you get with "helm create") looks more convenient to me

The reason for the change from default Helm Chart is because it is not generally expected having multiple hostnames pointing to same Ingress. Also I'm trying to keep similar syntax as Bitnami charts do.
If you think this chart deserves having multiple hostnames, we can prepare to do so.

Can you make the secret optional? It’s not always needed...