Question regarding tokenizers in Code to Text

Hi there,
I am currently looking into the Code-To-Text parts, particularly I am looking into Inferring some results for new java files.
I just have an issue with understanding some of the pipeline and data.
When I look into the datasets JSONl's I see entries such as:
[...]
"code": "@Override\n    public ImageSource apply(ImageSource input) {\n        final int[][] pixelMatrix = new int[3][3];\n\n        int w = input.getWidth() [...]
"code_tokens": ["@", "Override", "public", "ImageSource", "apply", "(", "ImageSource", "input", ")", "{", "final", "int", "[", "]", "[", "]", "pixelMatrix", "=", "new", "int", "[", "3", "]", "[", "3", "]", ";" [...]
"docstring": "Expects a height mat as input\n\n@param input - A grayscale height map\n@return edges",
"docstring_tokens": ["Expects", "a", "height", "mat", "as", "input"],
[...]

When I apply the hugging face transformer to the JSONl's code field, I get vastly different results (namely a ton of G's and C's with these spanish hats above them).
So, my question is, am I right that the standard Huggingface Roberta-Tokenizer is used and the Code-Tokens are ignored for this task, or is there some trick I am missing?

JSONl's code_tokens are obtained by AST (tree-sitter), which is different from huggingface Roberta-Tokenizer used for CodeBERT.  You are right and Code-Tokens are ignored for this task. However, docstring/comments are included in JSONl's code . You should use “ ”.join(Code-Tokens) as the input, because Code-Tokens removes docstring/comments in JSONl's code field.

Thank you very much for the clarification!


Missing custom usefetch composable example

The example for a custom usefetch composable has links to a repo that no longer exists.
Page I'm referencing:
https://nuxt.com/docs/examples/advanced/use-custom-fetch-composable

Thanks for the quick response!

but in this response useCustomFetch loss api type safety


Sync hosted branch with master

looks good to me

Diff:

Ups. GitHub didn't handle well having markdown inside a markdown code block ;)

Missing to run the autoversion tool. See the docs.

Also note that you will get an erroneous modification of the mtls-ambassador version. I'll follow-up on that somehow separately. See https://github.com/mendersoftware/mender-docs/pull/1619/files#r791454582

@lluiscampos something like this? https://github.com/mendersoftware/mender-docs/pull/1633/commits/75710c719be0acaaa1b9c402f9050595f209314c


are the pretrained weights for HRNet V1 or V2?

(the other repositories seem to have v2?).

We used the same pretrained-weights for V1 and V2.
We are exploiting a better design for classification to provide better pretrained models.


duplicate filetype information in paths

eg:
css/lib/bootstrap3.min.css
html/index.html
js/config/Categories.js
To avoid redundant file type information your source code directories should be chosen by feature, not filetype.

If you want to set different caching strategies per filetype, you can use webpack to move different asset types into different directories automatically.

Hi @graingert,
You make some good points. We'll keep the structure as it is for now but will revisit this when our library management plans come to fruition (#2).


associated marginbox setup with the config.yaml added user agency

This should be a requirement for #25
Doing this will give more agency to the user for more unique and custom marginbox placement in the template image.

issue is complete after latest commit. Closing.


Refactor proof that Cats is a CCC to make its parts more reusable.

I decided to develop @HuStmpHrrr's insight from #61 a bit further.
Recap. The current definition of CCCs is very generic, unlike the 'typical' presentations where exponentials are defined in terms of a canonical choice of products. Thanks to the universal property of products, this does not matter. One can just repack products to work with whatever isomorphic presentation one desires.
This PR. This is of course not specific to Cats. Indeed, it is completely independent from the actual CCC one is working with, so the work of converting from/to the canonical products can be done once and for all, in a generic fashion. To this end, I added the module Categories.Category.CartesianClosed.Canonical which is closer to the 'typical' presentation of CCCs. It completely unfolds the definition of CCCs and defines exponentials w.r.t. to the canonical choice of products. Since this presentation is (provably) equivalent to the current one, we may prove that an instance (e.g. Cats) is 'canonically cartesian closed', and then convert the proof to the usual definition.
Future work. There are at least four equivalent definitions of CCCs that I can think of.

the current, generic one (in terms of exponentials),
the new, canonical one,
one requiring a category to be a) cartesian, and b) monoidal-closed w.r.t. products,
one in terms of an adjoint tripple of functors (diagonal, product, hom).

It would be nice to implement 3 and 4 as well, and prove them equivalent to the others.

yeah this looks very good. thx.


Temporarily skip problematic sparse test

As title

Thank you for doing this!

It looks like we started hitting https://github.com/dask/dask/issues/7169 in the main test suite with the new sparse release. This PR is a temporary quick fix which skips the corresponding problematic test until https://github.com/dask/dask/issues/7169 is resolved.

Thanks for the quick reviews! I'll merge this in as soon as CI passes (might not wait on the macOS builds if there's a sizable wait queue)


Update scale-generator.spec.js

Removed the redundant comma in the expected array variable for both the below test cases:

'Chromatic scale with sharps'
'Chromatic scale with flats'

@ngl4 I am sorry but I have to close this PR. In the formatting that we apply for all the JavaScript code in this repository, we explicitly configured that we want trailing commas. This is why the CI pipeline failed after your change.
You can read about why trailing commas are useful in the first paragraph here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Trailing_commas

Thank you Junedev! I am glad I learn something new! Appreciated your guidance!!


Document new exit codes in changelog.

JIRA issues: MARATHON-8381

But I think we need that in the 1.6.X changelog too.

Hence the backport label 🙂


Added support to read PSD files.

Nice addition, I'm personally for merge this.
After all, Unreal Engine can load *.psd resources if I remember correctly.
The goal of this shouldn't be use this feature as final textures format representation on the game for obvious performance and convenience reasons due to size and usage
comfort, but it's useful instead for prototyping the game and during development process.
Artists would love this. Tech addition is never bad.
Someone has any other opinions on that? (:
Thank you!


HADOOP-19146 noaa-cors-pds bucket access with global endpoint fails

Jira: HADOOP-19146

Tested with scale profile, with and without global endpoint setting

@steveloughran @mukund-thakur nothing urgent, could you please review this PR as per your convenience?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
6m 52s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

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 8 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 34s

trunk passed

+1 :green_heart:
compile
0m 28s

trunk passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
compile
0m 21s

trunk passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
checkstyle
0m 22s

trunk passed

+1 :green_heart:
mvnsite
0m 28s

trunk passed

+1 :green_heart:
javadoc
0m 21s

trunk passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
javadoc
0m 24s

trunk passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
spotbugs
0m 46s

trunk passed

+1 :green_heart:
shadedclient
20m 20s

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

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 32s

the patch passed

+1 :green_heart:
compile
0m 22s

the patch passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
javac
0m 22s

the patch passed

+1 :green_heart:
compile
0m 15s

the patch passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
javac
0m 15s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 13s

the patch passed

+1 :green_heart:
mvnsite
0m 18s

the patch passed

+1 :green_heart:
javadoc
0m 10s

the patch passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
javadoc
0m 18s

the patch passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
spotbugs
0m 46s

the patch passed

+1 :green_heart:
shadedclient
20m 25s

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

_ Other Tests _

+1 :green_heart:
unit
2m 13s

hadoop-aws in the patch passed.

+1 :green_heart:
asflicense
0m 23s

The patch does not generate ASF License warnings.

92m 19s

Subsystem
Report/Notes

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

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

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

uname
Linux c56a4d92fdce 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / dcb8853f08dc1fb35d2873fb4012d8384fa69d44

Default Java
Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

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

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

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6723/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.

Re-ran the whole suite with scale and prefetch profiles one more time against us-west-2

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 19s

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 8 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 40s

trunk passed

+1 :green_heart:
compile
0m 23s

trunk passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
compile
0m 20s

trunk passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
checkstyle
0m 20s

trunk passed

+1 :green_heart:
mvnsite
0m 26s

trunk passed

+1 :green_heart:
javadoc
0m 17s

trunk passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
javadoc
0m 21s

trunk passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
spotbugs
0m 43s

trunk passed

+1 :green_heart:
shadedclient
21m 35s

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

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 18s

the patch passed

+1 :green_heart:
compile
0m 21s

the patch passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
javac
0m 21s

the patch passed

+1 :green_heart:
compile
0m 15s

the patch passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
javac
0m 15s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 11s

the patch passed

+1 :green_heart:
mvnsite
0m 20s

the patch passed

+1 :green_heart:
javadoc
0m 10s

the patch passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
javadoc
0m 16s

the patch passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
spotbugs
0m 38s

the patch passed

+1 :green_heart:
shadedclient
21m  5s

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

_ Other Tests _

+1 :green_heart:
unit
2m 11s

hadoop-aws in the patch passed.

+1 :green_heart:
asflicense
0m 24s

The patch does not generate ASF License warnings.

87m 14s

Subsystem
Report/Notes

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

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

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

uname
Linux 4f3c0ebb2293 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 60bd00b49f12f28f2033ffe0a0946be73f29ecfa

Default Java
Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

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

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

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6723/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.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

_ Prechecks _

+1 :green_heart:
dupname
0m 01s

No case conflicting files found.

+0 :ok:
spotbugs
0m 01s

spotbugs executables are not available.

+0 :ok:
codespell
0m 01s

codespell was not available.

+0 :ok:
detsecrets
0m 01s

detect-secrets was not available.

+1 :green_heart:
@author
0m 00s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m 00s

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

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
109m 14s

trunk passed

+1 :green_heart:
compile
5m 54s

trunk passed

+1 :green_heart:
checkstyle
5m 30s

trunk passed

+1 :green_heart:
mvnsite
5m 57s

trunk passed

+1 :green_heart:
javadoc
5m 43s

trunk passed

+1 :green_heart:
shadedclient
175m 11s

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

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 18s

the patch passed

+1 :green_heart:
compile
2m 40s

the patch passed

+1 :green_heart:
javac
2m 40s

the patch passed

+1 :green_heart:
blanks
0m 00s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
2m 28s

the patch passed

+1 :green_heart:
mvnsite
2m 52s

the patch passed

+1 :green_heart:
javadoc
2m 37s

the patch passed

+1 :green_heart:
shadedclient
190m 48s

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

_ Other Tests _

+1 :green_heart:
asflicense
8m 28s

The patch does not generate ASF License warnings.

505m 38s

Subsystem
Report/Notes

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

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

uname
MINGW64_NT-10.0-17763 bbcbad86ec94 3.4.10-87d57229.x86_64 2024-02-14 20:17 UTC x86_64 Msys

Build tool
maven

Personality
/c/hadoop/dev-support/bin/hadoop.sh

git revision
trunk / 60bd00b49f12f28f2033ffe0a0946be73f29ecfa

Default Java
Azul Systems, Inc.-1.8.0_332-b09

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

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

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

versions
git=2.44.0.windows.1

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

This message was automatically generated.

@steveloughran does the latest revision look good?


Type hinting?

Hey @CamDavidsonPilon, are you opposed to adding type hints to the code? I'm happy to fork the code and start hammering away at it, at least a first stab, unless there's a reason not to do it. It looks like you're targeting python 3.6+, so I think it shouldn't cause any issues

Hi @aaronsmith1234, no opposition here! You'll find some type hinting scattered throughout already, but always happy to see more!


Ticket # 147 - About us page layout

finished page structure using existing components.
About, Board Member Highlights, and Alumni Recollections sections filled with static data
Filled Upcoming Events and Past Events (dynamic data) with dummy values temporarily

Modified the image size in "upcoming events" section. Created a new card for this instead of modifying the GenericCard component.


ValueError: Some specified arguments are not used by the HfArgumentParser: ['--local-rank=1']

Traceback (most recent call last):
File "/apdcephfs_cq3/share_1311970/Video-ChatGPT/video_chatgpt/train/train_mem.py", line 11, in
train()
File "/apdcephfs_cq3/share_1311970/Video-ChatGPT/video_chatgpt/train/train.py", line 482, in train
model_args, data_args, training_args = parser.parse_args_into_dataclasses()
File "/apdcephfs_cq3/share_1311970/lb/miniconda3/envs/video_chatgpt/lib/python3.10/site-packages/transformers/hf_argparser.py", line 341, in parse_args_into_dataclasses
raise ValueError(f"Some specified arguments are not used by the HfArgumentParser: {remaining_args}")
ValueError: Some specified arguments are not used by the HfArgumentParser: ['--local-rank=0']
Traceback (most recent call last):
File "/apdcephfs_cq3/share_1311970/Video-ChatGPT/video_chatgpt/train/train_mem.py", line 11, in
train()
File "/apdcephfs_cq3/share_1311970/Video-ChatGPT/video_chatgpt/train/train.py", line 482, in train
model_args, data_args, training_args = parser.parse_args_into_dataclasses()
File "/apdcephfs_cq3/share_1311970/lb/miniconda3/envs/video_chatgpt/lib/python3.10/site-packages/transformers/hf_argparser.py", line 341, in parse_args_into_dataclasses
raise ValueError(f"Some specified arguments are not used by the HfArgumentParser: {remaining_args}")
ValueError: Some specified arguments are not used by the HfArgumentParser: ['--local-rank=2']
Traceback (most recent call last):
File "/apdcephfs_cq3/share_1311970/Video-ChatGPT/video_chatgpt/train/train_mem.py", line 11, in
train()
File "/apdcephfs_cq3/share_1311970/Video-ChatGPT/video_chatgpt/train/train.py", line 482, in train
model_args, data_args, training_args = parser.parse_args_into_dataclasses()
File "/apdcephfs_cq3/share_1311970/lb/miniconda3/envs/video_chatgpt/lib/python3.10/site-packages/transformers/hf_argparser.py", line 341, in parse_args_into_dataclasses
raise ValueError(f"Some specified arguments are not used by the HfArgumentParser: {remaining_args}")
ValueError: Some specified arguments are not used by the HfArgumentParser: ['--local-rank=1']

Hi @openworld-lab,
Thank you for your interest in our work. Please share the PyTorch and Transformers version that you are using? Also are you using torchrun or torch.distributed.launch? Furthermore, please try installing Transformers using the following command and let me know if it solves the issue,
pip install transformers@git+https://github.com/huggingface/transformers.git@cae78c46

Thank you and looking forward to hearing from you.

Thank you very much, if my GPU device is V100, can I run the code successfully by setting --bf and --tf32 to False?

Hi @openworld-lab,
In this case setting --fp16 True might be sufficient to make the code work. However I did not test the code on V100 so can't say anything for sure. Thank You


Support connecting using choria jwt+seed

Will use helpers from https://github.com/choria-io/go-choria/pull/1955 to make this a bit easier


stm32: spi: expand DMA support with DCache enabled to all Cortex-M7 boards

Expand DMA support with DCache enabled to all STM32 Cortex-M7 boards.

Hi @fabiobaltieri @kartben, any idea why this PR appears as not yet approved in https://merge-list.zephyrproject.io/?

Hi @fabiobaltieri @kartben, any idea why this PR appears as not yet approved in https://merge-list.zephyrproject.io/?

Same thing with https://github.com/zephyrproject-rtos/zephyr/pull/70973

@ajarmouni-st both PRs are missing approval from the assignee afaict

@ajarmouni-st both PRs are missing approval from the assignee afaict

Ah, I forgot about that, thank!

@tbursztyka Your approval is required. Can you have a look ?


 |  already exits

In the Deploy stage of my CD pipeline creates a TaskDefinition and Service in the ECS. I expect it recreates a TaskDefinition and update the Service when a new image has been pushed to ECR. However, the TaskDefinition was created but the Service failed to create and update because of the error.
 |  already exits
I haven't specify Service Name in the template. Just leave the Stack to figure out. So the Service Name is like -Service-XXXXXXX. Not sure what's wrong with it.

Hmm, I'm unable to reproduce this. The CloudFormation step should create a new task definition and update the service, not attempt to recreate it. Is this the standard reference architecture or did you modify it for your purposes?

@jpignata thank you for reply me. Yes, I steal service template from you. I found another guy have exactly same problem like me. I think it happens when the stack have the same name already exists in the Cloudformation I try to update it via pipeline. And system will create another service first before remove the old one to try minimise the interruption of users. Is there a way we can specify the recreation policy on this, like delete the service first and then create.
Your template doesn't have any issue I think because the stack provision the cluster as well. In my stack it only provision TaskDefinition and Service.

Hmm, that shouldn't be necessary. You should be able to update the service. Sorry you had an issue - let us know if we can help.


deprication notice

The plugin heroku-push has been deprecated. Would you like to remove it? (y/N)
What's this about?

Is there a plugin to replace this?

There's experimental heroku builds:create functionality in https://github.com/heroku/heroku-builds. It's also not official so may die at any time, but it's based on the current API.


useHover doest not seems to work

Hi, I'm using react-portal-tooltip to be shown on click and hidden on click as well but the button that hide the tooltip is on the tooltip itself and it seems to disappear only when mouse leave the tooltip and so even if I pass the "useHover" props to false, do you know how I can disable the hover behaviour and make the tooltip disappear instantly ?

anyway used a key attribute, it works that way so closing it !


White flying text is slightly off

I have noticed that the text spawns with the center at the center of the target. While in factorio it spawns with left aligned with the targets center.
It also uses the internal name (iron-ore instead of Iron ore)

I see yeah that is a little irritating, but luckily not really game breaking. :)

Closed #72


io/console

Feature Request

Need a cross-platform way to provide tty, console behavior

Ruby has an io/console io/console
docs class that abstracts the different platform differences into a common library .  methods like winsize, getch, raw, etc

most of the terminal tui, type libraries don't work on windows because they assume termbox or termios libraries.

provide io/console or something similar

Some of the features that io/console provides are already part of IO::FileDescriptor in Crystal by default.
More advanced features for building terminal user interfaces probably fit best in a shard.
If a mature library is available we can consider incorporating it into the standard library if necessary.
I don't think there's any actionable here for this repo.

Regarding winsize: issue #2061
Regarding raw, there's IO::FileDescriptor#raw{} and #raw!

https://crystal-lang.org/api/1.12.1/IO/FileDescriptor.html#raw(%26%3Aself->_)-instance-method
https://crystal-lang.org/api/1.12.1/IO/FileDescriptor.html#raw!%3ANil-instance-method


Correction for raw affiliation PHIM Plant Health Institute, Univ Montpellier, INRAE, CIRAD, Institut Agro, IRD, Montpellier, France

Correction needed for raw affiliation PHIM Plant Health Institute, Univ Montpellier, INRAE, CIRAD, Institut Agro, IRD, Montpellier, France
raw_affiliation_name: PHIM Plant Health Institute, Univ Montpellier, INRAE, CIRAD, Institut Agro, IRD, Montpellier, France
new_rors: 05kpkpg04;051escj72;03fkrcm40;05q3vnk25;03rnk6m14;003vg9w96;05y5s3h28
previous_rors: 05kpkpg04;051escj72;03fkrcm40;05q3vnk25;03rnk6m14;003vg9w96
works_examples: W3157764782;W4287510032;W4327811383;W4327911890;W4391307524;W4396851195
contact: c42d281d5b1d3a58ee304274179d50f1:ef18e8b6c7ee66a537aea97b87cec69758f2 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


Added Test Cases; Added Support For CSV Output Files

Added Test Cases; Added Support For CSV Output Files

Excellent test coverage! Great work 👍


Wait for the actual best block chainlock in llmq-chainlocks.py

Node 0 is the one with the longest chain (and the one that should propagate it to other nodes), node 1 might not have the best block right after the reconnect.

Test failure is due to retroactive signing taking longer then 15 seconds (was very close as of logs). This did not happen before because we were waiting for a too early CLSIG before. Increasing the timeout in wait_for_chainlock should help.


[Bug] Wielder Causing Issues with Templater's Startup Template

The plugin templater has the ability to set a "startup template" that runs when Obsidian is started. However, when wielder is enabled, the startup template fails to run with a vast error. Prior to the template running (as it happens onLayoutReady), Wielder prints the following error:
Uncaught (in promise) TypeError: import_sci.default.init is not a function
    at initialize (plugin:wielder:85392:29)
    at ObsidianClojure.eval (plugin:wielder:85553:21)
    at Generator.next (<anonymous>)
    at fulfilled (plugin:wielder:36:24)

After that, the startup template runs and results in a very big error that mentions certain wielder properties. The error is massive, and hence is attached as a error.txt.
From a basic scan of the error, it looks like it may be related to my startup template's use of obsidian-requirejs that isn't playing nicely with it.
I hadn't restarted Obsidian in a while and hence only just saw this!

