idea: Generic NomadMessage type interface

As @kekonen works through the indexer implementation, he's noticing some friction when it comes to interacting with the the Nomad message lifecycle.
Context:
Among a vast many other things, the indexer requires the tracking of a message from Dispatch -> Process. As it does this, it updates values in a database which include metadata like event timestamps and transaction hashes.
Currently the best way to do that is to query for Dispatch events, instantiate a NomadMessage, and then wait for additional lifecycle events that allow for instantiation of a BridgeMessage or GovernanceMessage.
Idea:
Provide a generic NomadMessage as an interface (this theoretical interface is overloaded with the current NomadMessage type which corresponds more closely to what I would refer to as a CoreMessage), that allows a user to pass around and use any of the encapsulated *Message types.
Might allow for method signatures like this:
NomadContext.lookup(txHash: String) => NomadMessage
This method would allow a user to lookup any Nomad Message, and it would return the most general message type in response. (If it can be evaluated as a BridgeMessage, it will do so and return it).
We could allow for checking of the kind of message that was returned by matching it against its type, or checking a theoretical NomadMessage.kind or NomadMessage.type field.
Extra Credit: Implement it such that it allows for implicit upgrading between (for example) a CoreMessage and a BridgeMessage when the lifecycle events are available.

Some notes from @kekonen on this:
If there is a BridgeMessage or GovMessage corresponding to NomadMessage it should be easy (maybe natively is the right term here) to get from it without checking insides of NomadMessage manually. Like in rust it would be similar to:
NomadMessage.try_into() -> Option<enum Payload{Bridge(BridgeMessage), Gov(GovMessage)}>
Also related to it is unifying all *Context into a unified global generic type, or at least all methods (or uses) in (Bridge|Governance)Message of a Context should check what Context it is and just automatically convert it (which is not optimal though).
Right now if I want to work with 3 types of messages i need to keep either all 3 sdks and juggle them or have an SDK and convert it every single time, which is not optimal.
To conclude, I get that we wanted to separate all of the SDK into separate usage cases, but if I want to have a full control of the entire system e2e I don’t want to have to concentrate on which particular use-case to use here and adjust the code accordingly.


Estimation of TCRdiv

Good evening,
after reading your paper I would be interested in estimating TCRdiv of a series of epitope-specific repertoires, however I do not find a script dedicated only to it without the need of running the full analysis. Could you please help me with this? Does one need also the alpha-chain to estimate TCRdiv?
Many thanks, best regards,
Barbara

Hi Barbara,
Thanks for your query. Do you have paired (alpha/beta) data or just single chain?

I actually have only beta chains, so I was wondering if the TCRdiv measure is applicable, limiting the evaluation of the distance to these chains.
Many thanks,
Barbara

OK, one more question-- roughly how big are your repertoires? Hundreds, thousands, millions? I also have a C++ repository that can compute TCRdiv and scale to larger datasets...

I see, in terms of unique sequences they are between 25000 and 50000 and I look at the CDR3 region (while I know that TCRdist is calibrated not only on the CDR3). Thanks a lot for your help,
Barbara

OK, and do you only have the CDR3 or do you mean that when you look only at the CDR3 you have 25000 to 50000 unique sequences?

Ah sorry, I mean that I have only the CDR3 and they are roughly between 25000 and 50000 unique ones.

Hi Barbara, without the V genes it's not really possible to compute TCRdist. You could try something like a simple Hamming distance or Levenshtein distance on the CDR3s and try using the same formula for TCRdiv, but I don't have code to help with that. Sorry!

Yes, I was already thinking about proceeding in this way, many thanks for your replies.
Barbara


Batching Contract Execution

Description

adding additional endpoints for batching all contract executions.

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Wrote unit and integration
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[x] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

Some unit tests would be nice, but can wait if you've at least tested this locally. I'm just concerned about error handling for the chunked operations - what will it look like if at least one message in a chunk has a problem? Seems like it's all just nested forEach loops without any runCatching or try-catch. I understand we've yet to transform existing HTTP 500 responses into 400s, but adding the layer of batches could just make those even more confusing, if not just misleading.

two outcomes for this:

I did add in some error handling to the batch endpoints. It will go through all the chunks and throw if there's any errors and hopefully print them out nicely. Also this was transitioned to throwing a bad request response code.
I tried to add in integration tests, but this is problematic; the integration tests stand up p8e-cee-api but the tests also need to run bootstrapping to have local contracts. The only way around this that i can think of is a) use test keys b) run the setup entirely in github release code, which im not sure is ideal either. I can continue thinking about this.


Tips for correcting README.md

Hi, thank you again for your awesome work.
While trying the reproduce, I found the following errors that might help you to update the README, and make the repo even better for upcoming researchers :> :

In README:

4.Download the matterport-ResNet-101-faster-rcnn features and unzip it and then put it into data/YouTube-VLN.
It appears to me that matterport-ResNet-101-faster-rcnn features file should be instead in data/ directory rather than data/YouTube-VLN, as defined in test.py args.

CUDA  Compatibility Issue

While running test.py, the following error pops up:

NVIDIA GeForce RTX 3070 Laptop GPU with CUDA capability sm_86 is not compatible with the current PyTorch installation.
The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_70.
If you want to use the NVIDIA GeForce RTX 3070 Laptop GPU GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/
It indicates a problem with the compatibility between the installed PyTorch version and the CUDA capabilities of my GPU, wondering would updating the torch version causes any problems.
Thank you for your time for consulting with me for above questions :>

Hi, thanks for your advice! I'll check out what you mentioned sometime. I've been busy with other things lately, really sorry for that.


Permissions.yml not working

I cannot figure out why my permissions ex is not working. After adding some donator ranks to my permissionex.yml i am no longer able to use any pex commands on my server. When i type a command in it gives me no errors or anything. I've read through it like 5 times and do not see any errors or mistakes. Here's my permission file https://pastebin.com/eNegBveR

Corrected all issues:  https://pastebin.com/DNw1aJih
The way inheritance works, in this corrected paste, is that "Member" is not inheriting from anyone, so they have an "empty" inheritance section (which is required by Minecraft 1.9+).  You then had "Donator" inheriting from "Member", so I removed the duplicate permission nodes— essentials.help, essentials.rules, and essentials.motd because they're all in "Member" and inherited —from the "Donator" group.  Similarly, "VIP" inherits from "Donator", so it gets all of "Donator"'s permissions (which includes all of "Members" permissions), so we list only "Donator" as the inheritance for "VIP".  This same pattern continued through the rest of the file, so I made it a single chain of inheritance up to "Admin", since you wanted everyone to get everything that the previous groups had.  The "Owner" group gets absolutely everything (including nodes you don't know that you don't want it to have yet), so it also gets an "empty" inheritance like the "Member" group had.
*Be Warned:  Anyone in the "Owner" group can delete all the groups on the server, since they also get access to all the PermissionsEx Commands.  Normally I recommend only giving permissions.* to yourself (with /pex user Stormbow add permissions.*, using your name instead of mine).  If you want to remove this permission node from your "Owner" group, change the group to look like this:
  Owner:
    options:
      prefix: '&6[&4Owner&6]&f '
      default: false
      build: true
    inheritance: []
    permissions:
    - -permissions.*
    - '*'

And one final note:  you have a group called "memeber" which I couldn't tell if you wanted that to be some kind of "meme" related group, so I left it in the file.  Someone probably meant to add those to the "Member" group, and just didn't spell it correctly, but I left it in the file and you can correct it as desired.

Test the above corrected file, and let me know if you have any additional issues you need help with.

It worked but now i have the issue of names for the donator ranks are not colored and it does not show the prefix's like [Donator] or [Vip] before there names either. It also now says [world] before a persons name now. the ranks themselves work though. i can set a person to a rank and they can use the permissions from that rank.

Excellent.  We're moving in the right direction.
Next up, you need to configure your chat management plugin.  In this case— EssentialsChat.  Use this guide to get the prefixes and suffixes setup.
Also, look in the Multiverse folder and make sure prefixes are disabled in the Multiverse config.yml file.

I read through the guide twice and i'm having trouble understanding it. I made the chnages that are in the guide and that doesn't seem to have fixed it I also changed the prefixes for multiverse to false but every time i reload the plugin or restart the server it changes it back to true.

OK, let me see your console log from the moment you start the server until text stops printing to the screen and you see a message similar to "Done!".

And while you're at it, show me your most recent permissions.yml file and your Essentials config.yml file.

Essentials config https://pastebin.com/dR9eHNVH
Permission https://pastebin.com/gbMaWVj2

Corrected Essentials config.yml file: https://pastebin.com/i5WhjpFd
For the best results, be sure to stop the server before replacing your config.yml file with the filed linked above.

Console https://pastebin.com/rrsSKXuW
i'll check if that config works

This file should get all the prefixes displayed in-game, then you can work on adding Color Codes and Formatting Codes to lines 703-711 of the Essentials config.yml file, and the permissions.yml file.

The server console looks pretty good.  ChestShop looks like it's outdated or not configured correctly ("you seem to not be using the Xerial SQLite driver.  See ORMLite docs on SQLite: http://ormlite.com/docs/sqlite"), and you're missing the ProtocolLib plugin (which is a dependency of the "PAC.jar" plugin.

Getting closer. But now the donators have a slight issue. they have [member] their names. For examples <[Donator]>Killer[Member] that's what it looks like for all Ranks except Owner

Yep.  That's because you didn't give the Donator or other groups a suffix, but you did give Member a suffix.
Give Donators and others groups this:
      suffix: '&r'

That will assign them a blank suffix, removing the Member suffix.
Alternatively, you could delete the line for the Member suffix.

The &r is just a "reset" code, changing the color and formatting back to the default (white, with no underline, bold, etc.).

Yep Fixed how. Thank you so much for the help!

You're welcome. :-)  Have fun!


Add Maven Central publish configuration

Add publish configuration for Maven Central

Add a version support and remove JITPACK version workaround. Version is defined in gradle.properties
Add pom generation for Maven Central. Add all maintainers from MAINTAINERS.md to authors.
Exclude zally-server from publishing

Related to: #964

Codecov Report

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

@@            Coverage Diff            @@
##             master    #1153   +/-   ##
=========================================
  Coverage     88.04%   88.04%
  Complexity       85       85
=========================================
  Files            69       69
  Lines          1046     1046
  Branches         71       71
=========================================
  Hits            921      921
  Misses           88       88
  Partials         37       37

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 db6b3c6...1648b58. Read the comment docs.

:+1:

:+1:

:+1:

:+1:


Add lorennash's file

created a branch, created a file and made a commit, and opened a pull request

Hi - May I kindly have an approval?


[BUG] BUG in run_finetune.sh

Describe the bug
I have met bugs in run_finetune.sh, the logs are as follows:
(I am using CUDA11.7)
bash run_finetune.sh
[2023-05-07 20:15:45,744] [WARNING] [runner.py:186:fetch_hostfile] Unable to find hostfile, will proceed with training with local resources only.
[2023-05-07 20:15:45,765] [INFO] [runner.py:550:main] cmd = /home/yunxshi/anaconda3/envs/lmflow2/bin/python -u -m deepspeed.launcher.launch --world_info=eyJsb2NhbGhvc3QiOiBbMCwgMV19 --master_addr=<IP_ADDRESS> --master_port=11000 --enable_each_rank_log=None ../examples/finetune.py --model_name_or_path gpt2 --dataset_path /home/yunxshi/Data/workspace/LMflow/LMFlow-main/data/AIducation/train --output_dir /home/yunxshi/Data/workspace/LMflow/LMFlow-main/output_models/AIducation_finetune --overwrite_output_dir --num_train_epochs 0.01 --learning_rate 2e-5 --block_size 512 --per_device_train_batch_size 1 --deepspeed ../configs/ds_config_zero3.json --fp16 --run_name finetune --validation_split_percentage 0 --logging_steps 20 --do_train --ddp_timeout 72000 --save_steps 5000 --dataloader_num_workers 1
[2023-05-07 20:15:49,023] [INFO] [launch.py:142:main] WORLD INFO DICT: {'localhost': [0, 1]}
[2023-05-07 20:15:49,023] [INFO] [launch.py:148:main] nnodes=1, num_local_procs=2, node_rank=0
[2023-05-07 20:15:49,023] [INFO] [launch.py:161:main] global_rank_mapping=defaultdict(<class 'list'>, {'localhost': [0, 1]})
[2023-05-07 20:15:49,023] [INFO] [launch.py:162:main] dist_world_size=2
[2023-05-07 20:15:49,023] [INFO] [launch.py:164:main] Setting CUDA_VISIBLE_DEVICES=0,1
[2023-05-07 20:15:59,387] [INFO] [comm.py:652:init_distributed] Initializing TorchBackend in DeepSpeed with backend nccl
05/07/2023 20:15:59 - WARNING - lmflow.pipeline.finetuner - Process rank: 0, device: cuda:0, n_gpu: 1distributed training: True, 16-bits training: True
05/07/2023 20:16:00 - WARNING - lmflow.pipeline.finetuner - Process rank: 1, device: cuda:1, n_gpu: 1distributed training: True, 16-bits training: True
05/07/2023 20:16:01 - WARNING - datasets.builder - Found cached dataset json (/home/yunxshi/.cache/huggingface/datasets/json/default-cc1b956fdbc444c6/0.0.0/0f7e3662623656454fcd2b650f34e886a7db4b9104504885bd462096cc7a9f51)
05/07/2023 20:16:01 - WARNING - datasets.builder - Found cached dataset json (/home/yunxshi/.cache/huggingface/datasets/json/default-cc1b956fdbc444c6/0.0.0/0f7e3662623656454fcd2b650f34e886a7db4b9104504885bd462096cc7a9f51)
[2023-05-07 20:16:07,096] [INFO] [partition_parameters.py:415:__exit__] finished initializing model with 0.16B parameters
/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/torch/distributed/distributed_c10d.py:2547: UserWarning: torch.distributed._all_gather_base is a private function and will be deprecated. Please use torch.distributed.all_gather_into_tensor instead.
  warnings.warn(
/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/torch/distributed/distributed_c10d.py:2547: UserWarning: torch.distributed._all_gather_base is a private function and will be deprecated. Please use torch.distributed.all_gather_into_tensor instead.
  warnings.warn(
05/07/2023 20:16:08 - WARNING - datasets.fingerprint - Parameter 'function'=<function HFDecoderModel.tokenize.<locals>.tokenize_function at 0x2ab697ce1790> of the transform datasets.arrow_dataset.Dataset._map_single couldn't be hashed properly, a random hash was used instead. Make sure your transforms and parameters are serializable with pickle or dill for the dataset fingerprinting and caching to work. If you reuse this transform, the caching mechanism will consider it to be different from the previous calls and recompute everything. This warning is only showed once. Subsequent hashing failures won't be showed.
05/07/2023 20:16:08 - WARNING - datasets.arrow_dataset - Loading cached processed dataset at /home/yunxshi/.cache/huggingface/datasets/json/default-cc1b956fdbc444c6/0.0.0/0f7e3662623656454fcd2b650f34e886a7db4b9104504885bd462096cc7a9f51/cache-1c80317fa3b1799d.arrow
05/07/2023 20:16:08 - WARNING - datasets.arrow_dataset - Loading cached processed dataset at /home/yunxshi/.cache/huggingface/datasets/json/default-cc1b956fdbc444c6/0.0.0/0f7e3662623656454fcd2b650f34e886a7db4b9104504885bd462096cc7a9f51/cache-fa5d5653a4dcda14.arrow
05/07/2023 20:16:08 - WARNING - datasets.fingerprint - Parameter 'function'=<function HFDecoderModel.tokenize.<locals>.tokenize_function at 0x2b66f607c790> of the transform datasets.arrow_dataset.Dataset._map_single couldn't be hashed properly, a random hash was used instead. Make sure your transforms and parameters are serializable with pickle or dill for the dataset fingerprinting and caching to work. If you reuse this transform, the caching mechanism will consider it to be different from the previous calls and recompute everything. This warning is only showed once. Subsequent hashing failures won't be showed.
05/07/2023 20:16:08 - WARNING - datasets.arrow_dataset - Loading cached processed dataset at /home/yunxshi/.cache/huggingface/datasets/json/default-cc1b956fdbc444c6/0.0.0/0f7e3662623656454fcd2b650f34e886a7db4b9104504885bd462096cc7a9f51/cache-1c80317fa3b1799d.arrow
05/07/2023 20:16:08 - WARNING - datasets.arrow_dataset - Loading cached processed dataset at /home/yunxshi/.cache/huggingface/datasets/json/default-cc1b956fdbc444c6/0.0.0/0f7e3662623656454fcd2b650f34e886a7db4b9104504885bd462096cc7a9f51/cache-fa5d5653a4dcda14.arrow
Using /home/yunxshi/.cache/torch_extensions/py39_cu117 as PyTorch extensions root...
Using /home/yunxshi/.cache/torch_extensions/py39_cu117 as PyTorch extensions root...
Detected CUDA files, patching ldflags
Emitting ninja build file /home/yunxshi/.cache/torch_extensions/py39_cu117/cpu_adam/build.ninja...
Building extension module cpu_adam...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/1] c++ cpu_adam.o custom_cuda_kernel.cuda.o -shared -lcurand -L/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/torch/lib -lc10 -lc10_cuda -ltorch_cpu -ltorch_cuda -ltorch -ltorch_python -L/home/yunxshi/anaconda3/envs/lmflow2/lib64 -lcudart -o cpu_adam.so
FAILED: cpu_adam.so
c++ cpu_adam.o custom_cuda_kernel.cuda.o -shared -lcurand -L/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/torch/lib -lc10 -lc10_cuda -ltorch_cpu -ltorch_cuda -ltorch -ltorch_python -L/home/yunxshi/anaconda3/envs/lmflow2/lib64 -lcudart -o cpu_adam.so
/opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: cannot find -lcurand
/opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: cannot find -lcudart
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1893, in _run_ninja_build
    subprocess.run(
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/data/yunxshi/workspace/LMflow/LMFlow-main/scripts/../examples/finetune.py", line 61, in <module>
    main()
  File "/data/yunxshi/workspace/LMflow/LMFlow-main/scripts/../examples/finetune.py", line 57, in main
    tuned_model = finetuner.tune(model=model, dataset=dataset)
  File "/data/yunxshi/workspace/LMflow/LMFlow-main/src/lmflow/pipeline/finetuner.py", line 274, in tune
    train_result = trainer.train(resume_from_checkpoint=checkpoint)
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/transformers/trainer.py", line 1639, in train
    return inner_training_loop(
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/transformers/trainer.py", line 1708, in _inner_training_loop
    deepspeed_engine, optimizer, lr_scheduler = deepspeed_init(
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/transformers/deepspeed.py", line 378, in deepspeed_init
    deepspeed_engine, optimizer, _, lr_scheduler = deepspeed.initialize(**kwargs)
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/deepspeed/__init__.py", line 125, in initialize
    engine = DeepSpeedEngine(args=args,
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 340, in __init__
    self._configure_optimizer(optimizer, model_parameters)
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 1283, in _configure_optimizer
    basic_optimizer = self._configure_basic_optimizer(model_parameters)
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 1354, in _configure_basic_optimizer
    optimizer = DeepSpeedCPUAdam(model_parameters,
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/deepspeed/ops/adam/cpu_adam.py", line 96, in __init__
    self.ds_opt_adam = CPUAdamBuilder().load()
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/deepspeed/ops/op_builder/builder.py", line 485, in load
    return self.jit_load(verbose)
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/deepspeed/ops/op_builder/builder.py", line 520, in jit_load
    op_module = load(
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1284, in load
    return _jit_compile(
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1509, in _jit_compile
    _write_ninja_file_and_build_library(
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1624, in _write_ninja_file_and_build_library
    _run_ninja_build(
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1909, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error building extension 'cpu_adam'
Loading extension module cpu_adam...
Traceback (most recent call last):
  File "/data/yunxshi/workspace/LMflow/LMFlow-main/scripts/../examples/finetune.py", line 61, in <module>
    main()
  File "/data/yunxshi/workspace/LMflow/LMFlow-main/scripts/../examples/finetune.py", line 57, in main
    tuned_model = finetuner.tune(model=model, dataset=dataset)
  File "/data/yunxshi/workspace/LMflow/LMFlow-main/src/lmflow/pipeline/finetuner.py", line 274, in tune
    train_result = trainer.train(resume_from_checkpoint=checkpoint)
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/transformers/trainer.py", line 1639, in train
    return inner_training_loop(
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/transformers/trainer.py", line 1708, in _inner_training_loop
    deepspeed_engine, optimizer, lr_scheduler = deepspeed_init(
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/transformers/deepspeed.py", line 378, in deepspeed_init
    deepspeed_engine, optimizer, _, lr_scheduler = deepspeed.initialize(**kwargs)
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/deepspeed/__init__.py", line 125, in initialize
    engine = DeepSpeedEngine(args=args,
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 340, in __init__
    self._configure_optimizer(optimizer, model_parameters)
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 1283, in _configure_optimizer
    basic_optimizer = self._configure_basic_optimizer(model_parameters)
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 1354, in _configure_basic_optimizer
    optimizer = DeepSpeedCPUAdam(model_parameters,
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/deepspeed/ops/adam/cpu_adam.py", line 96, in __init__
    self.ds_opt_adam = CPUAdamBuilder().load()
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/deepspeed/ops/op_builder/builder.py", line 485, in load
    return self.jit_load(verbose)
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/deepspeed/ops/op_builder/builder.py", line 520, in jit_load
    op_module = load(
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1284, in load
    return _jit_compile(
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1535, in _jit_compile
    return _import_module_from_library(name, build_directory, is_python_module)
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1929, in _import_module_from_library
    module = importlib.util.module_from_spec(spec)
  File "<frozen importlib._bootstrap>", line 565, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 1173, in create_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
ImportError: /home/yunxshi/.cache/torch_extensions/py39_cu117/cpu_adam/cpu_adam.so: cannot open shared object file: No such file or directory
Exception ignored in: <function DeepSpeedCPUAdam.__del__ at 0x2ab60f80ddc0>
Traceback (most recent call last):
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/deepspeed/ops/adam/cpu_adam.py", line 110, in __del__
    self.ds_opt_adam.destroy_adam(self.opt_id)
AttributeError: 'DeepSpeedCPUAdam' object has no attribute 'ds_opt_adam'
Exception ignored in: <function DeepSpeedCPUAdam.__del__ at 0x2b6665d90dc0>
Traceback (most recent call last):
  File "/home/yunxshi/anaconda3/envs/lmflow2/lib/python3.9/site-packages/deepspeed/ops/adam/cpu_adam.py", line 110, in __del__
AttributeError: 'DeepSpeedCPUAdam' object has no attribute 'ds_opt_adam'
[2023-05-07 20:16:13,074] [INFO] [launch.py:318:sigkill_handler] Killing subprocess 119891
[2023-05-07 20:16:13,075] [INFO] [launch.py:318:sigkill_handler] Killing subprocess 119892
[2023-05-07 20:16:13,082] [ERROR] [launch.py:324:sigkill_handler] ['/home/yunxshi/anaconda3/envs/lmflow2/bin/python', '-u', '../examples/finetune.py', '--local_rank=1', '--model_name_or_path', 'gpt2', '--dataset_path', '/home/yunxshi/Data/workspace/LMflow/LMFlow-main/data/AIducation/train', '--output_dir', '/home/yunxshi/Data/workspace/LMflow/LMFlow-main/output_models/AIducation_finetune', '--overwrite_output_dir', '--num_train_epochs', '0.01', '--learning_rate', '2e-5', '--block_size', '512', '--per_device_train_batch_size', '1', '--deepspeed', '../configs/ds_config_zero3.json', '--fp16', '--run_name', 'finetune', '--validation_split_percentage', '0', '--logging_steps', '20', '--do_train', '--ddp_timeout', '72000', '--save_steps', '5000', '--dataloader_num_workers', '1'] exits with return code = 1

solved

solved

Hi, we encountered same problem, may i ask how you resolved it ?

running into the same issue with the same error message, i wonder if the issue is this part
FAILED: cpu_adam.so
c++ cpu_adam.o custom_cuda_kernel.cuda.o -shared -lcurand -L/home/ec2-user/anaconda3/envs/lmflow/lib/python3.9/site-packages/torch/lib -lc10 -lc10_cuda -ltorch_cpu -ltorch_cuda -ltorch -ltorch_python -L/home/ec2-user/anaconda3/envs/lmflow/lib64 -lcudart -o cpu_adam.so
/usr/bin/ld: cannot find -lcurand
/usr/bin/ld: cannot find -lcudart

AttributeError: 'DeepSpeedCPUAdam' object has no attribute 'ds_opt_adam'

https://github.com/OptimalScale/LMFlow/issues/446#issuecomment-1576108581
you can check my previous way.


(Build fix) babel-preset-es2015 updates

When attempting to test locally, I found I could not build on my system.
The command that would fail was npm run build:es.
This was the error I got:

resolve failed:  { Error: Cannot find module 'q-io'
    at Function.Module._resolveFilename (module.js:438:15)
    at Function.requireRelative.resolve (/Users/Eplata/react-virtualized/node_modules/require-relative/index.js:30:17)
    at resolve (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:25:26)
    at findAndRemove (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:67:11)
    at /Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:111:13
    at Array.map (native)
    at loadPreset (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:103:29)
    at module.exports (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/index.js:97:19)
    at Object.<anonymous> (/Users/Eplata/react-virtualized/node_modules/babel-preset-es2015-rollup/index.js:3:18)
    at Module._compile (module.js:541:32) code: 'MODULE_NOT_FOUND' } q-io
node_modules/nan
resolve failed:  { Error: Cannot find module 'collections'
    at Function.Module._resolveFilename (module.js:438:15)
    at Function.requireRelative.resolve (/Users/Eplata/react-virtualized/node_modules/require-relative/index.js:30:17)
    at resolve (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:25:26)
    at findAndRemove (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:67:11)
    at /Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:111:13
    at Array.map (native)
    at loadPreset (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:103:29)
    at module.exports (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/index.js:97:19)
    at Object.<anonymous> (/Users/Eplata/react-virtualized/node_modules/babel-preset-es2015-rollup/index.js:3:18)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19) code: 'MODULE_NOT_FOUND' } collections
resolve failed:  { Error: Cannot find module 'caniuse-db'
    at Function.Module._resolveFilename (module.js:438:15)
    at Function.requireRelative.resolve (/Users/Eplata/react-virtualized/node_modules/require-relative/index.js:30:17)
    at resolve (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:25:26)
    at findAndRemove (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:67:11)
    at /Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:111:13
    at Array.map (native)
    at loadPreset (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:103:29)
    at module.exports (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/index.js:97:19)
    at Object.<anonymous> (/Users/Eplata/react-virtualized/node_modules/babel-preset-es2015-rollup/index.js:3:18)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19) code: 'MODULE_NOT_FOUND' } caniuse-db
resolve failed:  { Error: Cannot find module 'babel-runtime'
    at Function.Module._resolveFilename (module.js:438:15)
    at Function.requireRelative.resolve (/Users/Eplata/react-virtualized/node_modules/require-relative/index.js:30:17)
    at resolve (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:25:26)
    at findAndRemove (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:67:11)
    at /Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:111:13
    at Array.map (native)
    at loadPreset (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:103:29)
    at module.exports (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/index.js:97:19)
    at Object.<anonymous> (/Users/Eplata/react-virtualized/node_modules/babel-preset-es2015-rollup/index.js:3:18)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19) code: 'MODULE_NOT_FOUND' } babel-runtime
resolve failed:  { Error: Cannot find module 'webpack-core'
    at Function.Module._resolveFilename (module.js:438:15)
    at Function.requireRelative.resolve (/Users/Eplata/react-virtualized/node_modules/require-relative/index.js:30:17)
    at resolve (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:25:26)
    at findAndRemove (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:67:11)
    at /Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:111:13
    at Array.map (native)
    at loadPreset (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:103:29)
    at module.exports (/Users/Eplata/react-virtualized/node_modules/modify-babel-preset/index.js:97:19)
    at Object.<anonymous> (/Users/Eplata/react-virtualized/node_modules/babel-preset-es2015-rollup/index.js:3:18)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19) code: 'MODULE_NOT_FOUND' } webpack-core

While googling some of the keywords on traces, I found this group of stack traces:
https://github.com/developit/preact-boilerplate/issues/89
I basically followed their advice, nothing, and then tried updating these dependencies. That seemed to do it.
Please let me know if you have any thoughts / differences in your experiences.
Thanks again for the excellent repo, and if you'd like any other feedback, let me know!
Node: v6.0.0
Npm: 4.2.0
OS: MacOS Sierra 10.12.1

Hey @toddtarsi,
Thanks for submitting a patch! That's awesome.
For the dependency bump- I wonder if you would also be willing to update the yarn.lock so that it and package.json stay in sync?
I'm not sure I understand why the "loose" mode change is included with this PR. Could you clarify? I'm a little wary of this as it may impact the generated code in unknown ways.

I’m okay with pulling the loose mode change out of this and rebasing it down.
Honestly, that's a bit of an artifact, and I just checked, the build succeeds without that change.

On Feb 10, 2017, at 4:32 PM, Brian Vaughn<EMAIL_ADDRESS>wrote:
Hey @toddtarsi https://github.com/toddtarsi,
Thanks for submitting a patch! That's awesome.
For the dependency bump- I wonder if you would also be willing to update the yarn.lock so that it and package.json stay in sync?
I'm not sure I understand why the "loose" mode change is included with this PR. Could you clarify? I'm a little wary of this as it may impact the generated code in unknown ways.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/bvaughn/react-virtualized/pull/572#issuecomment-279084915, or mute the thread https://github.com/notifications/unsubscribe-auth/AEfUsb0Z1MRaqyGGDHSUVPd9zsfi3aa4ks5rbOWWgaJpZM4L95xr.

I'd be much more comfortable with changing only the deps versions :)

There! Rebased accordingly. Thanks for the rapid feedback 😄

No problem. But would you also be willing to update the yarn.lock so that it and package.json stay in sync?

Okay, rebased again! Sorry about that, I haven't used yarn before.

I just used two commands:
yarn upgrade<EMAIL_ADDRESS>yarn upgrade<EMAIL_ADDRESS>

No problem. That looks right to me. 😄

Did a fresh install and confirmed the error you mentioned above. Ran the following upgrade command and confirmed that the error was resolved:
yarn upgrade<EMAIL_ADDRESS>yarn upgrade<EMAIL_ADDRESS>
Thanks so much for taking the time to put this PR together!

Thanks so much for sharing the great repo! 👍

Thanks again for this fix 😁 I ran into the same problem with react-presents and redux-search and was able to just apply the same technique as you did here without wasting any time on it.


Remove the new ad on the 9anime player (which shows up while pausing)

This is fixed in the rewrite/typescript branch.


Area: Uncap the range for gravity and change the slider hints

As of #36263, the maximum gravity of an Area2D is barely more than the default. There's not really a reason to cap the gravity amount, and we can also give better hints for the range (for 3D, ±32 is much more sensible than ±1024). This PR does this.

Thanks!


substantially improve broadcasting + alignment section

cc @e-marshall
there's a slightly different version here:
https://tutorial.xarray.dev/oceanhackweek-2020/xarray-oceanhackweek20.html#concepts-for-computation
also docs
https://docs.xarray.dev/en/stable/user-guide/computation.html#broadcasting-by-dimension-name
https://docs.xarray.dev/en/stable/user-guide/computation.html#automatic-alignment

Closed by #76


feat: add toHierarchy utility for TreeView, RecursiveList

Based on #2069, as I'm unable to push directly to that outside PR. Closes #2069.
This adds a toHierarchy utility per @bhavers's suggestion.
Both TreeView and RecursiveList components have a nodes prop. The structure is hierarchical, where a node specifies "child" nodes via the nodes prop. However, data may often be flat, with a property specifying its parent node ID.
This adds a toHierarchy utility to easily convert a flat array of nodes into a shape acceptable by the recursive components. This utility is separated from any specific component both for reusability but also for performance. If unused, the utility should be tree-shaken from bundles.
The second, required argument is a callback to retrieve the parent ID value. It's generic as to not force using any specific key for the parent ID. However, id and nodes are required, as they match the prop shape for TreeView and RecursiveList.
Usage
import { toHierarchy } from "carbon-components-svelte";

toHierarchy(array, node => node.parentId);

TreeView
<script>
  import { TreeView, toHierarchy } from "carbon-components-svelte";
  import Analytics from "carbon-icons-svelte/lib/Analytics.svelte";

  let nodesFlat = [
    { id: 0, text: "AI / Machine learning", icon: Analytics },
    { id: 1, text: "Analytics" },
    { id: 2, text: "IBM Analytics Engine", pid: 1 },
    { id: 3, text: "Apache Spark", pid: 2 },
    { id: 4, text: "Hadoop", pid: 2 },
    { id: 5, text: "IBM Cloud SQL Query", pid: 1 },
    { id: 6, text: "IBM Db2 Warehouse on Cloud", pid: 1 },
    { id: 7, text: "Blockchain" },
    { id: 8, text: "IBM Blockchain Platform", pid: 7 },
    { id: 9, text: "Databases" },
    { id: 10, text: "IBM Cloud Databases for Elasticsearch", pid: 9 },
    { id: 11, text: "IBM Cloud Databases for Enterprise DB", pid: 9 },
    { id: 12, text: "IBM Cloud Databases for MongoDB", pid: 9 },
    { id: 13, text: "IBM Cloud Databases for PostgreSQL", pid: 9 },
    { id: 14, text: "Integration", disabled: true },
    { id: 15, text: "IBM API Connect", disabled: true, pid: 14 },
  ];
</script>

<TreeView
  labelText="Cloud Products"
  nodes={toHierarchy(nodesFlat, (node) => node.pid)}
/>

Implementation Details

Uses a Map for efficient child-parent relationship lookups
Handles both root-level and nested nodes appropriately
Validates parent existence to prevent orphaned references
Preserves original node properties while adding the nodes array where needed
toHierarchy uses TypeScript generics for type safety and DX

Additional Notes

carbon-preprocess-svelte will need to be re-indexed to optimize the import for toHierarchy. Otherwise, it will need to be directly imported to avoid slower development times (e.g., from "carbon-components-svelte/src/utility/toHierarchy")

Released in v0.87.0.
If using optimizeImports from carbon-preprocess-svelte, you'll need to upgrade to<EMAIL_ADDRESS>


Line number and shared examples

When I run the current test in a spec file with shared_examples, then rspec does not run my test, but another.
I think because shared_examples are "injected" into the spec file, fooling the line number mechanism.
Is it just me?

Do you mean RunCurrentSpecFile (the whole of the file you're currently in) or RunNearestSpec (the single example or group which your cursor is in)?

Sorry... I was talking about RunNearestSpec. Thanks!

What happens when you run RSpec with that line number e.g:
rspec spec/my_spec.rb:17


New release on RubyGems?

Rails 5.0.0.rc1 released today, any chance we can get a seed-fu release with the lastest changes to master? :)
Thanks,
Connor

@aserafin Bumping since Rails 5 has been released today. Any news on a new RubyGems release? :)
Thanks for your work on the gem!

@connorshea just pushed https://rubygems.org/gems/seed-fu/versions/2.3.6
I don't have any production project currently on Rails 5 so I only checked it with dummy project - please let me know if encounter any issues!

@aserafin thanks!


Crash: Incompatibility with LambdAurora/AurorasDecorations

What were you doing when the crash occured?
When starting up, Aurora's Decorations has a process where it looks through modded woods, and adds recipes corresponding to them, but it expects it the woods to follow vanilla conventions, as it's to difficult to support individually. Paradise Lost doesn't respect these conventions, causing a crash when starting up. This is not an issue on Aurora's Decoration's side, as it uses vanilla conventions.
Did it crash the client or server?
Both
Mod Version
Dev
Fabric API Version
0.45.2
Trinkets Version
3.1.0
Crash Report
[23:47:29] [Render thread/INFO] (AurorasDeco) [Debug] Applying advancement injection...
[23:47:29] [Render thread/INFO] (AurorasDeco) [Debug] Building 339 advancements...
[23:47:29] [Render thread/ERROR] (AurorasDeco) [AurorasDeco] Could not build recipe aurorasdeco:recipes/building_blocks/woodcutting/the_aether/orange_planks due to a missing item tag the_aether:orange_logs. This probably means the mod the_aether is very likely to break Vanilla's expectations! Please report this issue!
[23:47:29] [Render thread/ERROR] (AurorasDeco) [AurorasDeco] Could not build recipe aurorasdeco:recipes/building_blocks/woodcutting/the_aether/crystal_planks due to a missing item tag the_aether:crystal_logs. This probably means the mod the_aether is very likely to break Vanilla's expectations! Please report this issue!
[23:47:29] [Render thread/ERROR] (AurorasDeco) [AurorasDeco] Could not build recipe aurorasdeco:recipes/building_blocks/woodcutting/the_aether/wisteria_planks due to a missing item tag the_aether:wisteria_logs. This probably means the mod the_aether is very likely to break Vanilla's expectations! Please report this issue!
[23:47:29] [Render thread/ERROR] (AurorasDeco) [AurorasDeco] Could not build recipe aurorasdeco:recipes/building_blocks/woodcutting/the_aether/skyroot_planks due to a missing item tag the_aether:skyroot_logs. This probably means the mod the_aether is very likely to break Vanilla's expectations! Please report this issue!
[23:47:29] [Render thread/ERROR] (AurorasDeco) [AurorasDeco] Could not build recipe aurorasdeco:recipes/building_blocks/woodcutting/the_aether/golden_oak_planks due to a missing item tag the_aether:golden_oak_logs. This probably means the mod the_aether is very likely to break Vanilla's expectations! Please report this issue!

Other mods
Aurora's Decorations (https://github.com/LambdAurora/AurorasDecorations)

Additional Information
No response

Thanks for reporting! Looks like we forgot some item tags.

Resolved in the 1.17 branch and 1.18

This has been fixed in 1.6.5+. Thanks for reporting!


How to access different building blocks API??

https://neuraloperator.github.io/neuraloperator/dev/modules/api.html#layers
Hi, I am unable to import layers from the Library. Please let me know how do I import it. Thanks

Can you share how you tried to import the layers?

Yeah I got it recitified as previously I tried importing using the following command.
from neuralop.models import FactorizedSpectralConv
now following it is working for me.
from neuralop.models.fno_block import FactorizedSpectralConv


YouTube time stamps

I've tried to create timestamps for the JuliaCon YouTube time stamps repo. I propose to open an issue with the following content:
YouTube: https://www.youtube.com/watch?v=hoViWRAhCBE
Talk repo: https://github.com/trixi-framework/talk-2021-juliacon
Package repo: https://github.com/trixi-framework/Trixi.jl
00:08 Welcome
00:46 Motivation and goals
03:32 Current state and simulation examples
05:47 Live demo: Introduction
06:36 Live demo: Creating a Trixi simulation from scratch
09:49 Live demo: Using a different initial condition
10:46 Live demo: Adaptive mesh refinement
12:22 Live demo: Advanced usage
14:08 Evaluating Julia for simulation science
14:15 Performance
17:36 Ease of use
18:03 Binary dependencies
19:04 Reproducibility
19:38 Extendability
22:44 Conclusions and outlook
@ranocha It would be great if you could check if the time stamps work for you as well, and if you would change anything (remove/add entries, rename titles etc.)

Sounds good to me. Feel free to go ahead as proposed

Done in https://github.com/JuliaCommunity/YouTubeVideoTimestamps/issues/72

Thanks! Can we close this?


[main] Update community files

Cron -knative-prow-robot
/cc knative-sandbox/networking-wg-leads
/assign knative-sandbox/networking-wg-leads
Produced by: knative-sandbox/knobots/actions/update-community
Details:

/lgtm
/approve

/lgtm
/approve

/verify-owners
https://github.com/knative/community/pull/904 added the member in knative-sandbox.


InjectionToken not included in metadata

Type of Issue
[x ] Bug Report
[ ] Feature Request

Description
I am exporting the following InjectionToken export const SX_NGX_FABRIC_DIALOG_DATA = new InjectionToken<any>('SxNgxFabricDialogData');
When I run ng-packagr, the InjectionToken is not included in the metadata.json file which resulted in the following error  Error encountered resolving symbol values statically. Only initialized variables and constants can be referenced because the value of this variable is needed by the template compiler when building with the following flags ng build --prod --aot --sourcemaps --build-optimizer --named-chunks --stats-json
How To Reproduce
Add an InjectionToken in you library, run ng-packagr and try to use that injection token in the app that refereneces the library. Project can be found here: https://github.com/Abrissirba/sx-ngx-fabric
Expected Behaviour
The injection token should be included in the metadata.json
Version Information
ng-packagr: v2.0.0-rc.3
node: v8.x.y
@angular:
rxjs: "^5.5.2",
zone.js: "^0.8.14"

I don’t see the token being included in any typescript decorator in your library. I believe the decorators are the source of that metadata. This looks like an incomplete use of the injection token in your library.

In my library the InjectionToken is only used in the following method in dialog.service.ts. This is the same way that angular material handles dialogs and in that library the InjectionToken is included in the metadata. https://github.com/angular/material2/tree/master/src/lib/dialog
 /**
   * Creates a custom injector to be used inside the dialog. This allows a component loaded inside
   * of a dialog to close itself and, optionally, to return a value.
   */
  private createInjector<T>(config: SxNgxFabricDialogConfig, dialogRef: SxNgxFabricDialogRef<T>): PortalInjector {
    const injectionTokens = new WeakMap();

    injectionTokens.set(SxNgxFabricDialogRef, dialogRef);
    injectionTokens.set(SX_NGX_FABRIC_DIALOG_DATA, config.data);

    return new PortalInjector(this.injector, injectionTokens);
  }

What I meant, is that you didn't include the token in a module's providers like angular material does. Yours is missing the injection token. Thus, it will not be part of the metadata.

I see, however if you look in the material file you linked there is also an InjectionToken called  MAT_DIALOG_DATA and that is not included in the modules provider from what I can see.

Good point. I just cloned your library and built it, then linked it, then built the demo app with the linked library with the compiler commands you provided and it worked perfectly. I wonder if there is something going on in the app you are trying to use your library from?

Specifically, it's having trouble resolving paths.
Field 'browser' doesn't contain a valid alias configuration
                    resolved symlink to C:\Users\dapar\source\repos\sx-ngx-fabric-master\dist-pkg\src\app\sx-ngx-fabric\dialog\index.ts.js
                      using description file: C:\Users\dapar\source\repos\sx-ngx-fabric-master\dist-pkg\package.json (relative path: ./src/app/sx-ngx-fabric/dialog/index.ts.js)
                        no extension
                          Field 'browser' doesn't contain a valid alias configuration
                          C:\Users\dapar\source\repos\sx-ngx-fabric-master\dist-pkg\src\app\sx-ngx-fabric\dialog\index.ts.js doesn't exist
                        .ts
                          Field 'browser' doesn't contain a valid alias configuration
                          C:\Users\dapar\source\repos\sx-ngx-fabric-master\dist-pkg\src\app\sx-ngx-fabric\dialog\index.ts.js.ts doesn't exist
                        .js
                          Field 'browser' doesn't contain a valid alias configuration
                          C:\Users\dapar\source\repos\sx-ngx-fabric-master\dist-pkg\src\app\sx-ngx-fabric\dialog\index.ts.js.js doesn't exist
                        as directory
                          C:\Users\dapar\source\repos\sx-ngx-fabric-master\dist-pkg\src\app\sx-ngx-fabric\dialog\index.ts.js doesn't exist

Hi all, what is the current status here?
The error Field 'browser' doesn't contain a valid alias configuration is pretty generic in Anguilar CLI and unfortunately there' not a "uniform" answer where it comes from and how to solve that error.

It appears I'm having the same issue. My use case is that I have a library that exports injection tokens, as an alternative to forRoot for providing runtime configuration. The consuming application then creates its own ConfigModule, whose job it is to provide those injection tokens based on the runtime environment. The exported module contains a static forRoot method as a convenience, however it doesn't seem to be possible to reference the same Injection tokens. They don't show up in the metadata, so I suspect it's the same cause.
Steps to reproduce:

Pull this branch - https://github.com/kangaroo-server/kangaroo-ui/tree/feature/login
yarn install
yarn build

Observed error:
 | ERROR in @kangaroo/authz-ui/modules/config/module.ts(43,5): Error during template compile of 'ConfigModule'
 |   Only initialized variables and constants can be referenced in decorators because the value of this variable is needed by the template compiler in 'oauthApiRootProvider'
 |     'oauthApiRootProvider' references 'OAUTH2_API_ROOT' at @kangaroo/authz-ui/modules/config/angular-authn-contracts.ts(39,12)
 |       'OAUTH2_API_ROOT' references 'OAUTH2_API_ROOT'
 |         'OAUTH2_API_ROOT' references 'OAUTH2_API_ROOT'
 |           'OAUTH2_API_ROOT' is not initialized at @kangaroo/@kangaroo/angular-authn/lib/oauth2/contracts.ts(6,22).

A bit more insight, and a workaround from #720 as applied to my case: Apaprently the issue is that - for whatever reason - the first entry point must be a direct reference to the barrel file, rather than the directory it lives in. This cascades - so if your public_api.ts is a barrel file, which itself imports from directories, the metadata won't be constructed properly.
The workaround for this issue is: Always refer barrel files directly, don't use directory resolution.

This workaround saved my life.


Add endLine/endColumn to analysis server structures (like Location/ElementDeclaration)

Some of the APIs in VS Code request line/column for both start and end positions, for example the symbol providers. When we have access to an open document, we can translate the offset/length into a line/column, however when there's no open document (for example in the workspace symbol list) we cannot. For now we've just been returning the startLine/startColumn as both the start/end positions, but that's started to show now that they're using ranges for other things, like arrange our symbols into an outline tree:

For now, I'm going to use the open document when we have it (document symbols) but continue the old behaviour when we don't (workspace symbols), but it'd be good if we could supply accurate data in all cases (it turns out we have a lot of places returning the same start/end because of this).

If it wouldn't take too long, could you put together a list of the structures that would need to be updated? It would be good to have a definitive list so that we don't miss any place and so that we know the scope of the work required.

Don't need this anymore, as in LSP we can easily compute this on the server.


add 2 byte field for extended advertisement event kind

The extended advertisement report has a 2 octet event kind field. One of the fields is actually a 2 bit value, which the macros don't support, hence the two fields. What's the preferred way to do that you think? I can see if I can expand the macro or maybe there is a more elegant way?

I've added the enum and methods for setting values using them.


Validate bugsnag.browser.page.url

Goal
Ensure bugsnag.browser.page.url attribute accurately reflects the new url after a route change
Changeset
Added a new url parameter to startRouteChangeSpan callback in listenForRouteChanges
Testing
Updated end to end tests

needed some extra work to handle not passing a valid URL, and updated to accept a string.


Option to Auto-Sync New Subcollections in Notero

I saw this plugin and it seems amazing!
Something I thought would be a great addition is having an option to activate sync of new subcollections that is created in Zotero. This would better the workflow, since it would be possible to organize the files in Zotero without the hassle of remembering to add them automatically.

@mathiashavskovdk, is #63 what you're looking for? That is, would you like Notero to sync all items in your library instead of only selected collections?

It would also be great with an option to sync all items in the library, but I also thought:
I would create a Zotero collection, I enable sync in Notero settings.
Then later I create a Zotero subcollection within the one where sync is enabled, where I store other sources. Instead of me having to remember to go to Notero settings and enable sync for this new subcollection it would be great if this new subcollection was automatically selected by default. If that makes sense

Ah, yes that does make sense! Thank you for elaborating. This is a great idea. 🙂

Coming here to support this request. Here is a common use case where this will be (very) useful: if you create a Collection in Zotero solely as a way to encompass several topics (e.g., Collection = Dissertation; Subcollections = Chapter 1, Chapter 2...), your Dissertation folder in Zotero doesn't really hold any items (even if you choose the option Show items from subcollections). So what ends up happening is that you have to Sync to Notion all Chapter 1, Chapter 2... subcollection folders individually. Not a drag, but a great opportunity for a better workflow since you are now able to sync individual folders under subcollections, as well as all subcollections under collections.


Internal compiler error: Verification failed: Struct access must be to a pointer value, not a { string<10> }

The following code produces an ICE when ref is removed from the impl method.
contract;

struct Todo {
    text: str[10]
}

impl Todo {
    fn update_text(ref mut self, text: str[10]) {
        self.text = text;
    }
}

storage {
    todo: Todo = Todo {
        text: "1234567890",
    }
}

abi Todos {
    #[storage(read, write)]
    fn update_text(text: str[10]);
}

impl Todos for Contract {
    #[storage(read, write)]
    fn update_text(text: str[10]) {
        storage.todo.update_text(text);
    }
}

Note that there was a fuel-toolchain.toml file at the time of writing this issue and all it contained is
[toolchain]
channel = "beta-3"

@tritao does the problem also affect mut struct arguments that are not self?

Ah excellent. Yeah we just have to disallow mut without ref for method parameters everywhere


Remove docker/ prefix from log messages tag

When I specify logger tag for application running in docker container, I expect all messages of application will have exact same tag, but actually every message tag prefixed with docker/. And there is no way to remove this prefix from tag.
Launch application
docker run -d --log-driver=syslog --log-opt syslog-address=udp://<IP_ADDRESS>:514 --log-opt tag="hello-world" hello-world

Expected log messages
...
Apr 27 09:10:55 example.com hello-world[755]: Hello from Docker.
Apr 27 09:10:55 example.com hello-world[755]: This message shows that your installation appears to be working correctly.
Apr 27 09:10:55 example.com hello-world[755]:
Apr 27 09:10:55 example.com hello-world[755]: To generate this message, Docker took the following steps:
...

Actual log messages
...
Apr 27 09:10:55 example.com docker/hello-world[755]: Hello from Docker.
Apr 27 09:10:55 example.com docker/hello-world[755]: This message shows that your installation appears to be working correctly.
Apr 27 09:10:55 example.com docker/hello-world[755]:
Apr 27 09:10:55 example.com docker/hello-world[755]: To generate this message, Docker took the following steps:
...

The prefix of docker/ is located in:
https://github.com/docker/docker/blob/v1.11.0/daemon/logger/syslog/syslog.go#L102-L104
where path.Base(os.Args[0]) is the file name of the docker daemon binary (docker or dockerd depending on the version of the docker).
If we want to allow unsetting the prefix of docker/ in syslog messages without changing the behavior by default, it might be possible to introduce an additional field for template so that it is adjustable.
I could create a PR to open further discussion about how to best handle the above mentioned situation.

+1 for the fix

@sempasha @sukrit007 The PR #22384 was created to address this issue. Please let me know if there are any issue.


Failed assertion: line 253 pos 10: 'data != null' A non-null String must be provided to a Text widget.

Hi,
I have a problem with Flutter. It worked normal before but suddenly had error like this:

@LIUHQ1216 Are you passing the value in the correct parameter? If yes, can you give me the snippet of code from where this error is being raised?

Are you passing the parameters correctly? If yes, can you give a small code snippet to reproduce the error? Thanks!

Hi @phoelapyae69
can you please provide your flutter doctor -v
and  a minimal code sample?
Please refrain from posting pictures if not necessary.
Thank you


Add option to bind speedtest to run on specific interface "--source SOURCE"

where SOURCE = eth0/wlan0/etc. or  IP address
We are contemplating migrating an existing project to nodejs where we'd need to be able to run the speedtest over multiple different interfaces (basically checking speedtest on wlan0 and eth0)
Similar to functionality on https://github.com/sivel/speedtest-cli
It would be preferable to be able to specify interface name (eth0) instead of the IP address (could use something like https://www.npmjs.com/package/network)
var speedTest = require('speedtest-net');
var test = speedTest({maxTime: 5000, source: "eth0"});

Should include interface in output also {interface: "eth0"} or {interface: "<IP_ADDRESS>"}
All tests should pass.

Posted to Bounty Source - https://www.bountysource.com/issues/61864865-add-option-to-bind-speedtest-to-run-on-specific-interface-source-source

It currently works with IP addresses only.


fix typo for Radiks

I found it when translate.
I fix it similar to other part, Radiks.

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


Added Ports to NodePort service-types in knative-serving

/lint
Fixes #1523
Proposed Changes
For the ServiceType NodePort it's now possible to add http-port and https-port. So the NodePorts of the service can be specified in the case that the standard isn't suitable.
Release Note
Added http-port and https-port for the ServiceType NodePort  (kourier config)

/ok-to-test

@eBeyond Plz fix all Golint naming issues.
You need to change the CRD as well, in order to add the fields.

Changed the Http/Https to HTTP/HTTPS as requested by the linter.
Added the fields to the CRD


unusable on linux

compile on ubuntu:18.04
TONContext initialization run fail

md5sum result
eec20d00ef84d348eb0ac38a8edb236c  wallet-main-release/WEB-INF/classes/libton_client_jni.so
but i can run on macos succfully

once you have a problem with loading libssl.so I guess you need to install openssl

since you have a problem with loading libssl.so I guess you need to install openssl

thx , i compiled again on server itself ,  and run fail saying this
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: JavaException', src/lib.rs:82:73
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Exception in thread "Thread-10" java.lang.NoClassDefFoundError: com/radiance/tonclient/TONContext
Caused by: java.lang.ClassNotFoundException: com.radiance.tonclient.TONContext
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
[2021-01-08 12:20:27] INFO [pool-1-thread-8] (HikariDataSource.java:110) - HikariPool-2 - Starting...
[2021-01-08 12:20:27] INFO [pool-1-thread-8] (HikariDataSource.java:123) - HikariPool-2 - Start completed.
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: PoisonError { .. }', src/lib.rs:36:40
fatal runtime error: failed to initiate panic, error 5

I'm working on the issue. Hope, I'll fix it by Monday
What Java JDK do you use? Supplier and version

I'm working on the issue. Hope, I'll fix it by Monday
What Java JDK do you use on Ubuntu? Supplier and version

thank you. I'll be expecting to hear from you.
my production env:
lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch
Distributor ID:	CentOS
Description:	CentOS Linux release 7.7.1908 (Core)
Release:	7.7.1908
Codename:	Core

java -version
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)

cat /proc/version
Linux version 3.10.0-693.el7.x86_64<EMAIL_ADDRESS>(gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) ) #1 SMP Tue Aug 22 21:09:27 UTC 2017

added a fix
try it again
let me know if it will not work

Thanks buddy, for providing me this fix!

Now, I have a dApp running and earn TONs of real money and you work for me for free. That's kismet.
You're my true hero! Thanks.

fixed with https://github.com/radianceteam/ton-client-java/commit/c2d7970b29339bc54a5b4ee7d036121e0dc69550

It compiled and run well now 👍
Igor Vasilev @.***>于2021年8月5日 周四03:13写道：

Closed #8 https://github.com/radianceteam/ton-client-java/issues/8.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/radianceteam/ton-client-java/issues/8#event-5113187726,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZRTYHCFQIHZ2NKNCTLX3DT3GGMJANCNFSM5BICS6UA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.


warden/cpi.yml causes interpolation error

Could not interpolate: Expected to find exactly one matching array item for path '/releases/name=bosh-warden-cpi' but found 0
this issues is because there is a mis configuration
https://github.com/cloudfoundry/bosh-deployment/blob/master/warden/cpi.yml#L3
this should be path: /releases/-
and version: is missing.
i will make a pull request

fixed in b848368815a2c81c59c8710850e7b56bc4649152


install bin/cachetool when used as library or global

so when run with composer require, you'll end up with bin/cachetool

Tagged 1.4.1


AddingPowerSupport_CI/Testing

Adding power support ppc64le with Continues Integration/testing so that code remains architecture independent.
This is part of the Ubuntu distribution for ppc64le. This helps us simplify testing later when distributions are re-building and re-releasing.
The build is successful on both arch: amd64/ppc64le, please find the Travis Link below.
https://travis-ci.com/github/santosh653/arrow

@santosh653 Do you still want to work on this? It looks like the Travis builds failed on your last attempts.

Closing as no response was received in the last N months.


Any explanation on what goes into which folder and why?

Sorry, not sure what you're asking for here, but I'd suggest reading:

https://redux.js.org/style-guide/style-guide#structure-files-as-feature-folders-or-ducks
https://redux.js.org/faq/code-structure#what-should-my-file-structure-look-like-how-should-i-group-my-action-creators-and-reducers-in-my-project-where-should-my-selectors-go


Format codebase, fix lint errors, add GitHub actions to check pull re…

Fixes #26
Recommend reviewing with whitespace hidden.
Yea this is quite the PR, but basically what I did was:
$ black server
$ cd client && npx prettier --write .

And then fix a few lint errors that were coming up from npx next lint. I wasn't able to enable a check for type-checking the client codebase as there were already a few type errors that seemed out of scope for this PR.

could u give an example of the type errors? will probably open new PR for type error checks

could u give an example of the type errors? will probably open new PR for type error checks

Just got back to my laptop, here's the full breakdown:
src/api/commander.ts(29,10): error TS2454: Variable 'res' is used before being assigned.
src/app/commanders/page.tsx(56,20): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ commanders: Record<string, { colorID?: string | undefined; wins?: number | undefined; winsSwiss?: number | undefined; winsBracket?: number | undefined; draws?: number | undefined; losses?: number | undefined; ... 5 more ...; winRateBracket?: number | undefined; }>; }'.
  No index signature with a parameter of type 'string' was found on type '{ commanders: Record<string, { colorID?: string | undefined; wins?: number | undefined; winsSwiss?: number | undefined; winsBracket?: number | undefined; draws?: number | undefined; losses?: number | undefined; ... 5 more ...; winRateBracket?: number | undefined; }>; }'.
src/app/commanders/page.tsx(57,20): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ commanders: Record<string, { colorID?: string | undefined; wins?: number | undefined; winsSwiss?: number | undefined; winsBracket?: number | undefined; draws?: number | undefined; losses?: number | undefined; ... 5 more ...; winRateBracket?: number | undefined; }>; }'.
  No index signature with a parameter of type 'string' was found on type '{ commanders: Record<string, { colorID?: string | undefined; wins?: number | undefined; winsSwiss?: number | undefined; winsBracket?: number | undefined; draws?: number | undefined; losses?: number | undefined; ... 5 more ...; winRateBracket?: number | undefined; }>; }'.
src/app/commanders/page.tsx(58,20): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ commanders: Record<string, { colorID?: string | undefined; wins?: number | undefined; winsSwiss?: number | undefined; winsBracket?: number | undefined; draws?: number | undefined; losses?: number | undefined; ... 5 more ...; winRateBracket?: number | undefined; }>; }'.
  No index signature with a parameter of type 'string' was found on type '{ commanders: Record<string, { colorID?: string | undefined; wins?: number | undefined; winsSwiss?: number | undefined; winsBracket?: number | undefined; draws?: number | undefined; losses?: number | undefined; ... 5 more ...; winRateBracket?: number | undefined; }>; }'.
src/app/commanders/page.tsx(59,20): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ commanders: Record<string, { colorID?: string | undefined; wins?: number | undefined; winsSwiss?: number | undefined; winsBracket?: number | undefined; draws?: number | undefined; losses?: number | undefined; ... 5 more ...; winRateBracket?: number | undefined; }>; }'.
  No index signature with a parameter of type 'string' was found on type '{ commanders: Record<string, { colorID?: string | undefined; wins?: number | undefined; winsSwiss?: number | undefined; winsBracket?: number | undefined; draws?: number | undefined; losses?: number | undefined; ... 5 more ...; winRateBracket?: number | undefined; }>; }'.
src/constants/filters.ts(3,29): error TS2307: Cannot find module './allFilters' or its corresponding type declarations.
src/context/filter.tsx(2,29): error TS2307: Cannot find module '@/constants/allFilters' or its corresponding type declarations.

could u give an example of the type errors? will probably open new PR for type error checks

Just got back to my laptop, here's the full breakdown:
src/api/commander.ts(29,10): error TS2454: Variable 'res' is used before being assigned.
src/app/commanders/page.tsx(56,20): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ commanders: Record<string, { colorID?: string | undefined; wins?: number | undefined; winsSwiss?: number | undefined; winsBracket?: number | undefined; draws?: number | undefined; losses?: number | undefined; ... 5 more ...; winRateBracket?: number | undefined; }>; }'.
  No index signature with a parameter of type 'string' was found on type '{ commanders: Record<string, { colorID?: string | undefined; wins?: number | undefined; winsSwiss?: number | undefined; winsBracket?: number | undefined; draws?: number | undefined; losses?: number | undefined; ... 5 more ...; winRateBracket?: number | undefined; }>; }'.
src/app/commanders/page.tsx(57,20): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ commanders: Record<string, { colorID?: string | undefined; wins?: number | undefined; winsSwiss?: number | undefined; winsBracket?: number | undefined; draws?: number | undefined; losses?: number | undefined; ... 5 more ...; winRateBracket?: number | undefined; }>; }'.
  No index signature with a parameter of type 'string' was found on type '{ commanders: Record<string, { colorID?: string | undefined; wins?: number | undefined; winsSwiss?: number | undefined; winsBracket?: number | undefined; draws?: number | undefined; losses?: number | undefined; ... 5 more ...; winRateBracket?: number | undefined; }>; }'.
src/app/commanders/page.tsx(58,20): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ commanders: Record<string, { colorID?: string | undefined; wins?: number | undefined; winsSwiss?: number | undefined; winsBracket?: number | undefined; draws?: number | undefined; losses?: number | undefined; ... 5 more ...; winRateBracket?: number | undefined; }>; }'.
  No index signature with a parameter of type 'string' was found on type '{ commanders: Record<string, { colorID?: string | undefined; wins?: number | undefined; winsSwiss?: number | undefined; winsBracket?: number | undefined; draws?: number | undefined; losses?: number | undefined; ... 5 more ...; winRateBracket?: number | undefined; }>; }'.
src/app/commanders/page.tsx(59,20): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ commanders: Record<string, { colorID?: string | undefined; wins?: number | undefined; winsSwiss?: number | undefined; winsBracket?: number | undefined; draws?: number | undefined; losses?: number | undefined; ... 5 more ...; winRateBracket?: number | undefined; }>; }'.
  No index signature with a parameter of type 'string' was found on type '{ commanders: Record<string, { colorID?: string | undefined; wins?: number | undefined; winsSwiss?: number | undefined; winsBracket?: number | undefined; draws?: number | undefined; losses?: number | undefined; ... 5 more ...; winRateBracket?: number | undefined; }>; }'.
src/constants/filters.ts(3,29): error TS2307: Cannot find module './allFilters' or its corresponding type declarations.
src/context/filter.tsx(2,29): error TS2307: Cannot find module '@/constants/allFilters' or its corresponding type declarations.

thanks! ill open another issue for these bugs

@g00gol I fixed those type errors in the second commit in this PR, for review here: https://github.com/EDH-Top-16/edhtop16-v2/pull/24/commits/2f7bdaad309199e1c5d737c7c92b7795bc35a58a

@rrdelaney looks great! sorry for not seeing this sooner. im approving it now


PNG and GIF format does´t work :(

What steps will reproduce the problem?
while download
What is the expected behavior? What do you get instead?
http://imgur.com/a/S1tZ7
this happen when i try open a png or gif in any program
What version of the program are you using? On what operating system?
5.2.1 Windows 7
Please provide any additional information below
this happen on all sources
jpg, jpeg and webm is ok

Can you upload one of those broken files and share the link?
Is this for batch download or download after clicking an image in the results?

http://www.mediafire.com/file/vcq366vt5k6t196/86ace16e106952d360c8785e4892deaa.png
batch download

Ok, thanks a lot, it's pretty critical so I'll push an update this afternoon. :smile:

thanks ;)


[Integrated terrminal] [Feature Request] Configuration option to show integrated terminal by default

VSCode Version: NA
OS Version: NA

Steps to Reproduce: NA
It would be nice to have a configuration option to show integrated terminal window by default.
Kind regards

The terminal window will always be restored if it was open when VS Code was shutdown. So if you never close it it should always restore. Would rather not add a configuration value for this as that system already exists, plus a setting would conflict with it and cause bloat.


⚠ Jenkins Plugins Artifactory has degraded performance

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

HTTP code: 200
Response time: 1408 ms

Resolved: Jenkins Plugins Artifactory performance has improved in a54b1d7 after 19 minutes.


How to calculate the bandwidth?

@a897456 half of input sampling rate (for which the model is designed).


Language: Do not allow deletion of a Language record if there are Contact Language records associated to it

Do you want to request a feature or report a bug?
Feature

What is the current behavior?
A Language record can be deleted. If there are Contact Language records associated to it, the Language lookup field is simply cleared.

What is the expected behavior?
A friendly error should be shown telling the user that the Language record cannot be deleted.
An admin cannot create a Contact Language record that does not lookup to a Language. In other words, "Language" is a required field on "Contact Language"

What is the motivation / use case for changing the behavior?
Deleting a Language record when there are Contact Language records still associated to it will lead to data loss in the customer org.

Acceptance Criteria

Given: There's a Language record with one or multiple Contact Language records associated to it
When: I attempt to delete that Language record
Then: A friendly error telling me that the Language record cannot be deleted should appear.

**Lurch: add

Tracking W-031969

Included in beta release 1.73 (Beta 5)

Included in production release 1.73


Issue with a severely lagging stream

Sometimes, when stream is lagging for more than 2-3 minutes, Youtube resets the stream, but webpage link stays the same.
ytarchive keeps waiting for fragments, even though the stream has restarted. (for example, there were 2201 fragments of the stream. then stream gets reset. it starts from 0 fragments, but ytarchive keeps waiting for fragment 2202.)

Known issue, see #56
It's been so long since I've had this issue I actually forgot about it though.


FT4222 i2c expander GPIO ISR bug fixes

This address issue #435 and updates libft4222 synchronization for improved thread safety.

This looks good but needs to be rebased ontop of 3b2a5b8429cfbd2622feb9c9738716d5f4a03eab and I didn't want to do it without testing - can you handle that?

I met with @Propanu yesterday and as he no longer has immediate need of his patch we agreed to merge it into my updates at a later date. Looking at the number of conflicts this is a good option. My mistake was not keeping you in the loop. I'll rebase ignoring some of his updates and will add full PCA9555  functionality in a later PR.

Rebased and pushed.

Hold off merging - i have found an issue with PCA9555 support.

Now ready for merge. PR adds support for PCA9555 ISRs and now includes @tingleby's libft4222 dlopen patch.

Thanks @whbruce for taking the time to refactor the code and making GPIO expanders more generic.

Thanks this is merged!


0x5c886B3Ed9fb762f1eB55EB98c00df4D3cF63322

Related Safe Addresses
list:
0xbee4eaef515072c41b23cbe937d48d8207de2e32
0x8dfd1f84cf9d29b4aaf6b2baf1c509164f73473e
0x8a368801a9a08a6e979978c6b831befa7b30f0ad
0x88e79af0c051a0cd0dda7138f647e0377c907e61
0x6b00e0465b7f2c45a0160d9ba1e301182caf2c26
0x4990a1ba078ac31eb955b1285516bc4e391f0e5e
0x45fc0f37fed5a45ee35287abb8ab95f33c7a51ed
0x45c3e85c6586501883141f7e33165cd5d19a9c9a
0x2db6320c647fe6af6ef096523387e43efc7ebe35
0x112efae30e371e43ff9719965048bff70f519e1c
Full List
"https://etherscan.io/txs?a=0x5c886b3ed9fb762f1eb55eb98c00df4d3cf63322&p=11"
-->
Reasoning
<Addresses are frequently created safe, but tokens are not deposited into the safe
-->
Methodology
Safe Address

duplicate of #109 it seems


actualize gc.su sync script

Use HTTPS since gc.su has migrated finally
Add short description of the purpose and cron schedule

I have no idea how often is it being run, so daily was just my guess, please confirm :)

Thanks.
Sync is one time per day https://github.com/geokrety/geokrety-scripts/blob/master/geokrety-crontab#L20

BTW from our side I increased the frequency and now we call export_oc.php from GK every 2 hours.
Also btw on GK website it's written that you sync with us every 2 hours as well :)
https://geokrety.org/help.php#fullysupportedwaypoints

Please change our frequency updtae rate in the open PR you ve made

I ve found the/an exports link in #328 https://api.geokrety.org/basex/export/ I agree it's not expected place and need to be fixed.
https://api.geokrety.org/basex/export/ are refreshed every 5 min, do you think they may be used on your side in place of oc_export?

Those are full exports, but we may easily propose exports for timespan like "changed last 2 hours", or have the endpoint from the xml database accepting modifiedsince parameter.
Sent from my Android device with K-9 Mail. Please excuse my brevity.

I think the current model with having endpoint for quick refresh (small amount of data, ok to be called several times per hour) and endpoint for full refresh (whole big chunk of data) is still good enough. It could be one endpoint for sure (?modifiedsince=1h vs ?modifiedsince=3000d), but in general it's still different use cases

any updates here?

@kumy we just migrated to UTF8,I forgot to update it here so now there are at least several badly synced GKs (see https://geokrety.org/konkret.php?id=70695)
Could you please merge this PR and do full refetch from our DB? Thanks

Ho, sorry I missed that one.

Done.

Thanks 🙏


http://repo.opensourceagility.com/release/ can't be reached

Due to external time and project commitments, I'm no longer able to continue active development of this project as of January 2016. Thank you to everyone involved in shaping the project over the past few years and thanks to all those who have raised issues and submitted pull requests over the time.

derjust has kindly offered to continue managing the progression of spring-data-dynamodb going forward - the latest version of the project can be found at the following fork:

https://github.com/derjust/spring-data-dynamodb
The maven central repo is here
https://mvnrepository.com/artifact/com.github.derjust/spring-data-dynamodb


Animated-wallpaper Project

Describe the project
This project is based on HTML & CSS like a window wallpaper
Issue Type:

[ ] Bug Report
[ ] Feature Request
[ ] Documentation
[x] New Project

Screenshots

please assign this issue to me under SSOC 2023 @TusharKesarwani @zugzwang03

Put modifications here, like why keep only "Hello Harsh" in the text, allow user to edit it, only then it becomes useful for all.

ok ma'am

great idea

great idea

thankyou😊

issue is solved🤝


[WIP]support dtype&scheme customization for QAT quantizer

I will rebase the master when #4127 is merged into master.

please fix the conflict


Create IPA by default

Add the capability to create an IOS .ipa file (as well as .app) in the build directory...
its as simple as
create a dir called "Payload"
copy  app_name.app into Payload folder
zip Payload folder
rename folder to app_name.ipa

I don't think this needs additional support to work. I am able to create an IPA by specifying the --device flag when running build ios. E.g.
phonegap -d build ios --device --buildConfig ~/keys/ios-build-config.json
You just need to make sure to pass the relevant signing flags along - in my example above, I used the --buildConfig option to specify all of the various signing flags together.
Closing this issue


IE9 error requestAnimationFrame is undefined

I get these errors on IE9:
SCRIPT5009: 'requestAnimationFrame' is undefined
SCRIPT5009: 'cancelAnimationFrame' is undefined

Any workaround?

Hi @hafez-bsup, requestAnimationFrame and cancelAnimationFrame are not supported in IE9. This is actually nothing related to v-tooltip. But you could try to use a polyfill to "fake" the native Browser API if it is not present.

Hi @hafez-bsup, requestAnimationFrame and cancelAnimationFrame are not supported in IE9. This is actually nothing related to v-tooltip. But you could try to use a polyfill to "fake" the native Browser API if it is not present.
Can you add this information to readme file?

Also need Promise. That is horrible, waste time for nothing


Cable Covers

[x] Add covers for Constructor / Destructor / Reader / Writer
[x] JEI integration
[x] Performance of the baked block model
[x] Hollow covers
[x] Narrow Hollow Covers

Any way you could add support for the Thermal Expansion/Dynamics covers? those support connected textures and are easy to use. I have no idea if this is even possible just tossing an idea out

No.

Implemented for 1.6


Femboy Pigment

Describe the feature
Femboy flag colored pigment for people like me (:
Additional context
No response

that's a pretty flag


Add title field to application form

To test -

Please create a new candidate on Apply and apply for a vacancy. Note whether the candidate is asked to enter title on the forms.
Please check submitted Applications to see if the title is displayed correctly.
Log in as an existing candidate and apply for a vacancy.
Please check if entered title is displayed correctly for old and new submitted Applications.
Please log into Admin and check old and new Applications - whether the title is displayed where it was entered and whether it is possible to change it as required.

Tested by user testing group with positive result. Also tested by me with a positive result.


Implement a basic Defi protocol based Pallet using the Substrate framework and deploy it on Parachain.

Description:
The Substrate framework is a huge collection of tools and libraries for building production-grade blockchain and its components. It is developed by Parity Technologies. Same Organisation which developed Polkadot.
This workshop will help developers build a basic Defi protocol based Pallet using the Substrate framework and deploy it on Parachain. Parachains are custom, project-specific blockchains that are integrated within the Polkadot ecosystem. Also, we will talk about best practices involved while developing production-grade Pallets, writing unit tests and benchmark codes. Other than this, we will talk about the underlying technology of Parachains and demonstrate its working.
Style of Session: 60-90 min workshop
Audience Type: Intermediate level
About the team: We are Blockchain Developers at Polkadex. Polkadex is a decentralized peer-to-peer orderbook-based cryptocurrency exchange for the DeFi ecosystem built on Substrate. We are India’s first organization that has an active Parachain Slot on Polkadot.

Speakers for this Workshop:-

Krishna Singh<EMAIL_ADDRESS>Emmanuel Thomas<EMAIL_ADDRESS>


Add show of lunches for next week for virtual

The feed at http://www.eastsideprep.org/wp-content/plugins/dpProEventCalendar/includes/ical.php?calendar_id=19 seems to have dried up. There is info at myschoolaccount.com (see below) but I don't see an easy way to access that info programatically.

@JonBriggs, any ideas here?

Closing in favor of #391.


Moving files requiring administrator privileges causes the application to restart.

Description
As told in the title.
Steps To Reproduce
To get the copy to fail:

Copy file
Go to Windows/Literally Anything
Paste.

The process will start, fail, and in Ongoing Tasks the attempt will be recorded and highlighted in red.
To get the app to crash:

Click and hold a file.
Drag to Windows/Literally Anything
Paste...

And watch the app restart itself.
Requirements

e.g. Fix crash that occurs when...
Should paste admin priv files without errors and crashes.

Files Version
<IP_ADDRESS>
Windows Version
10.0.19045.3208
Log File
debug.log
We could start a fire with this.
Get it?
Logs?
aha.

File operations requiring admin privileges will prompt you to elevate the app starting in the next version of Files.


[Proposal] Example PR for augmenting route modules on the client

A PR to demonstrate a proposal I wrote in the proposals channel (https://github.com/remix-run/remix/discussions/7016)

this is not required anymore thanks to Vite


Migrate scripted tests that use build.sbt

See the thread starting from https://github.com/sbt/incrementalcompiler/pull/73#issuecomment-189819488.

actually, hell no. zinc shouldn't depend on sbt.


Understanding prototypes and enumerations

I'm trying to enumerate properties of a "class" type I have defined in my app. However, I cannot get the right properties enumerated. The setup is this:

There's a base class EventEmitter.
This has a number of properties + methods, set on its prototype.
There's another class Process "derived" from EventEmitter.
This also has some properties defined on the Process prototype.
Finally there's an instance of that Process class.

Now trying to enumerat only the Process properties fails either with showing nothing (when using DUK_ENUM_OWN_PROPERTIES_ONLY) or all members of both Process and EventEmitter (when not using this flag). What would be the right way to only get the members defined on Process?

The easiest first step is to express what you want in pure Ecmascript.
If I understand correctly you would want to enumerate the immediate parent prototype related to the instance? If so, you would do something like:
// Or Object.keys() if you just want enumerable properties.
Object.getOwnPropertyNames(Object.getPrototypeOf(instance));

If you wanted to specifically enumerate Process.prototype, you would just use that in the expression.

Actually, I expected that when I enumerate own keys of an object (a function) this would include those of the prototype as well. From an inheritance standpoint (if you can name it so) the direct prototype is essentially part of the instantiated object, no?
Meanwhile I worked around this problem by doing 2 enumeration steps: 1. the object itself, 2. it's direct prototype. That gives me all I want, but looks a bit hacky. Also because the prototype for instanatiated objects and constructor functions ("classes") is different:
  ...
  duk_enum(ctx, -1, enumFlags);
  while (duk_next(ctx, -1, 1)) {
    // stack [ ... enum key value ]
    std::string key = duk_get_string(ctx, -2);
    if (key == "prototype") {
      duk_pop_2(ctx);
      continue;
    }
  ... recursively dump the member
  }

  duk_pop(ctx); // Remove the enumerator.

  // Now enumerate the immediate prototype.
  duk_get_prop_string(ctx, -1, "prototype"); // For classes.
  if (duk_is_undefined(ctx, -1)) {
    duk_pop(ctx);
    duk_get_prop_string(ctx, -1, "__proto__"); // For objects.
  }

  if (!duk_is_undefined(ctx, -1)) {
    duk_enum(ctx, -1, enumFlags);
    while (duk_next(ctx, -1, 0)) {
  ...

Btw. I tried to find the equivalent of getOwnPropertyNames but couldn't find anything that comes close, name wise. I guess the duk_enum() is what's used on C side instead (which I did)?

From an inheritance standpoint (if you can name it so) the direct prototype is essentially part of the instantiated object, no?

Hmm, I'm not 100% sure what you mean here. At least in Ecmascript the instance is considered a separate object for property handling purposes which serves at least two important points: (1) it keeps the instance size small as most properties are inherited (and not "own" properties), (2) it ensures that it's difficult to write to the prototype, affecting all instances, by accident (which is why writes go the instance).
I guess it would be technically possible for e.g. enumeration to obey some other conceptual model,
like recognizing instantiated objects and including their direct prototype in the enumeration result. This would be difficult without a lot of changes because in its core, Ecmascript doesn't really differentiate between instances and classes. It's all just objects with prototypes, despite the sugar.

Btw. I tried to find the equivalent of getOwnPropertyNames but couldn't find anything that comes close, name wise. I guess the duk_enum() is what's used on C side instead (which I did)?

Object.keys(), Object.getOwnPropertyNames() etc are all covered by duk_enum(), that's correct.

From an inheritance standpoint (if you can name it so) the direct prototype is essentially part of the instantiated object, no?

Hmm, I'm not 100% sure what you mean here. At least in Ecmascript the instance is considered a separate object for property handling purposes

Well, I'm too much into the C/C++ world here I guess, where the instance of a class (the object) of course also includes all the methods that are declared in the class. Not so in JS, but that's not true inheritance anyway. I just hoped there would be something that at least simulates this behavior in JS:
Thanks for your help Sami.

You're welcome, I hope you found a satisfactory solution.


Expanded Tx Power Mode

Please review @schilit @roywant

Same comment about Returns format.

Return Codes

Write Not Permitted when an attempt to write invalid values.

Done


Add VS Code's "Open with Code" to the Windows 11 context menu

Currently, I get this as the context menu when I right-click a folder in Windows 11.

I'd appreciate having the "Open with Code" option on this level, next to the "Open in Windows Terminal" option, without having to go into the "show more options" submenu.

/duplicate of #127365


On GCP providers, SSH into all nodes before running e2e tests.

Should (hopefully) fix #7714 (with help from #7990).
We think the problem is that nodes weren't syncing the key in-time before tests were run. This wouldn't happen on GCE because, as part of the kube-up process, GCE SSH's into the nodes using gcloud, which waits for the keys to be there.
Because GCE already does this, we probably only need to do it for GKE. But, if we're assuming this is done before tests are run, this will ensure that GCE deployment changes (e.g. master creating nodes) won't break the tests in the future, as this puts both GCE and GKE at a known state with respect to SSH-ability.
We're not sure exactly how the (public) key syncing works on VMs, so #7990 may be sufficient if they immediately pull all existing project keys on startup (because #7990 makes this key permanent, so it will exist before nodes are spun-up).

Is it worth waiting to see if #7990 makes the ssh test on GKE-CI go green before we submit this (as of now Jenkins hasn't even started a test run with that change in it)?

Good call—fixed by #7990/#8004. Closing.


Added Food Catcher

issue Fixed #412

Food Catcher Game:
Tech Stack: PYTHON

@TusharAMD please check


Add logout button to landing page

User can see there connected wallet address and logout

Works great, nice job!


Adds semantics role and annontates tabs

fixes https://github.com/flutter/flutter/issues/157824
engine: https://github.com/flutter/engine/pull/56318
Pre-launch Checklist

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

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

@chunhtai – will this help (fix) https://github.com/flutter/flutter/issues/157134 ?

yes it will


Bug: Error when createTx from Karura/Acala

Problem
Following the example code from README, it will result to an error if I try transferring from Acala/Karura network.
(Using version 0.0.3-2)

Suspect Problem
When I check in the built code in node_modules, the code used for acala adapter is old code, where it uses destWeight using number, instead of Unlimited.
Potential Solution
Publish new version using the newest commit.
How to Reproduce
Here's a simple js script that I use to confirm the error.
const { Bridge, ApiProvider } = require('@polkawallet/bridge')
const { firstValueFrom } = require('rxjs')
const { AcalaAdapter } = require('@polkawallet/bridge/build/adapters/acala')
const { PolkadotAdapter } = require('@polkawallet/bridge/build/adapters/polkadot')
const { ParallelAdapter } = require('@polkawallet/bridge/build/adapters/parallel')
const { FN } = require('@polkawallet/bridge/build/types')

const availableAdapters = {
  polkadot: new PolkadotAdapter(),
  acala: new AcalaAdapter(),
  parallel: new ParallelAdapter()
};

const bridge = new Bridge({
  adapters: Object.values(availableAdapters),
});

async function main () {
  const provider = new ApiProvider();
  const chains = Object.keys(availableAdapters);
  await firstValueFrom(provider.connectFromChain(chains, undefined));
  await Promise.all(chains.map((chain) => availableAdapters[chain].setApi(provider.getApi(chain))));

  bridge.findAdapter('acala').createTx({
    address: '[address]',
    amount: FN.fromInner('1000000000', 10),
    to: 'parallel',
    token: 'ACA'
  })
}

main()

npm latest version updated.


Issue with setup.py in Dataflow

Running scripts on Dataflow requires passing a setup.py, see: https://weatherbench2.readthedocs.io/en/latest/beam-in-the-cloud.html
However, the gcp requirements are not part of the base requirements in setup.py. Simply using pip install -e .[gcp] locally does not seem to be enough to have the required packages installed for the workers.
Is there a way to specify which requirements should be installed for the workers? If not, we might need to make the gcp requirements part of the base requirements.

In weather-tools we are explicitly specifying the requirements in setup.py (https://github.com/google/weather-tools/blob/main/setup.py#L17) .

I agree with Rahul. For this audience, having a pre-made Docker container is the way to go.