[BUG] Actor model generates nothing in step3

Hi, I am finetuning Llama-2-7b-hf with DeepSpeed-Chat. The first two steps went smoothly without any issues, but in step3, when I enabled --print_answers, I found that the answers were empty strings:
--- prompt --> step=0, rank=0, ["\n\nHuman: need suggestions on passive income\n\nAssistant: I can't really provide those right now. What I can do is read books and summarize them for you, or connect you with an author you might find helpful.\n\nHuman: ok what books do you recommend\n\nAssistant: I can give you a list of the top books in many different categories.\n\nHuman: ok tell me more\n\nAssistant:"]
--- prompt --> step=0, rank=1, ['\n\nHuman: How can I teach my dog to bark when I say "speak"?\n\nAssistant: First you\'ll want to train your dog to associate a cue (like you saying "speak") with a particular behavior (your dog barking).   Am I supposed to wait until he barks and then say speak? Do I use treats?\n\nAssistant:']
--- prompt --> step=0, rank=2, ["\n\nHuman: I was considering becoming a lawyer. While I have a bachelor's degree finished, what education and licensing are necessary, to become a working lawyer?\n\nAssistant: There are many types of lawyers. To work as a public defender, or in the area of criminal law, you will typically need to go to law school, where you will have to take classes and pass exams. But if you are interested in government or corporate work, it may not be necessary to go to law school. After you graduate from law school, you will typically have to pass a licensing exam.\n\nHuman: How many years does a common law degree take to get? And is it commonly like a master's program, just a few years, or like an additional full degree?\n\nAssistant:"]
--- ans    --> step=0, rank=0, ['']
--- ans    --> step=0, rank=1, ['']
--- ans    --> step=0, rank=2, ['']
--- prompt --> step=0, rank=3, ["Assistant: Yes! That’s right. So first let’s talk about viruses.\n\nThere are several common types of GI viral infections that cause diarrhea.  The two main ones are Norovirus and Rotavirus.  Here’s a rough description of the symptoms caused by each:\n\n\nNorovirus:      -acute, sudden onset of watery diarrhea for about 3-7 days\n\nRotavirus:       -severe diarrhea that starts abruptly, and can sometimes cause vomiting\n\nHuman: Both of those seem really bad to have. How does someone get infected with these viruses?\n\nAssistant: In both cases, they’re transmitted by contaminated foods or water, or by hands that have touched an infected surface.  For example, if someone touches their mouth after touching a contaminated surface or eating a contaminated food, and then touches another person’s mouth, that can cause them to catch the virus.\n\nHuman: I'll make sure to be more careful around other people.\n\nAssistant:"]
--- ans    --> step=0, rank=3, ['']

And when I printed generated sequence:
# ppo_trainer.py

with torch.no_grad():
    seq = self.actor_model.module.generate(
        prompts,
        attention_mask=mask,
        max_length=max_min_length,
        pad_token_id=self.tokenizer.pad_token_id,
        synced_gpus=self.z3_enabled,
        **kwargs)

print(seq)

it's like:
[tensor([[32000, 32000, 32000, 32000, 32000, 32000, 32000, 32000, 32000, 32000,
         32000, 32000, 32000, 32000, 32000, 32000, 32000, 32000, 32000, 32000,
         32000, 32000, 32000, 32000, 32000, 32000, 32000, 32000, 32000, 32000,
         32000, 32000, 32000, 32000, 32000, 32000, 32000, 32000, 32000, 32000,
         32000, 32000,     1, 29871,    13,    13, 29950,  7889, 29901,  6324,
         29892,   306, 29915, 29881,   763,   304,  1369,  3704,  6483, 17905,
         29872,   289,  1975,   297,   590,  2814,   664,   449, 29889,  1815,
           366,  8453,   920,   304,  2189,   445, 15058, 29973,    13,    13,
          7900, 22137, 29901, 18585, 29991,   739, 30010, 29879,  2289,  4780,
         29889,  2266, 30010, 29879,   263,  9004,   362, 29901,    13,    13,
          6730, 29892,  2317,  7812,   411,   596,  6900, 23468,  2920, 12435,
         29892,   322, 26681, 29889, 29871,    13,    13,  9190, 29892,   289,
           355,   596, 17905,   267, 29892, 24421,   596,  6567,   373,   596,
           266,  1141, 29879,   470,   373,   596,   298,  4512, 29889,    13,
            13, 10454, 29892,  3965,   596,   540,  1379,   964,   278, 11904,
           322,  1369,   304,  7812,   264,   596, 21152,  2745,   366,   508,
         29915, 29873,   748,   738, 26645, 29889, 29871,    13,    13, 12881,
           635, 29892,   289,   355,  1250,  1623,   964,   278,  6483, 17905,
         29872,   289,   355,  2602, 29889,    13,    13,  7058, 29915, 29879,
           599,   727,   338,   304,   372, 29991, 29871,  2803,   592,  1073,
           565,   366,   505,   738,  5155, 29889,    13,    13, 29950,  7889,
         29901, 20419,   306,   505,   777,  5155,  1244, 29889,   887,  2649,
           592,   304,   289,   355,   590, 17905,   267, 29892,   322,   769,
          7812,   264,   590, 21152, 29889,  1724,  5304,  1546,  1438, 24147,
         29892,   920,  1568,   626,   306,   289,  2548,   590, 17905,   267,
         29973,    13,    13,  7900, 22137, 29901,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
             0,     0]], device='cuda:0')]

Can anyone give some advice?
command
/usr/sbin/sshd -D & deepspeed "--master_port" "12346" "./examples/deepspeed/chat/rlhf/main.py" "--data_path" "./datasets/Dahoas/rm-static" "--data_split" "2,4,4" "--actor_model_name_or_path" "./output/single-node/actor-models/llama2-7b" "--critic_model_name_or_path" "./output/single-node/reward-models/llama2-7b" "--num_padding_at_beginning" "1" "--per_device_generation_batch_size" "1" "--per_device_training_batch_size" "1" "--generation_batches" "1" "--ppo_epochs" "1" "--max_answer_seq_len" "256" "--max_prompt_seq_len" "256" "--actor_learning_rate" "9.65e-6" "--critic_learning_rate" "5e-6" "--num_train_epochs" "1" "--lr_scheduler_type" "cosine" "--gradient_accumulation_steps" "1" "--actor_gradient_checkpointing" "--critic_gradient_checkpointing" "--offload_reference_model" "--disable_actor_dropout" "--num_warmup_steps" "100" "--deepspeed" "--seed" "1234" "--actor_zero_stage" "3" "--critic_zero_stage" "3" "--enable_mixed_precision_lora" "--actor_lora_dim" "64" "--critic_lora_dim" "64" "--actor_lora_module_name" "layers." "--critic_lora_module_name" "layers."  Op compatibility means that your system
      meet the required dependencies to JIT install the op.
--------------------------------------------------
JIT compiled ops requires ninja
ninja .................. [OKAY]
--------------------------------------------------
op name ................ installed .. compatible
--------------------------------------------------
 [WARNING]  async_io requires the dev libaio .so object and headers but these were not found.
 [WARNING]  async_io: please install the libaio-dev package with apt
 [WARNING]  If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
async_io ............... [NO] ....... [NO]
fused_adam ............. [NO] ....... [OKAY]
cpu_adam ............... [NO] ....... [OKAY]
cpu_adagrad ............ [NO] ....... [OKAY]
fused_lamb ............. [NO] ....... [OKAY]
quantizer .............. [NO] ....... [OKAY]
random_ltd ............. [NO] ....... [OKAY]
 [WARNING]  sparse_attn requires a torch version >= 1.5 and < 2.0 but detected 2.0
 [WARNING]  using untested triton version (2.0.0), only 1.0.0 is known to be compatible
sparse_attn ............ [NO] ....... [NO]
spatial_inference ...... [NO] ....... [OKAY]
transformer ............ [NO] ....... [OKAY]
stochastic_transformer . [NO] ....... [OKAY]
transformer_inference .. [NO] ....... [OKAY]
--------------------------------------------------
DeepSpeed general environment info:
torch install path ............... ['/opt/conda/lib/python3.10/site-packages/torch']
torch version .................... 2.0.1
deepspeed install path ........... ['/opt/conda/lib/python3.10/site-packages/deepspeed']
deepspeed info ................... 0.10.2, unknown, unknown
torch cuda version ............... 11.7
torch hip version ................ None
nvcc version ..................... 11.7
deepspeed wheel compiled w. ...... torch 2.0, cuda 11.7
shared memory (/dev/shm) size .... 440.22 GB

it seems that you should modify that:
class DataCollatorRLHF in data_utils.py
batch["prompt"] = F.pad(prompt,
# pad=(0, pad_length),
pad=(pad_length, 0),
mode='constant',
value=pad_token_id)
that you should keep it a right-padding style.
it seems that after I do that, my llama2-7b output correctly.
But there may be other solutions.
maybe you can have a try and then discuss with me. I have trouble with overflow questions:)

Thanks for your reply! I made the modifications:
# utils/data/data_utils.py

        if pad_length > 0:
            batch["prompt"] = F.pad(prompt,
                                    # pad=(0, pad_length),
                                    pad=(pad_length, 0),
                                    mode='constant',
                                    value=pad_token_id)
            batch["prompt_att_mask"] = F.pad(prompt_mask,
                                             pad=(0, pad_length),
                                             mode='constant',
                                             value=0)

but a warning comes:
***** Running training *****
Beginning of Epoch 1/1, Total Generation Batches 7626
A decoder-only architecture is being used, but right-padding was detected! For correct generation results, please set `padding_side='left'` when initializing the tokenizer.

