A wiki page on raising an issue

We often get people raising issues without providing enough information. I propose a new page in the wiki on how the information we need.
I don't mind picking this up at some point... unless someone else wants to make a start!

Github has a feature to show link to contribution guidelines on creating issues/PRs. So all instructions to get information we need can be placed into this file instead of wiki. I also created an example of this file which, of course, can be used as a default one.

We can make an issue template. Some people don't check the wiki before repoting the issue but they will see the issue template. So I think it's better option to provide it insted of wiki page.

An example of issue template generated by this service.
Is there something that should be mentioned in the template?

An example of issue template generated by this service.
Is there something that should be mentioned in the template?

Operating System and version:

Isn't it useless?
It would be nice to add common steps for resolving the issue. I'd like to suggest these ones:

[ ] Reauth on last.fm(if it does not scrobble at all)
[ ] Try to use unpacked extension from latest master
[ ] Check other issues for dups

@f1u77y

Isn't it useless?

I don't really know. Well, I'll remove that section; it can be easily added if we'll need this kind of information sometimes later or just ask users for it in issue comments.

It would be nice to add common steps for resolving the issue.

That's a good idea! The "Try to use unpacked extension from latest master" step should be extended by placing URL to page with "Install as unpacked extension" howto, though.
I updated the template according your suggestion and added some comments to that steps.
The only one thing I don't like is that this template is mostly for bugs, not for suggestions.The user should remove almost all template text, if they want to just suggest a new feature or request a support for new web service.

I don't really know. Well, I'll remove that section; it can be easily added if we'll need this kind of information sometimes later or just ask users for it in issue comments.

WebExtensions are designed to work identically on all browsers and OSes(OK, at least on Chromium(-based)). If they don't, that's a browser bug, or maybe, some other extension(eg. one of uBlock lists contains ws.audioscrobbler.com for some reason). But I think that's rare cases, so yes, we can ask about OS/other extensions only if it seems to be not our bug.

The only one thing I don't like is that this template is mostly for bugs, not for suggestions.The user should remove almost all template text, if they want to just suggest a new feature or request a support for new web service.

That's GH limitations. Ideally, there should be separate templates for feature requests and bug reports.

I updated the template according your suggestion and added some comments to that steps.

I have no other suggestions.

I have no other suggestions.

Could you please also check the contribution guide (see my first comment in this thread)? This guide is designed for developers who want co contribute by proposing PRs, but it also contains information about submitting issues, that possibly duplicates information placed in the issue template. So, I have two questions:

Shoud the information for developers be extended? If so, what should be added/changed/removed?
Shoud the information about posting bugs be removed? Instead of this, we could mention that we have a issue template where all needed information is available.

Shoud the information for developers be extended? If so, what should be added/changed/removed?

