deprication notice while build: Node#moveTo was deprecated. Use Container#append.

 Use Container#append.

After updating to 1.5.3 I get this notice with scss while running ng build --prod

Heya, I tried this on a new project with this src/styles.scss:
body {
  background-color: #000000
}

But couldn't see that message.
This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please?
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.
I guess it's related to some dependency update but there might be more to it.

This is coming from cssnano.  It still uses some deprecated methods.  The methods still function and the warning will only be shown at most once.  The next version of cssnano (when released) should completely resolve the issue.

sure @filipesilva.

@filipesilva .
Steps to Reproduce.
This is what I  did. I set default stylesheets to scss

ng new myApp
npm install bootstrap@next
import bootstrap.scss into style.scss

/* You can add global styles to this file, and also import other style files */

@import "../node_modules/bootstrap/scss/bootstrap"; // I used bootstrap

ng build -- prod

The problem occurs while importing files into styles.scss

Some issue when trying to import normalize.css.
Same setup. SCSS, @import, etc.

Same issue here: Build stderr: Node#moveTo was deprecated. Use Container#append.
"styles": [
        "path-to-bootstrap4-sass-here"
      ],

1.7.0-beta.3 release of the cli works fine for us, the error is gone and now it doesn't crash anymore at runtime while serving aot compiled websites.

I may have to hold until 1.7.0 launches officially. Our team usually uses CLI in an ejected format, since we have custom tooling we need to add to the build chain, so in cases like this I'll need to use the CLI to create a shell project, eject it so I can see how they've changed the base webpack config files (likely removing cssnano since I believe that is the source of the deprecated "error"), and then update our customized webpack configs as needed.

I'have the same issue
"@angular/cli": "1.6.6",
    "bootstrap": "~4.0.0",
Version of node: 8.9.4
ng build --prod    rc\assets\styles\style.scssNode#moveTo was Date: 2018-02-02T07:52:15.646Z 45% building modules 296/297 modules 1 active ...s\WebSpa\src\assets\styles\style.scssNode#moveTo was Date: 2018-02-02T07:52:15.646Z

Hi everyone, I had the same problem with cli 1.6.7, is there any update how to fix this?

Same here with cli 1.6.8 running on node 9.4.0

Same here:
Angular CLI: 1.6.8
Node: 8.9.0
OS: darwin x64
Angular: 5.2.5
"bootstrap": "4.0.0-beta.2"
I need help...

@manolosky . Update angular-cli to v1.7.0.

I am getting same issue after converting from angular 4.3.1 to 5.2.5.

C:\xampp\htdocs\profile>ng build --prod
10% building modules 5/5 modules 0 activeNode#moveTo was deprecated. Use Container#append.
Getting above issue please help me with this.

Guys, you should just upgrade angular-cli to 1.7.0+ and the warning will be gone.

Can confirm this running 1.7.2 and it disappeared

I found the solution for this '0% building modules 5/5 modules 0 activeNode#moveTo was deprecated. Use Container#append.'
Example: if css has classes like this  .container{color:red;} .container{font-size:14px;} then you will get this error means douplicate classes.
It should be  .container{color:red;font-size:14px;} then it wont show this error.
Like this I checked enter my project and then fixed this error.

updated to 1.7.2 and it's fixed

updated angular/cli to 1.7.3 and its working fine


update PULL_REQUEST_TEMPLATE to include ko-i18n info

Added base branch guide for ko l10n in the PULL_REQUEST_TEMPLATE.
This is related with #11652

/lgtm

/assign @tfogo
Please take a look

Generally lgtm, but I'm not sure if we are supposed to add non-English text into the template. They are visible to all contributors and may cause mental upset, :).

@tengqm I think it will be fine because this community is open minded enough. How about discussing about this in the next weekly meeting?

@tengqm :wave: I removed non-English text from the template.

/assign @jimangel for approve

@Bradamant3 @tengqm Thank you for your  kindness!

/lgtm
/approve

@jimangel Thank you! Could you please approve this again?

/approve


On preview not getting added changes

Hi,
I have installed this plugin and getting one theme which name was likee main. Then have created one more theme inside that same like main just name is est and changed few css. But i can not see in preview of test just redirect ro dashboard. Why? and Can you please guide me like how can check ?
This plugin is same is worked like same wordpress theme right? like multiple themes can add and can change each theme view.
Here i am going to attached screnn shot so please check it and help on it.
Thank you in advance

yes it's working like wordpress, i think your problem is route/cache
try to use this command
php artisan route:clear

and remove the main route from routes/web.php because it's override the theme package routes

it's done now you can check it.


onClickOutside is not a function

Whatever I try I get this error onClickOutside is not a function.
I even copied the example code. Only modification I did was to add render() to MyComponent and export default Container to be able to import the component in other places.
What am I doing wrong??
var React = require('react');
var onClickOutside = require('react-onclickoutside');

var MyComponent = onClickOutside(React.createClass({
  handleClickOutside: function(evt) {
    // ...
  },
  render() {
    return this.props.children;
  }
}));

var Container = React.createClass({
  render: function(evt) {
    return <MyComponent disableOnClickOutside={true} />
  }
});

export default Container;

EDIT:
My setup is

react 0.14.7
react-onclickoutside 4.9.0

Nevermind. I uninstalled the package and re-installed it. Works like a charm now! 😄

=P

Reinstalling the package did not solve for me. It is an object on<EMAIL_ADDRESS>
The right way to use on ES2015 is wrapping your component like this:
<onClickOutside>
  <MyComponent>
</onClickOutside>

I had the same problem! I fixed it by re-installing as well but had to up the version from 4.9.0 to 5.11.1.
Works : ) yay
My setup is
react: 15.3.0,
react-onclickoutside 5.11.1

@VisorsJimmyTruong the current version is 6.x, though.

@Pomax  for some reason I couldn't get 6.x to work. I even installed and re-installed 6.x
0.0 perhaps cause of my setup's react version?

could be. 6 is for React 15.5 and up (which I can recommend moving to as soon as possible so that React 16 doesn't catch out your codebase when it's released about 6 months from now)


Fix repo summary height

Extracted the style that keeps the animation of the language bar in check.
Fixes: https://github.com/go-gitea/gitea/issues/10754

Make lg-tm work


Mute & unmute storm at application start

Is this a bug, feature request, or feedback?
Bug
What is the current behavior?
Application start is delayed by:

Over 3M "Muting TCPSource" messages
Over 2.5M "Unmuting TCPSource" messages

... requiring up to a few minutes before the app's CPU use drops to (near) zero and is actually usable.
What is the expected behavior?
No excessive CPU use at startup.
What OS and version of Wallaroo are you using?
Ubuntu Linux 18.04 + app @ single-tier-http-bypass branch of  at commit be7a1b5d, which in turn uses Wallaroo at commit a2de2572.
Steps to reproduce?
Run  app in a 1 worker config, via:
env PM=97 P1=97 P2=97 P3=97 /path/to/bin --event-times=false \
 args-as-found-in-ansible/files/start_tier.sh.j2 \
 --ponynoblock --ponypinasio \
 --ponythreads=35 --ponyminthreads=35

See http://wallaroolabs-dev.s3.amazonaws.com/logs/gh2912.20191030.log.bz2 for output from a unit test run that failed because the mute & unmute storm interfered with timely processing of the unit test's sequence of operations: TT processing happens out-of-order because scheduling of their processing is out-of-order.  Note the wall clock time difference between the TCP source connection events at<PHONE_NUMBER>.721249-1572455029.045170 vs. unit test message processing at<PHONE_NUMBER>.915586 vs. TT processing starting at<PHONE_NUMBER>.187923 (which discards application state and thus fails the unit test).


[ALLUXIO-2481]Remove unnecessary toString() in setProperty in KeyValuePartitionIntegrationTest.java

JIRA ticket:https://alluxio.atlassian.net/browse/ALLUXIO-2481
In alluxio/client/keyvalue/KeyValuePartitionIntegrationTest.java:
from
.setProperty(PropertyKey.KEY_VALUE_ENABLED, "true")
to
.setProperty(PropertyKey.KEY_VALUE_ENABLED, true)

Can one of the admins verify this patch?

ok to test

Jenkins, add to whitelist

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13937/
Test PASSed.

Merged build finished. Test PASSed.


Coverage isn't being reported by coveralls.io

For example, this pull request isn't showing any coverage reporting.

I actually think it may have been an update from coverage that broke things, but am too lazy to figure out...
Either way, fixed with #63 and #64 - moved from coveralls to codecov.


Lineage doesn't show any table dependencies

Affected module
Lineage Ingestion
Describe the bug
After creating BigQuery Database service, I added Metadata ingestion.
After finishing metadata ingestion I created Lineage ingestion.
When Lineage ingestion is finished, I go to any table page and try to see lineage information.
But I can't see any table dependencies.
Expected behavior
When I click on Lineage tab, I can see that for example table b is depended on table a.
Version:

OS: Ubuntu 20.04.6 LT
Python version: 3.8.10
OpenMetadata version: 1.0.5
OpenMetadata Ingestion package version: 1.0.5

Hello @Eeelijah we have fixed the issues in the latest releases, can you test those out and let us know here?
closing this ticket till then, if you still face an issue, reopen the ticket.
Thanks


Change Difficulty Speed Changes

Currently, changing the difficulty will directly change how quick the player will jump, fall, and move by directly altering their calculations. However, this was done from a trial and error approach and may give rise to tiny inconsistencies not easily controllable from a human perspective. These inconsistencies are in a frame by frame basis, or less than 1 second. Therefore to remedy this, the calculations shouldn't be altered directly, but should be delayed in when their applied.
A timer can be used to delay when these actions are taken, probably delaying up to 0.2 seconds (200 milliseconds in pygame time). The current movement is applied without any timer, so difficulty will be 0 for the hardest (default), 1 for medium, then 2 for easy on a 100 millisecond restriction on any dynamic movement (jump, stars, gravity, movement, and replay character)

0 x 100 = 0 delay for hardest difficulty

1 x 100 = 100 delay for medium difficulty

2 x 100 = 200 delay for easiest difficulty

Change difficulty dictionary and how it's imported/exported