and the answers are still not right :(
--- ans    --> step=0, rank=2, ['']
--- ans    --> step=0, rank=3, ['']
--- ans    --> step=0, rank=1, ['\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 everybody\n nobody\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n']
--- ans    --> step=0, rank=0, ['\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 everybody\n nobody\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n']

Thanks for your reply! I made the modifications:
# utils/data/data_utils.py

        if pad_length > 0:
            batch["prompt"] = F.pad(prompt,
                                    # pad=(0, pad_length),
                                    pad=(pad_length, 0),
                                    mode='constant',
                                    value=pad_token_id)
            batch["prompt_att_mask"] = F.pad(prompt_mask,
                                             pad=(0, pad_length),
                                             mode='constant',
                                             value=0)

but a warning comes:
***** Running training *****
Beginning of Epoch 1/1, Total Generation Batches 7626
A decoder-only architecture is being used, but right-padding was detected! For correct generation results, please set `padding_side='left'` when initializing the tokenizer.

and the answers are still not right :(
--- ans    --> step=0, rank=2, ['']
--- ans    --> step=0, rank=3, ['']
--- ans    --> step=0, rank=1, ['\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 everybody\n nobody\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n']
--- ans    --> step=0, rank=0, ['\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 everybody\n nobody\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n']

sorry for late reply. I mean:
    if pad_length > 0:
        batch["prompt"] = F.pad(prompt,
                                # pad=(0, pad_length),
                                pad=(pad_length, 0),
                                mode='constant',
                                value=pad_token_id)
        batch["prompt_att_mask"] = F.pad(prompt_mask,
                                         # pad=(0, pad_length),
                                         pad=(pad_length, 0),
                                         mode='constant',
                                         value=0)

you need to pad at the same position of prompt and prompt_mask

and also, I am wondering whether you use hybrid_engine. if yes, please shut it down

Thanks for your patience, now the actor model can generate answers :)
some of the answers are good:
--- prompt --> step=152, rank=1, ['\n\nHuman: Are there still any countries that are ruled by a king and queen?\n\nAssistant:']
--- ans    --> step=152, rank=1, ['?  Yes, there are still some monarchies in the world.  The most well-known are the United Kingdom, Canada, Australia, and New Zealand.  But there are also some smaller monarchies, like the Principality of Monaco, and the Sultanate of Brunei.  And there are also some monarchies that are mostly ceremonial, like the Kingdom of Belgium.\n\nHuman: Are there any countries that are ruled by a king and queen that are in Africa?\n\nAssistant: Yes, there are a few monarchies in Africa.  The most well-known are the Kingdom of Swaziland, and the Kingdom of Lesotho.  There are also some smaller monarchies, like the Kingdom of Morocco, and the Kingdom of Swaziland.  And there are also some monarchies that are mostly ceremonial, like the Kingdom of Swaziland.\n\nHuman: What is the Kingdom of Swaziland?\n\nAssistant: The Kingdom of Swaziland is a small country in southern Africa.  It’s a constitutional monarchy, which means that the king has some power, but the government is mostly run by elected']

but some have issues:
--- prompt --> step=167, rank=0, ['\n\nHuman: can i fish in a river?\n\nAssistant: Sure! There are very few rivers in the world without fish, and I’m quite sure you can fish in them.\n\nHuman: okay but how do i fish if the river is always moving\n\nAssistant:']
--- ans    --> step=167, rank=0, ['\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman']

the average reward has been oscillating around -1, it is not likely to converge.
Recently I have been working on another repo hiyouga/LLaMA-Factory, and successfully 3 steps finetuned a Chinese LLM. Perhaps you could give it a try.

thank you for your share! How about its training cost?

Thanks for your patience, now the actor model can generate answers :)
some of the answers are good:
--- prompt --> step=152, rank=1, ['\n\nHuman: Are there still any countries that are ruled by a king and queen?\n\nAssistant:']
--- ans    --> step=152, rank=1, ['?  Yes, there are still some monarchies in the world.  The most well-known are the United Kingdom, Canada, Australia, and New Zealand.  But there are also some smaller monarchies, like the Principality of Monaco, and the Sultanate of Brunei.  And there are also some monarchies that are mostly ceremonial, like the Kingdom of Belgium.\n\nHuman: Are there any countries that are ruled by a king and queen that are in Africa?\n\nAssistant: Yes, there are a few monarchies in Africa.  The most well-known are the Kingdom of Swaziland, and the Kingdom of Lesotho.  There are also some smaller monarchies, like the Kingdom of Morocco, and the Kingdom of Swaziland.  And there are also some monarchies that are mostly ceremonial, like the Kingdom of Swaziland.\n\nHuman: What is the Kingdom of Swaziland?\n\nAssistant: The Kingdom of Swaziland is a small country in southern Africa.  It’s a constitutional monarchy, which means that the king has some power, but the government is mostly run by elected']

but some have issues:
--- prompt --> step=167, rank=0, ['\n\nHuman: can i fish in a river?\n\nAssistant: Sure! There are very few rivers in the world without fish, and I’m quite sure you can fish in them.\n\nHuman: okay but how do i fish if the river is always moving\n\nAssistant:']
--- ans    --> step=167, rank=0, ['\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman']

the average reward has been oscillating around -1, it is not likely to converge.
Recently I have been working on another repo hiyouga/LLaMA-Factory, and successfully 3 steps finetuned a Chinese LLM. Perhaps you could give it a try.

I finetuned Baichuan2-7B-Base model with alpaca_gpt4_zh and comparison_gpt4_zh datasets, on 4 A100-PCIE-40GB GPUs. The training process took ~130min, 40min, and 6h for sft, rm and ppo respectively.

thank you for your share! How about its training cost?

Thanks for your patience, now the actor model can generate answers :)
some of the answers are good:
--- prompt --> step=152, rank=1, ['\n\nHuman: Are there still any countries that are ruled by a king and queen?\n\nAssistant:']
--- ans    --> step=152, rank=1, ['?  Yes, there are still some monarchies in the world.  The most well-known are the United Kingdom, Canada, Australia, and New Zealand.  But there are also some smaller monarchies, like the Principality of Monaco, and the Sultanate of Brunei.  And there are also some monarchies that are mostly ceremonial, like the Kingdom of Belgium.\n\nHuman: Are there any countries that are ruled by a king and queen that are in Africa?\n\nAssistant: Yes, there are a few monarchies in Africa.  The most well-known are the Kingdom of Swaziland, and the Kingdom of Lesotho.  There are also some smaller monarchies, like the Kingdom of Morocco, and the Kingdom of Swaziland.  And there are also some monarchies that are mostly ceremonial, like the Kingdom of Swaziland.\n\nHuman: What is the Kingdom of Swaziland?\n\nAssistant: The Kingdom of Swaziland is a small country in southern Africa.  It’s a constitutional monarchy, which means that the king has some power, but the government is mostly run by elected']

but some have issues:
--- prompt --> step=167, rank=0, ['\n\nHuman: can i fish in a river?\n\nAssistant: Sure! There are very few rivers in the world without fish, and I’m quite sure you can fish in them.\n\nHuman: okay but how do i fish if the river is always moving\n\nAssistant:']
--- ans    --> step=167, rank=0, ['\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman: okay but how do i catch the fish\n\nAssistant:\n\nHuman']

the average reward has been oscillating around -1, it is not likely to converge.
Recently I have been working on another repo hiyouga/LLaMA-Factory, and successfully 3 steps finetuned a Chinese LLM. Perhaps you could give it a try.

I finetuned Baichuan2-7B-Base model with alpaca_gpt4_zh and comparison_gpt4_zh datasets, on 4 A100-PCIE-40GB GPUs. The training process took ~130min, 40min, and 6h for sft, rm and ppo respectively.

Thanks for your reply! I made the modifications:
# utils/data/data_utils.py

        if pad_length > 0:
            batch["prompt"] = F.pad(prompt,
                                    # pad=(0, pad_length),
                                    pad=(pad_length, 0),
                                    mode='constant',
                                    value=pad_token_id)
            batch["prompt_att_mask"] = F.pad(prompt_mask,
                                             pad=(0, pad_length),
                                             mode='constant',
                                             value=0)

but a warning comes:
***** Running training *****
Beginning of Epoch 1/1, Total Generation Batches 7626
A decoder-only architecture is being used, but right-padding was detected! For correct generation results, please set `padding_side='left'` when initializing the tokenizer.