I think info about editorconfig should be added. Some devs can miss .editorconfig in the repo(especially if they didn't know about it before).
Another point is about connector development. I dunno if it does not contains enough info or people just don't read it properly but I see your points about simplifying connectors in many pull requests. That makes me sure that we need to add some common advices about connector development.

Shoud the information about posting bugs be removed? Instead of this, we could mention that we have a issue template where all needed information is available.

If you don't know how to report bugs effectively, please use this article as a guideline.

That's a very good article but I'm sure almost noone would read it before reporting an issue. They will just report an issue. But some people will read all of the CONTRIBUTING.md, then this article and then will report bugs better and cleaner.
So, I think we should leave the info about posting bugs as is. The only point I have is to add info about debugging the extension and place for logs to issue template(of course while not removing this info from CONTRIBUTING.md).

I think info about editorconfig should be added. Some devs can miss .editorconfig in the repo(especially if they didn't know about it before).

Editorconfig makes development easier, but it's not required since linters we use also follow .editorconfig options and they'll generate errors if proposed changes are unacceptable. That's why I didn't note Editorconfig in the guide. But it worth adding information about this.

Another point is about connector development. I dunno if it does not contains enough info or people just don't read it properly but I see your points about simplifying connectors in many pull requests. That makes me sure that we need to add some common advices about connector development.

You're totally right. I noticed that too and I've already updated this wiki page, that mentioned in the guide, and have added some valid/invalid code samples, that will be extended later.

The only point I have is to add info about debugging the extension and place for logs to issue template(of course while not removing this info from CONTRIBUTING.md).

The issue template already contains this information.

I noted EditorConfig in the contribution guide, and moved the block with examples of connector to the wiki page. I think all detailed information about connectors development should be placed in one place, and the wiki page fits perfectly for that.

Added in  7e345e59d1e34028763fa0d3f3e2fc46df82f739 and 975168c88e9d79a28078f4492d427bb0c9497786.


Set VMI status to pending on creation

What this PR does / why we need it:
When starting a lot of VMIs at once on a given cluster, it can take some time for VMI statuses to go from blank to pending.
That can be confusing to the user, and starting VMIs directly in the pending status should solve that.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1903667
Special notes for your reviewer:
Release note:

NONE

/retest

/retest

:facepalm: apologies I didn't realize using the web UI to resolve merge conflicts would create unsigned commits.

/approve

/lgtm

/cherry-pick release-0.41


Make available through pip

Hallo,
As per issue #3 , pip install 'django-admin-notifications' downloads an empty folder. Would it be possible to fix this issue?
OK, it is a tiny application but since it exists and works, why not make it available through pip?

We're not using this in production any more. I'd be happy for anyone else to take it over and publish it to pip.


Scanner crashes when camera permission is denied

Steps to reproduce:

Create a page with scanner:

           <zxing:CameraBarcodeReaderView
               x:Name="barcodeReaderIOS"
               IsDetecting="True"
               IsVisible="{OnPlatform Android=false, iOS=true,  WinUI=true}"
               IsTorchOn="False"
               VerticalOptions="FillAndExpand"
               BarcodesDetected="BarcodesDetectedIOSWindows" />
</ContentView>

2. Decline the permission for camera
3. Restart the app
4. Crashes
Any suggestions how to prevent this ?

Perhaps, detect the permission state before navigating to this screen?


Enforce HTTPS ?

@cansavvy maybe there was a reason not to do this? - wanted to point it out

Nope. No reason! Just checked that box.


Setting the node process priority should not trigger an error

Fixes #33749
This function can be called outside the scene tree.

Thanks!


No background change possible

Hi, I had installed st (from this repo), everything was fine, but for some reason image preview stopped working. Looking for a solution I uninstalled st and reinstalled it again.
At the moment, images preview works pretty well, but background is always white. All colors change except the background. I'm using wpgtk (similar with pywal). It worked before, now it didn't. Using the .Xresources also has no effect.
Regular st works correctly.
Does anyone know where the problem may be?

Okay, I don't know how it works, but the problem is in *.alpha value. If it's commented everything works fine, but if I set different alpha values in .Xresources, then strange things happen. I had weird colors at different values - pink, white, black...
I can see the dependencies here, depending on what other xrdb settings are running and in what order. But on other terminals (and before reinstall) everything seems to be working properly.


Add an example document - now with 2 examples!

@astrofrog example 2 in particular is for you.  It may represent a use case
that should be supported within aplpy (or wcsaxes).
These examples really need tests.

Since the Travis config has now changed, it would make sense to rebase this when you work on fixing the sphinx failure.

Coverage decreased (-0.9%) to 74.695% when pulling 754816db84a7d74fbf7c02a829606471b7e98715 on keflavich:examples into 46455e360242c96ffc19503e02ba5666a11ee8a1 on radio-astro-tools:master.

Coverage decreased (-0.8%) to 74.549% when pulling d50e9bfe14dc08040ec7681b302585c985a2791b on keflavich:examples into d47f65b54b2bb8ba671a2345c93d738a10004174 on radio-astro-tools:master.


Fix missing attachment stuck actions

Description
This is a critical bug that's gone unsolved for several years. Since attachments are considered secondary files to the main action document, if the attachment is lost for whatever reason (upload timeout, concurrent upload, bad database replication, etc.) the action document is therefore corrupted in a stuck state because the document factory is set up to do a get of the document first when performing a putEntity or deleteEntity. The WhiskAction type overrides the get operation to include getting the attachment as a part of the get operation. However once the root document is retrieved, the attachment is then tried to be read and returns a not found making the get return a DocumentNotFoundException to the putEntity or deleteEntity. You can therefore never delete or update an action (that is broken since the attachment was lost) once in this state through the openwhisk api and must go through an openwhisk admin to delete the document directly from the artifact db.
Worse, for updating an action it incorrectly returns a 409 to the user when a conflict isn't what's actually happening in this case. The get of the WhiskAction correctly returns a DocumentNotFoundException when the attachment is not found, however the putEntity function then catches this and tries to put the document without a revision thinking it is a brand new document for the artifact db when the root document does in fact exist so the db returns a 409 when a put request is sent to it without a revision; which is what is then fed back to the user on any update action attempt.
I have implemented a simple fix that finally resolves this issue for updating and deleting an action in this missing attachment state without impacting any other behavior of the system outside of the update and delete action api. The change is simple in that we recover in the get of the WhiskAction type if getting the attachment fails for not being found only if an ignore boolean is set. This ignore boolean is only set when get is called within putEntity and getEntity, and only has an effect on the WhiskAction type.
I've reproduced and verified in my environment that this change resolves the issue.
Related issue and scope

[X] I opened an issue to propose and discuss this change (#651)

My changes affect the following components

[ ] API
[X] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Scheduler
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[X] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[X] I signed an Apache CLA.
[X] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Line 336 of ApiUtils is the culprit of the 409 where it will catch and try to write the document as if it were new without revision
      case _: NoDocumentException =>         logging.debug(this, s"[PUT] entity does not exist, will try to create it")         create().map(newDoc => (None, newDoc))

@rabbah you might be interested in this bug since you were on the original issue

Codecov Report

Merging #5355 (7337d78) into master (8578887) will decrease coverage by 15.18%.
The diff coverage is 57.14%.

@@             Coverage Diff             @@
##           master    #5355       +/-   ##
===========================================
- Coverage   81.46%   66.28%   -15.19%
===========================================
  Files         240      240
  Lines       14407    14407
  Branches      618      601       -17
===========================================
- Hits        11736     9549     -2187
- Misses       2671     4858     +2187

Impacted Files
Coverage Δ

...ache/openwhisk/core/database/DocumentFactory.scala
100.00% <ø> (ø)

.../openwhisk/core/scheduler/queue/QueueManager.scala
6.89% <0.00%> (-74.61%)
:arrow_down:

...ntainerpool/v2/FunctionPullingContainerProxy.scala
78.50% <50.00%> (ø)

...org/apache/openwhisk/core/entity/WhiskAction.scala
92.34% <100.00%> (-1.10%)
:arrow_down:

...rg/apache/openwhisk/core/controller/ApiUtils.scala
64.95% <100.00%> (ø)

...scala/org/apache/openwhisk/common/time/Clock.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...nwhisk/core/scheduler/queue/ContainerCounter.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...hisk/core/scheduler/message/ContainerMessage.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...core/database/cosmosdb/RxObservableImplicits.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...ore/database/cosmosdb/cache/CacheInvalidator.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 52 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


How to use it in MY application and not by running gosh.go?

At the moment it only seems to provide way to run applications by adding them to plugins directory here. While I like general approach of commands-plugins -- I see no any documented way currently to easily include it in my [abstract] application without copying 100+ lines of code from gosh.go and then rewriting it to fit into my code.
I'd think providing this as a library would be a much better approach than current one.

The idea is for developers to build,  with gosh, their own solutions.  You can always build the code here and then develop your own plugin.


Subscribe to changes from TzKT

This is a draft PR, to keep track of the attempt to subscribe to changes from TzKt.

Nice work @MichalLytek!

@AlirezaHaghshenas should this be closed as replaced by https://github.com/ecadlabs/taqueria/pull/1121? 🤔


xive/p9: Remove assert from xive_eq_for_target()

XIVE VPs are structures describing the vCPUs of guests. When starting
a guest, these are allocated and enabled and some checks are done on
the location of the associated ENDs, which describe the event
queues. If the block of the VP and the block of the ENDs do not match,
the XIVE driver asserts.
Unfortunately, there is no way to check that a VP identifier is part
of a VP block that was previously allocated and it is relatively easy
to crash the host with a bogus VP id. That can be done with a QEMU
hack on a machine using vsmt.
Simply remove the assert, the OS should gracefully handle the error.
Signed-off-by: Cédric Le Goater<EMAIL_ADDRESS>Hi there,
The skiboot project (generally) doesn't take contributions via github pull
requests. Contributions should sent to the skiboot mailing list using the
git-format-patch and git-send-email tools. If you're unfamiliar with these
tools, there's a guide here:
https://www.freedesktop.org/wiki/Software/PulseAudio/HowToUseGitSendEmail/
The list address is:
<EMAIL_ADDRESS>
Posting to the list does not require subscribing to the list. Posts from a
non-subscribers are moderated to cut down on spam, but anyone posting
genuine contributions will be whitelisted.
See https://open-power.github.io/skiboot/ for more details.

This was test PR. Hence closing this one.
-Vasant


[ENHANCEMENT] Expose Longhorn CPU reservations via Harvester's Setting CRD

Is your enhancement related to a problem? Please describe.
Currently changing the Longhorn CPU reservation values post-install requires enabling a developer UI and navigating through that via clickops
Describe the solution you'd like
Like many other values inside Harvester, the CPU reservation for Longhorn could be exposed (much like the overcommit config) as a Setting CR. This would allow users or automation processes to set this value without using the optional dev-only UI and hidden behind 10+ menus.
Describe alternatives you've considered
Using the cloud-init CR, the value could be set inside the Longhorn helmchart static manifest. Affecting this would require a reboot and be quite hacky.

@bcdurden
Harvester allows to set those two values via installation configuration, do they help?
https://docs.harvesterhci.io/v1.3/install/harvester-configuration#installharvesterlonghorndefault_settingsguaranteedenginemanagercpu
https://docs.harvesterhci.io/v1.3/install/harvester-configuration#installharvesterlonghorndefault_settingsguaranteedreplicamanagercpu

@bcdurden Harvester allows to set those two values via installation configuration, do they help?
https://docs.harvesterhci.io/v1.3/install/harvester-configuration#installharvesterlonghorndefault_settingsguaranteedenginemanagercpu
https://docs.harvesterhci.io/v1.3/install/harvester-configuration#installharvesterlonghorndefault_settingsguaranteedreplicamanagercpu

Unfortunately that only works during an advanced installation requiring PXE-boot dependencies and can't be applied post-install.

@bcdurden The harvester-configuration file (yaml format) can be also set via ISO installation (https://docs.harvesterhci.io/v1.3/install/index step 14), it require a remote http server to supply the file.

It supports both PXE and ISO mode.
Post-installation setting requires to reboot LH related PODs, it may cause service interruption and is not exposed to UI now.


Recommendation

Thank you for sharing this amazing work. I am currently attempting to apply your ideas to a specific problem with bigger images sized 128x128. Do you have any recommendations on how to improve the performances of your network on bigger images?

Hi,
Thank you for your interest!
We actually applied bigger variants of CCT to larger datasets, and recommend trying deeper models (more Transformer encoder layers) but with similar or even fewer heads and mlp ratio. 6 heads, mlp ratio of 3.0 and 14 layers are a good point to start, but of course it really depends on how many images you have to train on.
We also just submitted the paper and will share those results soon.
Looking forward to hearing your results.

Hi, thank you for your help. I followed your recommendations by using 8 heads, 14 layers, a mlp ratio of 3 and embedding of 512, 256, 768 but my results are much better with vit_lite_7 and cvt_7. I am currently using a dataset of 5.5 M images size 128x128.

Also I am using a kernel size and a stride of the dimension of my input input image as I foundout to have better results by using one patch=one image but probably this is specific to my problem.

Hi,
Well the problem could be that your model is larger and is overfitting. The two models you mentioned both have 7 layers, 4 heads and an mlp ratio of 2, while maintaining a dim of 64 (64 * 4 heads = 256). You increased the number of heads, dim and ratio along with the number of layers, so your new variant is bigger, but may suffer from overfitting, which is what I'm assuming is happening here. One suggestion I have is to keep the heads, dim and ratio fixed while increasing the number of layers.
Have you tried the variant I recommended before? 6 heads, 14 layers, 3.0 ration?

Hi, sorry for the late reply and thank you for your last message. Yes I was able to test your recommended implementation with 6 heads, 14 layer and 3 ratio. But the results were not better than than ViT_Lite_7 and cvt_7 . However compared to the "CNN version" of the implementation I am working on only using 4.6M parameters, I am using with compact transformer method more than 17M parameters. Thus I tried to reduce the number of layers while keeping the same ratio and the same number of heads but The result are not better than original ViT_lite_7 and cvt_7.

Hi,
Well, that could mean that merely changing the size of the model doesn't have a significant effect. Just out of curiosity, what models have you tried? Are the results a lot better than ViT lite and CVT? And when you say the results are not better, does that mean that they're all within the same range or is the bigger one worse?
Because I understand that merely changing the model size may not affect performance much if you're already at a performance limit.

I'm closing the issue now, if you still have questions feel free to open it back up.


Not working

[Enter feedback here]

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

ID: 2f283f7f-dc6c-e976-8994-7b685852b701
Version Independent ID: 2f283f7f-dc6c-e976-8994-7b685852b701
Content: Install the Azure Developer CLI
Content Source: articles/azure-developer-cli/install-azd.md
Service: azure-dev-cli
GitHub Login: @alexwolfmsft
Microsoft Alias: alexwolf

Hello, do you have more information on what issue you ran into with this? Thanks!

#please-close


Default UI state for PropTypes.bool props always render to true (switched on) regardless of the defaultProps of false

Looks like this line is relevant:
https://github.com/scup/atellier/blob/19587d32278176a25bc720e8a3f23f5b5f668f62/src/PropertiesContainer.js#L117
const defaultProps = this._properties[prop] || values;

this._properties[prop] is either false, the value from the component's defaultProps, or undefined because defaultProps aren't accounted for here (if I understand this piece correctly).
So it falls back to the default value which is true for PropTypes.bool.

Looks like there is more to this issue.
The component props are not initialized with defaultProps in the Workspace state:
https://github.com/scup/atellier/blob/375cf7c606d129352863aa9548415610ef764b07/src/Workspace.js#L20
The falsy values are nullified here:
https://github.com/scup/atellier/blob/375cf7c606d129352863aa9548415610ef764b07/src/PropertiesContainer.js#L102-L103

Related: #41

+1


Info - Error timeout

Describe the bug
hello, unfortunately I often receive knockouts due to timeouts even on single calls made several minutes apart. Reading in the various forums I saw that there are some options to lengthen the time out but I don't understand how to set them. Can you give me an example? timeouts: 10000,
autoRetry: true,
example
https://www.npmjs.com/package/coingecko-api-v3
Thanks very much for your work.

Hi, request timeout can be set in the client options, for example:
var coinGecko = new CoinGeckoClient(new CoinGeckoClientOptions
{
    ApiOptions = new RestApiClientOptions
    {
        RequestTimeout = TimeSpan.FromSeconds(60)
    }
});

There is no automatic retry build into the library, however you can provide your own HttpClient instance and can use for example Polly to set a retry policy on that client if I remember correctly.

thanks you


Contribute WinRT linker issue fix (remove vfw32.lib)

Related PR: https://github.com/Itseez/opencv/pull/3863

Merged

Related commit with up to date descritpion: https://github.com/MSOpenTech/opencv/commit/4cbb057fa7fb9eb14dea7d15c140f9e5833f6d54


Base64 function(s) get lost in subsequent edits of a Logic App

Describe the Bug with repro steps
This bug has been around for a while;
https://feedback.azure.com/d365community/idea/e9976e92-7b26-ec11-b6e6-000d3a4f032c
It's also affecting the new designer, not just legacy.
The steps to reproduce are;

Enter a base64() function (or base64ToBinary, etc) in the Logic Apps designer, save and close
Open the Logic Apps in the designer again and see the base64() is gone.
Open the Logic Apps in code editor and see the base64() is actually still there

This is problematic since the base64() function gets lost if I edit something else on UI editor & save the changes.
Once you use the base64() function, you have to keep re-adding it via the code editor or enter the base64() again through the designer before saving.
If you copy/paste the expression in the designer, it won't include the base64 function, leading to issues if you copy/paste into other fields or another Logic App.
What type of Logic App Is this happening in?
Consumption (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos

Browser
Chrome
Additional context
No response

@Eric-B-Wu  can you take a look at this one when you get a chance?

We'll expect this to be in production 9/6


Concurrency issue

I've found that usage of a class instance of TRegEx in Sempare.Template.Lexer.pas is not thread-safe and is causing memory corruption issues in my testing:
https://github.com/sempare/sempare-delphi-template-engine/blob/2bbdf4c158d5cfe6b2d03cc50991cff703368918/src/Sempare.Template.Lexer.pas#L272
  function IsValidId(const AId: string): Boolean;
  begin
    exit(FIDRegex.IsMatch(AId));
  end;

This is due to the implementation of IsMatch unfortunately using a field to store the input text:
function TRegEx.IsMatch(const Input: string): Boolean;
begin
  FRegEx.Subject := Input;
  Result := FRegEx.Match;
end;

I've found that System.SysUtils.IsValidIdent is a suitable replacement and has been working in my testing, just as one suggestion.
Thanks!

Ah. Good spot and great suggestion.

fix is on dev branch and will be pushed next week

Just wanted to check - where you testing with Template.Eval() methods, or via the template registry methods?
I'll add some more multithreaded tests.

I've been load testing one of our web services that funnels through the class function Template.Parse(const AContext: ITemplateContext; const AStream: TStream; const AManagedStream: boolean = true): ITemplate overload.

Possibly the reason I didn't notice that the way I normally do things in load templates upfront, and only call Template.Eval() on the template with data when it comes to the the services handling requests. The Template Registry has more synchronisation elements in it to also support loading. Just mentioning in case you were not aware of it.
BTW if you could review a small questionaire, it would be appreciated: https://docs.google.com/forms/d/e/1FAIpQLScioIiDxvsWK01fMFqYr9aJ6KhCGeiw4UaU_esGuztEE7vYwA/viewform


Add the text "A more advanced and shorter version of the classical `i…

…f...else statement is using the Ternary operator (? and :)  Whatever comes after? is the result for when the condition of theifstatement is true and whatever comes after: is the result for when the condition of theif`statement is false.  Example:  if (x == 5) ? z = 7; q = 42; : z = 19;" to article

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @Tekcoder
It seems that similar changes have already been accepted earlier for this article you're editing, sorry about that. 😓
If you feel you have more to add, please feel free to open up a new PR.
Thanks again! 😊

If you have any questions, feel free to reach out through Gitter or by commenting below. 💬


Add placeholder images

For quick testing and until they are successfully retrieved, you can
use placeholder images. As updated in the README, simply run
make placeholder-local

Resolves #3

Thanks, I amended the commit with the requested changes.


Works image modal shows html tags

What

Works image modal shows html tags instead of e.g. making the text italic

Reported at https://wellcome.slack.com/archives/C8X9YKM5X/p1628672164055700
Where

Image modal for images e.g. https://wellcomecollection.org/images?query=wqcyhvp6
This is not a problem on the related work page or item viewer info panel
To do

[ ] Render rather than display html tags in the image modal

@davidpmccormick I'm not seeing any change in the image modal - has this been deployed yet?

Deploying now.


Automatically set environment when "gulp build.prod" is used

Currently it is a bit annoying that when one wants to run the production build needs to explicitly set the environment:
gulp build.prod --env prod

instead of simply
gulp build.prod

Once we get through #330 this issue should be soved.


The toWkb function does not output the SRID

The bug appears to be in the _writeWkbType function

The WKB spec does not include the SRID. You can use toEwkb if you need the SRID included.

Thanks


Restart the conversation

Hi,
My bot has a 'Get Started Button'. After the user clicks it, I check the payload in a postback and the conversation starts with a postback message. Generally bot and the user talk on message texts. In sometime user can cancel the conversation and return the beginning of the chat. How should I do it?
My point is that the user types "Cancel" and I can reply with my first postback the user text message.

Sorry bother you I guess I did it. Adding a control parameter in message block 👍


Use a user defined download directory

Create a new input for the download directory.
Users need a script step to copy the files from the random name tmp dir to the destination
They can't hardcode the artifact locations

And use a | delimiter instead of the , characters

Won't do for now


Missing cmdline completion for :pbuffer

Problem:  Missing cmdline completion for :pbuffer.
Solution: Add cmdline completion for :pbuffer like :buffer.
fixes: #16250

thanks!


Refactor all remaining scripts

This refactoring work has been really helpful. Finish that work before moving on to deployment summaries and the plugin model.

[x] cli.py
[ ] Run black against entire project.

Tasks common to more than one platform

[ ] Select from multiple possible resources. ie orgs for Platform.sh, project names for Fly.

Closed in favor of #333.


Saga is not injected before onEnter, so actions cannot be dispatched.

As the title suggests, I have an onEnter that loads data:
onEnter: (nextState, replace, cb) => {
  store.dispatch(myAction())
  cb()
}

However, putting a logger in here, and a logger in my saga that watches for this action, the onEnter executes before the saga is injected so it never gets called. How do I fix this?

If you need to dispatch something when a component loads try using componentDidMount in the container component you are loading. Since sagas get injected in the getComponent function it is fired after the onEnter hook. Dispatching the action in the componentDidMount should do the trick.

@chmaltsp this would work fine, except if a redirect on onEvent happens (such as checking for any authtoken in the localStorage) before the mount completes, it doesn't execute the action that grabs the user data since the page is redirected before it can complete, and the App component is loaded at that point so it won't fire componentDidMount again.

Ah ok, makes sense what I do in my app is inject some sagas in the store.js right before the middleware. They end up being loaded before the router and are basically long running sagas that are always listening for actions. There has been a couple discussions on here regarding "global" or long running sagas and you should be able to find something there that can help you.

you must inject sagas in onEnter like this
onEnter: () => {
     injectSagas(sagas);
     store.dispatch(something());
}

Closing due to inactivity, and the above answer is correct


Add new color token for Soliton Calendar Dark UI Text

🧹 Tech Debt
This request is to add a new color token for Dark UI text in the Calendar (work for Soliton team).
Token name: PowerGreen-Text-100
Color: Hex #98F5CA

The new color token has been added.
Token name: PowerGreenDark50
Color: Hex #98F5CA


Db::Open() takes a long time

Original issue 220 created by wuzuyang on 2013-12-08T02:51:14.000Z:
We have a heavily used database, which stores 100G+ data, and is frequently updated. When we close and reopen the database, it takes up to hours to open it.
Is it possible to config(Options) to make Db::Open() returns quickly?
What steps will reproduce the problem?

Open a database
Doing a lot Sets/Deletes...
Close data
Reopen it(Db::Open())

What is the expected output? What do you see instead?
Expecting Db::Open() returns within one second. But it blocks for an hour.
What version of the product are you using? On what operating system?
1.14
Please provide any additional information below.

This is by design. leveldb compacts the current log upon every open. A new feature, manifest reuse, is under development. This new feature will avoid compaction in nearly every open - only compacting when the log is full at the time of open. This landed in ac1d69da312, but is currently disabled because there seems to be a corruption issue that is still being tracked down.


Unable to attach files to the email messages

Whenever I try to send email with attachment via EmailService, I receive following exception:
java.lang.IllegalStateException: Not in multipart mode - create an appropriate MimeMessageHelper via a constructor that takes a 'multipart' flag if you need to set alternative texts or add inline elements or attachments.
	at org.springframework.mail.javamail.MimeMessageHelper.checkMultipart(MimeMessageHelper.java:383)
	at org.springframework.mail.javamail.MimeMessageHelper.getRootMimeMultipart(MimeMessageHelper.java:400)
	at org.springframework.mail.javamail.MimeMessageHelper.addAttachment(MimeMessageHelper.java:998)
	at org.springframework.mail.javamail.MimeMessageHelper.addAttachment(MimeMessageHelper.java:1077)
	at it.ozimov.springboot.templating.mail.utils.EmailToMimeMessage.apply(EmailToMimeMessage.java:80)
	at it.ozimov.springboot.templating.mail.service.EmailServiceImpl.toMimeMessage(EmailServiceImpl.java:124)
	at it.ozimov.springboot.templating.mail.service.EmailServiceImpl.send(EmailServiceImpl.java:81)
...

I tried both plain text messages or created from Freemaker template, in both cases result is the same.
Code snippet:
@ActiveProfiles("service-test")
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = ServicesTestsConfiguration.class)
@TestPropertySource(locations = "classpath:application-test.properties")
public class MailTest {

    @Autowired
    public EmailService emailService;

    @Value("${mail.from}")
    private String emailFrom;

    @Value("${mail.to}")
    private String emailTo;

    private final Charset charset = Charset.forName("UTF-8");

    @Test
    public void testMail() throws AddressException, CannotSendEmailException {
        final String testData = "col1,col2\n1,2\n3,4";
        final EmailAttachmentImplBuilder attachment = EmailAttachmentImpl.builder().attachmentName("test.csv")
                .attachmentData(testData.getBytes(charset)).mediaType(MediaType.TEXT_PLAIN);
        final Email email = EmailImpl.builder().from(new InternetAddress(emailFrom)).to(Lists.newArrayList(new InternetAddress(emailTo)))
                .subject("subject").body("").encoding(charset).attachments(Lists.newArrayList(attachment.build())).build();

        final Map<String, Object> modelObject = Maps.newHashMap();
        modelObject.put("instance", "FooBar");

        // doesn't work neither: emailService.send(email);
        emailService.send(email, "email_test.ftl", modelObject);
    }

}

Thanks for looking into the issue,
Maciej

@maciejlach I have to investigate. Unfortunately I'm on vacation and cannot access my Mac.
I'll try to reproduce the issue on Sunday 8.

@robertotru Thank you for the answer. Have a nice vacation :)

@maciejlach The release is planned for this Sunday evening (CET)

@maciejlach I made a release (0.3.6) that include the fix plus additional tests. It is in the staging environment. It will be available on Maven Central in a few hours.
Thanks for reporting the bug.

@robertotru thank you for looking into this.
Unfortunately, after upgrading to 0.3.6, I'm still having issue with attachments.
When using the freemarker template (emailService.send(email, "email_test.ftl", modelObject); in my code snippet), email is sent without any exceptions, but the attachment is missing when I view the email in my inbox:
Return-Path<EMAIL_ADDRESS>Received: from ----- ([-----])
        by smtp.gmail.com with ESMTPSA id h15sm4452941ljb.46.2<IP_ADDRESS>.37.24
        for<EMAIL_ADDRESS>        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 08 Jan 2017 22:37:24 -0800 (PST)
From<EMAIL_ADDRESS><EMAIL_ADDRESS>X-Google-Original-From<EMAIL_ADDRESS><EMAIL_ADDRESS>Date: Mon, 9 Jan 2017 07:37:13 +0100 (CET)
To<EMAIL_ADDRESS>Message-ID: <2133612542.3.1483943843982@lachoo-nb>
Subject: 65cb9087-08db-4a6b-b7ce-77446152fc4d
MIME-Version: 1.0
Content-Type: multipart/related; boundary="----=_Part_2_501530336.1483943833656"

------=_Part_2_501530336.1483943833656
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!doctype html>

Sent from: FooBar

------=_Part_2_501530336.1483943833656--

While using the library without templates: emailService.send(email);, I'm getting this exception:
org.springframework.mail.MailSendException: Failed messages: javax.mail.internet.ParseException: In Content-Type string <text>, expected '/', got null; message exception details (1) are:
Failed message 1:
javax.mail.internet.ParseException: In Content-Type string <text>, expected '/', got null
	at javax.mail.internet.ContentType.<init>(ContentType.java:104)
	at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1467)
	at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1131)
	at javax.mail.internet.MimeMultipart.updateHeaders(MimeMultipart.java:515)
	at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1490)
	at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2198)
	at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:2159)
	at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:443)
	at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:345)
	at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340)
	at it.ozimov.springboot.templating.mail.service.EmailServiceImpl.send(EmailServiceImpl.java:72)

@maciejlach right. The problem is that I did not run a real test, my fault!
I should look for a JavaMailSender implementation that can be used as a standalone test server. Maybe I'll google a bit. I made a fix by removing the optional content type for the attachment, I'll release it soon. I'll keep you posted.

Fix published with release 0.3.7.

@robertotru thanks! Plain text emails with attachments are now working fine.
With templated ones, original attachments are not present in the final message.
According to SO the email should have structure similar to this one:
multipart/mixed
    multipart/alternative
        text/plain
        multipart/related
            text/html
            image/jpeg
    application/pdf

It seems like method EmailServiceImpl#send(Email email, String template, Map<String, Object> modelObject, InlinePicture... inlinePictures) overwrites the original MimeMessage content and creates structure like:
multipart/related
    text/html
    image/jpeg

@maciejlach  I will investigate!

@maciejlach please, can you pull master and tell me if the fix works now before to create another minor release?
You were right, I actually forgot to set the attachments as body content.

@robertotru I can confirm that current version from master works fine for both plain and templated emails.
Many thanks for solving the issue.

Super! Since the number of users is small and the release was from today, I jst replaced the release 0.3.7 on Maven Central (bad, bad guy!!!).
Thanks a lot for reporting the issue and helping in providing a solution.
Best
R


Unity 2019.3.7f1 upgrade

Description
A follow on from #1272, this PR updates the GDK to 2019.3. Again, most of these changes are asset re-imports, sorry 'bout it.
Tests

[x] Release QA pipeline
[x] iOS client
[x] MacOS client
[x] Windows client

Documentation

[x] Changelog
[x] Upgrade guide
[x] Docs update

👋 @MarkWoulfeImprobable, @anne-edwards, @ElleEss - I've added you to this PR since we are going to have tech writer approval on changelogs from now on.
You can find the changelog change here https://github.com/spatialos/gdk-for-unity/pull/1336/files#diff-4ac32a78649ca5bdd8e0ba38b7006a1eR7 :)

Also @SPPWilliams ☝ now that you have access!


No font support

Great animation too bad you can't change the font

You can set the font/typeface programmatically:
tickerView.setTypeface(typeface)

Yep, as Dan said you can programmatically set the font if you want.


VSTS agent can no longer get sources/clone a repository after update

Agent Version and Platform: 2.138.6 and 2.139.0
OS: Ubuntu 16.04
VSTS Type and Version: VisualStudio.com
Our Linux agents tried to automatically update today and failed and then promptly stopped picking up jobs, so I manually removed each agent and downloaded the latest version to configure. They are picking up jobs now, but the Get Sources step now fails with Permission Denied.
Here's the actual exception:
[2018-08-23 23:17:17Z ERR  StepsRunner] Caught exception from step: System.ComponentModel.Win32Exception (13): Permission denied
at Interop.Sys.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setUser, UInt32 userI$
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Microsoft.VisualStudio.Services.Agent.Util.ProcessInvoker.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary2 environment, Boolean requireExitCodeZero, Enc$    at Microsoft.VisualStudio.Services.Agent.ProcessInvokerWrapper.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary2 environment, Boolean requireExitCodeZero, E$
at Microsoft.VisualStudio.Services.Agent.Worker.AgentPluginManager.RunPluginTaskAsync(IExecutionContext context, String plugin, Dictionary2 inputs, Dictionary2 environment, Variables runtimeV$
at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.AgentPluginHandler.RunAsync()
at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsync()
at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken)
This affects all of our build agents that are using the new vsts agent version. Interestingly, our builds that do not "Get Sources" actually succeed until they get to the Post-job step "Get Sources" and fail then.

I was able to figure this out - the newer version of the vsts agent does not install all of the executables with executable permissions. For example:

Agent.Listener and Agent.Worker are "installed" with executable permissions if you follow the instructions to extract the archive
Agent.PluginHost (which contains the Checkout task) is not "installed" with executable permissions.

So the Permission Denied error was coming from Agent.PluginHost when the parent task tried to run it.

@shmatkotija cool, thanks for figuring this out, it's weird i didn't catch this during testing, i will investigate and release a fix.

A newer version with the fix has been released, please check.


bitrise-step-stamp-appicon-with-version-number 1.2.0

Updated the step dependencies to include Ghostscript. Probably the dependency was introduced in newer version of imagemagic or catalina, not sure.
Tried to fix step id fail in #2423
New Pull Request Checklist

[x] I will not move an already shared step version's tag to another commit
[x] I read the Step Development Guideline
[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

Hi @ollitapa ,
thanks for the new step version!
Next time please fix a PR issue this way: https://devcenter.bitrise.io/contributors/sharing-steps-with-all-bitrise-users/#fixing-issues-in-a-steplib-pull-request
@koral-- huge thanks for the review!


OCPBUGS-29103: control-plane-pki-operator: validate CN for CSR

We were being too permissive for the CN provided in the CSRs we signed. Now, they must have a prefix identifying them as coming from the signer they're using, which makes the requests sent by these credentials auditable.

lgtm

/lgtm

/approve

/retest

/cherrypick release-4.15

Oops, need to do the backport once the revocation one is merged.

/cherrypick release-4.15


Select sub-project (and associated files / folders) from github repository

An Include syntax perhaps along the lines of github jaredpar/VsVim /Src/VimCore/* would assist in getting a project file which is a child of a solution.
Use cases may vary, as well as solution structures, so perhaps pointing directly to the *.*proj file instead (with subsequent parsing & GET) may be a more flexible implementation.

sounds very interesting.


Sapcon sentinel - update CRs

@DavidMi13 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Bump knative/pkg to master

This is part kind of knative/pkg#97 as it updates knative/pkg to master and update the uses of duck.VerifyType (changed in knative/pkg#98)
cc @dprotaso @mattmoor

/ok-to-test

/lgtm

/approve


Redis connector for Semantic Memory

Motivation and Context

Redis supports cosine similarity search by the RediSearch module.
Description

Add a new Semantic Memory Connector leveraging Redis with RediSearch module. Update the syntax example to demonstrate how it is used.
Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows SK Contribution Guidelines (https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
[x] The code follows the .NET coding conventions (https://learn.microsoft.com/dotnet/csharp/fundamentals/coding-style/coding-conventions) verified with dotnet format
[x] All unit tests pass, and I have added new tests where possible
[x] I didn't break anyone :smile:

Close: #1177

Hello @lemillermicrosoft,
Would you be willing to review this PR, please? Thank you so much for your time!

@JadynWong
There's a conflict over pgvector versioning due to PostgresMemoryStore depending on 0.1.2 and this depending on 0.1.3. I don't have a preference of one over the other unless up/downgrading the version breaks one of the memory stores.

@JadynWong
There's a conflict over pgvector versioning due to PostgresMemoryStore depending on 0.1.2 and this depending on 0.1.3. I don't have a preference of one over the other unless up/downgrading the version breaks one of the memory stores.

Hi @awharrison-28,
I have merged the latest main branch and resolved the conflict.
Thanks.

This is great to see. Thank you @JadynWong!
@awharrison-28 will help verify and approve this change.

Hi @awharrison-28, it's been a while, is there anything that needs to be changed? Thank you.

Hi @dmytrostruk, The workflows exception does not seem to be caused by the current PR changing the content, does it affect the merge?


Startup error

I noticed an error in system startup when I needed to shutdown the Raspberry hosting my HA instance to resuffle power cabling.
The sequence was the following:

I shutdown the host (sudo shutdown -h now)
Pulled Rasberry power cable off and fiddled with cabling
Plugged rasberry power source back -> system boot
Solarman integration did not start up and there was the following in the log:

Error setting up entry Inverter for solarman
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/solarman/__init__.py", line 61, in async_setup_entry
    inverter = Inverter(inverter_host, inverter_serial, inverter_port, inverter_mb_slave_id, name, inverter_mac, lookup_path, lookup_file)
                                                                                ^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'inverter_mac' where it is not associated with a value
2024-07-22 17:38:27.164 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform bms_connector is taking over 10 seconds.
2024-07-22 17:38:31.817 WARNING (MainThread) [homeassistant.components.energy.sensor] Found unexpected state_class None for sensor.inverter_today_energy_bought
2024-07-22 17:38:31.817 WARNING (MainThread) [homeassistant.components.energy.sensor] Found unexpected state_class None for sensor.inverter_today_energy_sold

Reloaded the solarman integration -> the integration started normally

Yep. I can confirm that the current main works with the sequence I mentioned. (I updated my fork to latest upstream)

No worries. 😉


Integrated Rechargeable Battery

We're tired of having to swap the batteries every day. While it would be nice to reduce power consumption (see #16), it's also necessary that it can charge simply by plugging it in.
Some very preliminary research: https://www.circuitbasics.com/how-to-power-your-raspberry-pi-with-a-lithium-battery/
As I understand it I'll need three components, which I now have on order:

A re-chargeable lithium-ion battery (3.7 V)
A voltage regulator board - This keeps the power to the Pico at 5 V regardless of the battery state of charge
A battery charge controller

My hope is to use the above together so that the user can plug in directly to the charge controller, and still be able to use the box when it's plugged in. At the very least, not need to reconfigure anything while charging. If this fails, I bought a more expensive all-in-one board that I can use instead: https://www.digikey.com/en/products/detail/adafruit-industries-llc/2465/5356834
Also purchased another Pico with pre-soldered headers to try this with, as well as a second breadboard.
While I'm waiting for parts to arrive, I have some CAD work to do to figure out how I'm going to mount two additional boards and a new battery within the existing housing. I'll probably want to move the Pico back and put the charge port in its place, and 3D print a new battery clip.

Made some progress on this; I'd call it pretty hacked together. I redesigned the board mount to remove the AA battery holder, and to re-arrange the boards to make space for the charge controller and voltage regulator. I made a single-piece articulating clamp to hold the battery and glued it to the inside of the chassis.

The problem with this arrangement, that I missed as I was doing the CAD, is that you can't plug and un-plug the battery with the Pico in place, and you can't plug into the Pico at all if the battery board is there. You have to unscrew and rotate the Pico slightly to access either plug; not ideal, but it works. I did not want to completely re-solder the Pico on this iteration, so some sacrifices were made and janky-ness was accepted in the name of getting it together and learning something.
I would like to figure out how to do the battery charging entirely through the Pico. I have another set-up on a breadboard I'll have to work with to figure out if that's safe/possible.
The battery rated at 2200 mAh kept the Pico on for about as long as the 2X AA batteries kept it on, and those supposedly have more capacity. See #16 for more context on battery capacities.
I left the momobox on overnight to drain the battery and see if I could re-charge it. It sure drained, but when I plugged it in it wouldn't turn all the way on; the speaker made some weird buzzing noises. My hypothesis is that the single USB connector couldn't supply enough current to both power the Pico and charge the battery, so the Pico kept trying to boot and then failed. I didn't let this experiment go on forever; it's possible that the battery would have eventually gotten enough charge to allow the momobox to boot, but I didn't wait.
Instead, I replaced the SD card access slot with a slider switch, and the momobox can be charged with the switch in the 'off' position. It is now a fully functional and rechargeable unit, with the caveat that it needs to be turned off to recharge if the battery drains.
The momobox runs on battery, or while plugged in.
The next step would be to re-think a lot of the internal packaging, and ultimately buy down some tech debt and overhaul the entire CAD model. This process was started over the weekend, and needs to continue until the model is both easier to work with and easier to assemble. Good progress.


Lens regularly crashes

Describe the bug
Lens closes (appears to crash) shortly after startup, after skipping login screen and selecting one of my registered K8S clusters.
To Reproduce
Steps to reproduce the behavior:

Start Lens
Cancel login
Select registered Cluster
usually within 60 secs (with no other interaction with the app) it will close

Expected behavior
The Lens UI stays open
Screenshots
N/A
Environment (please complete the following information):

Lens Version: 5.4.0.-latest.20220301.1
OS: Windows 10
Installation method: download from button on https://k8slens.dev/

Logs:
When you run the application executable from command line you will see some logging output. Please paste them here:
C:\Users\e5593810\AppData\Local\Programs\Lens>
info:    Γû¬ ≡ƒôƒ Setting Lens as protocol client for lens:// +0ms
info:    Γû¬ ≡ƒôƒ Protocol client register succeeded Γ£à +1ms
info:    Γû¬ [EXTENSIONS-STORE]: LOADING from  ... +4ms
info:    Γû¬ [EXTENSIONS-STORE]: LOADED from C:\Users\e5593810\AppData\Roaming\Lens\lens-extensions.json +8ms
info:    Γû¬ [FILESYSTEM-PROVISIONER-STORE]: LOADING from  ... +2ms
info:    Γû¬ [FILESYSTEM-PROVISIONER-STORE]: LOADED from C:\Users\e5593810\AppData\Roaming\Lens\lens-filesystem-provisioner-store.json +1ms
info:    Γû¬ ≡ƒÜÇ Starting Lens from "C:\Users\e5593810\AppData\Local\Programs\Lens\Lens.exe" +48ms
info:    Γû¬ ≡ƒÉÜ Syncing shell environment +0ms
info:    Γû¬ ≡ƒÆ╛ Loading stores +7ms
info:    Γû¬ [USER-STORE]: LOADING from  ... +3ms
info:    Γû¬ [USER-STORE]: LOADED from C:\Users\e5593810\AppData\Roaming\Lens\lens-user-store.json +19ms
info:    Γû¬ [CLUSTER-STORE]: LOADING from  ... +12ms
info:    Γû¬ [CLUSTER-STORE]: LOADED from C:\Users\e5593810\AppData\Roaming\Lens\lens-cluster-store.json +18ms
info:    Γû¬ [HOTBAR-STORE]: LOADING from  ... +0ms
info:    Γû¬ [HOTBAR-STORE]: LOADED from C:\Users\e5593810\AppData\Roaming\Lens\lens-hotbar-store.json +3ms
info:    Γû¬ [WEBLINK-STORE]: LOADING from  ... +0ms
info:    Γû¬ [WEBLINK-STORE]: LOADED from C:\Users\e5593810\AppData\Roaming\Lens\lens-weblink-store.json +2ms
info:    Γû¬ ≡ƒöî Starting LensProxy +9ms
info:    Γû¬ [LENS-PROXY]: Proxy server has started at <IP_ADDRESS>:53690 +38ms
info:    Γû¬ ≡ƒöÄ Testing LensProxy connection ... +1ms
info:    Γû¬ ΓÜí LensProxy connection OK +24ms
info:    Γû¬ ≡ƒûÑ∩╕Å  Starting WindowManager +8ms
info:    Γû¬ ≡ƒº⌐ Initializing extensions +92ms
info:    Γû¬ [EXTENSION-DISCOVERY] loading extensions from C:\Users\e5593810\AppData\Roaming\Lens +0ms
info:    Γû¬ [MENU]: autoUpdateDisabled=false +13ms
info:    Γû¬ [EXTENSION-INSTALLER] installing dependencies at C:\Users\e5593810\AppData\Roaming\Lens +33ms
[49096:0306/121807.594:ERROR:backend_impl.cc(2050)] Invalid cache (current) size
info:    Γû¬ [EXTENSION-INSTALLER] dependencies installed at C:\Users\e5593810\AppData\Roaming\Lens +2s
info:    Γû¬ [EXTENSION-DISCOVERY] watching extension add/remove in C:\Users\e5593810\.k8slens\extensions +1ms
Native extraction module not loaded, msgpackr will still run, but with decreased performance. Cannot find module 'msgpackr-extract'
Lens Cloud Extension activated
info:    Γû¬ [EXTENSION-STORE-T]: LOADING from  ... +90ms
info:    Γû¬ [EXTENSION-STORE-T]: LOADED from C:\Users\e5593810\AppData\Roaming\Lens\extension-store\lenscloud-lens-extension\auth-token-store.json +2ms
info:    Γû¬ [EXTENSION-STORE-T]: LOADING from  ... +7ms
info:    Γû¬ [EXTENSION-STORE-T]: LOADED from C:\Users\e5593810\AppData\Roaming\Lens\extension-store\lens-survey\preferences-store.json +1ms
telemetry main extension activated
info:    Γû¬ [EXTENSION-STORE-T]: LOADING from  ... +35ms
info:    Γû¬ [EXTENSION-STORE-T]: LOADED from C:\Users\e5593810\AppData\Roaming\Lens\extension-store\lens-telemetry\preferences-store.json +1ms
info:    Γû¬ [EXTENSION-STORE-T]: LOADING from  ... +9ms
info:    Γû¬ [EXTENSION-STORE-T]: LOADED from C:\Users\e5593810\AppData\Roaming\Lens\extension-store\lenscloud-lens-extension\select-space-store.json +2ms
info:    Γû¬ [EXTENSION-STORE-T]: LOADING from  ... +399ms
info:    Γû¬ [EXTENSION-STORE-T]: LOADED from C:\Users\e5593810\AppData\Roaming\Lens\extension-store\lenscloud-lens-extension\startup-store.json +2ms
info:    ΓöÅ [IPC-RENDERER]: adding extension listener +85ms
info:    Γöâ [1] {
info:    Γöâ [2]   channel: 'disconnectClusterEvent',
info:    Γöâ [3]   extension: { name: 'lenscloud-lens-extension', version: '5.4.0-latest.20220301.1' }
info:    Γöù [4] }
info:    ΓöÅ [IPC-RENDERER]: adding extension listener +2ms
info:    Γöâ [1] {
info:    Γöâ [2]   channel: 'deleteOneSpace',
info:    Γöâ [3]   extension: { name: 'lenscloud-lens-extension', version: '5.4.0-latest.20220301.1' }
info:    Γöù [4] }
info:    ΓöÅ [IPC-RENDERER]: adding extension listener +1ms
info:    Γöù [1] { channel: 'logOut', extension: { name: 'lenscloud-lens-extension', version: '5.4.0-latest.20220301.1' } }
info:    ΓöÅ [IPC-RENDERER]: adding extension listener +0ms
info:    Γöâ [1] {
info:    Γöâ [2]   channel: 'loadRemoteSpacesClusters',
info:    Γöâ [3]   extension: { name: 'lenscloud-lens-extension', version: '5.4.0-latest.20220301.1' }
info:    Γöù [4] }
info:    ΓöÅ [IPC-RENDERER]: adding extension listener +0ms
info:    Γöâ [1] {
info:    Γöâ [2]   channel: 'createOneSpace',
info:    Γöâ [3]   extension: { name: 'lenscloud-lens-extension', version: '5.4.0-latest.20220301.1' }
info:    Γöù [4] }
info:    ΓöÅ [IPC-RENDERER]: adding extension listener +1ms
info:    Γöâ [1] {
info:    Γöâ [2]   channel: 'leaveOneSpace',
info:    Γöâ [3]   extension: { name: 'lenscloud-lens-extension', version: '5.4.0-latest.20220301.1' }
info:    Γöù [4] }
info:    ΓöÅ [IPC-RENDERER]: adding extension listener +0ms
info:    Γöù [1] { channel: 'selectSpace', extension: { name: 'lenscloud-lens-extension', version: '5.4.0-latest.20220301.1' } }
info:    ΓöÅ [IPC-RENDERER]: adding extension handler +1ms
info:    Γöù [1] { channel: 'proxyInfo', extension: { name: 'lenscloud-lens-extension', version: '5.4.0-latest.20220301.1' } }
info:    Γû¬ [MENU]: autoUpdateDisabled=false +119ms
info:    Γû¬ [WINDOW-MANAGER]: Loading Main window from url: http://localhost:53690 ... +107ms
info:    ΓöÅ [IPC-RENDERER]: adding extension listener +237ms
info:    Γöâ [1] {
info:    Γöâ [2]   channel: 'network:offline',
info:    Γöâ [3]   extension: { name: 'lenscloud-lens-extension', version: '5.4.0-latest.20220301.1' }
info:    Γöù [4] }
info:    ΓöÅ [IPC-RENDERER]: adding extension listener +1ms
info:    Γöâ [1] {
info:    Γöâ [2]   channel: 'network:online',
info:    Γöâ [3]   extension: { name: 'lenscloud-lens-extension', version: '5.4.0-latest.20220301.1' }
info:    Γöù [4] }
info:    Γû¬ [EXTENSION]: enabled<EMAIL_ADDRESS>+2ms
info:    Γû¬ [EXTENSION]: enabled<EMAIL_ADDRESS>+0ms
info:    Γû¬ [EXTENSION]: enabled<EMAIL_ADDRESS>+0ms
info:    Γû¬ [EXTENSION]: enabled<EMAIL_ADDRESS>+0ms
info:    Γû¬ [MENU]: autoUpdateDisabled=false +105ms
info:    Γû¬ [WINDOW-MANAGER]: Main window loaded +2s
info:    Γû¬ [WINDOW-MANAGER]: Main window has reported that it has loaded +1s
info:    Γû¬ [KUBECONFIG-SYNC]: starting requested syncs +57ms
info:    ΓöÅ [KUBECONFIG-SYNC]: starting sync of file/folder +1ms
info:    Γöù [1] { filePath: 'C:\\Users\\e5593810\\AppData\\Roaming\\Lens\\kubeconfigs' }
info:    ΓöÅ [KUBECONFIG-SYNC]: starting sync of file/folder +1ms
info:    Γöù [1] { filePath: 'C:\\Users\\e5593810\\.kube' }
info:    Γû¬ ≡ƒôí Checking for app updates +1ms
info:    Γû¬ [AUTO-UPDATE]: electron-updater: +1ms
Error: ENOENT: no such file or directory, stat 'C:\Users\e5593810\.kube'
warn:    Γû¬ [KUBECONFIG-SYNC]: failed to start watching changes: Error: ENOENT: no such file or directory, stat 'C:\Users\e5593810\.kube' +3ms
(node:99560) electron: The default of nativeWindowOpen is deprecated and will be changing from false to true in Electron 15.  See https://github.com/electron/electron/issues/28511 for more information.
(Use `lens --trace-warnings ...` to show where the warning was created)
(node:99560) electron: The default of nativeWindowOpen is deprecated and will be changing from false to true in Electron 15.  See https://github.com/electron/electron/issues/28511 for more information.
info:    Γû¬ [AUTO-UPDATE]: electron-updater: +698ms
info:    Γû¬ [AUTO-UPDATE]: electron-updater: +1ms
info:    Γû¬ [AUTO-UPDATE]: electron-updater: +28ms
info:    Γû¬ [AUTO-UPDATE]: electron-updater: +1s
info:    Γû¬ [AUTO-UPDATE]: electron-updater: +1ms
info:    Γû¬ [AUTO-UPDATE]: electron-updater: +11ms
(node:99560) electron: The default of nativeWindowOpen is deprecated and will be changing from false to true in Electron 15.  See https://github.com/electron/electron/issues/28511 for more information.
(node:99560) electron: The default of nativeWindowOpen is deprecated and will be changing from false to true in Electron 15.  See https://github.com/electron/electron/issues/28511 for more information.
(node:99560) electron: The default of nativeWindowOpen is deprecated and will be changing from false to true in Electron 15.  See https://github.com/electron/electron/issues/28511 for more information.

Kubeconfig:
Quite often the problems are caused by malformed kubeconfig which the application tries to load. Please share your kubeconfig, remember to remove any secret and sensitive information.
your kubeconfig here

Additional context
This same behavior occurred in the previous Lens Version
The 1st day or 2 after I installed this version it seemed better.

Literally the window just closes all by itself, this even happens when Lens is minimized.

Hi @TomBruns, we'll need more info since we don't see this behaviour. Is this a local cluster or a Lens Spaces cluster? Does it only happen when connecting this cluster?
Can you provide more verbose logs? (https://docs.k8slens.dev/main/faq/#how-can-i-see-more-verbose-logs)
There may be more logs you could provide (https://docs.k8slens.dev/main/faq/#where-can-i-find-application-logs), or open View -> Toggle Developer Tools, console tab, to see more logging.
You could also try removing (backup if you want to keep) your Lens local data (which could have data causing the crash) and then restart Lens to see if that is the source of the problem (see note here: https://docs.k8slens.dev/main/#downloading-lens).

I just updated to the latest build 5.4.1-latest.20220304.1 and the issue is not occurring.
It was occurring in the previous two (2) builds.
Tom
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: Jim @.>
Sent: Friday, March 11, 2022 11:16 AM
To: @.>
Cc: Tom @.>; @.>
Subject: Re: [lensapp/lens] Lens regularly crashes (Issue #4974)
Hi @TomBrunshttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FTomBruns&data=04|01||c02167bbe31747d3601208da037a83e2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637826121977305889|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=kOw8qgkTKMXX4mLvlYEr10ExApyKbsjd50%2BqqS3TcZk%3D&reserved=0, we'll need more info since we don't see this behaviour. Is this a local cluster or a Lens Spaces cluster? Does it only happen when connecting this cluster?
Can you provide more verbose logs? (https://docs.k8slens.dev/main/faq/#how-can-i-see-more-verbose-logshttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.k8slens.dev%2Fmain%2Ffaq%2F%23how-can-i-see-more-verbose-logs&data=04|01||c02167bbe31747d3601208da037a83e2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637826121977305889|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=k%2Fm6viwq0hNbjQ1DuMrAVXgVPoIjipwtHbV1yPcPj%2Fg%3D&reserved=0)
There may be more logs you could provide (https://docs.k8slens.dev/main/faq/#where-can-i-find-application-logshttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.k8slens.dev%2Fmain%2Ffaq%2F%23where-can-i-find-application-logs&data=04|01||c02167bbe31747d3601208da037a83e2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637826121977305889|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=SSt%2FecLehZauFMggHZHP8AnFvUJWgG0gW1JxcWwIfFY%3D&reserved=0), or open View -> Toggle Developer Tools, console tab, to see more logging.
You could also try removing (backup if you want to keep) your Lens local data (which could have data causing the crash) and then restart Lens to see if that is the source of the problem (see note here: https://docs.k8slens.dev/main/#downloading-lenshttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.k8slens.dev%2Fmain%2F%23downloading-lens&data=04|01||c02167bbe31747d3601208da037a83e2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637826121977305889|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=OgyIvqlVkX%2Fzb5mMRpiSgYiy6E5bLVbCMXziXLQjQfg%3D&reserved=0).
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flensapp%2Flens%2Fissues%2F4974%23issuecomment-1065264802&data=04|01||c02167bbe31747d3601208da037a83e2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637826121977305889|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=49sINk8qZfLoT2cVPwD5XZMgTdbvSlSriwv4V31sbF0%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADDYV5WRS54YMOGLL5RC2R3U7NWWHANCNFSM5QBMCPKQ&data=04|01||c02167bbe31747d3601208da037a83e2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637826121977305889|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=VY3gV0X459YVG4uOLVol8%2F80TkXR4LiuE3EN%2B5SJv54%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

Okay, we'll close this. If it happens again and you can provide more info we'll reopen, thanks.


Improve reporting of Arm CPU types

Following the work that lscpu has done, report more details of Arm CPUs.
http://suihkulokki.blogspot.fi/2018/02/making-sense-of-proccpuinfo-on-arm.html has background, and Jon Masters has RHEL info at https://twitter.com/jonmasters/status/963423759955910656 .

There's a table of types here https://github.com/karelzak/util-linux/pull/564/commits/744d62ee0c54963539832ec5943f3d25e0fccfbd


fix: honor skip_large_bodies config setting when not using AWS API Gateway compatibility

Currently, payloads that exceed the nginx client_body_buffer_size are dropped without warning, causing lambda invocations to receive empty request bodies. The get_raw_body function used by the plugin's handler will return nil for any payload that is greater than the configured client buffer size. The skip_large_bodies config setting was introduced in #4, but is only used by the AWS serializer, and is ignored when awsgateway_compatible is false (the default).
This PR extracts the request body read logic into a common function, and uses that if forward_request_body is true (as well as the current APIGW compat scenario). I added ERR logging when skip_large_bodies is true and the body exceeds the buffer size; that could be refactored into a config setting if it's too noisy, but it's far better than just dropping requests on the floor silently.
This issue is blocking my production migration away from AWS APIGW to Kong, so if there's anything missing from this PR, I'll be glad to modify.

Thx!

Hint: https://github.com/Kong/kong/blob/master/CONTRIBUTING.md#contributor-t-shirt


Fixing workflow bug

This fixes the workflow processing. Although the jobs in the workflow where running, they're not linked with the input artifact, which made the jobs to be in a limbo stage, with no way to access them.
I deployed in the test environment and tested it there - if somebody wants to try it out, it is still deployed and running in there.
Solved the issue yesterday, but had no internet until now.
Saludos desde el Mazatlan!

Coverage decreased (-0.06%) to 83.837% when pulling 5b8aaf8e723f77d62ef6c99c641274e3e5d5cbc5 on josenavas:tijuaflow into 5977e9e45dff1ffc9dd628b57c97af3f713f9389 on biocore:master.


Align to spring-boot 2.6.11

Hibernate version goes from 5.4.32.Final -> 5.6.10.Final - is that okay?    All the other version changes looked minor.

Yes this is fine Hibernate is only used for testing purposes in camel-jpa


Rename CompositionActionFilter to CompositionResultFilter

CompositionActionFilter should be renamed to CompositionResultFilter since it derives from IAsyncResultFilter, and not IAsyncActionFilter.
Also the class is missing an explicit access modifier. Without an access modifier the access defaults to internal. Was the class intended to be public?
I noticed that many classes and methods in the solution lack explicit access modifiers. It is a best practice to provide explicit access modifiers. Note that ReSharper flags missing access modifiers.

@Particular/microservices-workshop-maintainers What's your thoughts on this?

I have no opinions, I'd rather rename it to CompositionFilter, where it is positioned in the MVC pipeline should not be part of the name, especially since it's right now positioned as a result filter but might change in the future

I'd rather rename it to CompositionFilter

@mauroservienti I agree.

Also the class is missing an explicit access modifier. Without an access modifier the access defaults to internal. Was the class intended to be public?

The lack of the modifier implies that the class is intended to be internal which, as you say, is the default.

I noticed that many classes and methods in the solution lack explicit access modifiers. It is a best practice to provide explicit access modifiers.

@reashore this comes down to personal preference. Some teams prefer explicit. Some prefer implicit defaults.  However, if we want to change policy in this repo that's something to consider separately from this issue.

Note that ReSharper flags missing access modifiers.

That depends on the ReSharper configuration. E.g. it can be configured to flag redundant modifiers that repeat the default.


Improve log deletion

do not use wildcards * as it fails when there are two many logs to delete
Use a find -delete command to improve performance
make the task fail as soon as an error happens (using set -e)
use less verbose logs by default

Deployed manually to staging


Warn "misleading line break before" when object decomposition isn't done on declaration line ( with ASI )

JsHint version: 2.9.5
This code:
let a
if (true)
	({a} = {})

Gives result:
test.js|3 col 5 warning| Misleading line break before '('; readers may interpret this as an expression boundary

Same for this:
let a
if (true)
	[a] = []

Result:
test.js|3 col 5 warning| Misleading line break before '['; readers may interpret this as an expression boundary

Config:
.jshintrc (json):
{
	"esversion": 6,
	"asi": true
}

Expected behavior:
This shouldn't give any warning and is perfectly fine.
If it is not, may I know why and how it's supposed to be done ? Thanks
I use this a lot, especially when creating variadic functions, and would prefer not to have to disable a warning, as I like having the most possible.
Possible workaround: How it's expecting me to do it possibly ?
let a
if (true) ({a} = {})

But I personnally find that to be really ugly, especially when there might be an else statement, which is the case when it's the most used for me..

Thanks for the report! I've submitted gh-3305 to fix this.
While we wait for that to be reivewed, merged, and published, you can also
supress this warning with the following change to your code:
 let a
-if (true)
+if (true) {
   ({a} = {})
+}


cAdvisor not collecting metrics on macOS

Fixed in https://github.com/My-DIGI-ID/aries-cloudagent-loadgenerator/commit/deef7959c3b73ed24bb2cbfd26511a7de1efbd41


Adds necessary field for Support ARN

Adds necessary field to AccountClaim CR to enable Support ARN entry for
STS clusters
Necessary for additional work on OSD-6757

/lgtm


What are the advantages of this library over the balderdashy one? (if any)

Hey,
I was just wondering what the advantages this has, if any, over https://github.com/balderdashy/angularSails

In the current state, they are very similar.  This was built first, prior to https://github.com/balderdashy/angularSails (not that it really matters),
In the future (2.0.0 currently in beta release), they will be more different.  This project will no longer depend on sails.io.js (which has limited us before in the past) and aims to be a complete drop-in replacement to $http allowing one to effortlessly use $sails as if it was $http with all of the bells and whistles.  Behind-the-scenes, it will of-course use sockets instead of http requests.
You can close this ticket if this response satisfies you, or reply if you need more information or have follow-up questions.

Closing: Inactive.


create: security.md

Note: I have tried emailing the provided email in the README and it seems its not valid anymore.
<EMAIL_ADDRESS>host mx2.improvmx.com[<IP_ADDRESS>] said: 550 5.1.1 The
    email account that you tried to reach does not exist. Please try
    double-checking the recipient's email address for typos or unnecessary
    spaces.
    ```

I think as an addition this information could be placed in .well-known/security.txt
see: https://securitytxt.org/

Thanks @HDVinnie

@tvbeek good idea. Can you send in a PR for that?


Add example on how to read password protected pdf

Need https://github.com/Infomaniak/android-pdfview/pull/3

Uploading password_dialog_pdf.webm…


Ruby 3.2 incompatibility due to removal of File.exists? alias

$ cat hello
#!/usr/bin/env ruby
puts "Hello, world!"
$ rescue hello
/Users/taw/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/pry-rescue-1.5.2/bin/rescue:55:in `<top (required)>': undefined method `exists?' for File:Class (NoMethodError)

  if File.exists? script
         ^^^^^^^^
Did you mean?  exist?
	from /Users/taw/.rbenv/versions/3.2.2/bin/rescue:25:in `load'
	from /Users/taw/.rbenv/versions/3.2.2/bin/rescue:25:in `<main>'

From changelog for Ruby 3.2.
The fix is to just use File.exist? instead of File.exists?

+1


Fix error during adding event with empty configs.data

If configs.data[i] is undefined, accessing configs.data[i].end will prompt an Uncaught TypeError error.
Adding this will avoid the error by only accessing configs.data[i].end when configs.data[i] is defined.
Encountered this when trying to run this code at #13.

PROSEPH!!!


Consider allowing individual '--vars' via the command line instead of requiring a file

Some shells don't have process substitution, and environment variables can't be structured as easily when you want to pass in multiple inputs. It could be useful to pass in --vars without modifying a file for adhoc testing, or for just running things without requiring a vars file at all.
A possible example
goss --var ip.addr='[<IP_ADDRESS>, <IP_ADDRESS>]' validate

I'm not sure how easy it will be to implement this in Go the way you've requested to be honest. (handling complex/nested) objects.
Would allowing JSON on the CLI meet your needs? Or is that not a useful feature?
goss --vars '{"ip": {"addr": [<IP_ADDRESS>, <IP_ADDRESS>]}}' validate

Tagging @pedroMMM since he :+1: this, would love your feedback also.

In my use case, I was calling Goss from Packer and I needed to inject multiple runtime values alongside my variables file to Goss. In my case, I just got around it by forking and expanding the Goss Packer Provisioner to support exactly what you just described since the Provisioner was already moving the variables file to the instance.
I support adding a --vars-inline '{...}' variable since it will enable users to run Goss for ad hoc testing/debugging but also in more complex scenarios like mine. To be clear the --vars-inline will be loaded after the --vars which means that keys from inline (that overlap) will overwrite those that were sourced from the file. This will have to be made clear to users.

Yup, documentation should be clear that not only will vars-inline win, but no advanced deep merging will be done.

released


Remove video recording of failed specs with Cypress 13

I'll go ahead and merge this, because it really shouldn't hurt anything, and hopefully it will help overall.


STT0070: STT wav2vec2 finetuning on situ rinpoche training data.

Description
we need to train wav2vec2 model for specific speaker accent and compare the performance with the base model on test data of that particular speaker.
Completion Criteria
A model that is capable of transcribing situ rinpoche audios accurately.
Implementation

create train val and test split of situ rinpoche data.
then train the wav2vec2 model for situ rinpoche by taking the previous checkpoint.
evaluate the result of model performance on test set.
compare the performance with the base model.

subtask

[x] Extract situ rinpoche speech-to-text dataset.
[x] Preprocess the extracted speech data .
[x] Split the dataset into training, validation, and test sets.
[x] Set up vast ai  for testing the pipeline for fine tuning.
[x] run prepare dataset for SR data.
[x] Train the model and monitor training metrics.
[x] Evaluate the performance of fine-tuned model on the speaker-specific test data.
[x] Compare the performance metrics of the fine-tuned model with those of the baseline model.
[ ] Document the findings and potential performance improvements based on additional speaker-specific data acquisition.

on test set of 105 samples:
base model cer = 9.7 %
finetuned model =

hf link to train data and finetuned model:
model
training data

training parameters:
per_device_train_batch_size=8,             # Smaller batch size to increase updates per epoch
gradient_accumulation_steps=1,             # Further accumulate gradients for effective batch size
evaluation_strategy="steps",
save_steps=500,                            # Save checkpoints more frequently due to limited data
eval_steps=50,                             # Evaluate regularly to monitor overfitting
logging_steps=50,
learning_rate=1e-6,                        # Lower learning rate for finer adjustment on small data
num_train_epochs=200,                       # Increased epochs to fully learn from the limited data
save_total_limit=500,                        # Limit checkpoints to manage storage
fp16=True,                                 # Mixed precision for faster computation, if supported
warmup_steps=100,                            # No warmup needed for this small dataset
report_to=['wandb'],                       # Optional: log to WandB for tracking
push_to_hub=False
vast ai instance:
- 1x RTX 4090, 24 GB single GPU.
- training duration: 3 hours.


Template is not dynamic mobile view

Describe the bug
In mobile view of this page there blank column type part is there
To Reproduce
Steps to reproduce the behavior:

Go to 'circuitverse.org' in mobile
Scroll right side to '....'
See error

Expected behavior
Page should look like same as desktop view
Screenshots

Are you working on this issue? (Yes/No)
No, this is for GCI STUDENTS

Duplicate Issue
This issue is already opened at #540


Any plan to add a pause() function ?

Hello there ! I just saw your plugin, i haven't tested it yet but if it works this will solve a problem i've been having on my application (i can't play large voice messages on IOS with HTML audio, i get this error : https://forums.developer.apple.com/forums/thread/740354).
 Theses messages will be played back, however i just saw that there is no pause function :/
Is there any plan to implement it one day ? It would be very useful for my project !

@BarnabasSzabolcs

Hi @maximilien0405!
It is a nice idea to add a togglePause and/or a stop!
Later, I will probably do it for an upcoming project but at the moment I have no capacity.
It should take very little coding though (if you search for play, you'll see where the pause can be added):
there will be a java, a swift and a js (or ts?) file to be edited and there will be a few additional files where you'll have to register this function, but if you just do a global search for "play" you'll see.
If you do it, I'm more than ready/happy to merge it.
Good luck,
Barney

Okay thanks ! I know nothing about plugin developpemnt, or Swift or Java, but i'll try ! It's probably not that complicated
Thanks for theses indications, this will surely help me for my task 👍
I will keep you updated if i try to make something work, if not then i'll be waiting patiently for your implementation :)

Awesome! 🤩 If you get stuck, just let me know 🙌
The plugin works on my iphone 7 and on Android simulator on Apple M2 Sonoma, plus on the web ofc.
I also didn't know much about plugin dev, Swift or Java, just used copilot, some online documentation, some trial and error and some banging my head against the wall because copilot is not that strong in this area.
Frankly, most of the code is just boilerplate it does nothing. The difficult part was figuring out where the play functions go and which objects to use to make the playback actually work without crashing randomly XD. The swift and java classes probably use a concept called separation of interface and implementation, not sure why. It was an awesome trick for c++ but imho it has no value in java. It is what it is.
The point is you have to write the classes "twice" and call implementation.play(). 🙈
This may or may not help, probably you have seen it already: https://capacitorjs.com/docs/plugins/ios
For audio playback, I didn't have to request permissions.


[dart:html] document.onFullscreenChange no longer provides events from the DOM

Steps to reproduce

flutter create myapp
Update main.dart with the code sample
Add the code sample for fullscreen_service.dart so that you have

lib/
- main.dart
- fullscreen_service.dart

flutter run -d chrome (as this sample uses dart:html)
Press the button to toggle fullscreen
The app goes into fullscreen
The notifier does not get updated and the print in the listener never happens
Press escape to exit fullscreen
The notifier still does not get updated, nor does the print happen

Cause of the problem: For some reason the handler for document.onFullscreenChange never fires.

Code sample
main.dart
import 'package:flutter/material.dart';

import 'package:fullscreen_test/fullscreen_service.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final service = FullscreenService();

  Widget _buildFullscreenWidget() {
    if (service.isSupported) {
      return AnimatedBuilder(
        animation: service.isFullscreen,
        builder: (context, child) {
          final bool isFullscreen = service.isFullscreen.value;

          return Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Text('Is currently in fullscreen? $isFullscreen'),
              ElevatedButton(
                onPressed: () async {
                  if (isFullscreen) {
                    await service.exitFullscreen();
                  } else {
                    await service.enterFullscreen();
                  }
                },
                child: const Text('Toggle fullscreen'),
              ),
            ],
          );
        },
      );
    }

    return const Text('Fullscreen is not supported');
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text(widget.title)),
      body: Center(child: _buildFullscreenWidget()),
    );
  }

  @override
  void dispose() {
    service.dispose();
    super.dispose();
  }
}

fullscreen_service.dart
import 'dart:async';

// ignore: avoid_web_libraries_in_flutter
import 'dart:html';

import 'package:flutter/foundation.dart';

class FullscreenService {
  FullscreenService() {
    // Handle fullscreen changes from user interaction, and the escape key.
    _fullscreenSubscription = document.onFullscreenChange.listen((event) {
      print('Fullscreen DOM event fired');
      _notifier.value = document.fullscreenElement != null;
    });
  }

  final ValueNotifier<bool> _notifier = ValueNotifier(false);

  StreamSubscription<Object>? _fullscreenSubscription;

  ValueListenable<bool> get isFullscreen => _notifier;

  bool get isSupported => document.fullscreenEnabled ?? false;

  Future<void> enterFullscreen() {
    if (isSupported && !_notifier.value) {
      document.documentElement!.requestFullscreen();
    }

    return Future<void>.value();
  }

  Future<void> exitFullscreen() {
    if (isSupported && _notifier.value) {
      document.exitFullscreen();
    }

    return Future<void>.value();
  }

  void dispose() async {
    await exitFullscreen();

    _fullscreenSubscription?.cancel();
  }
}

Reproducible on:
Chrome version: 103.0.5060.53 (Official Build) (x86_64)
Firefox version 102.0 (64-bit)
Can't reproduce since fullscreen is unsupported
Safari version: 15.3 (176<IP_ADDRESS>.8)
[✓] Flutter (Channel stable, 3.0.2, on macOS 12.2.1 21D62 darwin-x64, locale
    en-BE)
    • Flutter version 3.0.2 at /Users/navaronbracke/Documents/flutter
    • Upstream repository git@github.com:flutter/flutter.git
    • Framework revision cd41fdd495 (3 weeks ago), 2022-06-08 09:52:13 -0700
    • Engine revision f15f824b57
    • Dart version 2.17.3
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version
    32.1.0-rc1)
    • Android SDK at /Users/navaronbracke/Library/Android/sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • ANDROID_HOME = /Users/navaronbracke/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] VS Code (version 1.68.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.42.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 103.0.5060.53

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

A minimal repro that reproduces with a DDC compile. There is no sign that the event is firing when going in and out of full screen. I tried on MacOS and Linux.
import 'dart:html';

main() {
  document.onFullscreenChange.listen((event) {
    print('Fullscreen DOM event fired');
  });
}

I tried to track down where exactly the bug started happening and it turns out that somewhere between Dart 2.16.2 and Dart 2.17.0 the listener stopped working.

Dart version
Listener works

2.16.2 (ref 6fbb923)
yes

2.17.0 (ref 9f52c6d)
no

I did not get to do a git bisect to track down the specific commit that is causing this,
I might get to that if I have the time.
Side note:
To verify where the bug happens, I used the following dependencies
These work for both Dart revisions listed above.
(I had a version conflict with more recent versions of webdev, which made me have to pin deps to run my sample)
dev_dependencies:
  build_runner: 2.2.0
  build_web_compilers: 3.2.3
  webdev: 2.7.8
  dwds: 12.0.0
  vm_service: 8.2.2

@nshahan with the recent work on package:web with uses the new JS Static Interop, I'd close this issue.
Using package:web directly will fix this anyway.

It doesn't work as expected on package:web as well. This is due to fullscreenChangeEvent listening to webkitfullscreenchange and not on fullscreenchange.
See https://github.com/dart-lang/web/blob/main/lib/src/helpers/events/providers.dart

cc @srujzs


[Release Task] Deploy Azure App Service: XML Substitution unable to parse config

Reopening the issue #3575 since I cannot reopen the original issue. The issue is still not fixed and I'm still seeing same stack trace after trying latest 3.1.0 version. I've already shared the web.config file and root-cause shared was the presence of the tag 'constructor' in the web.config file.
In the release task for azure app service deployment using the 3.0 template (in preview), the newly added XML substitution isn't able to parse the web.config.
Task: https://github.com/Microsoft/vsts-tasks/tree/master/Tasks/AzureRmWebAppDeployment
Here's the trace from the release logs after enabling system.debug:
Initiated variable substitution in config file : E:\agent_work\r69\a\temp_web_package_1627581922803074\Content\C\agent_work\157\s\src\project\obj\Release\Package\PackageTmp\Web.config
Detecting file encoding using BOM
Unable to parse file : E:\agent_work\r69\a\temp_web_package_1627581922803074\Content\C\agent_work\157\s\src\project\obj\Release\Package\PackageTmp\Web.config
TypeError: listOfNodes.push is not a function
Task Version:
Task : Azure App Service Deploy
Description : Update Azure App Service using Web Deploy / Kudu REST APIs
Version : 3.1.0

@degant , sorry for the issue you re facing.
#3775 , the issue is fixed in 3.1.2 version of the task and the fix will be avaiable in a week or two.

Hi @vincentdass thanks for the follow-up. I'm afraid the last time I ran it was still 3.1.0. Will check again in a week or two and confirm. Appreciate all your help, thanks!

@degant,  deployments were completed in all the region's. Can you please queue a release and verify the task ?

Hi @vincentdass. Can confirm that the fix is working fine with the 3.2.1 version. Thanks for all the help! 👍


Merge changes from official sources.

I added some missing keywords to the Object Pascal and Free Pascal highlighters.

Sorry for the mess. I had some other changes to contribute but will do those in another pull request.

I added an issue about Object Pascal highlighter. Free Pascal highlighter was same.


Logo used in Sign in with Asana buttons is out of date

The current sign in with Asana buttons are using the old Asana logo.

Hi Eyal - Thanks for pointing that out. You are right, we'll work on getting those out.

Fixed with 955b393


Can't build unless in prefab scene.

Any attempt I make to build returns:
"Exception: Scene  needs to be opened and resaved before building, because the scene object NetworkPlayer has no valid sceneId yet."
 After some trial and error, I've found that I can only build if I start the build while in the prefab editor. I've read the comment about it in NetworkIdentity, opened and saved my only scene, created a new scene, created a new player prefab, created a custom prefab scene; nothing works except building while in the prefab editor. Am I doing something wrong?

Can you replicate this from the example scenes?
Also the form questions that are built into an bug report issue is very useful to help replicate and remediate the issue.

Sorry about not using the format, for some reason those options weren't shown to me when I posted before. I've tracked the problem down to the prefab not being recognized as a prefab as long as it has KinematicCharacterController attached. I'm still combing through that code to see what could be breaking the object's recognition as a prefab. From what I can tell, the first conditional, ThisIsAPrefab(), should be catching it, so whatever is causing the problem may not be the fault of this codebase.

Putting this issue on hold with question tag until we get steps to reproduce.

@alecdaigle try resaving your scene :)
if that doesn't work, please make a video and reopen this issue.


