CmdDef should have a simpler representation

What is the expected enhancement?
The current CmdDef's, repr is based on its underlying dictionary. This quickly becomes complicated. Perhaps something like
CmdDef(commands=['u1','u2','u3','measure','cx'], qubits=[0,1,2,3])
is simpler to take in at a quick glance.

Maybe __str__ can be like you've written, and __repr__ can have enough detail to show which qubits each command supports? (e.g. u1 works on q0, q1, and q2, cx has (0, 1), (1, 2) etc)

Sounds good to me!

Here's a suggestion to this: https://github.com/Qiskit/qiskit-terra/pull/2962 For Tokyo I get the following output:
print(cmd_def)
print(' ')
print(repr(cmd_def))

yields:
CmdDef(commands=['cx', 'id', 'measure', 'u1', 'u2', 'u3', 'x'], qubits=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19])

['cx': ParameterizedSchedule]=[(0, 1), (0, 5), (1, 0), (1, 2), (1, 6), (1, 7), (2, 1), (2, 6), (3, 8), (4, 8), (4, 9), (5, 0), (5, 6), (5, 10), (5, 11), (6, 1), (6, 2), (6, 5), (6, 7), (6, 10), (6, 11), (7, 1), (7, 6), (7, 8), (7, 12), (8, 3), (8, 4), (8, 7), (8, 9), (8, 12), (8, 13), (9, 4), (9, 8), (10, 5), (10, 6), (10, 11), (10, 15), (11, 5), (11, 6), (11, 10), (11, 12), (11, 16), (11, 17), (12, 7), (12, 8), (12, 11), (12, 13), (12, 16), (13, 8), (13, 12), (13, 14), (13, 18), (13, 19), (14, 13), (14, 18), (14, 19), (15, 10), (15, 16), (16, 11), (16, 12), (16, 15), (16, 17), (17, 11), (17, 16), (17, 18), (18, 13), (18, 14), (18, 17), (19, 13), (19, 14)]
['id': ParameterizedSchedule]=[(0,), (1,), (2,), (3,), (4,), (5,), (6,), (7,), (8,), (9,), (10,), (11,), (12,), (13,), (14,), (15,), (16,), (17,), (18,), (19,)]
['measure': ParameterizedSchedule]=[(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)]
['u1': ParameterizedSchedule]=[(0,), (1,), (2,), (3,), (4,), (5,), (6,), (7,), (8,), (9,), (10,), (11,), (12,), (13,), (14,), (15,), (16,), (17,), (18,), (19,)]
['u2': ParameterizedSchedule]=[(0,), (1,), (2,), (3,), (4,), (5,), (6,), (7,), (8,), (9,), (10,), (11,), (12,), (13,), (14,), (15,), (16,), (17,), (18,), (19,)]
['u3': ParameterizedSchedule]=[(0,), (1,), (2,), (3,), (4,), (5,), (6,), (7,), (8,), (9,), (10,), (11,), (12,), (13,), (14,), (15,), (16,), (17,), (18,), (19,)]
['x': ParameterizedSchedule]=[(0,), (1,), (2,), (3,), (4,), (5,), (6,), (7,), (8,), (9,), (10,), (11,), (12,), (13,), (14,), (15,), (16,), (17,), (18,), (19,)]


Moving node text is difficult

I noticed that if I wanted to move some text in a node it is quite tedious to do so. eg

If I wanted to move x_5 up, I would first have to get the coordinates of the text then move it from there. It would be better to have a method that could move node text relative to the node. eg
la.moveNodeTextPosition("x_5", [-10, +50])
This would move the text by -10,+50

Here is a method  I made that moves a node text a relative distance. Incorporate something like this into SBMLDiagrams.
def moveNodeTextPosition (la, id, coord):
pt = la.getNodePosition (id)[0]
pt.x = pt.x + coord.x
pt.y = pt.y + coord.y
la.setNodeTextPosition("x_5", pt)

The code above dosn't quite work because it doesn't move the text.