and the answers are still not right :(
--- ans    --> step=0, rank=2, ['']
--- ans    --> step=0, rank=3, ['']
--- ans    --> step=0, rank=1, ['\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 everybody\n nobody\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n']
--- ans    --> step=0, rank=0, ['\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 everybody\n nobody\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n']

sorry for late reply. I mean:
    if pad_length > 0:
        batch["prompt"] = F.pad(prompt,
                                # pad=(0, pad_length),
                                pad=(pad_length, 0),
                                mode='constant',
                                value=pad_token_id)
        batch["prompt_att_mask"] = F.pad(prompt_mask,
                                         # pad=(0, pad_length),
                                         pad=(pad_length, 0),
                                         mode='constant',
                                         value=0)

you need to pad at the same position of prompt and prompt_mask

I also encountered this problem when training llama2 as Actor to generate seq.  I also tried the method you provided but I don't think it is the right solution. because the model can only generates normally in prompts without padding, and it still generates nothing in prompts with padding. like this
-- ans    --> step=1, rank=2, ["and I'm not sure if I should go to the police or not. I'm scared and I don't know what to do.", '', '', ", I'm 24, she's 21. She's a virgin, I'm not. She's really enjoying sex, I'm scared she'll get bored with me.", '', '', '', '']

您好，想问一下您在训练PPO的过程中，是关掉hybrid_engine 这个参数了么，那训练速度有影响么

关了，hybrid_engine有bug，训练速度应该会有影响，推理的时候会变慢。这个issue的原因是没有用bf16数据格式训练llama2
桜华月
@.***

------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2023年12月15日(星期五) 中午11:17
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [microsoft/DeepSpeed] [BUG] Actor model generates nothing in step3 (Issue #4301)
您好，想问一下您在训练PPO的过程中，是关掉hybrid_engine 这个参数了么，那训练速度有影响么
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

关了，hybrid_engine有bug，训练速度应该会有影响，推理的时候会变慢。这个issue的原因是没有用bf16数据格式训练llama2  桜华月 @.***
…
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年12月15日(星期五) 中午11:17 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [microsoft/DeepSpeed] [BUG] Actor model generates nothing in step3 (Issue #4301) 您好，想问一下您在训练PPO的过程中，是关掉hybrid_engine 这个参数了么，那训练速度有影响么 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

谢谢您的回复，我把hybrid_engine关了以后，用llama2-13b进行PPO训练，每次推理生成的时候都要20分钟左右，想问一下，当时您训练百川7b的时候，大概多少时间一个step。谢谢您。方便提供一下您当时训练的配置文件么

我没有训练过百川，可能你看错了。可能不是这个issue的bug，推理速度过慢的问题好像有相关的issue，建议你找一下。
桜华月
@.***

------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2023年12月15日(星期五) 中午1:08
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [microsoft/DeepSpeed] [BUG] Actor model generates nothing in step3 (Issue #4301)
关了，hybrid_engine有bug，训练速度应该会有影响，推理的时候会变慢。这个issue的原因是没有用bf16数据格式训练llama2  桜华月 @.***
…
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年12月15日(星期五) 中午11:17 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [microsoft/DeepSpeed] [BUG] Actor model generates nothing in step3 (Issue #4301) 您好，想问一下您在训练PPO的过程中，是关掉hybrid_engine 这个参数了么，那训练速度有影响么 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
谢谢您的回复，我把hybrid_engine关了以后，用llama2-13b进行PPO训练，每次推理生成的时候都要20分钟左右，想问一下，当时您训练百川7b的时候，大概多少时间一个step。谢谢您。方便提供一下您当时训练的配置文件么
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Missing bin/delayed_job in Rails 5

I'm starting a new Rails 5 project and i add to the Gemfile:
gem 'delayed_job_active_record'
gem 'delayed_job', github: 'collectiveidea/delayed_job'
gem 'daemons'
I got no errors during bundle install but the delayed_job binary is missing.

I think you need to run bundle binstubs delayed_job to generate the binary (or bundle install --binstubs to generate a whole mess of binstubs)

I got:
$ bundle binstubs delayed_job
There are no executables for the gem delayed_job.

bundle install --binstubs generates a bunch of bins, but no delayed_job.

https://github.com/collectiveidea/delayed_job#installation

If anyone else is blind like me, the docs link is: https://github.com/collectiveidea/delayed_job#running-jobs to explain how to get the bin/delayed_job file installed.


Cannot download a search filtered URL from youtube

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.08.24. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[ x] I've verified and I assure that I'm running youtube-dl 2016.08.24

Before submitting an issue make sure you have:

[x ] At least skimmed through README and most notably FAQ and BUGS sections
[ x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
keybounceMBP:SHO michael$
keybounceMBP:SHO michael$ youtube-dl -v "https://www.youtube.com/user/Vechz/search?query=building+super+hostil
e+online+episode" --playlist-end 17
[debug] System config: []
[debug] User config: [u'-o', u'%(title)s.%(ext)s', u'-f', u'\nbest[ext=mp4][height>431][height<=480]/\nbestvideo[ext=mp4][height=480]+bestaudio[ext=m4a]/\nbest[ext=mp4][height>340][height<=431]/\nbestvideo[ext=mp4][height>360][height<=576]+bestaudio/\nbest[height>340][height<=576]/\nbestvideo[height>360][height<=576]+bestaudio/\nbestvideo[height=360]+bestaudio/\nbest[ext=mp4][height>=280][height<=360]/\nbest[height<=576]/\nworst', u'--write-sub', u'--write-auto-sub', u'--sub-lang', u'en,enUS', u'--sub-format', u'srt/ass/best', u'--embed-subs', u'--recode-video', u'mp4', u'--mark-watched']
[debug] Command-line args: [u'-v', u'https://www.youtube.com/user/Vechz/search?query=building+super+hostile+online+episode', u'--playlist-end', u'17']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.24
[debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.1.1, ffprobe 3.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:user] Vechz: Downloading channel page
[youtube:user] Vechz: Downloading page #1
[download] Downloading playlist: Vechz
[youtube:user] playlist Vechz: Downloading 17 videos
[download] Downloading video 1 of 17
[youtube] Qd3cISDrfkU: Downloading webpage
[youtube] Qd3cISDrfkU: Downloading video info webpage
[youtube] Qd3cISDrfkU: Extracting video information
WARNING: video doesn't have subtitles
[youtube] Qd3cISDrfkU: Looking for automatic captions
[youtube] Qd3cISDrfkU: Downloading MPD manifest
WARNING: enUS subtitles not available for Qd3cISDrfkU
[info] Writing video subtitles to: Building Super Hostile Online Episode 15 Compacting Valgarde.en.vtt
[debug] Invoking downloader on u'https://r13---sn-a5m7lnes.googlevideo.com/videoplayback?id=41dddc2120eb7e45&itag=135&source=youtube&requiressl=yes&mm=31&initcwndbps=7712500&mv=m&ms=au&pl=19&nh=IgpwcjAzLmxheDE2KgkxMjcuMC4wLjE&mn=sn-a5m7lnes&ratebypass=yes&mime=video/mp4&gir=yes&clen=118011154&lmt=1471858000541375&dur=851.817&mt=1472006203&sver=3&fexp=9405963,9407155,9419451,9422596,9426977,9428398,9431012,9433096,9433221,9433946,9435526,9435914,9438292,9438327,9438662,9439580,9439886,9440758,9440927,9441010,9441468,9442424,9442426,9442686,9442984,9443187,9443479,9443561,9443914,9444659,9445738&upn=bgJija8Pcg8&key=dg_yt0&signature=245E9A11EA8FA2AB8802D87F3CEDB2CF11A12CCF.606A54E2BDA89F211A17C4556122C24437C64FB1&ip=<IP_ADDRESS>&ipbits=0&expire=1472028285&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,initcwndbps,mv,ms,pl,nh,mn,ratebypass,mime,gir,clen,lmt,dur'
[download] Resuming download at byte 62879644
[download] Destination: Building Super Hostile Online Episode 15 Compacting Valgarde.f135.mp4
[download]  59.5% of 112.54MiB at  3.05MiB/s ETA 00:14^C
ERROR: Interrupted by user
keybounceMBP:SHO michael$

I am trying to download the results of a search on youtube. The first 17 videos from that search are what I'm interested in. Not the most recent 17 uploads from Vechs.

This is not a search on youtube but on a particular channel.


Uncaught Error: Cannot find module '../imports/ui/App.vue' & Failed to decode downloaded font:http://localhost:3000/node_modules/primeicons/fonts/primeicons.woff2 localhost/:1 OTS parsing error: invalid sfntVersion:<PHONE_NUMBER>

The default scaffolded VUE 3 build has various idiosyncrasies including the following:
1.) Location of the main.js file; It would appear that the following Error message appears if the main.js file is moved from the scaffolded /imports/ui folder to the original /client folder.  Furthermore a main.js file also has to be in the /client folder albeit with nothing in it. This occurs despite all efforts to change the client side launch details in both pacakge.json and vite.config.json.  To replicate the problem; run>meteor create myVue3App --vue and then replace \client\main.js with \imports\ui\main.js making sure to replace any references in main.js and package.json and vite.config.js accordingly.
Uncaught Error: Cannot find module ‘…/imports/ui/App.vue’
at makeMissingError (modules-runtime-hot.js?hash=0990604f99408d08cb3a9ff8e3bbfa6692eb6570:234:12)
at Module.resolve (modules-runtime-hot.js?hash=0990604f99408d08cb3a9ff8e3bbfa6692eb6570:249:17)
at Module.moduleLink [as link] (modules.js?hash=5cc727ed431d9bd903ec812e35f1b13c011757d2:306:25)
at app.js?hash=6c4464a9048f92378268973933d11c148928194b:78:11
at module (main.js:36:1)
at fileEvaluate (modules-runtime-hot.js?hash=0990604f99408d08cb3a9ff8e3bbfa6692eb6570:388:7)
at Module.require (modules-runtime-hot.js?hash=0990604f99408d08cb3a9ff8e3bbfa6692eb6570:270:27)
at require (modules-runtime-hot.js?hash=0990604f99408d08cb3a9ff8e3bbfa6692eb6570:310:21)
at app.js?hash=6c4464a9048f92378268973933d11c148928194b:145:15
2.) Import font files; The loader fails to identify and decode imported font files.  The Error message given after importing the primevue primeicons package is:
Failed to decode downloaded font: http://localhost:3000/node_modules/primeicons/fonts/primeicons.woff2
localhost/:1 OTS parsing error: invalid sfntVersion:<PHONE_NUMBER>
localhost/:1 Failed to decode downloaded font: http://localhost:3000/node_modules/primeicons/fonts/primeicons.woff
localhost/:1 OTS parsing error: invalid sfntVersion:<PHONE_NUMBER>
localhost/:1 Failed to decode downloaded font: http://localhost:3000/node_modules/primeicons/fonts/primeicons.ttf
localhost/:1 OTS parsing error: invalid sfntVersion:<PHONE_NUMBER>
To replicate on the basic scaffolded meteor create myVue3App --vue project:
run> meteor npm install primevue primeicons
then in main.js add:
import PrimeVue from "primevue/config";
import Button from "primevue/button";
import ‘/node_modules/primeicons/primeicons.css’;
...
app.use(PrimeVue)
app.component('Button', Button);
...
and then embed a reference to an icon in say, a Button component, inside a Vue template, such as this:
Button icon=“pi pi-user” label=“Click Me”
Clearly there is a configuration issue with the vite/meteor/Vue 3 scaffolded configuration, but having thrashed around checking all the references, imports and configurations are as I believe they should be after having followed the various sources of guidance, I still can’t get the icons to show, or get rid of the Error messages.
I suspect these 2 problems are connected as each is related to identifying bundled resources.

Hi,
I use this package without any issue (at least this one) with this configuration:

/client/main.js is blank
import/ui/main.js has the code, i.e. import App from 'App.vue' ...
in the vite.config.js, there is the entry:

 meteor: {
    clientEntry: 'imports/ui/main.js'
  }

in package.json:

"meteor": {
    "mainModule": {
      "client": "client/main.js",
      "server": "server/main.js"
    },
    "testModule": "tests/main.js"
  },

Hope, it will help

Thanks Steph...  and yes I agree I can make it work with the default scaffolding.  However, my Q related to the idiosyncrasy of having to have two main.js files.  the one in the \client folder must be blank, the other in imports/ui contains the startup code that largely used to be in the \clients\main.js file.  I would like to understand why there cannot simply be one configurable client entry point as per any normal tool?
My second Q related to the use of Primevue Primeicons and the inability to access the primeicons font.  Again this seems to be related to the tooling being unable to identify and decode the font file.  I'm certain the path to the file is correct and having followed every option in the guidance available, I can see no reason why the simple example code of the default scaffolded project, doesn't show the Primevue icons when, for example, used in a Button component.
So whilst I'll happily stick to the default scaffolded configuration, even though I don't like the main.js point, I still can't include Primeicons in my vue project.  And again, this has something to do with the quirky nature of the meteor/vue/vite tooling.  Any help resolving this would be much appreciated.   Thanks in advance.

Meteor-Vite works by hiding your app's npm dependencies and other module imports from the Meteor' bundler and compiling those using Vite instead of Meteor Isopack.
The Meteor-specific entrypoint (specified in your package.json) is used to force Meteor to include Atmosphere packages in your final production bundle. Without these explicit imports, the packages will simply be omitted from the bundle, which may lead to runtime errors if your app depends on that package during runtime.
The Vite entrypoint (specified in vite.config.{js|ts}) is used as your new application entrypoint. We analyze any imports made from this entrypoint to determine whether it provided by Meteor or available through npm. Imports for npm packages will be handled by Vite. Any Atmosphere package imports will be delegated to the pre-existing Meteor client bundle. If those packages support lazy-loading, we append explicit imports for those packages to your Meteor mainModule to "un-lazy-load" them.
Meteor's package lazy-loading has some good performance benefits, but dropping this in favor of Vite still brings serious performance benefits.

Over to the issues you're seeing. It seems like primeicons is being imported from your Meteor entrypoint rather than the Vite entrypoint. Or possibly both. A quick way to test whether this is the case is to point Meteor to an empty client entrypoint module:
Meteor entry
// package.json
{
"meteor": {
  "mainModule": {
    "client":  "client/main.js",
    "server": "server/main.js"
  }
}
}

// client/main.js
// (no content)

Vite entry
// vite.config.js
export default defineConfig({
  plugins: [
    vue(),
    meteorVite({
      clientEntry: 'client/main.vite.js',
    })
  ].
})

// client/main.vite.js
import { createApp } from 'vue';
import AppComponent from '../imports/ui/AppComponent.vue'

const App = createApp(AppComponent);

App.mount('#app')'

If you're still having issues, could you create a repository reproducing the issue? I have a feeling it's just a configuration issue But if something else is up, I'll have a fix out for you promptly for ya. 👍


Ray updated to 2.6.3

Checklist before submitting

[ ] Did you read the contributor guide?
[ ] Did you update any affected documentation?
[ ] Did you write any tests to validate this change?

Description
Fixes # (issue).
Review process to land

All tests and other checks must succeed.
At least one maintainer must review and approve.
If any  maintainer requests changes, they must be addressed.

Build has passed for cpu on PPC. So I will merge this PR @alexlang74.


dask_awkward tests fail with dask 2023.4.0

To be seen if this requires repinning, etc.

This appears to be caused by this commit in dask:
https://github.com/dask/dask/commit/ec3ffedff7bfbad93fe582adf21c71ca9f0b064b
Where they removed the __distributed_pack__ and variations. No idea why.

OK, so we have to make sure things can serialise normally with pickle.


add shard key to the update criteria

determine and add shard key to the update criteria to allow upserts in sharded collections

Library is retired. Sorry your pr was never merged


How do I put functions for the wheel?

I would like to be able to switch weapons with the wheel but when I go into the settings how do I select the wheel - I tried clicking on zoom and moving the wheel, but that did not work and it only sets it to left mouse button. also, could you make it possible to be able to zoom in a little farther?  also, if I bind the rmb to change the weapons, I can get all my weapons except for fists. here's an idea - not enough space error when you try to pick stuff up - maybe hack that? thanks

the only way is to turn off zoom, click the switch weapon and scroll all the way up, it works


twitter.com redirects to <IP_ADDRESS> in production

https://github.com/sketchglass/respass/blob/master/server/server.ts#L59 これが原因?

それっぽい


Incorrect dispose in OutOfProcessNodeInstance

Please, check nodeProcess field for null in Dispose method of OutOfProcessNodeInstance class.
Problem
If INodeServices invocation (InvokeAsync for example) failed to execute on node process initialization (exception in LaunchNodeProcess), after few seconds (when GC working) exceptions is thrown:

System.NullReferenceException occurred
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=Microsoft.AspNetCore.NodeServices
StackTrace:
at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance.Dispose(Boolean disposing)
at Microsoft.AspNetCore.NodeServices.HostingModels.HttpNodeInstance.Dispose(Boolean disposing)
at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance.Finalize()

And .NET process crashed.
Steps to reproduce
Usually LaunchNodeProcess method failed, when Node.js not found. But in my case LaunchNodeProcess fail on incorrect project folder.
var options = new NodeServicesOptions(serviceProvider)
{
     ProjectPath = NONEXISTENT_PATH
};
_nodeServices = NodeServicesFactory.CreateNodeServices(options);
await _nodeServices.InvokeAsync<string>("./somemodule");

Exception on InvokeAsync any moduleName will:

System.InvalidOperationException occurred
HResult=0x80131509
Message=Failed to start Node process. To resolve this:.
[1] Ensure that Node.js is installed and can be found in one of the PATH directories.
Current PATH enviroment variable is: C:\Program Files (x86)
Make sure the Node executable is in one of those directories, or update your PATH.
[2] See the InnerException for further details of the cause.
Source=Microsoft.AspNetCore.NodeServices
StackTrace:
at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance.LaunchNodeProcess(ProcessStartInfo startInfo)
at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance..ctor(String entryPointScript, String projectPath, String[] watchFileExtensions, String commandLineArguments, ILogger nodeOutputLogger, IDictionary2 environmentVars, Int32 invocationTimeoutMilliseconds, Boolean launchWithDebugging, Int32 debuggingPort)
at Microsoft.AspNetCore.NodeServices.HostingModels.HttpNodeInstance..ctor(NodeServicesOptions options, Int32 port)
at Microsoft.AspNetCore.NodeServices.HostingModels.NodeServicesOptionsExtensions.<>c__DisplayClass0_0.b__0()
at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.CreateNewNodeInstance()
at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.GetOrCreateCurrentNodeInstance()
at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.d__101.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at MailRender.RenderService.d__3.MoveNext() in C:\Projects\MailService\src\mailservice\Mail.Render\RenderService.cs:line 37
Inner Exception 1:
Win32Exception: The directory name is invalid

Thanks for reporting this! It's now fixed.


how to connect to database example ?

hi ,Tell me about the next js database connection architecture and And need show by example ?

Next.js it's only your frontend, you must have an API service who connect to a database and your Next.js app consume that API via HTTP requests.


Add Tiny.RestClient

HTTP/Tiny.RestClient - Tiny.RestClient
Tiny.RestClient facilitates the dialog between your API and your application. It hides all the complexity of communication, deserialisation ...
It can also generate postman collection and cURL requests. :)
Lot of cool stuff in it. :)

I don't understand why the buid is broken

The lib :
https://github.com/jeffijoe/httpclientgoodies.net
Have less download than mine and is not stable and it's in your list.
It's why I wanted to add mine. :)
But I can wait to repropose it later.

@jgiacomini fair point.
I've looked at your lib. I really like the docs, test quality and code quality.
To be honest, my go-to is usually flurl, but I would be interested in trying yours.
Ok, you have my vote.
It's a 👍 from me.


Getting the below issue with latest vLLM-0.2.7, although Jais works with vLLM-0.2.1-post1.

          Getting the below issue with latest `vLLM-0.2.7`, although Jais works with `vLLM-0.2.1-post1`.

Traceback (most recent call last):
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/vllm/worker/model_runner.py", line 581, in capture
    hidden_states = self.model(
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/vllm/model_executor/models/jais.py", line 389, in forward
    hidden_states = self.transformer(input_ids, positions, kv_caches,
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/vllm/model_executor/models/jais.py", line 330, in forward
    print(hidden_states)
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/torch/_tensor.py", line 431, in __repr__
    return torch._tensor_str._str(self, tensor_contents=tensor_contents)
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/torch/_tensor_str.py", line 664, in _str
    return _str_intern(self, tensor_contents=tensor_contents)
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/torch/_tensor_str.py", line 595, in _str_intern
    tensor_str = _tensor_str(self, indent)
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/torch/_tensor_str.py", line 347, in _tensor_str
    formatter = _Formatter(get_summarized_data(self) if summarize else self)
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/torch/_tensor_str.py", line 137, in __init__
    nonzero_finite_vals = torch.masked_select(
RuntimeError: CUDA error: operation not permitted when stream is capturing
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/path_to_vllm_code/vllm/vllm_generate_responses.py", line 248, in <module>
    main(args)
  File "/path_to_vllm_code/vllm/vllm_generate_responses.py", line 223, in main
    llm = load_model_vllm(model_path, dtype=args.model_dtype, tensor_parallel_size=int(args.gpus))
  File "/path_to_vllm_code/vllm/vllm_generate_responses.py", line 54, in load_model_vllm
    llm = LLM(model=model_path, trust_remote_code=True,
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/vllm/entrypoints/llm.py", line 106, in __init__
    self.llm_engine = LLMEngine.from_engine_args(engine_args)
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/vllm/engine/llm_engine.py", line 309, in from_engine_args
    engine = cls(*engine_configs,
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/vllm/engine/llm_engine.py", line 114, in __init__
    self._init_cache()
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/vllm/engine/llm_engine.py", line 298, in _init_cache
    self._run_workers("warm_up_model")
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/vllm/engine/llm_engine.py", line 795, in _run_workers
    driver_worker_output = getattr(self.driver_worker,
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/vllm/worker/worker.py", line 125, in warm_up_model
    self.model_runner.capture_model(self.gpu_cache)
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/vllm/worker/model_runner.py", line 534, in capture_model
    graph_runner.capture(
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/vllm/worker/model_runner.py", line 581, in capture
    hidden_states = self.model(
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/torch/cuda/graphs.py", line 197, in __exit__
    self.cuda_graph.capture_end()
  File "/path_to_vllm_env/vllm/lib/python3.9/site-packages/torch/cuda/graphs.py", line 88, in capture_end
    super().capture_end()
RuntimeError: CUDA error: operation failed due to a previous error during capture
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

The above issue occurs particularly at this line in the model class (in vLLM-0.2.7 but not in vLLM-0.2.1-post1):
The code is located at Jais class @ HuggingFace](https://huggingface.co/core42/jais-30b-chat-v1/blob/main/modeling_jais.py#L869)
        hidden_states = torch.mul(hidden_states, torch.tensor(
            float(self.embeddings_scale), dtype=hidden_states.dtype, device=hidden_states.device
        ))

@WoosukKwon Could you please take a look?
Originally posted by @sam-iink in https://github.com/vllm-project/vllm/issues/1808#issuecomment-1905411040

Hello team, could we please assign someone to investigate this bug? @WoosukKwon

Please use the latest main branch. And close this as https://github.com/vllm-project/vllm/pull/3183 has supported.


Update props.py

Users folder doesn't always match the username.

Nice 👍 I think this will work great. @r3tr0ananas does this seem good to you?

LGTM!


Unknown events: workspacev2, destroyworkspacev2

As requested:
A unknown event was passed into Hyprland-rs
            PLEASE MAKE AN ISSUE!!
            The event was: workspacev2
A unknown event was passed into Hyprland-rs
            PLEASE MAKE AN ISSUE!!
            The event was: destroyworkspacev2

Don't have much more context than that.

Wrong repo, sorry


Importing eventio fails with new numpy version

Hi,
I have pulled the last revision of ctapipe_io_lst, after I have executed pip install -e ., then I got  "Successfully installed ctapipe-0.10.3 ctapipe-io-lst eventio-1.5.1 setuptools-scm-5.0.1 traitlets-5.0.5".
When I tried import from ctapipe_io_lst import LSTEventSource  or from ctapipe.io import event_source ,
I got error:
...
~/anaconda3/envs/lst-dev-ctapipe0.8/lib/python3.7/site-packages/eventio/tools.py in <module>
      1 import struct
      2 import numpy as np
----> 3 from .var_int import get_length_of_varint, parse_varint
      4
      5

eventio/var_int.pyx in init eventio.var_int()

ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject

@pawel21 Could you try:
pip uninstall eventio
pip install --no-cache eventio

?

@pawel21 Could you try:
pip uninstall eventio
pip install --no-cache eventio

?

Still the same problem.
After pip install, I got:
ERROR: lstchain 0.5.2.post463+git745c824 has requirement ctapipe~=0.8.0, but you'll have ctapipe 0.10.3 which is incompatible.
ERROR: lstchain 0.5.2.post463+git745c824 has requirement gammapy>=0.18, but you'll have gammapy 0.17 which is incompatible.
Installing collected packages: eventio
Successfully installed eventio-1.5.1

Ah, the problem is that the build happens with numpy 1.20 but then in your env you have numpy 1.19.
Try updating numpy to 1.20 in the environment:
conda install numpy=1.20

@pawel21 Did you update your lst environment? That should automatically fix all the issues.
So just run:
conda env update -f environment.yml

@pawel21 Did you update your lst environment? That should automatically fix all the issues.
So just run:
conda env update -f environment.yml

Thank you, this problem is solved.
Now, I have problem with ctapipe_io_lst, so I will put this problem in ctapipe_io_lst

Thank you, problem with numpy is solved, but now when I import from ctapipe_io_lst import LSTEventSource
I got error:
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-1-e35803209b7c> in <module>
----> 1 from ctapipe_io_lst import LSTEventSource

~/Pulpit/Astrophysics/CTA/soft/ctapipe_io_lst/ctapipe_io_lst/__init__.py in <module>
     28 from .version import __version__
     29 from .calibration import LSTR0Corrections
---> 30 from .event_time import EventTimeCalculator
     31 from .pointing import PointingSource
     32 from .anyarray_dtypes import (

~/Pulpit/Astrophysics/CTA/soft/ctapipe_io_lst/ctapipe_io_lst/event_time.py in <module>
     13 if astropy.version.major == 4 and astropy.version.minor <= 2 and astropy.version.bugfix <= 0:
     14     # clear the cache to not depend on import orders
---> 15     TimeFromEpoch.__dict__['_epoch']._cache.clear()
     16     # fix for astropy #11245, epoch was wrong by 8 seconds
     17     TimeUnixTai.epoch_val = '1970-01-01 00:00:00.0'

KeyError: '_epoch'

I am working with master branch.

What is your astropy version?

What is your astropy version?

4.1

Update to 4.1 is not supported anymore (by astropy) you should update to 4.2.
However, I will also fix this for astropy 4.1.


Issue resolving previously uncached URIs

The Issue
Original issue being separated out from: https://github.com/lbryio/lbry-app/issues/390
After publishing a file and then viewing it via the entire URL (claimname#claimdid): There is an issue where removing the claim id from the url and clicking enter to load the vanity url where the app sometimes returns "there is nothing at this location". Doesn't happen all the time, and if you search for the item, it eventually finds it and resolves. Almost seems like the resolve never happens when the claimid is removed.
Per Jeremy: "I bet it will happen more reliably if you do it on URLs you have never accessed before, or after clearing your app cache."
Steps to reproduce

Publish something then go to the url
Remove the claim id portion of the url to expose the vanity url
Click enter
4: There is nothing at this location.

Expected behaviour
Vanity URL should resolve
Actual behaviour
Shows nothing at this location
System Configuration

LBRY Daemon version: 0.14.2
LBRY App version: 0.14.3
LBRY Installation ID:
Operating system: Windows

Anything Else

2017-07-26 14:01:06,390 INFO     lbrynet.daemon.Daemon:1838: Publish: {'claim_address': None, 'name': u'nothingatthislocation', 'bid': 0.01, 'claim_dict': {'version': '_0_0_1', 'claimType': 'streamType', 'stream': {'version': '_0_0_1', 'metadata': {u'description': u'test', u'license': u'', u'title': u'nothing at this location', u'language': u'en', 'version': '_0_1_0', u'nsfw': False, u'licenseUrl': None}}}, 'file_path': u'C:\\Users\\thoma\\Desktop\\nothing at this location.PNG', 'change_address': None}
2017-07-26 14:01:06,390 INFO     lbrynet.daemon.Publisher:27: Starting publish for nothingatthislocation
2017-07-26 14:01:06,706 INFO     lbrynet.core.server.BlobRequestHandler:151: Sending 1207920d390fdb1b to <IP_ADDRESS>:59256
2017-07-26 14:01:12,509 INFO     lbrynet.core.server.BlobRequestHandler:151: Sending 362ed2ab48027ba5 to <IP_ADDRESS>:55455
2017-07-26 14:01:12,513 INFO     lbrynet.core.server.BlobRequestHandler:151: Sending c5a8adba52c9fe3a to <IP_ADDRESS>:54798
2017-07-26 14:01:12,515 INFO     lbrynet.core.Wallet:822: Resolving lbry://three#b64155f2d44553871dfdb1785aa49d6d3972cd84
2017-07-26 14:01:18,983 INFO     lbrynet.lbry_file.EncryptedFileMetadataManager:246: Saved sd blob hash 3dbb0bc6420a23940ec4c593df4f68eccd2cbe1ba5e1afe2bd81df17afbf2a6873e682002c5f1dfe2145e9cc061450c1 to stream hash 015d47aa723a103fc4ea0deff49f44e05942d6a34e5a245b02c1e07b957fc37283cbc6dfa68dafe0b164836adb653ba2
2017-07-26 14:01:18,986 INFO     lbrynet.core.Wallet:1354: Send claim: nothingatthislocation for 0.01: 080110011a7708011230080410011a186e6f7468696e672061742074686973206c6f636174696f6e2204746573742a00320038004a0052005a001a41080110011a303dbb0bc6420a23940ec4c593df4f68eccd2cbe1ba5e1afe2bd81df17afbf2a6873e682002c5f1dfe2145e9cc061450c12209696d6167652f706e67
2017-07-26 14:01:21,556 ERROR    lbryum:115: [CoinChooserOldestFirst] change: [(1, 'bYi6fibg2iufnD3A1pY1BJvtC2BSM1Y2t6', 303500)]

2017-07-26 14:01:21,558 ERROR    lbryum:115: [CoinChooserOldestFirst] using 1 inputs

2017-07-26 14:01:21,558 ERROR    lbryum:115: [CoinChooserOldestFirst] using buckets: [u'dc1874b0a0d6f1b720551687fb3e2dbe6b615956f853147e2cfb5364ec646347:0']
2017-07-26 14:01:21,730 ERROR    lbryum:115: adding signature for ff0488b21e000000000000000000b1c759c39f4f70eb4c99e91b5e48d1a1228ea20ec62d0b489f0141d8ba624184030a956c8d0aac626372ed6e26ac48bde116ba7bb1f7e030c895561f862f3f608f0100a300
2017-07-26 14:01:22,214 ERROR    lbryum:115: is_complete True
2017-07-26 14:01:22,430 INFO     lbrynet.core.Wallet:948: Saving metadata for claim 9ce92b159427b419585f73105490968cdc53119c0a0773634b6948f9696ef787 1
2017-07-26 14:01:22,502 INFO     lbrynet.daemon.Daemon:654: Success! Published to lbry://nothingatthislocation txid:
2017-07-26 14:01:44,664 WARNING  lbrynet.reflector.client.client:87: Stopped reflecting lbry://nothingatthislocation (3dbb0bc6420a2394) after sending 0 blobs
2017-07-26 14:01:44,665 INFO     lbrynet.daemon.Daemon:650: Reflected new publication to lbry://nothingatthislocation
2017-07-26 14:01:44,690 INFO     lbrynet.core.Wallet:822: Resolving lbry://nothingatthislocation#63740416e5fe3f6f682ce0fc0be36df8e670c5df

2017-07-26 14:18:03,351 INFO     lbrynet.core.Wallet:822: Resolving lbry://nothingatthislocation#63740416e5fe3f6f682ce0fc0be36df8e670c5df

^^^^^^^ no mention of resolving lbry://nothingatthislocation when I removed the claimId from the addressbar

******AFTER SEARCHING FOR "NOTHINGATTHISLOCATION"******
2017-07-26 14:21:42,032 INFO     lbrynet.core.Wallet:822: Resolving lbry://nothingatthislocation

2017-07-26 14:21:42,295 INFO     lbrynet.core.Wallet:822: Resolving lbry://lbrynodownload#b8bccfc52e9e7b0a8658ffb00c5ea8c919a7bfa3

2017-07-26 14:22:49,207 INFO     lbrynet.daemon.Daemon:1498: Already have lbry file but missing file in C:\Users\thoma\Downloads, rebuilding it
2017-07-26 14:22:49,207 INFO     lbrynet.core.client.ConnectionManager:38: Connection Manager nothing at this location.PNG initialized
2017-07-26 14:22:49,280 INFO     lbrynet.file_manager.EncryptedFileDownloader:32: lbry://nothingatthislocation (3dbb0b) is unknown

Screenshots

This is likely a much larger issue related to caching in general inside of the app. When, and how often, should we re-resolve a URL that we have data for? This applies to not just URL resolution, but things like file status, which claims are yours, and many other things. Two hard things, etc.

A user ran into this recently, so it's still an issue.

@tzarebczan is this still an issue?

Closing this, have not run into it in a while.


An error occurred while installing logstash-core (5.6.8), and Bundler cannot continue. Make sure that gem install logstash-core -v '5.6.8' succeeds before bundling. Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0

jdk1.7 maven3.3.0
An error occurred while installing logstash-core (5.6.8), and Bundler cannot continue.
Make sure that gem install logstash-core -v '5.6.8' succeeds before bundling.
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0
how to resolve?thanks

Java 8 is required, can you try with that and see if the problem goes away?


Upgrade to CTranslate2 2.0

https://github.com/OpenNMT/CTranslate2/releases/tag/v2.0.0

Notes:

We use translation scores and will need to start setting return_scores to true.

Improve GPU docs

Python docs

It looks like they reduced the distribution size which should be nice for the Mac app which uses seq2seq sentence boundary detection. Stanza is ~700MB with some crazy Nvidia binary so it probably won't matter too much for the main Python package.

Done, very straightforward!


Dynamorio client

Hi Vincent - can you review the updates to resolve conflicts? I'd like to merge this into the main branch, and it seems like the changes needed are somewhat minimal.


Fixed a typo in documentation about floating action button.

Proposed changes

This PR fixes a typo in the documentation about the floating action button. (dogfalo/materialize#6334)
Screenshots (if appropriate) or codepen:

Types of changes

[x] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to change).

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

nice catch. Thanks 👍


Transfer leadership before submitting to raft library

Type of change

Bug fix

Description
If transaction request rotates the current leader cert or removes it then transfer the leadership to another node before proposing the transaction for orderering. It would help to avoid the leadership transfer while committing the block
Additional details
Related issues
#3629
Signed-off-by: Parameswaran Selvam<EMAIL_ADDRESS>

@Param-S please check my latest update to your PR.
@tock-ibm can you please review the PR?

Thanks, addressed comments.

@Param-S @yacovm I have a possibly unrelated question:
Lets assume all goes well, the leader abdicates and forwards the config block, the new leader A commits the block, and then just before in starts the goroutine that does the ProposeConfChange to raft, it fails. What mechanism is there so that the new leader A after proposes the   ProposeConfChange to raft?

@Param-S @yacovm I have a possibly unrelated question: Lets assume all goes well, the leader abdicates and forwards the config block, the new leader A commits the block, and then just before in starts the goroutine that does the ProposeConfChange to raft, it fails. What mechanism is there so that the new leader A after proposes the ProposeConfChange to raft?

This code section.

@Param-S @yacovm I have a possibly unrelated question: Lets assume all goes well, the leader abdicates and forwards the config block, the new leader A commits the block, and then just before in starts the goroutine that does the ProposeConfChange to raft, it fails. What mechanism is there so that the new leader A after proposes the ProposeConfChange to raft?

This code section.

OK, that answers it.

@Mergifyio backport release-2.5


fix add menu item: open all sections #2308

Menu has been added and capitalization has been changed

:+1:


do we really need to login to use instaloader?

No, I was going to add cmdline option to remove that.
But it make things easier for my network.

did instagram ~cock~block reqs without login?

did instagram ~cock~block reqs without login?

yes it did. for me atleast

let's at least have an option to run without login. that sounds good?

yes.


Fix colstop for InterlaceOperator w/ finite-dimensional space

The current definition may loop forever

This is fixed I think.


Unreadable Text when someone sends a contact

When someone sends a contact as attachment inside a conversation, the contact's name and number are unreadable, because are the same color as background.

(This is after selecting the text)

Hi! Thanks for reporting this bug.
I couldn't replicate the behavior but I fixed a few other things along the way. If you could inspect element and give me the HTML snippet that changes the text color I'd probably be able to solve the issue otherwise it'll be solved eventually.

@vednoc i saw the issue when a friend sent me 2 contacts at once, inside a chat. I thknk the snippet is this (not sure how to collect it)


[ctemplate] new port #543

@atkawa7,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Thanks for the PR!
I'm not sure if all the header copying is needed, but I left it in there since I haven't gotten time to review the python scripts.
@OlafvdSpek who might be interested :)


Reinstating SSL verification of the RRM receipt host.

Description
This feature can be switched on or off using the NO_SSL_VERIFICATION=true|false feature switch (until we're happy that it's stable, then we'll take the switch out).
How to test:
pass "-e NO_SSL_VERIFICATION=true|false" (or no flag or variable at all for false) and check that the SSL connection succeeds. You should see the configured value printed out on startup.

There's a lot of commits there, but it's mainly Git puking on rebase. It's effectively the same commits over an over again.

Can't test properly in my dev env - looks like the docker install is happy though. Merging so we can test against RRM.


Middleware error

When I run ws I get the following error:
Listening on http://<machinename>.local:8000, http://<IP_ADDRESS>:8000, http://<IP_ADDRESS>:8000
09:08:31: Middleware error
SyntaxError: invalid JSON, only supports object and array
    at parse (/Users/binici/.nvm/versions/node/v16.15.0/lib/node_modules/local-web-server/node_modules/co-body/lib/json.js:55:13)
    at AsyncFunction.module.exports [as json] (/Users/binici/.nvm/versions/node/v16.15.0/lib/node_modules/local-web-server/node_modules/co-body/lib/json.js:41:20)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async parseBody (/Users/binici/.nvm/versions/node/v16.15.0/lib/node_modules/local-web-server/node_modules/koa-bodyparser/index.js:100:14)
    at async bodyParser (/Users/binici/.nvm/versions/node/v16.15.0/lib/node_modules/local-web-server/node_modules/koa-bodyparser/index.js:85:19)

I even get this error when I run ws without any arguments.
I get this error when using both NodeJS 14 and 16. And I am using local-web-server version 5.2.1.

I can't reproduce this.. do you have a lws.config.js file in your directory? Do you see the same error regardless of which directory you are in? Have you tried reinstalling it?
If this was an issue for all users I would have been flooded with reports by now..

Closing due to lack of feedback..


Project would not compile because of a missing semicolon.

I pulled down a copy of your repo to look at the BindingSettings class and was able to compile the code due to this missing semicolon. its minor, but thought i would call it out.

I pulled down the code and reran the unit tests and it does appear there are 2 issues that need to be resolved in the source for builds to complete...
1.) There is a dependency in the webfarm unit tests that your applicationhost.config file to have a  set of nodes. Not sure if this is something that is stubbed in when web farm is chosen on the server, but i am assuming AppVeyor does not have that node or application configs setup so it will never find it.
2.) The BindingsProtocol Class has a bunch of static methods that are technically self referencing. This causes a StackOverflow Exception to be called and fails the unit tests as well.

Correct these should have been skipped.
Issue was created by a reverted PR I hadn't correctly tidied up, the entire line your referencing shouldn't have been included.


Labels for input radio buttons for selecting the size focus on corresponding element

Using different functions for each unique element, I made separate if statements in helperFunctions.js. In orderIn.js, which hasn't been changed in a while, in duplicateForm(), I checked if it was an input[type="radio"] element, and if so, kept the value but added the value of counter to the end and did the same to the for attribute (htmlFor property) of the nextElementSibling, which is the corresponding label element.

Yes, this way, when you click, there is no overlap with the previous and first form


mate.mate-sensors-applet: 1.20.1 -> 1.20.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/mate-sensors-applet/versions.
These checks were done:

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.20.2 with grep in /nix/store/57vzc483bg7wbf8kx7xacsfyd2pa7d81-mate-sensors-applet-1.20.2

directory tree listing: https://gist.github.com/b87e08ecd1269611cfc12caee03ec0a8

du listing: https://gist.github.com/7ea36f0bc246d7aa8601097266a844c2

meta.description for mate.mate-sensors-applet is: '"MATE panel applet for hardware sensors"'.
cc @romildo for testing.
Experimental: this build is cached with Cachix. To use the cache follow these experimental instructions:
One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout e9b71faf3d2fe767059d71596837265b2d7f4c3f && nix-shell --pure -I nixpkgs=. -p mate.mate-sensors-applet

Success on x86_64-linux (full log)
Attempted: mate.mate-sensors-applet
Partial log (click to expand)
shrinking /nix/store/57vzc483bg7wbf8kx7xacsfyd2pa7d81-mate-sensors-applet-1.20.2/lib/mate-sensors-applet/plugins/libsmu-sys.so
shrinking /nix/store/57vzc483bg7wbf8kx7xacsfyd2pa7d81-mate-sensors-applet-1.20.2/lib/mate-sensors-applet/plugins/liblibsensors.so
shrinking /nix/store/57vzc483bg7wbf8kx7xacsfyd2pa7d81-mate-sensors-applet-1.20.2/lib/mate-sensors-applet/plugins/libomnibook.so
shrinking /nix/store/57vzc483bg7wbf8kx7xacsfyd2pa7d81-mate-sensors-applet-1.20.2/lib/mate-sensors-applet/plugins/libpmu-sys.so
shrinking /nix/store/57vzc483bg7wbf8kx7xacsfyd2pa7d81-mate-sensors-applet-1.20.2/lib/mate-sensors-applet/plugins/libi8k.so
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/57vzc483bg7wbf8kx7xacsfyd2pa7d81-mate-sensors-applet-1.20.2/lib  /nix/store/57vzc483bg7wbf8kx7xacsfyd2pa7d81-mate-sensors-applet-1.20.2/libexec
patching script interpreter paths in /nix/store/57vzc483bg7wbf8kx7xacsfyd2pa7d81-mate-sensors-applet-1.20.2
checking for references to /build in /nix/store/57vzc483bg7wbf8kx7xacsfyd2pa7d81-mate-sensors-applet-1.20.2...
/nix/store/57vzc483bg7wbf8kx7xacsfyd2pa7d81-mate-sensors-applet-1.20.2

Success on aarch64-linux (full log)
Attempted: mate.mate-sensors-applet
Partial log (click to expand)
shrinking /nix/store/8s72n87c8syp1mywgczyfnk15hswzf6x-mate-sensors-applet-1.20.2/lib/mate-sensors-applet/plugins/libi8k.so
shrinking /nix/store/8s72n87c8syp1mywgczyfnk15hswzf6x-mate-sensors-applet-1.20.2/lib/mate-sensors-applet/plugins/libhddtemp.so
shrinking /nix/store/8s72n87c8syp1mywgczyfnk15hswzf6x-mate-sensors-applet-1.20.2/lib/mate-sensors-applet/plugins/libacpi.so
shrinking /nix/store/8s72n87c8syp1mywgczyfnk15hswzf6x-mate-sensors-applet-1.20.2/lib/libmate-sensors-applet-plugin.so.0.0.0
shrinking /nix/store/8s72n87c8syp1mywgczyfnk15hswzf6x-mate-sensors-applet-1.20.2/libexec/.mate-sensors-applet-wrapped
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8s72n87c8syp1mywgczyfnk15hswzf6x-mate-sensors-applet-1.20.2/lib  /nix/store/8s72n87c8syp1mywgczyfnk15hswzf6x-mate-sensors-applet-1.20.2/libexec
patching script interpreter paths in /nix/store/8s72n87c8syp1mywgczyfnk15hswzf6x-mate-sensors-applet-1.20.2
checking for references to /build in /nix/store/8s72n87c8syp1mywgczyfnk15hswzf6x-mate-sensors-applet-1.20.2...
/nix/store/8s72n87c8syp1mywgczyfnk15hswzf6x-mate-sensors-applet-1.20.2

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: mate.mate-sensors-applet
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


Fix project.godot for projects with class_name

Fixes #36438
Something to do with the StringName that reduz implemented broke this. It can be fixed by adding both TK_STRING and TK_STRING_NAME to the variant parser script.

Thanks!


Feedback from Corwin

Hey Jonas,
I like your choice of variables, it showed a lot of insight into the overall issue. You definitely went in and tried to think about all of the different channels that could impact economic health. Housing, Stock market, M2 money supply, federal fund rates, etc.
I think you need to make sure that what you say your are using and doing is what you are actually doing. I've gone over it a bit but it'd be good to check more. Specifically I noted that you kept saying you were using the SP500 Index when what you were really using were the returns on the logged values which is very much not the same thing. That one I've fixed but there are at least a few others.

Go through code and make sure your names in the finished document describe what is being done
Graphs should be self contained. If the graph doesn't call out its a log, I assume its not
Housing also calls out being an Index when discussed even after being transformed into log returns

For the Index.qmd file there are a few general improvements I would make

Comment your code more thoroughly, it may be obvious right now what it does but as it gets more complicated or you come back to it later you will appreciate having comments.
Check that your calculations are doing what you think they are doing. I adjusted the code for the SP500 calculations since the mean of the log returns for the month means it doesn't compare nicely to start of month data. After all, it uses data up through the end of the month which means it's "ahead" of every other variable and can't be used until the end of the month.
The graphs are so small and marked infrequently enough that it's not useful for precise measurement, just trends, go ahead and remove the grid lines, at least for the year to make it nicer to read.
The US is not a manufacturing based economy. Manufacturing only makes up 12% of the US GDP. You need to find another way to instrument for GDP since if there are any shocks which disproportionately affect manufacturing vs service sector it will greatly skew your results.
Just call all packages at the start, if you remove a block later it can mess you up if you called a package there and forgot about it.
It may be suitable to check for null values, it is government data but there is a possible problem if you call for a value and its missing for one reason or another.

Hi Corwin,
Thanks a lot for your feedback. I incorporated the feedback you gave me on the modifications on the SP500 index variable in my qmd file. I can see what I did wrong there, so that was definitely a big help.
Additionally, I ended up changing all variables that I had it in first differences (on the SP500 index, the house price index and inflation) back to levels as we are dealing with bayesian estimation and therefore don't need to transform the variables into something stationary.
I also appreciated the comments you added in my code. I can see this is valuable going forward when the code gets more complicated.
Regarding using industrial production as a proxy for real activity in the US, I decided to keep it for now, as I'm unsure which other proxy I could use due to the frequency of the data being monthly. I see your point with the US not being a manufacturing economy, but it still might be a good proxy for in which direction the real activity in the economy is headed. However, Lütkepohl mentions that the Chicago Fed’s monthly principal components index of U.S. real activity (CFNAI) (p. 229) is a more suitable proxy for monthly real GDP in the US, so I will look deeper into this in the coming week.
Cheers again and good luck.
Jonas


Geocoding field for hi res batching

@Kartones can you please review?

Frontend tests were OK :+1: (details)

:+1:

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)


Staging/dashboard

Moving dashboard over to dashboard repo.

@MohiTheFish make sure you're merging into dev and not master!!


After breakpoint pause, STOP button restarts execution instead of stopping.

Type: Bug
Debug does not stop executing when I tried to stop debugging after hitting a breakpoint. I found this problem reported Aug 18,2020 and the solution from Microsoft was to install the most recent release. But I have the most recent 1.79.2. Visual Studio Code
My app is written in python/Django. It used to work three months ago but since I have returned to the app for some changes my VSC must have updated to 1.79.2 and now this issue has appeared.
Details: When I set a breakpoint and it is tripped, the code execution stops normally. I can step, I can continue, all is good. But when I STOP (the red button on the ribbon) the program continues executing. If I hit stop a second time the program does stop but a great deal of code has been executed between the first and second clicks.
Extension version: 2023.10.1
VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:59:55.818Z)
OS version: Linux x64 5.15.0-76-generic snap
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 5 3600 6-Core Processor (12 x 3464)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_softwarewebgpu: disabled_off

Load (avg)
1, 1, 0

Memory (System)
62.73GB (55.12GB free)

Process Argv
--no-sandbox --force-user-env --unity-launch --crash-reporter-id e7718076-72e9-4f77-8582-28e46196ba60

Screen Reader
no

VM
0%

DESKTOP_SESSION
undefined

XDG_CURRENT_DESKTOP
GNOME

XDG_SESSION_DESKTOP
undefined

XDG_SESSION_TYPE
x11

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30776702
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30610679
3biah626:30602489
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
03d35959:30757346
pythonfmttext:30731395
pythoncmv:30756943
fixshowwlkth:30771522
showindicator:30766890
pythongtdpath:30769146
bgfeh915:30780428
pythonnosm12tcf:30779713
pythonidxptcf:30772540
pythonnoceb:30776495
cmakestatusbarv2:30779594

Hi @thealphamoose thanks for your issue report, could you sent me your launch.json config and could you also send me the Python output log to see if there are any errors.
Thanks

Hi Paula,
Thanks for your help. I have been unable to correct the problem but it is consistent and reproducible. The breakpoint causes execution to stop as normal and I can step the code. Everything is normal until I hit the RED square stop icon. Then execution continues as if I hit the Green continue arrow icon.  If I hit the red icon again the program does stop.
One thing that maybe related, I updated to the latest version of VSC but I also updated Django. Not sure what Django update would have on the breakpoint, but I wanted to make sure you had all the info possible.
I have attached the json file from my project directory. I am using a virtual environment. I'm looking for the python log file but I'm not sure where to find it.
I'm a newbie using VSC/Django and Python.
If you give me a hint I can try and locate the file.
Thanks
Alphamoose
From: paulacamargo25 @.***
Sent: Friday, July 28, 2023 5:07 PM
To: microsoft/vscode-python
Cc: Angelo Nichols; Mention
Subject: Re: [microsoft/vscode-python] After breakpoint pause, STOP button restarts execution instead of stopping. (Issue #21561)
Hi @thealphamoosehttps://github.com/thealphamoose thanks for your issue report, could you sent me your launch.json config and could you also send me the Python output log to see if there are any errors.
Thanks

Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-python/issues/21561#issuecomment-1656377823, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUOHR6LO3IPWRTD4U6RXZALXSQZWZANCNFSM6AAAAAAZ7LEJ7I.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Hi Paula,
Some more info. I retrieved an archived version of my django / python project which I know worked well up to the point I archived the code (one year ago) . I tested the breakpoint and the same thing happens. When the breakpoint is reached, execution stops, but when I hit the STOP icon, execution restarts from the breakpoint.
The stop icon is not functioning properly.
Thanks
Alphamoose
From: Angelo Nichols
Sent: Sunday, July 30, 2023 10:26 PM
To: 'microsoft/vscode-python'
Subject: RE: [microsoft/vscode-python] After breakpoint pause, STOP button restarts execution instead of stopping. (Issue #21561)
Hi Paula,
Thanks for your help. I have been unable to correct the problem but it is consistent and reproducible. The breakpoint causes execution to stop as normal and I can step the code. Everything is normal until I hit the RED square stop icon. Then execution continues as if I hit the Green continue arrow icon.  If I hit the red icon again the program does stop.
One thing that maybe related, I updated to the latest version of VSC but I also updated Django. Not sure what Django update would have on the breakpoint, but I wanted to make sure you had all the info possible.
I have attached the json file from my project directory. I am using a virtual environment. I'm looking for the python log file but I'm not sure where to find it.
I'm a newbie using VSC/Django and Python.
If you give me a hint I can try and locate the file.
Thanks
Alphamoose
From: paulacamargo25 @.***
Sent: Friday, July 28, 2023 5:07 PM
To: microsoft/vscode-python
Cc: Angelo Nichols; Mention
Subject: Re: [microsoft/vscode-python] After breakpoint pause, STOP button restarts execution instead of stopping. (Issue #21561)
Hi @thealphamoosehttps://github.com/thealphamoose thanks for your issue report, could you sent me your launch.json config and could you also send me the Python output log to see if there are any errors.
Thanks

Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-python/issues/21561#issuecomment-1656377823, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUOHR6LO3IPWRTD4U6RXZALXSQZWZANCNFSM6AAAAAAZ7LEJ7I.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Experiencing the same problem in Visual Studio Code - Insiders
If you are in debugging mode and hit a breakpoint,
then BOTH [PLAY] and [STOP] buttons act the same - they continue to execute code to the end.
While the expected behavior for [STOP] Button IS TO STOP FURTHER EXECUTION.

Hi Anton,
I never solved the problem but I did find a work around. When you hit a breakpoint I do not use the STOP button located on the small ribbon, instead if you look over to the far left you will see in VSC a list of the processes currently running. As you hover over the processes, make your way up to the top most and you will see a stop button appear. If you hit THAT  stop button it will stop execution.
I’m sorry if I have not explained it well enough but if you can’t get it to stop post again and I will try to send you some screen shots.
Good Luck,
Alphamoose
From: Anton Frolov @.***
Sent: Tuesday, January 02, 2024 10:45 AM
To: microsoft/vscode-python
Cc: Angelo Nichols; Comment
Subject: Re: [microsoft/vscode-python] After breakpoint pause, STOP button restarts execution instead of stopping. (Issue #21561)
Experiencing the same problem in Visual Studio Code - Insiders
If you are in debugging mode and hit a breakpoint,
then BOTH [PLAY] and [STOP] buttons act the same - they continue to execute code to the end.
While the expected behavior for [STOP] Button IS TO STOP FURTHER EXECUTION.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-python/issues/21561#issuecomment-1874193325, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUOHR6LFFP6LXXQINLPLAOLYMQTODAVCNFSM6AAAAAAZ7LEJ7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUGE4TGMZSGU.
You are receiving this because you commented.Message ID<EMAIL_ADDRESS>

Hi, sorry for the delay, i was looking into this issue, could you try using the new Python Debugger Extension in insiders?
if the error persist could you create an issue in the Python Debugger Repo. Thanks


Fixed #27767 -- Added support DISTINCT in ArrayAgg.

https://code.djangoproject.com/ticket/27767#ticket

This will also require docs. I think the DISTINCT subclass you've proposed on the ticket makes sense.

Is it OK to do the subclass as a separate PR? I'll do some docs changes now

Is it OK to do the subclass as a separate PR?

This could a separate commit in this PR.
e.g. a first one that adds the subclass and a second one titled "Fixed #27767 -- Added support DISTINCT in ArrayAgg." that does everything related to ARRAY_AGG(DISTINCT).

I've made some documentation changes, let me know if they are OK. It could be a separate commit, but I'd rather add a separate ticket and do it there as it might require more changes than I'm comfortable with at this moment. I'm still somewhat new to the internals of Django!

I've made some documentation changes, let me know if they are OK. It could be a separate commit, but I'd rather add a separate ticket and do it there as it might require more changes than I'm comfortable with at this moment. I'm still somewhat new to the internals of Django!

Sure!

Done @charettes, let me know if it's all OK

merged in b5393028bfc939adf14d0fa5e4088cddd3b9dfa1, thanks!


must-gather: initial commit

The lvm must-gather will capture lvm related information
from an OCP cluster.
Signed-off-by: N Balachandran<EMAIL_ADDRESS>

If we are going to use this tool from inside topolvm, I think we need a better way to retrieve the information directly from the "code", I mean.. we will need to do several changes to use the tool as library. In other side, it is for openshift... now we have a very good opportunity to make it more generic, allowing to be executed in pure k8s environments. I also have doubts if the topolvm operator repository is the right place to develop it, I think the tool has enough utility and importance to have his own repository, and to work as a separate project.
Can you clarify what is going to be the roadmap for this tool? Why do you think we need to have it inside topolvm ( as a separate tool that dumps results in a directory) ?

Hi Juan,
The must-gather command is specific to Openshift and required for debugging.
More information about it is available at : https://docs.openshift.com/container-platform/4.4/support/gathering-cluster-data.html
Each openshift operator provides a must-gather utility which is currently implemented in each operator's code base. There have been discussions about moving them all to separate must-gather repo, but until that is done we will have it as part of lvm-operator. We will be building and shipping a separate lvm-must-gather image.

The must-gather command is specific to Openshift and required for debugging.

Thanks for the clarification @nbalacha , lot of things are completely new for me.. sorry for the dumb questions

Not dumb at all. A lot of this is new to many of us.


Plugin is not compatible with<EMAIL_ADDRESS>

Hello,
First of all, I would like to thank you for marking this great plugin!
It allowed me to migrate my Jest tests from babel to SWC.
I noticed that the compatibility of this plugin and @swc/core broke somewhere since<EMAIL_ADDRESS>and<EMAIL_ADDRESS>For all test files I constantly get the next error:
failed to handle: failed to invoke plugin: failed to invoke plugin on 'Some("... <path to the test file> ...")'

    Caused by:
        0: Failed to create plugin instance
        1: Error while importing "env"."__lookup_char_pos_source_map_proxy": incompatible import type. Expected Function(FunctionType { params: [I32, I32], results: [I32] }) but received Function(FunctionType { params: [I32, I32, I32], results: [I32] })

The simplest way to reproduce the problem is to install the next dependencies:
// package.json
{
  "devDependencies": {
    "@swc/core": "^1.2.233",
    "@swc/jest": "0.2.22",
    "jest": "28.1.3",
    "swc-plugin-coverage-instrument": "^0.0.6"
  }
}

and run Jest with the next config:
// jest.config.js
module.exports = {
    coverageReporters: ['html'],
    transform: {
        '^.+\\.(t|j)sx?$': ['@swc/jest', {
	    experimental: {
		 customCoverageInstrumentation: {enabled: true}
	    }
	}]
    }
}

There's work in progress : https://github.com/kwonoj/swc-coverage-instrument/pull/168 .


Install command fails to configure PostCSS correctly

After I first ran the install command, none of the tailwind classes were available until I manually altered `postcss.config.js' as per:
module.exports = {
  plugins: [
    require('tailwindcss'), // added this line
    require('autoprefixer'), // added this line
    require('postcss-import'),
    require('postcss-flexbugs-fixes'),
    require('postcss-preset-env')({
      autoprefixer: {
        flexbox: 'no-2009'
      },
      stage: 3
    })
  ]
}

Can you give a little bit more context on the issue? what happened after that?

After that i was able to use the tailwind classes in my markup

I don't even have that file

I don't even have that file

I'm assuming it's generated by Tailwind. Here is some information about it from the Tailwind docs, which is how I figured out how to fix my installation:
https://tailwindcss.com/docs/installation/#using-tailwind-with-postcss

I've submitted a PR to make this gem support Rails 5.2,  and tailwindcss 1.0 releases. I didn't test on older versions of Rails or tailwinds, since both have breaking configuration changes.
https://github.com/IcaliaLabs/tailwindcss-rails/pull/9

I'm closing this issue as the PR #9 solves it! Thanks for this @BobbyMcWho
@christophermlne Have you tried it?


Setup redirect from sphinxcontrib-verilog-diagrams to sphinxcontrib-hdl-diagrams

This module use to be called sphinxcontrib-verilog-diagrams but is now called sphinxcontrib-hdl-diagrams.
We should setup a redirect from the old package name to the new package name.

Looks like we did it for the readthedocs repository but not for PyPI - https://github.com/SymbiFlow/sphinxcontrib-hdl-diagrams/issues/60

Well it looks like we already did it with https://github.com/SymbiFlow/sphinxcontrib-hdl-diagrams/tree/master/compat


Use socks5 in https_proxy instead of socks5h

https_proxy=socks5h://localhost:1080 kubectl ... gets:
Unable to connect to the server: proxyconnect tcp: dial tcp: lookup socks5h: no such host

for both kubectl 1.24 and 1.25.
https_proxy=socks5://localhost:1080 kubectl works fine for both kubectl versions.

From $ man curl:
PROXY PROTOCOL PREFIXES
       socks5://  equivalent of --socks5
       socks5h://  equivalent of --socks5-hostname

And the key different:
--socks5-hostname <host[:port]>
    Let the proxy resolve the hostname.

--socks5 <host[:port]>
    Resolve the hostname locally.
    This option does not work with IPV6, FTPS or LDAP.

Could you provide a bit more evidence about why socks5:// is better option then socks5h://?

Could you provide a bit more evidence about why socks5:// is better option then socks5h://?

For the documented example socks5://localhost:1080 actually works and socks5h:// doesn't? It's likely the underlying go library used by all versions of kubectl that handles https_proxy environment variable doesn't support socks5h at all. Are you saying that you have any evidence that socks5h://... actually works for you at all? Also for the documented usage with ssh -D tunnel, socks5://... actually resolve hostname at the remote host anyway.

socks5://... actually resolve hostname at the remote host anyway.

This is against my personal experience.
Shall we close this one?


Add https warning and disable button

Added a warning if you are not using a secure context (localhost or https) and disable the "Enter VR" button too.

@De-Panther thanks a lot for the review! ^_^


⚠ TorrentLeech has degraded performance

In 188e1a9, TorrentLeech ($TL) experienced degraded performance:

HTTP code: 200
Response time: 5539 ms

Resolved: TorrentLeech performance has improved in 4c73b33 after 7 minutes.


Added ToC and removed extra whitespace

Added a table of contents with links to headers and removed extra whitespace.
This addresses issue #37.

Same deal here, I restarted the build with travis to see if it will pass. Once it does, we will merge.

Hello @nai888,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX