script does not display the requested output, this is just a beginner's script that is just learning

lmaoo lollll

so it doesn't work? i get the same thing once i enter the tiktok's url, lol


feat: add typical workday English block

Checklist:

[X] I have read and followed the contribution guidelines.
[X] I have read and followed the how to open a pull request guide.
[X] My pull request targets the main branch of freeCodeCamp.
[X] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Only glanced at the diff here - we've been using the ID's for the filenames, for the same reason as we do with RWD. I would do that, and probably rename the exam challenge to just another task - otherwise it could get confused with the final exam.

we've been using the ID's for the filenames, for the same reason as we do with RWD.

I noted this in my earlier PR, but I'll run a script to rename them all once we're happy with the changes (because it is a THOUSAND times easier to apply reviews when the file names are still readable haha)

I'll run a script to rename them all once we're happy with the changes

Sounds good 👍 You're going to push that to this PR then or make a new one for that?

Yeah I'll push to this one after it's approved. :3

For instance, have to would be used as a single blank. I kind of like it actually, so I’m not sure if we should change them

IMHO, it makes sense to use a single blank when we're explicitly teaching an expression. But I can fix this to be individual blanks if we'd prefer.

Task 4:
Should the times not be in backticks?

I put them in backticks because they tie directly to the audio. If we think otherwise, happy to change it.

Task 47:
Should the first security be capitalized? I capitalized it on one of the challenges in 1.1.

I'd argue no. It's not something I typically see capitalised in normal conversation. "I work in security" vs "I work in Security".

Task 116 & 117:
Some ugly formatting on the FITB sentences. I kinda like the style of the challenge - just some rough formatting.

This should look better with the improved formatting that Oliver implemented.


Added missing keyword arguments to factory and accompanying tests

I just added keyword arguments that for some reason got left out of the factory function definition (fk_name, min_num, validate_min), and added tests making sure they are getting passed in now.
I also reordered the kwargs dictionary to match the order of the arguments in the function call. Seemed to make more sense this way.

Thanks, @rfj001. This actually addresses #18.
I suspect those kwargs were left out because they were added to Django after the initial implementation. Looks like CI broke due to some configuration issues. I've fixed that on master; I wonder if you'd be willing to remove the Django version checks and rebase?
Thanks!

I rebased onto master and merged this. Thanks, @rfj001 !


Minor README question

The readme says to create a channel like this:
$NotificationScheduler.create_notification_channel("my_channel_id", "My Channel Name", "My channel description")

But it looks like its changed so that an object is needed like this, is that correct?
var channel = NotificationChannel.new()
channel.set_id("hello")
channel.set_name("Reminders")
channel.set_description("Reminders")
self.notifications.create_notification_channel(channel)

Hi @zaddok.  Yes, you're right; it looks like the README needs to be updated.  Thanks for the heads up.  Yes, you're right; it looks like the README needs to be updated.


Multi-GPU Support Failures with AMD MI210

Hello. Thank for providing vLLM as a great open-source tool for inference and model serving! I was able to build vLLM on a cluster I maintain, but it only appears to work on a single MI210 GPU. Can someone please help me with this issue? The details of my attempt are as follows...
This is how I built vLLM on a node comprised of [2x] 64-core AMD EPYC CPUs and [4x] AMD MI210 GPUs with ROCm 5.7.1 installed:
## STEP 0: Create new Python virtual environment and activate it
python -m venv venv
source venv/bin/activate

## STEP 1: Install ROCm-enabled PyTorch
pip install --upgrade pip
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7

## STEP 2: Build and install flash-attention package
git clone --recursive https://github.com/ROCmSoftwarePlatform/flash-attention.git
cd flash-attention
export GPU_ARCHS="gfx90a"
export PYTHON_SITE_PACKAGES=$(python -c 'import site; print(site.getsitepackages()[0])')
pip install packaging
pip install --upgrade setuptools wheel # Upgrading wheel was necessary to avoid build issues
pip install . # This takes multiple hours for some reason, but not your problem : )

## STEP 3: Install xformers
pip install xformers==0.0.23 --no-deps

## STEP 4: Build vLLM, but patch xformers first
cd ..
git clone https://github.com/vllm-project/vllm.git
cd vllm
bash patch_xformers.rocm.sh
pip install -U -r requirements-rocm.txt
python setup.py install

## NOTE, This patch to ROCm 5.7.1 was needed to build vLLM.
## Otherwise, I ran into errors about multiple definitions.
## https://github.com/vllm-project/vllm/pull/2790/files

So everything is built and this point, time to test!
## Single MI210 test
cat single-gpu-test.py
from vllm import LLM
llm = LLM(model="/work1/staff/papatheodore/model-serving/llama2/models/Llama-2-13b-chat-hf")
output = llm.generate("San Francisco is a")
print(output)

python single-gpu-test.py
INFO 02-20 08:40:29 llm_engine.py:79] Initializing an LLM engine with config: model='/work1/staff/papatheodore/model-serving/llama2/models/Llama-2-13b-chat-hf', tokenizer='/work1/staff/papatheodore/model-serving/llama2/models/Llama-2-13b-chat-hf', tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.float16, max_seq_len=4096, download_dir=None, load_format=auto, tensor_parallel_size=1, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, kv_cache_dtype=auto, device_config=cuda, seed=0)
WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
    PyTorch 2.1.1+cu121 with CUDA 1201 (you have 2.2.0+rocm5.7)
    Python  3.9.18 (you have 3.9.16)
  Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
  Memory-efficient attention, SwiGLU, sparse and more won't be available.
  Set XFORMERS_MORE_DETAILS=1 for more details
INFO 02-20 08:40:38 llm_engine.py:337] # GPU blocks: 2658, # CPU blocks: 327
INFO 02-20 08:40:38 model_runner.py:666] Capturing the model for CUDA graphs. This may lead to unexpected consequences if the model is not static. To run the model in eager mode, set 'enforce_eager=True' or use '--enforce-eager' in the CLI.
INFO 02-20 08:40:38 model_runner.py:670] CUDA graphs can take additional 1~3 GiB memory per GPU. If you are running out of memory, consider decreasing `gpu_memory_utilization` or enforcing eager mode. You can also reduce the `max_num_seqs` as needed to decrease memory usage.
INFO 02-20 08:40:42 model_runner.py:738] Graph capturing finished in 4 secs.
Processed prompts: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00,  1.06it/s]
[RequestOutput(request_id=0, prompt='San Francisco is a', prompt_token_ids=[1, 3087, 8970, 338, 263], prompt_logprobs=None, outputs=[CompletionOutput(index=0, text=" wonderful city, full of variety and culture. Whether you're into art,", token_ids=[20695, 4272, 29892, 2989, 310, 12875, 322, 9257, 29889, 26460, 366, 29915, 276, 964, 1616, 29892], cumulative_logprob=-26.27613702166127, logprobs=None, finish_reason=length)], finished=True, lora_request=None)]

## SUCCESS!! Woohoo!

## Multi-GPU Test
cat multi-gpu-test.py
from vllm import LLM
llm = LLM(model="/work1/staff/papatheodore/model-serving/llama2/models/Llama-2-13b-chat-hf", tensor_parallel_size=4)
output = llm.generate("San Francisco is a")
print(output)

python multi-gpu-test.py
INFO 02-20 08:39:22 config.py:400] Disabled the custom all-reduce kernel because it is not supported on AMD GPUs.
2024-02-20 08:39:24,314 INFO worker.py:1724 -- Started a local Ray instance.
E0220 08:39:27.534037925 3102213 thd.cc:157]                           pthread_create failed: Resource temporarily unavailable
*** SIGTERM received at time=1708440012 on cpu 106 ***
PC: @     0x7f992b4fa43e  (unknown)  recv
    @     0x7f992b3ffd90  (unknown)  (unknown)
    @     0x7f971a55c502         80  boost::asio::detail::socket_ops::sync_recv1()
    @     0x7f9719e853a8        112  ray::ServerConnection::ReadBuffer()
    @     0x7f9719e869c2        496  ray::ServerConnection::ReadMessage()
    @     0x7f9719cbf304        112  ray::raylet::RayletConnection::AtomicRequestReply()
    @     0x7f9719cbfbbc        432  ray::raylet::RayletClient::RayletClient()
    @     0x7f9719c1f4ce       1248  ray::core::CoreWorker::CoreWorker()
    @     0x7f9719c2596f        624  ray::core::CoreWorkerProcessImpl::CoreWorkerProcessImpl()
    @     0x7f9719c26aaf         80  ray::core::CoreWorkerProcess::Initialize()
    @     0x7f9719ae6a1f       2016  __pyx_pw_3ray_7_raylet_10CoreWorker_1__cinit__()
    @     0x7f9719ae7cd9         48  __pyx_tp_new_3ray_7_raylet_CoreWorker()
    @     0x7f992b6cc85b  (unknown)  (unknown)
    @     0x7f992b8ebee0  (unknown)  (unknown)
[2024-02-20 08:40:12,796 E 3102146 3102146] logging.cc:361: *** SIGTERM received at time=1708440012 on cpu 106 ***
[2024-02-20 08:40:12,796 E 3102146 3102146] logging.cc:361: PC: @     0x7f992b4fa43e  (unknown)  recv
[2024-02-20 08:40:12,797 E 3102146 3102146] logging.cc:361:     @     0x7f992b3ffd90  (unknown)  (unknown)
[2024-02-20 08:40:12,797 E 3102146 3102146] logging.cc:361:     @     0x7f971a55c502         80  boost::asio::detail::socket_ops::sync_recv1()
[2024-02-20 08:40:12,797 E 3102146 3102146] logging.cc:361:     @     0x7f9719e853a8        112  ray::ServerConnection::ReadBuffer()
[2024-02-20 08:40:12,797 E 3102146 3102146] logging.cc:361:     @     0x7f9719e869c2        496  ray::ServerConnection::ReadMessage()
[2024-02-20 08:40:12,797 E 3102146 3102146] logging.cc:361:     @     0x7f9719cbf304        112  ray::raylet::RayletConnection::AtomicRequestReply()
[2024-02-20 08:40:12,797 E 3102146 3102146] logging.cc:361:     @     0x7f9719cbfbbc        432  ray::raylet::RayletClient::RayletClient()
[2024-02-20 08:40:12,797 E 3102146 3102146] logging.cc:361:     @     0x7f9719c1f4ce       1248  ray::core::CoreWorker::CoreWorker()
[2024-02-20 08:40:12,797 E 3102146 3102146] logging.cc:361:     @     0x7f9719c2596f        624  ray::core::CoreWorkerProcessImpl::CoreWorkerProcessImpl()
[2024-02-20 08:40:12,797 E 3102146 3102146] logging.cc:361:     @     0x7f9719c26aaf         80  ray::core::CoreWorkerProcess::Initialize()
[2024-02-20 08:40:12,797 E 3102146 3102146] logging.cc:361:     @     0x7f9719ae6a1f       2016  __pyx_pw_3ray_7_raylet_10CoreWorker_1__cinit__()
[2024-02-20 08:40:12,797 E 3102146 3102146] logging.cc:361:     @     0x7f9719ae7cd9         48  __pyx_tp_new_3ray_7_raylet_CoreWorker()
[2024-02-20 08:40:12,797 E 3102146 3102146] logging.cc:361:     @     0x7f992b6cc85b  (unknown)  (unknown)
[2024-02-20 08:40:12,798 E 3102146 3102146] logging.cc:361:     @     0x7f992b8ebee0  (unknown)  (unknown)
Aborted (core dumped)