Change Range Interval on RSB

How to make this RSB have an interval?
For example I have range 0 - 100.000 and want this RSB change 5000 every sliding..
I have looking on RSB java file and I can't found how to change this interval,,
Thanks

Yeah, I'm afraid that's not currently supported, but definitely something that could be added.

How about make this RSB use TIME like 9 AM until 10 PM? any suggest?
Thanks

Tracked here: https://github.com/anothem/android-range-seek-bar/issues/9


follow superior nextjs env var pattern

I finally read the nextjs env docs and whowudaguessd they have a better pattern for prod/dev/local env files.
We needed to do this for prod because our env configuration was so large cloudformation barfed when I went to add our new env vars. Many of those env vars are not secrets and could be move to .env.production, which I did, giving us more room for new secrets. This should also make it easier for not-me to add new not-secret env variables (and for anyone curious about prod to see more of how that works).
Anyway, this will f'up anyone using .env.development for secrets so heads up @stackernews/eng. From now on, you'll want to put secrets/overrides in .env.local. (This also allowed us to get rid of the (likely) buggy .env.sample merge in sndev ... which was dumb.)

Summary by CodeRabbit

Documentation

Enhanced readability and organization of environment configuration files.
Clarified and streamlined instructions for setting email configurations and Docker setups.

Chores

Updated .gitignore to better manage environment files.

Refactor

Simplified startup logic in the sndev script to enhance the initial setup process.

From now on, you'll want to put secrets/overrides in .env.local.

Seems like the env vars in .env.development override any variables in .env.local (environment > env file).
Therefore, I have to set secrets like VAPID keys in .env.development or remove the env vars there.
And since .env.development is checked into version control now, my working tree is dirty.
I'll fix this in a PR

I think this might be a docker thing. .env.local should take priority if we let nextjs load them

Ah maybe this is the source of this issue I am seeing.
I'll move to .env.local and see how things go.

I think this might be a docker thing. .env.local should take priority if we let nextjs load them

My thinking with #1085 was that env_file puts env vars into the environment of the container (env in bash or process.env in nodejs) so due to the environment variables load order, .env.development in env_file becomes process.env and thus effectively overrides any .env.local that is loaded during runtime. At least that explained the behavior that I saw.
I then also used --env-file .env.local so env var expansion would work as expected inside the docker-compose file.
However, I think env_file is redundant now if sndev is used since --env-file overrides env_file.
Since an array for env_file is only supported in the latest release of docker-compose (v2.24 from January this year), I think we can simply remove .env.local from env_file to also support older versions of docker-compose and rely on --env-file fixing the env var load order.