Hm, interesting. Haven't seen this before so thanks for reporting it.
Yeah, my first hunch is that because obsidian-requirejs defines a bunch of global things with very common names, something somewhere gets used when it shouldn't. Quick look at the source reveals this:
    //@ts-ignore
    window.requirejs = requirejs;
    //@ts-ignore
    window.define = define;

I'm not sure why it would clash with anything we're doing in Wielder, but probably the final bundle has to be generated somewhat differently to fix this, as it doesn't seem well enough isolated.
I'll take a deeper look when I have time.

Makes sense! Thanks for the update!


[infallible] Reexport lock guard types

Minor code cleanliness change. Reexport lock guard types MutexGuard,
RwLockReadGuard, and RwLockWriteGuard through diem-infallible so
you can do:
use diem_infallible::{Mutex, MutexGuard};

instead of:
use diem_infallible::Mutex;
use std::sync::MutexGuard;

:broken_heart: Test Failed - Build images and run cluster test

/land


chore: update tar package

Later versions don't support node 8 anymore.
Fixes #89

Just to confirm, 5.0.8 supports node 8?

Yes! That's the reason I didn't upgrade to 6.x.

Ping, @owais, @jtmal-signalfx.


[FEAT]: Other instrument sounds.

Description
Check out tonejs.
Additional Information
No response

We did some of this in https://github.com/jsal13/webapps/commit/b35bbf07680c8614530a2dfc2858527f256b65e5.  For any others, we'd haft'a learn tonejs.  Maybe we'll do that later.  Closing for now.


GDAX Importing data error

Hi,
I'm running node gekko --import and I'm getting this error:
 2017-03-04 11:52:27 (DEBUG):	Skipping data, they are before from date 2016-07-01T07:50:55+00:00
 2017-03-04 11:52:27 (DEBUG):	Backwards: 2016-07-01T07:51:47.43651Z (715493) to 2016-07-01T08:45:11.028345Z (715592)
 2017-03-04 11:52:27 (DEBUG):	Skipping data, they are before from date 2016-07-01T08:45:11+00:00
 2017-03-04 11:52:28 (DEBUG):	Backwards: 2016-07-01T08:45:11.449921Z (715593) to 2016-07-01T09:20:25.626376Z (715692)
 2017-03-04 11:52:28 (DEBUG):	Skipping data, they are before from date 2016-07-01T09:20:25+00:00
 2017-03-04 11:52:28 (DEBUG):	Backwards: 2016-07-01T09:20:25.627121Z (715693) to 2016-07-01T10:30:19.696206Z (715792)
 2017-03-04 11:52:28 (DEBUG):	Skipping data, they are before from date 2016-07-01T10:30:19+00:00
 /app/exchanges/gdax.js:199
                 log.debug('Backwards: ' + last.time + ' (' + last.trade_id + ') to ' + first.time + ' (' + first.trade_id + ')');
                                               ^

 TypeError: Cannot read property 'time' of undefined
     at Trader.<anonymous> (/app/exchanges/gdax.js:199:47)
     at Request._callback (/app/node_modules/gdax/lib/clients/public.js:45:7)
     at Request.self.callback (/app/node_modules/gdax/node_modules/request/request.js:187:22)
     at emitTwo (events.js:106:13)
     at Request.emit (events.js:194:7)
     at Request.<anonymous> (/app/node_modules/gdax/node_modules/request/request.js:1044:10)
     at emitOne (events.js:96:13)
     at Request.emit (events.js:191:7)
     at IncomingMessage.<anonymous> (/app/node_modules/gdax/node_modules/request/request.js:965:12)
     at emitNone (events.js:91:20)
     at IncomingMessage.emit (events.js:188:7)

config.importer = {
  daterange: {
    // NOTE: these dates are in UTC
    from: "2016-07-01 12:00:00"
  }
}

Another question I have is, do I need to import data before trading? Or do I need to backtest? What is the prefer way? If the second, do I need to set up to heroku a sqlite db?
Thank you

do I need to import data before trading? Or do I need to backtest?

You can trade right away, you don't need any historical data. The idea is that if you have a strategy that requires some history Gekko will keep running until this history is gathered. But I am seeing this is not the behaviour at gdax..

Gekko supports running against a live market and backtesting. You never have to do the last one, but it is recommended that you you test a strategy first before using it with your real money.. Another option is to run against a live market but not use the real trader (but instead use the tradingSimulator, which will act as a paper trader).

do I need to set up to heroku a sqlite db?

Gekko only needs a sqlite database if you want to persist the data. Reasons why you might want to do this:

to backtest
to always have history available you can feed into your strat: if you have a strat that requires a day of history you can stop gekko, change your strat, start gekko again and gekko can pick up a day of data from the database.

But as said before, it appears gdax integration behaves differently from other exchange integrations..

ping @smurfy

What unit/asset combo is used, this would be helpful. I will try to reproduce / fix this.

I'm seeing this same bug with gdax importing ...

It looks like GDAX may be having server issues, the site isn't even loading for me ...

Same issue (v0.5.4):
config.watch = {
  exchange: 'gdax',
  currency: 'EUR',
  asset: 'ETH',
}

config.importer = {
  daterange: {
    from: "2017-01-01 00:00:00"
  }
}

I am having the same issue here with latest stable.
2017-09-27 10:48:50 (DEBUG):    Processing 100 new trades. From 2016-07-21 23:17:15 UTC to 2016-07-22 00:21:09 UTC. (an hour)
2017-09-27 10:48:52 (DEBUG):    Backwards: 2016-07-22T00:21:21.085704Z (71379) to 2016-07-22T01:44:09.928163Z (71478)
2017-09-27 10:48:52 (DEBUG):    Processing 100 new trades. From 2016-07-22 00:21:21 UTC to 2016-07-22 01:44:09 UTC. (an hour)
2017-09-27 10:48:54 (DEBUG):    Backwards: 2016-07-22T01:44:10.141753Z (71479) to 2016-07-22T02:49:19.334655Z (71578)
2017-09-27 10:48:54 (DEBUG):    Processing 100 new trades. From 2016-07-22 01:44:10 UTC to 2016-07-22 02:49:19 UTC. (an hour)
/mnt/aux/linux/home/brian/gekko/exchanges/gdax.js:262
                log.debug('Backwards: ' + last.time + ' (' + last.trade_id + ') to ' + first.time + ' (' + first.trade_id + ')');
                                              ^

TypeError: Cannot read property 'time' of undefined
    at Trader.<anonymous> (/mnt/aux/linux/home/brian/gekko/exchanges/gdax.js:262:47)
    at Request._callback (/mnt/aux/linux/home/brian/gekko/node_modules/gdax/lib/clients/public.js:45:7)
    at Request.self.callback (/mnt/aux/linux/home/brian/gekko/node_modules/gdax/node_modules/request/request.js:187:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (/mnt/aux/linux/home/brian/gekko/node_modules/gdax/node_modules/request/request.js:1044:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (/mnt/aux/linux/home/brian/gekko/node_modules/gdax/node_modules/request/request.js:965:12)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)

This has since been fixed!


Chrome dev tools dark theme

I use the Dark theme on Chrome dev tools by default.
When the plugin loads up, text is in black, and on the dark grey background, it's hard to read, would you be able to detect a dark theme, and change text colour to white/light grey instead?

That is absolutely something we can look into! Thank you for bringing that to our attention.

chrome.devtools.panels.themeName will have the value of dark in dark mode.

thanks @paulirish - never thought i'd see the day where you commented on something i worked on

well you shouldn't have build something awesome then! 😛
srsly though, this is really nice stuff. I'm really into using more visualization to explore an application and its state. ya'll done a very nice job here.

btw.. i dont have a decent size vue app of my own to test this out on... do you have a recommendation? (tried it on the dejavue app itself

@paulirish we have a small working demo on our orginzation repo at https://github.com/MiCottOn/dejademo
otherwise im finishing up a slack clone in vuejs as a larger example with more data. that should be done in the next couple of days.
or you can go nuts and try it on the hacker news vue2 demo found at https://github.com/vuejs/vue-hackernews-2.0 - be warned that the amount of component data can make the visualization a little nuts, but all the data is there

@BCleverly - Thanks for pointing this out! Just uploaded the fix here. The new version should be published in the web store in the next 60 minutes.
@paulirish - Really appreciate the feedback and help. It's awesome to see firsthand how involved you are with the community. Definitely would have had trouble with this fix without your help! Also made the SVG be the full width of the window so hackernews should look better. We'll be refining our visualization to ensure consistent spacing with large applications.

@sschwartz0 all good! it was a random find. I landed on your site, was impressed with the images, wanted higher resolution, came over to github.. was surprised to see only 2 open issues for such a fine looking project, clicked through, saw the devtools ticket and knew i could help at least. :)
Ya'll should put a big animated GIF or video on the homepage. Really helps to illuminate how the tool works. :) Anyhow.. cheers!

@paulirish we are actually in the process of doing just that! should be up tomorrow.
thanks again!

@paulirish We'll have gifs and an instructional video, which people have been asking for. Appreciate the suggestions!

Awesome work, thank you!


Fix memory leak around inlineCache invalidationList

When inlineCaches are created, they are registered in threadContext in an invalidation list and maintained using registeredInlineCacheCount in threadContext. When these caches are removed from invalidation list, we record that number as well using unregisteredInlineCacheCount in threadContext. If the ratio of registeredInlineCacheCount to unregisteredInlineCacheCount is less than 4, we perform compaction of the invalidation list by deleting unregisteredInlineCacheCount nodes from the list that doesn't hold inlineCache and return their memory back to the arena.

Ideally, unregisteredInlineCacheCount should always match no. of inlineCaches that were removed from invalidation list (aka cachesRemoved). However today, cachesRemoved > unregisteredInlineCacheCount most of the time. Because of this, we were not returning cachesRemoved - unregisteredInlineCacheCount nodes of invalidation list back to arena and the memory taken up by these nodes kept piling leading to memory leak. The reason for cachesRemoved > unregisteredInlineCacheCount was because there were couple of places where we were not recording the removal of inlineCaches in unregisteredInlineCacheCount. Also, we didn't update unregisteredInlineCacheCount when we bulk deleted the invalidation list. Fixing these 2 places, the cachesRemoved == unregisteredInlineCacheCount holds true.

registeredInlineCacheCount was updated (reduced that count) when we bulk delete entire invalidation lists. However we never updated (again reduced that count) when we performed compaction of invalidation list. Because of this, registeredInlineCacheCount kept growing and it became harder and harder to meet the condition of compaction. This leads to nodes having invalid inline cache still holding memory causing leak.

Also did minor code cleanup and added asserts.

@pleath, please review.


Support the ESPlayer for playing element stream on TV

Description of Change
Add the ESPlayer
Bugs Fixed
N/A
API Changes
Added: TVESPlayer class
Behavioral Changes
N/A

Thanks for contribution! Two simple questions after a quick glance review.

who is main target for this API? Can 3rd party developers can use ESPlayer? Would great if you can provide sample as well.

is there special reason why don't you add classes into existing name space?

Thanks for contribution! Two simple questions after a quick glance review.
1. who is main target for this API? Can 3rd party developers use ESPlayer? Would great if you can provide sample as well.

2. is there special reason why don't you add classes into existing name space?

Thank you for your question. I had like to reply your question.
About first question, this API will be used only by 2nd party developers unfortunately because APIs of ESPlayer is only supported for 2nd party not yet. But, I hope that 3rd party devloper can use these APIs someday.
And I think that these API should be added into other namespaces because these APIs are more dependent on TV product. But, it is better to support these APIs in Tizen.TV.UIControls.Forms namespace. If the purpose of other APIs in Tizen.TV.UIControls.Forms is providing the operation on TV product.
Thank you.

Thanks for contribution! Two simple questions after a quick glance review.
1. who is main target for this API? Can 3rd party developers use ESPlayer? Would great if you can provide sample as well.

2. is there special reason why don't you add classes into existing name space?

@yourina do you have any samples of using your API?


Incorporate post-processing in makeimage

If the makeimage program could include the post-processing, image generation would be easier, and most importantly, easier to parallellise.

We should reimplement makeimage in python and include the post-processing there.

Should be checked out for use by the students.


[s3] Can't be found if S3 bucket policy exists with Deny *

Steps to reproduce

Create S3 bucket
Set the following policy

{
  "Version": "2012-10-17",
   "Statement": [
      {
         "Effect": "Deny",
         "Principal": "*",
         "Action": "*",
         "Resource": "arn:aws:s3:::YOUR-BUCKET"
      }
   ]
}

Run aws-nuke.

Result: S3 bucket is not in the results...but SQS with a similar policy is
sqs_policy='{\"Version\":\"2012-10-17\",\"Id\":\"Policy1564523767951\",\"Statement\":[{\"Effect\":\"Deny\",\"Principal\":{\"AWS\":\"*\"},\"Action\":\"SQS:*\",\"Resource\":\"*\"}]}'

aws-nuke's output
time="2024-12-10T11:58:51Z" level=error msg="unable to list queue tags" error="AccessDenied: User: arn:aws:sts::AccountID:assumed-role/OrganizationAccountAccessRole/NewAccountRole is not authorized to perform: sqs:listqueuetags on resource: arn:aws:sqs:eu-west-1:AccountID:test-queue with an explicit deny in a resource-based policy\n\tstatus code: 403, request id: aef99db2-c939-57ce-948d-c260e602610c"
...
time="2024-12-10T11:59:05Z" level=error msg="There are resources in failed state, but none are ready for deletion, anymore."
time="2024-12-10T11:59:05Z" level=error msg="AccessDenied: User: arn:aws:sts::AccountID:assumed-role/OrganizationAccountAccessRole/NewAccountRole is not authorized to perform: sqs:deletequeue on resource: arn:aws:sqs:eu-west-1:AccountID:test-queue with an explicit deny in a resource-based policy\n\tstatus code: 403, request id: 7d1fd59b-2434-526f-af05-8a490b7d92d6"
time="2024-12-10T11:59:05Z" level=fatal msg=failed

aws-nuke - v3.35.1 - 5546c46be0bfce90f6ff8f93d3f6707bd9d7e5e6
Do you really want to nuke the account with the ID AccountID and the alias 'ALIAS'?
Waiting 3s before continuing.
eu-west-1 - SQSQueue - https://sqs.eu-west-1.amazonaws.com/AccountID/test-queue - [QueueURL: "https://sqs.eu-west-1.amazonaws.com/AccountID/test-queue"] - would remove
Scan complete: 21 total, 1 nukeable, 20 filtered.
Do you really want to nuke the account with the ID AccountID and the alias 'ALIAS'?
Waiting 3s before continuing.
eu-west-1 - SQSQueue - https://sqs.eu-west-1.amazonaws.com/AccountID/test-queue - [QueueURL: "https://sqs.eu-west-1.amazonaws.com/AccountID/test-queue"] - failed
Removal requested: 0 waiting, 1 failed, 20 skipped, 0 finished
...three more tries

nuke-config
$ grep S3 nuke-config-template.yml
    - S3AccessPoint
    - S3Bucket
    - S3MultipartUpload
    - S3Object

S3 list and delete Bucket can be seen (not denied)
$ aws s3api list-buckets
{
    "Buckets": [
        {
            "Name": "*-alex-testbucket",
            "CreationDate": "2024-12-10T11:38:17+00:00"
        }
    ],
    "Owner": {
        "DisplayName": "....",
        "ID": "...."
    },
    "Prefix": null
}
$ aws s3 ls
2024-12-10 13:38:17 *-alex-testbucket

$ aws s3 rb s3://*-alex-testbucket
remove_bucket failed: s3://*-alex-testbucket An error occurred (AccessDenied) when calling the DeleteBucket operation: User: arn:aws:sts::AccountID:assumed-role/OrganizationAccountAccessRole/NewAccountRole is not authorized to perform: s3:DeleteBucket on resource: "arn:aws:s3:::*-alex-testbucket" with an explicit deny in a resource-based policy

If I'm understanding you correctly you are saying that if a bucket policy is blocking access, the resulting bucket doesn't show up in aws nuke.
It looks like this is due to how the resource is written, S3Bucket skips if an error is encountered. SQS still adds even if an error is encountered.
Not sure which is the preferred behavior.

AWS CLI lists the bucket with "deny all" policy. I believe aws-nuke should add it, otherwise we won't know about it.
Because of that, currently I assume root without checking the aws-nuke output, list and reset S3 bucket policy and then re-run nuke.
Now that I think about it, I should assume root before running aws-nuke😂

Yeah that's fair. The issue is this https://github.com/ekristen/aws-nuke/blob/main/resources/s3-bucket.go#L118 -- I'll see about patching it later tonight.

:tada: This issue has been resolved in version 3.38.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


TiFlash may be OOM when scanning many partition tables under stream model

Enhancement
https://github.com/pingcap/tiflash/pull/4988 was intended to improve the performance of the partition table. However, it also introduces an issue that many read pools of different partition tables will be running simultaneously, which may lead to TiFlash OOM.

/type regression

/found customer


feat(deps): add helmet

:tada: This PR is included in version 3.0.0-alpha.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Feature suggestion. Navigation with arrow keys and or Enter upon edit.

I am not sure how easy that would be to implement, however, it would make interaction with the table faster.
Instead of having to click on each column to edit, after clicking enter upon edit, the next row could be selected.
And/or row selection with the keyboard would be nice. E.g. pressing shift and arrow up/down.
There are probably more pressing issues than this though.

Try the keybindings options from tabulator, I'm not sure if they're in react-tabulator
http://tabulator.info/docs/4.8/keybindings

Try the keybindings options from tabulator, I'm not sure if they're in react-tabulator
http://tabulator.info/docs/4.8/keybindings


Fix edge compute issues with cbor-x dynamic functions

While adding webauthn support to a Next.js app, I kept getting the following error during build:
<EMAIL_ADDRESS>Dynamic Code Evaluation (e. g. 'eval', 'new Function', 'WebAssembly.compile') not allowed in Edge Runtime
Learn More: https://nextjs.org/docs/messages/edge-dynamic-code-evaluation

Import trace for requested module:
<EMAIL_ADDRESS><EMAIL_ADDRESS>../../../node_modules/.pnpm/@simplewebauthn+server<EMAIL_ADDRESS>../../../node_modules/.pnpm/@simplewebauthn+server<EMAIL_ADDRESS>../../../node_modules/.pnpm/@simplewebauthn+server<EMAIL_ADDRESS>../../../node_modules/.pnpm/@simplewebauthn+server<EMAIL_ADDRESS>
Turns out cbor-x declares some dynamic functions that are not compatible with Vercel's edge compute and Cloudflare workers (info).
Thankfully, fixing it is fairly straighforward. cbor-x exports a version of itself without these eval statements via cbor-x/index-no-eval
I tested the change locally by changing the cbor import line in my node_modules to be
export * as cborx from 'cbor-x/index-no-eval';
and it fixed the issue.
The Deno import can continue pointing to the regular export since it supports eval.
PS: a few months ago I merge a PR here for something related - lack of support for streaming APIs in serverless environments. That has since changed, so importing from cbor-x/index instead of cbor-x/encode isn't an issue anymore.

@Maronato This fix is now live in<EMAIL_ADDRESS>


React Bootstrap Site - Add Unit Testing

Add unit test cases to verify components code blocks and a script to test, refer to modus styleguide npm run test

Need to do it incremental


Updated Readme with my name

:warning: This is a Pull Request Template :warning:

Checkout all the things you've done by placing an x within the square braces below.

Proposed Changes

[x] I've read the CODE OF CONDUCT and abide to it.
[x] I've read the CONTRIBUTING.md
[x] I've forked the repository.
[] I've created a branch and made my changes in it.
[x] I understand opening a PULL REQUEST doesn't mean it will be merged for sure.

Should I have created a new branch in my forked repo

Should I have created a new branch in my forked repo?

@sedmo - Nope, you're good to go, thank you!


Use Mdanter\Ecc\EcMath in HierarchicalKey

Since the EcMath class lets you carry implement (some) equivalent operations for integers (private keys) and points (public keys) we can probably replace this https://github.com/afk11/bitcoin/blob/master/src/Key/HierarchicalKey.php#L547-573 with something like this:
public function getKeyFromOffset($offset) {
    $math = $this->math;
    $generator = $this->generator;
    $offsetDec = $offset->serialize('int');

    $input = $this->isPrivateKey() ? $this->getPrivateKey()->getSecretMultiplier() ? $this->getPublicKey->getPoint();
    $ecmath = new \Mdanter\Ecc\EcMath($input, $math, $generator);
    $result = $ecmath->add($offsetDec)->mod($generator->getOrder())->result();

    $result = $this->isPrivateKey()
        ? new PrivateKey($math, $generator, str_pad($math->decHex($result), 64, '0', STR_PAD_LEFT)
        : new PublicKey($result, true);
    return $result;
}

This has been fixed, with KeyFactory::fromKeyAndOffset() - a general function to tweak a private key or public key by an offset.


Current recommended way to get weight avg MMLU score

I know there are many discussions and evolutions around mmlu score in this repo, but it is unclear to me what's the latest recommended way to get a single score for weighted avg mmlu.
In the past I used to leverage this PR in the big-refactor branch. But since that branch is merged into main I have switched to main and latest main does not have this avg score in the reporting(current vs. old).
I am wondering what's the latest way of doing this.

Thanks. Recently fixed by #1390

@lintangsutawika thanks for the quick action.  I can confirm it is working now.


Feature: Dark Mode

Created a Night Mode Theme for the application. I didn't see any mockups for a dark mode so I just used my best judgment throughout the app.
I will create a video capture showing the theme throughout the app.

Fixed merge conflicts.


[Tearsheet]: Tab key navigaton issue with Datepicker inside tearsheet

Package
Carbon for IBM Products
Description
Expected behavior : After selecting the start date and pressing Tab key, the focus would move directly to the end date field.
Instead, inside the tearsheet after selecting the start date and pressing the Tab key, the focus moves to the close tearsheet button/ outside of tearsheet and then returns to the start and end date fields. Outside the tearsheet, the focus correctly moves to the end date field as expected
Component(s) impacted
https://stackblitz.com/edit/github-pjo2fh-rm6wjm?file=src%2FApp.jsx,package.json
https://github.com/user-attachments/assets/31d0c9c5-7be1-4deb-a780-3f9094c58601
Browser
Chrome, Safari, Firefox, Microsoft Edge
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
2.47.0
Suggested Severity
Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.
Product/offering
Accessible Workplace Connection
CodeSandbox or Stackblitz example
https://stackblitz.com/edit/github-pjo2fh-rm6wjm?file=src%2FApp.jsx,package.json
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

Hi Amal, Could you please confirm on the fix status.

@neambati @Geethkadali Our review of your implementation has revealed that passing the value [undefined, undefined] or ['', ''] to the value property of the DatePicker component results in unexpected behaviour.  This appears to be an issue with the DatePicker component itself, and I will raise an issue in the Carbon repository.
However, please see a workaround for a quick fix: https://stackblitz.com/edit/github-pjo2fh-kxgqiv?file=src%2FApp.jsx
// No need to pass an empty string ('')
const [startValue, setStartValue] = useState();
const [endValue, setEndValue] = useState();

...
<DatePicker
  value={
    startValue && endValue ? [startValue, endValue] : undefined
  }
>
...

https://github.com/user-attachments/assets/b3e374f8-dd54-4b46-90c6-185d17437ba4

@elycheea Raised an issue related to DatePicker in the Carbon: https://github.com/carbon-design-system/carbon/issues/17310

@amal-k-joy, on press Tab key after selection of only start date the focus moves to close tearsheet and also there is some glitch in firefox on Tab press from close tearsheet ,the whole tearsheet content is getting focused instead of the primary selector
https://github.com/user-attachments/assets/ba094a7f-a8e6-46b8-806f-2f7a769542e5

@Geethkadali Firefox focuses on scrollable div, this issue is addressed in this PR - it'll be available in the Sep 25 release.

Thank you


Update Jira Integration

Update Jira-Integration-API according to the docs of Gitlab 17.2
https://docs.gitlab.com/ee/api/integrations.html#set-up-jira

Thanks for merging it in @svanharmelen . Could you also build a new version so I can use it in the Gitlab-Terraform-Provider?

Released v0.107.0


Create 0138-Copy-List-With-Random-Pointer.rb

File(s) Modified: 0138-Copy-List-With-Random-Pointer.rb
Language(s) Used: ruby
Submission URL: _https://leetcode.com/submissions/detail/827413247/_

Thanks for contributing!


Allow Extensions to easily provide Machine Config UI

This is a placeholder issue to be fleshed out.
Is your feature request related to a problem? Please describe.

RKE2 provisioning requires config for machines which is per provider
We have machine-config's for this for a range of providers at the moment
We need to make it easy for Extensions to supply their own machine-config components

Describe the solution you'd like

This should easily be achievable with the current pattern to support generic handling of create/edit, detail, etc components

Describe alternatives you've considered

The alternative is for third parties to provide (and support) code in the rancher/dashboard repo

Additional context

This can be used by Elemental
We have had requests from a few external interested parties for this feature

I'm not aware of a reason why this wouldn't work for Elemental, but a while ago I researched why we don't provide a separate machine config UI for RKE2/K3s. As I remember based on talking to Team 2 it sounds like the biggest reason was that if you edit a machine config, the whole cluster could reprovision, which could lead to unexpected downtime of services. The other reason is that due to the way that CAPI resources depend on each other, if you deleted a cluster using a machine config, the machine config would be deleted along with it, even if it was in use by something else. So that's why we don't already have separate K3s/RKE2 machine config UIs. Basically the equivalent of node templates for RKE2 is years away.

This is for the existing machine config components in /shell/machine-config that show when creating clusters, rather than a separate edit machine config experience

This will be resolved as part of https://github.com/rancher/dashboard/pull/7207


TXMNT-366 Upgrade to Play 2.5

After discussing this with my team, we think we have a preference for not having this update on master yet, as we will have to provide updates and fixes for the play 2.3 version for quite a long time to come. We could create a "play25" branch and you'd point this PR there instead?


Cannot run anything from Neo4j.Sips

Hi,
Am getting an issue when running Neo4j.Sips.
My config.exs file contains ...
config :neo4j_sips, Neo4j,
  url: "http://localhost:7474",
  pool_size: 5,
  max_overflow: 2,
  timeout: 30

iex(2)> Neo4j.Sips.config
** (MatchError) no match of right hand side value: []
    (con_cache) lib/con_cache/registry.ex:18: ConCache.Registry.get/1
    (con_cache) lib/con_cache.ex:143: ConCache.get/2
iex(2)> Neo4j.Sips.conn
** (MatchError) no match of right hand side value: []
    (con_cache) lib/con_cache/registry.ex:18: ConCache.Registry.get/1
    (con_cache) lib/con_cache.ex:143: ConCache.get/2
iex(2)>

Any help with this would be greatly appreciated.
Thnx.

1000 apologies ... problem solved.
Had not read the manual properly :(

Glad you figured it out :)

@neildsouza any chance you could tell us what the issue was? I have followed the manual but I am lost. It looks simple but I can't understand what I am doing wrong.

:) I believe you didn't start the app?! You must use Neo4j.Sips.start_link/1 first, before getting any Connections. And if that's the case, then the cache was not started. Here, my test Neo4j instance runs on 7373:
iex(1)> Neo4j.Sips.start_link(url: "http://localhost:7373")
{:ok, #PID<0.195.0>}
iex(2)> Neo4j.Sips.conn
%Neo4j.Sips.Connection{commit_url: "", options: nil,
 server: %Neo4j.Sips.Server{data: %{batch: "http://localhost:7373/db/data/batch",
    constraints: "http://localhost:7373/db/data/schema/constraint",
    cypher: "http://localhost:7373/db/data/cypher", extensions: %{},
    extensions_info: "http://localhost:7373/db/data/ext",....

HTH


Julia?

Is your question why I did not include Julia in the comparison? If so if was mostly just due to time constraints and my familiarity with the other languages.

Oh, okay.


Convex Decomposition

Is this something you'd be open to? I'm going to need it in my game, assuming my algorithm for generating sprite collision shapes works out.
There's maybe a few controvercial changes:

I had to add 2d and 3d features to the heron_core because the dimensions of an array used to define the convex decomposition is different in different dimensions
I had to add rapier2d and rapier3d as dependencies to heron_core because I needed access to a struct for the parameters that was in those crates
I currently copy-and-paste a struct and an enum from parry because the parry struct doesn't implement Debug and Clone. ( I opened a PR: https://github.com/dimforge/parry/pull/40  )

Depends on #119 ( sort of, I could rebase it but it woudl be easier not to ).

Thanks for the suggestion and contribution.
For this one I'll have to think about it. I'll do my best to move it forward by either merging it or propose an alternative sollution. But no promises.
To make easier for me, do you mind sharing more details about the use-case?

I had to add rapier2d and rapier3d as dependencies to heron_core because I needed access to a struct for the parameters that was in those crates

That would be against the idea of separating heron_core (API only, agnostic of the physics engine) and heron_rapier (Implementation using rapier).
That being said, I realized that my split of the crates was more caused by habbits comming from other programming languages. And I eventually started to think that in rust the separations should be:

different domain contexts (or subcontexts): Separate crates (e.g. collisions vs physics)
different technology layers: same crate, different cargo features (e.g. rapier vs another physics engine)

So, I'd be eventually open to add rapier to heron_core. But, if that happens it should be an optional dependency.

That would be against the idea of separating heron_core (API only, agnostic of the physics engine) and heron_rapier (Implementation using rapier).

Gotcha. I hadn't fully thought out the implications there, but I felt like there was some intention like that. I haven't thought deeply about it yet, but the way you have it doesn't seem like a bad design.

To make easier for me, do you mind sharing more details about the use-case?

In my game I have a non-convex sprite that I need to generate a collision shape from. I'm still working on an algorithm to translate the sprite alpha channel to a polyline that I can pass to rapier's convex decomposition algorithm. The plan so far is to take sprite → polyline around sprite's alpha → collection of convex hulls representing the sprite's collision shape.
That said, I'm realizing that I can use rapier to generate the convex collisions and then use those points to create a set of normal heron convex hull shapes, which heron already has. That wouldn't require a convex decomposition shape for heron, then.
Would you be open to a heron::CollisionShape::Compound(Vec<CollisionShape>) that could be used to create compound shapes made up of multiples? I think that would solve my use-case.

Would you be open to a heron::CollisionShape::Compound(Vec<(Transform, CollisionShape)>) that could be used to make a single collision shape entity that was made out of many convex hulls, or other shapes for that matter? I think that would solve my use-case.

Yes, a compound shape sounds good to me. You can go with that.
I would even be up to add in heron_rapier a utility function to create a CollisionShape::Compound by using rapier's convex decomposition algorithm.

In my game I have a non-convex sprite that I need to generate a collision shape from. I'm still working on an algorithm to translate the sprite alpha channel to a polyline that I can pass to rapier's convex decomposition algorithm. The plan so far is to take sprite → polyline around sprite's alpha → collection of convex hulls representing the sprite's collision shape.

Just out of curiosity, (if you can divulgate such information) why do you need such precision for the collision shape to match the sprite? Often approximating the sprite with boxes, sphere or capsule is enough, and much more performant. And it's often even  desirable to "cheat" and intentionally give the collision shape a smaller (or bigger) size than the sprite so that the game feals better to the player.

Yes, a compound shape sounds good to me. You can go with that.

Cool. I've got #122 working for that, other than debug rendering.

I would even be open to add in heron_rapier a utility function to create a CollisionShape::Compound by using rapier's convex decomposition algorithm.

OK, cool I'll probably do that too then.

Just out of curiosity, (if you can divulgate such information) why do you need such precision for the collision shape to match the sprite? Often approximating the sprite with boxes, sphere or capsule is enough, and much more performant. And it's often even desirable to "cheat" and intentionally give the collision shape a smaller (or bigger) size than the sprite so that the game feals better to the player.

It's actually kind of an ease-of-use thing. I'm trying to build a simple 2D game engine/kit that lets you easily edit maps using LDtk, but there's the question of how to handle map collisions. Currently the idea is that you have a separate map layer that is used just for collisions. In this screenshot, for instance, the green overlay is the collision layer:

This is intuitive and easy to manage even for non-programmers. The only alternative would be to add collision shape metadata manually using pixel coordinates to specify polygons in YAML format, which would be highly unintuitive. I would feel the need to create a custom collision editor. ( It's worth noting that the Tiled map editor did have a collision editor, which would have been a great option, but LDtk is a lot easier to use in other ways. )
What I want to do is read the collision layer, and then generate a collision mesh from that collision layer. Player collisions would be generated in a similar way, with separate sprites for their collision shape and for their animations.

Honestly its the first time I'm getting into game development and maybe there are better ways to approach this, but I think it's worth a try and I'll move on to something else if it doesn't work.

Ah, thanks for the explanation I get it now.
I use LDtk too, and what I do is I spawn a collision shape per tile (only on tiles where it make sense ofc). Which is simple and intuitive enough for me. But I aggree it is not for everyone, and not even for every game (as it also comes at a performance cost).

I use LDtk too, and what I do is I spawn a collision shape per tile (usually writing things like collision or collision-up in the tile data). Which is simple and intuitive enough for me.

You know using preset flags like collision, collision-up, etc. is actually a great idea that I didn't think of. Much simpler than setting manual coordinates and probably works for the large majority of tiles with no problem. I'll probably do that if my current strategy doesn't work. :) :+1:


Steam Client API API improvements

Codecov Report

Merging #25 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #25      +/-   ##
==========================================
+ Coverage   99.84%   99.85%   +<.01%
==========================================
  Files          55       55
  Lines         648      669      +21
  Branches       57       59       +2
==========================================
+ Hits          647      668      +21
  Misses          1        1

Impacted Files
Coverage Δ

...aderboards/Steam/ClientApi/SteamClientApiClient.cs
100% <100%> (ø)
:arrow_up:

...i/SteamClientApiTransientErrorDetectionStrategy.cs
100% <100%> (ø)
:arrow_up:

....NecroDancer.Leaderboards/LeaderboardsResources.cs
100% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Is EntityFramework.Extended Support MySql And Oracle?

I switch my database from SQL Server to MySql,and it can not work with Update method……

+1
As discussed in #51 the implementation of EF.E is tailored to SQL Server dialect. Multiple PRs have been made but as I have highlighted there are two missing parts: choice between SqlServerBatchRunner and MySqlBatchRunner according to the ObjectContext.Database.Connection instance.
I pray @pwelter34 to resume work on this project :cry:

MySqlBatchRunner merged.

support oracle?

Not yet Oracle. Somebody needs to implement the proper providers like for MysqlBatchRunner


Can't move windows using KDE with nvidiaLegacy390 on 19.03

Issue description
I'm using nvidiaLegacy390 because my video card isn't supported by the current NVIDIA driver, and using KDE I can't seem to move my windows.
Steps to reproduce

Use nvidiaLegacy390.
Use KDE.

Technical details
(Can't open a browser on the machine in question)

I moved ~/.kde out of the way and that didn't seem to change anything.

Hmm, I removed all NVIDIA-specific configuration from my configuration.nix and I'm still experiencing the same issue with resizing, could it be something else?

Hmm, I removed all NVIDIA-specific configuration from my configuration.nix and I'm still experiencing the same issue with resizing, could it be something else?

I don't know what it is with plasma and nixos sometimes, but maybe try moving out like all of your dotfiles?
(.cache .local etc.)

I tried again after removing .cache and . local, same results.

I think this was something in .config, I deleted that directory and things seem to work again.


Rename get_coordinate_dimension (dimensions -> dimension)

I just noticed a small inconsistency with the GEOS API. In GEOS it is GEOSGeom_getCoordinateDimension (without trailing "s"), while in pygeos we have get_coordinate_dimensions (plural).
Since our names are mostly based on GEOS' names, I suppose this inconsistency was an oversight (unless @caspervdw there is a reason for it?)
BTW, in PostGIS they abbreviate this to ST_CoordDim (and have an additional alias ST_NDims), but I think writing it in full is fine for us.

Yes, singular is indeed better than the plural version. This is OK to merge, could you take note of this in the changelog?


add ability to specify custom error message for 'key?'

I've updated the Validation::Messages::Abstract class lookup_path to allow the ability to specify a custom error message for the key? predicate.
I've added the spec to error_compiler_spec.rb but am uncertain if that is the right spec that conveys the desired behavior.
This should address issue #116.
Any additional feedback is welcomed.

oh noez I missed this one! could you rebase on top of master so that it merges cleanly?

@solnic I've gone ahead and rebased - this should now merge cleanly.

Thank you very much :)


Gantry carriage crash + duplication bug

Describe the Bug
I made a gantry contraption: a row of harvesters that move along a length of farmland, with a chest attached to it. When it reaches the end of the gantry, a redstone contact activates a redstone link, flipping the switch and reversing direction with a gearshift.
As it went down the gantry, it harvested the wheat as normal and I collected seeds from the chest while in motion. Then, when it reached the end, it made contact with the redstone contact and the game instantly crashed. Upon reloading, all the blocks that made up the gantry were both intact and a copy was dropped on the ground, duplicating the harvesters, cantry carriage, chests, and structural blocks.
Further testing:
Taking an item out of a chest attached to a moving contraption causes it to crash the game and duplicate the blocks of the contraption when the game is reloaded.
The gantry carriage can stop because it reaches the end of the gantry, or because a redstone contact reverses the direction.
Reproduction Steps

Create a gantry system with a chest. Put something in the chest.
Start the gantry moving.
Take them out of the chest while the contraption is moving.
When it reaches the end of the gantry, the game will crash.
Reload and there will be two copies of the gantry system overlaid on each other. When they reach the end of the gantry, one will break and give you a copy of all the gantry blocks.

Expected Result
The game does not crash and the gantry stops as normal.
Screenshots and Videos

This screenshot shows a mechanism that has tested to duplicate the blocks when the carriage reaches the end of the gantry.
Crash Report or Log
No response
Operating System
Windows 11
Mod Version
0.5.1d
Minecraft Version
1.20.1
Other Mods
Appleskin 2.5.1
Architectury 9.1.12
Borderless mining 1.1.8+
Continuity 3.0.0 beta 4+
Create addition 1.0.0b
Create structures 0.1.1
Create sodium fix 0.5.1-d
Fabric API 0.91.0+
indium 1.0.27+
Lamb Dynamic Lights 2.3.2+
Memoryleakfix Fabric 1.17+
RoughlyEnoughItems 12.0.684
Sodium 0.5.3
Starlight 1.1.2+
Xaeros Minimap 23.9.3
Additional Context
No response

I have experienced this issue as well

I've been running into this on my server. I also recreated it in singleplayer using your instructions. Here is my crash report. I found that you have to take an entire stack out. I took just a single item of a stack out and it didn't crash. I had only Create and Fabric API installed.
This might be related to this issue on the Forge repo. They are using Fabric despite it being on over there.

Thanks for finding out that new info about needing to take a stack out!

duplicate of #1080


Suggestion to use relative includes for internally included hpp files...

...at the moment, the files refer to things like <rapidfuzz/detail...> etc when including.
If it instead picked up the headers relative to the location (no <> angled brackets) then it becomes really easy to drop the library into an existing project as a header-only library.
Nice library, by the way :)

I will look into this, so this does not break anything.
For your use case I actually generate a single header file you can directly drop into an existing project: https://github.com/maxbachmann/rapidfuzz-cpp/blob/master/extras/rapidfuzz_amalgamated.hpp

Oh that's great, I hadn't seen that. Thank you very much!

No problem. It is not documented anywhere yet :sweat_smile:


Question about (excluding ATA device users)

Question regarding steps 5 & 6 both of which list "excluding ATA device users".
The article, from my understanding, is specifically about connecting an Analog Telephony Adapter (ATA) to Teams Direct Route.  Why is the article excluding the type of user/account intended to be used?  Is "ATA device user" a special class/license of user to be used with the ATA?

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

ID: ea0bc170-d9d9-c17a-adc8-d37cb5fe3df5
Version Independent ID: 3c761043-bea5-0cfb-d85e-13671ed0fe9a
Content: Direct Routing - Connecting analog devices - Microsoft Teams
Content Source: Teams/direct-routing-analog-devices.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Tapping the screen causes the screen to be highlighted in iOS

Tapping and holding down the finger for around 2 seconds causes the screen to be highlighted in iOS on multiple devices. We have used multiple CSS tricks to resolve the issue but to no avail. The issue is effecting both of our games
https://www.blockletegames.com/
https://rareboards.secondlegion.com/
particularly we discovered the bug while testing the darts game, since in the mechanic you have to tap and hold the "Throw dart" button so the power needle goes up and you release it to throw the dart. The highlighting make the game unplayable.
We also tried to reproduce in a base Starter Kit: Model Viewer project and also reproduced it here:
https://drive.google.com/file/d/1pHfDIioJZOu3sxOPDeDKkEwHgMc82zDO/view
This is on iphone X with iOS version 14.2
The weird thing about the bug is that only if you tap and hold the left side of the screen then the bug occurs, while on the right it doesn't.
This is what happens,
Right side give haptic feedback like it wants to highlight, but no highlighting occurs.
Left side gives haptic feedback AND highlights.
When the screen gets highlighted, there is no way to un-highlight it (other then reloading the page)
The bug has occured on the following devices and browsers;
iphone X 14.2 Chrome and Safari
iphone 11 14.2 Safari
Also we are not not sure if it happens on older iOS versions. The bug does not happens on a android device.
Steps to reproduce:

Run chrome/safari on a iphone having 14.2
Run https://playcanv.as/p/nJ0wkUD4/  (Project: https://playcanvas.com/editor/scene/1055110)
Tap and hold your finger on the left side of the screen for around 2-3 seconds.

I can confirm this issue. The CSS rule I've found works in this case (tested on an iPhone XR and on an iPad 2020 under iOS 14.2) is the following:
document.body.style['-webkit-user-select'] = 'none';

We tried these CSS rules to no avail:
user-select: none;
-webkit-touch-callout:none;                /* prevent callout to copy image, etc when tap to hold /
-webkit-text-size-adjust:none;             / prevent webkit from resizing text to fit /
-webkit-tap-highlight-color:rgba(0,0,0,0); / prevent tap highlight color / shadow /
-webkit-user-select:none;                  / prevent copy paste, to allow, change 'none' to 'text' */
-moz-user-select: none;
@leonidaspir  We applied the rules the iFrame element we are running the game in.  Where did you apply it?

On the body element of the iframed webiste. Basically I've been doing this in a regular Playcanvas script:
// initialize code called once per entity PlayerController.prototype.initialize = function() {     // CSS touch fix for iOS     document.body.style['-webkit-user-select'] = 'none'; };
Rule user-select didn't work for some reason and had to target specifically the -webkit-user-select version.

Thanks @leonidaspir adding that rule inside a pc script resolved the issue!

Thanks, that works!!  And thanks for the quick response!

As an alternative to the above, you can add the following in a script:
(function() {
var style = document.createElement('style');
document.head.appendChild(style);
style.innerHTML =
"canvas{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0;-webkit-tap-highlight-color:rgba(255,255,255,0)}" +
"body{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0}";
})();

And change the asset loading type to be 'Before Engine' which will mean it be one of first things that is loaded and ran:


This is not compatible with python 3.9.2?

I downloaded the latest version since the version i had(3.7.3) did not work well when i ran poetry install. It threw this error at me:
poetry install
Installing dependencies from lock file
Package operations: 30 installs, 0 updates, 0 removals
• Installing scipy (1.5.3)
EnvCommandError
Command C:\Users\HP\Anaconda3\envs\py39\Scripts\pip.exe install --no-deps file:///C:/Users/HP/AppData/Local/pypoetry/Cache/artifacts/1e/6f/da/dab4f4dc31b4da29c922bdb9bdbda8711018deccaa4297665d1fbd4fc7/scipy-1.5.3.tar.gz errored with the following return code 1, and output:
Processing c:\users\hp\appdata\local\pypoetry\cache\artifacts\1e\6f\da\dab4f4dc31b4da29c922bdb9bdbda8711018deccaa4297665d1fbd4fc7\scipy-1.5.3.tar.gz
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Users\HP\Anaconda3\envs\py39\python.exe' 'C:\Users\HP\Anaconda3\envs\py39\lib\site-packages\pip_vendor\pep517_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\HP\AppData\Local\Temp\tmpav1eh1tj'
cwd: C:\Users\HP\AppData\Local\Temp\pip-req-build-m_nrqfmo
Complete output (219 lines):
setup.py:460: UserWarning: Unrecognized setuptools command ('dist_info --egg-base C:\Users\HP\AppData\Local\Temp\pip-modern-metadata-oskiom27'), proceeding with generating Cython sources and expanding templates
warnings.warn("Unrecognized setuptools command ('{}'), proceeding with "
Running from SciPy source directory.
lapack_opt_info:
lapack_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries mkl_rt not found in ['C:\Users\HP\Anaconda3\envs\py39\lib', 'C:\', 'C:\Users\HP\Anaconda3\envs\py39\libs', 'C:\Users\HP\Anaconda3\Library\lib']
NOT AVAILABLE
  openblas_lapack_info:
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries openblas not found in ['C:\\Users\\HP\\Anaconda3\\envs\\py39\\lib', 'C:\\', 'C:\\Users\\HP\\Anaconda3\\envs\\py39\\libs', 'C:\\Users\\HP\\Anaconda3\\Library\\lib']
  get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
  customize GnuFCompiler
  Could not locate executable g77
  Could not locate executable f77
  customize IntelVisualFCompiler
  Could not locate executable ifort
  Could not locate executable ifl
  customize AbsoftFCompiler
  Could not locate executable f90
  customize CompaqVisualFCompiler
  Could not locate executable DF
  customize IntelItaniumVisualFCompiler
  Could not locate executable efl
  customize Gnu95FCompiler
  Could not locate executable gfortran
  Could not locate executable f95
  customize G95FCompiler
  Could not locate executable g95
  customize IntelEM64VisualFCompiler
  customize IntelEM64TFCompiler
  Could not locate executable efort
  Could not locate executable efc
  customize PGroupFlangCompiler
  Could not locate executable flang
  don't know how to compile Fortran code on platform 'nt'
    NOT AVAILABLE

  openblas_clapack_info:
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries openblas,lapack not found in ['C:\\Users\\HP\\Anaconda3\\envs\\py39\\lib', 'C:\\', 'C:\\Users\\HP\\Anaconda3\\envs\\py39\\libs', 'C:\\Users\\HP\\Anaconda3\\Library\\lib']
    NOT AVAILABLE

  flame_info:
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries flame not found in ['C:\\Users\\HP\\Anaconda3\\envs\\py39\\lib', 'C:\\', 'C:\\Users\\HP\\Anaconda3\\envs\\py39\\libs', 'C:\\Users\\HP\\Anaconda3\\Library\\lib']
    NOT AVAILABLE

  atlas_3_10_threads_info:
  Setting PTATLAS=ATLAS
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack_atlas not found in C:\Users\HP\Anaconda3\envs\py39\lib
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries tatlas,tatlas not found in C:\Users\HP\Anaconda3\envs\py39\lib
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack_atlas not found in C:\
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries tatlas,tatlas not found in C:\
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack_atlas not found in C:\Users\HP\Anaconda3\envs\py39\libs
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries tatlas,tatlas not found in C:\Users\HP\Anaconda3\envs\py39\libs
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack_atlas not found in C:\Users\HP\Anaconda3\Library\lib
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries tatlas,tatlas not found in C:\Users\HP\Anaconda3\Library\lib
  <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
    NOT AVAILABLE

  atlas_3_10_info:
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack_atlas not found in C:\Users\HP\Anaconda3\envs\py39\lib
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries satlas,satlas not found in C:\Users\HP\Anaconda3\envs\py39\lib
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack_atlas not found in C:\
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries satlas,satlas not found in C:\
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack_atlas not found in C:\Users\HP\Anaconda3\envs\py39\libs
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries satlas,satlas not found in C:\Users\HP\Anaconda3\envs\py39\libs
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack_atlas not found in C:\Users\HP\Anaconda3\Library\lib
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries satlas,satlas not found in C:\Users\HP\Anaconda3\Library\lib
  <class 'numpy.distutils.system_info.atlas_3_10_info'>
    NOT AVAILABLE

  atlas_threads_info:
  Setting PTATLAS=ATLAS
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack_atlas not found in C:\Users\HP\Anaconda3\envs\py39\lib
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries ptf77blas,ptcblas,atlas not found in C:\Users\HP\Anaconda3\envs\py39\lib
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack_atlas not found in C:\
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries ptf77blas,ptcblas,atlas not found in C:\
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack_atlas not found in C:\Users\HP\Anaconda3\envs\py39\libs
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries ptf77blas,ptcblas,atlas not found in C:\Users\HP\Anaconda3\envs\py39\libs
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack_atlas not found in C:\Users\HP\Anaconda3\Library\lib
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries ptf77blas,ptcblas,atlas not found in C:\Users\HP\Anaconda3\Library\lib
  <class 'numpy.distutils.system_info.atlas_threads_info'>
    NOT AVAILABLE

  atlas_info:
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack_atlas not found in C:\Users\HP\Anaconda3\envs\py39\lib
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries f77blas,cblas,atlas not found in C:\Users\HP\Anaconda3\envs\py39\lib
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack_atlas not found in C:\
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries f77blas,cblas,atlas not found in C:\
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack_atlas not found in C:\Users\HP\Anaconda3\envs\py39\libs
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries f77blas,cblas,atlas not found in C:\Users\HP\Anaconda3\envs\py39\libs
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack_atlas not found in C:\Users\HP\Anaconda3\Library\lib
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries f77blas,cblas,atlas not found in C:\Users\HP\Anaconda3\Library\lib
  <class 'numpy.distutils.system_info.atlas_info'>
    NOT AVAILABLE

  accelerate_info:
    NOT AVAILABLE

  lapack_info:
  No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  customize MSVCCompiler
    libraries lapack not found in ['C:\\Users\\HP\\Anaconda3\\envs\\py39\\lib', 'C:\\', 'C:\\Users\\HP\\Anaconda3\\envs\\py39\\libs', 'C:\\Users\\HP\\Anaconda3\\Library\\lib']
    NOT AVAILABLE

  C:\Users\HP\AppData\Local\Temp\pip-build-env-cpu8laxv\overlay\Lib\site-packages\numpy\distutils\system_info.py:1712: UserWarning:
      Lapack (http://www.netlib.org/lapack/) libraries not found.
      Directories to search for the libraries can be specified in the
      numpy/distutils/site.cfg file (section [lapack]) or by setting
      the LAPACK environment variable.
    if getattr(self, '_calc_info_{}'.format(lapack))():
  lapack_src_info:
    NOT AVAILABLE

  C:\Users\HP\AppData\Local\Temp\pip-build-env-cpu8laxv\overlay\Lib\site-packages\numpy\distutils\system_info.py:1712: UserWarning:
      Lapack (http://www.netlib.org/lapack/) sources not found.
      Directories to search for the sources can be specified in the
      numpy/distutils/site.cfg file (section [lapack_src]) or by setting
      the LAPACK_SRC environment variable.
    if getattr(self, '_calc_info_{}'.format(lapack))():
    NOT AVAILABLE

  Traceback (most recent call last):
    File "C:\Users\HP\Anaconda3\envs\py39\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 280, in <module>
      main()
    File "C:\Users\HP\Anaconda3\envs\py39\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 263, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "C:\Users\HP\Anaconda3\envs\py39\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 133, in prepare_metadata_for_build_wheel
      return hook(metadata_directory, config_settings)
    File "C:\Users\HP\AppData\Local\Temp\pip-build-env-cpu8laxv\overlay\Lib\site-packages\setuptools\build_meta.py", line 161, in prepare_metadata_for_build_wheel
      self.run_setup()
    File "C:\Users\HP\AppData\Local\Temp\pip-build-env-cpu8laxv\overlay\Lib\site-packages\setuptools\build_meta.py", line 253, in run_setup
      super(_BuildMetaLegacyBackend,
    File "C:\Users\HP\AppData\Local\Temp\pip-build-env-cpu8laxv\overlay\Lib\site-packages\setuptools\build_meta.py", line 145, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 583, in <module>
      setup_package()
    File "setup.py", line 579, in setup_package
      setup(**metadata)
    File "C:\Users\HP\AppData\Local\Temp\pip-build-env-cpu8laxv\overlay\Lib\site-packages\numpy\distutils\core.py", line 137, in setup
      config = configuration()
    File "setup.py", line 477, in configuration
      raise NotFoundError(msg)
  numpy.distutils.system_info.NotFoundError: No lapack/blas resources found.
  ----------------------------------------

WARNING: Discarding file:///C:/Users/HP/AppData/Local/pypoetry/Cache/artifacts/1e/6f/da/dab4f4dc31b4da29c922bdb9bdbda8711018deccaa4297665d1fbd4fc7/scipy-1.5.3.tar.gz. Command errored out with exit status 1: 'C:\Users\HP\Anaconda3\envs\py39\python.exe' 'C:\Users\HP\Anaconda3\envs\py39\lib\site-packages\pip_vendor\pep517_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\HP\AppData\Local\Temp\tmpav1eh1tj' Check the logs for full command output.
ERROR: Command errored out with exit status 1: 'C:\Users\HP\Anaconda3\envs\py39\python.exe' 'C:\Users\HP\Anaconda3\envs\py39\lib\site-packages\pip_vendor\pep517_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\HP\AppData\Local\Temp\tmpav1eh1tj' Check the logs for full command output.
at ~.poetry\lib\poetry\utils\env.py:1074 in run
1070│                 output = subprocess.check_output(
1071│                     cmd, stderr=subprocess.STDOUT, **kwargs
1072│                 )
1073│         except CalledProcessError as e:
→ 1074│             raise EnvCommandError(e, input=input)
1075│
1076│         return decode(output)
1077│
1078│     def execute(self, bin, *args, **kwargs):

It looks like your problem was that Scipy didn't have a wheel available for your system, so it had to be compiled from source, which then failed because you didn't have LAPACK/BLAS installed. This isn't an issue with VerifAI at all -- hopefully you're now able to install Scipy! In any case VerifAI supports Python 3.8-3.10.


Harmony remote device type

It appears that some people are starting to see Logitech Harmony Activities lighting up in Google Home. Up to this point, I've been fronting these selections as OnOff traits. I'm curious if there is a device type that aligns with these "Remotes" that is publicly usable, and what the voice syntax for the type?
https://www.reddit.com/r/googlehome/comments/d87uhm/finally_you_can_start_you_logitech_activities/

There is no public remote device type.


Update EJB to 0.8.0

Overview

Updated version from 0.8.0-SNAPSHOT to 0.8.0
Updated the Unreleased section at the end of Changelog.

See: https://jira.bf.local/browse/ECR-XYZ
Definition of Done

[x] Changelog is updated if needed (in case of notable or breaking changes)
[ ] The continuous integration build passes

Coverage remained the same at 85.95% when pulling 293b0d11e96da94ed202350e6aa705683b146a12 on skletsun:update_ejb_0.8.0 into 9ca7a1340e2d52b38921d09bd60251ed964de924 on exonum:ejb/v0.8.0-release.


self.log() does not work with model compiled by PyTorch 2.0 torch.compile()

Bug description
logging from a model compiled with torch.compile() appears to be broken.
How to reproduce the bug
All I've done is modified the example from the website to run on 1 GPU and compiled the model with torch.compile. I've tried both the release version and the lightning master branch version of the library and they both fail.
import torch
from torch import nn
from torch.nn import functional as F
from torch.utils.data import DataLoader
from torch.utils.data import random_split
from torchvision.datasets import MNIST
from torchvision import transforms
import pytorch_lightning as pl

class LitAutoEncoder(pl.LightningModule):
	def __init__(self):
		super().__init__()
		self.encoder = nn.Sequential(
      nn.Linear(28 * 28, 64),
      nn.ReLU(),
      nn.Linear(64, 3))
		self.decoder = nn.Sequential(
      nn.Linear(3, 64),
      nn.ReLU(),
      nn.Linear(64, 28 * 28))

	def forward(self, x):
		embedding = self.encoder(x)
		return embedding

	def configure_optimizers(self):
		optimizer = torch.optim.Adam(self.parameters(), lr=1e-3)
		return optimizer

	def training_step(self, train_batch, batch_idx):
		x, y = train_batch
		x = x.view(x.size(0), -1)
		z = self.encoder(x)
		x_hat = self.decoder(z)
		loss = F.mse_loss(x_hat, x)
		self.log('train_loss', loss)
		return loss

	def validation_step(self, val_batch, batch_idx):
		x, y = val_batch
		x = x.view(x.size(0), -1)
		z = self.encoder(x)
		x_hat = self.decoder(z)
		loss = F.mse_loss(x_hat, x)
		self.log('val_loss', loss)

# data
dataset = MNIST('', train=True, download=True, transform=transforms.ToTensor())
mnist_train, mnist_val = random_split(dataset, [55000, 5000])

train_loader = DataLoader(mnist_train, batch_size=32)
val_loader = DataLoader(mnist_val, batch_size=32)

# model
model = LitAutoEncoder()
model = torch.compile(model)

# training
trainer = pl.Trainer(gpus=1, num_nodes=1, precision=16, limit_train_batches=0.5)
trainer.fit(model, train_loader, val_loader)

Error messages and logs
lightning.fabric.utilities.exceptions.MisconfigurationException: You are trying to `self.log()` but the loop's result collection is not registered yet. This is most likely because you are trying to log in a `predict` hook, but it doesn't support logging

Environment

Current environment
Running in WSL Linux.

* CUDA:
        - GPU:
                - NVIDIA GeForce RTX 2080 Ti
        - available:         True
        - version:           11.8
* Lightning:
        - lightning:         2.0.0.dev0
        - lightning-cloud:   0.5.27
        - lightning-utilities: 0.6.0.post0
        - torch:             2.0.0.dev20230219
        - torchaudio:        2.0.0.dev20230219
        - torchdata:         0.7.0.dev20230219
        - torchmetrics:      0.11.1
        - torchtext:         0.15.0.dev20230219
        - torchvision:       0.15.0.dev20230219
* System:
        - OS:                Linux
        - architecture:
                - 64bit
                - ELF
        - processor:         x86_64
        - python:            3.10.9

More info
No response
cc @tchaton @carmocca @Blaizzy

I opened an issue upstream with a minified version of this issue: https://github.com/pytorch/pytorch/issues/95857
In the worst case scenario, we can remove the weak reference to the Trainer. cc @lantiga

Hi, I came across this error too. Have you fixed that?


AntAlmanac doesn't load on Mac Safari

When my friend tries to load AntAlmanac, he gets a blank page. This is the only content that appears in the JavaScript console.
Device: MacBook Pro 13-inch M1 2020
OS: macOS 11.4 (Big Sur)

structuredClone has been supported in every major browser since March 2022, and Big Sur reached end-of-life November 2023. You should tell your friend to update his device and browser, not for AntAlmanac's sake, but for his own security.
I don't like blaming the user, but I think this is reasonable


Update to use vite 6

Add vite 6

fixed in https://github.com/AdrianGonz97/vite-plugin-tailwind-purgecss/releases/tag/v0.3.5


bump version

Bumps version & lint ci:

cosmos sdk => 0.45.10
ibc-go => 3.3.1
tendermint => 0.34.22

thanks so so much @hieuvubk -- this and your message in slack was the only warning here before Jim's.

Ah heck let's merge ya.


Issue with Windows Quickstart Guide.

Not sure where else to mention this -- the windows quickstart guide worked a dream up until actually running the demo.py for both hf and ModelScope. The issue I continually ran into was:
"ImportError: This modeling file requires the following packages that were not found in your environment: transformers_stream_generator. Run `pip install transformers_stream_generator`"
I did a bit of googling which recommended that I downgrade transformers to anything pre 4.37. I did so (ending up with 4.36.2), and that seemed to resolve the issue which let the sample code run. Hooray!
Not sure at which step I ended up loading an incompatible version of transformers, but wanted to mention it here since a search of existing issues didn't seem to cover it already.

Hi @pmusser , we confirmed that this issue can be reproduced. It is due to a change in transformers 4.37.0. When importing transformers_stream_generator, from transformers.generation.utils import GenerateOutput, SampleOutput, logger requires SampleOutput, however SampleOutput is removed in the lastest transformers. A workaround is to use transformers==4.36.2.
We are going to replace the model used in demo.py so as not to confuse new-comers :)


Fix warnings & cleanup Page

See each commit message

Two notes here:

IMHO the code at https://github.com/concrete5/concrete5/blob/14530ee9a3d73819ae0bc65c8daadcc5519d8464/web/concrete/src/Page/Page.php#L2390-L2395 is intended to stop the page deletion. BTW $ret is not defined, and I don't know if/how the new event system handles a return code---
Can we remove https://github.com/concrete5/concrete5/blob/14530ee9a3d73819ae0bc65c8daadcc5519d8464/web/concrete/src/Page/Page.php#L386-L423 ?

Nice catch – to answer your question

Yes, that is supposed to stop deletion. And yes, it's not being honored and isn't working with our new events model. It should work like deleting a user does – with a proceed() function that defaults to true an event could set to false, and then check it like this does:
 $ue = new \Concrete\Core\User\Event\DeleteUser($this);
 $ue = Events::dispatch('on_user_delete', $ue);
 if (!$ue->proceed()) {
     return false;
 }

Yes, that looks like it all can go. Heh, nice catch.

Se #2545