NOTES:

I ran kill <pid> to exit the hanging process, which accounts for the *** SIGTERM received at time=1708440012 on cpu 106 ***
The type of failure changed between my (same) attempts.

Sometimes I just observed a hang with no obvious failure mode

Other times I found [2024-02-20 08:34:52,678 E 3089178 3089178] core_worker.cc:215: Failed to register worker 01000000ffffffffffffffffffffffffffffffffffffffffffffffff to Raylet. IOError: [RayletClient] Unable to register worker with raylet. No such file or directory

I tried to set HIP_VISIBLE_DEVICES, ROCR_VISIBLE_DEVICES, and even CUDA_VISIBLE_DEVICES, but it didn't change the result.

I would be grateful for any help you could offer on resolving this issue. Thank you  :)
-Tom

enforce eager?

When attempting to serve a model with more than 1 GPU, the --enforce-eager flag only seems to stop my attempt from hanging, but it still crashes. I can serve the model from a single GPU fine.
This is how I attempt to serve the model with multiple GPUs:
$ cat multi-gpu-vllm-server-start.sh
#!/bin/bash

python -m vllm.entrypoints.openai.api_server --model /work1/staff/papatheodore/model-serving/llama2-70b/models/Llama-2-13b-chat-hf --host <IP_ADDRESS> --port 8080 --tensor-parallel-size 4 --enforce-eager

And this is how it fails (it's unclear whether this is a vLLM or RAY issue):
$ ./multi-gpu-vllm-server-start.sh
INFO 04-12 21:48:39 api_server.py:229] args: Namespace(host='<IP_ADDRESS>', port=8080, allow_credentials=False, allowed_origins=['*'], allowed_methods=['*'], allowed_headers=['*'], api_key=None, served_model_name=None, lora_modules=None, chat_template=None, response_role='assistant', ssl_keyfile=None, ssl_certfile=None, root_path=None, middleware=[], model='/work1/staff/papatheodore/model-serving/llama2-70b/models/Llama-2-13b-chat-hf', tokenizer=None, revision=None, code_revision=None, tokenizer_revision=None, tokenizer_mode='auto', trust_remote_code=False, download_dir=None, load_format='auto', dtype='auto', kv_cache_dtype='auto', max_model_len=None, worker_use_ray=False, pipeline_parallel_size=1, tensor_parallel_size=4, max_parallel_loading_workers=None, block_size=16, seed=0, swap_space=4, gpu_memory_utilization=0.9, max_num_batched_tokens=None, max_num_seqs=256, max_paddings=256, disable_log_stats=False, quantization=None, enforce_eager=True, max_context_len_to_capture=8192, disable_custom_all_reduce=False, enable_lora=False, max_loras=1, max_lora_rank=16, lora_extra_vocab_size=256, lora_dtype='auto', max_cpu_loras=None, device='cuda', engine_use_ray=False, disable_log_requests=False, max_log_len=None)
INFO 04-12 21:48:39 config.py:400] Disabled the custom all-reduce kernel because it is not supported on AMD GPUs.
2024-04-12 21:48:41,785 INFO worker.py:1724 -- Started a local Ray instance.
[2024-04-12 21:48:43,965 E<PHONE_NUMBER>66] core_worker.cc:215: Failed to register worker 01000000ffffffffffffffffffffffffffffffffffffffffffffffff to Raylet. IOError: [RayletClient] Unable to register worker with raylet.  I've tried running it with ROCm 5.7.1 and 6.0.2 with the same results. Any guidance you can offer would be greatly appreciated. Thank you.

Hello. I wanted to ping this issue to see if there was any guidance on a solution or workaround. Please let me know. Thanks.

forwarded to amd folks.
we also have some tips for debugging this

Thanks, @youkaichao. I'll take a look.

flash attention not right branch/commit??
https://github.com/vllm-project/vllm/blob/v0.4.0/Dockerfile.rocm


Specify and implement on-disk "verification bundle" format

Right now we stash a bunch of information for verifying signatures (fixed-key and keyless) in OCI images. This includes fields like:

the signature itself
the signed payload
the certificate (and chain)
the transparency log index/uuid/inclusion proof
a signed timestamp

Full info is here: https://github.com/sigstore/cosign/blob/main/specs/SIGNATURE_SPEC.md
This works great for OCI stuff (cosign sign) but doesn't really work for blobs. Right now users that sign blobs have to keep track of all of these things on their own.
We should try to standardize a single "bundle" for all of this stuff on disk. It could be as simple as just the JSON info we stick into OCI, but there might be better options. JSON is a necessary prereq for working with OCI so relying on it there isn't a big deal, but for blobs maybe we could avoid a JSON dependency with something simpler.
The overall flow could be something like:
cosign sign-blob <blob> > bundle.sig
cosign verify-blob <blob> --bundle bundle.sig
Where this would contain enough information for a keyless verification and offline transparency log lookup.
cc @luhring

This could also be useful for Chains for our non-oci storage backends, we could start storing the entire bundle in gcs instead of having a separate file for each payload/signature (having a consistent bundle would make it easier for clients to verify as well)
Slightly related, but @asraa and I were just chatting about maybe adding support for those backends (like gcs) in cosign directly. Just mentioning it here in case anyone has any thoughts around it.

This could also be useful for Chains for our non-oci storage backends, we could start storing the entire bundle in gcs instead of having a separate file for each payload/signature (having a consistent bundle would make it easier for clients to verify as well)

+1!

Slightly related, but @asraa and I were just chatting about maybe adding support for those backends (like gcs) in cosign directly. Just mentioning it here in case anyone has any thoughts around it.

What would that look like? cosign sign-blob --store=gcs|docdb|something?

What would that look like? cosign sign-blob --store=gcs|docdb|something?

At least for GCS is it user-friendly to do something like sign-blob gcs://<bucket>/<object> and infer the bucket to place the bundle? It seems more seamless than an alternative like: cosign sign-blob a.txt --store=gcs://<bucket> (since I'd assume that the blob is already on GCS)

At least for GCS is it user-friendly to do something like sign-blob gcs://<bucket>/<object> and infer the bucket to place the bundle? It seems more seamless than an alternative like: cosign sign-blob a.txt --store=gcs://<bucket> (since I'd assume that the blob is already on GCS)

Yeah, but it's technically a bit "racy", similar to tag signing in a container image. GCS doesn't enforce any kind of immutability, and you need to fetch something to calculate its digest :(
Signing locally and then uploading sort of sidesteps that race condition. GCS does store hashes separately in the API but IIRC they're just md5.

At least for the Chains case signing locally and then uploading would totally work, cosign sign-blob --store=gcs|docdb|something is pretty much what I had in mind.

Cool! If anyone wants to start on this one, go for it!

I'll give this one a go :)


How to find IoU?

💡 Your Question
I'm in the middle of porting the model to ONNX and then to C++. I am able to re-plot all of the bounding boxes with confidence over 0.5 onto the original image, but of course now I need to cut it down to one bounding box per object.
Where is the Intersection over Union algorithm located?
Thanks.
Versions
No response

Non-maximum suppression is what I'm looking for, not sure what method they use.

Alright I found it. First time using the nifty search tool on here.
super-gradients/src/super_gradients/training/utils
/detection_utils.py


DeviceAdded message w/ Lovense Max 2 fails deserialization

Reported on discord. DeviceAdded with a Max 2 doesn't deserialize correctly for some reason. No reason given in the parser.

Fixed by #2


Pardon, could you please tell me when will I get my refund back?

Issue
I withdraw my BLD token from Osmo to Agoric, but it failed, I want wo know when will I get my fund back. You may refer to the img as below:

The Tx harsh :  5CE3D2EFE20DF6247038F81ADDCDC2DD1445082BFEB60F5D071C40CC94211260

Closing this github issue since this isn't the right spot for this, the Telegram or Discord is the place.
On quick skim of Mintscan, it looks like this should have gotten to Agoric though, perhaps check your wallet? https://www.mintscan.io/osmosis/tx/5CE3D2EFE20DF6247038F81ADDCDC2DD1445082BFEB60F5D071C40CC94211260?height=14667281


NoCredentialProviders: no valid providers in chain. Deprecated.

Ubuntu 14.04, Apex version 0.9.0
Running apex metrics gets me the following error, looping in the terminal.
NoCredentialProviders: no valid providers in chain. Deprecated.
    For verbose messaging see aws.Config.CredentialsChainVerboseErrors

I am not a Go developer and so am not sure how to interpret or fix this kind of error. A more informative message would be helpful.
I have my AWS credential in ~/.aws/config

hmm I haven't seen that one yet, sounds like a dev-error as if we misconfigured something, but it works fine for me. I'll look into it, could just be strange wording on their part.
note that you'll need creds in ~/.aws/credentials, only the region is stored in ~/.aws/config (not sure why AWS likes to have two but that seems to be the convention)

thanks moving the creds to ~/.aws/credentials fixed the issue for me.

cool good to hear, I'll make sure to get better error reporting for this in the next release

I also got this error because of a syntax error in my .envrc file (a space just after AWS_SECRET_KEY=)

Another data point for this error: I'm using an assumed role, so there's (intentionally) no credentials in ~/.aws/credentials file - it all goes in the ~/.aws/config file.
Is this Apex error just caused by an SDK error? I know the SDK support can be a bit spotty...

Yeah, this is just an SDK error where upon initialization it attempts to determine your credentials (using EC2 role, assumed role, credentials, environment variables, etc.) and when it can't determine them then it throws the error.

This is happening on Ubuntu. I installed the AWS CLI using apt-get. After running "aws configure" I was left with a single ~/.aws/config file. Separating into two files (config and credentials) is a workaround, but that breaks the CLI. You should probably consider these files to be an implementation detail of the AWS SDK. I think the SDK should do all the searching for creds for you, so it shouldn't be necessary to have this dependency.

Hi, I also got this error in a situation that I had both files ~/.aws/config for region and ~/.aws/credentials for credentials, but didn't have AWS_SDK_LOAD_CONFIG environment variable as truthy, yet.
All of you might already know well about this... so, I would like to just report my situation.
If you have both of these files, you need to also set AWS_SDK_LOAD_CONFIG as truthy  such as described at here.
I also think that it would be better aws-sdk-go reports this problem effectively ;)

Just landed here and @grauwoelfchen's point is what got me moving again. Thanks!

@grauwoelfchen Thanks a lot.

@grauwoelfchen's suggestion worked for me as well.  This should probably be documented somewhere, especially for people coming over from using something like the aws cli.

@grauwoelfchen : thx a lot. helped me to get rid of that error when beginnnig with apex and cross account access. cool.

