1s gfunction evaluation: numpy.linalg.LinAlgError: Singular matrix

When I tried to evaluate a gfunction at 1 second, I got an 'numpy.linalg.LinAlgError: Singular matrix' error.
The problem is, I think, caused by getting a all-zero matrix when calculating the thermal response factors, leading to a singular matrix. Whenever I try to run the code with an evaluation at 2 seconds, the thermal response factors are small (10^-200) but non-zero ...
The code I used was
import pygfunction as gt

borefield = gt.boreholes.rectangle_field(10, 12, 6, 6, 100, 4, 0.075)
gt.gfunction.gFunction(borefield, 1.25*10**-6, 1.).gFunc

I can create a function to check if the gfunction evaluation is at too small a timestep and make a PR, if you want to.

This is an issue I had during the implementation of g-functions into modelica-ibpsa.
The solution should still return values for all requested times, even if the result is zero. One option is to evaluate a threshold time value (e.g. min(r_b)^2/(25*alpha)). Only times above the threshold have their g-function calculated. For the times below, the g-function is linearized between 0 (at t=0.) and the g-function at the threshold time.
I am of course open to other ideas.

That can be an elegant solution, although linearisation will not solve the problem in and of itself I think. One can evaluate at 0.00001s so it will be 0 even with linearisation.
Shouldn't there be a threshold below which the concept of gfunctions doesn't make sence anymore due to the fact that we are totally in the range of short-term effect?

Regarding: "Shouldn't there be a threshold below which the concept of gfunctions doesn't make sence anymore due to the fact that we are totally in the range of short-term effect?"
Short time step g-functions (Yavuzturk and Spitler 1999) accounted for the transient conduction inside the borehole, based on 2-d radial-angular conduction, but did not account transit time or 3-dimensional effects.  They worked reasonably well down to about 15 minute time-steps, depending on conditions, but would give aphysical results if the time-step was too low.  This approach does, however, have the advantage of maintaining the same g-function definition, though the resulting borehole wall temperatures at low times might be thought of as an equivalent temperature.
To go lower requires consideration of the transit time effects.  One approach is detailed in Mitchell and Spitler (2020).  This recasts the g-function to give exiting fluid temperatures rather than borehole wall temperatures.
Mitchell, M. S. and J. D. Spitler. 2020. An Enhanced Vertical Ground Heat Exchanger Model for Whole-Building Energy Simulation. Energies 13(16): 4058. https://www.mdpi.com/1996-1073/13/16/4058
Yavuzturk, C. and J. D. Spitler. 1999. A Short Time Step Response Factor Model for Vertical Ground Loop Heat Exchangers. ASHRAE Transactions 105(2): 475-485.
From: Wouter Peere @.>
Sent: Tuesday, October 11, 2022 6:00 PM
To: MassimoCimmino/pygfunction @.>
Cc: Subscribed @.***>
Subject: Re: [MassimoCimmino/pygfunction] 1s gfunction evaluation: numpy.linalg.LinAlgError: Singular matrix (Issue #231)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe
That can be an elegant solution, although linearisation will not solve the problem in and of itself I think. One can evaluate at 0.00001s so it will be 0 even with linearisation.
Shouldn't there be a threshold below which the concept of gfunctions doesn't make sence anymore due to the fact that we are totally in the range of short-term effect?

Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMassimoCimmino%2Fpygfunction%2Fissues%2F231%23issuecomment-1275379138&data=05|01|spitler%40okstate.edu|e1a19051a6a94884896e08daabdc54d5|2a69c91de8494e34a230cdf8b27e1964|0|0|638011260051450452|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=aE17D68jYte7y5gDgSHqawod%2FqcMi%2B4u6v0X3Jglwp8%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAESOCDJNKPCBD534QCQQSMTWCXWPBANCNFSM6AAAAAARCIILAA&data=05|01|spitler%40okstate.edu|e1a19051a6a94884896e08daabdc54d5|2a69c91de8494e34a230cdf8b27e1964|0|0|638011260051450452|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=fmKUbt8q8kurWa2bsOdAgqzQ3mQP6vuAsJT2e8Gm2Sc%3D&reserved=0.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

@jeffreyspitler The paper you referenced was an interesting read. I think your comment is somewhat related to issues #149 and #44 (about the implementation of short-term g-functions). That would be indeed the most elegant solution in my opinion ...

Thank you @jeffreyspitler. I also missed the (Mitchell and Spitler 2020) paper.
There are 3 issues discussed here. The first one being the bug (this issue) and the other 2 related to short time steps.
When considering short time steps, there are two classes of g-function definitions :
(1) The "wall-to-ground" g-function
This one relates the effective borehole wall temperature variation (T_b) to the heat extracted at the borehole wall (Q_b), with T_b(t) = T_g - Q_b / (2*pi*k_s) * g(t). This can be coupled to a short time step model during a simulation to relate the heat extracted from the fluid (Q_f) to the heat extracted at the borehole wall (`Q_b) and consider effects such as variable (and intermittent) fluid mass flow rates. This is the approach currently implemented in modelica-ibpsa.
(2) The "fluid-to-ground" g-function (sometimes called the g*-function)
This one relates the effective borehole wall temperature variation (T_b) (or sometimes the mean or inlet fluid temperature) to the heat extracted from the fluid (Q_f), with T_b(t) = T_g - Q_f / (2*pi*k_s) * g*(t). As @jeffreyspitler pointed out, T_b can be an "effective" temperature derived from the steady-state thermal resistance.
When using a steady-state thermal resistance to model the boreholes, the two approaches are equivalent : Q_b = Q_f.
Ideally, both will eventually be available in pygfunction. For (1), only the cylindrical correction to the borehole geometry is missing (#44). For (2), we probably need the development of a new module into pygfunction (#149).

@wouterpeere I fixed the error on the issue231_singularMatrix branch. Let me know if that fixes your issues.


Arty

Hi @MervatELalem, thank you for the contribution! For the sake of clarity, please rename this PR - this is about GothamSoC support, not about the Arty board itself (which is just the platform you're running GothamSoC on I assume, but it's not the real target here).

Please look at adding device tree support for both the SoC and devices (like UART).

I am a bit confused why this is coming from @Mani-Sadhasivam fork and yours, are you collaborating in this fork? seems weird.

Hi @nashif
This is a RISCV core I was playing on the Arty board for learning purposes and it is not meant to be included in zephyr. Not sure how @MervatELalem submitted this without asking me.
Closing this PR.


Grunt failing when installing locally

Hello! I'm trying to install the dev dependencies in order to contribute, but grunt is failing when I run grunt preview I tried --force but that gave even more errors. Are the contributing docs out of date? Am I missing something?
Thank you!
❯ grunt preview                                                                     chartist-js/git/develop !
Running "clean:public" (clean) task
>> 0 paths cleaned.

jit-grunt: Plugin for the "assemble" task not found.
If you have installed the plugin already, please setting the static mapping.
See https://github.com/shootaroo/jit-grunt#static-mappings

Warning: Task "assemble" failed. Use --force to continue.

Aborted due to warnings.

Execution Time (2016-07-20 19:10:00 UTC-4)
loading tasks                78ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 82%
loading grunt-contrib-clean   3ms  ▇▇ 3%
clean:public                 14ms  ▇▇▇▇▇▇▇▇▇▇ 15%
Total 95ms

I've added the grunt-assemble plugin to devDependencies as pull request #746


rsyncExitReason is the error stack trace instead of stderr

The current definition for a BackupEvent rsyncExitReason is the stack trace of the error that rsync throws. It is not as descriptive and informative as the stderr message that rsync will print out on failure. The stderr message will help users debug their rsync issues.
Proposed solution: Write a function to parse the rsync stderr message and set that message as the rsyncExitReason.

Alternatively, just parse the stderr message when defining rsyncStats.error.


Disabling haddock

Revert when https://github.com/mlabs-haskell/mlabs-tooling.nix/issues/15 will be fixed

https://github.com/mlabs-haskell/mlabs-tooling.nix/issues/15 was fixed.


Change imports to work with functored AST

Unfortunately due to https://gitlab.haskell.org/ghc/ghc/-/issues/19507
this cannot be perfectly seamless.

@jgm Would you mind enabling CI for on this one too?

@tarleb - could you add CI to this repo?

Oh good, it did pass.


How do I correctly use Javascript callbacks for deeply nested forms?

Example:
I have a User that displays any number of nested Projects, and each of those Projects has any number of nested Tasks. This works fine. The problem is when I try to use a Javascript callback (e.g. cocoon:before-remove) on the Projects container, and a second instance of the same callback on the Tasks container. Clicking the Remove Task link triggers the event for the Projects container, presumably because the #projects div is a parent of the #tasks div and thus the cocoon:before-remove event is firing in both containers.
How should I do this? Assume the use case is that I want to display a different confirm message for each of the two cases (i.e. "Are you sure you want to remove this project?" and "Are you sure you want to remove this task?".
Thanks!

If you want a simple confirmation, you can use the following code (as we just wrap the normal link_to) :
= link_to_remove_association "remove task", f, data: {confirm:  'do you really want to do this?'}

However, if you really want to use the before-remove event, you can also make sure that the event stops propagating, using event.stopPropagation()

I'm still not having luck with stopPropagation but the confirm method seems to be working. Thanks!


SSR: ssrLoadModule issue

Describe the bug
description
I'm using antd in ssr mode, everytime startup vite devServer,  it took about 40s to start.
I've debug vite source code in local, and I found that the reason is: https://github.com/vitejs/vite/blob/main/packages/vite/src/node/server/transformRequest.ts#L234
I tested three conditions:

use antd and vite no ssr => fast
use only vite ssr, no UI lib => fast
use antd and vite ssr => slow

BTW, I think this is not related to #8850.
Reproduction
https://github.com/hemengke1997/vps-antd-repo
System Info
System:
    OS: Windows 10 10.0.22000
    CPU: (16) x64 Intel(R) Core(TM) i7-10700F CPU @ 2.90GHz
    Memory: 5.39 GB / 23.78 GB
  Binaries:
    Node: 16.14.2 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.18 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.5.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 63.0.3239.132
    Edge: Spartan (44.22000.120.0), Chromium (103.0.1264.37)
    Internet Explorer: 11.0.22000.120
  npmPackages:
    @vitejs/plugin-react: ^2.0.0 => 2.0.0
    vite: ^3.0.4 => 3.0.4

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I dont know why is this step took so long...

😁 I think maybe I've figure out where is the problem: https://github.com/vitejs/vite/blob/main/packages/vite/src/node/ssr/ssrModuleLoader.ts#L253
This step is unnecessary for the deps that should be optimizatiered, e.g. antd/ lodash （这一步对于antd/lodash这种需要被预构建的依赖来说，是没有必要的）
Because after deps optimization, the complex deps with so many modules(e.g. lodash, antd) has been build into .vite/deps. So, there is no need to resolve these deps. Maybe vite should reuse the optimizered files in ssr instead of rebuild and nodeResolve（因为在预构建之后，打包好的文件已经存在于 .vite/deps 中，并且可以直接用来使用，无关SSR。或许vite应该复用这些文件，而不是重新去解析文件，解析文件这个步骤非常耗时，在debug的过程中我发现vite会不断的去读取依赖的相关依赖，比如：a 引用了 b, b 引用了 c，vite就会去解析 a b c，但是既然已经打包好了，那么这个解析是没有必要的了）
I spent some time trying to understand the code, but it was a bit difficult for me to understand the context, so I didn't dare to pr, maybe I need the help of the maintainers
cc @sapphi-red  Thanks!

Maybe there should an option to skip unhookNodeResolve https://github.com/vitejs/vite/blob/main/packages/vite/src/node/ssr/ssrModuleLoader.ts#L304

I still have this problem in the 3.1.6 version 🥲

The deps optimizer currently works for browsers only, so SSR doesn't use the bundles from .vite/deps. There is experimental support for it with ssr.optimizeDeps though.

Thank you for your reply.
I tried using { ssr: { optimizeDeps: { include: ['antd'] } } }, and the startup is still very slow, up to a minute. I debugged vite's source code and found that the unhookNodeResolve function takes a very long time. After removing this function, it runs normally, and the startup speed only takes about 10s.

I'm also not a fan of unhookNodeResolve, but I wonder if #10401 could fix the perf problem too?

Even using WSL or a VS Code devcontainer, the issue can't be avoided. Seems like it may not be just a Windows issue. It also affects every vite-based meta framework I've tried with. Rakkas, astro, qwik, etc.
It seems like the only work around is to use a non-vite framework. Or to not use antd.

hookNodeResolve is removed in https://github.com/vitejs/vite/pull/11101. You can try the Vite 4 beta to test it out now.

I've checkout vite 4. For me, it's still took a long time to optimize deps.

The PR doesn't fix SSR optimize deps, but only for ssrLoadModule which is the problem in this issue?

Nice!!!!!!!!!!!!!!!!!
There is no problem now
I checkout<EMAIL_ADDRESS>then I add the heavy deps to ssr.optimizeDeps found that works well!!
ssr: {
  optimizeDeps: {
    include: ['antd', '...other heavy deps'],
    disabled: 'build'
  }
}

Thank you very much!  ❤ @bluwy

Thanks! Yes the performance has improved greatly for me with antd on vite-based frameworks using vite 4. I went from ~1m to 13-20s on Rakkas. I guess there's still work to be done on the prebundling performance.


Adding encryption support to Router

This patch adds encryption support to Router. Router relies on isEncrypted() in BlobProperties to determine if the blob needs to be encrypted or not during uploads. If set, both userMetadata and blob content will be encrypted. On Get path, the same will be decrypted before responding. In other words, the stream that comes out of router for a GetRequest will always match the plain content passed in.
Will update the link to the design doc in sometime.
Since this is a huge patch, I have dissected the patch into smaller modules for ease of review.

Modules in the patch are
1. CryptoJob and associated pieces
     - Since we need to encrypt blob content and user-metadata together, have fixed EncryptJob accordingly.
     - Since we migth decrypt either of blob content or user-metada or both(depending on GetOptions in the GetRequest), have fixed DecryptJob as well
     - Have fixed all tests
2. GetBlobInfoOperation
     - Added support for encryption
     - Fixed and added tests for the same
3. GetBlobOperation
     - Added support for encryption
     - Fixed and added tests for the same
4. PutOperation
     - Added support for encryption
     - Fixed and added tests for the same
5. Common files
     - Some of the files apply for most of the cases. But involves minor changes only. So please review these too.
6. Misc
     - Some files have been modified to enable new BlobProperties and new Header format. Will be removed once other patch(#800) is merged.

Guidelines for reviewing. This sections enlists the list of files that needs review for each of the above module.

1. CryptoJob and associated pieces
	Prod files
	    DecryptJob
	    EncryptJob
	Minor files (refactoring, wiring, cosmetic changes)
        GCMCryptoServiceFactory
        SingleKeyManagementServiceFactory
    Test files
        CryptoJobExecutorServiceTest
        SingleKeyManagementServiceTest

2. GetBlobInfoOperation
    Prod files
        GetBlobInfoOperation
        NonBlockingRouterFactory
    Minor files (refactoring, wiring, cosmetic changes)
        GetManager
        GetOperation
        NonBlockingRouter
    Test files
        MockServer
        GetBlobInfoOperationTest

3. GetBlobOperation
    Prod files
        GetBlobOperation
        NonBlockingRouterFactory
    Minor files (refactoring, wiring, cosmetic changes)
        GetManager
        GetOperation
        NonBlockingRouter
    Test files
        MockServer
        GetBlobOperationTest
        GetManagerTest

4. PutOperation
    Prod files
        PutOperation
        NonBlockingRouterFactory
    Minor files (refactoring, wiring, cosmetic changes)
        PutManager
        NonBlockingRouter
    Test files
        PutManagerTest

5. Misc files
       RouterConfig
       RouterFactoryTest
       RouterTestHelpers

6. Do not bother reviewing these files. Will go away once #800 is merged.
    BlobPropertiesSerDe
    MessageFormatRecord
    GetResponse
    ReplicaMetadataResponse

Assigning different modules to different reviewers so as to not flood any single person

1. CryptoJob and associated pieces: David : 20 mins
2. GetBlobInfoOperation: Gopal and Priyesh : 15 mins
3. GetBlobOperation : Priyesh and Casey : 30 mins
4. PutOperation : Gopal and Casey : 30 mins
5. Everyone : 5 mins

Clarifications
1. Haven't added encryption tests for PutOperation. Most of the the coverage for PutOperation comes via PutManagerTest and hence. And also, manipulating each poll() call in operation may not work well with encryption in the picture.

Pending tasks:
1. Some test classes are yet to be tested with encryption. Enlisting them here. Will add them in the next couple of days
   ChunkFillTest
   NonBlockingRouterTest
2. Adding metrics to track encryption.

Build failure is unrelated to encryption change as such. Changes are in #800. Will copy it for the time being.

Codecov Report

Merging #801 into master will increase coverage by 0.18%.
The diff coverage is 93.47%.

@@             Coverage Diff              @@
##             master     #801      +/-   ##
============================================
+ Coverage      66.7%   66.88%   +0.18%
- Complexity     4093     4110      +17
============================================
  Files           353      353
  Lines         26771    26979     +208
  Branches       3374     3407      +33
============================================
+ Hits          17858    18046     +188
- Misses         7970     7991      +21
+ Partials        943      942       -1

Impacted Files
Coverage Δ
Complexity Δ

...github.ambry.protocol/ReplicaMetadataResponse.java
62.26% <ø> (ø)
15 <0> (ø)
:arrow_down:

...mbry.router/SingleKeyManagementServiceFactory.java
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

...in/java/com.github.ambry.protocol/GetResponse.java
83.09% <100%> (ø)
21 <0> (ø)
:arrow_down:

.../main/java/com.github.ambry.router/GetManager.java
88.29% <100%> (+2.58%)
16 <0> (ø)
:arrow_down:

...ava/com.github.ambry.router/NonBlockingRouter.java
82.37% <100%> (+0.72%)
36 <0> (+2)
:arrow_up:

....github.ambry.router/NonBlockingRouterFactory.java
80% <100%> (+7.27%)
4 <2> (ø)
:arrow_down:

.../main/java/com.github.ambry.router/DecryptJob.java
100% <100%> (ø)
5 <2> (+2)
:arrow_up:

.../main/java/com.github.ambry.router/PutManager.java
85.13% <100%> (+0.3%)
22 <0> (ø)
:arrow_down:

...m.github.ambry.router/GCMCryptoServiceFactory.java
100% <100%> (ø)
2 <1> (ø)
:arrow_down:

...ain/java/com.github.ambry/config/RouterConfig.java
100% <100%> (ø)
1 <0> (ø)
:arrow_down:

... and 16 more

Continue to review full report at Codecov.

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

@nsivabalan seems like ./gradlew build is still failing? Is it succeeding locally?

@vgkholla @cgtz @pnarayanan : addressed all your reviews so far.

Casey for your comment : "IIRC, the array() method does not work on read-only byte buffers." Router is the one that sends user-Metadata and it constructs the bytebuffer from a byte[].

@cgtz @pnarayanan @vgkholla @dharju : updated the patch based on our discussions offline. You guys are good to review.

@pnarayanan : for your comment "onChunkOperationComplete() gets called from the poll() of the operation. Is that not sufficient?"
I was very happy initially when I saw that later during my progress, but later realized just for first chunk, we don't call onChunkOperationComplete in the operation poll(). We can get it working by some changes to the poll if need be. But we need to take a call if that's really necessary. Again, lets sync up offline on this too and see if we can get it done.

@pnarayanan @dharju : have addressed all your comments.

@vgkholla : for your comment "Only thing I'd like to remove the state Encrypting in in PutOperation - like the others": I would like to keep the Encrypting State. If not for it, I might have to use extra variables like encryptionRequired and/or encryptionInProgress which is nothing but the chunk's state. Or if you claim that we can make use of ProgressTracker like in GetBlob, we don't have operationTracker at this stage where in we are building the chunk or encrypting the chunk. So, for regular blobs, then progressTracker would be null (since there is no operation tracker and no decryptionStatusTracker). we might have to retro fit this logic into ProgressTracker which isn't the right thing to do in my opinion. If everyone feels the same way(to get rid of Encrypting state), will def look into it.

With the idea that threaded test fixes will be added in a future patch, I approve


Improve focus state of delete button

Before

After

I would expect that text only buttons have a focus state that is also text only (maybe just a different color)

I would expect that text only buttons have a focus state that is also text only (maybe just a different color)

It's good to have that focus circle as well for better accessibility

Button component update looks good. I made a small update to the icons to replace the trash icon with the one from the designs, and updated a couple other ones that were missing stroke and looked anemic when used. Extended the focus style to the module delete icon as well in detail-panel gts file.

Nice thanks. I went thru the changes and they look good particularly the spacing for the button on :focus state

I would expect that text only buttons have a focus state that is also text only (maybe just a different color)

It's good to have that focus circle as well for better accessibility

I think I agree with @burieberry
@jurgenwerk initially I thought your suggestion was the best but after consideration of accessibilty, I think it is difficult to choose a tasteful color palette for focus on delete button that gives a CLEAR contrast - in particular for the text-only option
I tried to change focus:hover to a var(boxel-dark) text and icon color
https://github.com/cardstack/boxel/assets/8165111/1a0bc211-8c37-422d-a737-8be8bd86ff7b
Even in the scenario of the "trash" icon. I don't think it is super clear
https://github.com/cardstack/boxel/assets/8165111/c9ac6aba-5944-4628-955e-d8bbe3852722
I think the below solution might still be the best
https://github.com/cardstack/boxel/assets/8165111/3b4885f7-4984-4ce2-ab17-bb5594e7dbfc
What do you guys think?

What do you guys think?

Looks good to me!


Deprecate and remove AsyncLogger and AEReception

These are no longer used.
Be sure the build and test and CI flows continue to work.

https://github.com/xtuml/munin/pull/216


feat: update navbar to match new design

#6128

@seve A couple other general comments while I'm waiting for rdev to refresh:

The main content div should have box-sizing: content-box and padding: 0px 40px in addition to the margin: 80px auto, so the content doesn't hit the edge when the viewport is smaller
The font-weight for the Embedding and Mode buttons should be medium (500) not semibold


Fix image importing

Description
By using the webpack 5 asset module loading mechanism.
closes #2198
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] Attached issue to pull request
[x] Changelog entry
[x] Code is clear and sufficiently documented
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[x] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )

Reviewer Checklist:

[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Code is clear and sufficiently documented
[ ] Correct, in line with design

I don't even see where we import fonts.

They are imported by the base.css file from Patternfly, so I would keep the font rule as it is.
We really didn't use some of the svg rules, so I removed those.

Processing this pull request

Merged into branches master, iso4 in 282d9068da8ca5e51457dde77d30885b8cd6315c


BAU - Better and more regular pruning of docker images on Jenkins

Ticket: https://trello.com/c/ycDYRwvi/1428-jenkins-data-volume-low-on-disk-space-again

prune all docker images without at least one container associated to them,
not just dangling ones
run cleaning task once a day, instead of weekly, to account for days where we
have an uncommon peak usage of Jenkins

We sometimes run low on disk space during periods of peak usage of Jenkins. An investigation spotted that pruning all docker images not in use freed up 28G.
See discussion on https://trello.com/c/ycDYRwvi/1428-jenkins-data-volume-low-on-disk-space-again
Signed-off-by: Paula Valenca<EMAIL_ADDRESS>

Nice! I didn't even know we had this job 😆 This change looks good to me.

I am concerned it may slow down our jobs a bit depending how often we re-use docker images, so I'll monitor it for a bit.

Nice! @phantas have you applied this new job config already? If not, give one of us a shout and we'll walk you through it.

Nice! @phantas have you applied this new job config already? If not, give one of us a shout and we'll walk you through it.

I RTFM. 😆 I will apply it in the afternoon.


App crashes when run

did a git pull fresh.
Loaded in Unity 2019.3.1f1
Set to UWP, built deployed to HL2, ran in Visual studio ARM64 Release, deployed to remote machine ip address fine.
App crashes on running, never comes up.
Get the following: (note the multiple exceptions and memory issues)
'Surfaces.exe' (Win32): Loaded 'U:\USERS\DefaultAccount\AppData\Local\DevelopmentFiles\SurfacesVS.Release_ARM64.user\Surfaces.exe'. Symbols loaded.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\ntdll.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\KernelBase.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\combase.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\ucrtbase.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\rpcrt4.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\kernel32legacy.dll'.
'Surfaces.exe' (Win32): Loaded 'P:\WindowsApps\Microsoft.VCLibs.140.00_14.0.27810.0_arm64__8wekyb3d8bbwe\vccorlib140_app.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\oleaut32.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\msvcp_win.dll'.
'Surfaces.exe' (Win32): Loaded 'P:\WindowsApps\Microsoft.VCLibs.140.00_14.0.27810.0_arm64__8wekyb3d8bbwe\vcruntime140_app.dll'.
'Surfaces.exe' (Win32): Loaded 'P:\WindowsApps\Microsoft.VCLibs.140.00_14.0.27810.0_arm64__8wekyb3d8bbwe\msvcp140_app.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\forwarders\kernel32.dll'.
The thread 0x1b04 has exited with code 0 (0x0).
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\procthreadexthost.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\msvcrt.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\kernel.appcore.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\bcryptprimitives.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\twinapi.appcore.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\sechost.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\WinTypes.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\dcomp.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\win32u.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\MinUser.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\msvcp110_win.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\SHCore.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\gdi32min.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\gdi32.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\CoreUIComponents.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\ntmarta.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\CoreMessaging.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\advapi32legacy.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\bcrypt.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\ws2_32.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Windows.StateRepositoryCore.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Windows.UI.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\WindowManagementAPI.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\TextInputFramework.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\InputHost.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\propsys.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\OneCoreUAPCommonProxyStub.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Windows.Graphics.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\cfgmgr32.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Windows.Shell.ServiceHostBuilder.dll'.
Exception thrown at 0x00007FFBA8E939EC (KernelBase.dll) in Surfaces.exe: WinRT originate error - 0x80070490 : 'Element not found.'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\userenv.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\profext.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\profapi.dll'.
onecoreuap\shell\twinapi\applicationview\lib\viewswitcherstatics.cpp(576)\twinapi.appcore.dll!00007FFBA39EE16C: (caller: 00007FFBA3A54CB8) ReturnHr(1) tid(18b0) 80070490 Element not found.
CallContext:[\AppRunOrActivateView\SetPreferredLaunchWindowingMode]
'Surfaces.exe' (Win32): Loaded 'U:\USERS\DefaultAccount\AppData\Local\DevelopmentFiles\SurfacesVS.Release_ARM64.user\UnityPlayer.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\d3d11.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\D3D12.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\crypt32.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\mfreadwrite.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\mfplat.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\forwarders\version.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\MMDevAPI.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\dxgi.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\devobj.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\RTWorkQ.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\dxgi.dll'.
'Surfaces.exe' (Win32): Unloaded 'C:\Windows\system32\dxgi.dll'
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\ExecModelClient.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Windows.Storage.ApplicationData.dll'.
onecoreuap\base\appmodel\statemanager\winrt\lib\windows.storage.applicationdatafactory.server.cpp(235)\Windows.Storage.ApplicationData.dll!00007FFB917385F4: (caller: 00007FFB80C48298) ReturnHr(1) tid(79c) 8000000B The operation attempted to access data outside the valid range
Msg:[User S-1-5-21-2702878673-795188819-444038987-1000]
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\windows.storage.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\wldp.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\shlwapi_onecore.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\MrmCoreR.dll'.
'Surfaces.exe' (Win32): Loaded 'U:\USERS\DefaultAccount\AppData\Local\DevelopmentFiles\SurfacesVS.Release_ARM64.user\AudioPluginMsHRTF.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\HrtfApo.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Windows.Devices.Enumeration.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\execmodelproxy.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\rmclient.dll'.
Exception thrown at 0x00007FFBA8E939EC in Surfaces.exe: Microsoft C++ exception: Cn::XH at memory location 0x00000011144FD6F0.
onecoreuap\windows\moderncore\inputv2\inputhost\components\cursor\client\cursorclient.cpp(44)\InputHost.dll!00007FFB9B23D6E4: (caller: 00007FFB9B23CDEC) ReturnHr(1) tid(18b0) 87B20809 onecoreuap\windows\moderncore\inputv2\inputhost\components\cursor\client\cursorclient.cpp(76)\InputHost.dll!00007FFB9B23CE0C: (caller: 00007FFBA845D37C) ReturnHr(2) tid(18b0) 87B20809 'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\UiaManager.dll'.
Exception thrown at 0x00007FFBA8E939EC in Surfaces.exe: Microsoft C++ exception: Cn::XH at memory location 0x00000011144FD6B0.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Windows.UI.Core.TextInput.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\edgegdi.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\DWrite.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Windows.Perception.Stub.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Windows.Mirage.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\d3d10warp.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\ResourcePolicyClient.dll'.
'Surfaces.exe' (Win32): Unloaded 'C:\Windows\system32\ResourcePolicyClient.dll'
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\DXCore.dll'.
'Surfaces.exe' (Win32): Loaded 'B:\Windows\System32\DriverStore\FileRepository\qcdx_ffu850.inf_arm64_3f3ec3a0cb26c5d1\qcdx12arm64um850.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\forwarders\advapi32.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\dxilconv.dll'.
'Surfaces.exe' (Win32): Loaded 'B:\Windows\System32\DriverStore\FileRepository\qcdx_ffu850.inf_arm64_3f3ec3a0cb26c5d1\qcdxarm64compiler850.DLL'.
'Surfaces.exe' (Win32): Loaded 'U:\USERS\DefaultAccount\AppData\Local\DevelopmentFiles\SurfacesVS.Release_ARM64.user\GameAssembly.dll'. Symbols loaded.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\IPHLPAPI.DLL'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\cryptbase.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\D3DSCache.dll'.
'Surfaces.exe' (Win32): Unloaded 'B:\Windows\System32\DriverStore\FileRepository\qcdx_ffu850.inf_arm64_3f3ec3a0cb26c5d1\qcdxarm64compiler850.DLL'
'Surfaces.exe' (Win32): Unloaded 'C:\Windows\system32\dxilconv.dll'
'Surfaces.exe' (Win32): Unloaded 'C:\Windows\system32\forwarders\advapi32.dll'
'Surfaces.exe' (Win32): Unloaded 'B:\Windows\System32\DriverStore\FileRepository\qcdx_ffu850.inf_arm64_3f3ec3a0cb26c5d1\qcdx12arm64um850.dll'
'Surfaces.exe' (Win32): Loaded 'B:\Windows\System32\DriverStore\FileRepository\qcdx_ffu850.inf_arm64_3f3ec3a0cb26c5d1\qcdx12arm64um850.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\forwarders\advapi32.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\mswsock.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Windows.Networking.Connectivity.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\dxilconv.dll'.
'Surfaces.exe' (Win32): Loaded 'B:\Windows\System32\DriverStore\FileRepository\qcdx_ffu850.inf_arm64_3f3ec3a0cb26c5d1\qcdxarm64compiler850.DLL'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Windows.Networking.HostName.dll'.
'Surfaces.exe' (Win32): Unloaded 'B:\Windows\System32\DriverStore\FileRepository\qcdx_ffu850.inf_arm64_3f3ec3a0cb26c5d1\qcdxarm64compiler850.DLL'
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\wshbth.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\dnsapi.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\nsi.dll'.
'Surfaces.exe' (Win32): Unloaded 'C:\Windows\system32\dxilconv.dll'
'Surfaces.exe' (Win32): Unloaded 'C:\Windows\system32\forwarders\advapi32.dll'
'Surfaces.exe' (Win32): Unloaded 'B:\Windows\System32\DriverStore\FileRepository\qcdx_ffu850.inf_arm64_3f3ec3a0cb26c5d1\qcdx12arm64um850.dll'
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\dhcpcsvc6.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\dhcpcsvc.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\PerceptionDevice.dll'.
The thread 0xc58 has exited with code 0 (0x0).
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\FWPUCLNT.DLL'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\nlaapi.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Windows.ApplicationModel.dll'.
'Surfaces.exe' (Win32): Loaded 'B:\Windows\System32\DriverStore\FileRepository\qcdx_ffu850.inf_arm64_3f3ec3a0cb26c5d1\qcdx11arm64um850.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\forwarders\advapi32.dll'.
'Surfaces.exe' (Win32): Loaded 'B:\Windows\System32\DriverStore\FileRepository\qcdx_ffu850.inf_arm64_3f3ec3a0cb26c5d1\qcdxarm64compiler850.DLL'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Windows.Media.Devices.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\DevDispItemProvider.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\AudioSes.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\powrprof.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\umpdc.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\ResourcePolicyClient.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\threadpoolwinrt.dll'.
The thread 0xc7c has exited with code 0 (0x0).
The thread 0x394 has exited with code 0 (0x0).

Exception thrown at 0x00007FFBA8E939EC in Surfaces.exe: Microsoft C++ exception: wil::ResultException at memory location 0x00000011144FDB10.
Exception thrown at 0x00007FFBA8E939EC in Surfaces.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
onecoreuap\base\appmodel\windowmanagement\api\windowingenvironment\displayregion.cpp(240)\WindowManagementAPI.dll!00007FFBA19B06C8: (caller: 00007FFBA19F8A2C) ReturnHr(1) tid(18b0) 80070490 Element not found.
onecoreuap\drivers\mobilepc\sensors\convergence\api\winrt\public\internal\simpleorientation.cpp(127)\Windows.Devices.Sensors.dll!00007FFB85B8C13C: (caller: 00007FFB85B7ECC0) Exception(2) tid(18b0) 80070490 Element not found.
Exception thrown at 0x00007FFBA8E939EC in Surfaces.exe: Microsoft C++ exception: wil::ResultException at memory location 0x00000011144FDD40.
Exception thrown at 0x00007FFBA8E939EC in Surfaces.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
onecoreuap\drivers\mobilepc\sensors\convergence\api\winrt\public\internal\sensorserver.cpp(74)\Windows.Devices.Sensors.dll!00007FFB85B77900: (caller: 00007FFB85B79064) ReturnHr(1) tid(18b0) 80070490 Element not found.
The thread 0x1990 has exited with code 0 (0x0).
onecoreuap\drivers\mobilepc\sensors\convergence\api\winrt\public\lib\simpleorientationsensor.cpp(111)\Windows.Devices.Sensors.dll!00007FFB85B62324: (caller: 00007FFB85B631D4) ReturnHr(2) tid(18b0) 80070490 Element not found.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\windows.applicationmodel.datatransfer.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\coml2.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\iertutil.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\ie_shims.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\ClipboardServer.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\CapabilityAccessManagerClient.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Windows.Media.Speech.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\urlmon.dll'.
The thread 0x350 has exited with code 0 (0x0).
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Speech_OneCore\Common\sapi_onecore.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\cryptsp.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\winmmbase.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\sspicli.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\winhttp.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\rsaenh.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Windows.Globalization.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\BCP47Langs.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\BCP47mrm.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\FlightSettings.dll'.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Speech_OneCore\Common\SpeechServiceWinRTApi.ProxyStub.dll'.
onecoreuap\enduser\nui\onecore\onesettings\src\onesettingspolicywrapper.cpp(280)\sapi_onecore.dll!00007FFB9B9ED9C8: (caller: 00007FFB9B9ED758) ReturnHr(1) tid(c20) 80070005 Access is denied.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Speech_OneCore\Engines\SR\spsrx_onecore.dll'.
The thread 0x12d8 has exited with code 0 (0x0).
Exception thrown at 0x00007FFBA8E939EC in Surfaces.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x00000011146FEB00.
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\Windows.Web.dll'.
The thread 0x1bd0 has exited with code 0 (0x0).
The thread 0x1a98 has exited with code 0 (0x0).
The thread 0x1838 has exited with code 0 (0x0).
The thread 0xffc has exited with code 0 (0x0).
The thread 0xd2c has exited with code 0 (0x0).
The thread 0x6ec has exited with code 0 (0x0).
The thread 0xee4 has exited with code 0 (0x0).
The thread 0x1ad4 has exited with code 0 (0x0).
The thread 0x364 has exited with code 0 (0x0).
The thread 0x1428 has exited with code 0 (0x0).
The thread 0x1338 has exited with code 0 (0x0).
The thread 0x6dc has exited with code 0 (0x0).
The thread 0x664 has exited with code 0 (0x0).
The thread 0xe58 has exited with code 0 (0x0).
The thread 0x1890 has exited with code 0 (0x0).
The thread 0x1878 has exited with code 0 (0x0).
The thread 0xd10 has exited with code 0 (0x0).
The thread 0x5b4 has exited with code 0 (0x0).
The thread 0x1fc has exited with code 0 (0x0).
The thread 0x13fc has exited with code 0 (0x0).
The thread 0x174c has exited with code 0 (0x0).
The thread 0x10ec has exited with code 0 (0x0).
The thread 0x1244 has exited with code 0 (0x0).
The thread 0x1774 has exited with code 0 (0x0).
The thread 0x16ac has exited with code 0 (0x0).
The thread 0x1be4 has exited with code 0 (0x0).
The thread 0x98c has exited with code 0 (0x0).
The thread 0x628 has exited with code 0 (0x0).
The thread 0x18b4 has exited with code 0 (0x0).
The thread 0x1aa0 has exited with code 0 (0x0).
The thread 0x1b38 has exited with code 0 (0x0).
The thread 0x1834 has exited with code 0 (0x0).
The thread 0x6bc has exited with code 0 (0x0).
The thread 0xdc0 has exited with code 0 (0x0).
The thread 0xb08 has exited with code 0 (0x0).
The thread 0x398 has exited with code 0 (0x0).
The thread 0xb0 has exited with code 0 (0x0).
The thread 0x1978 has exited with code 0 (0x0).
The thread 0x1474 has exited with code 0 (0x0).
The thread 0x1908 has exited with code 0 (0x0).
The thread 0x145c has exited with code 0 (0x0).
The thread 0x1adc has exited with code 0 (0x0).
The thread 0x758 has exited with code 0 (0x0).
The thread 0xf14 has exited with code 0 (0x0).
The thread 0x13d4 has exited with code 0 (0x0).
The thread 0x1a54 has exited with code 0 (0x0).
The thread 0x1134 has exited with code 0 (0x0).
The thread 0x1824 has exited with code 0 (0x0).
The thread 0x1ec has exited with code 0 (0x0).
The thread 0x11c0 has exited with code 0 (0x0).
The thread 0x4f0 has exited with code 0 (0x0).
The thread 0x1bb8 has exited with code 0 (0x0).
The thread 0x1884 has exited with code 0 (0x0).
The thread 0x1670 has exited with code 0 (0x0).
The thread 0x1bb4 has exited with code 0 (0x0).
The thread 0x19fc has exited with code 0 (0x0).
The thread 0x19b8 has exited with code 0 (0x0).
The thread 0x1bf8 has exited with code 0 (0x0).
The thread 0x1728 has exited with code 0 (0x0).
The thread 0xd90 has exited with code 0 (0x0).
The thread 0x430 has exited with code 0 (0x0).
The thread 0x1b94 has exited with code 0 (0x0).
The thread 0x1b78 has exited with code 0 (0x0).
The thread 0xcec has exited with code 0 (0x0).
The thread 0x6b4 has exited with code 0 (0x0).
The thread 0xa6c has exited with code 0 (0x0).
The thread 0x1940 has exited with code 0 (0x0).
The thread 0x15cc has exited with code 0 (0x0).
The thread 0x750 has exited with code 0 (0x0).
The thread 0x1620 has exited with code 0 (0x0).
The thread 0x1a84 has exited with code 0 (0x0).
The thread 0x1ad0 has exited with code 0 (0x0).
The thread 0x1060 has exited with code 0 (0x0).
The thread 0x1a50 has exited with code 0 (0x0).
The thread 0x116c has exited with code 0 (0x0).
The thread 0x1a9c has exited with code 0 (0x0).
The thread 0x4ec has exited with code 0 (0x0).
The thread 0xdd4 has exited with code 0 (0x0).
The thread 0xd34 has exited with code 0 (0x0).
The thread 0x1714 has exited with code 0 (0x0).
The thread 0x1080 has exited with code 0 (0x0).
The thread 0xa2c has exited with code 0 (0x0).
The thread 0x1144 has exited with code 0 (0x0).
The thread 0x388 has exited with code 0 (0x0).
The thread 0x1924 has exited with code 0 (0x0).
The thread 0x994 has exited with code 0 (0x0).
The thread 0x1984 has exited with code 0 (0x0).
The thread 0x196c has exited with code 0 (0x0).
The thread 0x1344 has exited with code 0 (0x0).
The thread 0x1860 has exited with code 0 (0x0).
The thread 0x108c has exited with code 0 (0x0).
The thread 0x162c has exited with code 0 (0x0).
The thread 0x13c8 has exited with code 0 (0x0).
The thread 0x85c has exited with code 0 (0x0).
The thread 0x1bb0 has exited with code 0 (0x0).
The thread 0xf24 has exited with code 0 (0x0).
The thread 0x1964 has exited with code 0 (0x0).
'Surfaces.exe' (Win32): Loaded 'C:\Windows\system32\msxml6.dll'.
The thread 0x18a0 has exited with code 0 (0x0).
The thread 0x1b4c has exited with code 0 (0x0).
The thread 0x11a8 has exited with code 0 (0x0).
The thread 0x18a4 has exited with code 0 (0x0).
The thread 0x1918 has exited with code 0 (0x0).
The thread 0x1ab0 has exited with code 0 (0x0).
The thread 0x18b0 has exited with code 0 (0x0).
The thread 0x11e4 has exited with code 0 (0x0).
The thread 0x79c has exited with code 0 (0x0).
The thread 0x1b1c has exited with code 0 (0x0).
The thread 0x18fc has exited with code 0 (0x0).
The thread 0x1a8c has exited with code 0 (0x0).
The thread 0xf48 has exited with code 0 (0x0).
The thread 0x19e0 has exited with code 0 (0x0).
The thread 0xdac has exited with code 0 (0x0).
The thread 0x1744 has exited with code 0 (0x0).
The thread 0x1118 has exited with code 0 (0x0).
The thread 0xaac has exited with code 0 (0x0).
The thread 0x828 has exited with code 0 (0x0).
The thread 0x18ac has exited with code 0 (0x0).
The thread 0x1a4 has exited with code 0 (0x0).
The thread 0x12b8 has exited with code 0 (0x0).
The thread 0x16bc has exited with code 0 (0x0).
The thread 0x10a0 has exited with code 0 (0x0).
The thread 0x14cc has exited with code 0 (0x0).
The thread 0x1954 has exited with code 0 (0x0).
The thread 0x86c has exited with code 0 (0x0).
The thread 0x5ec has exited with code 0 (0x0).
The thread 0x184c has exited with code 0 (0x0).
The thread 0x1208 has exited with code 0 (0x0).
The thread 0x19ac has exited with code 0 (0x0).
The thread 0xa80 has exited with code 0 (0x0).
The thread 0xc10 has exited with code 0 (0x0).
The thread 0xc20 has exited with code 0 (0x0).
The thread 0x1a24 has exited with code 0 (0x0).
The thread 0x1938 has exited with code 0 (0x0).
The thread 0x1098 has exited with code 0 (0x0).
The thread 0x20 has exited with code 0 (0x0).
The thread 0x1700 has exited with code 0 (0x0).
The thread 0xf74 has exited with code 0 (0x0).
The thread 0x1acc has exited with code 0 (0x0).
The thread 0xbe0 has exited with code 0 (0x0).
The thread 0x1af0 has exited with code 0 (0x0).
The thread 0x172c has exited with code 0 (0x0).
The thread 0x19f0 has exited with code 0 (0x0).
The thread 0x103c has exited with code 0 (0x0).
The thread 0x3a8 has exited with code 0 (0x0).
The thread 0x1f0 has exited with code 0 (0x0).
The thread 0x9b0 has exited with code 0 (0x0).
The thread 0x854 has exited with code 0 (0x0).
The thread 0x10bc has exited with code 0 (0x0).
The thread 0x958 has exited with code 0 (0x0).
The thread 0x1bd4 has exited with code 0 (0x0).
The thread 0x18b8 has exited with code 0 (0x0).
The thread 0x14d0 has exited with code 0 (0x0).
The thread 0x29c has exited with code 0 (0x0).
The thread 0x19f8 has exited with code 0 (0x0).
The thread 0x1af8 has exited with code 0 (0x0).
The thread 0x1968 has exited with code 0 (0x0).
The thread 0x6cc has exited with code 0 (0x0).
The thread 0xc60 has exited with code 0 (0x0).
The program '[5892] Surfaces.exe' has exited with code 0 (0x0).

Same here 😞


Create updating

Used own attribute so it doesn't conflict with title.
Line 124: title-only tooltips use moduledefaults too (as it used before)
Every tooltip gets removed after it's been hidden, and made anew on mouseover. This way changes to the scope variables - changed by angular - affect tooltips too.
It's a crude fix for now, idealy the tooltips get made once, and only updated in the observe.

@RuudatEasydus I don't understand what this is or what it's for.


AssertionError when running generate.py with humanml dataset

I'm encountering an error while trying to execute the generate.py script with the humanml dataset. Below are the command and the parameters I used:
python generate.py dataset=humanml model_path=./pretrained/humanml_trans_enc_512/model000475000.pt input_text=./assets/example_text_prompts.txt
result:
`******** Using data from the command line
Error executing job with overrides: ['dataset=humanml', 'model_path=./pretrained/humanml_trans_enc_512/model000475000.pt', 'input_text=./assets/example_text_prompts.txt']
Traceback (most recent call last):
File "motionfm/generate.py", line 125, in main
assert os.path.exists(cfg.input_text)
AssertionError
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
`
Any guidance on resolving this issue would be greatly appreciated.

Just define the path cfg.input_text and cfg.model_path in the generate.py, the command line has no effect.


[intelephense-ls] How to ignore undefined symbol

How to fix this with sublime configurations without wordpress folder?
For example, In VSCode we can put  "intelephense.diagnostics.undefinedSymbols": false to ignore undefined symbols

If you find the intelephense config in LSP Settings, you can have a settings key in there. I believe this would be the equivalent to the VS Code settings:
"settings": {
  "diagnostics": {
    "undefinedSymbols": false
  }
}

Hi @tomv564
Already tried that
"intelephense-ls":
{
	"command":
	[
		"/Users/XXXX/.nvm/versions/node/v12.13.1/bin/intelephense",
		"--stdio"
	],
	"settings": {
		"diagnostics": {
			"undefinedSymbols": false
		}
	},
	"enabled": true
},

@andremacola did you restart Sublime after changing that setting? :-)

yes @predragnikolic I did :D

Do I need to use https://github.com/sublimelsp/LSP-intelephense extension?
The settings is available in this extension but not on the LSP Package itself.
I'm facing some conflicts/duplicated issues with both LSP and LSP-intelephense packages enabled at the same time.

Ok. Here is the thing.
Apparently LSP Package is ignoring the settings options.
I installed the above extension, removed all custom configuration from LSP Package and applied the settings within the LSP-intelephense extension settings.
The LSP-intelephense installs the intelephense itself inside the package and I do not need the command attribute.
If the LSP-intelephense extensions is required, then it's fine and the docs needs an update, if not the LSP Package needs a fix for the settings inside intelephense-ls option.

I am interested in the workspace/configuration too. I turn on all 4 LSP's log settings but still not sure what happens behind the scene. I do not know whether settings is not sent, or I use it in a wrong way, or I misunderstand what workspace/configuration is for.
LSP:      {'capabilities': {'completionProvider': {'triggerCharacters': ['"', ':'], 'resolveProvider': True}, 'documentSymbolProvider': True, 'foldingRangeProvider': True, 'hoverProvider': True, 'textDocumentSync': 1, 'documentRangeFormattingProvider': True, 'colorProvider': {}, 'selectionRangeProvider': True}}
LSP:  --> initialized
LSP:  --> textDocument/didOpen
vscode-json: Notification handler 'textDocument/didOpen' failed with message: Cannot read property 'create' of undefined
ignored packages updated to: ["RestructuredText", "SublimeLinter-contrib-yamllint", "SublimeLinter-gcc", "SublimeLinter-json", "Vintage"]
ignored packages updated to: ["Codecs33", "RestructuredText", "SublimeLinter-contrib-yamllint", "SublimeLinter-gcc", "SublimeLinter-json", "Vintage"]
LSP: window 2 requests intelephense for C:\Users\USER\Desktop\test.php
LSP: starting in E:\WWW\XXX
LSP: starting ['intelephense.cmd', '--stdio']
LSP:  --> initialize
LSP: window 2 added session intelephense
intelephense: Initialising intelephense 1.3.2
intelephense: Reading state from E:\_Data\intelephense\1d6eced9.
intelephense: Initialised in 2035 ms
LSP:      {'capabilities': {'completionProvider': {'triggerCharacters': ['$', '>', ':', '\\', '/', '*', '.', '<'], 'resolveProvider': True}, 'foldingRangeProvider': True, 'hoverProvider': True, 'textDocumentSync': 2, 'typeDefinitionProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',']}, 'definitionProvider': True, 'documentHighlightProvider': True, 'implementationProvider': True, 'documentSymbolProvider': True, 'declarationProvider': True, 'documentFormattingProvider': True, 'documentRangeFormattingProvider': True, 'workspaceSymbolProvider': True, 'workspace': {'workspaceFolders': {'changeNotifications': True, 'supported': True}}, 'referencesProvider': True, 'renameProvider': {'prepareProvider': True}}}
LSP:  --> initialized
LSP:  --> textDocument/didOpen
LSP:  --> workspace/didChangeConfiguration
LSP: <--  textDocument/publishDiagnostics
LSP:      {'diagnostics': [], 'uri': 'file:///C:/Users/USER/Desktop/test.php'}
LSP:  --> textDocument/hover
LSP:      {'contents': {'value': '_@var_ `mixed $b`', 'kind': 'markdown'}, 'range': {'end': {'line': 6, 'character': 11}, 'start': {'line': 6, 'character': 9}}}
intelephense: Indexing started.
LSP: <--  indexingStarted
LSP: Unhandled notification indexingStarted

"intelephense": {
    // https://github.com/bmewburn/intelephense-docs
    // npm -g i intelephense
    // yarn global add intelephense
    "enabled": true,
    "command": [
        "intelephense",
        "--stdio",
    ],
    "scopes": ["source.php", "embedding.php"],
    "syntaxes": ["Packages/PHP/PHP.sublime-syntax"],
    "languageId": "php",
    "initializationOptions": {
        "clearCache": false,
        "storagePath": "E:/_Data/intelephense",
        "globalStoragePath": "E:/_Data/intelephense",
        "licenceKey": "XXXXXXXXXXX",
    },
    // kind of trying all possible ways
    "settings": {
        "diagnostics.undefinedSymbols": true,
        "intelephense.diagnostics.undefinedSymbols": true,
        "diagnostics": {
            "undefinedSymbols": true,
        },
        "intelephense": {
            "diagnostics": {
                "undefinedSymbols": true,
            },
        },
    },
},

@jfcherng, or anyone on master, can you confirm that the server now sends a workspace/configuration request?

@tomv564 I can confirm that intelephense's configuration works on the latest master. Thanks!


ws: Add autoReconnect option?

After migrating from VueUse useWebSocket, I realized that EdenWS doesn't have an auto-reconnect option.
Would you welcome a PR adding an autoReconnect option?

Makes sense, if you ask me, ws should accept the same options as the underlying ws implementation.

The auto-reconnect is not actually present in the underlying (bare) WebSocket, but since handling disconnects (by reconnecting) is a fairly common need, I think it could be warranted to add in Eden.

ahh right, I think it would be welcome if you created a PR with it (But I'm not the maintainer or anything, I'll be happy to give you a review, but I cannot merge it of course)


[BUG] creating an existing principal role assignment returns 500 instead of 409

Is this a possible security vulnerability?

[X] This is NOT a possible security vulnerability

Describe the bug
When I try to assign between a principal role and a principal I get 2xx.
If I try to run the same assignment again (conflict) I will get 5xx.
To Reproduce

Create a principal.
Create a principal role.
Assign role to principal.
Assign role to principal (again).

Actual Behavior
500 error.
{
    "error": {
        "message": "Exception [EclipseLink-4002] (Eclipse Persistence Services - 4.0.3.v202405220658): org.eclipse.persistence.exceptions.DatabaseException\nInternal Exception: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint \"grant_records_pkey\"\n  Detail: Key (granteecatalogid, privilegecode, granteeid, securableid, securablecatalogid)=(0, 4, 1599, 1149, 0) already exists.\nError Code: 0\nCall: INSERT INTO GRANT_RECORDS (GRANTEECATALOGID, PRIVILEGECODE, GRANTEEID, SECURABLEID, SECURABLECATALOGID, VERSION) VALUES (?, ?, ?, ?, ?, ?)\n\tbind => [0, 4, 1599, 1149, 0, 1]\nQuery: InsertObjectQuery(org.apache.polaris.core.persistence.models.ModelGrantRecord@5780643b)",
        "type": "PersistenceException",
        "code": 500
    }
}

Expected Behavior
409 - conflict.
Additional context
No response
System information
N/A

Can you share more details on how you hit this?

I did not mention it.
This is with the EclipseLink plugin.
By the way, the same error occurs with other resources.

Thanks for clarifying @TomerHeber, I don't know how I missed that. I pushed a PR that should be a simple fix, but I'm going to look at see if there are other places we need a similar fix too. Thanks for filing this!


How do I get the column name from the model struct field

Your Question
How do I get the column name from the model struct field？

Model:

type Animal struct {
  AnimalID int64     `gorm:"column:beast_id"`
  Birthday time.Time `gorm:"column:day_of_the_beast"`
  Age      int64     `gorm:"column:age_of_the_beast"`
}

I want to get the value of the column tag

The document you expected this should be explained

Expected answer

GORM has a method that returns the column name

How about this?
package main

import (
	"fmt"
	"gorm.io/driver/postgres"
	"gorm.io/gorm"
	"time"
)

type Animal struct {
	AnimalID int64     `gorm:"column:beast_id"`
	Birthday time.Time `gorm:"column:day_of_the_beast"`
	Age      int64     `gorm:"column:age_of_the_beast"`
}

func main() {
	dsn := "host=postgres user=postgres password=***** dbname=postgres port=5432"
	db, err := gorm.Open(postgres.Open(dsn), &gorm.Config{})
	if err != nil {
		panic("failed to connect database")
	}

	db.AutoMigrate(&Animal{})

	result, _ := db.Debug().Migrator().ColumnTypes(&Animal{})
	for _, v := range result {
		fmt.Println(v.Name())
	}
}

2021/07/04 12:34:50 /go/pkg/mod/gorm.io/driver/postgres@v1.1.1-0.20210614014255-4c6dc88331ab/migrator.go:68
[0.472ms] [rows:-] SELECT CURRENT_DATABASE()

2021/07/04 12:34:50 /go/pkg/mod/gorm.io/driver/postgres@v1.1.1-0.20210614014255-4c6dc88331ab/migrator.go:302
[9.747ms] [rows:-] SELECT column_name, is_nullable, udt_name, character_maximum_length, numeric_precision, numeric_precision_radix, numeric_scale, datetime_precision FROM information_schema.columns WHERE table_catalog = 'postgres' AND table_schema = CURRENT_SCHEMA() AND table_name = 'animals'
beast_id
day_of_the_beast
age_of_the_beast

thank you for your help

Is there any way to map these to the struct field names? Some of my models have fields that are skipped for GORM so directly mapping this array to a field name array from reflect doesn't work.

@nermolov agree, SELECT * is almost always bad idea, since we already knows which fields struct has. Database schema may have additional column with large amount of data that is not used by a Gorm Model.


removed self.activate_latent_entities mutation with use_latent

Codecov Report

Merging #125 (8526ae7) into master (6ae0d8d) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #125   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           47        47
  Lines         1921      1921
=========================================
  Hits          1921      1921

Flag
Coverage Δ

unittests
100.00% <100.00%> (ø)

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

Impacted Files
Coverage Δ

dialogy/plugins/text/duckling_plugin/__init__.py
100.00% <100.00%> (ø)

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 6ae0d8d...8526ae7. Read the comment docs.


EDC - Configurable ODRL Policy Engine

Problem: Currently, for each check between a ODRL Policy (such as Data Exchange Governance Policy) and Verifiable Presentations (i.e. holding a valid DataExchangeGovernanceCredential), a custom extension has to be developed.
Suggested solution: Develop a declarative way to configure checks - lowering the bar of entry for individual credential-checks. This would enable the use of verifiable credentials for any constraint, which does not to be fixed in EDC development phase but can be configured while using EDC in a data space.
Impacted components

Upstream EDC
Tractus-X EDC
Wallet?
DSP?
IATP?
CX-0018, CX-0050 standards?
Catena-X e.V. profiles, Tractus-X ODRL profiles

Scope to be refined what constraints will be configurable based on ODRL

There are a number of things to consider here. First, much of this has already been supported since the May release. See the specification here
Leaving aside the technical, security, and performance issues with implementing a feature where an expression language such as JsonPath is permitted within an ODRL constraint, we should define what a "declarative approach" means in practice.
It's important to keep in mind that unless TX-EDC implements very complex dynamic configuration reloading at runtime, a redeployment will need to be performed for all updates. This means technical operators will always be involved in significant policy updates.
Another point is any policy change needs to be properly tested. Specifically, it should never be the case that someone updates policy using some form of declarative language and does not write automated tests. Even if a declaration is used, test cases - in code - must be written and included in a build pipeline. Writing a policy extension in the EDC is trivial and not more difficult than writing a test which needs to be done anyway.

@DanielaWuensch @arnoweiss : Actually, after our recent discussion on the DataExchangeGovernance Credential, I have to admit, I do not understand the gap we are talking about in this feature. From my understanding, it was out of the box possible to request the value DataExchangeGovernance and the corresponding credential in a "FrameworkAgreement" ODRL atomic constraint. That was my understanding of what we discussed as missing in our meeting on June 28th, when we discussed this proposal. Can you give some insights of the existing gap that you wish to be filled? Thanks!

Provider acts as issuer and verifier for VCs.
While the DataExchangeGovernanceCredential attests claims that are accepted network-wide, a Provider may want to enforce their individual ContractReferences with a self-issued VC that they can revoke.
Multi-network EDC
Trusting multiple Issuers is implemented. Processing multiple credential schemas isn't which raises a permutation problem: If an organization participates in network A only, that's simple. But there'd have to be a separate build for a company in network A & B. And network A, B, C.

On implementation: There could be a Management-API endpoint that a provider uses to register mappings. When negotiation is started by the consumer, all constraints that are backed with a mapping provider-side are evaluated against a VC, all others aren't. That'd keep the expressions out of the ODRL-policies.

These cases still need to be tested by automated infrastructure. There is no getting around writing code. 😊
More broadly, changes in runtime behavior should always be part of the deployment process, not outside of it. This philosophy guided EDC's design not to use dynamic configuration.

Presented in the DRAFT Feature Freeze -> Committer is available

@jimmarino @arnoweiss Can you please discuss the issue and come to a conclusion on what to do with this requirement. Thanks!

In release 25.03 the policy management will be approached in a generic way to ensure any CX specific anchors in the VC verification. So, I will close this issue.


[Feature]: Redesign of the current logo

Is your feature request related to a problem? Please describe.
Redesign of the current logo
Describe the solution you'd like
The new design should be more align with the project.
Alternatives
No response
Additional Context
No response
Are you interested in contributing?

[X] I'd like to work on this issue

Code of Conduct

[X] I have used the search function to check if an issue already exists
[X] I agree to follow this project's Code of Conduct

Which program are you contributing in?
gssoc

@pranshugupta54 please assign me this issue under gssoc.


Allow incrementing patch version

Hi, this action is great. Thanks for writing it.
I'd like to use the action more flexibly to create releases associated with patch versions, not just major/minor versions.
I've submitted a PR (https://github.com/int128/release-typescript-action/pull/215) for this but could use help testing if you would be willing.

I added as https://github.com/int128/release-typescript-action/pull/354. Thank you for bringing up the issue!


Clarification needed for Keptn : Will Keptn works for the application which is not in kubernetes.

Hi team,
We were started working on the POC for keptn work and the installation has been completed for keptn-in-a-box to implement the usecase.
Below is our usecase :
Process:
Observability
Come from Dynatrace through a webhook alert that is sent to Keptn.
Traceability
Keptn receives the alert and runs a simple python script
It can be as simple as printing "Hello World" or print the problem ID from Dynatrace webhook payload
Recoverability
Keptn runs a different script to simulate remediation. It can be as simple as sending email or printing another line of message in a log.
Update Dynatrace alert via API - close the alert and add a comment
Please clarify us, if above usecase has to implement in our application which is not in the kubernetes. Will this work out ? Also provide us the documentation or link to proceed this further. Because, we don't see any single references for non-kubernetes application. We could see Keptn works only for applications which deployed in Kubernetes in the tutorials.
Kindly provide us the detailed explanation on this from your end.

Hi
Thanks for putting this on Git as an Issue to discuss after we started this discussion on our Slack Channel:
The answer to your questions is: YES - Keptn can do all these things on Applications that are not running on k8s.
BUT - be reminded that all of our tutorials today are focused on showing the end-2-end capabilities of Keptn for deployment, testing, evaluating and remediation cloud native applications on Kubernets. So - when you just install Keptn in a Box then all these things are shown with sample apps we deploy on Kubernetes.
As to your question which basically says: "Can Keptn receive ANY type of Problem from Dynatrace and then Execute a Python script for Remediation?"
The answer is again YES, BUT

it requires some in-depth knowledge on how to send ANY event to Keptn and
knowledge on developing your own Remediation SErvice in Keptn to execute a Python script

As we have received similiar requests several times in the last weeks I am going to implement this use case in my "keptn on k3s for Dynatrace" demo. Please stay tuned and have an eye on this: https://github.com/keptn-sandbox/keptn-on-k3s/tree/dynatrace-support


fix(radarr): explain how original language is determined

Pull Request
Purpose

Approach

Open Questions and Pre-Merge TODOs

Requirements

[x] These changes meet the standards for contributing.
[x] I have read the code of conduct.

Are we going to mention how it’s very broken/buggy

Are we going to mention how it’s very broken/buggy

@owine its not broken or buggy at all.


Exclude certain languages from highlighting altogether

Motivation
Prism's current behavior makes it impossible to use Prism and Mermaid on the same page.
Description
I'd like to have what the title in #558 says ("Ignore some html tags") and not what the provided solution does ("Preserve markup even after Prism has applied syntax highlighting"). The issue I'm facing is having both Mermaid and Prism on the same page and Prism just destroys Mermaid code blocks so Mermaid can't do anything sensible with it. Instead of preserving markup (which I suppose will also "fix" the problem), I'd like Prism to just not touch .language-mermaid elements. Is this not possible?
Alternatives
I've searched around and found gaearon/gitbook-plugin-prism#28 which proves that there's a need for this feature and I can't think of a way to work around this. Had there only been a Prism.highlightElements() method that took a list of elements I could select and filter beforehand manually, I could have solved this myself. But since this method doesn't exist, I'm unable to fix this without learning how to develop a Prism plugin of some sort. And I find the Prism API documentation to be very sparse (the available hooks don't seem to be documented, for instance), I'm struggling to do so. Please help! 🙏 😃

There is a highlightElement method you can use to select & filter beforehand then iterate over and call it on.

@mAAdhaTTah, thanks. I was able to get it to work by doing the following:
<script src="prism.js" data-manual></script>

var elements = document.querySelectorAll('.highlighter-rouge:not(.language-mermaid) pre.highlight');

for (var element of elements) {
    Prism.highlightElement(element, false);
}

The problem is that it performs several times worse than Prism does out of the box without data-manual and the individual Prism.highlightElement() invocation. I suppose Prism initializes itself a lot smarter than I'm able to through its API. I therefore feel like this is a must-have feature in the core of Prism.

The problem is that it performs several times worse

Can you elaborate on the performance degradation you're seeing? There isn't anything you're doing here that looks terribly different from what Prism does itself.

Perhaps it's just me, but I find that my home-grown solution causes a very notable flash of un-highlighted code before Prism performs the highlight, while removing data-manual and my initialization code makes highlighting instant and unnoticeable.

@asbjornu
This is just my suspicion but do you test on Chrome?
Chrome as a bit of an issue with large changes to the DOM (100 LOC add about 2000 new nodes). There is a workaround for this: Detach the pre from the DOM before highlighting and reattach it afterward.
See #1907 for an example of this workaround. (Note that the download page uses async highlighting, you probably want to go for synchronous highlighting.)

my home-grown solution causes a very notable flash of un-highlighted code before Prism performs the highlight

Sounds like asynchronous highlighting. Try passing false to the async parameter of Prism's highlighting functions.

I suppose Prism initializes itself a lot smarter than I'm able to through its API.

Nope.
This is the selector we use and apart from the plugin hook (which usually isn't used) and the callback stuff, it's the same as your code. (The container is document which is passed from highlightAll.)

Your assumptions are correct, @RunDevelopment. Even though that helps, It would be nice if Prism could be initialized with a CSS selector or array of elements (as a result from document.querySelectorAll()) or (as in highlight.js) the ability to configure a set of white-listed languages Prism should highlight, alternatively black-list the languages it should not highlight.

[...] if Prism could be initialized with a CSS selector or array of elements (as a result from document.querySelectorAll())

I against this because the resulting function will look something like this:
function highlightElements(selectorOrElements: string | Iterable<Element>): void {
    if (typeof selectorOrElements === 'string') {
        selectorOrElements = document.querySelectorAll(selectorOrElements);
    }
    for (const element of selectorOrElements) {
        Prism.highlightElement(element);
    }
}

I think that this is a function simple enough that we don't need to include it in our library.

to configure a set of white-listed languages

I don't know the details of what you intend here but I guess that it's similar to #1761.
I'll make a small plugin for this and ping you when it's done.


Cannot interact with input-leap

Hi,
I am running input-leap 2.4.0 on my server (wayland / kde)
and waynergy 0.0.16 on my host (wayland / kde)
Host can connect to the server alright but when I try to move my mouse to the host nothing happens.
I get no log messages etc.
running waynergy with kde backend from the cli.
thanks for the help.

Is it so, that inpu-leap doesn't work as as server when using wayland? Everything woks fine with X11.

input-leap have been hard at work on the problem, but for now it won't work. Once libei and portal support exists in Plasma, you'll be able use input-leap as a client and server and this project will be obsolete.


Clean up create/update project

Make function to enable project APIs

Jay,
Are there issues with this PR? I've got a couple more very small PRs to go.
Thanks,
Ross


Options are not working

I can only get the binary to react to --help, but no of the other options work.
As stated in the docs, there should be a streamhut server --help option. But it only starts the server process on my Arch and an alpine-docker container I tried. Also the information I obtained from source code are not interpreted:
https://github.com/streamhut/streamhut/blob/78b537f31834b234deca19434a2f74ad73741346/cmd/streamhut/main.go#L132-L140
Since I barely know anything about Go, I cannot provide any more hints... If I can help out with testing, just drop a note.

Additional Infomation
Locally I tried the following commands (which result in a events.js:282: throw er; // Unhandled 'error' event because :9000 is in use on my host):
streamhut server --port 9247
streamhut server --port=9247
streamhut server -p 9247

streamhut -p 9247 server
streamhut --port 9247 server
streamhut --port=9247 server

If you'd like to try it your own, here is my minimized docker example:
FROM alpine:latest

RUN apk --no-cache add npm ruby python \
    && npm config set user 0 \
    && npm config set unsafe-perm true \
    && npm install -g streamhut

EXPOSE 1337 9000

CMD ["/usr/bin/streamhut","server","--share-base-url=https://foo.example.com/"]

Result: Server starts but provides wrong share base url.

Hey @boppy, the node.js NPM module is deprecated in favor of the Go implementation. Check out this Dockerfile and then you should be able to pass environment variables like this:
$ docker build -t streamhut .
$ docker run -e PORT=8080 -e NET_PORT=1337 -p 8080:8080 -p 1337:1337 streamhut

Oops, sorry for taking outdated approaches ;) You might want to consider changing the info on https://streamhut.io/ about npm install...
I cannot get it working with env vars. I tried (from my docker-compose.yaml):
    environment:
      SHARE-BASE-URL: https://shell.example.com/
      ShareBaseUrl: https://shell.example.com/
      shareBaseUrl: https://shell.example.com/

In your example you mention PORT and NET_PORT while streamhut help names them PORT and TCP_PORT. Do the env vars differ in name from the options to the binary? Could you provide a "matching" for those?

Sorry for the confusion. The environment variables and cli options have been updated to match, so this docker-compose config should work:
    ports:
      - "8080:8080"
      - "1337:1337"
    environment:
      - PORT=8080
      - TCP_PORT=1337
      - SHARE_BASE_URL= https://shell.example.com


Add local time information to the meta-data tables and introduce snapshot notification server

Introduce local DC timestamp information into meta_data ets tables.
The main use-case - get notified when particular transaction is fully
replicated to the local DC, as it may be spread across multiple partitions
that reside on multiple nodes. The change should not affect the behaviour
of dc_utilities:get_stable_snapshot/0.

Meta data notification server is added to antidote application, to provide
trivial notification subscription system, for subsystems which are interested
to get notified when particular snapshot is fully replicated in the local DC.
Such a service has an update lag, which is equal to periodic timer in
meta_data_sender

vector_orddict is extended to support append operation, and similar to behaviour
of dict:append.

Hi, just kind reminder regarding this PR @bieniusa
Please let me know if you intend to review it.

Closed this in favor of https://github.com/vaxine-io/vaxine/pull/44
Added changes requested in this PR


Added the brave icon

Just updates the README
Test URLs
NONE
Screenshot
NONE

This has been rejected many times.
Thanks for your PR

Sorry my bad didn't check.

https://github.com/refined-github/refined-github/pulls?q=brave+is%3Apr


prepare to rename feedstock fenics-basix

this should have been the name, but I didn't know about the metadata when it was merged
I'll merge this and rename the repo once feedstock-outputs has been updated

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin please rerender


feat(storybook): storybook 7

Summary
Upgrades project's Storybook to version 7.1. Storybook's auto-migrations were ran which affected configuration and stories (function to object-based stories).
In addition:

internal-only stories had their filenames changed (*.stories.tsx -> *.stories.internal.tsx) to prevent Storybook from attempting to load them with the matching glob pattern (which caused warnings as Storybook would fail to load the commented-out default export).
The USWDS svg referenced from USWDS' github hosting has been copied to a .storybook/public folder in order to reference locally instead (in the documentation story, and as the branding logo in USWDS.js)
adds manual version resolution for jackspeak to fix yarn v1 bug with storybook 7.1 (see https://github.com/storybookjs/storybook/issues/22431#issuecomment-1630086092 )
updates typescript to 5.1.6 (fixes transient dependency minimum typescript issues)

some new type errors in project were corrected that appeared from update

updates @typescript-eslint dependencies to 6.2.0
updates jest to 29.6.1
updates ts-jest to 29.1.1
adds jest-environment-jsdom

Related Issues or PRs
Closes #2266
How To Test
Run storybook locally via yarn run storybook

It's the removal of the icon in the custom controls alert intentional? See below.

@jpandersen87 do you mind resolving the conflicts on this PR? That should let CI run so we can move forward with these changes. Thanks for the contributions!
If you'd like to be added to all-contributors, we can also do that by pinging the all-contributors bot in a comment 😄

@jpandersen87 do you mind resolving the conflicts on this PR? That should let CI run so we can move forward with these changes. Thanks for the contributions!
If you'd like to be added to all-contributors, we can also do that by pinging the all-contributors bot in a comment 😄

PR has been updated from main branch and EOF newlines added. Also, yes please to contributor addition 😃.

@jpandersen87 thanks for the updates! Could you take a look at these new package issues please? ☝

@jpandersen87 thanks for the updates! Could you take a look at these new package conflicts please? 👇

Done. Also fixed the babel error that came up after initial merge (updated package.json versions to prevent transitive dependency mangling, always a fun issue XD).

@jpandersen87 Looks like all that's still failing is Prettier. Can you run yarn format:fix? It should update LanguageSelector. Looks like that was the only offender.

@jpandersen87 Looks like all that's still failing is Prettier. Can you run yarn format:fix? It should update LanguageSelector. Looks like that was the only offender.

Fixed. Apologies for the minor issue churn.

Also to note: This will get the project to SB major version 7 but will still be out of date. Due to the delicate nature of transient dependency versions I'm sticking with the version in this branch as a stable point that can be followed by anyone with a PR to catch SB up to latest 7.X.X.

@all-contributors please add @jpandersen87 for code, maintenance

I appreciate the patience with my churn as I ensure my contributions follow react-uswds norms!


Filters execution times logging through zuul

I wanted to log for each request the executedFilters key saved in RequestContext.
I can see that whenever a filter executes this line appends the time to the executedFilters key through this line of code:
ctx.addFilterExecutionSummary(filterName, ExecutionStatus.SUCCESS.name(), execTime);
So may be something like just before destroying the request context for each request? (can't do within a filter because I will need the execution time of this filter itself).
Any help is appreciated!

Closing due to age of the question. If you would like us to look at this issue, please comment and we will look at re-opening the issue.


Upgrade Quarkus to 2.2.0.CR1

Not sure why the xchange test is failing. It's the same failure I noticed on the nightly camel-main build. I cannot replicate it locally.

I've noticed the fix for xchange was pushed to main only, but it doesn't seem to explain the situation here.

I did replicate it locally for a brief moment https://github.com/apache/camel-quarkus/issues/3016.
The resource bundle fix was rebased automatically onto camel-main (where this PR originates from), so that shouldn't be a problem.

Disabled the xchange tests for now so that we can move this PR forward.


Useless warning when using a @property

From vrlitwhai.kridanik on 2010-05-18T14:12:58Z
Example:
@-property
def width(self): return  self.rect.width
@-width.setter
def width(self, w): self.size = (w, self.height)
The second definition of width will be warned as a "Redefinition of function"
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=221

From<EMAIL_ADDRESS>on 2010-05-19T00:32:56Z
I find that I get a similar with code that defines a function in the two branches of
an "if" statement (this may seem strange but I think it makes sense if you're into
meta-programming).
I think this is because pyflakes only performs a relatively simple analysis of the
code.  Seeing as this code analysis is run automatically fairly often during editing,
I think there is an inherent trade-off between it being smart, and running quickly.
This is why I didn't report this as an issue myself.

From pierre.raybaut on 2010-05-20T08:07:38Z
You're absolutely right David, pyflakes analysis engine is quite simple but that's
why it's so fast.
So, there is nothing I can do regarding these false alarms except notifying pyflakes
developer about them (will do, and I'll close this issue as soon as it's done).
Status: Accepted

From pierre.raybaut on 2011-03-28T23:27:56Z
Status: Done


Two level select - changes value to an default value when edit view is opened

Describe the bug
Using two level select for main category and sub category. Works fine and can select main and then filtered view of sub category but if I open the item in edit view again an item with id 2 in my database get selected by default. And if I then save the post becouse of other edit the category get changed.
To Reproduce
Steps to reproduce the behavior:
1 Created subcat database
2 Created maincat database
3 Created items database
4 Created relation från sub to main category database
5 Created relation to sub category from item database
6 Created edit view with level to select field and set "main category" for top level field.
7 Set category for item with view and save.
8 Open item and sub category has defaulted to an item in sub category (not the one saved previously)
Expected behavior
I would expect the edit view to show the set value and not this.
Additional context
Saltcorn version | 0.7.1
Node.js version v14.19.0
PostgreSQL 12.9
Uptime a minute

@bmikael82 I am not able to replicate this. When I create this type of two level structure, and edit an existing record it correctly shows both the parent and grandparent values in the to dropdowns.
Would you be able to create an example application on saltcorn.com that demonstrates the type of bug you see? Alternatively, you could attach some screenshots of the table and view configurations and of the behaviour that you see.

I have created an example application on saltcorn.com
https://_2leveltest.saltcorn.com/view/list%20show?id=1
Look at row with name test1, the subcat is set to wall, click en "edit thing" and you see that the "subcat" is changed to door .


Automate comment of every PR merge.

Describe the feature
As soon as a PR merge, I want a bot to add this message
Great work @{username} !!
Do not forget to
+ Share your contribution on socials and tag Clueless 🫂
+ Give this repository a star ✨
+ Follow Clueless Community on GitHub ✅

Add ScreenShots

Record

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

Go ahead @Anshika14528


Feature: Add param for making leading commas

Describe the feature
Some people prefer to have leading commas in their select statements. This optional parameter would generate the source SQL with leading commas.
Are you interested in contributing this feature?
I'll work on this sometime since I'm probably the only person who will want this (along with @Nerdenberger ) 😂

Heh, you would make a lot of people happy with this!


Show Confetti After successfully capture the flag.

i guess this is done?

Yes. This is completed.


online testing CUDA overflow

Hello, I use the Ensemble model to do online testing. I use a single A100-40G to display my CUDA overflow. Is there any good way to solve this problem? What should I do if I increase the number of A100-40Gs to two?

Hi, so you get CUDA Memory overflow in the case of a single GPU, I think the simplest solution would be reducing the --eval_parallel_batch_size which defaults to 16. You may want to lower this value:
Something like
python test.py --N_enc 3 --N_dec 3 --model_dim 512 \
    ...
    --eval_parallel_batch_size 4 \
    ...

Or even lower if needed
Let me know if it helps or you already tried this solution

Hi, I'm closing the issue, I assume the it was solved based on the other thread


Audit records on deployment

Hi,
Nice article about this feature.
I have a question regards the audit trace:
How long the records on Deployment Center about the deployment records will remain? Can we change the retention to remain longer than one year?
kind regards,
Pouya

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

ID: 81dce42d-71bc-9ac0-b016-4add247bb48a
Version Independent ID: 72e95a87-a302-d06c-5a0f-e2f5caf201d1
Content: Continuous deployment - Azure App Service
Content Source: articles/app-service/deploy-continuous-deployment.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin;dariagrigoriu

@PouyaPanahy Thanks for the question! We are investigating and will update you shortly.

@PouyaPanahy If I am not wrong you want to change the retention of audit log if so, answer to your question is below.
Azure will retain up to 90 days of an audit history in the Activity Log. Also you can configure the Activity Log to export the audit trail to a storage account and increase the retention up to 365 days.
Configuring retention is refreshingly simple. Open Activity Log and click Export (at the top). Then you can configure it as follows:
•	Subscription: Select the subscription from your tenant that you are configuring an export to.
•	Regions: Select all or some regions to save activity data from.
•	Export to a Storage Account or Export to an Event Hub: Pick the destination to save the data to.
•	Retention: You can use the slider to go from 0 to 365 days.
After you click Save, Azure will start exporting data in JSON format to a container (folder) structure in your selected storage account. You can download any of the JSON files or you can ingest them into other analysis or logging systems.
You may want to refer this link:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/activity-logs-overview

@PouyaPanahy just checking if you have checked the previous response. Please let us know for any further assistance.

@PouyaPanahy We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

thank you for explaining Export function in Activity Log.


We should discuss about using alphanumerical identifiers for classes

Description of the issue
It is often listed as a best practice and recommended by the BFO book "Building Ontologies with Basic Formal Ontology" to use alphanumerical identifiers as class names. Human readable names should then be added as labels.
pro:

versioning and backward compability: a name for a concept can change in a new version of the ontology without its identifier (in databases etc) having to be changed everywhere
user groups: if people talk about the same concept but can't decide on a main name for it they can both be added as labels for this concept and the people can get there own views showing their prefered label
better readability of long names: in labels we dont have to use CamelCase so long names like NonRenewableMunicipalWasteFuel would be better readable as "non renewable municipial waste fuel"

contra:

the file is harder to read without a tool like protege (that will automatically show labels instead of the alphanumerical identifiers)

Workflow checklist

[x] I am aware of the workflow for this repository

We decided in the february ontohack to switch to numeric identifiers after some of the heavier ontology changes were made.

Structure of the identifieres: OEO_[yyyy][xxxx]
--> yyyy identifies user, 0000 for already existing classes
--> xxxx unique for each class of the user
Labels will be used for human readable names and will be changed to lower case and white space instead of CamelCase.
after the documentation is prepared (#260) all users will change their user settings accordingly and the ontology changed to the new system

@jannahastings, @stap-m, @l-emele after the powerplant pull request should be a perfect time to switch, do you agree?
My idea for the user identifiers would be to open a list in wiki, give us the 1-4 ones and everyone who want's to contribute too can add himself there?

Yes that's a good idea.
Technically I will be ready to make the change to the existing ontology content e.g. early next week.

going after the time of first commit (which will line up nicely with the way newcomers will get their numbers) this would be:
0 - pre-numerical classes
1 - @l-emele
2 - @stap-m
3 - @akleinau
4 - @jannahastings

then I'd like to use the days till then to make some small pull requests that should be no-brainers :)
(at least if I find some)

@akleinau , as you did so many changes I'd also okay if you are our number one :)

thank you, but I'm happy with 3, especially because my changes are more collaborative efforts as I have no idea of energy systems and modeling :)

concerning branches, I just deleted some, the rest is:
dev - will be changed
master - can be ignored
contribute-PK, powerplant - have to be merged
readme, travis - don‘t change oeo, can stay active
geo, sector - have to be reworked anyway so won‘t be (ever) merged but shouls stay active for inspiration, especially sector

Great! I will just wait for the PR #306 to be merged and then I will make the changes.

merged :)

The wiki page: https://github.com/OpenEnergyPlatform/ontology/wiki/Numerical-Identifiers


Labels are updated in SVC

I was going to ask why do you do it in this way, but I've just seen that you're following the CF doc.
It's better to update the labels in the deployment than the labels in the service. By doing it your way, there might be some downtime (when the selector changes and the endpoints are updated).
1.- Deploy version A, labels as color=Blue,access=public
2.- Create a service PUBLIC with selector access=public
3.- Deploy version B, label as color=Green
4.- Create a service INTERNAL with selector color=Green
This is the setup until Step 2 in the CF page. Now we have to update the access, this is, version B has to be accessed via the PUBLIC service. To do so, you have to add the access label to version B
 kubectl label pods -l color=green access=public

Now you have Step 3, public traffic is sent to both pods: green and blue. Then we remove the blue pod (version A)
     kubectl label pods -l color=blue access-

etc... Using labels at the right level will guarantee no issues 😄

@ipedrazas can you elaborate on why you think there would be a downtime with the current approach? To my understanding, a Service selector change should be reflected in kubeproxy by a single, consistent update operation on the corresponding iptables rules, leaving no room for downtime (as long as the new deployment has completed successfully).

Swapping selectors is basically replacing an endpoint by another one. You're right: the update of the iptables happens in a single operation, however, the update of the endpoints does not happen atomically. You're updating the selectors, that update the iptables, that update the endpoints.
To me, it feels safer to add them both, and then remove the other one than swapping one by another one.


Unable to submit empty field, add an option to relax required attributes

Is your feature request related to a problem? Please describe.
My use case is that I have a tag system where users are able to select any combination of tags that they want (including none). When there's a tag selected and you delete the tag from the field, the user is unable to submit the form because tom-select's internal inputs have the required input set. Judging from the code, this is intentional, but it breaks this use case and I was wondering whether this could be an additional option?
Describe the solution you'd like
A toggleable option to remove the required attributes on the inputs.
Describe alternatives you've considered
tom-select reapplies the required attribute pretty aggressively, so I can't programmatically remove it via hooking into its events, either.

Thanks! The change above should fix the problem. I'll get a new release out here soon.

Thanks! The change above should fix the problem. I'll get a new release out here soon.

Thank you!

Thank you!


Support for img2img

Hello, I have seen that the uniPC sampler is now supported by AUTO1111. I love the fast and good results I am getting, its quite a nice speed boost and it works together with ControlNet! Its incredible!
What would be needed for it to support img2img and inpainting? Is it easy or rather difficult to integrate? I'm not a python expert and I never took apart how a sampler works in terms of code

Hi,
thanks for your appreciation of our work. I think the img2img or inpainting is regardless of the sampler, (for example, our radio demo has already supported img2img). However, since I am not very familiar with the stable-diffusion-webui codebase, I think it would be better to add a feature request in their repo. Please also give me a link of the issue when you have created the feature request, and I will join the discussion as well.

https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/8502
Thanks for your support!!

Hello, thanks first of all for making UniPC its probably the best current sampler.
I notice you mentioned that

Hi, thanks for your appreciation of our work. I think the img2img or inpainting is regardless of the sampler, (for example, our gradio demo has already supported img2img).

In the linked issue me and another user attempted the demo on hugging face but it did not work for img2img, only txt2img and kept on erroring it.
I did try with a 512 by 512 square image in case there were any issues with sizes or anything.
Is there maybe an issue with the huggingspaces demo? Have you previously checked if img2img worked on there? We would love to get it working with stable diffusion webui as well.

Sorry, I just checked it and find the error was caused by the wrong version of the diffusers. The interface of img2img has been changed a little in the newest release of diffusers. I have fixed the bug and it should work as normal.