Go through kog_class and kog_levels, see where difficulty is applied, and change them to incorporate a timer

Revert the calculations in the player to not include difficulty and instead use a timer

These delays are too long, I'm changing them to 0, 25, and 50 for the time being

Oops, there was a bug where I used the wrong timer, I'll try again with the original values


Dev app doesn't work in IE

fetch needs to be polyfilled

and i think the css is not working there too, we're compiling 2 versions of sass, one for IE specifically: https://github.com/plotly/react-chart-editor/blob/master/package.json#L114

Yes, it's all those custom properties like var(--sidebar-width) - they're not supported in IE, our tools used to take care of those though.

Were we ever able to test RCE in IE without embedding it into another project?

I always was testing from streambed..

Did you see this part of the readme? https://github.com/plotly/react-chart-editor#styling-the-defaulteditor--and-the-built-in-components
If the dev/demo apps could work in IE that would be helpful IMO

Did you see this part of the readme? https://github.com/plotly/react-chart-editor#styling-the-defaulteditor--and-the-built-in-components
If the dev/demo apps could work in IE that would be helpful IMO

I can't display in ie.
But go to the link you said
I found import'react-chart-editor/lib/react-chart-editor.ie.min.css' but there is no react-chart-editor.ie.min.css file
where is the file?


Upgrade pu/pu dependencies to v3.97.0

This PR upgrades our pu/pu dependencies to v3.97.0.

Dup: https://github.com/pulumi/kube2pulumi/pull/114


uMVC

Hi.
I made this library called uMVC thats build upon Zenject. I've been using it on production for several month now and I finally decided it was mature enough to open source it. Zenject does all the hard stuff, this library wouldn't be possible without it. I invite you to check it out, feedback would be very much appreciated. The documentation is still very scarce but you can checkout the getting stated page.

Nice.  Looks useful.  Is there a sample project?

I intend to put one up. For now the getting started walks you helps you create one.
https://github.com/cgarciae/umvc/wiki/Getting-Started

.. worst mentioning that it is for a non-Unity3D C# app, as most of the Zenject users are into gamedev.

@green-coder I personally use it for an Augmented Really app which mixes both 3D and UI interactions. You can use this as you would use Zenject, just that you get some conveniences on top. On the other hand, if you want to favor the creation of prefabs over scenes, you can even use it to switch levels using the router.

Each level could be a View/Presenter.

Oops. I am sorry if I talked too fast about your framework. I was thinking that it was for implementing webservers in C# and injection.

@cgarciae What version of Zenject do you use in your project? And will you continue to update Zenject with your project?

@SeanHSynect I really don't know exactly which version I have of Zenject since there is no proper package manager for Unity3D except for https://github.com/modesttree/projeny which I haven't had time to try out.
I'll continue to update it every once in a while. I currently avoid doing so because uMVC has mostly evolve out of my own needs in production,breaking changes are mostly not welcomed.

FYI, the git repository has tags representing releases, and there is a version file updated each time a new release is done (e.g.  fdd315868b11ba126889fc0a2719bdd48128a3c1 for v3.6).

Thanks! @green-coder Sadly I delete all "unnecessary" files to keep things clean. Will leave the version file next time.

I've renamed uMVC to Karma and improved the documentation. The repository is now a sample project. So you can clone it and test the basic example.

Cool.  I still haven't checked it out yet but I do see a lot of questions and requests about using Zenject with MVC so there is definitely a need.  You should also consider submitting it to the asset store.


Failed to compile; "React Example: Auto Refetching"

Describe the bug

./pages/index.js
Module not found: Can't resolve '@tanstack/react-query' in '/sandbox/pages'

Your minimal, reproducible example
https://codesandbox.io/s/github/tanstack/query/tree/beta/examples/react/auto-refetching?from-embed
Steps to reproduce

Got to CodeSandbox

Expected behavior
Failed to compile.
How often does this bug happen?
Every time
Screenshots or Videos

Platform

Browser

react-query version
^4.0.0-beta.1
TypeScript version
No response
Additional context
No response

Probably related, but the homepage react example for codesandbox doesn't seem to work:

imports are already changed towards the rebrand, but it hasn't been released yet. see:

https://github.com/TanStack/query/issues/3790#issuecomment-1185484427


fix(connections): do not log AgentContext object

In last Aries Framework JS call @niall-shaw reported performance issues when accepting multi-use invitations.
I've experienced the same issue after migrating to 0.3.0-alpha.x and it turns out that it was happening because some methods in DidExchangeProtocol were logging the whole messageContext object, which now includes agentContext and blocks the console for several seconds. This can be avoided by either logging in INFO mode or customizing the logger being in use to only output a certain depth level of objects.
This PR makes a quick-fix of this issue by logging only messageContext.message, to be consistent with other methods from ConnectionService. Not sure if it's really useful though, but that's another subject to discuss 😄 .

Codecov Report

Merging #1085 (64a9257) into main (ab403c9) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1085   +/-   ##
=======================================
  Coverage   88.34%   88.34%
=======================================
  Files         701      701
  Lines       16110    16110
  Branches     2597     2597
=======================================
  Hits        14232    14232
  Misses       1871     1871
  Partials        7        7

Impacted Files
Coverage Δ

...ore/src/modules/connections/DidExchangeProtocol.ts
86.40% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

If this fixes the issue it is quite useful imo :).


Keycloak new GUI support

First of all thanks for all the job you have done.
Is there any plan to support new GUI of Keycloak? There is no support from version 18.0.2 (19+) at least for initial setup.

Updated the codebase for keycloak 24.0.4. Now the extra attributes appear in the new admin UI, and you do not have to set them up using some low-level technique (json import or directly from the database).
Still two (minor) caveats related to the new admin UI

When you first setup the provider it displays a clientId and a clientSecret which are not used anywhere. Just include some fake values and ignore. This is related to https://github.com/keycloak/keycloak/pull/24266 .
The new keycloak can help users by reading the configuration from a url (metadata descriptor). This is hardcoded in the admin UI, so it does appear.

Those attributes only appear in the momment you create the IDP. When you are editing an exinsting one they don't appear.

Yes, you are right. That position is very different that it is in documentation and, because of that, i didn't see it. Thanks


Package request: Terasology

A Minecraft inspired open source voxel game
Metadata

homepage URL: https://terasology.org/
source URL: https://github.com/MovingBlocks/Terasology
license: Apache License 2.0
platforms: linux, darwin

Add a :+1: reaction to issues you find important.

There experienced some difficulties when trying to package this:

it uses gradle

generally annoying to work with inside Nixpkgs

custom module distro system using custom groovyw

it fetches "distro" (collection of modules) information from https://github.com/Terasology/Index/tree/master/distros
could be solved by implementing these distros in nix

I can't currently do the gradle magic required for this to work, but wanted to leave this here for anyone trying


Sometimes, streaming does not start

I am debugging an issue in which sometimes, streams fail to start. In one particular setup, this happens to me maybe one in 20 times I try to start a stream.
I turned on the debugging log and did some digging.
The first thing I saw with an unsuccessful playback is "handler 0 failed". This is written in ngx_rtmp_handler.c in the function ngx_rtmp_receive_message as a failure of *evh().
It turns out the *evh is in this case was ngx_rtmp_amf_message_handler in ngx_rtmp_receive.c which returnes NGX_ERROR when *ph() does not return NGX_OK.
In the observed cases, *ph was ngx_rtmp_send_shared_packet returning -2 (so, NGX_AGAIN) as a return value of ngx_rtmp_send_message. This was due to the "drop packet? note we always leave 1 slot free" code that returns NGX_AGAIN when certain thresolds are met. It turns out in my case, nmsg was going up to 256 when this happened.
In all the cases I observed, "somehow" it happened that s->connection->write->active was true for a certain time, so ngx_rtmp_send_message never executed the hgx_rtmp_send(), so probably the messages were just queued and at one point, it lead to the error return, then the "handler 0 failed" and finally the disconnection.
I did not manage to exactly find out what happens, it appears to me tere are quite a lot "play" and "pause" commands sent by the player in the beginning of the streaming.
I have saved error logs of the same process, first when it didn't work (error-bad.log), and then, with the same player, same server and same content, when it worked (error-good.log). You can get these logs from http://guardian.werft22.net/public/errorlogs.zip because they are a bit big to paste here.
D you have any idea about the reason of this behaviour?
Kind regards,
Andreas Trottmann

After some more experience, it appears that the higher out_queue sometimes also does not help. Especially when there is a high network latency, it appears that nginx is queueing a/v packets until the queue is full, and then has no space anymore for control messages such as notifications about the stream starting.
I have seen that the ngx_rtmp_send_message function has an argument "priority". When this function is called, the prority is always set to 0, except when sending live a/v packets.
Setting this priority to 0 makes it so the rtmp message is sent in any case, except when the output queue is full.
Setting it to something greater than 0 makes it so the rtmp message is only sent if there is some space left in the queue.
I have patched my local installation of nginx-rtmp to set priority to 2 when sending on-demand a/v packets. According to my understanding, this makes it so there is always room for control messages (which are sent at priority 0), even when the client has not yet fetched the queued a/v packets.
This appears to have fixed the problem in a better way.
diff --git a/ngx_rtmp_flv_module.c b/ngx_rtmp_flv_module.c
index 4776e54..395cdbf 100644
--- a/ngx_rtmp_flv_module.c
+++ b/ngx_rtmp_flv_module.c
@@ -507,7 +507,7 @@ ngx_rtmp_flv_send(ngx_rtmp_session_t *s, ngx_file_t *f, ngx_uint_t *ts)
 ngx_rtmp_prepare_message(s, &h, ctx->msg_mask & (1 << h.type) ?
                          &lh : NULL, out);

rc = ngx_rtmp_send_message(s, out, 0);

rc = ngx_rtmp_send_message(s, out, 2); // this makes it so there are slots free for control messages
ngx_rtmp_free_shared_chain(cscf, out);
if (rc == NGX_AGAIN) {
diff --git a/ngx_rtmp_mp4_module.c b/ngx_rtmp_mp4_module.c
index 0259ca2..9b57284 100644
--- a/ngx_rtmp_mp4_module.c
+++ b/ngx_rtmp_mp4_module.c
@@ -2290,7 +2290,7 @@ ngx_rtmp_mp4_send(ngx_rtmp_session_t *s, ngx_file_t *f, ngx_uint_t *ts)
out = ngx_rtmp_append_shared_bufs(cscf, NULL, &in);
ngx_rtmp_prepare_message(s, &h, cr->not_first ? &lh : NULL, out);

   rc = ngx_rtmp_send_message(s, out, 0);

   rc = ngx_rtmp_send_message(s, out, 2); // this makes it so there are slots free for control messages
   ngx_rtmp_free_shared_chain(cscf, out);

   if (rc == NGX_AGAIN) {

Kind regards,
Andreas Trottmann


package-release.sh: use mkdir -p

This silences error when directory already exists.
You can use it for master also.

I'm not sure this is a good thing.
You probably want to make sure that directory is empty if it already exists, or you risk mixing up files from different builds.
I think it's just easier to complain about the directory already existing rather than silently ignore it or risking inadvetently deleting or overwriting files.

Right now the script doesn't use set -e so it doesn't exit despite the error.
It's just a cosmetic change.

All the more reason not to silence it, IMO.


mdc-select is not set using [(value)]

Describe the bug
If I have a existing model which I want to display in a form, I cannot use an attribute and display it using mdc-select. When I want to set the value of mdc-select using two-way-binding, nothing happens and the select remains empty. The value is definitely represented in the select options.
To Reproduce
<mdc-form-field fluid>
              <mdc-select placeholder="Gender" name="gender" [(value)]="member.gender">
                <mdc-menu>
                  <mdc-list>
                    <mdc-list-item value="female">female</mdc-list-item>
                    <mdc-list-item value="male">male</mdc-list-item>
                    <mdc-list-item value="other">other</mdc-list-item>
                  </mdc-list>
                </mdc-menu>
              </mdc-select>
            </mdc-form-field>

Expected behavior
I expect to display and change values of the model using mdc-select by binding the value attribute to the model attribute.
What Angular MDC version are you using?
latest

Same here. Been trying to fix for half a day but I sucks I guess.
 <mdc-form-field fluid >
           <mdc-select #address outlined placeholder="Adresse" formControlName="address">
              <option value=""></option>
              <option *ngFor="let item of allAddresses$ | async" [value]="item.id">
                {{item.longname}}
              </option>
           </mdc-select>
</mdc-form-field>

@ViewChild('address') address: MdcSelect;
this.store.select(fromSharedStores.Clients.get.selectEntities)
                .subscribe((data: Dictionary<IClients>) => {
                    const selectedClients = data[this.id];
                    this.clientsForm.patchValue({...selectedClients});
                    this.address.setSelectionByValue(selectedClients.address.id, true);
                });

At least for my case, I got it: instead of [(value)] one can use [(ngModel)]
<mdc-form-field fluid>
              <mdc-select placeholder="Gender" name="gender" [(ngModel)]="member.gender">
                <mdc-menu>
                  <mdc-list>
                    <mdc-list-item value="female">female</mdc-list-item>
                    <mdc-list-item value="male">male</mdc-list-item>
                    <mdc-list-item value="other">other</mdc-list-item>
                  </mdc-list>
                </mdc-menu>
              </mdc-select>
            </mdc-form-field>

Here is an example where I used the select with formControlName
<mdc-form-field fluid>
              <mdc-select formControlName="type" outlined>
                <mdc-menu>
                  <mdc-list>
                    <mdc-list-item value="x" selected>x</mdc-list-item>
                    <mdc-list-item value="y">y</mdc-list-item>
                  </mdc-list>
                </mdc-menu>
              </mdc-select>
            </mdc-form-field>

I updated to version 1.0.5 but still can't get it to work. Could you please advise how to use MdcSelect with ngModel or Two-Way-Binding when working with objects? Maybe give an example?

I found reason why it didn't work for me. I used the same name property for two select form fields which lead to an error for the first select item. It works with ngModel on mdc-select.


HV-1287 Upgrading to CheckStyle 7.6

The wrong equals() methods are a good spot indeed.
https://hibernate.atlassian.net/browse/HV-1287

Merged, thanks!


To get n-best (score) results from decoding with HLG

I am using one_best_decoding function to get the best path of lattice.
Can I know what will be the most light way to get the n-best (score) path from the lattice in k2-based decoding scheme?
Because when I tried this with nbest_decoding function, it works.
But it consumes much memory and reports OOM when the batch size is large.
What I'd like to try is utilizing k best list for other rescoring algorithm

But it consumes much memory and reports OOM when the batch size is large.

How about decreasing batch size?

You could try decreasing the num_paths, and/or decreasing the lattice depth by decreasing the beam or the max_active options.

@danpovey Okay will try. Maybe I have to reduce also T size in N x T x C. Thank you


upstream

Description

Fixes #
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (non-breaking change that does improve existing functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (README.md or the documentation under docs/)
[ ] If necessary I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes


System.IO.DirectoryNotFoundException

When I try to run the DNF projects, this is what I get (after hitting F5 in the Server Project of DNF.Projects).
Am I missing something?
System.IO.DirectoryNotFoundException: 'C:\Dotnet\DNF.Projects\Client\bin\Debug\netstandard2.1\wwwroot'

You do not run the Module solution directly. You build the Module solution and it copies the DLLs to the Oqtane framework /bin folder. Then you run Oqtane and it dynamically loads the Module.

Yes, I see that in the documentation. I did watch the videos but still doesn't work. After building DNF.Projects (which is in the same folder as Octane.Framework), the files are not copied to  C:\Dotnet\oqtane.framework\Oqtane.Shared\bin\Debug
The reason could be that for the Octane.Framework we have .Net 5.0 and DNF.Projects, we have .Net Core 3.1? Should we update it also to .Net 5.0?


Name clash between own name and library name on dotnet core 2.0

If you create a console app via
dotnet new console
in a directory named "websocket", you will receive a websocket.csproj
Putting the code below in the Main method will cause the error below. Is this the expected behaviour?
var webSocket = new ClientWebSocket();
CancellationToken token = new CancellationToken();
webSocket.ConnectAsync(uri: new Uri(@"ws://<IP_ADDRESS>:8080"), cancellationToken: token).Wait();
Console.Write($"task result {webSocket.State}");

No matter what the Uri (I have tried several, and I can't even see any outgoing connection in wireshark)
this is the result:
Unhandled Exception: System.AggregateException: One or more errors occurred. (Unable to connect to the remote server) ---> System.Net.WebSockets.WebSocketException: Unable to connect to the remote server ---> System.Net.WebSockets.WebSocketException: Unable to connect to the remote server ---> System.Net.Http.WinHttpException: Not enough storage is available to process this command
   --- End of inner exception stack trace ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at System.Net.WebSockets.WinHttpWebSocket.<ConnectAsync>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.WebSockets.WebSocketHandle.<ConnectAsyncCore>d__20.MoveNext()
   --- End of inner exception stack trace ---
   at System.Net.WebSockets.WebSocketHandle.<ConnectAsyncCore>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.WebSockets.ClientWebSocket.<ConnectAsyncCore>d__16.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at websocket.Program.Main(String[] args) in C:\Users\gregorybleiker\work\websocket\Program.cs:line 16

Issue moved to dotnet/cli #8838 via ZenHub


[deps] Add support for django 3.2 and django 4.0 alpha

Let's make sure this module can run with Django 3.2 and Django 4.0 alpha.

I want to contribute.
Please guide me @codesankalp


Auto save form data for end user

Description
As an end user I want the form to be stored automatically while I fil it out, not only on submit, so that I can continue to work after for instance a data crash or going in and out of a form for example.
(Copy from old backlog, US 2518 from sprint 18)
The implementation should include tasks for removing the code for the save button that was kept in Altinn/altinn-studio#1025, since we were missing auto save of form data.

We have auto-save for form data in apps. Closing this issue.


Develop

Added better interfaces functionality. Now can view them on the connections popup
Changed view modes so that it is either names, weights, interfaces, or fast render. Test this functionality because it was a pretty major switch and could lead to a lot of edge cases with breakout views and multiple open matrices
Added packaging to .zip and .tar.gz for releases with maven. Will you try to execute this step to ensure that it works with your environment? It is the [install] maven goal. It is stored as a project file so you can select it from the dropdown

First test run results can be found at:
https://app.qase.io/public/report/6aab09381f41ad7768b70ce264c3c26160cb006c
No defects

First test run results link didn't work. Here is a PDF report. The failure was not real, I just didn't know how to configure the interface viewing to show the interfaces.
DSMED-Test+run+2022_08_13.pdf

I got a couple of failures when testing the Multi-Domain functionality. See the attached report. I've also attached the screen shots and dsm file associated with the failures.
Also, I noticed that the F highlight functionality works sort of funny with multi-domains. when highlighting the first row in the domain, the domain name cell is highlighted, but when highlighting subsequent rows, it is not. I prefer that it would always highlight the domain name cell when it is selecting any row in the domain.
DSMED-Test+run+2022_08_14.pdf

test1_mdm.zip


Remove mention of CHANGELOG from CONTRIBUTING.md since there doesn't …

... seem to be a changelog in the repo.

Codecov Report

Merging #451 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #451   +/-   ##
=====================================
  Coverage      95%    95%
=====================================
  Files          15     15
  Lines         981    981
  Branches      217    217
=====================================
  Hits          932    932
  Misses         49     49

Continue to review full report at Codecov.

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

Thanks for the contribution!  The good news here is that we're actually adding a changelog in the next release :) The github template you're editing is generated, and we're trying to keep all this stuff consistent.
There will be a changelog in the 2.0 release!

Cool, thanks for the update!


Unit parser - move images to standalone section

I'm looking at unit_delta12.dita
The first section in the body is the signatures table.  It starts with a div of images. This was pulled from lower down in the signatures block.
We can/could better exploit the images (including potentially having a gallery component) if they were moved out of the signatures section, into an images section.
Look at patterns in the target data for these images, and ensure we represent it in the mock data. Then work on putting images into their own section.
Note: back when we worked with custom DTDs for our document types we did have an image-list element defined for unit/class/installation documents. We're using a named section as an alternative to this.

This is related to #606

This is working. We're also applying an imageList class to the div that contains them.


Enable CILogon for binder-staging hub

We had a cryptomining incident on the binder-staging hub on the 2i2c cluster so I am enabling CILogon so only those with 2i2c.org email addresses can access the hub for now

I deployed this but I don't think it's working

https://binder-staging.2i2c.cloud

I actually may be missing some config:

https://binderhub.readthedocs.io/en/latest/authentication.html#enabling-authentication

I've got a really unhelpful error from the helm chart validation which I assume is related to the regex for username_pattern:
Error: failed to parse /home/runner/work/infrastructure/infrastructure/config/clusters/2i2c/binder-staging.values.yaml: error converting YAML to JSON: yaml: line 29: found unknown escape character

I tried using a double backslash but that didn't work

Config still not working though. Getting a 500 internal error

This config is completely busted and I don't know why. On the upside, the hub is unusable, cryptominers or no

I killed the proxy-public service to make the whole hub go away and I'll disable updates in CI so that we don't bring it back up with another merge

This was incorporated in https://github.com/2i2c-org/infrastructure/pull/2393


SSLCertificateTest.testNotValidAfter fails on Android armv7 and likely other 32-bit platforms

Somebody recently reported problems using this package on Android armv7, termux/termux-packages#8569, so I had him run the tests for this package on there and he reported this test failing. I reproduced and looked into it today: the issue is an overflow when trying to put too large a UNIX epoch time in seconds into time_t, which is a 32-bit signed integer on Android armv7.
That test has a certificate valid till 2047, which is too long so it fails; you should be able to reproduce on any other 32-bit platform with a similar time_t.

Can I work on this?

Sure, feel free.


WIP: Google Calendar round 2

Description:
Creating a new pull since #2052 was closed so long ago.
Adds Google Calendar Event Devices and a generic Calendar Device for future calendar integration.
I've set this up after discussions with @Bart274 about doing an iCloud calendar similar to this so it should be easier to add in that support after this.
TODO: Write tests and verify
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml:
google:
  client_id: al8e43hyoahjweog8h # required, this comes from Google Api Console
  client_secret: laih34go8ahewo48h # required, comes from Google
  track_new_calendar: yes  # optional, defaults to yes

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] TODO: Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[X] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[X] New dependencies have been added to the REQUIREMENTS variable ([example][ex-requir]).
[X] New dependencies are only imported inside functions that use them ([example][ex-import]).
[X] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[X] New files were added to .coveragerc.

If the code does not interact with devices:

[X] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] TODO: Tests have been added to verify that the new code works.

Could we have the ability to specify a list of calendars we want to track?

@lwis It's there, it creates a google_calendars.yaml file similar to known_devices.yaml and also allows you to specify search based.
But I just realized I messed that up when I tried to make it so you could specify the device name. Crap.
a7709b23defc0ebf26e56c9b05b046c2866d6b6fb76223d0522986f8:
  cal_id<EMAIL_ADDRESS>  entities:
  - name: Mike Nestor (TripIt)
    search: null
    track: true
  name: Mike Nestor (TripIt)
c379a36a72dc93de3bce26b627af0966ec88089abde13045b739613b:
  cal_id<EMAIL_ADDRESS>  entities:
  - name: Maggie
    search: null
    track: false
  - name: Maggie
    search: Vet
    track: true
  name: Maggie

@mnestor one comment, if search is null we shouldn't write/display it, just make sure that it's documented on the website.

Changed the google_calendars.yaml around
- cal_id<EMAIL_ADDRESS>  entities:
  - device_id: things_to_do
    name: Things to do
    track: false

- cal_id<EMAIL_ADDRESS>  entities:
  - device_id: contacts
    name: Contacts
    track: false

- cal_id<EMAIL_ADDRESS>  entities:
  - device_id: holidays_in_united_states
    name: Holidays in United States
    track: false
  - device_id: holidays_chistmas
    name: Christmas
    search: Christmas Day
    track: true

The above would only create one calendar, a search based one in you holiday calendar to turn on only on Christmas Day.

@mnestor I'll take a look at how I can use your component to add an icloud calendar as well :-)

@Bart274 Nothing has changed since we last talked. I've just found a new way to do the oauth for the google part that makes it a LOT easier for people to get setup.

@mnestor I see, I will look how I can add the icloud calendar :)


[WIP] remove appContext from app/appRollout controller

related to #1705
major changes:

get rid of appCtx in app controller

replace appCtx with assemble&dispatch in apply.go
remove old resource tracker related logic
always handle finalizer for resource tracker
add finalizer for revision-only app
modify appRevision clean up mechanism (use resource tracker to get appRevision in use)
fix unit tests in application pkg

fix e2e test

remove appcontext_test.go file
remove appContext logic in al test cases
disable rollout related test temporarily (wait for rfc of rollout)
disable resource tracker test (re-write or remove latter)

@wonderflow  this commit fixes backward compatability issue.
I also raise issue #1783 related to the new annotation. We can record vela semver in resources' annotation, which will help for debugging and do other stuff based on semver.


Favorite section of /personalize contains unpublished artworks

This section uses a featured set that contains artworks that have been unpublished (and therefore cannot actually be saved, which is the primary action taken during this stage of the personalize flow).
Set id: 53c554ec72616961ab9a2000

needs an example link
we could alternatively filter out unpublished works on our end

Yeesh, looks like 12/39 are unpublished. Replacing with other works by the same artists wherever possible.
In terms of how to make sure that these stay published, picking works in institutional collections is more stable, they're much less likely to be unpublished. @tayapage6 , can you give some feedback on what you think about this? in terms of recommendations, saving a work doesn't link you in any particular way to the gallery or collection it's in, it just adds those genes to your user_genome.

Okay, this should be good to go. I've replaced all the unpublished works with similar works, either by the same artist or something close by a different artist.
I also made sure these works all have full genomes to ensure we'll be getting the most bang for buck when users save them.

👍


Initial commit of interactive plot code for code review 2017-09-01

Thanks for sending in the files.
Will you please rename the README.txt file to README.rst and then check that the 'enhanced' formatting shows up? And will you please add a link to this tutorial (say, the README) in the index.rst file?
(You can simply edit, commit and then push to your fork -- that will automatically update this pull request)


Better Discord not loading after jul 25th update.

this issue has occurred after I updated my discord to the update that added the official server folders. the image bellow shows what happens. and also there are no option in discord for themes and plugins. I tryed uninstalling and reinstalling betterdiscord with the latest installer off github. and its still doesn't work
below is an image showing what is happening and also a zip with all the betterdiscord files install on my pc from the %appdata%/roaming
BetterDiscord.zip

this same issue is happening to me, it seems like the Bandaged BetterDiscord doesn't work at all anymore, it never stops loading and i cant fix this. This must be with some new code or something within discord itself.

Bandaged BD still works for me you can try doing this option

its stuck though :(

if you have server-folders, try to open one server folder, that solved it for me

It seems you need to have at least one server outside of a folder, then it loads.
Beware you need enable your plugins again. xD

Maybe this can be fused?
https://github.com/Jiiks/BetterDiscordApp/issues/903


How to replace deprecated is(':focus')?

Hi friends! 👋
I’ve noticed today that is is deprecated, so while I had no issue replacing, for example, is(':disabled') with property('disabled') (the documentation is great), I found no example of how to replace is(':focus')… Will this be possible with another helper and, if so, could we update the documentation? I’m happy to give it a go if someone could point me to the right place… Thanks!

I believe it can be replaced by leveraging of the document.activeElement in a custom property, smth like:
// pseudo code
export function hasFocus(selector, userOptions = {}) {
  return {
    isDescriptor: true,

    get(key) {
      let options = { pageObjectKey: key, ...userOptions };

      return findOne(this, selector, options) === document.activeElement;
    }
  };
}

which could be used like the rest of the page object props:
const element = create({
  scope: '.selector',
  hasFocus: hasFocus()
});

hope it helps and would work for you!
Also I'm definitely open to accept an update for the is deprecation section.

Hey @ro0gr, I’d be happy to contribute with an update/improvement. Would there be interested in adding this hasFocus (or something similar) to ember-cli-page-object as an official helper as well?

hey @gnclmorais! though I feel like it isn't a super frequently used feature, I'm not opposed to have this included by default.
Just a remark about possible implementation... The suggested approach with findOne( does contradict a bit with what we currently do for the rest of similar properties in v1. At the moment we try to respect the multiple option, which in its turn is deprecated now, and it's going to be removed in v2. That's why I think for the new property it'd be better to use findOne, even if we become inconsistent with the rest of props.


Home partition not mounted after update

I've mentioned this in the irc channel because it was happening with my custom image and I gave a try using this layer on a brand new project as in https://www.konsulko.com/getting-started-with-rauc-on-raspberry-pi-2/ to understand if my custom image was the issue issue or also on the default one.
It seems that even in a default configuration, the /home extra partition isn't mounted after a rauc update.
Just to give a quick example:

build image as usual
flash image to rpi
boot and see that /home is in /etc/fstab (probably generated by https://github.com/leon-anavi/meta-rauc-community/blob/master/meta-rauc-raspberrypi/wic/sdimage-dual-raspberrypi.wks.in), /boot is also duplicated because of wic appending to the custom fstab file which already contains the boot partition
create bundle with bitbake update-bundle
download and  rauc install the bundle on the other partition
reboot
after reboot on the other slot /home isn't mounted and /etc/fstab only contains https://github.com/leon-anavi/meta-rauc-community/blob/master/meta-rauc-raspberrypi/recipes-core/base-files/files/fstab so only /boot is mounted

So I think the two viable solutions are to either:

add /home to /etc/fstab manually
figure out why the wic generated fstab doesn't apply to rauc bundle
or?

@alex88 There is no need to figure out why the wic-generated fstab doesn' apply to rauc bundle as wic is not involved in the image that ends up in the bundle. wic uses the generated rootfs partition image and manipulates this when creating the disk image.
The RAUC bundle of course uses the partition image only.
So the proper solution for this is to place the mount into /etc/fstab via manipulation of base-files.bb or, if you have systemd, make sure you have a mount unit set up for home.

Got it thank you!


Persist data in memory

Fix for https://github.com/driftyco/ionic-conference-app/issues/359

Awesome, thanks!


https://raw.githubusercontent.com/MicrosoftLearning/mslearn-databricks/main/Instructions/Exercises/LA-08-Run-notebook-Data-Factory.md

A recent QA run has found the following issues:
Task 'Create a notebook' / Step 6 -- "Process Data" could be enclosed in backticks to allow copying into lab. (best practice to do this in GH so all ALHs can use)

Task 'Create a linked service in Azure Data Factory' / Step 6 -- In the list of parameters "Name", and "Description" could be enclosed in backticks to allow copying into lab. (best practice to do this in GH so all ALHs can use)

Task 'Create a linked service in Azure Data Factory' / Step 6 -- "AutoResolveInegrationRuntime" should be "AutoResolveIntegrationRuntime"
Task 'Create a pipeline' / Step 3 -- "Process Data with Databricks" could be enclosed in backticks to allow copying into lab. (best practice to do this in GH so all ALHs can use)

Task 'Use a pipeline to run the Azure Databricks notebook' / Step 5 -- "Process Data" could be enclosed in backticks to allow copying into lab. (best practice to do this in GH so all ALHs can use)

Resolved with update #52


display of time values incorrect?

when using the influx shell, time values are only displayed as epoch. Per documentation:

SELECT * FROM h2o_feet LIMIT 5
name: h2o_feet

time			                 level description	      location	       water_level
2015-08-18T00:00:00Z	   below 3 feet		          santa_monica	   2.064
2015-08-18T00:00:00Z	   between 6 and 9 feet	   coyote_creek	   8.12
2015-08-18T00:06:00Z	   between 6 and 9 feet	   coyote_creek	   8.005
2015-08-18T00:06:00Z	   below 3 feet		          santa_monica	   2.116
2015-08-18T00:12:00Z	   between 6 and 9 feet	   coyote_creek	   7.887
Per my shell:
[root@influxDB ~]# influx
Visit https://enterprise.influxdata.com to register for updates, InfluxDB server management, and monitoring.
Connected to http://localhost:8086 version 0.10.0-nightly-8004f11
InfluxDB shell 0.10.0-nightly-8004f11

use NOAA_water_database
Using database NOAA_water_database
SELECT * FROM h2o_feet LIMIT 5
name: h2o_feet

time			level description	location	water_level
1439856000000000000	below 3 feet		santa_monica	2.064
1439856000000000000	between 6 and 9 feet	coyote_creek	8.12
1439856360000000000	between 6 and 9 feet	coyote_creek	8.005
1439856360000000000	below 3 feet		santa_monica	2.116
1439856720000000000	between 6 and 9 feet	coyote_creek	7.887
Has this display feature been removed?

@jhhayden
This is undocumented but if you type
> precision rfc3339

In the command line it will change the timestamps to the desired state.  I have started an issue on the docs repo to track this: https://github.com/influxdb/docs.influxdata.com/issues/109


Add FluentD chart

This is not a DaemonSet for Kubernetes logging
It is intended to be a replacement for logstash in an elastic-stack cluster

Thank you for contributing to kubernetes/charts. Before you submit this PR we'd like to
make sure you are aware of our technical requirements and best practices:

https://github.com/kubernetes/charts/blob/master/CONTRIBUTING.md#technical-requirements
https://github.com/kubernetes/helm/tree/master/docs/chart_best_practices

For a quick overview across what we will look at reviewing your PR, please read
our review guidelines:

https://github.com/kubernetes/charts/blob/master/REVIEW_GUIDELINES.md

Following our best practices right from the start will accelerate the review process and
help get your PR merged quicker.
When updates to your PR are requested, please add new commits and do not squash the
history. This will make it easier to identify new changes. The PR will be squashed
anyways when it is merged. Thanks.

/ok-to-test

/lgtm


recover from attempted deletion of class

This says it failed because of a whitespace problem in Theano, what should I do?

I'll have a look and try to fix it now.

OK, thanks, can someone please review it now?

I'm not familiar with that script, but would it be better to explicitly whitelist __class__ the same was as __dict__, rather than catch all TypeErrors?


Crash at CFRelease in ZXCapture when rotating

CGImageRef rotatedImage = CGBitmapContextCreateImage(context);
CFRelease(context);
When I rotate the device, I'm getting an EXC_BREAKPOINT exception at the CFRelease in createRotatedImage in the ZXCapture file. Is anyone else getting this in either the sample or in their own projects? Is there a work around?

same problem, any help?

Unfortunately, I can no longer provide support for this codebase, the topic will be closed. I recommend to take a look at https://github.com/zxing-cpp/zxing-cpp created and maintained by the very ambitious @axxel!
Hopefully this is already fixed with the overhaul of the sample app, cf. #527.


Android is not detected on samsung a12

Platform is detected as linux, running cordova app on samsung a12 (android 10)

Running the same app on ios allows to detect platform correctly

Hi @FreddyMcRay  Which version of the package do you use?

Hi @jankapunkt 1.2.0

Thank you I will add the platform and useragent to the tests and update the pattern detection

Could you please copy/patse the platform and useragent so I can use them in the tests?

navigator.platform
"Linux armv8l"

navigator.userAgent
"Mozilla/5.0 (Linux; Android 10; SM-A125F Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/90.0.4430.210 Mobile Safari/537.36"

Hey @FreddyMcRay  it auto closed the issue after PR merge :-D
Please install 1.2.1 and check if it works now.

@FreddyMcRay did it work out for you?

I haven't check yet. Will do today, thanks

Yes, it works


Transaction apps

This includes three additional libraries:

lib/tapp -- A library to create imperative-looking apps via the transaction monad.
lib/trad -- The asynchronous transaction monad.
lib/stdio -- A set of useful asynchronous functions (ie functions that produce values of the asynchronous transaction monad) for various standard requests (HTTP, timers, app pokes and peers, etc)

There are also two example apps to demonstrate how these apps can be created.  When we have real apps that use these libraries, maybe we should delete these, but for now I think this is the right place for them.
Notice how something like "fetch a web page" happens inline, with no need to cut your app into many functions to handle the different responses.  This is the main idea behind these libraries.  You can still cut your app by producing a move as an effect rather than in-line (which you want to do if you want to be able to upgrade or process other input before receiving a response), but this makes it easy to not do that when you don't want to.
This also provides a straightforward upgrade approach for situations where you're in the middle of an asynchronous computation.  In explicit state machines, you need to write specific code to be able to upgrade at any point regardless of whether you're in the middle of a computation.  In practice, we usually ignore this, risking breakage for any user in the middle of a computation.  With these imperative-style apps, if you upgrade in the middle of a computation, you can simply cancel the computation and restart it, since computations are transactions that span multiple events.
I'm not super happy with the names here, particularly lib/tapp and lib/trad.  For lib/trad, perhaps simply "async" would be better?  Then, for example, form:(async ,@) would be read as "the type of an asynchronous computation that produces an atom".  This name should be short because it's written pretty often.  Particularly, any code that uses it will have many functions that start with:
|=  ...
=/  m  (trad ,return-type)
^-  form:m

A note on style:  I use the =/  m  (trad ,return-type) pattern religiously at the top of each arm that will produce an asynchronous computation.  I think this is good because you'll find that you'll call form:m, pure:m, and bind:m often in the middle of the computation, and it's helpful when reading the code because it makes it immediately obvious what the computation produces.  This style should be enforced in lib/stdio and probably any apps that use it.

@philipcmonk I was thinking of building somethign small to try this out. Do you think something like pastebinit would work?

Yeah, that would be a good project.


Norwegian translation

Adding a Norwegian translation
Adding a Norwegian translation in Norwegian bokmål (nb aka nb_NO).

Thanks for your contribution @byeskille :)


Filter on file name

Great package, is it possible to filter on the name of the file?
For instance, I'm filtering a list of PDF's and need to do something like file.includes("My First PDF") within the filter function.

Nevermind, found my solution.


udpate workflow

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (d25fda7) 53.77% compared to head (0ecddab) 53.77%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #13   +/-   ##
=======================================
  Coverage   53.77%   53.77%
=======================================
  Files           8        8
  Lines         225      225
=======================================
  Hits          121      121
  Misses        104      104

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Starter projects for SvelteKit/Vite/Astro

While I think most folks will want to scaffold projects themselves and understand how things work. It may be beneficial to scaffold starter projects that folks can just clone down and go.
The process for generating these should be simple enough, just go through a the Skeleton documentation from Getting Started and on. I might suggest constructing a simple welcome page with a few components like this:

<Card>

Welcome to Skeleton

You can edit this page in (localtion_per_framework).

        <Button variant="filled-primary" href="https://skeleton.brainandbonesllc.com/" target="_blank">Documentation</Button>
        <Button variant="ghost" href="https://github.com/Brain-Bones/skeleton" target="_blank">GitHub</Button>

</Card>

NOTE: wrote this markup quickly, please verify it's accurate when implementing!

Repo name should follow a convention, like: skeleton-sveltekit-starter.
I'll aim to host these under the B&B organization for now like this Skeleton project. If someone picks this up let me know and I'll fork it. We'll also need to update the homepage Getting Started docs to provide this option.
Long term we'll want to have an automated process to build these on the fly with the latest dependencies, etc. This will keep things from getting stale.

On second thought, let's hold off until we reach more of a stability point with the library. Close to the v1.0 launch.


Let'add New Sliver tools

Let's add new sliver tools in Flutter from the box
You can have a lot of setState above and another 1001 stuff that can make your application laggy. And it is hard to find balance sometimes balance between the performance and clarity of your code. Maybe new SliverTools would be good for that for example https://pub.dev/packages/sliver_tools

Thanks for the report @Hellomik2002
Since not each and every functionality / feature can be a part of the framework itself, hence there are community packages that helps to bridge the gap and that's why we see the package that you shared exists so that the devs can use it to implement per their requirement. I think it would be good to open the issue / proposal in respective package's repo that can help to achieve your case.
Let me know what do you think of this and it is something ok to do.


nixos/adguardhome: Allow for empty/unmanaged configs

This commit fixes broken non-declarative configs by making the assertions more relaxed.
It also allows to remove the forced configuration merge (functionally equivalent to the old explicit bindHost and bindPort settings) by making settings nullable.
Both cases (trivial non-declarative config and nullable config) are verified with additional tests.
Fixes #198665
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[X] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

@mateon1 Does this work for you?

I wonder whether we could drop mutableSettings if settings is null, either way.

@winterqt
I don't see a reason against it. Setting settings = {}; loads the default values for the declarative side, but settings = null; loads default values from the imperative side. I'll change it.

@mateon1 Does this work for you?

I can confirm that the latest commit, 1bc9f8c builds with my config. I unfortunately can't test whether it runs because of an unrelated issue, #198319 preventing me from switching on my system.
The built adguardhome.service unit is identical to the working one on my system (/nix/store/xhz9dkj7bcaq31drfl64r1kg2jlpqsb8-unit-adguardhome.service), so I'm optimistic.

@winterqt Fixed the .# file (which I somehow missed completely while amending, sorry for the noise) and the commit header.
Also made the description a bit more explicit about default behavior

So, just to be clear, this returns the behavior that a 22.05 user would expect in their config (assuming all they did was enable the service), as the commit that broke this configuration was 1526a1b04145ba66e10127c7d6f0ef1a3d30cfcd, because this condition could never be true (since settings is now a submodule with default values), right?

@winterqt Correct.
If the user runs a nondeclarative config, mutableSettings needs to be true either way to make sense (which is the default value). So by changing the condition of the assertion, it might be a bit more relaxed, but it allows for nondeclarative configs.
By making settings nullable, we also allow for completely non-declarative configurations, as we need some condition (which previously was settings == {}) to check whether there are any declarative options to merge with the existing config.

I think it would be great to have this merged before branch-off, as the current state in master is not ideal.

Sorry, I've been busy. (Plus, branch-off isn't for another 2 weeks.)
@ofborg test adguardhome

Documentation is updated and commits are squashed.

@ofborg test adguardhome


Customise shim per entrypoint

Hi! I have been using this package for a little while, and stumbled now upon a slight issue. When creating a multi-entrypoint package where each entrypoint supports a different subset of features, for example:

one entrypoint for system, where fs and env is needed
one entrypoint for browser, where document is needed
one entrypoint for react components etc

It would be great if each entrypoint (the interface EntryPoint) would contain a shims property (interface ShimOptions) that would override the top-level shims property.

@dsherret I could potentially assist with a PR here, but could you give me some pointers on where you think this change should happen? I had a look through the codebase, and it seems a bit like a larger refactor would be needed, so if you have any pointers, that could save me a lot of time :)


How should i use the branch 5.0?

i find there is not a compiled .zip file for version 5.0,  and i download the project,but i don't know how to compile it myself for my elasticsearch 5.0 , and there is not a pom file ...i donnot know why   I am a newbird,please help me. thank you very much

Branch 5.0 is still ongoing development. More info to come when it will be released.

Any updates on this @jprante please?
Thanks

want to know this also. thx

Also interested in an update on support for ES5 @jprante . Any idea when it might be ready? Can we help test?

@jprante has done a more thorough job here, but if you need ES 5 support in the meantime you can try: https://github.com/kohesive/elasticsearch-data-import-handler but don't expect the same feature set, for example CRON would be done outside the process.  @jprante I hope you don't mind me putting this here, these issues are just aging so giving an alternative.  I respect your work, not trying to steal from it :-D


nixos/sysctl: define merge function for net.core.wmem_max

Description of changes
Analogous to #199504 but for wmem_max.
Also simplify the code of the aerospike NixOS module a bit.
cc @kalbasit as the author of that module.
Read the commit messages for a little more detail.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[x] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Closing as #274110 (which was created after this PR) was merged.


Added freqsweep instrument

Added an instrument to sweep a workload across all available frequenices
for both big and little cores

I think it would be useful if this could be extended/generalised to make it work on non-big.LITTLE systems. There are plenty of systems which are non-big.LITTLE, but it would still be useful to get a workload vs CPU frequency profile.
Does it also make sense to enable runs on more than one core?

Would an agenda interface like this work?
freqsweep:
sweeps:
- 0-3
- 0,1,4
- 4
Where each list entry is a sweep and numbers correspond to what cores will be active during that sweep


Failed to execute removeChild on Node

Problem Description
Hello. Can you help to understand why I am getting this issue? If you see the video capture I have a module that loads a carousel with content from posts. I can change some properties and everything renders again good. But as soon as I close the module properties popup and pass over the module with the cursor I get this error: Failed to execute removeChild on Node.
Screenshot and/or gif
https://www.dropbox.com/s/p444bvha7hlc01u/Failed to execute removeChild on Node.mp4?dl=0

QA Checklist
Reporter

[ ] Helpful title used

Helpful title format: Scope(s) :: One Sentence To Describe The Issue
Example: VB :: Floating Toolbar :: Jumps To Top Of Page

[ ] Detailed description

Description should usually be 150+ characters.

[ ] Steps to reproduce included
[ ] Support Ticket URL included
[x] Image and/or gif

Developer

[ ] Steps to reproduce proven solved
[ ] Test included and coverage acceptable and all Tests passing?
[ ] PR description has layman's description of problem and solution and "Areas Affected" listed/explained?
[ ] PR branch includes latest commits from master branch (at the time of checking)?
[ ] Estimated points on issue
[ ] Proper code documentation and conventions?
[ ] Proper RTL appearance
[ ] i18n used if applicable
[ ] Ajax/Form used? Nonce used? Perms checked? All user input sanitized and validated? Intentional unsanitized/unescaped functions used?
[ ] Database saved/updated? Data sanitized and validated?
[ ] Variable output properly escaped and validated?

Peer Review

[ ] PR branch includes latest commits from master branch (at the time of checking)?
[ ] Steps to reproduce proven solved
[ ] Affected areas are tested and ok
[ ] Proper code documentation and conventions
[ ] Proper RTL appearance
[ ] i18n used if applicable
[ ] Test(s) included and coverage acceptable
[ ] Ajax/Form used? Nonce used? Perms checked? All user input sanitized and validated? Intentional unsanitized/unescaped functions used?
[ ] Database saved/updated? Data sanitized and validated?
[ ] Variable output properly escaped and validated?

Quality Assurance

[ ] All tests passed on CircleCI.
[ ] Steps to reproduce passed, the fix works.
[ ] No errors in console or output
[ ] Affected areas are tested and ok
[ ] The fix does not change a customer's website in any surprising or unintended way

[ ] If Divi's design is adjusted, settings are migrated gracefully and invisibly

Design Review

[ ] UI is to spec
[ ] UX is to spec
[ ] Design is to spec
[ ] No surprising visual changes to a customer's website will be experienced after updating

[ ] Any/all visual changes are migrated gracefully

Dev Review

[ ] Test(s) included and coverage acceptable
[ ] Ajax/Form used? Nonce used? Perms checked? All user input sanitized and validated? Intentional unsanitized/unescaped functions used?
[ ] Database saved/updated? Data sanitized and validated?
[ ] Variable output properly escaped and validated?
[ ] i18n used if applicable
[ ] Implementation acceptable, DRY, Scaleable, future safe
[ ] Best practices used, cleverness and grokage, ES6 use, etc.

Sorry for the delayed response! Could you post the module's JS code here?


Add target based scaling support for MSSQL

This PR adds support for target based scaling. It builds upon https://github.com/Azure/azure-functions-durable-extension/pull/2452. This PR is in draft mode since it hasn't been tested E2E yet.
Changes:

[x] Add SqlMetricsProvider and move GetMetricsAsync() code from SqlScaleMonitor here
[x] Add SqlTargetScaler (implements ITargetScaler)
[x] Override TryGetTargetScaler in SqlDurabilityProvider
[x] Add unit tests
[ ] E2E testing

Quick note: I've successfully tested these changes in the Azure Functions SCv3 integration test code.


Imported Data / user-def Function - only one can be enabled at any instance

Imported_data_vs_Function.zip
model_example2.txt

Outdated / irrelevant to current mobius userdefined functions. No issues detected.


Output folder should be created with added date-time

Context
When developing processing pipelines, we need to run sct_run_batch multiple times. While doing so, we need to be well organized and manually call output folders with a different names. Ex:
sct_run_batch -i config -path-output results_20210309_115720
sct_run_batch -i config -path-output results_20210309_115820
sct_run_batch -i config -path-output results_20210310_130440

Suggestion
Change the default output folder from "./" to "results_YYYYMMDD_HHMMSS"

+1 for ISO 8601 compliance. https://en.wikipedia.org/wiki/ISO_8601.

yes, always ISO8601


Primer names (alt suffix)

Hello
I'm a little confused about the difference between the primers with the same number but with the "alt" suffix. Should i use these alt primers instead of the original one?  (nCoV-2019_89_LEFT_alt2 instead of nCoV-2019_89_LEFT, for example).
Thank you
Leonardo

You should use all the ones that are specified in the TSV file.


Fix: readme docker link outdated

Change Log:

update readme

Problem:

Solution:

Issue Tracking: #

pr check not trigged


authentication_public_key

A signature certificate is required in the mine pool agreement
"authentication_public_key" where we can find this public key

get launcher_id: chia plotnft show, then: chia plotnft get_login_link -l {launcher_id}.

Thank you so much! I found "authentication_public_key" in the log information of the mine pool, but I ran into a new problem, and I found that the parameters passed in the BLS signature were the private key code here
"
sk: PrivateKey = AugSchemeMPL.key_gen(seed)
signature: G2Element = AugSchemeMPL.sign(sk, message)"
I don't know if there's a problem with my understanding

On the pool side, authentication_public_key in the farmer table. you can look here.
For BLS signature, please refer to the chia-blockchain project.


Unable to extract key and certificate from PKCS#12 certificate from Azure Key Vault

I am facing issues when I try to extract the key and certificate from PKCS#12 certificate from Azure Key Vault. I have followed the steps in Extract Keys and Certificates from PKCS#12 Archive.
When I use the following manifest:
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: kv-certs-dev
spec:
  refreshInterval: 24h
  secretStoreRef:
    kind: ClusterSecretStore
    name: kv-certs-dev

  target:
    template:
      type: kubernetes.io/tls
      engineVersion: v2
      data:
        tls.crt: "{{ .wildcard | pkcs12cert }}"
        tls.key: "{{ .wildcard | pkcs12key }}"

  data:
  - secretKey: wildcard
    remoteRef:
      # type/name of certificate in the Azure KV
      key: cert/Wildcard

I get from the controller Pod:
{"level":"error","ts":1657817762.8494573,"logger":"controller.externalsecret","msg":"Reconciler error","reconciler group":"external-secrets.io","reconciler kind":"ExternalSecret","name":"kv-certs-dev","namespace":"ingress-nginx","error":"could not apply template: could not execute template: unable to execute template at key tls.crt: unable to execute template at key tls.crt: template: tls.crt:1:20: executing \"tls.crt\" at <pkcs12cert>: error calling pkcs12cert: unable to decode pkcs12 certificate with password: pkcs12: error reading P12 data: asn1: structure error: tags don't match (2 vs {class:0 tag:16 length:1615 isCompound:true}) {optional:false explicit:false application:false private:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} int @4","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.2/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.2/pkg/internal/controller/controller.go:227"}

But if I add the function to unlock the certificate:
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: kv-certs-dev
spec:
  refreshInterval: 24h
  secretStoreRef:
    kind: ClusterSecretStore
    name: kv-certs-dev

  target:
    template:
      type: kubernetes.io/tls
      engineVersion: v2
      data:
        # if needed unlock the pkcs12 with the password
        tls.crt: '{{ .wildcard | pkcs12certPass "secret2022" }}'
        tls.key: '{{ .wildcard | pkcs12keyPass "secret2022" }}'

  data:
  - secretKey: wildcard
    remoteRef:
      # type/name of certificate in the Azure KV
      key: cert/Wildcard

I get from the controller Pod:
{"level":"error","ts":1657822034.8464136,"logger":"controller.externalsecret","msg":"Reconciler error","reconciler group":"external-secrets.io","reconciler kind":"ExternalSecret","name":"kv-certs-dev","namespace":"ingress-nginx","error":"could not apply template: could not execute template: unable to execute template at key tls.crt: unable to execute template at key tls.crt: template: tls.crt:1:20: executing \"tls.crt\" at <pkcs12certPass \"secret2022\">: error calling pkcs12certPass: unable to decode pkcs12 certificate with password: pkcs12: error reading P12 data: asn1: structure error: tags don't match (2 vs {class:0 tag:16 length:511 isCompound:true}) {optional:false explicit:false application:false private:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} int @4","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.2/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.2/pkg/internal/controller/controller.go:227"}

Could I missing something?
From the Azure Key Vault documentation we can see:

Only require a certificate password when you import the certificate in the key vault. Key Vault doesn't save the associated password. When you export the certificate, the password is blank.

Can we use a similar approach to get the certificate and key from a PKCS#12 certificate on Azure Key Vault?
As an interesting point when I use the following manifest:
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: kv-certs-dev
spec:
  refreshInterval: 24h
  secretStoreRef:
    kind: ClusterSecretStore
    name: kv-certs-dev

  target:
    name: raw-cert
    creationPolicy: Owner

  data:
  - secretKey: raw
    remoteRef:
      key: cert/Wildcard

The raw-cert secret (Opaque type) is created with the RAW PKCS#12 certificate, which is expected but I would like to get the certificate in a secret of type kubernetes.io/tls.

Hi @carlosbustillordguez ! This is related to how Keyvault works. In order to get the key of a certificate you need to get the information from its secret path (not cert). Im not 100% sure if you would need to specify a password as well, but this manifest should be the working one (try with or without passwords):
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: kv-certs-dev
spec:
  refreshInterval: 24h
  secretStoreRef:
    kind: ClusterSecretStore
    name: kv-certs-dev

  target:
    template:
      type: kubernetes.io/tls
      engineVersion: v2
      data:
        tls.crt: '{{ .wildcard | pkcs12cert "secret2022" }}'
        tls.key: '{{ .wildcard | pkcs12key  "secret2022" }}'

  data:
  - secretKey: wildcard
    remoteRef:
      # type/name of certificate in the Azure KV
      key: secret/Wildcard  # AZ Keyvault ways of working

Hi @gusfcarvalho! Thank you for your reply. I followed your instructions (with and without password), but I am getting the same error:
{"level":"error","ts":1658050605.4065244,"logger":"controller.externalsecret","msg":"Reconciler error","reconciler group":"external-secrets.io","reconciler kind":"ExternalSecret","name":"kv-certs-dev","namespace":"default","error":"could not apply template: could not execute template: unable to execute template at key tls.crt: unable to execute template at key tls.crt: template: tls.crt:1:15: executing \"tls.crt\" at <pkcs12certPass \"secret2022\">: error calling pkcs12certPass: unable to decode pkcs12 certificate with password: pkcs12: error reading P12 data: asn1: structure error: tags don't match (16 vs {class:1 tag:13 length:73 isCompound:false}) {optional:false explicit:false application:false private:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} pfxPdu @2","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.2/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.2/pkg/internal/controller/controller.go:227"}

I created a self-signed certificate in Azure Key Vault (this does not need a password) to see if it makes a difference, but I got the same error:
{"level":"error","ts":1658050909.5778883,"logger":"controller.externalsecret","msg":"Reconciler error","reconciler group":"external-secrets.io","reconciler kind":"ExternalSecret","name":"kv-certs-dev","namespace":"default","error":"could not apply template: could not execute template: unable to execute template at key tls.crt: unable to execute template at key tls.crt: template: tls.crt:1:15: executing \"tls.crt\" at <pkcs12cert>: error calling pkcs12cert: unable to decode pkcs12 certificate with password: pkcs12: error reading P12 data: asn1: structure error: tags don't match (16 vs {class:1 tag:13 length:73 isCompound:false}) {optional:false explicit:false application:false private:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} pfxPdu @2","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.2/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.2/pkg/internal/controller/controller.go:227"}

Maybe try this: https://github.com/external-secrets/external-secrets/issues/1265#issuecomment-1155622342
It's weird how AZKV stores certificate containers :shrug:

Hello @moolen!! Thank you for your reply Now is working!! Which did the trick was decoding the key/cert before getting it.
I used the following manifest (following your hint and from @gusfcarvalho) to sync the PKSC#12 certificate in Azure Key Vault:
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: app-dev
spec:
  refreshInterval: 24h
  secretStoreRef:
    kind: ClusterSecretStore
    name: certs-aks-test-2022
  target:
    template:
      type: kubernetes.io/tls
      engineVersion: v2
      data:
        tls.crt: "{{ `{{ .mycert| b64dec | pkcs12cert }}` }}"
        tls.key: "{{ `{{ .mycert | b64dec | pkcs12key }}` }}"
  data:
  - secretKey: mycert
    remoteRef:
      # type/name of certificate in the Azure KV
      key: secret/mycert

It's weird how AZKV stores certificate containers 🤷
Totally agree with you... :)

Would be nice to add a clear example to the documentation, for instance here or here. I can do that, let me know your thoughts and the right place to add it.

hey @carlosbustillordguez glad to hear that!
I'd put it into the azure provider docs, i would love to see a PR for that :heart: :pray:

Hi @moolen! I have opened the PR #1387. I only added the changes to the Azure provider docs, but I noted this link contains an example to extract the cert and the key from a PKCS#12 certificate. Should we add there the Azure Key Vault example too or it is a more general example?

The templating guide is more a general piece of information that is not tied to any provider. I think we're good with your PR :+1:
I'm gonna close this one then. Feel free to comment/reopen if anything is left to do


Cant drag this skin

So I got the visualizer to work and it moves when sound is playing. My problem is that I can't move it at all. When I try to make it draggable through rainmeter it has it locked so I can't change it. Any solutions?

Have you tried unchecking "Keep on screen" at Rainmeter manager for the visualizer?

No but I’ll be sure to try that. If this changes anything I late found out that I can’t move any of my skins on Rainmeter. I tried deleting and reinstalling some skins but it didn’t change anything.

So I tried your suggestion but it didn't seem to work at all. Here's what is looks like

Why is "Draggable" off? That setting is supposed to be on if you want to drag the visualizer around.
ah i guess that's the problem. don't know how to fix that.

Having the same issue here and have tried the above mentioned as well. Also to note: the "Draggable" option is also greyed out for me.

Are other skins also not draggable? Try going to the Rainmeter manager and click on the settings tab at the top, there is an option that disables dragging. If it is on, that's probably why you can't drag anything, and you have to turn it off so the other draggable toggles will stop being grey.

This seems to be an issue with your local Rainmeter installation, check if you have the latest version of Rainmeter installed and check if the Rainmeter.ini file has correct permissions (needs to have write access).
Since it's about a month since the last reply, i'll assume this issue has been fixed. If not, please reply as a comment down below!


[BUG] Cannot start crc after computer reboot

General information

OS:  Windows
Hypervisor: Hyper-V
Did you run crc setup before starting it (Yes/No)? YES
Running CRC on: Laptop

CRC version
crc version
CodeReady Containers version: 1.31.2+19538dab
OpenShift version: 4.8.4 (not embedded in executable)

CRC status
crc status --log-level debug
DEBU CodeReady Containers version: 1.31.2+19538dab
DEBU OpenShift version: 4.8.4 (not embedded in executable)
DEBU Running 'crc status'
DEBU Checking file: C:\Users\AAUser\.crc\machines\crc\.crc-exist
DEBU Checking file: C:\Users\AAUser\.crc\machines\crc\.crc-exist
DEBU Running '( Hyper-V\Get-VM crc ).state'
DEBU Running SSH command: df -B1 --output=size,used,target /sysroot | tail -1
DEBU Using ssh private keys: [C:\Users\AAUser\.crc\machines\crc\id_ecdsa C:\Users\AAUser\.crc\cache\crc_hyperv_4.8.4\id_ecdsa_crc]
DEBU SSH command results: err: ssh: handshake failed: read tcp <IP_ADDRESS>:50482-><IP_ADDRESS>:2222: wsarecv: An existing connection was forcibly closed by the remote host., output:
DEBU Cannot get root partition usage: ssh command error:
command : df -B1 --output=size,used,target /sysroot | tail -1
err     : ssh: handshake failed: read tcp <IP_ADDRESS>:50482-><IP_ADDRESS>:2222: wsarecv: An existing connection was forcibly closed by the remote host.\n
DEBU cannot get OpenShift status: Get "https://api.crc.testing:6443/apis/config.openshift.io/v1/clusteroperators": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
CRC VM:          Running
OpenShift:       Unreachable (v4.8.4)
Disk Usage:      0B of 0B (Inside the CRC VM)
Cache Usage:     14.38GB
Cache Directory: C:\Users\AAUser\.crc\cache

CRC config
crc config view
- consent-telemetry                     : no

Host Operating System
Host Name:                 DESKTOP-******
OS Name:                   Microsoft Windows 10 Enterprise
OS Version:                10.0.19043 N/A Build 19043
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          ******
Registered Organization:   ******
Product ID:               ***********
Original Install Date:     02.08.2021, 19:23:46
System Boot Time:          28.08.2021, 9:03:40
System Manufacturer:       LENOVO
System Model:              20UES1351L
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: AMD64 Family 23 Model 96 Stepping 1 AuthenticAMD ~1700 Mhz
BIOS Version:              LENOVO R1BET36W(1.05 ), 11.06.2020
Windows Directory:         C:\windows
System Directory:          C:\windows\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague
Total Physical Memory:     31 976 MB
Available Physical Memory: 12 481 MB
Virtual Memory: Max Size:  36 584 MB
Virtual Memory: Available: 15 410 MB
Virtual Memory: In Use:    21 174 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    WORKGROUP
Logon Server:              \\DESKTOP-FU0TMB8
Hotfix(s):                 9 Hotfix(s) Installed.
                           [01]: KB4601050
                           [02]: KB4562830
                           [03]: KB4570334
                           [04]: KB4577266
                           [05]: KB4580325
                           [06]: KB4586864
                           [07]: KB5000736
                           [08]: KB5005033
                           [09]: KB5005260
Network Card(s):           8 NIC(s) Installed.
                           [01]: Realtek PCIe GbE Family Controller
                                 Connection Name: Ethernet 2
                                 Status:          Media disconnected
                           [02]: Intel(R) Wi-Fi 6 AX200 160MHz
                                 Connection Name: Wi-Fi
                                 DHCP Enabled:    Yes
                                 DHCP Server:     <IP_ADDRESS>
                                 IP address(es)
                                 [01]: <IP_ADDRESS>
                                 [02]: fe80::8875:b2e0:e0bd:3a58
                           [03]: Realtek PCIe GbE Family Controller
                                 Connection Name: Ethernet 3
                                 Status:          Media disconnected
                           [04]: Bluetooth Device (Personal Area Network)
                                 Connection Name: Bluetooth Network Connection
                                 Status:          Media disconnected
                           [05]: Cisco AnyConnect Secure Mobility Client Virtual Miniport Adapter for Windows x64
                                 Connection Name: Ethernet 4
                                 Status:          Hardware not present
                           [06]: Lenovo USB Ethernet
                                 Connection Name: Ethernet 5
                                 Status:          Media disconnected
                           [07]: Hyper-V Virtual Ethernet Adapter
                                 Connection Name: vEthernet (Default Switch)
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: <IP_ADDRESS>
                                 [02]: fe80::5c08:e5ce:3060:e73
                           [08]: Hyper-V Virtual Ethernet Adapter
                                 Connection Name: vEthernet (WSL)
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: <IP_ADDRESS>
                                 [02]: fe80::902a:a4d0:c921:cf0e
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

