Latest Commit breaks the game

The latest commit causes "internal server error" to be thrown in global chat.  Card sets don't appear to load once "New game" is pressed.  Reverting back two commits before 359c5e11404644688da85b14336074a43a45ca07 fixes the issue.  Note: I haven't tested one commit before 359c5e11404644688da85b14336074a43a45ca07 out of pure laziness.  Sorry.

The server I am running is on 358c5e1 and appears to be working fine. Some people are reporting issues but not that specific problem (more like the javascript or css isn't loading properly than anything).
I think there's some caching problems going on, which is odd since there's supposed to be a filter that says to not cache anything, unless I broke that somehow when I was making it work in Jetty...


Fix installation when Pillow is not installed

Right now pip fails while scanning for dependencies. setup.py should
not import package that is not yet installed.
>pip install almonds
Collecting almonds
  Downloading almonds-1.25b.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "c:\users\user\appdata\local\temp2\pip-build-amxwdz\almonds\setup.py", line 5, in <module>
        from almonds import __version__
     File "almonds\__init__.py", line 1, in <module>
        from .almonds import __version__
      File "almonds\almonds.py", line 13, in <module>
        from PIL import Image
    ImportError: No module named PIL

Hey, thanks for the fix! :)

No problem. Cool project. I'd port it to https://github.com/HexDecimal/python-tdl if I had more time.


Anyone used eigenmat?

Hi Nitish,
I choose too use your eigenmat library since my laptop's GPU isn't compatible with cudamat. Then I've discovered several bugs while using the eigenmat.I fixed trivial ones which I'll list below.
1./eigenmat/Makefile:
all LIB_NAME should be libeigenmat instead of lineigenmat
2./deepnet/extract_rbm_representation.py in main():
line 55 & line77: LockGPU() and FreeGPU() should no longer be called since cudamat is not used.
By modifying the code, I successfully run the image modality of the multimodal-dbn(which implemented the Gaussian Boltzmann Machine). I even used my own dataset extracted from music tracks. Everything goes perfect until run into the text modality. It crushed just before the training begin. I paste the error message here and is kind of confusing:
Training first layer text RBM.
Failed to import cudamat. Using eigenmat. No GPU will be used.
Train Step: 0Assertion failed: (aLhs.rows() == aRhs.rows() && aLhs.cols() == aRhs.cols()), function CwiseBinaryOp, file /usr/local/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h, line 132.
./runall_dbn.sh: line 78:  1210 Abort trap: 6           python ${trainer} models/text_rbm1.pbtxt trainers/dbn/train_CD_text_layer1.pbtxt eval.pbtxt
I once thought it could be my dataset's problem, so then I used the flickr dataset to run the text modality training, and it provides me with the same error messages.

Is this problem solved?? I got the same error messages while running the first text modality.


Group delete functionality

This PR adds back-end functionality for deleting groups. Here is a list of things that are covered:
Direct functionality:

When a group is deleted, memberships libraries no longer contain it, as well as groups that have access by virtue of access through deleted groups
When a group is deleted, it no longer shows up in search
When a group is restored, memberships libraries are fully restored
When a group is restored, it returns into search
When a group still shows up in members lists when it is deleted, there is a deleted property that is the millis-since-the-epoch that it was deleted
Deleting and restoring is idempotent, so any bugs/failures while deletes and restores are processing should be simple to "reply" by invoking another delete/restore for the same group
It is possible to search deleted items similar to general search: /api/search/deleted

Tenant admins can search only deleted items from their own tenant
Global admins can search deleted items from any tenant by use of scope, similar to general search

Indirect functionality:

Ground-work was implemented for AuthzAPI to support managing "deleted ids". Further work could be done to implement a bloomfilter for deleted items so deleted checks could be done completely locally at the cost of several hashes instead of IO / Cassandra hit
The AuthzMembershipsCache is now cached as an encoded graph instead of a list. It is possible to query full memberships and full members (indirect) by virtue of accessing a MembershipsGraph or a MembersGraph from the AuthzAPI

What's not implemented:

User delete is not implemented
Note that permissions are not erased by deleting a group. Content managers are responsible for removing groups that are deleted from being a member if they want to remove access

That's all I can think of right now. Please wait until I self-review before doing a detailed review (I'll notify), but feel free to have a high-level look.

Coverage increased (+0.02%) to 90.12% when pulling 35d3da3832f33a6a8adc442d20ec395f93d9af4f on mrvisser:delete-groups into 556d75d1e38c05331a22542f80013698a7449b80 on oaeproject:master.

Coverage decreased (-0.0%) to 90.1% when pulling 18c3e30578b0790d3cb40c742c86139c1d1bd5e3 on mrvisser:delete-groups into 556d75d1e38c05331a22542f80013698a7449b80 on oaeproject:master.

@simong this is adding a new property to the search schema. When I tested locally with my old search index, everything seemed to "just work".. As far as you know should that be expected? I can't recall if ElasticSearch got better at taking in new properties and such.

@simong : When this is ready to be merged, can you merge https://github.com/oaeproject/3akai-ux/pull/3997 as well?

Assigned to @simong for review.

Excellent work as usual. Back to @mrvisser

Followed up, back to @simong

Changes Unknown when pulling a1fda94a60b0ce57a729c1fe989f9a7b74fd93e6 on mrvisser:delete-groups into ** on oaeproject:master**.

Changes Unknown when pulling a1fda94a60b0ce57a729c1fe989f9a7b74fd93e6 on mrvisser:delete-groups into ** on oaeproject:master**.

LGTM. Setting as On hold until after the bug bash

@simong I've added some functionality to suppress the profilePath/oae:profilePath property if the entity is deleted. I'm going to flip the labels on this so the last commit can be reviewed.

Changes Unknown when pulling ad23bc94b19c99a484991f02ac5967ea066e2a5e on mrvisser:delete-groups into ** on oaeproject:master**.

@mrvisser : Is there still a way for global/tenant admins to find "deleted" groups? Ideally, they would come back in searches for global/tenant admins, so they can go to the profile page for the deleted group and restore it from there. I don't think this needs to hold up a release, but it would be nice to have from a support point of view.

@nicolaasmatthijs no you can't go to the profile page of a deleted group, not even an admin. It returns a 404 and we removed the profilePath link so no link is even available similar to private users.
There is a "deleted" search available at /api/search/deleted that will search only deleted items, and a restore endpoint available at POST /api/group/<groupId>/restore. Those 2 things together would allow us to work in group restore functionality in the admin panel, but we've out-scoped that work.
We could work the stuff into the regular UI, it's just that the logic in the regular codepaths will be more complex to handle these scenarios and we'll have to take a different approach than simply hiding the profilePath from the model.

Changes Unknown when pulling 593b224d2a89f1a994bb2c5d571e40293860c1ca on mrvisser:delete-groups into ** on oaeproject:master**.


Better detection of worker's death in launcher

The launcher should be able to promptly detect when any worker dies (not only the first one), and properly react to that tragic but inevitable event.

All so making sure that all process are really killed.

that tragic but inevitable event.

Years of harsh Montreal winters have really taken their toll on your optimism, Pascal.


Can not change due date type while edit in service page

Describe the bug

When edit due date we can not change its type

Screenshots

https://www.berrycast.com/conversations/1f143201-1086-5971-a7a5-9227ff990c86


Installation Error

I have Visual Studio 2015, trying to setup Serenity by using the new->project->Serenity Project Template
and running into errors
"A problem was encountered creating the sub project 'Serene5.Web'.
Object reference not set to an instance of an object."
I have all the components needed.
Is there an Installation Log that will tell me what the issue could be.
Please help.
Regards
zebzak

@zebzak I installed it with out any issues and I also have VS2015 - which template vsix are you using ?
Did you install the typescript library first ?
Do you have .NET framework 4.5 installed ?

See VS logs, use google.


Having declared a cmd line arg, and using 'install start' together ignores the 'install' and just tries to start.

Given my topshelf exe called shelf.exe, that is not currently installed (nor installed before any of my examples that follow), and created exactly from the sample code at https://topshelf.readthedocs.io/en/latest/configuration/quickstart.html, if I run
shelf.exe install
my service is installed, but not started. If I run
shelf.exe start
a reasonable error is given saying it's not installed. If I run
shelf.exe install start
my service is installed and started immediately.
That's all good, and what I would expect. If I add the code
            string PlayerPianoSourceDirectory = null;
            x.AddCommandLineDefinition("playerpiano", cla => PlayerPianoSourceDirectory = cla);
            x.ApplyCommandLine();