I still encounter this issue. I followed the instruction on http://apex.run about the credentials and created a credentials and a config file. No additional whitespaces at the end as mentioned. I even set AWS_SDK_LOAD_CONFIG to 1 as described in the readme in the aws-sdk-go project.
Might there be something I need to install additionally?

me too.
0.16.0 does not work as expected.
However, 0.15.0 works fine.

Folks, I got bitten by  * provider.aws: NoCredentialProviders: no valid providers in chain. bug while running a terraform script. In the end it  turned out to be a typo in configured profile name and what I had set in the configuration file.

@Pczek thank you. only your solution (adding env) worked for me.

I was only able to get it working using environment variables as of aws.provider 1.26

Folks, I got bitten by * provider.aws: NoCredentialProviders: no valid providers in chain. bug while running a terraform script. In the end it turned out to be a typo in configured profile name and what I had set in the configuration file.

look for solutions on the internet
the internet tells me i typed it wrong
check the names for the third time
...i typed it wrong
thank you internet

Just the wrong -p profile AWS profile for me

Also hit by this (vault version 1.1.0 SHA 36aa8c8dd1936e10ebd7a4c1d412ae0e6f7900bd) . When I try to run it without ECS task role, I get the expected:
Error parsing Seal configuration: error fetching AWS KMS sealkey information: AccessDeniedException: User: arn:aws:sts::XXXX:assumed-role/svc-spot-ecs-instance-role/i-0c27bb6af7118f355 is not authorized to perform: kms:DescribeKey on resource: arn:aws:kms:eu-west-1:XXX:key/123456789

That is to be expected as the instance role doesn't have any permissions on that KMS key. When running inside the ECS task (that has the permission for KMS) with the AWS_CONTAINER_CREDENTIALS_RELATIVE_URI environment variable defined, I the the error:
"Error parsing Seal configuration: error fetching AWS KMS sealkey information: NoCredentialProviders: no valid providers in chain. Deprecated"
Thanks for any pointers on debugging this.

Hello
I have my credentials set in the ~/.aws/credentials but when I run the packer to build the AMI use the json file I've still got the below error:
env AWS_PROFILE=packer-demo packer build -only amazon-ebs packer-demo.json
amazon-ebs output will be in this color.
==> amazon-ebs: Prevalidating AMI Name...
==> amazon-ebs: Error querying AMI: NoCredentialProviders: no valid providers in chain. Deprecated.
==> amazon-ebs: 	For verbose messaging see aws.Config.CredentialsChainVerboseErrors
Build 'amazon-ebs' errored: Error querying AMI: NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors
==> Some builds didn't complete successfully and had errors:
--> amazon-ebs: Error querying AMI: NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors
==> Builds finished but no artifacts were created.
Any has got any idea?
Thank you.


Expand Development Documentation

Perhaps the development documentation can be expanded with more info

Definitely! I had a chat with @0xpr03 yesterday and we also agreed that we need to do a better job of documenting things.
I have just merged a PR that includes a development guide (it takes me a surprisingly long amount of time to write this out in a way that is sensible). That guide is here. It is somewhat comprehensive, currently lacks information on how to launch the frontend (which currently is just a placeholder anyways).
But going further than that, the goal is to document (and collaborate on) architectural decisions using a RFC-like process. I will be traveling this weekend and ideally use that time to document the decisions we have made so far such as to get you up to speed (and so we all have some common reference).
Besides doing a better job of documenting things, we have also agreed that the short-term goal is to get something alpha-level ready and deployed. At current speed, I would assume that this is something we could accomplish in the next week or two, and then we can take it from there.

Great! This is very helpful!


Trying to use cffirmware python bindings

I'm trying to use the cffirmware bindings in webots. Followed instructions under:
https://www.bitcraze.io/documentation/repository/crazyflie-simulation/main/functional_areas/controllers/.
When running webots I get the following error:
Traceback (most recent call last):
File "/home/marcus/LIU/TSRT10/crazyflie-simulation/webots/controllers/crazyflie_controller_py_firmware_pid/crazyflie_controller_py_firmware_pid.py", line 31, in
import cffirmware
File "/home/marcus/.local/lib/python3.10/site-packages/cffirmware.py", line 15, in
import _cffirmware
ModuleNotFoundError: No module named '_cffirmware'
WARNING: 'crazyflie_controller_py_firmware_pid' controller exited with status: 1.
Would gladly appriciate any help I could get.

Hi! Have you updated this line to the actual location of your firmware?
https://github.com/bitcraze/crazyflie-simulation/blob/9fc77d2967be7f1aad0c2af608d729433e2880b7/simulator_files/webots/controllers/crazyflie_controller_py_firmware_pid/crazyflie_controller_py_firmware_pid.py#L30
And also have you build the python bindings as well?: https://www.bitcraze.io/documentation/repository/crazyflie-firmware/master/building-and-flashing/build/#build-python-bindings

Hi! Thanks for the quick reply!
So I have updated the line according to my folder structure, so that it looks like this:
sys.path.append('../../../../../../crazyflie-firmware')
I have also tried with the absolute path. But just to be clear, is it supposed to point to the parent directory of the crazyflie-firmware. Not the build directory "/build" where the python bindings are built as described in the link you now posted?

You might be right actually. Have you tried adding the build folder too? then we need to change the docs and such.
Crazyswarm2 also uses the same python bindings for their simulation and they refer to the build folder. https://imrclab.github.io/crazyswarm2/installation.html

Okey now it is working! I tried changing the path to the actual build folder and that did it! :) Maybe I should have thought of that sooner... But anyways thanks so much for the help!
sys.path.append('../../../../../../crazyflie-firmware/build')

I'll keep it upon as we actually need to fix this, and issues we see as 'a thing that we need to fix in the code or doc'. Regular support questions works differently but that is https://discussions.bitcraze.io/


paconn does not have logout

Is your feature request related to a problem? Please describe.
If you login to paconn with account A and then want to login to paconn with account B there is actually no way to do this.  Running paconn login again tells you you are already logged in.  Running paconn logout does not exist as a command
Describe the solution you'd like
Add paconn logout or allow paconn login to be run while you are already logged in

+1
Not a fix but a potential workaround, you can run multiple instances of paconn at the same time using a Docker container, each authenticated with different tenants, as shown below.

As the containers are isolated from each other they don’t conflict.
I have a public image on Docker Hub for re-use
https://hub.docker.com/r/garryt/paconn-cli

It might also be possible (easier) to just run paconn in another terminal/shell window ☺

Thanks @garrytrinder but running in Docker containers is pretty heavy for a basic script.
For reference the Zapier platform CLI has "zapier login" and "zapier logout".  This seems like a more sustainable solution to a basic problem.

The token is persisted in your {user}.paconn folder. Just delete the file...

@hdanzl Good workaround, thanks.  Still seems like a built in logout command would be the right solution long term

Any plans to fix this?  It is causing issues that you cannot logout

A new release contains a fix for this issue. The login method now contains a --force parameter to override previous login. It will be posted to pypi by the end of next week.

Please delete the .paconn folder in the user directory to force it to login again.

0.0.11 is released with a --force option for login, which essentially discards previous login and logs the user in again. Please run pip install --upgrade paconn to update your version.

This works, thank you


feat(examples): add http example

Add http example

The return type of http.get  is boolean,string instead of string, I don't know how to change the docs.

You're right, will update the docs!


release4.61.0

azure-cosmos release 4.61.0, azure-cosmos-spark-* release 4.31.1

API change check
APIView has identified API level changes in this PR and created following API reviews.
com.azure:azure-cosmos


Limit Order Architecture Design Spike

Brief spike to outline state management, slice, reusable components, any suggestion on refactors that we might need ahead of implementation.
< 1 days

Outline findings in gist or on this ticket and we can review as a team ahead of implementation

Initial refactoring
TL;DR - move swapper specific stuff to higher order components
The following changes are likely required to prepare the TradeInput component and its children for reuse with limit orders:

Compose the existing TradeInputHeader, TradeInputBody, ConfirmSummary components without Acknowledgement wrappers and CollapsibleQuoteList, and pass all feature-specific callbacks and data in as props.
General cleanup - Move functions like getQuoteErrorTranslation to a shared utilities file.
Within TradeInputHeader, TradeInputBody, ConfirmSummary components, replace useAppSelector and useAppDispatch calls with props where state or logic is not shared.
Likely have to make the "cog" menu button contents (on the top-right) a prop too, since limit orders will have different items.

General architecture
TL;DR - use the same exact approach as arbitrum claims feature
Due to the relative simplicity of the limit orders feature, it's unlikely that use of redux for state management would be advantageous. Instead, we can probably maintain state in-place with use of react hooks and react-query, similar to the arbitrum bridge claims feature:

react hooks for form state management (i.e asset selections, inputs, etc)
react-query for fetching and async operations (e.g signing, getting a quote, etc)
react-router MemoryRouter for UI routing

UI Specifics
TL;DR - side-by-side layout like trade quotes, otherwise refer to figma

New tab next to "Trade/Bridge" and "Claim", with route to go with it.
Higher order component similar to TradeInput, called something like LimitOrderInput. This will consume the new share trade input component without swapper specifics.
New input component nested alongside the above for configuring limit order params, called something like LimitOrderConfig.
A side-by-side view of the LimitOrderInput and LimitOrderHistory is presented when screen width is wide enough (similar to trade quote list). Use the same approach as trade quote list, including animations, refs etc.

TBA on how this is presented or accessed on mobile/small screens.


[Feature Request] Projection push down for Delta: Finding files to rewrite for DELETE operation query do not work.

Feature request
Overview
During DELETE operation, delta collect all files affected file and only then overwrite them.
Theoretically, collect afftected files must be much cheaper then overwrite them.
But becasue of strange behave in Spark SQL catalyst, on tables with big amount of columns -
Delta: Finding files to rewrite for DELETE operation query take more time than rewrite files.
The main issue is udf function with accumulator iwhich collect metric val deletedRowCount = metrics("numDeletedRows"), this function used as filter in DeleteCommand -> line 220.
This code prevent Spark SQL catalyst to apply projection push down, so delta load all columns from parquet files, but need only input_file_name().
For table with big amount of columns or 'fat' columns - this is siginficantly IO and ser/de penalty.
For example, in my case I have Delete condition on only 2 columns. The size of this columns is only 16mb per file. While all file is near 512mb. So my Spark cluster process 32 times more data than needed.
How to check issue