Steps to reproduce

Installed and setup and run CRC without problem for couple of days
My PC rebooted to install some Win updates
After reboot:
- crc VM was running
- but I cannot connect to web console and api console (connection reset)
I shut down VM, and tried crc start  - it got stuck on CodeReady Containers instance is running with IP <IP_ADDRESS> , in debug it can be seen that crc is trying to ssh to VM and connection was closed.
I tried to reboot whole computer several times - same problem

Expected
CRC to work after reboot
Actual
Fails to start after reboot -   I think it has to do something with network configuration,
from crc start debug log I can see that it is using Default Hyper-V virtual switch.   What I saw in past that this switch does not have fixed IP range, but it changes after boot (I guess to avoid conflicts with local networks and VPNs, but I saw changes also when I reboot on same network).
crc is using <IP_ADDRESS> to comunicate with VM (I guess there is some port forwading set up) -  and VM after restart migh have different IP - so it'll not work? Just guessing.
Here is debug log for crc start  : https://gist.github.com/izderadicka/233b1fce9385f223ff688bf16301e3e1
I do not want to delete now, as I have there some work I'd like to save -  is there any way how to fix the network setup only??

Is the tray or crc daemon running? It must run to get functional networking.

@guillaumerose
Yes tray is running - this is the log shown in tray app:
Checking if running in a shell with administrator rights
Checking Windows 10 release
Checking Windows edition
Checking if Hyper-V is installed and operational
Checking if crc-users group exists
Checking if current user is in Hyper-V Admins group
Checking if Hyper-V service is enabled
Checking if the Hyper-V virtual switch exists
Found Virtual Switch to use: Default Switch
Checking if vsock is correctly configured
listening vsock://00000400-FACB-11E6-BD58-64006A7986D3
listening \\.\pipe\crc-http

I do not want to delete now, as I have there some work I'd like to save

If you didn't perform a clean shutdown, it might be possible the virtual disk is corrupted.

ssh: handshake failed: read tcp <IP_ADDRESS>:50482-><IP_ADDRESS>:2222:

n recent releases of CRc we moved from the Virtual Switch setup to using a usermode network stack. This means you get some ports assigned on localhost that point to the VM. Hence you see <IP_ADDRESS> now and no 'Virtual Switch' reference.
Can you share a screenshot of the Hyper-V manager for the CRC machine? It might be able to show if the VM actually started or not.

@gbraad
I actually went through delete, clean and setup steps -   the CRC was working then as expected. But I think I can easily simulate the problem if I just restart the PC without stopping CRC.   After reboot I'm basically in same situation, which is:

VM is running

But I cannot connect to VM - neither web console, oc console, nor crc stop is working (as it first tries to ssh to machine to stop kubelet:

crc stop --log-level debug
DEBU CodeReady Containers version: 1.31.2+19538dab
DEBU OpenShift version: 4.8.4 (not embedded in executable)
DEBU Running 'crc stop'
DEBU Checking file: C:\Users\ZZ0734668\.crc\machines\crc\.crc-exist
INFO Stopping kubelet and all containers...
DEBU Using root access: Executing systemctl stop kubelet
DEBU Running SSH command: sudo systemctl stop kubelet
DEBU Using ssh private keys: [C:\Users\ZZ0734668\.crc\machines\crc\id_ecdsa]
DEBU SSH command results: err: dial tcp <IP_ADDRESS>:2222: connectex: No connection could be made because the target machine actively refused it., output:
Executing systemctl action failed:  ssh command error:
command : sudo systemctl stop kubelet
err     : dial tcp <IP_ADDRESS>:2222: connectex: No connection could be made because the target machine actively refused it.\n:

Thank to your notion about user mode  network, I got some clue.
Before reboot I noticed that ports 2222, 443, 6443, 80  are served by crc.exe daemon -watchdog process.   After reboot this process is running (together with other two processes):
Get-Process | Select-Object -Property ProcessName,Id, HasExited, Responding | select-string "crc"

@{ProcessName=crc; Id=7420; HasExited=False; Responding=True}
@{ProcessName=crc-admin-helper-windows; Id=5940; HasExited=; Responding=True}
@{ProcessName=crc-tray; Id=5844; HasExited=False; Responding=True}

However crc daemon is not listening on those ports (I checked with Get-NetTCPConnection -State Listen | Select-Object -Property LocalAddress,LocalPort,@{'Name' = 'ProcessName';'Expression'={(Get-Process -Id $_.OwningProcess).Name}} - these ports 2222, etc are not being listen on.
Just killing and restarting crc daemon did not help.  I needed to:

stop manually  VM in Hyper-V console.
run again crc start -  then VM is started and crc daemon starts to listen on ports 2222, 443 ....

My problem was that not every time crc start was successful after reboot (and manual stop of VM)-     I have tried couple of time and after some reboots it never started to communicate with VM (though VM was started) -  failed that it cannot run ssh on localhost:2222 (as can be seen - in previous logs).   I'm guessing that in that case crc daemon did not open tunnel for ssh on 2222? But do not know why.
Maybe problem was with state of VM machine?   It was true that for one of problematic reboots I have found in windows logs that  "kernel was rebooted without shutting down", which can lead to problems.  However other demonstration of the problem  (cannot start after reboot and manually stopping crc VM) was after normal reboot (with crc running).

But I think I can easily simulate the problem if I just restart the PC without stopping CRC.

With earlier versions of OCP it was not such a big problem, but we noticed in some tests with 4.8 that a forced stop could cause a corrupted fikesystem. Maybe we are hitting this?

@praveenkumar did we record an issue for that behavior? We might need to add a known issue?
We will try to repro this.
For now, please stop cleanly... And prevent disk full, as someone else also reported this can cause a similar issue.

@praveenkumar did we record an issue for that behavior? We might need to add a known issue?

It was https://bugzilla.redhat.com/show_bug.cgi?id=1975078 on 4.8 side.

Is this a scenario we can somehow try to repro ? /cc: @adrianriobo

I also have the some issue and solved it like izderadicka. I have to take 'shut down' (take some time) in Hyper-V on the VM to get it working again if i am not doing a proper crc close. After doing the shut down on vm then 'crc start' works as expected again. And sure it's easy to repro, just close your computer without doing a crc stop.

repro

as in an automated test ;-). Reboots or shutdowns are tests that take more time to setup

We also need to figure out if this is only 4.8 version which causing the issue or older 4.7 one also?

Is this a scenario we can somehow try to repro

This is possible, but it will require change a little bit the logic on testing, as then tests should run from outside of the target host to be able to control the reboot during the testing flow... I will add an issue to prioritize this

Interesting to note:

... seems there is a stop action defined, and we might also wanna disable checkpoints.