to my Main (x is the HostConfigurator) and then run
shelf.exe install start
I get an error saying the service is not installed.
I expected it to install the service and start automatically. Note that I am not even using the parameter I've defined. Simply the additional declaration of it triggers the problem. If I use the parameter by itself, like:
shelf.exe -playerpiano:c:\temp
my service is launched in console mode and my parameter is used, as expected. If I run shelf.exe install or shelf.exe start, they continue to work as expected.
It seems the combination of having defined a custom cmd line arg with using the dual install start syntax triggers the issue.
Thanks,
Josh

So I'm not sure the issue here without seeing a stack, but you're going to end up having a bad time. Custom command line items don't really work well once the service is installed. You should fall back on using configuration.
https://github.com/Topshelf/Topshelf/blob/develop/src/Topshelf/Runtime/Windows/HostServiceInstaller.cs#L125-L139
As you see, the process needs that configuration applied every time it's executed. We include a few items in the image path of the service, but custom command line arguments are not included. There's a lot of reasons for that, but mostly boils down to we really shouldn't have this feature at all because it's confusing and hard to use.

I'm not getting an exception, nor is the issue about receiving my cmd line param after install.  The issue is that simply defining a custom parameter (not even using it) causes the built in parameters  of install start to behave differently. "Differently" meaning the install step does not occur.


Static Code Analyzer : Empty Catch Block

remove try/catch or comment if needed but does nothing

Addressed in PR #502 and can be verified with #456 (see: https://github.com/Esri/distance-direction-addin-dotnet/issues/456#issuecomment-366808136).

This has been verified.  There are no longer any references to this build warning on the latest build.


[DO NOT DELETE] Figure repo

@congwang09 @atlanticwave-sdx/renci Could we move these diagrams to the repository proper, and close this issue?


Handling of double-quoted Descriptions in SDL

Hi! Maybe I am missing something, but I am getting errors when trying to run snowflaqe --generate off of a more-or-less standard HotChocolate schema.graphql file. There are a number of directives and scalars at the end of the schema file, preceded with comments:
"The `@defer` directive may be provided for fragment spreads and inline fragments to inform the executor to delay the execution of the current fragment to indicate deprioritization of the current fragment. A query with `@defer` directive will cause the request to potentially return multiple responses, where non-deferred data is delivered in the initial response and data deferred is delivered in a subsequent response. `@include` and `@skip` take precedence over<EMAIL_ADDRESS>directive @defer("If this argument label has a value other than null, it will be passed on to the result of this defer directive. This label is intended to give client applications a way to identify to which fragment a deferred result belongs to." label: String "Deferred when true." if: Boolean) on FRAGMENT_SPREAD | INLINE_FRAGMENT

"The `@specifiedBy` directive is used within the type system definition language to provide a URL for specifying the behavior of custom scalar definitions."
directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR

"The `@stream` directive may be provided for a field of `List` type so that the backend can leverage technology such as asynchronous iterators to provide a partial list in the initial response, and additional list items in subsequent responses. `@include` and `@skip` take precedence over<EMAIL_ADDRESS>directive @stream("If this argument label has a value other than null, it will be passed on to the result of this stream directive. This label is intended to give client applications a way to identify to which fragment a streamed result belongs to." label: String "The initial elements that shall be send down to the consumer." initialCount: Int! "Streamed when true." if: Boolean!) on FIELD

"The `DateTime` scalar represents an ISO-8601 compliant date time type."
scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time")

"The `Long` scalar type represents non-fractional signed whole 64-bit numeric values. Long can represent values between -(2^63) and 2^63 - 1."
scalar Long

The first error I get is
Syntax Error GraphQL (628:1) Unexpected String "The `@defer` directive..."

As far as I understand, those are just Descriptions according to the spec. If I remove them, however, I get the following error:
Expected Name, found String "If this argument label has a value other than null, it will be passed ...

From what I can see in this thread: https://github.com/ChilliCream/hotchocolate/issues/4147#issuecomment-908129090, this SDL is as expected.

Hi @Yakimych it could be that the GraphQL parser that Snowflaqe uses is parsing an older spec of GraphQL. What you could do is download the schema, not as SDL but as JSON. From the README docs about the <schema>:

A relative path to another JSON file containing the output of the standard Introspection query which you can execute against the backend yourself (this allows for offline verification and type-checking)

Can you give this a try?

Hi @Zaid-Ajaj ,
Thanks for the quick reply! Yep, I've tried it with JSON and it seemed to work fine, it's the SDL that is the problem though.

@Zaid-Ajaj,
After some quick digging, it looks like you are right - it's only Descriptions that are not parsed correctly. The quoted syntax was introduced in the June 2018 version of the spec: http://spec.graphql.org/June2018/#sec-Descriptions. The older syntax with # Description works with snowflaqe.
I will update the name of the issue and remove mentions of "Scalars" and "Directives".

Thanks @Yakimych for looking into this. I will look for a fix when time permits 😄

Great, thanks!

@Zaid-Ajaj We've bumped the GraphQL-dotnet package and it seems to fix the problem. A PR coming up tonight: https://github.com/danielstarck/Snowflaqe/tree/update-package


Issues with documentation and failure to tokenize

The documentation in the article has the following issues.
The following will not work:
optimum-cli export openvino --model meta-llama/Llama-3.2-3B-Instruct --task text-generation-with-past --weight-format int4 --group-size 64 --ratio 1.0 --sym --awq --scale-estimation --dataset 'wikitext2' --all-layers llama-3.2-3b-instruct-INT4
Solution:
'wikitext2'  must be wrapped in double quotes  "wikitext2"
After about 30 minutes installation (Windows) it decides to check the versions and then fails. There is no OpenVINO 2024.5 so the commands provided will not work.
If you downgrade you then get the following:
openvino-genai 2<IP_ADDRESS>.dev20241024 requires openvino_tokenizers~=2<IP_ADDRESS>.dev, but you have openvino-tokenizers 2<IP_ADDRESS>.dev20240926 which is incompatible.
Solution:
pip install openvino==2024.4.0 openvino-tokenizers==2<IP_ADDRESS> openvino-genai==2024.4.0
Then things go a little more smoothly, until you notice this little gem on the last line:
Exporting tokenizers to OpenVINO is not supported for tokenizers version > 0.19 and openvino version <= 2024.4. Please downgrade to tokenizers version <= 0.19 to export tokenizers to OpenVINO.
So you think OK, no biggy, just downgrade:
Installing collected packages: tokenizers
  Attempting uninstall: tokenizers
    Found existing installation: tokenizers 0.20.1
    Uninstalling tokenizers-0.20.1:
      Successfully uninstalled tokenizers-0.20.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
transformers 4.45.2 requires tokenizers<0.21,>=0.20, but you have tokenizers 0.19.0 which is incompatible.
Successfully installed tokenizers-0.19.0

After deleting the venv and starting again:
(ov-env) C:\LLMs\openvino.genai>pip list
Package             Version
------------------- ----------------------
numpy               2.1.2
openvino            2024.5.0.dev20241024
openvino-genai      2<IP_ADDRESS>.dev20241024
openvino-telemetry  2024.1.0
openvino-tokenizers 2<IP_ADDRESS>.dev20241024
packaging           24.1
pip                 24.2

All good, after optimum-cli command:
OpenVINO and OpenVINO Tokenizers versions are not binary compatible.
OpenVINO version:            2024.4.0-16579
OpenVINO Tokenizers version: 2<IP_ADDRESS>
First 3 numbers should be the same. Update OpenVINO Tokenizers to compatible version. It is recommended to use the same day builds for pre-release version. To install both OpenVINO and OpenVINO Tokenizers release version perform:
pip install --force-reinstall openvino openvino-tokenizers
To update both OpenVINO and OpenVINO Tokenizers to the latest pre-release version perform:
pip install --pre -U openvino openvino-tokenizers --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
Tokenizer won't be converted.

Try to get it back to 2024.5.0.dev20241024:
pip install --force-reinstall openvino==2024.5.0.dev20241024
ERROR: Could not find a version that satisfies the requirement openvino==2024.5.0.dev20241024 (from versions: 2024.1.0, 2024.2.0, 2024.3.0, 2024.4.0, 2024.4.1.dev20240926)
ERROR: No matching distribution found for openvino==2024.5.0.dev20241024

Yet pip list:
openvino                  2024.5.0.dev20241024
openvino-genai            2<IP_ADDRESS>.dev20241024
openvino-telemetry        2024.1.0
openvino-tokenizers       2<IP_ADDRESS>.dev20241024

The documentation in the article has the following issues.

@AdamMiltonBarker  could you please provide link on article which you follow?

@AdamMiltonBarker  looks like you were following this one  right? If so the command already has double quotes.
For the tokenizers issue to be compatible with 4.45 and higher you should use nightly versions of the components or downgrade transformers to avoid conflicts

@AdamMiltonBarker looks like you were following this one  right? If so the command already has double quotes.
For the tokenizers issue to be compatible with 4.45 and higher you should use nightly versions of the components or downgrade transformers to avoid conflicts

Hi Andrej. It did not last night. If you look in the comments it was changed to '' and then I replied to say it still needs "". That part of the comment was just to help you update the article.
The main issue is the installation is not working, in the comments there is someone else with the same issue also.

@AdamMiltonBarker looks like you were following this one  right? If so the command already has double quotes.
For the tokenizers issue to be compatible with 4.45 and higher you should use nightly versions of the components or downgrade transformers to avoid conflicts

It does not work, you end up with the initial issue.

@AdamMiltonBarker looks like you were following this one  right? If so the command already has double quotes.
For the tokenizers issue to be compatible with 4.45 and higher you should use nightly versions of the components or downgrade transformers to avoid conflicts

Something has changed in the documentation since last night, The steps provided were followed 4 times prior to attempting the fixes I list above. Whatever has been updated in the article has fixed the issue.


Do you have a plan to upgrade jq version to 1.6?

jq 1.6 released on Nov 1, 2018. However pyjq is still using jq 1.5. Do you plan to upgrade it? If so, when can you do it?
Thanks in advance.

I am going to upgrade jq. But I have no plan.
I will accept pull request :-).


HDFS-17075. Reconfig disk balancer parameters for datanode

Description of PR
https://issues.apache.org/jira/browse/HDFS-17075
Rolling restart datanodes takes long time, can make disk balanacer parameters dfs.disk.balancer.enabled and dfs.disk.balancer.plan.valid.interval in datanode reconfigurable to facilitate cluster operation and maintenance.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 38s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
46m 21s

trunk passed

+1 :green_heart:
compile
1m 25s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
1m 20s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
checkstyle
1m 14s

trunk passed

+1 :green_heart:
mvnsite
1m 32s

trunk passed

+1 :green_heart:
javadoc
1m 13s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
1m 39s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
3m 20s

trunk passed

+1 :green_heart:
shadedclient
35m 50s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 16s

the patch passed

+1 :green_heart:
compile
1m 17s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
1m 17s

the patch passed

+1 :green_heart:
compile
1m 11s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
javac
1m 11s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  1s

the patch passed

+1 :green_heart:
mvnsite
1m 17s

the patch passed

+1 :green_heart:
javadoc
0m 57s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
1m 28s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
3m 16s

the patch passed

+1 :green_heart:
shadedclient
35m 46s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
211m 31s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 58s

The patch does not generate ASF License warnings.

354m 55s

Reason
Tests

Failed junit tests
hadoop.hdfs.tools.TestDFSAdmin

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5823/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5823

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 6fb7c69ce021 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 39107bb41801cffbb1abfe7ee3c10aeb455ded89

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5823/1/testReport/

Max. process+thread count
3494 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5823/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Hi,sir @Hexiaoqiao @ayushtkn  @ZanderXu  Could you please help me review this pr when you have free time ? Thanks a lot~

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 39s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 3 new or modified test files.

_ trunk Compile Tests _

-1 :x:
mvninstall
44m 20s
/branch-mvninstall-root.txt
root in trunk failed.

+1 :green_heart:
compile
1m 23s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
1m 20s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
checkstyle
1m 13s

trunk passed

+1 :green_heart:
mvnsite
1m 28s

trunk passed

+1 :green_heart:
javadoc
1m 12s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
1m 37s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
3m 18s

trunk passed

+1 :green_heart:
shadedclient
36m  6s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 15s

the patch passed

+1 :green_heart:
compile
1m 15s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
1m 15s

the patch passed

+1 :green_heart:
compile
1m  9s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
javac
1m  9s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  1s

the patch passed

+1 :green_heart:
mvnsite
1m 17s

the patch passed

+1 :green_heart:
javadoc
0m 58s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
1m 31s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
3m 14s

the patch passed

+1 :green_heart:
shadedclient
36m  0s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
217m 35s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 58s

The patch does not generate ASF License warnings.

358m 56s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5823/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5823

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 2a0095e182ef 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 7eaa9319bbca6a6e0d58684d450b1780edc9d18c

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5823/2/testReport/

Max. process+thread count
2922 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5823/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Thanks @ayushtkn help me review, i will update it later.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 41s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 3 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
45m  2s

trunk passed

+1 :green_heart:
compile
1m 24s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
1m 21s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
checkstyle
1m 12s

trunk passed

+1 :green_heart:
mvnsite
1m 29s

trunk passed

+1 :green_heart:
javadoc
1m 12s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
1m 39s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
3m 18s

trunk passed

+1 :green_heart:
shadedclient
36m 11s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 14s

the patch passed

+1 :green_heart:
compile
1m 15s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
1m 15s

the patch passed

+1 :green_heart:
compile
1m 10s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
javac
1m 10s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m  2s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 1 new + 79 unchanged - 0 fixed = 80 total (was 79)

+1 :green_heart:
mvnsite
1m 17s

the patch passed

+1 :green_heart:
javadoc
0m 58s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
1m 29s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
3m 12s

the patch passed

+1 :green_heart:
shadedclient
36m  4s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
214m 25s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 57s

The patch does not generate ASF License warnings.

357m  3s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5823/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5823

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 1dc008b0d422 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 55ac41ff89076ed9aedc24c981a861e5c64e5aec

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5823/3/testReport/

Max. process+thread count
3505 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5823/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 39s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 3 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
45m 33s

trunk passed

+1 :green_heart:
compile
1m 19s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
1m 19s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
checkstyle
1m 14s

trunk passed

+1 :green_heart:
mvnsite
1m 30s

trunk passed

+1 :green_heart:
javadoc
1m 13s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
1m 41s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
3m 25s

trunk passed

+1 :green_heart:
shadedclient
36m 11s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 16s

the patch passed

+1 :green_heart:
compile
1m 17s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
1m 17s

the patch passed

+1 :green_heart:
compile
1m  9s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
javac
1m  9s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  2s

the patch passed

+1 :green_heart:
mvnsite
1m 17s

the patch passed

+1 :green_heart:
javadoc
0m 55s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
1m 30s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
3m 16s

the patch passed

+1 :green_heart:
shadedclient
35m 41s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
217m  4s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 57s

The patch does not generate ASF License warnings.

359m 41s

Reason
Tests

Failed junit tests
hadoop.hdfs.TestReconstructStripedFileWithRandomECPolicy

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5823/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5823

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 6f931cae2824 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / dd6b17b1bfcb62b0b18605571c3e591fc0973383

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5823/4/testReport/

Max. process+thread count
2987 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5823/4/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Hi @ayushtkn sir, has updated PR,  please help me review this pr again when you have free time. Thanks a lot~

Thanks @ayushtkn help me review and merge it.


Have you provide pre-training weights  Thank you!

Due to the different parameters and devices, the running results of the program will be slightly different, so we did not provide a pre-training model. You can train according to the guidelines.


Unhelpful "Invalid script syntax? [1,1]"

If I have a task:
task Restore {
  aba
}

I will get a typical aba : The term 'aba' is not recognized as the name of a cmdlet....
But if have it like this:
task Restore {
  'aba' aba
}

IB will give me a mysterious Invalid script syntax? At line:1 char:1. Is it possible to be more clear in that case?
Got it when was trying to invoke NuGet like this: exec { $NuGet restore $Sln}, had to comment-uncomment all the lines one by one to find the problem.

I am aware of this unpleasant "feature". It is not that simple. As far as I now have the report, I'll think again and try to improve something.
Meantime, when you see such an error next time, do not guess anything, just invoke your script directly in PowerShell, i.e. without IB. This will tell where the syntax error is.

The fix is being tested and will be released in the coming days if all is fine.

Wow, it was fast. Thank you.


ComboHitCollection Migration

Drop trigger products in reco.  Remove references to StrawHitFlagCollection

Hi @brownd1978,
You have proposed changes to files in these packages:

JobConfig

which require these tests: build.
@Mu2e/write, @Mu2e/fnalbuild-users have access to CI actions on main.
:hourglass: The following tests have been triggered for 669ebbd6c5a1092f4e537f440c485eb52a34aa89: build  (Build queue has 1 jobs)
About FNALbuild. Code review on Mu2e/Offline.

:umbrella: The build tests failed for 669ebbd6c5a1092f4e537f440c485eb52a34aa89.

Test
Result
Details

test with
:white_check_mark:
Command did not list any other PRs to include

merge
:white_check_mark:
Merged 669ebbd6c5a1092f4e537f440c485eb52a34aa89 at 4f01614bdc53945c75d2085ce7bcab701432ee94

build (prof)
:white_check_mark:
Log file. Build time: 10 min 37 sec

ceSimReco
:x:
Log file. Return Code 9.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 669ebbd6c5a1092f4e537f440c485eb52a34aa89 after being merged into the base branch at 4f01614bdc53945c75d2085ce7bcab701432ee94.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.


Multiple files in different directories are not allowed

Describe the bug
I have files with the same name but in different folders. Something like:
./app1/backend.tf
./app2/backend.tf

When I run tflint check I have the following error:
Failed to parse CLI arguments. An error occurred:

Error: Failed to load `app1/backend.tf`: Multiple files in different directories are not allowed

Expected behavior
Either it should be allowed or have a separate rule for that, so I can ignore it in my config file
Desktop (please complete the following information):

OS: MacOs, Linux Alpine

Sorry, wrong repository 🙏 (I was playing with different tools and misclicked the repo). Closing.


Update Documentation

This PR changes documentation so that is it up to date with the code. Closes #110.
Looking for some feedback:

Especially in CONTRIBUTING.md as that's new.
Also, not sure about including a splash/logo. Could be GA4GH splash, or something more UMCCR specifc?
Also, should consider licensing for htsget. I couldn't see any licensing information for htsget documents, so maybe we shouldn't include the diagram?
Add a SECURITY.md?

Changes:

Change documentation to reflect recent code changes.
Add READMEs for all crates.
Add CONTRIBUTING guidelines.
Refactor some config options to match documentation, using language from the htsget protocol.

I thought that I would move the trait abstractions stuff to the htsget-search README, since a lot of  ARCHITECTURE.md was about htsget-search. We could potentially include some sort of dependency diagram to complement the project layout? E.g. htsget-http-actix depends on htsget-http-core, etc.

perhaps asking somebody on the team how they'd add i.e Cloudflare workers and R2 support

That sounds like a good idea. I think I should elaborate a little bit more on htsget-search abstractions and add some examples. Perhaps an ARCHITECTURE.md would be best for that though.


"something" and "other" not labelled as nouns

I'd consider these words common enough to be included in the lexicon.

hey claire, thanks for the input. They're both in there.
something is a "possessive pronoun"
https://github.com/spencermountain/nlp_compromise/blob/d4feb704d3e7ae527566cc12dc14af01679e8798/src/data/lexicon.js#L245
other is
other is an adjective
https://github.com/spencermountain/nlp_compromise/blob/master/src/data/lexicon/adjectives.js#L684
cheers

Oh, weird. One of the demos is out of date, then.
http://rawgit.com/spencermountain/nlp_compromise/master/client_side/cute_demo/index.html

this is possible. just updated them. which sentence was it?

I was testing in the JavaScript console because I wanted to see the results of calling functions without installing the library in Node. :)
Running nlp.pos('something').tags()[0][0] gives me "PP" now; seems fixed.


Working with PB files in C#

Hello,
I am looking to train a model in TensorFlow with Python and then do inference in C#.  I used this MNist example as a guide: https://github.com/sdg002/MNISTpng
I am able to run all of the code in the example fine, but I do have some questions on the C# console application.  Within the "ConsoleAppTester" project, the code loads the pb model and then performed inference:
`
graph.Import(buffer);
using (var session = new TensorFlow.TFSession(graph))
{
foreach (string file in filesTestingRandomized)
{
Stopwatch sw = new Stopwatch();
sw.Start();
var runner = session.GetRunner();
var tensor = Utils.ImageToTensorGrayScale(file);
runner.AddInput(graph["conv1_input"][0], tensor);
runner.Fetch(graph["activation_4/Softmax"][0]);
                    var output = runner.Run();
                    var vecResults = output[0].GetValue();
                    float[,] results = (float[,])vecResults;
                    sw.Stop();
                    ///
                    /// Evaluate the results
                    ///
                    int[] quantized = Utils.Quantized(results);
                    ///
                    /// Use the parent folder name to deterimine the expected digit
                    ///
                    string parentFolder = System.IO.Directory.GetParent(file).Name;
                    int iParentFolder = int.Parse(parentFolder);
                    int[] expected = Utils.GetQuantizedExpectedVector(iParentFolder);
                    bool success = quantized.SequenceEqual(expected);
                    if (!success) countOfFailedClassifications++;
                    string message = $"Directory={parentFolder}    File={System.IO.Path.GetFileName(file)}    Bit1={results[0, 0]} Bit2={results[0, 1]}   Elapsed={sw.ElapsedMilliseconds} ms, Success={success}";
                    Console.WriteLine(message);
                }
            }
        }

`
In particular, I have questions on the following line:
runner.AddInput(graph["conv1_input"][0], tensor);  runner.Fetch(graph["activation_4/Softmax"][0]);
Where are "conv1_input" and "activation_4/Softmax" defined in the pb file?  I believe these are the input and output layers of the network?  Where were these originally defined?  I am looking at "TrainedMnistFromFolder.py" and I see a "conv1" layer.  I also see activation layers defined, one of which is the "softmax" function.  But how do these become "conv1_input" and "activation_4/Softmax" when using inference in C#.
Is there a way to load a pb file and see these layers along with the names (or even get these by reading them in Python)?  Sorry I am relatively new working with pb files.  The key is understanding how to connect to the model at both input and output.
By the way sorry for the issues with the code formatting.. not sure what I am doing wrong.
Thanks in advance.

You can use
 List<TFOperation> op_list = new List<TFOperation>(graph.GetEnumerator());
to get all the layernames.


How do I use git?

Add instructions to readme?

Need a clear step by step that illustrates the image attached. A recording or series of screen shots would be helpful.

https://guides.github.com/activities/hello-world/ ?

how to set up git and work in R Studio.docx
Here's a document I came up with in setting up my RStudio back home.  I think this can serve as documentation but might need some editing.

Will be written up in #38.


Mental Modules 6.1?  can't find them on VCVrack plugins page

I presume you have updated modules?  They show the version on the VCVRack plugins page as 6.1.  But there are no links to download and no way to run update.  Are they in an undisclosed location?    If they are still under development,  you might want to make an announcement on the VCVRack Facebook page.
Cheers

@JeffGreenlee42
Sorry it's taken a while to get back to you, modules are up on the community plugin page now and can be installed from there, but if you wait a few days I'll have the new version up with the new better UI look and labels on the mixer, or you can pull the code and build it yourself.
Must have been a glitch during the changeover process and you must have looked at a time when they weren't up yet. I've been in touch with the community team and they hadn't asked me to do anything.
Cheers.


Don't label every map cross section

Don't label every cross section on the map as it is unreadable when the XSs are closely spaced. Change symbol to a solid point and label every 10th XS with a label.

805570feb759125967937167811fc36a7cf7c193


How to install on Ubuntu 23.04?

When using the provided command pip3 install -U gnome-pomodoro-tracking, then under Ubuntu 23.04 you get error: externally-managed-environment etc.
What would be the recommended way to install this script on Ubuntu 23.04?

Using pipx instead of pip3 works, see:
https://www.omgubuntu.co.uk/2023/04/pip-install-error-externally-managed-environment-fix
https://itsfoss.com/externally-managed-environment/
https://itsfoss.com/install-pipx-ubuntu/


Bootstrap Style doesn't work

The bootstrap style is not working..it looks like this when I use it:

I guess it should be like this:

Try importing the css manually:
import 'react-bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css';
This works for me.

I'm seeing the same issue.
<DateTimeField inputFormat="DD-MM-YYYY" viewMode="years" />:

I've had no luck importing the css manually and passing it into the DateTimeField component.
@Rhadow Is there any chance you can paste a working example of your import method somewhere for us?

@stheobald
I am using webpack as my bundling tool and it allows me to import css just as I shown in the previous post.
Your case might be different than mine and jgamao's since your calender is not formatted when the css is not applied.
It's better if you can create a little example to duplicate the error and solve it from there.

I'm also using webpack and found that importing them from within my style files worked best. I'm using stylus (.styl) so I just put @import '../../node_modules/react-bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css' at the top of the associated component .styl file and then import that single file (with vendor and custom files) into my component jsx file.

Hi I am also facing issues with picker not rendering properly, time not aligned below the arrow, AM/PM not toggling, and dates cannot be clicked. Can someone show to how use webpack to do the CSS installation thanks

@scheung38 after adding the import statement, all that should be necessary is ensuring you have a CSS loader set up in webpack.
add something like:
{   test: /\.css$/,   loader: "style-loader!css-loader" }
to your your loaders in your webpack config and make sure both loaders are installed. Worked fine for me using this method.

But webpack is not supported according to Meteor Core Development ?

But is the webpack conflicting with ecmascript??? Or can I only install the necessary webpack:css?

Hi @jmauzy so is it:
{
test: /.css$/,
// loader: "style-loader!css-loader"
loader: 'style!css?modules!postcss'
}
]
},
postcss: [
require('autoprefixer')
],
and then in that ParentComponent example:
import 'react-bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css';
export default class ParentComponent extends TrackerReact(React.Component) {

i have problem with styling , that the table view is going left , its not showing even and to edit it i have to go to DateTimeField.js and edit the style , but my problem is after giving my Clint he maybe will be able to update datetimepicker and thats mean the change that i did gone , does anyone have any idea what i have to do to keep this change ?


Debug stuff

Checklist:

[ ] cargo +nightly fmt --all
[ ] Modify CHANGELOG.md if applicable

?

Closing, since I don't know what to do with it.


Update Node Template

Update Node Template README.md and rust install instructions from docs
4.0.0-dev version for templates
downstream: https://github.com/substrate-developer-hub/substrate-node-template/pull/300

Cannot merge this, I do want to have someone double check me on there being no issue in bumping the version of the crates here to 4.0.0-dev . the rest is no code changes

bot merge

bot merge


Read metrics from file (v2)

@ishank011 : Metrics initializes itself, performs periodic data recording, uses sharedconfig only.
Example json metrics data file for the currently expected metrics:
{     "cs3_org_sciencemesh_site_total_num_users": 7000,     "cs3_org_sciencemesh_site_total_num_groups": 550,     "cs3_org_sciencemesh_site_total_amount_storage":<PHONE_NUMBER> }

. The initDataDriver method is called for each metrics refresh. Let's refactor it so that it's called only when initializing.
Actually I wanted to do that but the shared config is not there yet when no specific config has been initialized. Only then the shared config gets decoded. I don't know how to solve this in another way.


Stop specifying Buildx version

Blocked until Buildx v0.6.0 is natively available in the GitHub virtual environments, which is when this badge shows that 100% of runners are on 20210726.1, or a newer version. The percentage indicates rolling deployment progress.

Refs: https://github.com/byu-oit/hw-fargate-api/pull/272

This is ready for people to take a look at it, but it shouldn't be merged until that badge hits 100%.


StateNotifierProvider with .family modifier not updating its notifier state

Describe the bug
While using StateNotifierProvider with .family modifier not updating its Notifier state for listeners.
To Reproduce
Video of bug.
VIDEO OF THE BUG
Expected behavior
I think the expected behavior should be the same without the .family modifier. I want to pass data to the provider that's why I used the .family modifier. and this happened to me (watch video).

I even passed primitive values and family behavior is identical.

Passing any two different values will result in separate StateNotifiers being created for each.

Got it. Problem solved. My whole day passed finding the solution. Thank you. Remi and Tim. <3


Investigate tailscale extension

https://github.com/joaophi/tailscale-gnome-qs
This one matches GNOMEs UX better, but appears to be missing the exit node functionality. We should keep an eye on it.

gnome-shell-extension-tailscale-gnome-qs

I was wrong, exit node functionality is included (though the list scrolls off the screen). I think we should switch to this. Working on it.

In discord people seem to have problems with tailscale exension after the merge.


github-production-release-asset-2e65be.s3.amazonaws.com)|<IP_ADDRESS>|:443... llfailed: Connection timed out.

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
failed while executing make docker-build FOR below step:
RUN wget -O cmake.sh https://github.com/Kitware/CMake/releases/download/v3.14.0-rc1/cmake-3.14.0-rc1-Linux-x86_64.sh &&         bash cmake.sh --skip-license && rm -f cmake.sh
What you expected to happen:
command executes suceessfully
How to reproduce it (as minimally and precisely as possible):
make docker-build
Anything else we need to know?:

Can you show some error logs?
/cc @judgeeeeee

Can you show some error logs?
/cc @judgeeeeee

@nautilusshell Please provide more information then reopen this issue again.

@nautilusshell Please provide more information then reopen this issue again.


Update google-cloud-videointelligence dependency

Follow up to https://github.com/apache/beam/pull/10764

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @EDjur

LGTM. Thank you @aaltay.

LGTM. Thank you @aaltay.

Thank you for the quick review!


ES5 component size

Looking at the demo that uses three components, the minified size of the ES5 components is greater than 500K, and the gzip size is around 124K for three components and dependencies. This excludes the polyfills.
Does the way these components are packaged for NPM make it difficult to reduce the repetition of mixins that are shared across components?

Can you confirm which demo you're looking at? I'd like to make sure I'm looking at the same thing.

Yes, I was looking at the dist folder in packages/demos/dist for this repo.

Okay, thanks.
We're not yet minifying our builds yet. For now, they're just the transpiled output of Babel + Browserify. @robbear has been working on adding real minification to our work, at which point the build files will get substantially smaller. While this work is going on, you could of course apply your own minifier.
E.g., running Uglify on dist/demos.js and then gzip gives the sizes:
$ du -h -d 1 demos.min.*
 84K	demos.min.js
 12K	demos.min.js.gz

I should also mention that our carousel component is the most complex of all the ones the project has built to date, and is consequently the largest. A smaller component like basic-autosize-textarea is perhaps a third the size of the carousel.

Thanks. In addition to running minify are you also doing something to remove the inclusion of babel's helper functions (e.g. _createClass()) that gets included once for each file when you minify?

We'll look into this soon, but as an intermediary step, we'll probably go with the helpers being inlined redundantly for now and then revisit.


Apply optimize stream refactoring.

We are in the process of evaluating a research project associated with an automated refactoring tool that attempts to optimize Java 8 streams for maximum performance. In the case of your project, it converted several streams to parallel. The tool is very conservative, meaning that it goes through an extensive static analysis to ensure that the transformation is safe, i.e., original program semantics have been preserved. However, this also means that the proposed changes can be a proper subset of all streams that could be optimized (say, by a human expert developer).
We also ran your test suite before and after our changes and verified that the test results matched. In your project's case, both versions past all tests.
We would appreciate any feedback on the change set that you have. If the changes are acceptable to you, we would also appreciate it if you could accept this pull request so that we may assess the impact of our tool. Thank you for your time and consideration!

Thanks but those spots will not benefit from parallelism. The streams have low number of elements (<20), so the overhead of thread switching will probably make the parallel version slower. And the part that most likely is the bottleneck in this application (bytecode loading) cannot be parallelized, or would complicate the program needlessly, and anyways it runs fast enough.

Thank you for the feedback and consideration!
Thanks but those spots will not benefit from parallelism. The streams have low number of elements (<20), so the overhead of thread switching will probably make the parallel version slower. And the part that most likely is the bottleneck in this application (bytecode loading) cannot be parallelized, or would complicate the program needlessly, and anyways it runs fast enough.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/orfjackal/retrolambda/pull/140#issuecomment-376353125, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AB9DP2uWYBvozMZiz5O4A5NgT4TMGnL4ks5tiYQ7gaJpZM4S7_ze.


Clean up TagHelperResolver - remove assemblyFilters

We should remove the assemblyFilters argument from this class and also consider removing the 'result type'. We've never had 'global' errors from tag helpers, and the editor doesn't use them today.

cd0fcfb05ede1ef189168c2c4ac63b4b34f71a8a


Create BuildAndTest.yml

Intiative of creating Automation and testing using github workflow
issue #293
@llaske I implemented github workflow, Any suggestions from you will be admired

@parteekcoder did you test it on your side?
It can't work. Running test require not only a node environment but also a MongoDB database.

@parteekcoder did you test it on your side? It can't work. Running test require not only a node environment but also a MongoDB database.

yeah will update it

@llaske can we use something test database and use the data from it for testing ,
as using original database or the testing is not so good, What do you think?

No. The idea is to create a mongodb in the same github action

No. The idea is to create a mongodb in the same github action

but then we have to populate test data in it , right?

No. Have a look on tests, they create their own items.

ok then it is easy I will update this PR soon

@parteekcoder can you set up these Github Actions in your repository fork for testing? Since the original repository is being used by other contributors, testing this feature here can lead to confusion. It may be better to test and develop this feature on your fork, and once the feature is stable share the instructions about setting it up on this repository.

@parteekcoder can you also add a [WIP] tag in the name of your PR so that it's clear that they are not ready?

[WIP] Create BuildAndTest.yml

I don't have access to add labels

@parteekcoder can you set up these Github Actions in your repository fork for testing? Since the original repository is being used by other contributors, testing this feature here can lead to confusion. It may be better to test and develop this feature on your fork, and once the feature is stable share the instructions about setting it up on this repository.

@NikhilM98 can you please tell me how test will run if they are present in another repository

@NikhilM98 as running test on sugarizer-server it requires sugarizer repo , so first I also have to clone that repo, right ?

You should be able to configure github actions in your fork: https://github.com/parteekcoder/sugarizer-server

@NikhilM98 I am closing this PR , I created new one you can check that


Documentation is out of date.

Other issues were raised about documentation and closed 6 months ago. I am currently following documentation as it is now, and noticed that several instructions/images do not correspond with what is in GSuite now.

Thank you for your comment. We will investigate the issue and get back to you.

Can you let us know which pages you find out of date?

Step 7a, the screenshot is redundant as there is no area to choose user type (I found that I could only choose between internal/external later in the process.) Also the OAuth Consent Screen is different from what is displayed.
Step 9D is also changed on GSuite's end (Keys is in a new tab. I believe there are a few more inconsistencies that I can't see since I'm not viewing the steps via a new project and just viewing the one I created for GSuite to CAS.
GSuite seems to have moved stuff around and it took a bit more time trying to follow/guess next steps since the steps/images didn't line up with what GSuite displayed.

Thanks for the additional information.


Use Map shim with _.uniq

Rounding out my PRs for today: An alternative implementation of https://github.com/jashkenas/underscore/pull/2099, using a Map shim. Performs just as well, but simplifies _.uniq instead of making it more complex.
This also paves the way for using a Map in _.memoize (#1862).

This also paves the way for using a Map in _.memoize (#1862).

This won't be possible (by default) as theres no reasonable way to shim a WeakMap so in older environments (such as node 0.10) we'll end up creating some potentially severe memory leaks

Why are you using Map instead of Set here?
See https://github.com/jashkenas/underscore/commit/2ce6f62f32f8bbc8d308748cbef6c9480bf2faf1

This won't be possible (by default)

It's just a Map, not a WeakMap. But this'll allow dev's to use a WeakMap if they want.

Why are you using Map instead of Set here?

I wanted to kill two birds with one stone. And, this is a direct port of #2099.

I think this would be the right thing to do in principle, but I hope it can be done in a way that takes up less space.


the C/C++ Extension took up 950M memory

Type: Bug
Today(2022.9.22) updating make the memory occupied too much.
I only use vscode to run a "hello world" program. It took off 1.5G memory.
Then the C/C++ Extension took up 950M.
Then if I use the option: "console": "externalTerminal".
It wil increase the memory all the time even if I had close the shell windows.
It is out of my computer's performance.
VS Code version: Code 1.71.2 (74b1f979648cc44d385a2286793c226e611f59e7, 2022-09-14T21:03:37.738Z)
OS version: Windows_NT x64 10.0.19041
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz (4 x 2712)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
7.92GB (3.22GB free)

Process Argv
--user-data-dir D:\Program Files\.vscode --extensions-dir D:\Program Files\.vscode\extensions --crash-reporter-id 8f616df8-be42-4758-8472-2f22c6283036

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

clang-format
mjo
1.10.0

vscode-language-pack-zh-hans
MS-
1.71.9140930

cpptools
ms-
1.12.4

cpptools-extension-pack
ms-
1.3.0

notepadplusplus-keybindings
ms-
1.0.7

vetur
oct
0.36.0

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30557514
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
hb751961:30553087
dsvsc012:30540252
azure-dev_surveyonecf:30548226
2144e591:30553903
40g7c324:30573242

/extC++

It looks like this is caused by the C++ extension. Please file the issue to the C++ extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!


Checklist won't update if using track by $index inside ng-repeat

I've been using checklist-model to work with an array of check-boxes with each selected one can be deleted. Everything seems to work fine until I use it inside a ng-repeat.
The problem is, the deleted check-boxes still be there around when I add the track by $index along with the ng-repeat. If I remove that track by, it works fine (but in my real app I need that track by to work).
Here's a plnkr,  http://plnkr.co/edit/5082nJfGwlOZaXYb184Z?p=preview
To see the problem, you can follow these steps.
1.Select any check-box you want
2/Delete those selected ones
3.Check the check all button to see,
Now look at the one with track by $index, it will leave some check-box unchecked. If you check it manually, it will have the old value added to the list. This is weird.

@DieByMacro Thx for repporting will look in to it in time.

You can solve your problem using track by verb.id
http://plnkr.co/edit/izniQzjYZ6IWdnUysce9?p=preview
Thanks.

The problem is that you have track by $index and checklist-value='verb.id'. If they both set to either $index or verb.id it works.
I will change this one from bug as it works as expected, maybe clarify in the docs.

Clarified in the docs.


⚠ Jenkins Plugins Artifactory has degraded performance

In 378e20b, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 2274 ms

Resolved: Jenkins Plugins Artifactory performance has improved in baa5f19 after 46 minutes.


[CON-699] feat: Add Close supported objects

Updated the gif, as it initially had no scope field.
Adds closeCRM supported objects.

Can you rename this PR to [CON-699] feat: Add Documentation on Close supported objects


NPM audit and vulnerabilities

Hey,
After installing the clone of this github, npm audit notified me of the presence of five vulnerabilities (2 low, 3 moderate). So I asked myself if this problem comes from my side, or if parts of your package have problems. Here is the list of vulnerabilities :
Moderate        Prototype pollution

  Package         hoek

  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3

  Dependency of   botkit

  Path            botkit > botbuilder > jsonwebtoken > joi > hoek

  More info       https://nodesecurity.io/advisories/566

  Moderate        Prototype pollution

  Package         hoek

  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3

  Dependency of   botkit

  Path            botkit > botbuilder > jsonwebtoken > joi > topo > hoek

  More info       https://nodesecurity.io/advisories/566

  Moderate        Out-of-bounds Read

  Package         base64url

  Patched in      >=3.0.0

  Dependency of   botkit

  Path            botkit > botbuilder > base64url

  More info       https://nodesecurity.io/advisories/658

  Low             Regular Expression Denial of Service

  Package         debug

  Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0

  Dependency of   botkit

  Path            botkit > localtunnel > debug

  More info       https://nodesecurity.io/advisories/534

  Low             Prototype Pollution

  Package         lodash

  Patched in      >=4.17.5

  Dependency of   botkit

  Path            botkit > vorpal > inquirer > lodash

  More info       https://nodesecurity.io/advisories/577

You can update these yourself in the package.json file. It would be useful if someone can test if these updates, and if they do not break any functionality, submit a pull request to get these updated.

Hi, sorry but I don't know how to make a pull request.

The latest version has a couple of fixes needed.
found 4 vulnerabilities (3 moderate, 1 high)

After running npm audit fix its down to:
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ handlebars                                                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ express-hbs                                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ express-hbs > handlebars                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/755                       │
└───────────────┴──────────────────────────────────────────────────────────────┘

However it seems the dev has fixed this in his v1 releases:
https://github.com/barc/express-hbs/tree/v1.1.1
Thus you can fix it using:
$ npm install<EMAIL_ADDRESS>+<EMAIL_ADDRESS>added 1 package, removed 16 packages, updated 6 packages and audited 7430 packages in 4.15s
found 0 vulnerabilities

Its also worth noting both dependencies querystring and request are never used in the code base and can be removed.


Remove right-to-left override characters from parsed text

This removes right-to-left override characters from parsed text, to prevent malicious reformatting of status messages.

Hey Chris Atkin!
Thank you for the pull request. I think I have some issue with the CI-stuff right now, but I will attempt a run and merge it soon™.

I can't get the github actions to use the new configuration to run the pipeline on this change. It looks very good. I'll merge it anyway.


Fix flaky test caused by .toArray()

Description
Flaky Test found using NonDex by running the command -
mvn -pl apm-commons/apm-util edu.illinois:nondex-maven-plugin:1.1.2:nondex
The logged failure -
[ERROR] Failures:
[ERROR]   ConfigInitializerTest.testInitialize:70 arrays first differed at element [1]; expected:<[b]> but was:<[c]>

Investigation
The test fails at ConfigInitializerTest.testInitialize:70 with the error regarding a mismatch of elements of the expected array of Strings with the actual elements from the TestPropertiesObject.Level1Object.SET_STR_ATTR.toArray() on line 70. The SET_STR_ATTR is a SET and a set does not guarantee the order of its elements. According to the documentation, the toArray() function follows the iterator's order and the iterator returns elements in no particular order (unless this set is an instance of some class that provides a guarantee). This makes the test outcome non-deterministic. To fix this, the actual array needs to be sorted so that it can guarantee the order of its elements.
Similar fix is made for the line ConfigInitializerTest.testInitialize:71 to remove the flakiness.
Fix
Sorting the output returned by the toArray() function. This removes the non-determinism without needing any further changes and ensures that the flakiness of the test is removed.

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
[ ] Update the CHANGES log.

Hi reviewers, is this fix satisfactory? If no, can you please suggest a better approach if you have it in mind?
Thank you.

Hi, thank you for digging deeply into our tests.
This test case actually doesn't measure the order of the set, we don't expect that. The test is just making sure the map field is initialized.
The case seems stable in most JDK, does the tool intentionally mix the order to produce unpredictability?

Yes, it intentionally mixes the order to produce unpredictability which helps detect tests that can non-deterministically pass and fail when run on the same version of code.

OK. If you want to fix this, you could change to codes to compare the two HashSets. We don't require the order actually.

Thanks for your feedback! I will make the necessary changes and update the pull request.

Hello, I have updated the fix to just compare the two HashSets without caring about the order. Can you please review the change?

Thanks. Merged.


bleat.startScan updates

Fixed callback function references in bleat.startScan, fixes #46
Added options object to bleat.startScan with option allowDuplicates, resolves #44

Could you split this into 2 separate PRs fixing #44 and #46 individually?

@thegecko What is the best method for splitting into two pull requests?

@mikaelkindborg Nevermind :)

@thegecko Thanks for merging!


64-bit mode Error

When running any of the examples that put Jax into 64-bit mode e.g. the lotka_volterra benchmark, produces the following error, when using Python 3.9, jax 0.2.27, jaxlib 0.1.75, equinox 0.1.5, on a Windows 10 box.
The above exception was the direct cause of the following exception:

Traceback (most recent call last):
    ref_sol = diffeqsolve(
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\equinox\jit.py", line 90, in fun_wrapper
    dynamic_out, static_out = _filter_jit_cache(fun, **jitkwargs)(
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\equinox\jit.py", line 25, in f_wrapped
    out = f(*args, **kwargs)
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\diffrax\integrate.py", line 808, in diffeqsolve
    final_state, aux_stats = adjoint.loop(
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\diffrax\adjoint.py", line 76, in loop
    return self._loop_fn(**kwargs, is_bounded=True)
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\diffrax\integrate.py", line 444, in loop
    final_state = bounded_while_loop(
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\diffrax\misc\bounded_while_loop.py", line 135, in bounded_while_loop
    _, val, _ = _while_loop(_cond_fun, body_fun, init_data, rounded_max_steps, base)
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\diffrax\misc\bounded_while_loop.py", line 245, in _while_loop
    return lax.scan(_scan_fn, data, xs=None, length=base)[0]
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\diffrax\misc\bounded_while_loop.py", line 239, in _scan_fn
    return lax.cond(_unvmap_pred, _call, lambda x: x, _data), None
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\diffrax\misc\bounded_while_loop.py", line 234, in _call
    return _while_loop(cond_fun, body_fun, _data, max_steps // base, base)
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\diffrax\misc\bounded_while_loop.py", line 245, in _while_loop
    return lax.scan(_scan_fn, data, xs=None, length=base)[0]
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\diffrax\misc\bounded_while_loop.py", line 239, in _scan_fn
    return lax.cond(_unvmap_pred, _call, lambda x: x, _data), None
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\diffrax\misc\bounded_while_loop.py", line 234, in _call
    return _while_loop(cond_fun, body_fun, _data, max_steps // base, base)
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\diffrax\misc\bounded_while_loop.py", line 245, in _while_loop
    return lax.scan(_scan_fn, data, xs=None, length=base)[0]
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\diffrax\misc\bounded_while_loop.py", line 239, in _scan_fn
    return lax.cond(_unvmap_pred, _call, lambda x: x, _data), None
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\diffrax\misc\bounded_while_loop.py", line 234, in _call
    return _while_loop(cond_fun, body_fun, _data, max_steps // base, base)
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\diffrax\misc\bounded_while_loop.py", line 223, in _while_loop
    new_val = jax.tree_map(
  File "C:\Users\Adam\anaconda3\envs\jax39\lib\site-packages\diffrax\misc\bounded_while_loop.py", line 221, in _make_update
    return lax.select(pred, _new_val, _val)
TypeError: lax.select requires arguments to have the same dtypes, got int32, int64. (Tip: jnp.where is a similar function that does automatic type promotion on inputs).

Process finished with exit code 1

Interesting. I assume this is OS-dependent behaviour as I don't get the same error on Linux. (Running under WSL2.)
How are you running JAX on Windows? Have you built jaxlib from source yourself?

I have tried both jaxlib built by myself and also the from here https://github.com/cloudhan/jax-windows-builder
I should also note that I currently using Jax in x64 mode with the built-in ODE solver with no issues.

Right, I've tracked down the root cause: https://github.com/google/jax/issues/9574
This is something that can be worked around on our end -- I'll include a fix in the upcoming v0.0.3 release.

Thanks for you fast reponse.

The version 0.0.3 release, which should fix this, is now available on PyPI.


Delaying in PDF rendering

Link to PDF file (or attach file here): http://cssexplore.com/web/index.php?file=BOOK WITH INDEX.pdf&bookid=19
Configuration:

Web browser and its version: Chrome and Version 53.0.2785.143 (64-bit)
Operating system and its version: MacOS Sierra and Version 10.12 / Windows 8
PDF.js version: Current version
Is an extension: .JS

Steps to reproduce the problem:

Click on a link above
Pdf will take so much time to open

What is the expected behavior? (add screenshot)
Fast Pdf rendering even if size of the pdf is high
What went wrong? (add screenshot)
Pdf is taking so much time in rendering when file is high
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

Using PDF.js version 1.6.263, the file renders instantly for me when e.g. opening it locally.
The link that you provided does not point directly to a PDF file, but rather to a customized version of the PDF.js viewer (using PDF.js version 1.4.20, which is now outdated).
Given that the size of the PDF file is 13.2 MB, and that the server seem to be using a slow internet connection, it simply takes a while to load the entire PDF file. However, once it has loaded, it renders more of less instantly in PDF.js 1.6.263.
It appears (e.g. from your screenshots) that you confuse the time it takes to load the PDF file from the server, with the time it takes to actually render it in PDF.js.
Closing as invalid, since we we cannot do anything about the slowness of a random server

PDF.js version: Current version

For future reference, when filing issue: Please provide a valid version number, since "Current version" is not useful information.


Add configuration for enabling only HTTP or only non-HTTP functions #4412

cc @anthonychu
From https://github.com/Azure/azure-functions-host/issues/4412
What problem would the feature you're requesting solve? Please describe.
When deploying function apps containing HTTP and non-HTTP functions to Kubernetes running KEDA/Osiris, we need to split the app into 2 deployments. The Functions Core Tools figures out which functions need to be enabled/disabled in the HTTP and non-HTTP deployments and generates the correct environment variables. For instance:
env:
  - name: AzureFunctionsJobHost__functions__0
    value: QueueTrigger
  - name: AzureFunctionsJobHost__functions__1
    value: QueueTrigger1

This is difficult to do when manually creating deployment scripts for deploying function apps to the environment and also makes it difficult for the Core Tools to use helm for deployment.
Describe the solution you'd like

Add a way to enable only HTTP functions in a function app
Add a way to enable only non-HTTP functions in a function app

Describe alternatives you've considered
Manually creating the correct the environment variables in the deployment scripts, and making sure they stay in sync with the function app.

@pragnagopa this is a runtime ask. The ask is to be able to start the runtime in a way that will only load http functions or only load non-http functions. As far as I'm aware there is no way to achieve this today from the runtime, right? the runtime will either load all functions, or ones defined in the host.json "functions" array.

@pragnagopa I'm closing this issue and re-opening the one on the host. Let me know if there is a way to achieve this without explicitly setting the functions array in the config system, if there is, we can move this issue to the core-tools to use it.


Route not clickable - no images

From @hermann-san on August 17, 2017 11:48
In Germany I can see 2 routes near Herrenberg (below a screenshot). On one I can see the images and on the other I can't. Do you any idea why this is?
Thanks.

Copied from original issue: openstreetcam/android#104

This issue was moved to openstreetcam/openstreetview.org#136

I don't know the cause but its the same effect consistently over android ios and web. I'm goint to move this issue to the backend because this seems like a phantom track.


fix: Fix attribute stripping ignoring doc comments

Follow up to https://github.com/rust-analyzer/rust-analyzer/pull/11225#pullrequestreview-846779237

⏳ Gonna try making a test for this

Fixed the regression


Add She Wants Me Death by CAZZETTE

Song Name
She Wants Me Death
Artist Name
CAZZETTE
Source
Youtube
Youtube Link
htM6xuCwoXD032_s
Direct File Link
No response
Song ID
11006
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 108393623

reject
invalid YouTube link


Parameterize TOC marker pattern

This change makes TOC marker adjustable with the markerPattern option.
Default value remains /^\[\[toc\]\]/im, so the change is backward compatible.

Great. Can you please update the documentation to reflect this option?

Indeed, forgot about the docs, sorry.

Published to NPM as 0.2.2


Implement standard metrics for http dependency telemetry

Part of https://github.com/microsoft/opentelemetry-azure-monitor-python/issues/123
Adds the custom properties to a telemetry processor that runs every time a http dependency telemetry is exported.
Implementation taken from the App Insights Dot net SDK.

Codecov Report

Merging #125 into master will decrease coverage by 0.04%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##           master     #125      +/-   ##
==========================================
- Coverage   93.00%   92.96%   -0.05%
==========================================
  Files          21       21
  Lines        1201     1236      +35
  Branches      149      153       +4
==========================================
+ Hits         1117     1149      +32
  Misses         56       56
- Partials       28       31       +3

Impacted Files
Coverage Δ

...nitor/src/azure_monitor/export/metrics/__init__.py
96.34% <91.66%> (-3.66%)
:arrow_down:

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 132024c...5adc77f. Read the comment docs.


Error Importing : module 'cv2.gapi.wip.draw' has no attribute 'Text'

Hello !
Trying to solve this issue since few hours :
### Loading: ComfyUI-Manager (V1.0.1)
### ComfyUI Revision: 1688 [728613bb] | Released on '2023-11-14'
Total VRAM 12287 MB, total RAM 65452 MB
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3080 Ti : cudaMallocAsync
VAE dtype: torch.bfloat16
Torch version: 2.1.1+cu118
Searge-SDXL v4.3.1 in C:\STABLE DIFFUSION COMFY UI PORTABLE\ComfyUI\custom_nodes\SeargeSDXL
Traceback (most recent call last):
  File "C:\STABLE DIFFUSION COMFY UI PORTABLE\ComfyUI\nodes.py", line 1735, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\STABLE DIFFUSION COMFY UI PORTABLE\ComfyUI\custom_nodes\SeargeSDXL\__init__.py", line 35, in <module>
    from .searge_sdxl import SEARGE_CLASS_MAPPINGS, SEARGE_DISPLAY_NAME_MAPPINGS
  File "C:\STABLE DIFFUSION COMFY UI PORTABLE\ComfyUI\custom_nodes\SeargeSDXL\searge_sdxl.py", line 32, in <module>
    from .modules.controlnet_adapter import SeargeControlnetAdapterV2
  File "C:\STABLE DIFFUSION COMFY UI PORTABLE\ComfyUI\custom_nodes\SeargeSDXL\modules\controlnet_adapter.py", line 31, in <module>
    from .controlnet import canny
  File "C:\STABLE DIFFUSION COMFY UI PORTABLE\ComfyUI\custom_nodes\SeargeSDXL\modules\controlnet\__init__.py", line 4, in <module>
    from .canny import CannyDetector
  File "C:\STABLE DIFFUSION COMFY UI PORTABLE\ComfyUI\custom_nodes\SeargeSDXL\modules\controlnet\canny\__init__.py", line 2, in <module>
    import cv2
  File "C:\STABLE DIFFUSION COMFY UI PORTABLE\python_embeded\lib\site-packages\cv2\__init__.py", line 181, in <module>
    bootstrap()
  File "C:\STABLE DIFFUSION COMFY UI PORTABLE\python_embeded\lib\site-packages\cv2\__init__.py", line 175, in bootstrap
    if __load_extra_py_code_for_module("cv2", submodule, DEBUG):
  File "C:\STABLE DIFFUSION COMFY UI PORTABLE\python_embeded\lib\site-packages\cv2\__init__.py", line 28, in __load_extra_py_code_for_module
    py_module = importlib.import_module(module_name)
  File "importlib\__init__.py", line 126, in import_module
  File "C:\STABLE DIFFUSION COMFY UI PORTABLE\python_embeded\lib\site-packages\cv2\typing\__init__.py", line 157, in <module>
    Prim = typing.Union[cv2.gapi.wip.draw.Text, cv2.gapi.wip.draw.Circle, cv2.gapi.wip.draw.Image, cv2.gapi.wip.draw.Line, cv2.gapi.wip.draw.Rect, cv2.gapi.wip.draw.Mosaic, cv2.gapi.wip.draw.Poly]
AttributeError: module 'cv2.gapi.wip.draw' has no attribute 'Text'

Cannot import C:\STABLE DIFFUSION COMFY UI PORTABLE\ComfyUI\custom_nodes\SeargeSDXL module for custom nodes: module 'cv2.gapi.wip.draw' has no attribute 'Text'

I've been trying to solve this problem for a few hours but I really can't find...
I'm not a python expert by any means, but I've tried everything I could think of:

Uninstall opencv-python and Install a previous version
Manually remove opencv/cv2 from the packages folder
Manual installation of SeargeSDXL
Install with SeargeSDXL-Installer.bat
tested update_comfyui.bat
tested update_comfyui_and_python_dependencies.bat
cleaned local PIP cache
checked that I'm in embedded python

I have another script that gives me the same kind of error when I activate it, all the others work perfectly, maybe this is a lead, if anyone has an idea, I'm interested!

Thanks for reading!

Hello Again, I finally solved my issue by installing this version of opencv-python (emmbeded) :
opencv_python-<IP_ADDRESS>
Hope that helps others.. !


Datatree docs should mention that assigning to .ds is allowed

What is your issue?
See https://github.com/xarray-contrib/datatree/issues/312, fyi @flamingbear

Well, .dataset anyway from the outcome of #9458

Hey I've always found Xarray useful, so I wanted to start understanding the internal codebase more. Happy to take this on if no one else is tackling it?

That would be great @adam2392 ! The implementation of the property and setter that needs documenting is here
https://github.com/pydata/xarray/blob/7fd572d374df45b863c54e380323d898d060db5a/xarray/core/datatree.py#L601
The fact you can assign to this property should probably be documented

In the docstring of the property
here https://docs.xarray.dev/en/stable/user-guide/data-structures.html#datatree-contents
and in a new section under here https://docs.xarray.dev/en/stable/user-guide/hierarchical-data.html#tree-contents


Can't install integration with HA 2023.12.1

What version of Music Assistant has the issue?
2023.6.0b6
The problem
I get an popup with error Config flow could not be loaded: {"message":"Invalid handler specified"} when trying to add the integration.
Logs contain the error "no such module music_assistant". Perhaps related to the dependabot PR #1688 for upgrading to 2023.12.1 which is a failure to import async_timeout
How to reproduce
Attempt to install on 2023.12.1
Relevant log output
2023-12-14 01:05:41.399 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration mass: No module named 'music_assistant'
Additional information
No response
What version of Home Assistant Core are your running
2023.12.1
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

Do you have the addon installed?

I know I selected docker container, somehow it got reverted to HA OS. I have the server installed on a different PC, independently. This may be a HACS/docker issue. I just opened a bash shell in the correct container and used pip to hand install the required version:  music-assistant==2.0.0b59 and the integration came up. I'll close this and go hunt up the HACS repo to see if there are any similar issues.


cannot print help message

When running --help this is the error that is returned:
./lambdaguard --help
Traceback (most recent call last):
File "./lambdaguard", line 17, in
lambdaguard.run()
File "/usr/local/lib/python3.6/dist-packages/lambdaguard/init.py", line 64, in run
args = parse_args(arguments)
File "/usr/local/lib/python3.6/dist-packages/lambdaguard/utils/cli.py", line 62, in parse_args
args = argsParser.parse_known_args()[0]
File "/usr/lib/python3.6/argparse.py", line 1775, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/usr/lib/python3.6/argparse.py", line 1981, in _parse_known_args
start_index = consume_optional(start_index)
File "/usr/lib/python3.6/argparse.py", line 1921, in consume_optional
take_action(action, args, option_string)
File "/usr/lib/python3.6/argparse.py", line 1849, in take_action
action(self, namespace, argument_values, option_string)
File "/usr/lib/python3.6/argparse.py", line 1033, in call
parser.print_help()
File "/usr/lib/python3.6/argparse.py", line 2375, in print_help
self._print_message(self.format_help(), file)
File "/usr/lib/python3.6/argparse.py", line 2381, in _print_message
file.write(message)
UnicodeEncodeError: 'ascii' codec can't encode character '\xeb' in position 483: ordinal not in range(128)

Hi @vlinden-cs thanks for reporting. Seems that it can't print ё in my name :P
I will check if UTF-8 can be explicitly set in case your terminal uses ASCII by default

Fixed https://github.com/Skyscanner/LambdaGuard/commit/2d316b34a13486cb18d0a8541ca733e9bb2cad32