Run DeleteScalaSuite -> test ("delete usage test - with condition").
Check Query Plan for Delta: Finding files to rewrite for DELETE operation
Scan parquet  Output [1]must be[key#565], but [key#565, value#566]`

Tested with delta 1.2.1  and spark 3.2.1;  delta 2.1.0 and spark 3.3.0.
Motivation
Reduce amount of data which loaded from storage and deserialized from parquet to POJO on spark executors.
Which may siginificantly improve latency and memmory usage for tables with a lot of columns or 'fat' columns.
Further details
I don't know how to fix Spark SQL catalyst to apply projection push down when this UDF used in filter.
But simply change order of select(input_file_name()) and .filter(deletedRowUdf()) line help.
I test it in my produciton env. \
Willingness to contribute
The Delta Lake Community encourages new feature contributions. Would you or another member of your organization be willing to contribute an implementation of this feature?

[x] Yes. I can contribute this feature independently.
[x] Yes. I would be willing to contribute this feature with guidance from the Delta Lake community.
[ ] No. I cannot contribute this feature at this time.

Closing this issue as it's a duplicate of #1411


Tests

This is adding the tests for something like 10-20% coverage

make sure to review and make sure tests are passing before merging

merge nothing until this merges then make sure to use the mains pubspec.yaml for everything.


Enable users to execute the commands with range

GH executed with range throws the E481 error now.
This pull-request will solve it.
:1,3GH
E481: No range allowed

any reason this can't be merged?

@nathanshelly Merged now, I wasn't aware of this PR.
@notomo Thanks!


Remove --oldVersion and parse VersionPacket, support Artemis up to 2.8.x

I've added support to parse VersionPacket...
... then no need for --oldVersion
Then added support up to Artemis 2.8.0 and probably 2.8.1
Other bits of code tidying.
:warning: NOT WELL TESTED YET - appreciate any more help doing so.
Resolves #2 ... I believe

Hey @UserMcUser , interested in updating with these patches?
Or comment on anything else you would like me to change/fix/revert first?

That's fine, I'm cool with it. 😎
My gaming group kinda stopped playing Artemis a while ago and I don't particularly have the time to work on this any more so please feel free to fork the code and continue with any mods or adjustments. I'd appreciate a shout-out in there somewhere but it's not required.
As far as I am able to do so (I did lift almost all of the code from another GitHub project!) I release all of the code to the public domain. 👍
I'm just glad that anyone else found it useful enough to continue to work on it. 😀
Thanks!
Steven Hunter | @.***
I'm either going to live forever or die trying.
On Wednesday, December 21, 2022 at 11:32:49 PM EST, Nosey Nick<EMAIL_ADDRESS>wrote:

@NoseyNick commented on this pull request.
In package.json:

"url": "https://github.com/UserMcUser/node-MVM"

"url": "https://github.com/NoseyNick/node-MVM"

Oh this you are obviously more than welcome to edit back to your URL of course! 😆
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

I'd appreciate a shout-out in there somewhere but it's not required

Oh absolutely. Same place you gave a shout-out to tcpslow ... in fact:
//Based almost entirely on "tcpslow" by llambda - https://github.com/llambda/tcpslow
//UserMcUser just removed the "slow" parts and shoe-horned MVM code into the loop.
//NoseyNick obsoleted --oldVersion by parsing server version, support Artemis 2.8.x


Add interview with PWA expert, Henrik Joreteg

In addition to the basics, this interview covers:

Status of browser support
Challenges of broader PWA support
Search engine indexing/bookmarking
Recommendations for getting started right away

Thanks, I've read it now and it seems like a great resource we should link to. 👍


mobile reminder

Hi again, can you add support for mobile reminders ? I tried setting a reminder in android but nothing showed up except for the in-app reminder.

Obsidian was allowed to display notifications
The plugin's setting for "system notification" was enabled

Great plugin. What's the status on iOs?

Unfortunately, It’s not possible as far as I know.
Because Obsidian API doesn’t provide system notification feature.
If it is possible, I’d like to implement mobile notification.

Also, I should document this in setting screen or readme

Sorry for reviving an old and closed issue but I think I have a reasonably simple solution for this, at least as a temporary thing until Obsidian adds support for it.
The solution would be to have either an official or an officially endorsed app that is separate from Obsidian. You would point this app at your vault and it would do its own pass to search for reminder sequences in the background and set up notifications for them.
I am considering giving this approach a go myself, but I only have experience with Android development, and much of it at that. So I would only make an Android app.

@polak-jan Thank you for your idea!  In fact, as it happens I am currently developing it.
Because it is developed with flutter, it may also supports iOS.
I don't know when the release will be, but please wait until then.

That's great, can't wait! Any idea in roughly what time frame we could expect to see it?

It will take 1 month ~ 3 months.
I've implemented base features, scanning reminders in a vault periodically, system notification.
Currently I'm testing it and developing integration with Obsidian Reminder Plugin(via URI scheme).
Would you like to use the version under development? (e.g., via Google Play Store beta app)
Maybe I can provide it in this month.

Also, I possibly makes the it a paid application when I release it as production version.

I definitely wouldn't mind testing it.
And personally I don't mind it being paid as long as it's a reasonable price, was actually going to ask for a way to donate to you anyway :)

I'm up for testing too.

Obsidian uses Capacitor as mobile app framework and it's based on web browser.
I'm not sure but it may support the feature.
However, my motivation is low because it only supports iOS.

Are there any news on the app?


Feature/332 simIncludeGravBody refactor

Tickets addressed: Closes #332
Review: By commit
Merge strategy: Merge (no squash)
Depends on: Merge of PR #330

Description
The syntax suggested in #332 is supported. Old syntax is still supported.
Verification
All scenarios were updated to use the new syntax. Tests were not. Both scenarios and tests are passing.
To deprecate or not to deprecate
Should we deprecate the old syntax somehow? There is no harm in the old syntax being used, both the old and new syntax end up doing the same things under the hood.
Documentation
None.
Future work
Update tests so that they use the newer syntax.

Replaced by #501


temporarily disable swiping - fixes #285

Fix for #285 until we found the root cause. Most likely we need a full swiping javascript framework because it seems like those touch events aren't that simple :/

:+1:


Not getting test or debug test options in VS Code with Metals

Version(s)
1.0.4
Describe the bug
Not sure if this is a Metals issue, or a Scala-cli issue...
I followed the Cookbook to work with Scala-cli and VS Code.
Getting the run | debug buttons in HelloWorld.scala:

But not getting the test | debug test buttons in MyTests.test.scala file:

To Reproduce

Create directory structure and files as described in the Cookbook:

Run in the root directory scala-cli run . successfully.

Run code . in the root directory.

Expected behaviour
test | debug test buttons should be there.

We don't actually use code lenses for tests. Those have run buttons instead:

Maybe you have somehow disabled tests in VSCode?

I see what you mean by not using Code Lenses:

Then the question is, how do they have the test/debug buttons above the test in the Cookbook:

When I use Test Explorer, I don't get the green play buttons:

Just to be sure, test buttons in the gutter are enabled:

This is frustrating. There is some kind of magic going on that I don't understand.

I had to reset my VS Code installation, now it seems to work. I cannot reproduce the issue, so I'll let it go I guess... :angry:


⚠ Spryr has degraded performance

In 7ece53c, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 5917 ms

Resolved: Spryr performance has improved in 5a5bb7a after 7 minutes.


Spritesheet Reader

Should be able to read sprite sheets into an Animator component.
This requires you to be able to slice the sprite sheet up.

see #34


Use u64 formats for diagnostic codes.

Description
Codes in diagnostic_tools are 64 bits unsigned integers but the formats being used for stringification may not be. This patch ensures these are always treated as 64 bits unsigned integers in all platforms.
Type of change
Please mark options that are relevant.

[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 not work as expected)

Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] The code builds clean without any errors or warnings
[x] Unit tests are passing
[x] Linter tests are passing

How To Test
Run a system_testbed test for diagnostics against a master you can introspect
In one terminal
roscore

In another terminal
rostest -r -t system_testbed test_system_fails_safely_if_battery_report_rate_is_out_of_limits.test

Monitor the /diagnostics topic and ensure published codes are consistent with those listed in the health_monitor/ReporFault message.

LGTM!

LGTM!

Thanks for the review @ChrisScianna !

Thanks for the review @ChrisScianna !


Inconsistent length of LegalActions and LegalActionsMask for chance nodes

For example, in the game kuhn_poker, the LegalActions of the first chance node is [0,1,2], while the LegalActionsMask fallbacks to the default implementation and returns [1,1]. Is this expected? (If so, does it mean that I should always rely on LegalActions instead of LegalActiosnMask for chance nodes?)

Hi @findmyway , no this is not expected, pretty sure is a bug. Can you confirm, @jblespiau ?Thanks for finding.
We introduced that function as a helper for neural net experiments so we likely only thought about it at decision nodes and mistakenly did not support it properly at chance nodes.
Can I ask you to submit a fix?


[Bug] addon-svelte-csf v3 and storybook v7 not working together

Describe the bug
Hi, I tried to use this plugin in version 3.0.0-next.3 together with storybook 7.0.0-beta.31. But it seems that they are currently not compatible.
First, after trying to show a *.stories.svelte Story in the browser, it showed the error Failed to fetch dynamically imported module: http://localhost:6006/src/stories/Button_csf.stories.svelte. In the server console, it reported a missing dependency @storybook/client-api.
After I run npm i -D @storybook/client-api@next manually and restarted the server, it showed another error in the browser console:
react.development.js:209 Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.

Check the render method of `Docs`.
    at Docs (http://localhost:6006/node_modules/.cache/.vite-storybook/deps/chunk-ZYQXF3GY.js?v=28e0d039:1524:15)
    at MDXProvider (http://localhost:6006/node_modules/.cache/.vite-storybook/deps/chunk-WA3OJM76.js?v=28e0d039:28:24)

Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

Check the render method of `Docs`.
    at createFiberFromTypeAndProps (react-dom.development.js:28439:17)
    at createFiberFromElement (react-dom.development.js:28465:15)
    at reconcileSingleElement (react-dom.development.js:15750:23)
    at reconcileChildFibers2 (react-dom.development.js:15808:35)
    at reconcileChildren (react-dom.development.js:19167:28)
    at updateHostComponent (react-dom.development.js:19924:3)
    at beginWork (react-dom.development.js:21618:14)
    at HTMLUnknownElement.callCallback2 (react-dom.development.js:4164:14)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:4213:16)
    at invokeGuardedCallback (react-dom.development.js:4277:31)

Steps to reproduce the behavior
I created a reproduction repo https://github.com/vekunz/storybook-v7-svelte-csf.
Expected behavior
It just should show the Svelte-Stories, like in Storybook v6.
Environment

OS: Windows 10
Node.js version: v16.19.0
NPM version: 8.13.2
Browser (if applicable): Chrome
Browser version (if applicable): 109
Device (if applicable): Laptop

Can you please try to upgrade to the most recent beta? I believe this bug was fixed in Storybook core recently.

It seems that this bug is fixed now.


PDF 'else' people-finding regex brainstorm

[May have found an answer, though it needs thorough testing. Not sure how I did it without a positive look ahead, but...]
Working towards this challenge:

~(.*?)(?:(_mail_address)|(_address)|(_phone))$. See and test the use of this regex~. [Regex101 failed me. Showed it to me as working when a reload showed it wasn't.]
(.+?)((_mail)|(_phone))?((_mail)+|(_address)+|(_phone)+)$ https://regex101.com/r/NlvtQa/8/ [(Unfortunately means splitting up our words more and I'm not sure how scaleable that is, but it might be. Also, matches 'z_mail_mail_address`. Is that correct or not?)]
Possibly promising if we don't want those middle examples: (.+?)(?:(?:_mail_address)|(?:_address)|(?:_phone))+$ https://regex101.com/r/NlvtQa/10 if the behavior with those middle lines is as desired.
Most promising capturing only the prefix: (.+?)(?:(?:_mail_address$)|(?:_mail_address_address$)|(?:_address$)|(?:_address_address$)|(?:_phone$)) https://regex101.com/r/NlvtQa/14/
Most promising capturing the prefix and the suffix: (.+?)((_mail_address$)|(_mail_address_address$)|(_address$)|(_address_address$)|(_phone$)) https://regex101.com/r/NlvtQa/13
There may not be a good regex solution, though we may be able to work on clarifying the code a bit.

May have found an answer to this in 4 or 5:
4. Most promising capturing only the prefix: (.+?)(?:(?:_mail_address$)|(?:_mail_address_address$)|(?:_address$)|(?:_address_address$)|(?:_phone$)) https://regex101.com/r/NlvtQa/14/
5. Most promising capturing the prefix and the suffix: (.+?)((_mail_address$)|(_mail_address_address$)|(_address$)|(_address_address$)|(_phone$)) https://regex101.com/r/NlvtQa/13

Actually did end up needing to use this, so glad it's sorted! Used 5 to capture each group, but with ?: as explained below it.


Mistake in Example

Hi Matt,
In the example, should:
from nameko_sqlalchemy import Session

be
from nameko_sqlalchemy import Database

?

This is fixed in master now.


High risk notification: What info should be included on the notification bar?

@Chwy5 can you help me with this text?

@matt has ticket for this - closing this


Replace metadata storage and sampling API with SQL

Long-term idea. We should transition away from our own custom storage solution to something more standard. Would also be nice to have a standard relational algebra for table sampling.

Done with introduction of SQL source/sink


Base commit to clean up old action interfaces and disabling all ISM related tests

Signed-off-by: Ravi Thaluru<EMAIL_ADDRESS>Issue #, if available:
N/A
Description of changes:

Cleaning up all old Action/Step interfaces and metadata models
Setting placeholder actions using new SPI interface
Disable tests of ISM

CheckList:

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #218 (177d152) into development-extension (741abdd) will decrease coverage by 22.81%.
The diff coverage is 3.70%.

@@                     Coverage Diff                      @@
##             development-extension     #218       +/-   ##
============================================================
- Coverage                    76.04%   53.23%   -22.82%
+ Complexity                    1947     1187      -760
============================================================
  Files                          260      249       -11
  Lines                        11122     9278     -1844
  Branches                      1753     1433      -320
============================================================
- Hits                          8458     4939     -3519
- Misses                        1703     3802     +2099
+ Partials                       961      537      -424

Impacted Files
Coverage Δ

...pensearch/indexmanagement/IndexManagementPlugin.kt
91.26% <ø> (-1.46%)
:arrow_down:

...anagement/indexstatemanagement/ISMActionsParser.kt
0.00% <0.00%> (ø)

...ndexstatemanagement/IndexStateManagementHistory.kt
16.91% <ø> (-63.24%)
:arrow_down:

...nt/indexstatemanagement/ManagedIndexCoordinator.kt
39.37% <ø> (-32.41%)
:arrow_down:

...agement/indexstatemanagement/ManagedIndexRunner.kt
9.67% <0.00%> (-46.03%)
:arrow_down:

...exstatemanagement/action/AllocationActionParser.kt
0.00% <0.00%> (ø)

...agement/indexstatemanagement/action/CloseAction.kt
0.00% <0.00%> (-100.00%)
:arrow_down:

...t/indexstatemanagement/action/CloseActionParser.kt
0.00% <0.00%> (ø)

.../indexstatemanagement/action/DeleteActionParser.kt
0.00% <0.00%> (ø)

...exstatemanagement/action/ForceMergeActionParser.kt
0.00% <0.00%> (ø)

... and 129 more

Continue to review full report at Codecov.

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


Default title color black invisible in Chrome Dev Tools Dark theme

Don't know if you'll consider this an issue but in Chrome there is now a dark theme for dev tools:

With it, it's impossible to see title of actions being logged:

Easily fixed by using options:
const logger = createLogger({colors: {title: false}})

Which gives:

You think it's worth having another default that black? Or if not, is it worth mentioning in the readme if more and more people starts using the dark theme?

Note: in my simple fix above using false everything turns white. If you want the default colors but ONLY want to change the title color you'd have to do this as far as I understand:
	logger = createLogger
		colors:
			title: -> '#FFFFFF'
			prevState: -> '#9E9E9E'
			action: -> '#03A9F4'
			nextState: -> '#4CAF50'
			error: -> '#F20404'

(coffee-script)


task sed: couldn't open temporary file  Permission denied

cat /etc/issue
Debian GNU/Linux 11 \n \l
Kubernetes "v1.20.11"
deploy-to-k8s.yaml
apiVersion: tekton.dev/v1alpha1
kind: Task
metadata:
  name: deploy-to-k8s
spec:
  workspaces:
    - name: source
    - name: kubernetesconfig
      mountPath: /root/.kube
  params:
    - name: pathToYamlFile
      description: The path to the yaml file to deploy within the git source
      default: deployment.yaml
    - name: IMAGE
    - name: TAG
  steps:
    - name: run-kubectl
      image: xxxxxx/kubectl:1.20.11
      workingDir: $(workspaces.source.path)
      script: |
        sed -i s#IMAGE#$(params.IMAGE)#g $(params.pathToYamlFile)
        sed -i s#TAG#$(params.TAG)#g $(params.pathToYamlFile)
        kubectl apply -f $(params.pathToYamlFile)

tkn version
Client version: 0.23.1
Pipeline version: v0.34.1
Triggers version: v0.19.1
Dashboard version: v0.25.0
kubectl logs -f  deploy-to-k8s-pod
2022/05/02 08:59:49 warning: unsuccessful cred copy: ".gitconfig" from "/tekton/creds" to "/": unable to open destination: open /.gitconfig: permission denied
2022/05/02 08:59:49 warning: unsuccessful cred copy: ".git-credentials" from "/tekton/creds" to "/": unable to open destination: open /.git-credentials: permission denied
sed: couldn't open temporary file ./sedKiqC1e: Permission denied

Hello @balainit - thanks your for report. It looks like sed does not have access to create a temporary file.
I'm not 100% sure what sed is doing there, but it feels like it may be trying to use same folder where your file is to create a temporary file.
As a side not I would recommend using apiVersion: tekton.dev/v1beta1 instead of apiVersion: tekton.dev/v1alpha1.

apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
  name: deploy-to-k8s
spec:
  workspaces:
    - name: source
    - name: kubernetesconfig
      mountPath: /root/.kube
  params:
    - name: pathToYamlFile
      description: The path to the yaml file to deploy within the git source
      default: deployment.yaml
    - name: IMAGE
    - name: TAG
  steps:
    - name: run-kubectl
      image: xxxxxx/kubectl:1.20.11
      workingDir: $(workspaces.source.path)
      script: |
         sed -i s#IMAGE#$(params.IMAGE)#g $(params.pathToYamlFile)
         sed -i s#TAG#$(params.TAG)#g $(params.pathToYamlFile)
         kubectl apply -f $(params.pathToYamlFile)
      securityContext:
          privileged: true

@afrittoli
Thanks a lot, I used securityContext: privileged: true and it works fine

why I use add this:
securityContext:
privileged: true
but still have problem....
@balainit


Deflation Bomb Clock Incorrect - running 18 hrs ahead

Deflation Bomb is block 33783
Current block is 33315
Leaves 468 blocks
Average time between blocks last 24 hours is just under 5 min
Target time is 5min
This suggests another 38 hours to go
But deflation countdown says 20
Im sure you know this and maybe have a plan.
Just thought i would flag it up

Ok ill close this i can see the code update that bomb will continue to go off at the designated time rather then the block. So I guess it will just stop buys in interface until we pass the block where buy transactions get declined.


Suggestion: using elm-serialize

I want to make a suggestion, hoping it’s useful. 😁
I’ve read this response about the maximum supported model size of 166,6 MB (JSON encoded).
The package elm-serialize produces compressed JSON encoding.
There is a post on the Elm Discourse and it proved to be beneficial in elm-review too:

elm-serialize produces a significantly compressed JSON output (or binary, but which proved to be less efficient at this time). Instead of {"expression": {"type": "Operator", "operator" : "+" } } it will be something like [0,[0,0,1,"+"]].
Overall, this reduces the total cache size from 40MB to 14MB in the large project I mentioned, and because there is less data to read from (and to write to) the slow file system, the total run time was reduced by about 15%!

Thank you for sharing this idea. It looks like it would help to avoid that limit. As far as I see, that package uses a different interface than the JSON libraries. So would it require changing the compiler to emit different code?
An example of the Elm code produced by the current compiler is at https://github.com/elm-fullstack/elm-fullstack/commit/4834294bd0ef79bd01d662df33b20bcad6c221e4#diff-f9ef3d37f5a52da0a2284ac48d4a91611741f93cb0269823ee2e8cbdb8916fcf
Mid-term, it looks like said limit would be lifted by a change in the upstream project (linked issue) or the switch of Elm Fullstack to the PineVM. PineVM has its own persistence infrastructure model anyway.

Is this issue resolved in the short term via this commit and release 2023-11-15?

Is this issue resolved in the short term via this commit and release 2023-11-15?

I now ran a test with version 2023-11-15 to find out. I tested with database sizes up to 250 MB, and that worked. So that limit of 166,6 MB is resolved.
However, at the moment, the backend still relies on compiling Elm to JavaScript and running that in a JS engine. And JS engines introduce various bottlenecks. With version 2023-11-15, you will eventually run into limits related to the JavaScript approach with larger database sizes.
We made good progress this year with the new compiler and runtime for Elm/Pine and declarative programming languages in general.
Looks like we are on track to free Elm backends from JavaScript and JS engines next year.


append messages & merge

on the example of Forsa Hartmoor 3, there is a gap of 1 month after merging.

This happend because the mode was undefined on the appended start. Solved by implementing an overlap and aligning algorith


Mark Respective Books as Freely Redistributable

Many of the books in the repository are free under various terms, or under terms which aren't made clear on the download page specifically.
It might be nice if for books released under open licenses like Creative Commons or Free Documentation License, that they be marked somehow in the repository.
This would be great to denote books which aren't only free, but also freely available to redistribute.
For example, there have been instances where a book or resource was previously free, but is no longer available for free. Many resources in the repository which aren't under an open license may no longer be available at any given moment for new users.
This would make it so it's clearer which books are certainly always going to be free, if not by the first party than by anyone that had already obtained the book under said license and has the right to continue redistributing it, vs books which must be downloaded from the website and  comes with no guarantee it'll remain freely available.

good idea but maybe too much work. feel free to propose an implementation strategy

okay i am completely new to all of this. but im super interested and eager to learn and when i am taught something ive sought out i absorb it like a sponge. i need to know where to start. like literally pretend i ended up here on accident and know nothing. i can self teach pretty well, i just need to have a source for information and a starting point for reference. please someone, i promise i will surprise you. just a little time anf energy and i swear it wont be wasted. (payitforwards?)

@kaeleyworks
I can see you're interested in freeCodeCamp, so asking in the forum would be more appropriate and yield much better answers.
https://forum.freecodecamp.org/
I don't think this issue is the best place to hold the conversation, plus a subjective question like this is best heard by many. Regardless, I can note an opinionated, summary!

freeCodeCamp if you like interactive tutorials, plus you'll get certificates.

They also have video courses on their YouTube channel. (YouTube)

Books like any of the ones in this repository.

I'd especially recommend the books from Allen Downey if those topics interest you. (Green Tea Press)

Documentation of the tools or libraries you use, especially resources like MDN Web Docs.

The best way to learn will be the path where you have the most fun. Usually learning isn't much of a problem, staying motivated can be tough, though.

salam

Hello sir, please assign this task to me!

Bookstore events are an exciting part of the book freely redistribution. Many authors look forward to readings, signings, and bookstore-hosted workshops and have visions of hundreds of people waiting in line to buy their book. Here’s how to approach planning a bookstore event and some of the related pros and cons.


Zip code

I am integrating this feature.
I have added zip_code.py.  Trigger the get_state_stats(zip_code) function and it will automatically return the properly formatted response as a string.
EXAMPLE RESPONSE:

Forget about: Return only state info (comment out county part for now, but leave in code as it might come useful later)
County info is actually awesome when available, and is implemented nicely.

Glenn, Looks great! I added just a little comment!
Do you think that it would be possible to integrate the growth info and the daily information in the general response message as well? Do you think that would be pretty straight froward to implement?

Thank you for your contribution!


Added Typescript Definitions & Annotations

This is to resolve issue #15
All files are now in .ts format and export type definition files inside of build.
Type annotations were added to existing functions and data members to enhance clarity.

Coverage remained the same at 100.0% when pulling 9afd45e2cc764209bc2860fe6555e4aded659068 on jacob-shuman:master into 8998b5e3071b62fbb2e194d93ed58bcb6e47a9f1 on sibnerian:master.


drawablepage.h: Add missing include

| In file included from ../git/src-qt5/Renderer-poppler.cpp:2:
| ../git/src-qt5/drawablepage.h:34:8: error: 'unique_ptr' in namespace 'std' does not name a template type
|    std::unique_ptrPoppler::Page page;
|         ^~~~~~~~~~
| ../git/src-qt5/drawablepage.h:34:3: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '?
| ../git/src-qt5/drawablepage.h:7:1:
| +#include
Signed-off-by: Andreas Müller<EMAIL_ADDRESS>

hm.. I am not seeing any missing include warnings/errors when I compile here.
Which OS/compiler are you using?

Linux / gcc 8.3.0 / glibc 2.29

Same error with gcc 8.2.0 and linux.


disposition-types?

Would be helpful to list some possible values for the disposition-type string.

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

ID: 30717193-ecbc-ee8f-b672-9a42f4a6750d
Version Independent ID: 604e9b21-5150-fed5-3da5-9734950d9233
Content: HttpContentDispositionHeaderValue(String) Constructor (Windows.Web.Http.Headers) - Windows UWP applications
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.web.http.headers.httpcontentdispositionheadervalue.yml&version=GBlive&_a=contents
Product: uwp
Git Login: stevewhims
Microsoft Alias: stwhi

I've added more info this topic. Links to a list of the valid, standard, values. And a link to a code example in another topic. ~Steve

Thanks much! Looks like the appropriate Content-Disposition here would be form-data.
Appears I’m not authorized to view the code example. Maybe your team will have something.
Jeff
On Feb 12, 2019, at 12:58 PM, Steven White<EMAIL_ADDRESS>wrote:
I've added more info this topic. Links to a list of the valid, standard, values. And a link to a code example in another topic. ~Steve
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/winrt-api/issues/916#issuecomment-462931984, or mute the thread https://github.com/notifications/unsubscribe-auth/Af8vFsJZ5jjdvDI7KFRVgDV8_FRfQbIcks5vMysDgaJpZM4a1XY5.

Ah, yes, I got that link wrong. So, I've just Completed a fix PR, so that should be live either today or tomorrow. The link that I got wrong and just fixed was just to a topic that we've already talked about, though, it's just this one FYI: https://docs.microsoft.com/uwp/api/windows.web.http.headers.httpcontentheadercollection.

Right! That one I can see. I’ll keep my eyes peeled.
Jeff
On Feb 12, 2019, at 2:52 PM, Steven White<EMAIL_ADDRESS>wrote:
Ah, yes, I got that link wrong. So, I've just Completed a fix PR, so that should be live either today or tomorrow. The link that I got wrong and just fixed was just to a topic that we've already talked about, though, it's just this one FYI: https://docs.microsoft.com/uwp/api/windows.web.http.headers.httpcontentheadercollection https://docs.microsoft.com/uwp/api/windows.web.http.headers.httpcontentheadercollection.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/winrt-api/issues/916#issuecomment-462971559, or mute the thread https://github.com/notifications/unsubscribe-auth/Af8vFqGq2iDiF-cKHZCunXvNTHZg6Sg4ks5vM0WvgaJpZM4a1XY5.

Links are good now. :) I'll close this. ~Steve


Version for package Microsoft.EntityFrameworkCore.Tools.DotNet [version 2.0.1] could not be resolved. (Mac)

Describe what is not working as expected.
The EF command line tools are not able to be resolved and therefore used:
Exception message: Version for package `Microsoft.EntityFrameworkCore.Tools.DotNet` could not be resolved.
Stack trace: None provided.

Steps to reproduce
I have a simple application I created using the boilerplate from VS2017 for Mac. I created a new .Net Core 2 Web API project then modified the .csproj file to be the following:
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp2.0</TargetFramework>
    <DockerComposeProjectPath>../docker-compose.dcproj</DockerComposeProjectPath>
  </PropertyGroup>

  <ItemGroup>
    <Folder Include="wwwroot\" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.5" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.0.1" PrivateAssets="All" />
    <PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.0.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.0.1" />
    <PackageReference Include="MySql.Data.EntityFrameworkCore" Version="8.0.10-rc" />
    <PackageReference Include="MySql.Data" Version="8.0.10-rc" />
  </ItemGroup>

  <ItemGroup>
    <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.0" />
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.Dotnet" Version="2.0.1" />
  </ItemGroup>

</Project>

I have changed nothing else about the project files as the documentation never told me to: https://docs.microsoft.com/en-us/ef/core/miscellaneous/cli/dotnet.
Further technical details
EF Core version: 2.0.1
Database Provider: MySql.Data.EntityFrameworkCore (8.0.10-rc) - We are testing but I haven't even loaded this package yet into the project. The issue also happens if I remove this and the other MySQL packages.
Operating system:
IDE: Visual Studio for Mac Community 2017 7.3.3 (build 12)
Dotnet Core info: dotnet --info
.NET Command Line Tools (2.1.4)

Product Information:
 Version:            2.1.4
 Commit SHA-1 hash:  5e8add2190

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.13
 OS Platform: Darwin
 RID:         osx.10.12-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.1.4/

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.5
  Build    : 17373eb129b3b05aa18ece963f8795d65ef8ea54

@firrae - I created new Web API project in VS for mac and copied above csproj file in it. (Removed the docker line). VS for Mac showed me package restore successful.
Though when I tried using dotnet ef on command line, it gave me error and when I did dotnet restore then it actually installed Tools.DotNet package. It seems that for some reason DotNetCliToolReference is not restored properly in VS for mac.

@smitpatel Interesting. Thanks for pointing that out. I will need to test this when I get into the office tomorrow morning.
I had been assuming that the restore method VS for Mac and the CLI were using were the same so I hadn't thought to try the CLI independently. Is that a Nuget issue or a VS issue? I know where to put issues for Nuget, but where would one submit bugs for VS, any ideas?
Also, does this mean that if I use VS to add packages to my application I have to jump to the CLI after each addition and restore by VS to re-run the restore from the CLI?

I also believed that VS doing restore should be full and CLI should be no-op but for some reason I got few packages getting installed. It may be issue in my machine since I also have preview build of SDK installed in my machine. There can be difference if VS & CLI are using different NuGets.
It would be really helpful if you are try out CLI to restore and see if there are differences or not. Ideally, adding package in VS should also restore it.
If you find that CLI restore is required even after VS restored packages then it would be VS issue. To report bugs for VS, in VS for mac app, goto Help->Report a problem

I can confirm that when I use the CLI's restore function the commands work. Interesting.
Thanks for pointing that out, I'll make a note to MS about the issue and maybe someday it'll get fixed.

Update Microsoft.EntityFrameworkCore.Tools.DotNet version to the lates version in Nuget. For me, the latest version was 2.0.3.


Migrate gce-production-5 to separate graphs for network and workers

What is the problem that this PR is trying to fix?
The GCE production projects are not yet using the latest NAT goodies, as is currently the case for the GCE staging project.
What approach did you choose and why?
Migrate gce-production-5 to use separate graphs for network (gce-production-net-5) and workers (using different modules) as with the GCE staging project (gce-staging-1 + gce-staging-net-1).
How can you test this?

[x] make plan && make apply in both gce-production-net-5 and gce-production-5

These steps succeeded only after running the migration targets defined in this PR (make export-net, make export-workers, make import-net, make import-workers).

NOTE this has already been applied in production


FFM-7177

What

Updates documentation with new optional configuration option for the Python SDK
Explicitly calls out what happens to evaluation requests if authentication fails.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Export fails with urls with long file names

Describe the bug
Export to Yolo Fails.
`Traceback (most recent call last):
minimal_example.zip
File "C:\Users\xx\PycharmProjects\label1\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)
File "C:\Users\xx\PycharmProjects\label1\venv\lib\site-packages\django\utils\decorators.py", line 43, in wrapper
return bound_method(*args, **kwargs)
File "C:\Users\xx\PycharmProjects\label1\venv\lib\site-packages\label_studio\data_export\api.py", line 183, in get
export_stream, content_type, filename = DataExport.generate_export_file(
File "C:\Users\xx\PycharmProjects\label1\venv\lib\site-packages\label_studio\data_export\models.py", line 161, in generate_export_file
converter.convert(input_json, tmp_dir, output_format, is_dir=False)
File "C:\Users\xx\PycharmProjects\label1\venv\lib\site-packages\label_studio_converter\converter.py", line 183, in convert
self.convert_to_yolo(input_data, output_data, output_image_dir=image_dir,
File "C:\Users\xx\PycharmProjects\label1\venv\lib\site-packages\label_studio_converter\converter.py", line 690, in convert_to_yolo
with open(label_path, 'w') as f:
OSError: [Errno 22] Invalid argument: 'C:\Users\xx\AppData\Local\Temp\tmpj4cxw0_d\labels\WW2_Norway.Recruitment_brochure_pamphlet_for_Frontkjemper%28Norwegian_Waffen-SS_volunteer%29%2C_tent_pegs_Zeltbahn%2C_Gebirgsj%C3%A4ger_Edelweiss_emblem%2C_East_Front_Medal%2C_compass%2C_Ost-Front_newspaper%2C_etc._Lofoten_krigsminnemuseum_2019_09964.txt'`
I suspect this is due to the filename being too long.
To Reproduce
import this json and try to export to yolo
[{"id":1116,"annotations":[{"id":854,"completed_by":1,"result":[{"original_width":2016,"original_height":1512, "image_rotation":0,"value":{"x":38.425925925925924,"y":39.18571009582702,"width":2.625600137174213,"height":3.283546769583874,"rotation":0, "rectanglelabels":["car"]},"id":"L28xt4qPQ1","from_name":"label","to_name":"image","type":"rectanglelabels"}, {"original_width":2016,"original_height":1512,"image_rotation":0, "value":{"x":87.40140603566529,"y":41.18439073818244,"width":2.5184327846364947,"height":3.2121653180711784,"rotation":0,"rectanglelabels":["car"]}, "id":"25mzEMfK8V","from_name":"label","to_name":"image","type":"rectanglelabels"}, {"original_width":2016,"original_height":1512,"image_rotation":0,"value":{"x":84.67217721650388,"y":58.148946708793396,"width":2.077607818294979, "height":2.685066173799212,"rotation":0,"rectanglelabels":["car"]},"id":"d_-dGsICWf","from_name":"label","to_name":"image","type":"rectanglelabels"}, {"original_width":2016,"original_height":1512,"image_rotation":0,"value":{"x":75.58124396687498,"y":84.12512563346968,"width":2.4187076093583375,"height":2.8089923048976493, "rotation":0,"rectanglelabels":["car"]},"id":"FvCqr0oqMG","from_name":"label","to_name":"image","type":"rectanglelabels"}], "was_cancelled":false,"ground_truth":false,"created_at":"2023-02-02T13:23:57.248133Z","updated_at":"2023-02-02T13:23:57.248133Z","lead_time":1963.3,"prediction":{}, "result_count":0,"task":1116,"project":6,"parent_prediction":null,"parent_annotation":null}],"file_upload":"91c670d5-project-7-at-2023-02-02-11-23-5e809630.json","drafts":[], "predictions":[],"data":{"pageid":113577757, "filename":"File:ЗНАКИ РАЗЛИЧИЯ ГЕРМАНСКОЙ АРМИИ (СССР 1941 год) 06-07 Wehrmacht Abzeichen WW2 German insignia Heer army infantry (USSR) Scribd No known copyright.jpg", "license":"CC BY-SA 4.0","attribution":"Unknown; uncredited illustrator\/designer of descriptive illustrations of German uniform insignia. Booklet published by the People's Commissariat of Defense of the Soviet Union (Народный комиссариат обороны СССР) and the USSR People's Commissariat for Industry and Trade in Moscow in 1941. No known copyright restrictions.","image":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/9\/95\/%D0%97%D0%9D%D0%90%D0%9A%D0%98_%D0%A0%D0%90%D0%97%D0%9B%D0%98%D0%A7%D0%98%D0%AF_%D0%93%D0%95%D0%A0%D0%9C%D0%90%D0%9D%D0%A1%D0%9A%D0%9E%D0%99_%D0%90%D0%A0%D0%9C%D0%98%D0%98_%28%D0%A1%D0%A1%D0%A1%D0%A0_1941_%D0%B3%D0%BE%D0%B4%29_06-07_Wehrmacht_Abzeichen_WW2_German_insignia_Heer_army_infantry_%28USSR%29_Scribd_No_known_copyright.jpg","timestamp":"2021-12-23 00:45:04"}, "meta":{},"created_at":"2023-02-02T13:23:57.185624Z","updated_at":"2023-02-02T13:23:57.185624Z","inner_id":11,"total_annotations":1,"cancelled_annotations":0,"total_predictions":0,"comment_count":0,"unresolved_comment_count":0, "last_comment_updated_at":null,"project":6,"updated_by":null,"comment_authors":[]}]
labeling interface
<View>   <Image name="image" value="$image"/>   <RectangleLabels name="label" toName="image">     <Label value="Airplane" background="green"/>     <Label value="car" background="blue"/> </RectangleLabels> </View>

The issue is solved in https://github.com/heartexlabs/label-studio-converter/commit/3c71c95e4c91e92d25721dcf360f1978efd8a7ca of label-studio-converter repo, it will be delivered in upcoming releases (after LS 1.7.2).


[quorum] ansible decoupling  of create/certificates/ambassador role

Signed-off-by: manikanta-darsi<EMAIL_ADDRESS>Changelog

Add Ansible decoupling  of create/certificates/ambassador role

Reviewed by
@suvajit-sarkar @sownak @jagpreetsinghsasan
Linked issue
#1854

can we do something for the DCO check getting stuck ?


Idefics2

What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

throught(tokens/s)
A100
Gaudi2

BF16
11.7
55.2

FP32
15.3
29.8

cmd:
python3 run_pipeline.py     --model_name_or_path HuggingFaceM4/idefics2-8b     --use_hpu_graphs     --bf16

Looks good otherwise, have a question regd unfold

Hi, I have replace unfold with conv2D. cpu fallback is not needed. finetune got speedup @ssarkar2

has found the recent PR which upgrade test_image_to_text_example.py. add "use_kv_cache", whose default value is false if not indicated explicitly in command line. which will lead image-to-text ci test  to fail. fix it.

also found the similar PR which mean to fix eos issue if batch>1, please refer https://github.com/huggingface/optimum-habana/pull/1287,
the root cause of it is the  needs_tensor_output is incorrect set

@regisss could you review and merge it?


Switch Github accounts

Switch Github accounts in recognized-contributors.md. Consolidating Github activity into one account.

Realized I can't keep with notifications to two separate accounts, when neither is tied to a work email :smile:
I've transfered my W3C membership to @ppenzin already.


Add VSCode config for project

Pull Request Template
Checklist

[x] Confirm that run-checks.sh has been executed.

Related Issues/PRs
No issue
Changes
This changes suggests the addition of some VSCode extensions, which can help us on development and debug.
To begin with, when a new contributor start a fresh VScode instance on burn, he/she will receive the following message to install the suggested extensions:

With LLDB extension we can insert breakpoints and debug our changes, just go to "Run and Debug" tab and select the lib or test related to it:

To update the launch.json file, we should press F1 (or ctrl+shift+P) and type LLDB: Generate Launch Configurations from Cargo.toml:

Testing
No test needed

@antimora I think you are using vscode, I would appreciate your feedback on this 😁

@antimora I think you are using vscode, I would appreciate your feedback on this 😁

I'll tested out and review it.

I've given it a try locally, and here's my assessment.
The setup does have its merits, but our approach might be excessively intrusive and could introduce potential security risks due to the automated execution of scripts.
In my view, we might be better served by simply documenting how to debug Rust code using the LLDB extension, an outstanding tool that I've utilized before. Aside from my thoughts, I've encountered the following issues:

The script fails to execute on my Mac M1 laptop, indicating that Python is missing. This issue can be fixed by using the shebang line #!/usr/bin/env python3. Additionally, the script appears to assume that I am operating from the project root.
After running the script, I notice that the list is populated with too many items. A screenshot of this can be seen below.

These observations might warrant consideration as we proceed with this approach.

So, I'll create some documentation of how to setup, where can I create it?

So, I'll create some documentation of how to setup, where can I create it?

I am not sure at this point but somewhere we can collect our Burn development knowledge (adding new ops, how to debug, etc). One place I could suggest is in our book's section on development.
@louisfd , @nathanielsimard where should we store such knowledge? I think it's valuable because I have done something similar in the past.

@antimora @caiopiccirillo I think we should document it here: https://github.com/burn-rs/burn/blob/main/CONTRIBUTING.md

I'm closing the PR since the vscode setup should be documented in the CONTRIBUTING file instead of commiting the configs in the repo.


Image basemap remains on screen after deleted

When a user selects to view an image basemap and then deletes it, the image basemap is still viewable on the screen until closed.

Hi @sdamaraju,
Are you going to make a PR soon with this fix?


Add "hard" mode to kanji quiz

It would be nice to have a hard mode or something for quizzes where the answer is a kanji by requiring the user to write the kanji rather than selecting it among the possible choices.
kanjirecog is a library that can be used for this (an android app is in the android branch).

Sorry, github didn't notify me about issues on my repo, I am seeing this only now.
Yup, I don't have much time right now, but kanji drawing is the next feature I have planned.


Add Math symbols and Malayalam Avagraha (\ and / behaviour)

Close #16
Close #17

any(chilluExtendedBase)  + any(fluidsMlym) > index(chilluExtendedBase, 1)
'്' index(fluidsMlym, 1)
Is it correct for  ന്ര ?
On Thu, May 3, 2018 at 12:22 PM, benVar<EMAIL_ADDRESS>wrote:

Merged #22 https://github.com/beniza/mlym-mozhi-Keyman/pull/22.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/beniza/mlym-mozhi-Keyman/pull/22#event-1607001058,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkRHQo5as1Kh5YhLew5N3fQepsL09Yzbks5tuqkbgaJpZM4TMalt
.


How to integrate a second webpage

The webserver works fine if i have only the index,html file,
What if this index,html fle calls another html file, params,html,
I have some problems to have this params,html processed by a processor,
I added following line in fucntion initWebServer()
server.serveStatic("/params.html", LittleFS, "/params.html").setTemplateProcessor(params_html_processor);
However the function (params_html_processor); is not called when i open the params,html page,
I am stuck on this for quite w while, can you give me some tips on how to solve this please
Thanks you for your tutorial
Best regards,
Fabrizio

In my browser i enter  the IP adres of the ESP32
index,html is opened and processed, OK
But if i enter ipadres/index,html
the index,html file is NOT processed.
This problem and opening of a second params,html are related in my opinion


Add examine option

Adds the option to show examine instead of info menu entry which displays the pet's examine text.
Adds the option to toggle the pet's owner name.
Fixed pet's owner name being grey instead of white when on white color setting.
Moved menu entry to the bottom like how examine should be.
To make the examine entries, I used the most recent version of PetJsonCreator but it looks like pets.json got updated after without PetJsonCreator being updated, so PetJsonCreator and pets.json might need to be updated.
Whenever a new pet is added, the examine field now must also be added in PetJsonCreator.
Config

Looks like at the moment there is only the option to either to have an "info" or an "examine" menu option. What are your thoughts on allowing for both if the player wanted?

Sure, you want to add that?

Sure, my current to do list with this merge is basically

Add the option for both examine and info
Add the new pets that have come out
Test that it all works
Test that merging the new JSON to main won't break the plugin for people using an old version while we wait for the new version to be accepted

I'm happy to do it all, when I have free time. I'll need to use my reserve bond for testing since I let my membership laps lol

Ok, yeah I have also taken a break from OSRS lol.

So I updated it to have the ability to do both info and examine, as well as added the examine text for the new pet.
Could you do me a favor? As a sanity check could you spin up a copy of the main plugin but tell it to pull the JSON from the examine-option branch instead?
I did it on my machine and everything worked fine, I had the Info option and it didn't crash, but I would like a second opinion before I make a change that could break the plugin for all users..
To do it you just need to change the URL in PetDataFetcher.java
from https://raw.githubusercontent.com/microtavor5/PetInfoPlugin/master/pets.json
to https://raw.githubusercontent.com/microtavor5/PetInfoPlugin/examine-option/pets.json
Also:

lol

Looks good to me!

So I merged the code in with my own pull request because github is black magic, I'll submit it for review by the fine folks over at runelite


12 accordion block

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #12
Test URLs:

Before:
https://main--macquarie-help-centre--hlxsites.hlx.page/personal/home-loans
https://main--macquarie-help-centre--hlxsites.hlx.page/personal/home-loans/apply-for-a-home-loan
After:
https://12-accordion-block--macquarie-help-centre--hlxsites.hlx.page/personal/home-loans
https://12-accordion-block--macquarie-help-centre--hlxsites.hlx.page/personal/home-loans/apply-for-a-home-loan

There seems to not any transition while the accordion is opening/closing.
The fonts on desktop look bolder.
The font size breakpoint do not match: 1280 on original site, 900 on this. - should be at 1200.

There seems to not any transition while the accordion is opening/closing. The fonts on desktop look bolder. The font size breakpoint do not match: 1280 on original site, 900 on this. - should be at 1200.

Will fix transition as part of another issue together with header animation.
Fixed remaining issues.
Closing this PR and created another PR for accordion: https://github.com/hlxsites/macquarie-help-centre/pull/71


negative balance

Describe the bug
After add liquidity in 3 network, at first I had a negative balance, and then my router completely disappeared from the list?
To Reproduce
Steps to reproduce the behavior:

Go to 'https://testnet.amarok.connextscan.io/router/0x6B52b1284f545DB5ac55988fB4643a1eADa33185'
0x6B52b1284f545DB5ac55988fB4643a1eADa33185 my address

Additional context
Add any other context about the problem here.

TX Link:
https://kovan.etherscan.io/tx/0x76d992292632f3cd5b2ac3cc2601385216d1eca9d031eb16a7b56920fc232dcd
https://rinkeby.etherscan.io/tx/0xf9826970f4293e6f5dd6ccd0c4818ce018d958630f8f97054f29eca32c1503cc
https://goerli.etherscan.io/tx/0xbcb59ee91ec9d6150d2071aa7148981091dee41927ab5964af1924b4025a92f6

Subgraph shows router has negative balance (e.g. kovan).

Looks like it's an error in our mapping then.

Quite a few negative balances. Team will investigate further.

We've determined that the cause of this issue is likely due to a prior mishandling of the slow-liquidity route on-chain - a bug that was fixed >13 days ago. However, the event history still has mishandled (or inaccurate) events from before this issue was corrected.
We've added a redundant check in the subgraph mappings to achieve backwards compatibility and correct inaccurate events leading to poor state updates.
See #1417


Add global state

Implements a global read-only typemap.
This permit to have global data for all requests, that are requested on demand. See the new example, global_state, for an usage.
The new methods are :

Shio::manage: add a new element to global context.
Context::get_global and Context::try_get_global : similar to Context::get and Context::try_get, but in global context instead of request context.

This closes #13, and also provide the storage part of #12.

Coverage increased (+0.002%) to 79.764% when pulling 488a92d61094e5d11107cdcd28d8518f1954f403 on Meralis40:global_typemap into 033a0b599af8f1564b097e4019883c2aab59c4be on mehcode:master.

Pulled updates from master

Coverage increased (+1.6%) to 81.35% when pulling 5f0ec0802d143f99c44f643c94b99ef71dae055d on Meralis40:global_typemap into 033a0b599af8f1564b097e4019883c2aab59c4be on mehcode:master.

@Meralis40
I made a few changes.

global -> shared. I think this name illustrates the concept better. It's not exactly "global" but "shared" data. Also I'm thinking from a teaching perspective. People coming from other languages might see "global" and think "global data bad" without reading into what it's doing.

Removed direct access to shared map in favor of returning a &TypeMap directly ( with a renamed interface to match ) with Context::shared.

context.get::<T>(); // per-request
context.shared().get::<T>(); // shared

Broke out a State struct from Context and moved to its own file.

Also added a bunch of tests for State and TypeMap.

Awesome work as always getting this started.


Support more FaultTolerance strategies

Signed-off-by: Jiangnan Jia<EMAIL_ADDRESS>
Describe what this PR does / why we need it
Support more FaultTolerance strategies: ThrottlingStrategy、ConcurrencyLimitStrategy、CircuitBreakerStrategy
Does this pull request fix one issue?

Describe how you did it
add ConfigKindRef

Thanks!


Added option to add additional data to exceptions

AppCenter gives you the possibility to add additional information to exceptions so I added the following method to the interface and implemented it into the provider:
Task TrackErrorAsync(Exception ex, Dictionary<string, string> properties);
I added TODO's in the Google Analytics provider but made sure they won't crash.

I will take a look at the Google Analytics support before merging it to master.

Thank you for contributing!

I have released it to NuGet now, you can download it when NuGet search index has been updated.


Add streaming metrics

http://cassandra.apache.org/doc/latest/operating/metrics.html#streaming-metrics

Streaming metrics are not visible on new clusters created with ccm. To see them a new node must be added (or an existing one decommissioned), so that some streaming is generated.
After #60 is merged this should also resolve the IPs to hostnames only when explicitly set to do so.


eslint-plugin-import/no-unresolved error caused by conditional exports

Hi @samhh, thank you for your work. I'm aware of the pinned issue that discusses the interaction between jest and fp-ts-std's conditional exports. I'm having a similar issue with the import plugin for eslint. The import/no-unresolved rule complains that it is unable to resolve path to module 'fp-ts-std/Array.
This issue discusses ways to mitigate the problem. Would you consider applying the same recommendations here?
Thank you!

Actually, this is not just an issue with the linter, our entire build fails on the following error:
(node:82794) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
/Users/.../node_modules/fp-ts-std/dist/esm/IO.js:1
import * as IO from "fp-ts/IO";
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at compileFunction (<anonymous>)
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1032:15)
    at Module._compile (node:internal/modules/cjs/loader:1067:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:168:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
    at async Promise.all (index 0)
SyntaxError: Cannot use import statement outside a module

Hi @samhh , thank you for the quick follow-up. We use fp-ts and fp-ts-std with SvelteKit and Vite.
Here is how you can easily reproduce the issue.

Run the following

npm init --yes @svelte-add/kit@latest -- --with typescript sveltekit-fp-ts-std
cd sveltekit-fp-ts-std
npm i fp-ts fp-ts-std

Replace src/routes/index.svelte with:

<script lang="ts">
  import { invert } from "fp-ts-std/Boolean";
</script>

{invert(false)}

Run npm run dev

This will run without issues.

Run npm run build

import { invert } from "fp-ts-std/Boolean";
         ^^^^^^
SyntaxError: Named export 'invert' not found. The requested module 'fp-ts-std/Boolean' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'fp-ts-std/Boolean';
const { invert } = pkg;

Possible solution
This SvelteKit issue (see also library issue and library PR) seems equivalent and was solved by:

Changing ESM modules' extensions from .js to .mjs.
Exporting "./package.json": "./package.json"

I tried to apply this changes in my local installation but I wasn't able to get things to work.
I know how difficult it is to make code interoperable between ESM, CJS, and the various bundlers and I understand why you are reluctant to complicate things further. Hopefully this gave you some ideas on how this problem could be solved. Thank you!

Hi, @andreavaccari summoned me. Making packages work with bundlers and node can certainly be a challenge, but I think there's certain improvements can be made as @andreavaccari suggested. Even with conditional exports, the file extension matters too, here's how Nodejs determines what file is considered ESM/CJS. So ideally you can have two ways to fix this in your library:

Change all dist ESM files to end with .mjs (preferred)
or add package.json with {"type":"module"} in dist/esm

The "./package.json": "./package.json" export isn't needed now. With these changes it should work in Nodejs properly, which Vite emulates its algorithm, hence the error appears in Vite.

Thank you so much for your help, @bluwy!

Thanks for the info and sorry for the delay.
I'd be open to patching in ESM support (file extensions and import suffixes) following the call to tsc when building, however I can't see any .mjs files or a "type": "module" key anywhere in fp-ts' output. Can an ESM library/project import from another that's non-ESM, or is that a blocker?

Hi Sam, I'll be unable to help for the next 4 weeks but I'd be happy to working with you on this afterwards.

@bluwy could you explain why changing EMS extensions to .mjsis preferred to adding a second package.json with {"type:""module"}? My understanding is that it's not possible to use tsc 1) to emit files with .mjs extensions and 2) to transform extensionful relative imports (e.g. import ... "./utils.js" to import ... "./utils.mjs", which is required by Node's module resolution algorithm). For #126 I ended up using tsup which takes care of both requirements, but, for my own education, I'd like to understand why you recommend one option over the other. Thank you!
I went with the former in the PR above, using tsup to do all the heavy lifting.

.mjs is preferred mostly because it's faster for internal implementations to detect whether a file is ESM or not. Using {"type":"module"}, they'd otherwise have to walk up the filesystem to find a package.json to detect it. Explicit extensions is also easier for developers to recognize the file type.
Good point about tsc and the explicit extensions needed in imports (especially for nodenext target). It should be fine to use {"type":"module"} too if you'd want to stick with tsc, but tsup is also a great option with nice defaults builtin.
Also I've made<EMAIL_ADDRESS>recently which might help verify this 🙂

Thank you for the quick reply! I've learned a lot from your comments and answers here and in other repos. I used publint to confirm #126 is properly configured — it's a great tool! It showed that fp-ts and io-ts are also misconfigured. I plan to submit PRs for those packages after seeing how this change works in fp-ts-std.

If this issue is still relevant, might I ask if 0.18.0-beta.1 resolves it for you?

We have been using patch-package to modify fp-ts and fp-ts-std and make them behave nicely in our monorepo.
Otherwise, the issue is still relevant.
bluwy's publint shows that you have resolved most issues in 0.18 compared to 0.17:

<EMAIL_ADDRESS>-> 47 warnings
<EMAIL_ADDRESS>-> 1 warning

That one warning is a bug on my end. Should be fixed now (with no warnings)

Closing, fixed ESM can be tracked at #193.


Hyper dependency as a feature

Putting the hyper dependency as a feature enables us to build Pica within Android, while also making it available without the web interface if it's not required.

#21 #18


[QA-320] Updated scripts to use timeRequest function

QA-320
What?
Updated test scrips to use timeRequest utility function
Changes:
Updated the following files to use the timeRequest utility function:

accounts/id-reuse.ts
accounts/test.ts
authentication/test.ts
cri-kiwi/f2f-cic.ts
cri-lime/test.ts
cri-orange/address.ts
cri-orange/kbv.ts
ipv-core/test.ts

Why?
To make use of the new utility function and reduce code duplication

Related:

https://github.com/alphagov/di-devplatform-performance/pull/304

Have the updated scripts been smoke tested locally? I think this might have captured some issues with the cri-kiwi script