add a new function moveNodeTextPosition (https://sys-bio.github.io/SBMLDiagrams/Node.html#SBMLDiagrams.load.moveNodeTextPosition).


Maya: per face shaders assignment validator

We need to validate per face shader assignments as it breaks look publishing
per face shaders should be forbidden as we are not able to handle topology changes and identify faces/shaders relationship consistently.

There is validator for this but seems that it doesn't work for all cases validate_look_single_shader.py
We need to test it more

If you can provide me scenes that do not pass the validation let me know and I'd be happy to patch it up.

If we only count the number of shader connections to assume there are component level assignments we are missing the case where you select ALL faces of an object and assign the shader.
So there will be only one shader but on a component level.

Valid point! Will have a look.

We could do this to detect component assignments specifically:
from maya import cmds

NODE_TYPE_FACE_COMPONENTS = {
    "mesh": ".f[*]",
    "nurbsSurface": ".sf[*][*]"
}

for node in cmds.ls(type=["mesh", "nurbsSurface"]):
    sets = cmds.listSets(o=mesh)
    shading_engines = cmds.ls(sets, type="shadingEngine")

    # Check if any face or surface patch component assignments
    # were made to a shadingEngine
    node_type = cmds.nodeType(node)
    node_components = node + NODE_TYPE_FACE_COMPONENTS[node_type]

    for shading_engine in shading_engines:
        has_component_assignments = cmds.sets(node_components, anyMember=shading_engine)
        print(f"{node} has component assignments with {shading_engine}")

Not sure if there's a simpler way.

If we only count the number of shader connections to assume there are component level assignments we are missing the case where you select ALL faces of an object and assign the shader.

❤ We actually ran into this with a scene and it wasn't trivial to figure out that that was the issue in the scene. A mixture of Pyblish plug-ins started failing due to this.
Here's the quick workaround I wrote to 'repair' the scene:
# Re-assign shaders that are assigned to *ALL* face components of a mesh
from maya import cmds

for sg in cmds.ls(type="shadingEngine"):
    members = cmds.sets(sg, query=True) or []
    for member in members:
        if ".f[" in member:
            node, component = member.split(".", 1)

            num_faces = cmds.polyEvaluate(node, face=True)
            if member.endswith(f".f[0:{num_faces-1}]"):
                print(f"Fixing {member}")
                # All faces are assigned. Assign the node instead
                cmds.sets(node, forceElement=sg)


Adds unit test for comments + some sample tests, fixes #724

Signed-off-by: Soumya Deb<EMAIL_ADDRESS>

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@debloper please update this PR. Would like to merge it.

[test]

[test]


generics: change ListContainsFn to receive a eq(T,T)bool like SliceContainsFn

this allows us to use per-type equal helpers instead of having to craft a custom matcher every time

breaking change. v0.2.0 tagged


SPFx webpart stuck in "Loading..." mode in Internet Explorer 11 with Document Mode 10 on classic pages

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
SPFx webpart needs to work in Internet Explorer 11 with Document Mode 10 on classic pages.
Observed Behavior
We have several custom SPFx webparts on a classic page in SP Online. When using Internet Explorer 11 in Document Mode 10 the webparts are stuck in "Loading..." mode and will not render. I can see that the language files of each webpart are loaded but the bundle-/code files are not loaded. No error or warning that can be related to this is shown in the browser console.
The same webparts set up on a modern page work without issues.
I've tried adding only one single SPFx webpart to a classic page but still the webpart gets stuck "Loading..."
Reloading the page (pressing F5), the webparts load just fine.
Everything works as expected in Chrome, Edge and Firefox.
Steps to Reproduce

Create a SPFx React webpart.
The JS-files are located in a normal SP library, I am not using a CDN.
office-ui-fabric-react.bundle.min.js and pnp.min.3.0.10.js are set as externals and are not bundled
Add the webpart to a classic page
Use Internet Explorer 11. Open Developer Tools and set Document Mode to 10.
Set the cursor in the address bar and press RETURN.
The page should now load normally except for your webpart that is stuck "Loading..."

Any input/help is appreciated!
Regards,
Magnus

Before diving in too far, why are you setting the document mode to 10?

Setting Document Mode 10 is the only way for me to reproduce the problem our customer has. They experience the problem when using IE in Document Mode 11. I do not have that problem in Document Mode 11, but when switching to Document Mode 10 i can reproduce the issue.

@MFSWE We had a similar problem that ended up being related to missing polyfills in IE. It might be a good place to start, especially since things seem to work in modern browsers.
https://pnp.github.io/pnpjs/documentation/polyfill/

@cameronsibbald , was Pat's answer providing you any help?

@lucabandMSFT - It doesn't look to me like Pat's answer provides any help. He's asking for some additional info from @MFSWE.
As mentioned in my comment, we encountered an issue that manifested itself in a similar way to what @MFSWE was describing and solved it by adding some missing polyfills. I was just sharing that information in hopes that it might be helpful here.

sorry, the question was referred to @MFSWE . Apologies for my error and thanks for your reply.
@MFSWE , can you please try the suggestion @cameronsibbald  provided and report if that addresses your scenario?

We only support IE 11 in its native mode.  We do not support IE 11 in all of its different document modes.


Make exists reactive

It would be great if exists command would start watching the path, so that if file appears or disappears, template would be recreated. Currently it seems it checks the path only at the template generation time. So even if the file is later on created or removed, template is not recreated.
Probably the same for dir. Are there any other non-pure functions?

exists just checks if a file exists at the time the template is executed.  It's not possible for it to watch a file or dir.  If you are changing files or dirs used by templates, you can manually re-trigger docker-gen to regenerate templates after you modify those files by sending the process a SIGHUP signal now.  You could send that signal after you change the files or you might be able to use something like inotify-utils to monitor those files/dirs and then send the signal when an event is received.

t's not possible for it to watch a file or dir.

What do you mean it is not possible? You can use fsnotify for this? This could really be done automatically so that one does not have to manually recreate checks and send signals?

I meant it's not possible to use file/dir watching from the exists template function.  When docker-gen generates a template, it doesn't know what that template does.  It simply renders the template with some variables and hooks for functions to be used in the template and that's it.  Once the template is rendered, docker-gen doesn't have any state to get notified that a directory or file used by the template has changed.
It would be possible to have a command-line option such as -watch-dir that docker-gen could then setup notification hooks and re-generate the template if something changed in that dir.


[JBPM-5366] kie-docs-code: remove code related to kie-remote

kie-remote-* modules were removed

jenkins retest this

There is an related issue in jbpm-console-ng, fixing that now.

Build successful! See generated HTML docs (may take a while till they are available):
http://ci.kiegroup.org/job/kie-docs-pullrequests/198/artifact/drools-docs/target/generated-docs/html_single/index.html
http://ci.kiegroup.org/job/kie-docs-pullrequests/198/artifact/jbpm-docs/target/generated-docs/html_single/index.html
http://ci.kiegroup.org/job/kie-docs-pullrequests/198/artifact/optaplanner-wb-es-docs//target/generated-docs/html_single/index.html

+1 to merge


binstubs of deep dependencies

When you do this:
npm install node-sass
find node_modules/.bin

npm2 and pnpm will get you the node-sass binstub:
node_modules/.bin
node_modules/.bin/node-sass

but npm3, with its flat dependency tree model, gets you binstubs of deep dendencies:
node_modules/.bin
node_modules/.bin/har-validator
node_modules/.bin/mkdirp
node_modules/.bin/node-gyp
node_modules/.bin/node-sass
node_modules/.bin/nopt
node_modules/.bin/rimraf
node_modules/.bin/sassgraph
node_modules/.bin/semver
node_modules/.bin/sshpk-conv
node_modules/.bin/sshpk-sign
node_modules/.bin/sshpk-verify
node_modules/.bin/strip-indent
node_modules/.bin/uuid
node_modules/.bin/which
node_modules/.bin/window-size

I'm planning on not supporting npm3's model on this, and keeping pnpm / npm2's behavior. While it's possible to support this in pnpm, I personally don't see the benefit of npm3's model and would not introduce complexity that will not be useful.
Any objections? (cc @davej @misterbyrne @indexzero and others who may be lurking)

By the way: pnpm recently sort of supported npm3's flat tree as of v0.12. The deep dependencies don't litter node_modules (like npm3), though; they're neatly tucked into node_modules/.store/node_modules.

Yes, I agree, don't support it. I actually much prefer pnpm's way of doing flat(-ish) deps compared to npm3.

It makes for a neater node_modules folder. This becomes annoying for doing quick hacks and debugging, I actually made a module to help with this but pnpm's approach is nicer again.

npm3 allows easy direct access to all nth-depth dependencies through the project root. For example, you can do require('lodash') without specifying it as a dependency in package.json and it will probably work because some deep dependency is using lodash. I think it's more desirable that this should fail.

:+1: I'm not a fan of having sub-dependencies so prominent anyway.

Aye. Settled then!


❓ [Question] Could torch-tensorrt support mixed-precision inference?

❓ Question

Hello, in my PyTorch inference, I initially set the entire model to fp16 and provided fp16 inputs. Considering the output will become NAN (transformer model) , and then I used .to() to switch certain weight layers and inference parameters back to fp32.
However, if I export it to ONNX and convert to TensorRT, I would need to make those settings again in TensorRT, which can be quite complicated.
I would like to know if the torch_tensorrt export includes these dependence and if it can automatically perform mixed-precision export to TensorRT based on my settings. Thank you!

@narendasan  Hi , could you help me take a look, Thank you very much

This is currently not supported. We use TensorRT's behavior for automatic mixed precision


Style : Adding nav link hover effect in all pages

The current hovering effect doesn't look good and can be improve.

Please assign this to me.

I would like to work on this issue as a GSSOC contributor.

@AshutoshDash1999 assigning u

hey @akshitagupta15june i unassigned myself unknowingly. can you please reassign me? I am really sorry to bother you.

kindly assign this issue to me for GSSOC'23

Can I work on this issue under Gssoc'23 if no one is assigned?

@akshitagupta15june  I have reviewed the status of the Navigation bar , can you please assign me this Issue , I would like to contribute on this now under @GSSOC-23 ,
I will improve the hover effect of the navigation bar
by the way the project is great and inspiring me to make something like this for my local center too.

@AshutoshDash1999 Do you want to work?

Its fine if you want to assign it to someone else. I don't have any issue.

If you want to work, I will assign. Just tell me once. Don't unassign again @AshutoshDash1999

I want to work on this. Please reassign to me.

Assigned @AshutoshDash1999 Start working and make sure to pull latest repo changes

Is this issue still open, can you please assign me this issue under GSSOC'23.

@Rakesh9100 sorry I can't do this. Please assign it to someone else.

@AshutoshDash1999 Could you assign me this. I want to work on it under GSSOC'23

@AshutoshDash1999 Could you assign me this. I want to work on it under GSSOC'23

@Aditi323 I'm not admin/contributor

@Aditi323 Proceed, assigned

can you assign me over gssoc 24


A "real time" chat with Open AI

Hello to all!
First of all, thanks very much for your work with DelphiOpenAI, I find it really useful and very easy to implement. I have a question related to a possible "conversation" chat with Open AI.
By a "conversation" (sorry for my english) I mean to maintain a chat like we can do at https://chat.openai.com/chat
If we start a chat using the above URL and place the below question:
"Hello! My name is David, how are you?"
... we will get a similar response like below:
"Hello David! As an artificial intelligence language model, I don't have emotions, but I'm functioning optimally and ready to assist you with any questions or tasks you have. How can I assist you today?"
If, after that response, we place another question / text like below:
"What is my name?"
... Open AI chat response is something like below:
"Your name is David, as you mentioned in your previous message."
However, using DelphiOpenAI, if I reproduce the above "conversation", after the "What is my name?" question, what I get is something similar to below:
"As an AI language model, I don't have access to your personal information or your name. Can you please tell me your name?"
Maybe I am missing something? It's very probably, so, sorry for that if it's the case! I am using your provided chat stream sample "as is" and I can't find a way to do something like the chat with Open AI with DelphiOpenAI.
Thanks in advance for any help, and, again thanks again for your work!

Because the OpenAI servers do not store the history of communication. This is only done specifically for the chat service. In order for you to make the same dialogue with AI, you need to send the entire history of communication each time.
For this, I even made a special class that allows you to store history in it, ask for it to be sent and cut it off if it is too long (models have a limit on tokens)
The class is in the OpenAI.Utils.ChatHistory module.
Create a TChatHistory class and add messages there
MyChatHistory.New(TMessageRole.User, 'Your text');  //When you text a bot
and
MyChatHistory.New(TMessageRole.Assistant, 'AI answer');  //When the bot answers you
And use:
var Chat := API.Chat.Create(
    procedure(Params: TChatParams)
    begin
      Params.Messages(MyChatHistory.ToArray);
      Params.MaxTokens(MAX_TOKENS);
    end);

Many thanks for your fast an useful answer, sir!
Keep up the good work!

Hello again, @HemulGM!
Just to say that I tested it right now and works like a charm! Thanks veyr much again for your work and your fast help!


fix: Latest NFT mints wont load at drop page

Thank you for your contribution to the Koda - Generative Art Marketplace.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix

Needs QA check

@kodadot/qa-guild please review

Context

[x] Closes #9842

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[ ] My fix has changed UI

Thank you for taking over @Jarsen136
pay 50 usd

😍 Perfect, I’ve sent the payout
💵 $50 @ 9.55 USD/DOT ~ 5.236 $DOT
🧗 16SjUbGKSdjCdWTy3NNT3JxbRVGGqD4mwkHpc6BD9U2Rp29Z
🔗 0xc816710416eb0384c2e31386b49cb2d354ed50f0015316f965cfbd8079f02382
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Support locality aware routing for non-mesh workloads

Describe the feature request
Locality aware routing doesn't work when your destination kubernetes service does not have sidecars.  I'm guessing this is because it is the responsibility of the destination sidecar to tell proxy its zone.
Technically this information would be available in the kubernetes API, so pilot could probably calculate it instead, which would add support for locality load balancing on non-istio workloads.
Describe alternatives you've considered
If my assumption about metadata is correct, could I add a sidecar to the destination with:

traffic.sidecar.istio.io/includeOutboundPorts: ""
traffic.sidecar.istio.io/includeInboundPorts: ""

To have it start with a sidecar, report metadata allowing clients to do locality routing, but not intercept the requests?
(The decision to exclude this target from any istio request interception was a technical one we don't want to revisit)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[x] Policies and Telemetry
[ ] Security
[ ] Test and Release
[x] User Experience
[ ] Developer Infrastructure
Additional context

update: I tried adding a sidecar configured with those annotations as like a metadata-only thing and localitylb still didn't work 🤔

I'm surprised this doesn't work actually, I would expect it to.. we do get the locality from k8s currently for destinations. Will need to take a closer look

@howardjohn me too :s it's probably something specific about my service setup.  If you're free at some point ping me on slack and we can debug it together, it'll be more effective than github tennis :D

I figured this out, it was human error - since then @howardjohn has made istioctl stricter to error at unknown fields - which would have caught my error.  Closing this


Confirmation dialogs should be modal

This is a general trend in our extensions, so I'm filing an issue in the tools repo for further discussion. We always use the standard VS Code notifications which used to be very noticeable, but the new notifications are in the bottom right corner and are easy to miss. I think that's fine for a lot of scenarios, but not when we're asking for confirmation for things like deploying or deleting. I think we should use modal dialogs that are very noticeable and force the user to answer right away. VS Code does this in several scenarios, for example:

Agreed. This is a solid idea.
How much control is there over the buttons? Is it possible to include the "No and don't warn again" option?

Agreed

Yes we have control over the buttons


WebApp:set dotnet core version using azure cli in azure windows webapp

We have windows webapp in Azure, we want to change the stack to dotnet core version(3.1,2.1) using Azure cli. If it is a linux webapp, we can use az webapp config set -g $group -n $webappName --linux-fx-version "DOTNETCORE|2.1". But for windows couldn't find anything. Help is appreciated. Thank you![Enter feedback here]

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

ID: 4e50d77a-f2fa-6d6e-0c57-2f434c12766f
Version Independent ID: f9a98805-6e16-487a-03ce-237cb964f83c
Content: az webapp config
Content Source: latest/docs-ref-autogen/webapp/config.yml
Service: app-service-web
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

route to CXP team to help with

@sri2850 Apologies for the late reply. You can try to use the parameter --windows-fx-version:

--windows-fx-version
A docker image name used for your windows container web app

I tried to execute the below command in my environment. Could you please test the same and let us know if that helps ?

az webapp config set -g 'MyWebAppName' -n 'RGName' --windows-fx-version '"DOTNETCORE|2.1"' # set .NET core version
az webapp config show -g 'MyWebAppName' -n 'RGName' # To list the web app configuration

Refer this docs for more information. Hope this helps.

@navba-MSFT, it's windows based webapp but not using docker containers. Actually, it should change in webapp> configuration> General Settings> Tech stack. It's not changing there.

@sri2850 Thanks for getting back. Could you please confirm if you are changing the .NET framework version or the DOTNET core version ? Because the available version for DOTNETCORE is 3.1 | 2.1. This is what I see now in my Configuration settings after running my above command.

Awaiting your reply.

Hello @navba-MSFT, any update on the cli command. Awaiting for your reply.

@sri2850 Apologies for the late reply. Thanks for clarifying your requirement. AFAIK unlike LinuxFxVersion, for Linux, there is nothing CLI command can expose this setting at this time for the dotnetcore in windows webapp.
I did come across this article which you can refer for now:

Set the target framework in the project file for your ASP.NET Core project. For more information, see Select the .NET Core version to use in .NET Core documentation.

In the meantime, Could you try the below and check if that helps ?
Set-AzWebApp -ResourceGroupName 'MyRG' -Name 'MyWebApp' -AppServicePlan ' MyWebAppPlan'
$PropertiesObject = @{
"CURRENT_STACK" = "dotnetcore"
}

New-AzResource -PropertyObject $PropertiesObject -ResourceGroupName 'MyRG' -ResourceType Microsoft.Web/sites/config/metadata -ResourceName 'MyWebApp' -ApiVersion 2021-03-01 -Force

I am doing some more research on this. I will reply on this thread once I have an update.

@navba-MSFT, thanks for powershell script. It is working as expected. But having this in Azure-cli will really help. Can I close this issue?

@sri2850 Thanks for getting back. I also found that changing the .Net version doesn’t reflect on any of the site config or properties as investigated using resource explorer. [https://resources.azure.com/]. So there is no Az CLI available at this time to perform the set dotnetcore version operation on windows webapp(non-containerized app).
So you can leverage the PS sample which was shared earlier and you can also specify the version of .NETCore within your project settings as per this and this documentation for now. Hope this helps.
We will now proceed with the closure of this thread. If you need any further assistance in future, please feel free to reach out to us.

How can I set the specific .net version using this snippet:

Set-AzWebApp -ResourceGroupName 'MyRG' -Name 'MyWebApp' -AppServicePlan ' MyWebAppPlan'
$PropertiesObject = @{
"CURRENT_STACK" = "dotnetcore"
}

New-AzResource -PropertyObject $PropertiesObject -ResourceGroupName 'MyRG' -ResourceType Microsoft.Web/sites/config/metadata -ResourceName 'MyWebApp' -ApiVersion 2021-03-01 -Force


Upcoming updates

Hey!  Awesome library!  I work with IDEX and just wanted to get in touch if possible about the upcoming changes to our realtime API and work with you to make sure this library is ready for the change!
I am "+B" in our Discord if you wanted to get in touch, there is a "#developers" chat there, we also released the first draft of the Typescript library offering it: https://github.com/AuroraDAO/datastream-client-js
Let me know!  Thanks!

Thanks @bradennapier I have pushed v0.3.5 which handles the new datastream endpoint with exponential backoff.
Subscribe and unsubscribe are flexible and may need some more docs around how people use unsubscribe.
Similarly with account and chain message categories.

Awesome!  Closing, thanks!


fork_tracker active support module does not play nice with passenger and zk gems

I wanted to post this here because it's unclear to me if the root problem here is an implementation choice in this library, rails library or passenger library. Any advice is really helpful.
https://github.com/rails/rails/issues/48475

You can take inspiration from Active Support on how to catch forks in a non-obstrusive way: https://github.com/rails/rails/blob/c25cc2ead272a4c3965795139124dfe62ee5a79e/activesupport/lib/active_support/fork_tracker.rb
Note that starting from Ruby 3.1, it's much easier thanks to Process._fork.

I submitted a PR with the suggested changes: https://github.com/zk-ruby/zk/pull/109
@niodice you can probably give this branch a try.


The requested module 'langchain' does not provide an export named 'VectorStoreInfo'

I keep getting errors when using the example from  here
https://js.langchain.com/docs/modules/agents/toolkits/vectorstore
The requested module 'langchain' does not provide an export named 'VectorStoreInfo'
I also had to change the const declaration as below because node kept complaining about VectoreStore
/* Create the agent */
 const vectorStoreInfo = {
  name: "state_of_union_address",
  description: "the most recent state of the Union address",
  vectorStore,
};

But still get the VectoreStore Error not provided in langchain

Hi, can you confirm you're running this with TypeScript? The export does exist, it is a TypeScript interface, see https://js.langchain.com/docs/api/agents/interfaces/VectorStoreInfo


version 0.13 incompatible with python 3.5

Because type hints aren't supported on class attributes. Working from python 3.6.
Here is my traceback :
    from barcode.codex import Code39
  File "/home/galien/easyprep/env/lib/python3.5/site-packages/barcode/__init__.py", line 11, in <module>
    from barcode.codex import Code128
  File "/home/galien/easyprep/env/lib/python3.5/site-packages/barcode/codex.py", line 5, in <module>
    from barcode.base import Barcode
  File "/home/galien/easyprep/env/lib/python3.5/site-packages/barcode/base.py", line 4, in <module>
    from barcode.writer import SVGWriter
  File "/home/galien/easyprep/env/lib/python3.5/site-packages/barcode/writer.py", line 335
    format: str
          ^
SyntaxError: invalid syntax

Python 3.5 no longer has any support.
Python 3.6 and 3.7 are the oldest versions with any support, and only receive security fixes.
See here for more details.
If you're stuck on al older version of Python, I'd suggest you avoid upgrading python-barcode to 0.13.

Oh, this is mentioned in the README but not the changelog, I'll address the later when I have a few minutes.

Ok, then you should add python_requires=">=3.6" to your setup.py.
This will prevent pip from installing th latest version on older versions.
https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires


chore: fix GitHub about link to documentation

Looks like a relic from the old org:

Thanks - Done


Remove ipdbuu.com.cn from trustlist

"ipdbuu.com.cn" is only a empty website.
"http://ipdbuu.com.cn" or "http://www.ipdbuu.com.cn" shows that.

@Janet-Baker lib/domains/stoplist.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@Janet-Baker lib/domains/stoplist.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@Janet-Baker This request aims to circumvent technical measures aimed to protect unauthorized use of JetBrains tools. I close it without merging. Please refrain from making similar requests in future. Please ensure that you are familiar with this repository rules located at the bottom of this page before submitting a new request.

@Janet-Baker I am sorry, I misread the original request. I removed my comment and will merge the request a bit later.

@Janet-Baker Thank you for the update! Pull request merged.
I am sorry again for my initial mistake. The update is correct, and I appreciate your help. Thank you!


Odd behavior on deployed twitter version

The first repo is not returning any data
Link on the facade page:
http://opendata.missouri.edu/repositories?repo=1
Link on our Augur instance:
http://twitter.augurlabs.io/?git=Z2l0aHViLmNvbS90d2l0dGVyL3R3ZW1vamk=&repo=twitter+twemoji
No clear reason why the first repo would be turning in nothing other than the likelihood we're not handling a boundary condition for the first row somewhere :)

For me, twitter/twemoji is returning data. Is this the repo you were meaning?

Bump ^ @sgoggins

This was fixed by Derek.
Sean P. Goggins
(816) 368-1364
http://www.seangoggins.net
visit: http://www.sociotech.net
visit: http://www.datafactories.org
"I force people to have coffee with me, just because I don't trust that a friendship can be maintained without any other senses besides a computer or cellphone screen.”
— John Cusack
On Aug 24, 2018, at 22:02, Carter Landis<EMAIL_ADDRESS>wrote:
Bump ^ @sgoggins
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Gotcha. Closed


LayoutAnimation doesn't work with componentDidMount

Can somebody explain to me why this doesn't animate correctly? It animates as a fade-in  with the final position instead of moving it from left to right.
As far as I know this should work because the first frame is rendered with the initial state, then componentDidMount is called which will generate a new state, calling render again with a new state, which should be animated.
class LayoutAnimationExample extends React.Component {
  constructor(props) {
    super(props);
    this.state = {left:0};
  }
  componentDidMount() {
    LayoutAnimation.spring();
    this.setState({left:100});
  }
  render() {
    return (
      <View style={{flex:1}}>
        <View style={{
          left:this.state.left,
          height:100,
          width:100,
          backgroundColor:'blue'}}
        />
      </View>
    );
  }
}

If we wrap the componentDidMount body with setTimeout it'll work correctly, which is weird because it generates the exact same flow, calling render twice.
  componentDidMount() {
    setTimeout(() => {
      LayoutAnimation.spring();
      this.setState({left:100});
    });
  }

I think you should set LayoutAnimtaion in componentWillUpdate

It's the same.

No it's not, componentDidMount will be triggered only once, but componentWillUpdate wiil be triggered everytime the component updates, either a state changed or received new props. Check https://facebook.github.io/react/docs/component-specs.html

@ZhenjieRuan i know about event and life cycle in react. what i'm saying is that it doesn't work anyway.
i've created a playground with the case https://rnplay.org/apps/Gu2Gyg
you can see all the approaches there.

@facebook-github-bot label Icebox

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/layoutanimation-doesnt-work-with-componentdidmount
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.

@facebook-github-bot close


Add error message display for plugins and LSP server.

[ ] Added an entry to CHANGELOG.md if this change could be valuable to users

Lapce v0.4.1
It appears a error message when open a folder:

However, open the link https://plugins.lapce.dev/api/v1/plugins?q=&offset=0 in Chromium or Edge browser, i can get the content:
{
	"total": 87,
	"limit": 10,
	"offset": 0,
	"plugins": [{
		"id": 1,
		"name": "lapce-rust",
		"author": "dzhou121",
		"version": "0.3.1932",
		"display_name": "Rust",
		"description": "Rust for Lapce: powered by Rust Analyzer",
		"downloads": 49220,
		"repository": "https://github.com/lapce/lapce-rust",
		"updated_at_ts":<PHONE_NUMBER>,
		"updated_at": "2024-04-27 21:44:38",
		"released_at": "2024-04-27 21:44:38",
		"wasm": true
	}, {
		"id": 4,
		"name": "lapce-material-icon-theme",
		"author": "panekj",
		"version": "0.0.1-beta1",
		"display_name": "Material Icon Theme",
		"description": "Material icon theme for Lapce",
		"downloads": 28195,
		"repository": "https://github.com/panekj/lapce-material-icon-theme.git",
		"updated_at_ts":<PHONE_NUMBER>,
		"updated_at": "2023-09-17 22:00:24",
		"released_at": "2023-09-17 22:00:24",
		"wasm": false
	},
.....

So i have doubts about  this error message, it maybe should not appear.


Add path filtering to scrutinizer config

Otherwise test classes are also measured which is bad IMO.

But tests should be well-written, too. :wink:

Yeah, but they are already part of code testing. So you are checking testing code. Also, I think it is just noise in reports. I am curious about the code, note the tests.


API pagination

How to do pagination with API, need sample code

Please check data_table_2/example/lib/paginated_data_table2.dart

ok thanks


"github.com[0: <IP_ADDRESS>]: errno=Connection timed out"

When running "repo init -u git://github.com/LineageOS/android.git -b lineage-17.1", I get this error.

repo: reusing existing repo client checkout in /home/administrator/lineageos
manifests:
fatal: unable to connect to github.com:
github.com[0: <IP_ADDRESS>]: errno=Connection timed out
manifests: sleeping 4.0 seconds before retrying
manifests:
fatal: unable to connect to github.com:
github.com[0: <IP_ADDRESS>]: errno=Connection timed out
fatal: cannot obtain manifest git://github.com/LineageOS/android.git

That is a github issue which should resolve itself, nothing related in particular to this repo(s)

That is a github issue which should resolve itself, nothing related in particular to this repo(s)

The only reason I want to compile is to add this to the ROM, but if you can do that, it would help me out.
https://github.com/kumikooumae/android_vendor_extra


CDN Version of schedule-x

Is your feature request related to a problem? Please describe.
For various reasons, we do not compile our Vue app and need to use CDN versions of libraries. Is there support for a CDN version that we can access?
Describe the solution you'd like
The functionality is great, but we can only find a CDN version for the older qalendar. It seems that qalendar is not being supported so we're looking for a CDN version with similar functionality. The schedule-x would be a good fit for us if we can find a CDN version.
Additional context
Nothing to add
Things that could speed up the process

[ ] I can picture implementing at least parts of this feature
[ ] I believe I know how to do this, and am willing to implement the whole thing.

Hi, have you tried unpkg?
https://www.unpkg.com/
I never uploaded Qalendar to any CDN, but there should be plenty of CDNs out there that upload everything from npm I believe.
Let me know if this helps :)

@tomosterlund Apparently, we downloaded multiple files separately and had to piece them together to get things properly referenced. Do you have any intention of providing a CDN version that would be easier to install and maintain? I purchased a premium license and we'll give it a try.
The below is from my CTO.
In order to get the js file for schedule-x, we used jsdelivr which creates the umd version of the library:
https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>Then by looking at that umd file we can know what dependencies to also download (preact, jsxRuntime, hooks, compat, signals). We then fetch the umd version of each of those libraries and their dependencies and make sure the references between the modules were named correctly.
So if the extra paid features are packaged as additional modules or libraries we would just need the umd versions of each so we can add them to our loaded JS. I don't know exactly what jsdelivr does to generate the umd file from the npm package.

Hi.
That is pretty impressive that you managed to make that happen! The premium plugins are structured in the same way: there are UMD modules, but just like I've discovered recently that the UMD modules of the open source repo need a bit of puzzling, so do the premium ones.
I'll have a look asap.
Also feel free to write me @tomosterlund at Discord if you need any help. I gladly do chat support for any premium users.

A fix for this will be included in the next release (I'll try to make it happen tonight or over the weekend).
As of that release, you should then be able to interact with the calendar and the plugins like so:
<!doctype html>

Fixed in<EMAIL_ADDRESS>The umd files of the premium packages now also work as of version 0.18.2. Probably the fastest way to integrate them is via copying the umd-files into your application.
If you want them hosted via a domain-restricted CDN though, which of course would be better for getting updates, I could also set up some workflow to publish to a CDN parallel to the npm repo. I'd need to charge a bit for compute costs & setup if I do so though.


Improve verify settings

Some things could be better:

The pre-init error message says that "this shouldn't happen", but it's misleading. There can be valid pre-init error messages, such as #150. Should be changed to first refer the user to verify-settings
Check that the base url is an https url.

will be fixed in #152 and 2. was fixed in #150 , so this is done


Throwing error looking for character-sheet.js in v10

Playing around with V10 to see what's compatible. I noticed that I'm getting an error when the module is looking for /systems/dnd5e/module/actor/sheets/character.js which doesn't exist anymore in DND5e 2.0.2.
I saw that TidySheet and the full Beyond 5e Sheet are now updated, so the changes might be easily gleaned there.
It looks like the file (not sure how much it's changed) now live in systems/dnd5e/templates/actors/character-sheet.hbs

Thanks for investigating, but yeah definitely not v10 ready here yet.

Yeah not a problem in the world, just thought I'd throw it out there. I'll play around and if it's a (very) simple fix I'll see if I can make a PR, but definitely a novice. No rush or worry at all.

Haven't yet released, but will release a version with this fixed soon™


Handle return type "this"

The this return type isn't currently handled
Test Case:
import "reflect-metadata";
import {reflect, ReflectedInterfaceRef} from "typescript-rtti";

interface Foo {
  getThis():this;
}

const reflectedInterface: ReflectedInterfaceRef = reflect<Foo>().as('interface');

describe('rtti', () => {
  it('handles this', () => {
    expect(
      reflectedInterface.reflectedInterface.getMethod('getThis').returnType.kind
    ).not.toEqual('undefined');
  })
});

Yep, this is a known limitation and is probably difficult to do just right. But it has been on the list for awhile now.


Display only icon without version

Is your feature request related to a problem? Please describe.
I want to have an icon that would indicate that I am currently using a certain technology but without the version of the technology / language / tool itself. In context, I want to see the docker icon when I am in docker associated directory but without the docker version (icon_v_version) because it is most of the time irrelevant and only clutters the screen.
Describe the solution you'd like
My current prompt:
project_dir on  master [$!?] via 🐘 v7.4.8 on 🐳 v19.03.13➜
My desired prompt (multiple options):
project_dir on  master [$!?] via 🐘 v7.4.8 on 🐳 ➜
Describe alternatives you've considered
I modified docker.zsh section in .oh-my-zsh/custom/themes/spaceship-prompt/sections but ended up with the "spaceship_docker:43: command not found: 🐳" error when code executed.

Thanks for reaching out! This might be a good candidate for a new feature.


No edition 2024 in the combobox.

How do I play with gen blocks, which seem to require setting edition to unstable so far 2024? Even manually editing edition=2021 URL parameter does not make it force the new edition.
Maybe 2024 should be added in GUI for Nightly and custom editions (e.g. 2027) be specifiable in the URI?

custom editions (e.g. 2027) be specifiable in the URI?

I'm not a fan of unconstrained inputs. We create an edition every three years; I think that having a few days where the playground doesn't have it are an acceptable tradeoff.


ServiceBusManagement not working anymore?

The latest drop of the ServiceBusManagement library seems to be broken?
        ServiceBusManagementClient sbClient = new ServiceBusManagementClient(credentials);

used to work before but now gives me a: "
The best overloaded method match for 'Microsoft.WindowsAzure.Management.ServiceBus.ServiceBusManagementClient.ServiceBusManagementClient(System.Net.Http.HttpClient)' has some invalid arguments
This used to work before?
Am I missing something?
I installed the "ordinary" management tools for storage and so on.
regards

Getting the latest drops of the Management libraries combined with preview version 0.14
Install-Package Microsoft.WindowsAzure.Management.ServiceBus -Version 0.14.0-preview -Pre
Seems to work.

Closing as no repro.  Please reopen this issue if you see a recurrence.


Lit revamp

Did some major stuff.
Completely new look and feel by using Tailwindcss.
Ditched React for pure Lit web components.

Some issues still outstanding although not blocking.

fix download button
fix email
fix images loading
add unit testing in development.yml + readme adjustment
fix e2e workflow files (missing matrix?)
reorder files
fix linting error in test folder (add eslint config in dir?)


一直顯示視頻獲取中無法下載

问题反馈
在您提交问题前, 请检查以下项目:

[ ] 您在报告一个 bug 或者提交一个功能请求. 如果您需要一般性的帮助, 请直接和我们联系或者在项目首页下留言.
[ ] 您的问题在与现有问题并不重复. 如果已有一个相同话题的问题, 请直接在其下留言.
[ ] 如果您在报告一个 bug 请确定它可以在最新的发行版或 master 分支下重现. 同时, 请详细说明重现问题的步骤 (如果有屏幕截图的话就更好了).
[x] 您已填写了系统环境信息.

环境信息
请填写以下信息:

操作系统 (Windows/macOS/Linux): WIN10
浏览器版本(您可以在 [菜单/帮助/关于] 下查看): Chrome
扩展版本: 0.9.9

您可以在扩展选项页中查看.
重现步骤/尝试的解决方案
请具体描述, 谢谢 :)
下載時一直出現視頻地址獲取中請稍等的訊息，等很久或重新整理都沒用
Feedback
Before submitting your issue, please check to make sure of the following:

[ ] You are reporting a bug or making a feature request. If you are looking for general support, please contact us directly or comment at our project homepage.
[ ] Your issue is not a duplicate of an existing issue. If there is an open issue of the same topic, please just comment under it.
[ ] If you are reporting a bug, please make sure it can be reproduced in the latest release or master branch. Also, please specify detailed procedures to reproduce the bug (screenshots would be greatly appreciated).
[ ] You have filled out your system environment info.

Environment Info
Please fill out the following:

Operating System (Windows/macOS/Linux):
Chrome Version (You can check this under [Menu/Help/About]):
Extension Version:

You can see this on extension options page. You can also put the latest commit ID here if you are reporting about the master branch.
Steps to Reproduce / Attempted solution
Please be specific here, thanks :)

#485


GPU freeezes when dcgm-exporter is used

We have a problem with dcgm-exporter while running it in the Kubernetes cluster. All nodes are bootstrapped from the same code and are identical. On some nodes (randomly) it fails to start and causes GPU to freeze and this one becomes useless. When we un-deploy daemonset with dcgm-exporter everything works just fine. Used GPUs are the same.
On staging environment where we have the same config but with nvidia-device-plugin 1.11 version it works without issues.
Working one:
❯ ssh ip-10-123-218-199.eu-west-1.compute.internal sudo nvidia-smi
Warning: Permanently added 'ip-10-123-218-199.eu-west-1.compute.internal' (ED25519) to the list of known hosts.
Fri Aug 19 16:27:48 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.73.08    Driver Version: 510.73.08    CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Tesla T4            Off  | 00000000:00:1E.0 Off |                    0 |
| N/A   81C    P0    70W /  70W |    317MiB / 15360MiB |     83%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A     11149      C   /usr/bin/dcgmproftester11         315MiB |
+-----------------------------------------------------------------------------+

Faulty one:
❯ ssh ip-10-123-216-188.eu-west-1.compute.internal sudo nvidia-smi
Warning: Permanently added 'ip-10-123-216-188.eu-west-1.compute.internal' (ED25519) to the list of known hosts.
No devices were found

In system logs on faulty ones we can observe the next messages:
❯ ssh ip-10-123-216-6.eu-west-1.compute.internal sudo grep NVRM /var/log/messages
Warning: Permanently added 'ip-10-123-216-6.eu-west-1.compute.internal' (ED25519) to the list of known hosts.
Jul 27 11:22:22 ip-172-31-43-161.eu-west-1.compute.internal kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  510.73.08  Wed May 18 20:34:14 UTC 2022
Aug 18 18:21:05 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  510.73.08  Wed May 18 20:34:14 UTC 2022
Aug 18 18:25:58 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: GPU at PCI:0000:00:1e: GPU-59d33ac2-81e7-c6bf-de3d-8ca92a29f45a
Aug 18 18:25:58 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: Xid (PCI:0000:00:1e): 119, pid=9345, Timeout waiting for RPC from GSP! Expected function 63.
Aug 18 18:25:58 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: Xid (PCI:0000:00:1e): 119, pid=9345, Timeout waiting for RPC from GSP! Expected function 63.
Aug 18 18:25:58 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: Xid (PCI:0000:00:1e): 119, pid=9345, Timeout waiting for RPC from GSP! Expected function 76.
Aug 18 18:25:58 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: GPU 0000:00:1e.0: RmInitAdapter failed! (0x23:0x65:1401)
Aug 18 18:25:58 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: GPU 0000:00:1e.0: rm_init_adapter failed, device minor number 0
Aug 18 18:26:05 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: GPU at PCI:0000:00:1e: GPU-00000000-0000-0000-0000-000000000000
Aug 18 18:26:05 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: Xid (PCI:0000:00:1e): 119, pid=9345, Timeout waiting for RPC from GSP! Expected function 4097.
Aug 18 18:26:05 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: GPU 0000:00:1e.0: RmInitAdapter failed! (0x63:0x65:2344)
Aug 18 18:26:05 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: GPU 0000:00:1e.0: rm_init_adapter failed, device minor number 0
Aug 18 18:26:05 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: GPU 0000:00:1e.0: request_irq() failed (-4)
Aug 18 18:26:09 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: GPU at PCI:0000:00:1e: GPU-00000000-0000-0000-0000-000000000000
Aug 18 18:26:09 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: Xid (PCI:0000:00:1e): 119, pid=10728, Timeout waiting for RPC from GSP! Expected function 4097.
Aug 18 18:26:09 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: GPU 0000:00:1e.0: RmInitAdapter failed! (0x63:0x65:2344)
Aug 18 18:26:09 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: GPU 0000:00:1e.0: rm_init_adapter failed, device minor number 0
Aug 18 18:26:10 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: GPU 0000:00:1e.0: RmInitAdapter failed! (0x62:0x0:2288)
Aug 18 18:26:10 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: GPU 0000:00:1e.0: rm_init_adapter failed, device minor number 0
Aug 18 18:26:14 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: GPU at PCI:0000:00:1e: GPU-00000000-0000-0000-0000-000000000000
Aug 18 18:26:14 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: Xid (PCI:0000:00:1e): 119, pid=10841, Timeout waiting for RPC from GSP! Expected function 4097.
Aug 18 18:26:14 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: GPU 0000:00:1e.0: RmInitAdapter failed! (0x63:0x65:2344)
Aug 18 18:26:14 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: GPU 0000:00:1e.0: rm_init_adapter failed, device minor number 0
Aug 18 18:26:18 ip-10-123-216-6.eu-west-1.compute.internal kernel: NVRM: GPU at PCI:0000:00:1e: GPU-00000000-0000-0000-0000-000000000000

Components versions:
OS: Rocky Linux 8.6 (RHEL bug-to-bug compatible)
Kernel: Linux ip-10-88-66-41.eu-west-1.compute.internal 4.18.0-372.16.1.el8_6.x86_64 #1 SMP Wed Jul 13 15:36:40 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Kubernetes: v1.22.11
Container runtime: crio 1.22.5 (default runtime: nvidia)
RunC version: 1.0.3
SELinux status: disabled (for troubleshooting)
Nvidia drivers: 3:510.73.08-1.el8 (installed on the node)
Nvidia toolkit: 1.10.0-1
Nvidia-device-plugin: v0.12.2
Dcgm-exporter: 2.4.6-2.6.10-ubuntu20.04 (same with 2.4.6-2.6.8-ubuntu20.04)
Nvidia-device-plugin config (fails on both gpu and shared-gpu nodes):
apiVersion: v1
data:
  _default: |-
    version: v1
    flags:
      migStrategy: none
  gpu: |-
    version: v1
    flags:
      migStrategy: none
  gpu-shared: |-
    version: v1
    flags:
      migStrategy: none
    sharing:
      timeSlicing:
        renameByDefault: True
        failRequestsGreaterThanOne: False
        resources:
        - name: nvidia.com/gpu
          replicas: 2

We already seen this issue  https://github.com/NVIDIA/dcgm-exporter/issues/84 and deployed dcgm-exporter with minimal config:
apiVersion: v1
data:
  metrics: |
    DCGM_FI_DEV_SM_CLOCK,  gauge, SM clock frequency (in MHz).
    DCGM_FI_DEV_MEM_CLOCK, gauge, Memory clock frequency (in MHz).
    DCGM_FI_DEV_MEMORY_TEMP, gauge, Memory temperature (in C).
    DCGM_FI_DEV_GPU_TEMP,    gauge, GPU temperature (in C).
    DCGM_FI_DEV_GPU_UTIL,      gauge, GPU utilization (in %).
    DCGM_FI_DEV_MEM_COPY_UTIL, gauge, Memory utilization (in %).
    DCGM_FI_DEV_ENC_UTIL,      gauge, Encoder utilization (in %).
    DCGM_FI_DEV_DEC_UTIL,     gauge, Decoder utilization (in %).
    DCGM_FI_DEV_FB_FREE, gauge, Framebuffer memory free (in MiB).
    DCGM_FI_DEV_FB_USED, gauge, Framebuffer memory used (in MiB).
    DCGM_FI_DEV_VGPU_LICENSE_STATUS, gauge, vGPU License status

@skraga,
As mentioned in #84, this is not the dcgm-exporter issue but rather the driver/gpu-operator/container-toolkit issue.
There is nothing dcgm-exporter can do if the driver is not initialized correctly and even nvidia-smi fails to run.
You could also look at the gpu-operator/#377 that was also mentioned in the #84.

@nikkon-dev  thanks for the pointer. I will check it. Thanks a lot.

@nikkon-dev according to https://github.com/NVIDIA/dcgm-exporter/issues/84 the mitigation is to disable DCP metrics (DCGM_FI_PROF*). We already did it, but the issue is still occurs. Few things to highlight:

we encounter the issue (GPU freezes and is not visible even on node level with nvidia-smi) only when we deploy dcgm-exporter
with older nvidia-device-plugin (v.1.11) dcgm-exporter works just fine

Based on this I assume that dcgm-exporter might trigger an issue with nvidia-device-plugin that causing GPU to freeze.

Run a test with 3 nodes. Logs from nvidia-device-plugin (faulty node):
After we disable dcgm-exporter everything works. I ran 20 node tests - no errors. It could be a race condition - when dcgm-exporter started quicker than nvidia-device-plugin.

@nikkon-dev yes, that's the case - when the Nvidia-device-plugin started first - there were no issues. When dcgm-exporter started first - GPU is frozen (nvidia-smi is not see it even from the node). Can you implement some checks before doing specific actions in dcgm-exporter or do I need to address it in nvidia-device-plugin?

@skraga,
Is it possible to get dmesg from the node once it is broken? I'm wondering if there are any GSP-related messages or any other errors/XIDs from the driver.

Closing this issue as the root cause was low resource requests on nvidia-device-plugin. Under some circumstances, it was correlating with dcgm-exporter. Sorry to bothering you.


SSR Invalid checksum with async component loading

I'm getting a markup mismatch error when async loading files with styled-components(*edit).
Example repo: https://github.com/scf4/async-styled-components-issue-example
Run yarn && yarn start, go to http://localhost:8081/, click to "Page 2", and reload page to server render and check console.
Warning: React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:
 (client) <div class="sc-bdVaJa bDWFJH" data-r
 (server) <div class="sc-bwzfXH uTxCW" data-re

Take a look in kit/entry for the SSR stuff.

I haven't looked at the repo yet, but this gives me two ideas here already:

Are you making sure that the async rendering is not messing with the SSR? If different initial results are produced, you'll see a warning like that.

Dynamically creating styled components is not recommended and bad practice. Also it's not necessary. And this is probably breaking ssr for sure

I don't seem to get errors without styled components.
Can you elaborate on #2? How else should this be done?

I don't have enough time to read through React async components unfortunately. But since this is the second issue, I'd guess, it's sth with it, not us. Also used react-loadable successfully before with SC. So that makes it less likely as well.
Some ideas on what might be going on: assuming everything is working correctly and you're rendering the same things on the client at the first render cycle, it's our component I'd generation.
Since it's async I'd guess it's changing import order and thus ids. Can you use the ssr option with our babel plugin please, and see if the error persists? :)

Yep, looks like the babel plugin fixes it! Thank you :)


Blocky Universe

{
    "name": "Blocky Universe",
    "description": "You are the unusual archer in this blocky adventure. Fight enemies, explore the world and defeat bosses in your journey to repair the portal and save the universe.",
    "url": "https://poki.com/en/g/blocky-universe",
    "developer": "d954mas",
    "publisher": "d954mas",
    "releasedate": "November 2023",
    "platforms": "Android,HTML5,Poki",
    "images": {
        "full": "blocky-universe-full.png",
        "half": "blocky-universe-half.png",
        "third": "blocky-universe-third.png"
    }
}

name - (REQUIRED) Name of the awesome Defold game.
description - (REQUIRED) Short text describing the game.
url - (REQUIRED) Link to a game or store page.
developer - (REQUIRED) Name of the developer/studio.
publisher - (OPTIONAL) Name of the publisher.
release_date - (REQUIRED) Date of release (Month Year, eg April 2020).
platforms - (REQUIRED) The platforms where the game can be played. Comma separated list.
images - (REQUIRED) Filenames of images that can be used when presenting the asset.

full - (REQUIRED) Filename of attached image to use as full width image. PNG or JPG. Recommended size is 3000x750. Name: game-name-full.png|jpg
half - (REQUIRED) Filename of attached image to use as half width image. PNG or JPG. Recommended size is 1200x600 pixels. Name: game-name-half.png|jpg
third - (REQUIRED) Filename of attached image to use as one third width image. PNG or JPG. Recommended size is 800x600 pixels. Name: game-name-third.png|jpg

Note: We retain the right to not accept a submitted game and we decide if the game goes on the Showcase or Games page

Added https://github.com/defold/games-showcase/commit/3c72c5aff488af496dbb8eed9feacc05f6a3be02


flow: Update 7-seg node to use board labels

Signed-off-by: Murilo Belluzzo<EMAIL_ADDRESS>

@mbelluzzo don't you think it's required to have a "raw" option here as well?

Yep, I'm already adding that. Will push the fix soon.

Updated!

:+1:
Btw, using a single raw options is a good idea. No reason to have granularity per pin.
I'll adopt the same approach in the ultrasonic sensor.

Merged, and btw build was already b0rked :-P


feat: upgrade co-build and complete transfer/melt mutant spore test cases

Description
current co-build implementation relies on an older protocol version, to catch up with the latest version, I have to update dependency of co-build sdk repo in Cargo.toml file.
besides, after solving a mutant feature calling bug, we lack test cases about transfer and melt operation of mutant feature, so these should also be added.
Related issues

[ ] #31

@quake please help check this PR, hang on for a while


blizzardbluff.mod.land

[x] My submissions follows the Submission Rules
[x] I have read and accepted the Terms and Conditions

sukses ya bg


Reboot Button pushes Drop-Down too far to the Right

The reboot button pushes the drop-down on the top-right of the web UI too far to the right. Minor change and doesn't matter once @Lemon-King gets their changes in, but just aesthetics.

Fixed! Thank you @deeebug


Remove "Yet" as it is not recommended by content team

Learn Build status updates of commit 77b4ecf:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/office-365-security/microsoft-365-continuous-access-evaluation.md
:white_check_mark:Succeeded

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 the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Reusable Form Field Wrapper

Currently, several form field components are very similar, in that they all share a Label and an Input message inside a container.  This similarity could probably be refactored and combined into a single reusable FormFieldWrapper component.
Current components using this structure:
Checkbox, Combobox, IndeterminateCheckbox, Input, PasswordInput, Radio, Search, Select, Textarea, Toggle.  (DatePicker and TimePicker also do something similar but are already getting the shared components from Input.)
Future components that may use this:
NativeSelect, FileUpload, ??

already done


adjust modal styles

This branch makes some adjustments to modals to make them appear like dialogs on desktop.

What do you think about adding this?
button.suggested-action,
.button.suggested-action {
    font-weight: bold;
}

I think that is unrelated to this branch :p
But yes there is a font-weight problem with buttons we should address somewhere else

Fair enough, it is the button that launches the modal, and in the modal though. :stuck_out_tongue_closed_eyes:


[BUG] make mgmt-deploy needs to be run before publish_bundles (missing ACR)

Describe the bug
Running workflow the first time in a clean environment fails on step publish_bundles because ACR is not yet created.
ACR is created in the make mgmt-deploy step.
Steps to reproduce
»»» 🧩 Publishing ./workspaces/vanilla bundle...

╔══════════════════════════════════════╗
║          Azure TRE Makefile          ║
╚══════════════════════════════════════╝

»»» ✅ Checking pre-reqs...

Checking for Azure CLI...

Checking for Docker...

Checking for porter...
»»» 🔨 Azure details from logged on user
»»»   • Subscription: anlybeck-ebragge
»»»   • Tenant:       72f988bf-86f1-41af-91ab-2d7cd011db47

WARNING: The resource with name '***' and type 'Microsoft.ContainerRegistry/registries' could not be found in subscription 'anlybeck-ebragge (d167531c-1631-46c9-9edc-0486b659e7c0)'.
Using '***.azurecr.io' as the default registry login server.
ERROR: Could not connect to the registry login server '***.azurecr.io'. Please verify that the registry exists and the URL 'https://***.azurecr.io/v2/' is reachable from your environment.
Try running 'az acr check-health -n *** --yes' to diagnose this issue.
make: *** [Makefile:131: porter-publish] Error 1
Error: Process completed with exit code 2.

Pull request #443


2.x update

Any plans on updating this to 2.x package?

It probably won't be upgraded to 2.x as it should never be in the following form. MongoDB does not support transactions and they are required to work properly with nestedset behavior. So this behavior may not work properly in high traffic applications. There is a solution for that that we're using in one project. But it's based on document transactions, so entire tree is stored in one document which makes some things harder to do. However, there is still some work to do before publishing it. So it will be entirely different behavior then the one for 1.x and it won't be as easy to switch from 1.x to 2.x.

OK. I would not need this for a high traffic application but agree that you could run into problems with this approach.
Will try to find a solution from https://docs.mongodb.com/manual/tutorial/model-tree-structures/

Hmm it's strange that they post such examples that may not work if you do tree modifications. In MongoDB transactions works only on the document level so there is no way such multi document solutions could work or I'm missing something. Nested set pattern requires transactions and MongoDB does not have them.


Added editorial of LOJ 1021 - Painful Bases

english editorial of painful bases.

Hello. Thank you for the PR.
There are some typos and grammatical errors, please take care of them. Kindly explain the dp states a little bit more, what they represent, what the dp table holds. Also, you may highlight your C++ code using ```cpp instead of ``` right before your code.

Merged. Thank you very much for your contribution. ^_^


[SPONSOR] Delivery Date/Time should be in the future

Sponsor can now select a delivery date/time from the past.
Maybe it is good to let sponsor to select the date 2 days in the future from the current date.

The issue remains. As a Sponsor role, I can select the request delivery date that is already passed.

The issue is fixed.


Mailchimp (and Feedburner) does not render images

According to Mailchimp, feeds need a media:content tag to display images. Images in Mailchimp are displayed with their relative paths.

Circling back to this. I understand that the image property in the post front matter is used for single images, and not for the images within the body of the post. My problem isn't with the post single images (I never set those), but the images inside the body not being shown in MailChimp.
MailChimp support also points to the fact that the generated feed does not validate. Although I don't think that has much to do with this problem.
https://validator.w3.org/feed/check.cgi?url=b-side.donny.io%2Ffeed.xml

Friendly ping again.


Provide ability to change use a single display unit

Perfetto shows duration as a mix of units (e.g. 1ms 50us 792ns), while catapult would show duration as a single unit (e.g. 1,050,792 ns). The latter can be much easier to read and compare in many situations (IMHO), so it would be very helpful if Perfetto could provide an option to use a single unit.
One small step in the right direction would be if Perfetto padded zeroes for sub-units. So 1ms 50us 792ns would be displayed as 1ms 050us 792ns

As another example, Perfetto will skip in-between units which can be quite confusing when comparing - 1ms 583ns. This would be more readable and comparable  as 1.000583ms or even 1ms 000us 583ns

Yeah TBH i introduced that weird format but over time I disliked it myself.
Will try to figure out some better alternative.
I like the 0 padding idea but I am torn between:

Try to fix it via css, so the "ms" "us" part is less invasive (e.g. subscript)
Just give up and use a timecode-like string, similar to the one you suggest, like  01:02:03 . 004,005,006 ns, where 01:02:03 is H:M:S and the rest ns. If the value is <1s that might be showed up just as 0.004,005,006 s

It's an interesting idea to make the ms/us/ns parts smaller subscripts to the point where they almost act as a comma (plus padding of course).
I think there may be cases where folks will want to copy the value, then the latter would be helpful. Maybe there is some HTML trickery where the text can use comma, but comma is spanned to be transparent to show the ms/us/ns underneath - so they can still select it as normal number.

Yeah was thinking something along these lines: https://jsfiddle.net/ugfrwy1q/

Commas and spaces interfere when one tries to build spreadsheets out of timings or do visual comparisons.   We would prefer just 1.00058ms.

Folding this into https://github.com/google/perfetto/issues/272


Trustvox seal

Is your feature request related to a problem? Please describe.
Currently Trustvox seal must be manually included to EJS (insert) code on stores the app and widget, it should be automatically inserted by the widget.
Describe the solution you'd like
Add Trustvox seal (with widget) to footer stamps.
Describe alternatives you've considered
N/A
Additional context
Reference: https://help.trustvox.com.br/article/258-instalacao-do-selo-site-sincero-v2

https://github.com/ecomplus/storefront/blob/master/%40ecomplus/widget-trustvox/src/append/stamps.ejs
https://github.com/ecomplus/storefront/blob/master/%40ecomplus/widget-trustvox/CHANGELOG.md#200-2020-04-16


Add MDL support

Add support for importing and rendering alias models (.mdl) to Godot mesh and vertex animation interpolation via shader (using VAT technique)

Look great, just one comment in the MDL previewer at least the animations seems a bit fast, I think quake model animations are 10FPS

Now, the MDL preview will play all animations from the MDL file consistently and continually at 10 secs for a rough preview.
(Since there are only frame names packed in an MDL without a way how to distinguish what order of the frames or a way how it tells us how many animations are in there. All of the frame control and animation playing may therefore fall on QuakeC, I think)


Investigate the versioning PR and how to get it to run CI

https://github.com/tinacms/tinacms/pull/1961 was a lazy attempt to fix this but didn't work
The section on "triggering further workflow runs" here explains the problem: https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#triggering-further-workflow-runs
I think changesets/action is using create-pull-request under the hood so much of that troubleshooting info is relevant. Giving a different GITHUB_TOKEN to the job that uses changesets/action should be enough to trigger pull_request workflows, but how we go about doing that might warrant some discussion. Currently, the versioning PRs have to be merged by a repository admin because the required checks don't run - this doesn't seem like a horrible limitation if the alternative requires managing Personal Access Tokens.
Putting this on the back burner as it isn't an outright blocker for now.

May be able to be run via the workflow_dispatch action (https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow)