Problem with schemaForm module loading from bootstrap-decorator

I have commented on the PR that uses gulp-umd to generate a wrapper, there are problems with some loaders, also possibly a problem with gulp-umd:
https://github.com/Textalk/angular-schema-form/pull/495

Another issue with gulp-umd is that it doesn't seem to be very actively maintained issue-wise.


Pointers on config for web and electron app?

I'm looking for pointers on getting my application configuration set up to support both a webapp (which this boilerplate already does) as well as an Electron app.
I've started off with some basic changes:

add "main": "electron/main.js" to package.json
create /electron/main.js file
point at /build/index.html from the main.js file
add a script command npm run electron

However, I'm unclear on several things:

should I add variants of the webpack configs for dev vs prod and webapp vs electron environments?
what changes would need to be in a webpack.electron.babel.js file?
should I add variants of the npm scripts for dev vs prod and webapp vs electron environments?
how to get this working in dev vs prod mode since web assets are in-memory in dev mode?

Has anyone done this? I'd love to get some pointers.
Is Electron support something that would be worth adding to this boilerplate?

@tauren Because Electron is basically a combined client/server runtime, I would think that you would have to install the entre boilerplate in Electron to run in dev mode. That's probably not what you want to ship as a final product?

Has anyone done this? I'd love to get some pointers.

I've never done it, but I would think you would need to, more or less, complete your app and install the production build in Electron, and tweak that to get things working smoothly.
If you haven't already, try searching this repo for is:issue electron. There have been a few discussions on this.

Is Electron support something that would be worth adding to this boilerplate?

That depends on what you mean by 'Electron support'. Modifying the boilerplate so it's a better fit for Electron: probably not. This seems more like a specialized deployment issue than a core boilerplate issue.
On the other hand, there is a deployment page in the docs. If packaging a boilerplate app in Electron is of similar complexity to the deployments listed there, an electron section would be welcome. If it's more complex, a separate docs page would still be welcome.
I have a use case for RBP in Electron coming up in a few weeks, so I am interested to hear how this goes. Please keep us informed.

@tauren I haven't done it before. but currently i'm working on electron project.(so i could say i have a little experience) as experimental I will try to create react-boilerplate-electron version.
i'm not expert in the area so all the help is welcome.
when i finish initial setup i will pass link to here.
Cheers.


get_all_field_names deprecated in newest Django update

chartit\validation.py:30: RemovedInDjango110Warning: 'get_all_field_names is an unofficial API that has been deprecated. You may be able to replace it with 'get_fields()'
model_fields = model._meta.get_all_field_names()
I got this error while displaying a 2 axis line graph.

Does it raise an exception or just print out a warning? This library is not compatible with Django 1.10 yet since it isn't released yet.

It's just the warning I think. That message is displayed on the log and the
border and titles of the graph are displayed, but the plot is not. Sorry if
I didn't provide enough information, I've never opened an issue on a
project before. I was unaware that I moved to an unreleased version of
Django. I updated recently while trying to resolve an issue I was having
migrating. I'll try to move back to the previous version.
Thank you,
Dylan Fetch
On Thu, Jul 14, 2016 at 3:03 PM, Grant McConnaughey <
<EMAIL_ADDRESS>wrote:

Does it raise an exception or just print out a warning? This library is
not compatible with Django 1.10 yet since it isn't released yet.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/grantmcconnaughey/django-chartit2/issues/7#issuecomment-232761156,
or mute the thread
https://github.com/notifications/unsubscribe/AKaBvlC69-YFiuZpexCmtZdNTPOaxcuPks5qVogIgaJpZM4JMklI
.

Hello Grant,
I just checked and I'm using Django 1.9.7. So Django 1.10 isn't the problem.
Thank you,
Dylan Fetch
On Mon, Jul 18, 2016 at 11:02 AM, Dylan Fetch<EMAIL_ADDRESS>wrote:

It's just the warning I think. That message is displayed on the log and
the border and titles of the graph are displayed, but the plot is not.
Sorry if I didn't provide enough information, I've never opened an issue on
a project before. I was unaware that I moved to an unreleased version of
Django. I updated recently while trying to resolve an issue I was having
migrating. I'll try to move back to the previous version.
Thank you,
Dylan Fetch
On Thu, Jul 14, 2016 at 3:03 PM, Grant McConnaughey <
<EMAIL_ADDRESS>wrote:

Does it raise an exception or just print out a warning? This library is
not compatible with Django 1.10 yet since it isn't released yet.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/grantmcconnaughey/django-chartit2/issues/7#issuecomment-232761156,
or mute the thread
https://github.com/notifications/unsubscribe/AKaBvlC69-YFiuZpexCmtZdNTPOaxcuPks5qVogIgaJpZM4JMklI
.


Enable ASAR by default

Preflight Checklist

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem Description
ASAR is a compression method used in Electron - somewhat similar to other formats. While this format, asar, can cause some issues, it's vital to enable it by default, so apps don't weight a lot.
Proposed Solution
Enable ASAR by default (i can make a pr).
Alternatives Considered
Add a warning if you're not using ASAR telling you that it's recommended to use it.
Additional Information
This feature is true by default in electron builder, which is a very popular alternative to packager.

Duplicate of #35


ignore_hidden doesn't work

When using the class attribute ignore_hiddenof the sqla.ModelView, the create and edit forms are still missing the attributes that start with and underscore.
What it does in flask-admin: it alters the behavior of the form scaffolding at init of the model (in _refresh_forms_cache) by including the hidden columns in the form classes for self._create_form_class and self._edit_form_class.
But, when the forms get actually instantiated in the create_view and edit_view, it defers to the Form class of WTForms. This class does skip the hidden columns automatically when creating the list of fields that should be bound to the form (see FormMeta.__call__). Actually their documentation states:

Field names can be any valid python identifier, with the following restrictions:
[...]
Field names may not begin with “_” (underscore)

Have I missed something?
Is there a potential fix for it? I see only renaming the hidden attribute and remove the underscore at form scaffolding.
Or should we remove the misleading ignore_hidden field?

That's a limitation of the underlying forms library WTForms: http://wtforms.simplecodes.com/docs/0.6.1/forms.html#defining-forms
Unfortunately there's no way to fix it without moving away from WTForms.


Add an easy way to test wherever proper values where returned from the DummyBacked::get_range

Tests for DummyBackend::get_range are currently only checking if the returned vector has appropriate size and do not inspect the content.
Providing an easy way to inspect the content would be awesome.

Test record now hold some basic metadata about it's lifetime


added spanish translation link

It could be nice if the spanish speaking people would read/learn in their native language.

btw, I deleted the trailing spaces

Wow that's fantastic thanks for doing this.


change binary name in README.md

The binary is called graphcool-framework and not graphcool.

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


Slack image to Imgur upload + IRC<->Slack "private" chat

Warning: This feature request should not be merged. It should be looked at and incorporated. You could merge it, but it's a bit messy and needs a clean up.
This PR adds two important functions:

Images uploaded on Slack will be uploaded to Imgur and the link will be shared on IRC
You can now send messages through the bot to IRC- or Slack users.

Again, the code is not very clean. It was a quick solution to what I felt was missing in this bot.

Oh boy. The CI's are killing my PR because of linting issues. Should have used an editor that played nice, but well, I didn't mean to create a PR for this.
Uuuh, if you want, I can update the code to fix the issues.

This is definitely cool, but I'm not sure if it needs to be a part of the core functionality. I'm gonna forward people to your fork for now, but if enough people find it useful I'll reconsider. Hope that's okay!

Just leaving my opinion, this is definitly something i would like to see. There are many times i miss images becouse they aren't releayed.

@ekmartin Well, if you want feedback from people, wouldn't it be easier to leave the PR open so it's easily seen by others. Just tag it with "need-feedback-from-community" or something.
@duramato That's the whole reason I made this change. I was missing a lot of pictures on IRC because it doesn't get relayed.

@ekmartin sorry to relive this, but has any further consideration has been put in to this? This is a feature i'm really missing. It doesn't necessarly need to be uploading to imgur, it can even be just the releay of the original image link slack gives, altough idk if it would work.


ignore_classes should be split for web context & background workers

Thats because the errors that should be on ignore list by default should not be on ignore list for background workers. For example ActiveRecord::RecordNotFound results in a 404 on a webapp, however in case of a background worker (e.g Sidekiq) it should report the exception to Bugsnag.

+1 for separate ignore lists
Searched for "Mongoid::Errors::DocumentNotFound" errors occuring in Sidekiq workers, but did not find them in Bugsnag.

I think adding an API for this is overly complex and pollutes the api. You can actually achieve this (credit @maletor) by doing something like,
Bugsnag.configuration.ignore_classes.delete 'ActiveRecord::RecordNotFound'
Bugsnag.configuration.ignore_classes << lambda do |exception|
  Bugsnag.configuration.app_type == 'rails' &&
    exception.class == ActiveRecord::RecordNotFound
end

@snmaynard How are we supposed to do that now that ignore_classes is deprecated and discard_classes does not support lambdas anymore? Tnx

@snmaynard How are we supposed to do that now that ignore_classes is deprecated and discard_classes does not support lambdas anymore? Tnx

@snmaynard After digging a bit more, I found a solution:
class ApplicationController < ActionController::Base
  before_bugsnag_notify :ignore_not_found

  private

  def ignore_not_found(report)
    report.ignore! if report.raw_exceptions.map(&:class).include?(ActiveRecord::RecordNotFound)
  end
end

@snmaynard After digging a bit more, I found a solution:
class ApplicationController < ActionController::Base
  before_bugsnag_notify :ignore_not_found

  private

  def ignore_not_found(report)
    report.ignore! if report.raw_exceptions.map(&:class).include?(ActiveRecord::RecordNotFound)
  end
end


Release v6.12.3

Implementation notes
Add any additional information about the change that isn't captured in the ticket.
Checklist

[x] Has the branch been rebased to develop?
[x] Automated tests (Any of the following when applicable: Unit, Functional or Acceptance)
[x] Manual compatibility testing (Browsers: Chrome, Firefox, IE11, Safari)

@web-bert please could you take a look. This time merging into master.
Is there a reason why develop is the default branch?

LGTM
The develop branch is used as part of git flow and means we can merge many features before doing a release. It also ensures that we don't go and merge direct to master by mistake.


RFC: Package deprecation

apitte/presenter was useful bridge to routing contained in nette/application and it also sent response

Response is now send by Application included in apitte/core.
Routing to api can be solved with a one-line condition as described here
Apitte, Symfony Http, Symfony Console, Nette etc. applications are all standalone entrypoints with own way of error handling and they should not be contained in each other. They should be completely separated instead or an front router should choose which one will be used.
Only issue needed to resolve before deprecation is missing link generator, which will be implemented by apitte/core#94. Once we have a link generator, apitte/presenter is not needed anymore.

Agreed. Good points. We'll take a look in near future, well you'll take a look ;-)


chore(deps): upgrade jenkins-x/jx3-pipeline-catalog to version 3.10.10

from: https://github.com/jenkins-x/jx

/retest

/retest


Query Error Handling Pointing

I think the error was trying to point to the test|... part of the string, but it did not point there successfully probably due to the query being parsed out and line separated. I expect this to point to the correct part of the string which can be seen if I follow the arrow up to the original query.
Furthermore, all I was missing was the ending pipe | which I have done quite often while working with this syntax. That specific error I believe could be parsed out better and almost know that a pipe is missing. This might even be able to use a regex noting that the pipes do not exist evenly

Oh yes. This looks ugly. It needs better error handling. Thank you!


Completed pod should be considered ready?

Hi, I installed helm chart including a small pod ("echo hello world!" restartPolicy never) with --wait.
The pod is completed almost instantly ("hello world!" :-) ) and helm stuck in
wait.go:181: [debug] Pod is not ready:
BTW, I added the pod becuase I have a pvc for CronJob and the storage class has waitForFirstConsumer - so the helm wait stucked in wait.go:216: [debug] PersistentVolumeClaim is not bound.
As a workaround for me, I just added sleep to my hello world pod - but maybe it's a bug as the pod already finished to run (it was ready for few ms).
Output of helm version:
version.BuildInfo{Version:"v3.3.1", GitCommit:"249e5215cde0c3fa72e27eb7a30e8d55c9696144", GitTreeState:"clean", GoVersion:"go1.14.7"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.1", GitCommit:"206bcadf021e76c27513500ca24182692aabd17e", GitTreeState:"clean", BuildDate:"2020-09-09T11:26:42Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.12", GitCommit:"e2a822d9f3c2fdb5c9bfbe64313cf9f657f0a725", GitTreeState:"clean", BuildDate:"2020-05-06T05:09:48Z", GoVersion:"go1.12.17", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.):

@bacongobbler
To reproduce:
helm create foo

cat > foo/templates/pod.yml << EOF
kind: Pod
apiVersion: v1
metadata:
  name: mypod
spec:
  containers:
  - name: mycontainer
    image: busybox
    resources:
      limits:
        cpu: "100m"
        memory: 100Mi
      requests:
        cpu: "50m"
        memory: 20Mi
    command: ["/bin/echo"]
    args: ["'hello world!'"] # Helm wait for pod to be ready and if it's completed in an instant
  restartPolicy: Never
EOF

(helm install foo foo/ --wait --debug; ) & ( kubectl get pods -w; helm uninstall foo)

output is:
install.go:172: [debug] Original chart version: ""
install.go:189: [debug] CHART PATH: /tmp/helm/foo

client.go:108: [debug] creating 4 resource(s)
NAME    READY   STATUS    RESTARTS   AGE
mypod   0/1     Pending   0          0s
mypod   0/1     Pending   0          0s
mypod   0/1     ContainerCreating   0          0s
wait.go:53: [debug] beginning wait for 4 resources with timeout of 5m0s
foo-65ddb5dff8-zhks2   0/1     Pending             0          0s
foo-65ddb5dff8-zhks2   0/1     Pending             0          0s
foo-65ddb5dff8-zhks2   0/1     ContainerCreating   0          0s
mypod                  0/1     Completed           0          2s
foo-65ddb5dff8-zhks2   0/1     Running             0          2s
wait.go:181: [debug] Pod is not ready: default/mypod
foo-65ddb5dff8-zhks2   1/1     Running             0          3s
wait.go:181: [debug] Pod is not ready: default/mypod
wait.go:181: [debug] Pod is not ready: default/mypod

... <UNTILL TIMEOUT>

Hi, I'm also running into this. We have a setup pod that loads some metadata when deploying airbyte.io. It's strange that Helm doesn't consider a complete pod successful.

Hi, I'm also running into this. We have a setup pod that loads some metadata when deploying airbyte.io. It's strange that Helm doesn't consider a complete pod successful.
@bacongobbler is it possible to reopon this?

I'm forced to use the Kube Job abstraction as a result. I typically avoid this as the Kube Job abstract has lax concurrency guarantees and isn't suitable for mission critical applications.

@bacongobbler , I also have a use case where I would like a completed pod to count as successful for helm wait. We are currently just running the pod as a "test" so we check success that way, but it's not intuitive.


Add ArgoCD Entity Definition

Relevant information
Added a new Entity Definition for ArgoCD.  Previously created ArgoCD Quickstart, created Entity Definition to match.
Checklist

[x] I've read the guidelines and understand the acceptance criteria.
[x] The value of the attribute marked as identifier will be unique and valid.
[x] I've confirmed that my entity type wasn't already defined. If it is I'm providing an
explanation above.

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

hi @shawnj , because this is a new entity we would like to collect some numbers to measure internally the impact before move it as production ready.
Please, could you setup the flag "debug: true" for all rules being in the defitinion.yml?. Thank you.

We checked the debug data and the rule seems to match correctly. You can proceed with a new PR removing the debug property so we start synthesizing real entities.

cc @shawnj


celocli users can include metadata in their transactions with a flag

Expected Behavior
The cli should have a flag to include metadata in tx, at least the ones triggered by exchange and transfer.
Current Behavior
No metadata can be added.

Some apps, like Hummingbot, relly on the cli to make exchanges. It'd be great they could be able to tag those as sent from the bot, so we could analyze how efficiently trading bots are reacting.

Chatted with to @martinvol  and @MarkusBerlin, and this is blocking some key liquidity initiatives.

The cli should have a flag to include metadata in tx, at least the ones triggered by exchange and transfer

Need more information on what this means. Verify this means sending extra data in tx

Marking as blocked until we get more information:
Looking at it now, wondering what this exactly entails. Are they trying to add metadata on chain, using something like transferWithComment as we currently have been? If so:

For transfer , can’t the users using the CLI with the --comment flag to achieve this?
And for exchange, how would we do this without making changes at the protocol level (e.g. emitting a new type of event on chain)?

This requires contract changes.
Talked with @martinvol and he agrees to close it


scipy.sparse.linalg.inv cannot take ndarray as argument despite what documentation says

The documentation (scipy.sparse.linalg.inv) says

Parameters
A(M,M) ndarray or sparse matrix
square matrix to be inverted

But this code
import numpy as np
from scipy.sparse import linalg
linalg.inv(np.array([[1, 2], [3, 4]]))

throws:
TypeError: Input must be a sparse matrix

I suspect the best option here is to fix the docs.  The Notes section of the docstring already recommends using scipy.linalg.inv for non-sparse input.

Would it be possible for scipy.sparse.linalg.inv to call np.linalg.inv if A is an ndarray?

@gdupras, yes, that's possible, and it may have been the original intent of the docstring author, but the explicit check for a sparse input has been there for many years, so I suspect there isn't much demand for that convenience.  @perimosocordiae, @pv: any preferences?


Show input string length indicator & warning when nearing maximum tag value length

This is intended to solve #7943, #9374. It not only works on the changeset comment field, but most input fields (e.g. text fields for tags, combo boxes, etc.), to solve similar problems, e.g. when entering multiple long URLs into the source field or a particular long description or note.
Looks like this at the moment:

text area, almost empty

text area, almost "full"

text area, exactly 255 characters

text area, over limit

Looks similar for combo boxes, regular text fields and translatable text fields. For semiCombo fields, it takes preexisting value-parts into account:

Currently, the remaining field types do not implement the length indicator (e.g. the number, multiCombo, address, wikidata fields), as the likelihood is quite low that a users would want to enter a string > 255 characters there. And if it is done by mistake, the silent truncate is acceptable IMO.

the latest version includes the differently styled warning from #9392 for the changeset field on the upload form, which is matching the warning we already show if the comment includes an invalid data source (see screenshot below). Thanks @alanb43!

Nice! Looks great :)


bot in discord sending messages as embeds in specific server

Hi,
In the main Discord server I intend on using the bot in (which I do not own), messages send like so:

In 2 other servers I tested the bot in, messages send like so:

Going to Integrations > Matrix in the offending server, Matrix [BOT] is granted webook permissions, but hasn't made any.
Like I said, I don't own the server, my friend does, so I can only see so much from my end, but as far as I can tell, role permissions (namely webhook management) are identical to permissions on my test servers where webhooks were made properly.

There aren't any channel overrides that would affect webhook creation?

There weren't any channel overrides, but apparently the server was at max webhooks. My friend was able to move one of them, and now its working like normal.


How to search and set value for lookup field in non unified version?

Want search for particular record. If manually done, we have to use "Look up for more records" option search for it and then Add. Not sure what to use.
xrmBrowser.Entity.SetValue(new LookupItem { Name = "elementLable", Value = "Value not present in dropdown" }). This throws No element found exception.
Neither did this work
xrmBrowser.Entity.SelectLookup("elementLable", "Value not present in dropdown");

I am getting error when trying to set owner for an existing account. Used below code:
[TestMethod]
public void WEBAccount()
{
using (var xrmBrowser = new Microsoft.Dynamics365.UIAutomation.Api.Browser(TestSettings.Options))
{
SecureString AMLogin = System.Configuration.ConfigurationManager.AppSettings["AdminOnlineUsername"].ToSecureString();
SecureString AMPassword = System.Configuration.ConfigurationManager.AppSettings["AdminOnlinePassword"].ToSecureString();
xrmBrowser.LoginPage.Login(_xrmUri, AMLogin, AMPassword);
xrmBrowser.Navigation.OpenSubArea("Sales", "Accounts");
// xrmBrowser.Grid.Search("Bingham McCutchen Llp - 14-16");
xrmBrowser.Grid.OpenRecord(0);
//  xrmBrowser.CommandBar.ClickCommand("Assign");
//xrmBrowser.Navigation.SwitchToDefaultContent();
//xrmBrowser.Dialogs.Assign(Dialog.AssignTo.User, "Avanthi");
LookupItem owner = new LookupItem { Name = "ownerid", Value = "Avanthi" };
// xrmBrowser.Entity.SetValue(country);
xrmBrowser.Entity.SelectLookup(owner,true);
xrmBrowser.Lookup.Search(owner.Value);
//xrmBrowser.Lookup.SelectItem(1);
xrmBrowser.Lookup.Add();
// xrmBrowser.Entity.SetValue()
}

im Getting issue for CE when i select Lookup

by using this :
LookupItem ethnicity = new LookupItem { Name = "po_ethnicityid", Value = "Asian or Asian British - Indian" };
xrmApp.Entity.SetValue(ethnicity);

Test method Microsoft.Dynamics365.UIAutomation.Sample.UCI.CreateContactUCI.UCITestCreateContact threw exception:
System.InvalidOperationException: List does not contain a record with the name:  Romania

Stack Trace:
WebClient.SetLookUpByValue(IWebDriver driver, LookupItem control, Int32 index) line 1926
<>c__DisplayClass64_0.b__0(IWebDri

@maheshmallamsc did you try using with latest code from devlop branch?
And also try with the following updated code.
LookupItem ethnicity = new LookupItem { Name = "po_ethnicityid", Value = "Asian or Asian British - Indian" };
xrmApp.Entity.SetValue(ethnicity**, 0);**
Cheers,
<EMAIL_ADDRESS>

Hi Thathi,
Yes dowloaded few months back from GIT and customized.is the latest one there now?
and the i used same way as well still getting error

Test method Microsoft.Dynamics365.UIAutomation.Sample.UCI.CreateContactUCI.UCITestCreateContact threw exception:
System.InvalidOperationException: List does not contain a record with the name:  Romania
Stack Trace:
WebClient.SetLookUpByValue(IWebDriver driver, LookupItem control, Int32 index) line 1926
<>c__DisplayClass64_0.b__0(IWebDriver driver) line 1833
DelegateBrowserCommand1.ExecuteCommand(IWebDriver driver, Object[] params) line 28 BrowserCommand1.Execute[T1,T2,T3,T4,T5,T6,T7,T8,T9](IWebDriver driver, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9) line 136
BrowserCommand1.Execute(IWebDriver driver) line 36 BrowserPage.Execute[TResult](BrowserCommandOptions options, Func2 delegate) line 182
WebClient.SetValue(LookupItem control, Int32 index) line 1809
Entity.SetValue(LookupItem control, Int32 index) line 389
CreateContactUCI.UCITestCreateContact() line 73

@maheshmallamsc I have tested using a trail instance and it is working fine the latest code from github. It should be strightforward to debug and see whats going wrong.
Let me know if you need further help happy to help you debugging.
Cheers,
<EMAIL_ADDRESS>

Sure thathi,Thanks you very much for your support

Hi Thathi,How can i reach you

you can reach me at<EMAIL_ADDRESS>On Wed, Nov 25, 2020 at 2:30 PM maheshmallamsc<EMAIL_ADDRESS>wrote:

Hi Thathi,How can i reach you
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/EasyRepro/issues/286#issuecomment-733741114,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADYVXJLDVQKUYED6IISSPUDSRUIIPANCNFSM4GO5XFSA
.

--
Cheers,
Thathi


Feat: design a new product picture for the landing page

Describe the feature
design a new product picture for the landing page like these two
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[ ] I'm a GSSOC'24 contributor
[ ] I want to work on this issue

yup.
u got it right.


TilesetEditorContext will only focus on the first tile ID with a given Texture when modifying other IDs which share them in the TileSet editor

Version:  3.1.1
Issue Description:
This is a bit difficult to describe bug, since I don't quite understand how the underlying implementation works and how a TilesetEditorContext is generated.  But basically, the "Next Coordinate" buttons needed to change the Tile/Subtile/Shape are extremely confusing in what context is needed for the given functionality and this has probably contributed to this bug in some fashion.
Basically, it's impossible to bring up a TilesetEditorContext which is appropriate to alter the collision shapes of a specific tile ID which shares a Texture resource with another unless it's the first instance of that ID which utilizes the resource in the TileSet's tile collection.  Attempting to do so on an "empty" subtile when the TilesetEditorContext is "focused" on a subsequent instance "pops" its focus back to the first instance.  This makes it impossible to create a collision mask for more than one tile sharing a texture resource unless the shape already exists for a given subtile.
The only way to add a shape to a subtile is to copy it over from TileSet/#/shape in the TileSet inspector context, and this only appears to apply to a single shape and a single subtile -- this field may be broken or it may be a side effect of how the field is exposed, but I'm not sure it's a bug, so I've filed a feature request to fix this at https://github.com/godotengine/godot-proposals/issues/66 .  If it's a bug I can file a seperate issue here.  Regardless, once this shape is created, it's possible to alter it with the appropriate TilesetEditorContext, but the moment the tileset editor clicks a subtile without an associated shape resource, it reverts back to the original problem behavior.
Steps to reproduce:
Create a new tileset.  Add a few textures (3 for example).  Select the last texture in the list, hit edit and make a new autotile.  You should have a couple tile IDs in the TileSet context.  The inspector will be in the TileSetEditorContext for the first instance using this texture.  Give it a name like "Instance 1".  Make a collision mask on the first ID on the texture you selected (In this case, "Instance 1".  Now, make another new autotile called "Instance 2".
Select a node to clear the TileSet context.
Re-open the TileSet editor for your TileSet resource (I hope you saved it somewhere!).  Pressing the Next Coordinate button with the previous texture we added stuff to in the TileSet editor selected should bring up Instance 1.  Press the Region subtab so "Next Coordinate" changes the tile context.  Press Next Coordinate again.  We should be on Instance 2.  Press the Collision subtab and select an empty subtile.  The TilesetEditorContext should change (incorrectly) back to the first instance utilizing the Texture.

Edit 1:  I've noticed this bug also seems to occur when trying to copy/paste and modify the bitmask of  a selected tile.  The context might change under more circumstances than just collision and bitmask editing...
Edit 2: It seems apparent when enabling tile names that something's not right when changing Tile contexts, as it displays the last tile ID sharing the texture resource as the name, and lets you flip through the contexts when on the region subtab, but only lets you edit the first tile ID because it'll "pop" back when you start attempting to edit within that ID's context!  The name never changes from the last ID.  The below screenshot should not be possible, as the context is for ID 2 (called "door0" in the screenshot) when the name displayed is clearly ID 3 ("door1").  Editing 'door1' outside of the inspector itself (ie:  in the TileSet editor) is not possible unless the texture is changed to a unique one and the tileset editor is reloaded.

Functionality is restored when inside the TileSet inspector context, the #/texture property of a given ID is changed to a unique value.

An update.  This behavior appears to occur whenever clicking on a shared texture resource whose region is not occupied by the current context, but instead a different context.  This may be intended behavior, but it's extremely obtuse and most users would have no idea what was going on.
When clicking on the texture preview in the main part of the tileset panel, if the region is occupied only by one ID, the TilesetEditorContext will switch to it.  However, if the region is occupied by multiple IDs, it seems to retain the proper ID.  This is more apparent when the "Display Tile Names" option is enabled.  This behavior seems to occur regardless of the editing type selected.  Perhaps this default behavior can be changed to ctrl+click (to mimic "go to definition" behavior), and a warning issued if attempting to edit a subtile outside of the current tile's region otherwise....?

No answer, so closing. Please comment if you can still reproduce it, and make sure that an up-to-date reproduction project is included.


Wrong signature for serialize converter

Please check error in WebStorm

Your current signature is
export declare function serialize(model: {
    [key: string]: any;
}): Object;

Probably must be
export declare function serialize(model: Object): {[key: string]: any};
Because we are waiting for real object and must serialize it into key/value?

Yes, I think you are right. I have to make it generic. Thank you a lot)

@breslavsky What do you think about making all default serializers as singletons instead of creation with a new keyword?

@breslavsky And maybe will be better to create an alternative version of deserialize method something like deserialize(modelConstructor)(json)?

@AndreyZelenskiy

What do you think about making all default serializers as singletons instead of creation with a new keyword?

I think it is good idea to have constructor, because you can pass additional params. E.g. format for date serialization/deserialization.

And maybe will be better to create an alternative version of deserialize method something like deserialize(modelConstructor)(json)?

I think the function deserialize must be universal and read serializator from decorator or by default use ModelSerializer.

@breslavsky About the first question. I was talking about serializers that already implemented in the library. They don't have a state, that's why I think I am able to create a singleton for them instead of creating every time with a new.
The second one was about your call of map function. I think it's not very convenient to create something like this map(obj => deserialize(obj, Model)) every time. It will be better if you just call map with map(deserialize(Model)).

@AndreyZelenskiy

About the first question. I was talking about serializers that already implemented in the library. They don't have a state, that's why I think I am able to create a singleton for them instead of creating every time with a new.

already implemented in the library
It is not fully clear to me...sorry.

The second one was about your call of map function. I think it's not very convenient to create something like this map(obj => deserialize(obj, Model)) every time. It will be better if you just call map with map(deserialize(Model))

Great idea!

Already released)

@breslavsky Could you check it and if it is ok for you I will close an issue?

Everything is fine! Thanks.


How do you move something instantly (lua)

Describe your problem here.
I know how to tween stuff to a position but I don't know how to move them instantly to a position, how do I do that?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

setProperty()

setProperty('thing.x', -900)


Edit Protocol Gas Data

As an ECMPS user, I want the ability to edit Protocol Gas Data so that I can update it
Acceptance Criteria:
Given the user has selected Linearity Summary from the test type group dropdown
When the user selects 'Edit' for Protocol Gas Data
Then the system displays the edit modal
And the user can edit the Protocol Gas Data
Summary Type/Gas Level Code (Pre-populated/not editable)
Gas Type Code (dropdown)
Cylinder ID(Text)
Vendor ID (Text)
Expiration Date (Text+Date Picker)
Given the user has edited Protocol Gas Data
When the user chooses to save and close
Then the data is saved
And the modal closes
And the user is returned to the Landing page for Linearity Summary->Protocol Gas Data
And the updates are reflected in the Linearity Summary section
Warning message to pop up when a user updates data and closes the modal without saving (Cancel or clicks on X)
Warning message to read: Closing this window will discard any unsaved changes
The scope includes testing Edit for Protocol Gas Data Records under Summary High, Mid and Low
Swagger URL: https://api-easey-dev.app.cloud.gov/qa-certification-mgmt/swagger/#/Protocol Gas/ProtocolGasWorkspaceController_getProtocolGases
Invision Board:
https://projects.invisionapp.com/freehand/document/TdahPfbEb?zoomToItems=Y2w2bDZjbGlmMDZubzNiN3BvY21qNno4MQ%3D%3D
Testing
Test Case: TC840
Tester: @mosesdeeCVP

ECMPS-QA Linearity - Workspace - Edit Protocol Gas - Desktop large - 1024 V3.3
Xd Prototype: https://xd.adobe.com/view/b00f424e-f5f1-4d4e-ae7f-c962310e17c4-e55c/screen/d3eb360c-6558-4908-b40f-21707e484ada/
ECMPS-QA Linearity - Workspace - Import - Desktop large - 1024 V3.2 - Updated 7/27/22
inVision Board: https://projects.invisionapp.com/freehand/document/TdahPfbEb

Test Passed


winning icons don't work

Describe your bug here.
I place an icon image with a winning icon in the files and this happens (the whitty icon is the one that's broken):

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no

only 450x150 winning icons are supported rn, maybe it's resolution is bigger

only 450x150 winning icons are supported rn, maybe it's resolution is bigger

so I need to edit the image by increasing the canvas size

yeah


bump: upgrade lsp-mode

Fixes #5927
Upgrade lsp-mode to the version with fixes of eslint 8.x support

Hey, your pr branch seems to be based on an old version of develop, and it's causing a merge conflict. can you rebase it on the latest develop?  It's a bump commit, so refer to that commit type.

Hey @iyefrat
thanks a lot for the quick response and patience with my mistakes regarding PR and commit conventions.
I fixed everything that you mentioned

@aburtsev almost! if you look at this part of the commit conventions, you'll see that the title of the commit should be bump: lsp-mode. The stuff coming after the bump: keyword is either doom module names or individual package names, makes parsing easier. This is only an interim document while doom's documentation is being reworked, I think the full documentation should include some examples. If not, it'll be easy enough to add.

@iyefrat
I fixed the commit message.
And yeah examples will help a lot to quickly grasp the right way.

Oh sorry, I missed this the first time around: Doom uses footers to do the github thing where references to other issues can close them on merge. at the bottom of your commit message, you should add Fix: #5927, so in summary:
bump: lsp-mode

emacs-lsp/lsp-mode@41173dca4d6a -> emacs-lsp/lsp-mode@8531265e6b62

Fix: #5927

The commit conventions say to use Fix:, not Fixes :sweat_smile:

@iyefrat
Fixed.
Forgive me for my inattentiveness

A larger bump of the module was necessary (plus this is redundant with the other PRs mentioned in 0cb8d14), which was done in 0cb8d14, so this issue should now be resolved. Thanks for bringing it to my attention!


yum makecache in a recipe

Scenario:
The apt Cookbook provides a mechanism to do an apt-get update as part of the chef run in its default recipe.  I am wondering if the yum Cookbook should provide a similar construct for parity which seems like it would be yum makecache

What is the need for updating the cache in this scenario? Yum and certain other package managers update the cache as needed. Apt doesn't do this hence why we have that functionality for it.

I guess my thinking was that whenever I spin up a server, before I bootstrap it to chef, I am always performing a yum makecache out of fear that the cache may be expired on the first boot of the server.  I agree that yum maintains its own cache and expiring rules.

just curious if you received my response ...

If you can provide a scenario it would be needed/required we'd be interested. But as stated earlier there isn't any reason we need to run this as yum automatically does so when installing packages. As such we don't have any intention of adding it at this time.


⚠ ClamAV has degraded performance

In 441c50c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 645 ms

Resolved: ClamAV performance has improved in b590a6a.


CORGI-276: Add copyright_text, license_concluded logic and fix Django warning

@jasinner Quick MR to allow OpenLCS to beta-test the scanning feature in stage. We won't turn this on in production until we've enabled authentication and had a more thorough requirements discussion (e.g. the endpoint name and design will likely change).
Going to let this sit overight, add a quick test tomorrow morning and then merge. I've tested manually.

Why are we not using the natural extension points to the logical data model and use tags to represent most/all of this data ?
From this list:

"copyright_text",
"license_concluded",
"license_concluded_list",
"license_declared",
"license_declared_list",
"openlcs_scan_url",
"openlcs_scan_version",

copyright_text is the only one that might be germane to the component model ... the rest look like the result of processing from external systems and likely to change (maybe in both structure and values). One reason to isolate 'things that change together' is to avoid disturbing the generic data model constantly which generates churn for all applications/ux downstream.
I might be missing something but I always see downsides adding a bunch of textfields to a model (with no constraints, etc) ... if tags are not up to the task (or to limited) we could entertain adding a generic meta model (like osidb) and give it an 'openlcs' type with whatever structure we deem fit (and could change independently of main component model).
The decisions are always the same with databases eg. when should we apply 3NF (eg. represent with a different table), use extensibility (simple  = tags, more complex = generic meta) or use a external system id. Of these three I think we already have things covered with tagging ... or we can improve tagging to accommodate.
In summary - small efforts now to help keep the data model extensible (and loosely coupled) will pay off big later on.

thx for explanation - agree we do not want to save other ppl's documents (eg. document URIs are fine)


1.0.0rc0

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Please make sure to squash this when you merge it in!
The tricks are this file:
recipe/conda_build_config.yaml
which tells conda-forge to upload the package to conda-forge/label/gufe_rc
and the target branch for the PR is not main but rc

Then it gets installed like this:
conda install -c conda-forge/label/gufe_rc -c conda-forge gufe

This line https://github.com/conda-forge/gufe-feedstock/pull/35/files#diff-f3725a55bf339595bf865fec73bda8ac99f283b0810c205442021f29c06eea9aR10 will need to be updated either to the tag or commit you want to use for the rc

@conda-forge-admin, please rerender


docs(plugins): add app registry plugin link

I noticed this was missing from the plugin list!
Let me know if I missed anything. CLA should be signed because of my email domain.

I signed it!


[SPARK-21492][SQL] Fix memory leak in SortMergeJoin

What changes were proposed in this pull request?
We shall have a new mechanism that the downstream operators may notify its parents that they may release the output data stream. In this PR, we implement the mechanism as below:

Add function named cleanupResources in SparkPlan, which default call children's cleanupResources function, the operator which need a resource cleanup should rewrite this with the self cleanup and also call super.cleanupResources, like SortExec in this PR.
Add logic support on the trigger side, in this PR is SortMergeJoinExec, which make sure and call the cleanupResources to do the cleanup job for all its upstream(children) operator.

Why are the changes needed?
Bugfix for SortMergeJoin memory leak, and implement a general framework for SparkPlan resource cleanup.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
UT: Add new test suite JoinWithResourceCleanSuite to check both standard and code generation scenario.
Integrate Test: Test with driver/executor default memory set 1g, local mode 10 thread. The below test(thanks taosaildrone for providing this test  here) will pass with this PR.
from pyspark.sql.functions import rand, col

spark.conf.set("spark.sql.join.preferSortMergeJoin", "true")
spark.conf.set("spark.sql.autoBroadcastJoinThreshold", -1)

r1 = spark.range(1, 1001).select(col("id").alias("timestamp1"))
r1 = r1.withColumn('value', rand())
r2 = spark.range(1000, 1001).select(col("id").alias("timestamp2"))
r2 = r2.withColumn('value2', rand())
joined = r1.join(r2, r1.timestamp1 == r2.timestamp2, "inner")
joined = joined.coalesce(1)
joined.explain()
joined.show()

Test build #112460 has started for PR 26210 at commit 814e64f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/17427/
Test PASSed.

Test build #112460 has finished for PR 26210 at commit 814e64f.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/112460/
Test FAILed.

Test build #112461 has started for PR 26210 at commit a4422d6.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/17428/
Test PASSed.

Test build #112461 has finished for PR 26210 at commit a4422d6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/112461/
Test PASSed.

Please add [2.4] to PR title?

thanks, merging to 2.4!

Thanks!


Poetry from within a poetry virtual environment?

Quick system rundown:

Windows 10 Enterprise
Python 3.7.2
Pip 18.1
Poetry 0.12.11

Same versions used within the virtual environment.

This might be related to https://github.com/sdispater/poetry/issues/281 or https://github.com/sdispater/poetry/issues/527
But it looks like that was meant to be solved in 0.12.4? And I'm running 0.12.11 right now (on Windows, Python 3.7).
Further, I am using .venv folders in the project directory (so I can get proper working code completion automatically in vscode).
Finally, I installed poetry to the system using pip. It's one of the very few things installed globally, and nothing has been installed since (unless poetry itself went rogue).
Anyway, due to some unique situation, I'm trying to create a tool that wraps poetry. Simple enough, except that I want to build the tool itself using poetry...
So currently when I want to test this I poetry shell into the environment of the tool I'm creating, I change to a new project directory (with its own pyproject.toml), and then try to run my tool using python -m my_tool.
This runs the tool fine, but within that tool, my script runs poetry install, because, as I said I'm trying to wrap poetry.
As long as VIRTUAL_ENV is not set, it will at least attempt to create a virtual environment for the project.
However, for whatever reason, the .venv folder it creates is not a valid virtualenv. As a result, it will end up installing the requirements of the projects in the top level (i.e. my tool's) virtual environment instead.
This following is what can be found in the .venv/Scripts directory it attempts to generate:
Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       21/02/2019     14:13           2299 activate
-a----       21/02/2019     14:13           1039 activate.bat
-a----       21/02/2019     14:13           1510 Activate.ps1
-a----       21/02/2019     14:13            368 deactivate.bat
-a----       21/02/2019     14:13         522768 python.exe
-a----       21/02/2019     14:13         522256 pythonw.exe

Any advice on how I can proceed here? I'm happy to make local changes to poetry for my niche use case here, just so I can get this working without having to test it by actually installing it into a VM...

Note: if I create the virtual environment using my system install of poetry, and then shell into my tools project, the internal poetry will correctly use the virtual environment.
It just seems to be unable to generate a valid one itself. So I can actually test most things, besides the initial poetry install.

Ok. This is a problem with EnvBuilder not actually installing pip into the virtual environment for some reason. It just fails silently.
Specifically, when python -Im ensurepip --upgrade --default-pip is run from within the second venv, it determines that pip is already installed because it finds them in the first venv.
Anyone know anything about this? Does this present a problem if you install poetry using pipx (as that puts it in a virtual environment)? If not, how does poetry avoid this issue?

https://bugs.python.org/issue35872
Found the issue. It's a bug in Python 3.7.2. It will be fixed in 3.7.3


Toggling feature generation on, generated features are not installed

To reproduce

Start dev mode without any features specified in the server.xml and feature generation off mvn liberty:dev -DgenerateFeatures=false
Once dev mode has started, toggle feature generation on. Feature are generated but not installed.

[INFO] ************************************************************************
[INFO] *    Liberty is running in dev mode.
[INFO] *        Automatic generation of features: [ Off ]
[INFO] *        To see the help menu for available actions, type 'h' and press Enter.
[INFO] *        To stop the server and quit dev mode, press Ctrl-C or type 'q' and press Enter.
[INFO] *
[INFO] *    Liberty server port information:
[INFO] *        Liberty debug port: [ 7777 ]
[INFO] ************************************************************************
[INFO] Source compilation was successful.
[INFO] Tests compilation was successful.
g
[INFO] Setting automatic generation of features to: [ On ]
[INFO] Running liberty:generate-features
[INFO] Generated the following features: [cdi-2.0, mpMetrics-3.0, jaxrs-2.1]

Confirmed that this bug exists in the current main branch and with LMP 3.6 release.

This is because of the file watcher events when the configDropins/overrides directory does not yet exist.
With debug on, after toggling feature generation on:
[INFO] Generated the following features: [cdi-2.0, mpMetrics-3.0]
[DEBUG] Created file /Users/kathrynkodama/devex/sampleProjects/demo-devmode/src/main/liberty/config/configDropins/overrides/generated-features.xml
[DEBUG] (org.codehaus.mojo.pluginsupport.logging.Logging) Resetting
[DEBUG] Parsing the server file for features and includes: config/configDropins/overrides/generated-features.xml
[DEBUG] Waiting for Enter key to run tests
[DEBUG] Processing events for watched directory: /Users/kathrynkodama/devex/sampleProjects/demo-devmode/src/main/liberty/config
[DEBUG] Changed: configDropins; ENTRY_CREATE
[DEBUG] Processing file changes for /Users/kathrynkodama/devex/sampleProjects/demo-devmode/src/main/liberty/config/configDropins, change type CREATE
[DEBUG] Registering all files in directory: /Users/kathrynkodama/devex/sampleProjects/demo-devmode/src/main/liberty/config/configDropins
[DEBUG] Adding subdirectory to WatchService: /Users/kathrynkodama/devex/sampleProjects/demo-devmode/src/main/liberty/config/configDropins
[DEBUG] Adding subdirectory to WatchService: /Users/kathrynkodama/devex/sampleProjects/demo-devmode/src/main/liberty/config/configDropins/overrides

The file watcher registers the new /configDropins/overrides directory but does not receive a file modified/file created event for the generated-features.xml file directly.
One solution could be in the file watcher register logic:
https://github.com/OpenLiberty/ci.common/blob/8253c11a9400dcceb9b693cd03ffab48d7d849dc/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java#L4734-L4745
check if the folder added resides within the configuration directory and call processConfigFileChange on all of the files within the folder:
https://github.com/OpenLiberty/ci.common/blob/8253c11a9400dcceb9b693cd03ffab48d7d849dc/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java#L4256

If a user were to manually add a file like the generated-features.xml and create the /configDropins/overrides directory in the process, what would the expected behaviour be? I think it would be that dev mode reacts accordingly to all new files in the new directory. Therefore, I agree with the idea that we should process all the new files.
However, I do not think we should modify the file watcher register logic. Assuming that we get a file created event for the newly created directory (/configDropins/overrides in this case), my suggestion would be to update the logic inside of processFileChanges() at the part where we check if the file changed is a directory: https://github.com/OpenLiberty/ci.common/blob/main/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java#L3892. Would we get a file created event for one new directory, or each new directory along the full directory path? (ie. one event for /configDropins/overrides combined, or one for configDropins and one for overrides?)


Simple MATLAB/Octave Unit Test

The added script adds a simple and custom written unit test for the BART MATLAB wrapper. For simplicity and because it is only really testing the MATLAB wrappers functionality it is not integrated into the BART Makefile based test system but is rather just a simple file. This also has the advantage that the test can be easily used by users and developers:

Developer who made changes to the MATLAB wrapper can simply run test_bart.m from within MATLAB or Octave to test their changes.
Users who have just installed BART can also simply run test_bart.m to see if their MATLAB setup works properly

To make the unit test compatible to Octave it uses neither the MATLABs nor Octaves Unit testing frameworks but rather simple custom written testing functions that work on both platforms.
To run the test from commandline using Octave:
ovtave --eval "run('startup.m'); run('matlab/test_bart.m');"

Hi Martin,
thank you! Can you add a copyright header?
Best,
Martin

Added a tiny header with copyright and a brief function description


Mode for copying code blocks from responses

To have a more efficient workflow in the terminal, it would be great to be able to copy code blocks (perhaps scan for markdown) using osc52 escape code. This way, copy pasting between aichat and terminal should become less friction-full.
This may be tricky, as that would require the ability to iterate over code blocks, and have a selection mechanism. Which in turns requires an alternative mode implementation, similar to search mode in Vi-like editor.
Except in the case of aichat "code search mode", search would be constrained to markdown blocks.
Alternatives
Currently to achieve this, a form of in-terminal search capability required, eg tmux. However, tmux search is more generalized.
Terminals like kitty allow to open the whole buffer in an editor of choice, so far this is the easiest option.
Maybe I am missing some obvious workflow improvements that makes this feature less useful?

Is there any cli tools that can do this? Can you give me an example? @sashkachan

Even if you have a way, isn't it easier than copying with a mouse?
Currently aichat repl supports the .copy command, you can copy the response to the editor, and then copy the code block in the editor.
If you think .copy is too troublesome, there is also an auto_copy option to automatically copy the latest response

Oh, you're right, I should've checked the docs for .copy.
.copy could deliver 100% of this (and is a lot less complex), if it allowed copying code blocks only.
I image it could work like this

in chat response, code blocks are given an id (or sequential number)
.copy would take an argument with the code block id and then copies only that code block
additionally, .copy could implement osc52, this puts the text in OS clipboard, thus allowing copy into the clipboard when working on a remote server.

mouse is definitely the easiest, however, I do prefer keyboard only approach when working in terminal.

Don't you think it's too cumbersome to select copied code blocks by ID? Not as simple and direct as mouse copying
As for osc52, I don't think it is mature enough to support various protocols and terminals.


Examples

Is it better to have examples as notebooks, or as standalone scripts? Python files are easier to quickly run from the command line. Notebooks can be viewed with the images online simply using nbviewer. They can also readily be turned into Python (at least from the server) and be converted into an html page that could go into a user doc.

Notebooks are the way to go. We can use nbconvert to convert them to Python scripts and to .rst files for inclusion in web docs. My only question is how do we set up the process to automate updating/regenerating.

Moved examples to notebooks and added auto-generation of scripts in 0a2399c397c.
All that's left is to include in documentation.

Added examples to on-line docs in 61396a7be.


FIX Make loading of GMM (more) future proof

Closes #5

pymeshlab needs to be <=2022.2.post2 because of the following issue: https://github.com/cnr-isti-vclab/PyMeshLab/issues/293


portability suite: End2end/End2endTest.ReconnectChannel failing consistently with gcc7.2

happening with poll-cv, several test cases always fail (and the tests seem to work fine with other pollers).
https://source.cloud.google.com/results/invocations/a44e30a8-58de-4766-b103-38ea472d5f83/targets/github%2Fgrpc%2Fcpp_linux_dbg_native_x64_gcc7.2/tests
https://source.cloud.google.com/results/invocations/ee72e2dc-8e73-44f1-9905-fbc5db2b152b/targets/github%2Fgrpc%2Fcpp_linux_dbg_native_x64_gcc7.2/tests
https://source.cloud.google.com/results/invocations/462a8331-2e80-4ea4-b727-b6caa05a92b8/targets/github%2Fgrpc%2Fcpp_linux_dbg_native_x64_gcc7.2/tests

Local reproduction:
tools/run_tests/run_tests.py -l c++ -c dbg --use_docker -r 'End2end.End2endTest.ReconnectChannel' --compiler gcc7.2

A more concise error message:
D0403 12:38:26.889790185   22848 connectivity_state.cc:164]  SET: 0x564696778e70 client_transport: READY --> TRANSIENT_FAILURE [got_goaway] error=0x7fe67c00b500 {"created":"@1522759106.889776427","description":"GOAWAY received","file":"src/core/ext/transport/chttp2/transport/chttp2_transport.cc","file_line":1083,"http2_error":0,"raw_bytes":"Server shutdown"}
D0403 12:38:26.889803424   22848 connectivity_state.cc:190]  NOTIFY: 0x564696778e70 client_transport: 0x56469675d2e0
D0403 12:38:26.889810024   22848 connectivity_state.cc:164]  SET: 0x7fe680005fa0 subchannel: READY --> TRANSIENT_FAILURE [reflect_child] error=0x7fe67c00b500 {"created":"@1522759106.889776427","description":"GOAWAY received","file":"src/core/ext/transport/chttp2/transport/chttp2_transport.cc","file_line":1083,"http2_error":0,"raw_bytes":"Server shutdown"}
D0403 12:38:26.889814061   22848 connectivity_state.cc:190]  NOTIFY: 0x7fe680005fa0 subchannel: 0x56469676d6a8
D0403 12:38:26.889851209   22848 connectivity_state.cc:164]  SET: 0x7fe680001560 pick_first: READY --> IDLE [selected_changed+reresolve] error=(nil) "No Error"
D0403 12:38:26.889858652   22848 connectivity_state.cc:190]  NOTIFY: 0x7fe680001560 pick_first: 0x56469675d478
D0403 12:38:26.889895526   22848 connectivity_state.cc:164]  SET: 0x5646967593a0 client_channel: READY --> IDLE [lb_changed] error=(nil) "No Error"
D0403 12:38:26.889905882   22848 connectivity_state.cc:116]  CONWATCH: 0x7fe680001560 pick_first: from IDLE [cur=IDLE] notify=0x56469671e438
D0403 12:38:26.889993124   22848 connectivity_state.cc:164]  SET: 0x564696778e70 client_transport: TRANSIENT_FAILURE --> SHUTDOWN [close_transport] error=0x7fe67c001c10 {"created":"@1522759106.889832205","description":"Delayed close due to in-progress write","file":"src/core/ext/transport/chttp2/transport/chttp2_transport.cc","file_line":589,"referenced_errors":[{"created":"@1522759106.889825025","description":"Endpoint read failed","file":"src/core/ext/transport/chttp2/transport/chttp2_transport.cc","file_line":2419,"occurred_during_write":0,"referenced_errors":[{"created":"@1522759106.889823072","description":"Secure read failed","file":"src/core/lib/security/transport/secure_endpoint.cc","file_line":156,"referenced_errors":[{"created":"@1522759106.889821637","description":"Socket closed","fd":7,"file":"src/core/lib/iomgr/tcp_posix.cc","file_line":423,"grpc_status":14,"target_address":"ipv4:<IP_ADDRESS>:5025"}]},{"created":"@1522759106.889776427","description":"GOAWAY received","file":"src/core/ext/transport/chttp2/transport/chttp2_transport.cc","file_line":1083,"http2_error":0,"raw_bytes":"Server shutdown"}]},{"created":"@1522759106.889847878","description":"OS Error","errno":32,"fd":7,"file":"src/core/lib/iomgr/tcp_posix.cc","file_line":573,"grpc_status":14,"os_error":"Broken pipe","syscall":"sendmsg","target_address":"ipv4:<IP_ADDRESS>:5025"}]}
I0403 12:38:26.890029547   22848 end2end_test.cc:355]        status code: 14
test/cpp/end2end/end2end_test.cc:356: Failure
      Expected: response.message()
      Which is: ""
To be equal to: request.message()
      Which is: "Hello hello hello hello"
test/cpp/end2end/end2end_test.cc:357: Failure

@yashykt,  @dgquintas  seems to be the owner for channel connectivity, but he's OOO. Can you please take a look?

From what I understand, this is what is happening -

The client performs a RPC to the server which successfully completes.
The server restarts.
The client goes to sleep for a duration long enough for the timer on the backup poller to fire.
In the normal case, the backup poller detects that the fd is shutdown and starts trying to create a new subchannel to the server. Once the server is up, the subchannel connects.
The client performs another RPC which SHOULD succeed in the normal case.

In the failing case, the backup poller does not detect that the fd is shutdown, and is not able to create a new subchannel. Subsequently when the client wakes up and tries to perform another RPC, it now realizes that the fd is shutdown and the RPC fails with a socket closed error.

@yashykt  thanks for the analysis!


Integrating cibuildwheel

This Github Actions can help with building a binary distribution of link-python. I only had to do minor modifications in the build process + add a line to git clone recursively in the action itself. See this file for going even further and deploying built wheels on Pypi automatically! :)

Hi @munshkr, do you have some spare time to take a look at this PR?
Many thanks in advance.

Thank you @Bubobubobubobubo !

Thank you @Bubobubobubobubo !

I'll try publishing a new version with these wheels in a couple of hours.

I'll try publishing a new version with these wheels in a couple of hours.

@munshkr: Any news about these wheels? I can help some more to test that they have been correctly built and that they are usable ⚙ .

Hi I've seen that a cibuildwheel integration is on the way to release wheels :D ! Can I help you with publishing the package to Pypi and to test it beforehand?


Split images to PDF pages.

I have a image which really big and I m trying to save it as pdf. It successfully saves as pdf but only some part of the image is saved ie., the part of the image that fits in first page of pdf and the rest of the image is not getting saved. Any ideas or help?

i have the same issue. did u find any solution for this @diegocr


Polymorphic relationship for notes isn't working correctly.

In gitlab by @A-Lawrence on Aug 21, 2016, 14:39

Lines 169 & 179 of \App\Modules\Visittransfer\Models\Reference::reject()
Lines 185 & 186 of \App\Modules\Visittransfer\Models\Reference::accept()
Lines 374 & 375 of \App\Modules\Visittransfer\Models\Application::reject()
Lines 391 & 392 of \App\Modules\Visittransfer\Models\Application::accept()

$this->notes()->save($note);
            // TODO: Investigate why this is required!!!!

The saving of this attachement should be handled by the \App\Models\Mship\Account::addNote() method, however this:
if (!is_null($attachment)) {
            $note->attachment()->save($attachment);
        }

isn't working.

In gitlab by @A-Lawrence on Aug 21, 2016, 14:40
Changed title: {-$this->notes()->save($note);             // TODO: Investigate why this is required!!!!-} → {+Polymorphic relationship for notes isn't working correctly.+}


Update stack resolver

The only change I noticed with updating to the latest LTS was that optparse-applicative no longer exports the <> operator, so I imported it from Data.Monoid.

Thanks!


feat: add custom thank you note

Allows the setting of a custom "thank you" note via an environment variable (env.THANKYOU).
Tested on my instance.

@apotdevin any holdup in regards to merging this?

Awesome! Sorry for the delay. Thanks for the PR


[BUG] Indexer is running but in the log there is an error invoking the LLM.

Describe the bug
I have followed the Quick start notebook with Wikipedia.

The status has not changed in 2 hours and when I go to the log file I see following message. any guidance on how to fix it.
'type': 'on_workflow_start',
'data': 'Index: wiki-idx -- Workflow (4/16): create_summarized_entities started.',
'details': {
'workflow_name': 'create_summarized_entities',
'index_name': 'wiki-idx',
},
}
{
'type': 'error',
'data': 'Error Invoking LLM',
'cause': 'Connection error.',
'stack': (
'Traceback (most recent call last):\n'
'  File "/usr/local/lib/python3.10/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exc'
'eptions\n'
'    yield\n'
'  File "/usr/local/lib/python3.10/site-packages/httpx/_transports/default.py", line 373, in handle_async_re'
'quest\n'
'    resp = await self._pool.handle_async_request(req)\n'
'  File "/usr/local/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 216, in handle_as'
'ync_request\n'
'    raise exc from None\n'
'  File "/usr/local/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 196, in handle_as'
'ync_request\n'
'    response = await connection.handle_async_request(\n'
'  File "/usr/local/lib/python3.10/site-packages/httpcore/_async/connection.py", line 101, in handle_async_r'
'equest\n'
'    return await self._connection.handle_async_request(request)\n'
'  File "/usr/local/lib/python3.10/site-packages/httpcore/_async/http11.py", line 143, in handle_async_reque'
'st\n'
'    raise exc\n'
'  File "/usr/local/lib/python3.10/site-packages/httpcore/_async/http11.py", line 113, in handle_async_reque'
'st\n'
'    ) = await self._receive_response_headers(**kwargs)\n'
'  File "/usr/local/lib/python3.10/site-packages/httpcore/_async/http11.py", line 186, in receive_response'
'headers\n'
'    event = await self._receive_event(timeout=timeout)\n'
'  File "/usr/local/lib/python3.10/site-packages/httpcore/_async/http11.py", line 224, in _receive_event\n'
'    data = await self._network_stream.read(\n'
'  File "/usr/local/lib/python3.10/site-packages/httpcore/_backends/anyio.py", line 32, in read\n'
'    with map_exceptions(exc_map):\n'
'  File "/usr/local/lib/python3.10/contextlib.py", line 153, in exit\n'
'    self.gen.throw(typ, value, traceback)\n'
'  File "/usr/local/lib/python3.10/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions\n'
'    raise to_exc(exc) from exc\n'
'httpcore.ReadError\n'
'\n'
'The above exception was the direct cause of the following exception:\n'
'\n'
'Traceback (most recent call last):\n'
'  File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 1558, in _request\n'
'    response = await self._client.send(\n'
'  File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1661, in send\n'
'    response = await self._send_handling_auth(\n'
'  File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1689, in _send_handling_auth\n'
'    response = await self._send_handling_redirects(\n'
'  File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1726, in _send_handling_redirects\n'
'    response = await self._send_single_request(request)\n'
'  File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1763, in _send_single_request\n'
'    response = await transport.handle_async_request(request)\n'
'  File "/usr/local/lib/python3.10/site-packages/httpx/_transports/default.py", line 372, in handle_async_re'
'quest\n'
'    with map_httpcore_exceptions():\n'
'  File "/usr/local/lib/python3.10/contextlib.py", line 153, in exit\n'
'    self.gen.throw(typ, value, traceback)\n'
'  File "/usr/local/lib/python3.10/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exc'
'eptions\n'
'    raise mapped_exc(message) from exc\n'
'httpx.ReadError\n'
'\n'
'The above exception was the direct cause of the following exception:\n'
'\n'
'Traceback (most recent call last):\n'
'  File "/usr/local/lib/python3.10/site-packages/graphrag/llm/base/base_llm.py", line 53, in _invoke\n'
'    output = await self._execute_llm(input, **kwargs)\n'
'  File "/usr/local/lib/python3.10/site-packages/graphrag/llm/openai/openai_chat_llm.py", line 55, in _execu'
'te_llm\n'
'    completion = await self.client.chat.completions.create(\n'
'  File "/usr/local/lib/python3.10/site-packages/openai/resources/chat/completions.py", line 1289, in create'
'\n'
'    return await self._post(\n'
'  File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 1826, in post\n'
'    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n'
'  File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 1519, in request\n'
'    return await self._request(\n'
'  File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 1592, in _request\n'
'    raise APIConnectionError(request=request) from err\n'
'openai.APIConnectionError: Connection error.\n'

@ adnanakram82. openai.APIConnectionError: Connection error.
Please go to graphrag-accelerator/blob/main/backend/src/api/pipeline-settings.yaml file, Add an api_key property to each LLM node.

@rnpramasamyai (i have similar issue) how this change will affect the behavior? I though the settings/keys/endpoints etc. are already deployed in AKS in Azure. The local notebook just fires an event through APIM... so how does this change in my local repo afect the deployment - or am I missing something?

@rnpramasamyai
I had the same issue. I added the API key, and it worked fine.

By default, the accelerator deployment will set up and use managed identity to access the AOAI service that you configure it to use.
Without knowing the details and security configuration of your AOAI service, I can only guess that adding managed identity access to the AOAI failed - perhaps the AOAI service is configured to not allow managed identity or is setup in a different subscription in a way that the deployment script cannot add the appropriate role assignment for managed identity access.

@rnpramasamyai @jgbradley1 my deployment wen OK - it seems that the MI had all RBAC (Cognitive Services/OpenAI contributor role), also I provided valid URL and KEY to the deploy.parameters.json file... still got that 400 error.
What concers me is the error - 400 Please provide a custom subdomain for token... seems like its is not correctly setup with some domain name - is that the cognitive services GRAPHRAG_COGNITIVE_SERVICES_ENDPOINT which I left as default?
If it was using KEY and the key was incorrect, I would probably got 401 Unauthorized error... so its probably trying with MI.
I run the deployment with bash deploy.sh -dgp deploy.parameters.json

'cause': (
"Error code: 400 - {'error': {'code': 'BadRequest', 'message': 'Please provide a custom subdomain for token "
"authentication, otherwise API key is required. (Please see https://aka.ms/cogsvc-authenticatewithtoken)'}}"
)


chore(main): release 0.1.1

:robot: I have created a release beep boop
0.1.1 (2024-04-16)
Bug Fixes

collectors ignore watches with missing title (#22) (0547a71)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/schaermu/changedetection.io-exporter/releases/tag/v0.1.1 :sunflower:


A Runtime Error

When I use the command in readme,I got this:
Traceback (most recent call last):
File "local_detector.py", line 58, in
faces = face_detection(img_path, verbose=False)
File "/root/Code/FALdetector/utils/tools.py", line 113, in face_detection
dets = cnn_face_detector(im, 0)
RuntimeError: Expected writable numpy.ndarray with shape set.
It looks like blib throw this error ,and i’m Not familiar with blib.
I try to use cv2.imread load image,it works some time,but not always,I can’t fix it.
Hope Help,thx.

Have you tried adding: im.setflags(write=True) right above line 113 in utils/tools.py?
It seems like for some reason your array is not writable, so adding this line might be able to help.

It works.Thank you.


APK Sample

I hope theres a sample apk or demo so we can try how it works on android11

For now, just check out this repo and run it on your machine. I will publish the APK to F-Droid soon.

Please Give the apk with full functional
because no Multiple File is selected yet

I finally decided to publish the APK on the release notes because it is more maintainable and requires no approval. For example, the sample APK can be downloaded here:


⚠ Bofrost.at has degraded performance

In 4342ee1, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1743 ms

Resolved: Bofrost.at performance has improved in 6397024 after 42 minutes.


Migrate repository to Docker/diver

Just so we can keep on top of this.

1000 internet points for that gif @johnharris85


[new page] how to interpret SHOW DIAGNOSTICS

Originally: https://github.com/influxdb/influxdb.com/issues/532

I think this is actually pretty self-explanatory. The only info there now is the following:
InfluxDB shell version: 0.13.0
> show diagnostics
name: build
-----------
Branch	Build Time	Commit						Version
0.13			e57fb88a051ee40fd9277094345fbd47bb4783ce	0.13.0

name: network
-------------
hostname
sean-stable

name: runtime
-------------
GOARCH	GOMAXPROCS	GOOS	version
amd64	2		linux	go1.6.2

name: system
------------
PID	currentTime			started				uptime
356	2016-06-01T03:52:32.955345249Z	2016-05-20T16:35:38.599688172Z	275h16m54.355657523s

>

That all seems pretty obvious, and the SHOW DIAGNOSTICS command is on the troubleshooting/statistics page, so it's documented.


UI Tracking with serverless functions

Motivation and context
The patch uses server-side implemented serverless tracking to get automatic bounding boxes on client.
How has this been tested?
Manual testing
Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Pull Request Test Coverage Report for Build 7310

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 70.809%

Totals

Change from base Build 7306:
0.0%

Covered Lines:
12498

Relevant Lines:
17258

💛  - Coveralls


Highlighter#withGutter() should be a real "wither"

Hi,
First let me thank you and every contributors for this package. I first went with Shiki.js for code-highlighting in the browser, but I found that was not so much performant for my needs, too much JavaScript was loaded, and I suspect it badly impacted the page interactivity. To me, a server-based solution is so much better because I can use HTTP cache for more optimisation! :)

I've just found Highlighter#withGutter() is in fact not a real "wither" , even if its name starts with with.
"Wither" methods are special methods that clones the object, mutate it, and returns the cloned object, this way the original object stays untouched. We can find many exemples in the PHP ecosystem:

doctrine/orm: https://github.com/doctrine/dbal/blob/4.0.x/src/Query/Expression/CompositeExpression.php#L60-L67
symfony/var-dumper: https://github.com/symfony/var-dumper/blob/7.0/Cloner/Data.php#L171-L212
symfony/web-link: https://github.com/symfony/web-link/blob/7.0/Link.php#L184-L222
thephpleague/flysystem: https://github.com/thephpleague/flysystem/blob/3.x/src/Config.php#L33-L56
etc...

So we have two solutions:

Either make it a real wither, the object is cloned, modified, and returned
Either we rename the method to enableGutter, or something else that will says to users "this will not returns a new object".

In both cases, to not introduce breaking changes, we can trigger a deprecation that will be removed in the next major version (like Symfony does).
WDYT?

Agree on with being confusing. I'm already working on a v2 branch, so I'll include it in there :)

Prepared in v2: https://github.com/tempestphp/highlight/pull/93

Perfect, thanks :)


build 0.7.0

captum 0.7.0
Destination channel: Defaults
Links

PKG-4659
Upstream repository

Explanation of changes:

This is the first build for this package

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_12kngmx1zs/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:19: avoid_noarch: noarch: python packages should be avoided
===== Final Report: =====
0 Errors and 1 Warning were found


Remove the last one provate settings and use teamwork rules

CODEOWNERS
maintainers
code of conduct
template for pull requests

s/last one provate settings/latest private settings/ ?

last one private settings
.idea contained private settings

Pull Request Test Coverage Report for Build 319

1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 317:
0.0%

Covered Lines:
364

Relevant Lines:
364

💛  - Coveralls

Pull Request Test Coverage Report for Build 319

1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 317:
0.0%

Covered Lines:
364

Relevant Lines:
364

💛  - Coveralls

Pull Request Test Coverage Report for Build 319

1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 317:
0.0%

Covered Lines:
364

Relevant Lines:
364

💛  - Coveralls

Pull Request Test Coverage Report for Build 319

1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 317:
0.0%

Covered Lines:
364

Relevant Lines:
364

💛  - Coveralls


Shader parameters not persisted in web export when running in headless mode

Tested versions

4.2.1.stable.arch_linux

System information
Godot v4.2.1.stable unknown - Manjaro Linux #1 SMP PREEMPT_DYNAMIC Fri Jan  5 17:36:36 UTC 2024 - X11 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 4080 (nvidia; 545.29.06) - AMD Ryzen 9 7950X 16-Core Processor (32 Threads)
Issue description
When using shader parameters in a Godot project, the parameter values are not persisted in the web exported version of the project. This issue occurs even though the shader itself is correctly included in the exported files.
This problem is especially noticeable when using the command line to export a fresh project, as the .godot folder may not be present.
Steps to reproduce

Download MRP
Create a web export with godot --headless --verbose --export-release "Web" /tmp/web/index.html
Run the web export with serve.py
The Godot icon is not colored blue because the state of the shader parameter active is not being set to true in the exported version.
Running the project in the editor, the icon is colored blue.
There is a script attached to the Godot icon. In this script, you can uncomment a line which will set the active property again to true when the node is ready. When this line is uncommented, the icon will appear in blue in the exported version.

Minimal reproduction project (MRP)
Shader Test.zip

This sounds like a duplicate of:

https://github.com/godotengine/godot/issues/66842

And isn't web specific, and has been resolved

@HunterNN Can you test again with a recent dev build? https://godotengine.org/article/dev-snapshot-godot-4-3-dev-4/

Looks solved to me
(Tested it with a Laptop Manjaro Linux)

Thanks for the confirmation! Closing as likely duplicate of #66842 then.


Cache conversation objects in app workers

We do this for account objects in the routing table dispatcher, so we should do it for conversation objects as well.

Looks good so far to me.

:+1: once Travis is happy.

:+1: once travis is happy

:+1: from me when travis is happy.

And from me.


MNT: update pyepics for 3.4.0

I have tested that a locally built version of this passes the ophyd test suite off of the branch at https://github.com/bluesky/ophyd/pull/720

In [1]: import epics

In [2]: epics.ca.find_libca()
Out[2]: '/home/tcaswell/.conda/envs/dd37/lib/libca.so.3.14'


How to place specific css to a component

How can I specify a specific css for a component?
I am thinking along the line of this:
function AppController($router) {
	  $router.config([
	    { path: '/',              redirectTo: '/home' },
	    { path: '/home',       component: 'home', css: 'home.css' },
	    { path: '/component2',        component: 'component2', css: 'component2.css' }
	  ]);
}

For now, do something like this in your controller:
    "use strict";

    angular
        .module('cssLoadDemo',[])
        .controller('someController', someController)

    someController.$inject=['$document'];
    function someController($document) {
        var document  = $document[0];
        loadStyle('/component/myStyle.css');

        return

        function loadStyle(file){
            var head = doc.head;
            var stsh = head.querySelector('link[href='+file+']');
            if (stsh === null) { // css not yet loaded
                stsh      = document.createElement('link')
                stsh.href = file;
                stsh.rel  = 'stylesheet';
                head.appendChild(stsh);
            }
        }
    }

Of coarse the loadStyle function would better be in a service, so you can reuse it easily!

@SanderElias I still haven't had a chance to try your approach.  But I just came across angular-css: https://github.com/door3/angular-css.  Their syntax is just like what I was looking for.  But I am not sure if it works with the new router.  It would be great if the new router natively supports this.


Test results failed when the bot is taking a time delay for responding

I was able to hit the bot using this BotStressToolKit with Azure VM.
And I have a scenario which I am unable to understand the cause of these kind of results,
I have 7 thread groups configured, with each thread group containing One Conversation Update element and One Message Element in it.
And each Thread group is configured as follows:

I have a bot which is taking nearly 3 to 5 seconds to reply back, and I was unable to understand the results for that bot using the above configuration. So, I have used a echo bot deployed on azure. And tried to reoccur the same scenario. There the test results are as follows:

This gave me 100 % success responses.
Then I gave a Thread sleep time for 5000ms on Message activity in Echo bot. Then I have run the same test for this echo bot. There the results are as follows:

This gave a error percentage.(This was the same case with the bot which I mentioned that the bot which I want to test was responding with 3 to 5 seconds delay, it also gave me the similar results.)
And the error message for those error responses is also the same:

I am confused, what is the cause of this error. Can you please explain what this error referring to, and please suggest me if I need to configure anything to overcome it.

@Santhosh0505 , could you please share steps, i am getting Internal server error while connecting from jmeter to Azure service while  Bot is working file.  I am able to run it with emulator but it is not working for webchat, directline and msteams channels. It  would be better if you can suggest me how to run it for same.

@upendra1588
I can see that you are addressing 2 issues in your question,
For Connecting a bot deployed in azure please follow this link.
https://github.com/angie4u/bot-load-test

@Santhosh0505  Thanks you so much, it is very good article and get resolved my problem.

@Santhosh0505 ,
Did you check below article?
https://github.com/microsoft/BotBuilder-V3/issues/79


1.0-dev L.geojson zoom in

I use Leaflet 1.0-dev L.geojson method to create 2 svgs in overlayPane,  trouble is when I zoom in/out, the shape I draw transform to bottom right / top left corner, then return to the position it should be. I test with Leaflet 0.7.3, it works fine. but still 1.0-dev not working. cheers!

Please demonstrate that with a JSFiddle test case.

Hi mourner, I double check my code, wasn't problem with leaflet version, I download dev version two month ago and didn't update the leaflet.css, that was the problem, now it is working very well, thanks for the reply!

Thanks!


update toml, zstd

trust --allow-multiple-publishers dtolney, epage, cuviper, Amanieu (trusted by mozilla)
trust zstd, as it's widely used

guess serde has breaking changes

Thank you for this PR! Keeping dependencies up to date is a good idea. I'm curious though: What prompted you to update these specific dependencies?
We'll need to evaluate the cargo vet changes separately from the actual dependency updates here. We've generally been having a core-team member merge any changes to supply-chain/ first, and then asking contributors to rebase on top. In this case, we need to take some time to evaluate whether we want to trust the same publishers that Mozilla does.
I'll bring this up at tomorrow's Wasmtime meeting, and try to get consensus soon so we can merge the rest of your PR.

Since #6697 has merged, this PR should be easier to land now.
Prompted by this PR, I'm now investigating some potential issues in the zstd crate dependency tree. Let's not try to upgrade that until I've sorted things out. But if you'd like to rebase the rest of the changes on current main we can see what cargo vet stuff I missed, if anything.


getting waiting for agent while deploy bosh

HI , I am using bosh micro to create bosh VM on AWS.
I done all the re-search and change allot stem cell . each one got stuck at same point .
I also tried with bootstrap and it also stuck at same point-
Please find the console output-
root@2d62e55:/microbosh/deployments# bosh micro deploy --update ami-979dc6fe
Updating mybosh/micro_bosh.yml' tohttps://<IP_ADDRESS>:25555' (type 'yes' to continue): yes
Will deploy due to stemcell changes
Started prepare for update
Started prepare for update > Preserving stemcell. Done (00:00:00)
Started deploy micro bosh
Started deploy micro bosh > Using existing stemcell. Done (00:00:00)
Started deploy micro bosh > Creating VM from ami-979dc6fe
. Done (00:00:49)
Started deploy micro bosh > Waiting for the agent
Unable to connect to Bosh agent. Check logs for more details.
Output from bootstrap:-
Use bundle show [gemname] to see where a bundled gem is installed.
bundle exec bosh micro deployment firstbosh
fatal: Not a git repository (or any of the parent directories): .git
Deployment set to '/.microbosh/deployments/firstbosh/micro_bosh.yml'
bundle exec bosh -n micro deploy --update-if-exists ami-7017b018
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
Started deploy micro bosh
Started deploy micro bosh > Using existing stemcell. Done (00:00:00)
Started deploy micro bosh > Creating VM from ami-7017b018. Done (00:00:30)
Started deploy micro bosh > Waiting for the agentUnable to connect to Bosh agent. Check logs for more details.
/usr/local/lib/ruby/1.9.1/rake/file_utils.rb:53:in block in create_shell_runner': Command failed with status (1): [bundle exec bosh -n micro deploy --update-...] (RuntimeError) from /usr/local/lib/ruby/1.9.1/rake/file_utils.rb:45:incall'
from /usr/local/lib/ruby/1.9.1/rake/file_utils.rb:45:in sh' from /usr/local/lib/ruby/gems/1.9.1/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/cli/helpers/bundle.rb:11:inblock in bundle'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.6.5/lib/bundler.rb:235:in block in with_clean_env' from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.6.5/lib/bundler.rb:222:inwith_original_env'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.6.5/lib/bundler.rb:228:in `with_clean_env'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/cli/helpers/bun
logs:-
I, [2014-09-27T03:14:52.975455 #2252] INFO -- : HTTP server is starting on port 25888...
E, [2014-09-27T03:14:53.420720 #2252] ERROR -- : Sinatra::NotFound
D, [2014-09-27T03:15:42.000862 #2252] DEBUG -- : (0.000234s) PRAGMA foreign_keys = 1
D, [2014-09-27T03:15:42.001000 #2252] DEBUG -- : (0.000032s) PRAGMA case_sensitive_like = 1
D, [2014-09-27T03:15:42.001398 #2252] DEBUG -- : (0.000296s) PRAGMA table_info('registry_instances')
D, [2014-09-27T03:15:42.002487 #2252] DEBUG -- : (0.000207s) SELECT * FROM registry_instances WHERE (instance_id = 'i-54d84bb9') LIMIT 1
D, [2014-09-27T03:15:42.003390 #2252] DEBUG -- : (0.000125s) SELECT COUNT(*) AS 'count' FROM registry_instances WHERE (instance_id = 'i-54d84bb9') LIMIT 1
D, [2014-09-27T03:15:42.003879 #2252] DEBUG -- : (0.000072s) SELECT sqlite_version() LIMIT 1
D, [2014-09-27T03:15:42.004034 #2252] DEBUG -- : (0.000060s) BEGIN
D, [2014-09-27T03:15:42.004526 #2252] DEBUG -- : (0.000238s) INSERT INTO registry_instances (instance_id, settings) VALUES ('i-54d84bb9', '{"vm":{"name":"vm-d1930349-1b16-4c38-aee0-3f667247420f"},"agent_id":"bm-b92fb0f6-a42a-4a2e-bae7-0c2c59e2c519","networks":{"bosh":{"cloud_properties":{},"netmask":null,"gateway":null,"ip":null,"dns":null,"type":"dynamic","default":["dns","gateway"]},"vip":{"ip":"<IP_ADDRESS>","type":"vip","cloud_properties":{}}},"disks":{"system":"/dev/sda1","ephemeral":"/dev/sdb","persistent":{}},"env":{"bosh":{"password":null}},"ntp":[],"blobstore":{"provider":"local","options":{"blobstore_path":"/var/vcap/micro_bosh/data/cache"}},"mbus":"https://vcap:b00tstrap@<IP_ADDRESS>:6868"}')
D, [2014-09-27T03:15:42.004971 #2252] DEBUG -- : (0.000121s) SELECT * FROM registry_instances WHERE (id = 1) LIMIT 1
D, [2014-09-27T03:15:42.007517 #2252] DEBUG -- : (0.002390s) COMMIT
D, [2014-09-27T03:18:57.866806 #2252] DEBUG -- : (0.000314s) SELECT * FROM registry_instances WHERE (instance_id = 'i-54d84bb9') LIMIT 1
I, [2014-09-27T03:32:36.222613 #2252] INFO -- : BOSH Registry shutting down...
Can you please help me.
And as per the documents they selected non-vpc but now AWS by default gives VPC only no option for non-vpc.
Is this for i am getting stuck every time at same point "waiting for the agent"

Hi all,
I am using MicroBOSH and i am hitting the same issue. I am using the latest stemcells and my security group configs are correct.
cfoundry@c-foundry:~/micro-deployment$ bosh micro deploy test/light-bosh-stemcell-2986-aws-xen-hvm-ubuntu-trusty-go_agent.tgz
No bosh-deployments.yml file found in current directory.
Conventionally, bosh-deployments.yml should be saved in /home/cfoundry.
Is /home/cfoundry/micro-deployment a directory where you can save state? (type 'yes' to continue): yes
Deploying new micro BOSH instance manifest.yml' to https://<IP_ADDRESS>:25555' (type 'yes' to continue): yes
Verifying stemcell...
File exists and readable                                     OK
Verifying tarball...
Read tarball                                                 OK
Manifest exists                                              OK
Stemcell image file                                          OK
Stemcell properties                                          OK
Stemcell info
Name:    bosh-aws-xen-hvm-ubuntu-trusty-go_agent
Version: 2986
Started deploy micro bosh
Started deploy micro bosh > Unpacking stemcell. Done (00:00:00)
Started deploy micro bosh > Uploading stemcell. Done (00:00:10)
Started deploy micro bosh > Creating VM from ami-3742b55c light. Done (00:00:35)
Started deploy micro bosh > Waiting for the agent

i ran into the same "waiting for agent" problem and found it consistent across many 3012 builds for AWS.
Seems to be an issue with the stemcell.
I was succesful when using an older 3000 build stemcell @ https://d26ekeud912fhb.cloudfront.net/bosh-stemcell/aws/light-bosh-stemcell-3000-aws-xen-ubuntu-trusty-go_agent.tgz


Can not install Extension pack from marketplace or extensions in VS

Describe the bug
Hello I have tried to go to market place andinstall .Nothing happens.
When I then go to my VS and search extensions I ccan not find the extension package
Steps to reproduce
Step 1:
https://marketplace.visualstudio.com/items?itemName=SAS.sas-lsp
Step 2:
My version

Can not find SAS extension in extensions

Expected behavior
I would expect to be able to click install button and see an installation begin.
Screenshots
If applicable, add screenshots to help explain your problem.
I have added above
Environment (please complete the following information):
Client OS: [Win10
Extension version: 1.8.0
SAS version: SAS 9.4m6
Additional context
Add any other context about the problem here.

This extension is for VS Code, NOT Visual Studio. They're different product.


Content in Body. '<' symbol in code ¿fix?

Hi. I like the non-intrusive inclusion of the parser, but also that it content in Body allows to place

Thank you @DiegoJArg once again for creating a detailed issue. I have a few questions to better understand your suggestion.

All HTML tags are allowed by TeXMe. Since TeXMe is a tool for content authors (as opposed to being a tool for users of content management systems), it allows all HTML tags including script tags. Do you like this behaviour?
About the code example with <string in body, the browser interprets this as a broken HTML tag even before TeXMe can see this code. How do you propose we fix this? Would it not be possible for you to write such content in textarea instead of writing it in body?

Yes. I like that markdown can embed HTML.