installed cp-helm-charts  with default : Stack crashloop during night : OOMKilled

I installed Kafka with this chart
name: cp-helm-charts
version: 0.6.0
persistence = false
and I let it run during night (all the pods were running) .  This morning a got this.
kafka-cp-control-center-84ddf9f746-bvsvk is complaining that there are only 2/3 kafka server running
kafka-cp-kafka-1 : OOMKilled
and check the # of times those pods restarted.
kafka-cp-control-center-84ddf9f746-bvsvk                   0/1     CrashLoopBackOff   116        15h
kafka-cp-kafka-0                                           2/2     Running            48         15h
kafka-cp-kafka-1                                           1/2     CrashLoopBackOff   47         15h
kafka-cp-kafka-2                                           2/2     Running            40         15h
kafka-cp-kafka-connect-c8bcb47c4-rpsjp                     2/2     Running            9          15h
kafka-cp-kafka-rest-685dc8fd7-nlf65                        2/2     Running            2          15h
kafka-cp-ksql-server-685f845d-44shf                        2/2     Running            2          15h
kafka-cp-schema-registry-5d699b7f4d-nwnvh                  2/2     Running            2          15h
kafka-cp-zookeeper-0                                       2/2     Running            0          15h
kafka-cp-zookeeper-1                                       2/2     Running            0          15h
kafka-cp-zookeeper-2                                       2/2     Running            0          15h

I don't know how I can get a OOM with the default values, I didn't even touch the application.

kubectl top pods
kafka-cp-kafka-0                                           60m          627Mi
kafka-cp-kafka-1                                           67m          691Mi
kafka-cp-kafka-2                                           53m          811Mi
kafka-cp-kafka-connect-c8bcb47c4-rpsjp                     48m          525Mi
kafka-cp-kafka-rest-685dc8fd7-nlf65                        2m           303Mi
kafka-cp-ksql-server-685f845d-44shf                        3m           635Mi
kafka-cp-schema-registry-5d699b7f4d-nwnvh                  5m           656Mi
kafka-cp-zookeeper-0                                       3m           607Mi
kafka-cp-zookeeper-1                                       3m           611Mi
kafka-cp-zookeeper-2                                       3m           614Mi

How much memory is on your host? The control center container requires a lot of memory on its own, and its interceptors on the brokers and connect components will cause the JVM to fluctuate more than a purely idle Kafka cluster

this morning I updated the image to 6.1.0 and I got this with the default values in charts:
kafka-cp-control-center-5b4df8fdd6-2lgqz                   0/1     OOMKilled          5          20m

maybe the chart should implements
resources:
  requests:

so at least we can know how much memory it needed.

Yes, you should set this, as it is documented
https://github.com/confluentinc/cp-helm-charts/blob/master/charts/cp-control-center/values.yaml#L35-L44

agree, but my point was that maybe the chart should have default values.  I didn't even do anything yet and I have OOM, maybe the chart should start with request: 500Mi..   not sure what I should start with.
I'll play around to find which values I should put there.

IIRC, control center doesn't work well with anything less than Xmx2g
The documentation suggests 32g available on the host itself dedicated for Control Center
https://docs.confluent.io/platform/current/installation/system-requirements.html#system-requirements

thanks, I'll try to ajust my config with those values.


Discussion: Splitting up long files (utils/core)

Should we split up mod_loader_utils.gd? Similar to #150 (which gave classes their own directory), we could have a directory called utils. For class names, we could prefix them all with ModLoaderUtils*.
Here's my suggestions:

File
Class Name
Notes

cli.gd
ModLoaderUtilsCLI
-

file.gd
ModLoaderUtilsFile
Including the saving funcs from #143. Maybe JSON funcs too?

log.gd
ModLoaderUtilsLog
See "Breaking Changes" below

misc.gd
ModLoaderUtilsMisc
Eg. get_date_time_string

third_party.gd
ModLoaderUtilsThirdParty
See related chat in #148, here

Breaking Changes & Deprecation
Ofc, if we moved the logger funcs then every currently published Brotato mod would break. But we could handle this with a deprecation notice, which can be handled with a new func and that triggers a fatal error in the editor. I've explained how this could work in more detail in #154:

#154

Additionally, perhaps it would be a good idea to also split up mod_loader.gd? Especially the public API methods.
Here's a table with my notes on class names and grouping (all applies to mod_loader.gd except ModLoaderLog):

Class
Notes

ModLoaderCore
Private methods

ModLoaderAPI
Public methods

ModLoaderConfig
Config JSON

ModLoaderOptions
ML Options (PR #145)

ModLoaderData
Store for the local vars from mod_loader.gd (eg. os_mods_path_override).

ModLoaderLog
Probably deserves its own class, separate from other utils, as it's used so often

Using ModLoaderData would fix an issue where currently, if you run a func from mod_loader_utils.gd while in ModLoader's _init(), there's no way to access local vars from mod_loader.gd -- or maybe there is, but it's not obvious how.
Again, this would be completely breaking for a lot of mods, but we can take the deprecation approach mentioned in the original post above ("Breaking Changes").

I largely agree. Those are some good splits. A few things:
We should keep away from misc and just keep one generic ModLoaderUtils.
Third party should not be lumped together, but we can put it in a separate directory /third_party_integration. ModLoaderUtilsSteamWorkshop, ModLoaderUtilsThunderstore. These names are getting very long though.
Splitting those also allows us to use the Steam singleton from GodotSteam, since it won't break if it is not available if the file is never parsed.
Splitting the ModLoader is another thing. If we use ModLoaderMod (which I would love) we might also have to use a second autoload. One more step in the setup process.

For the utils classes, would it be better to get rid of the Utils prefix? That would make them a bit shorter, so faster to type. Eg:

ModLoaderCLI
ModLoaderFile
ModLoaderSteamWorkshop

How come ModLoaderMod would need to be another autoload?

Shorter seems fine to me.
If we want to provide access to ModLoaderMod like ModLoader like we do now, it has to be an autoload.
I did just check though, and we can just make every helper method static by just using ModLoader.*.. For example using ModLoader._saved_objects.append(packed_scene) in save_scene makes it "static"
So, a global class also works

I think that we should publish a release before we start work on a large refactor like this. We're going to lose a lot of commit history by moving things around, so it would be really good to have a point in time (ie., a release tag) that we can refer back to if we want to see the pre-refactor history.

Sorry, I'm late to the party.
What about using ModLoader and ModLoaderUtils as index files?
And just link from there to the actual Class methods?
No breaking changes and keeps the main files somewhat clean.

[ ] Rename save_scene()

Qubus0 yesterday while we are at moving this here anyway, why don't we rename it as well? save_scene is way too generic. at least save_modified_scene, but that is still a bit unclear... take_over_scene?

[ ] Move other local vars to ModLoaderStore

ithinkandicode 17 hours ago [...] Maybe it would be good to move the other local vars from ModLoader to ModLoaderStore, [...]

Should we move these functions, currently in mod_loader.gd, as follows:

_ModLoaderScriptExtension

_reset_mods()
_reload_mods()

_ModLoaderGodot

_check_autoload_positions()

_ModLoaderSteam

_load_steam_workshop_zips()

_ModLoaderFile

_load_mod_zips()
_load_zips_in_folder(folder_path: String)

ModLoaderConfig

_load_mod_configs()

_ModLoaderScriptExtension no. Unless we move all other script extension methods with it.. but to me it seems like ModLoader is the correct class for the job
_ModLoaderGodot no, i'd rather rename _get_autoload_array -> get_autoload_array, since the class is already internal and the methods are only used outside this class (not private)
_ModLoaderSteam yes.also keep the _ since it's internal but in a public class
_ModLoaderFile sure, but remove the _
ModLoaderConfig yes, keep the _

Closed by:

#156
#157
#158
#172
#205
#208
#222
#225

Let's keep this issue open until we are satisfied with the location of each file and until the comment from above regarding the functions in mod_loader.gd has been addressed.

closed by *see https://github.com/GodotModding/godot-mod-loader/issues/153#issuecomment-1526460284


Directory Not Found Building Cake on Mac osx

What You Are Seeing?
Directory Not Found Exception on Zip-Files Task Mac OSX
What is Expected?
Cake builds and drops artifacts in artifacts folder
What version of Cake are you using?
0.15.2
Are you running on a 32 or 64 bit system?
64 bit
What environment are you running on?  Windows? Linux? Mac?
Mac
Are you running on a CI Server?  If so, which one?
No, Locally
How Did You Get This To Happen? (Steps to Reproduce)
./build.sh -t Package
Output Log
========================================
Zip-Files
========================================
Executing task: Zip-Files
Creating zip file: /Users/rodneylittlesii/Source/github/cake/artifacts/v0.15.2-beta.1+2.Branch.hotfix/0.15.2.Sha.88a61b352eb49e97390124d6144cdca38ef40645/Cake-bin-v0.15.2-beta.1+2.Branch.hotfix/0.15.2.Sha.88a61b352eb49e97390124d6144cdca38ef40645.zip
An error occured when executing task 'Zip-Files'.
Error: System.IO.DirectoryNotFoundException: Could not find a part of the path "/Users/rodneylittlesii/Source/github/cake/artifacts/v0.15.2-beta.1+2.Branch.hotfix/0.15.2.Sha.88a61b352eb49e97390124d6144cdca38ef40645/Cake-bin-v0.15.2-beta.1+2.Branch.hotfix/0.15.2.Sha.88a61b352eb49e97390124d6144cdca38ef40645.zip".
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x10e9cd050 + 0x001fb> in <filename unknown>:0
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) <0x10e9cccc0 + 0x0004b> in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.FileInfo.Open (FileMode mode, FileAccess access, FileShare share) <0x10e9cc460 + 0x00052> in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileInfo:Open (System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at Cake.Core.IO.File.Open (FileMode fileMode, FileAccess fileAccess, FileShare fileShare) <0x1102482d0 + 0x0003f> in <filename unknown>:0
  at Cake.Common.IO.Zipper.Zip (Cake.Core.IO.DirectoryPath rootPath, Cake.Core.IO.FilePath outputPath, IEnumerable`1 filePaths) <0x111d9f0d0 + 0x0017b> in <filename unknown>:0
  at Cake.Common.IO.ZipAliases.Zip (ICakeContext context, Cake.Core.IO.DirectoryPath rootPath, Cake.Core.IO.FilePath outputPath, IEnumerable`1 filePaths) <0x111d9ed70 + 0x000dc> in <filename unknown>:0
  at CakeBuildScriptImpl.Zip (Cake.Core.IO.DirectoryPath rootPath, Cake.Core.IO.FilePath outputPath, IEnumerable`1 filePaths) <0x111d9ed10 + 0x00042> in <filename unknown>:0
  at CakeBuildScriptImpl+<Execute>c__AnonStorey0.<>m__6 () <0x111d9dad0 + 0x0013e> in <filename unknown>:0
  at Cake.Core.CakeTaskBuilderExtensions+<>c__DisplayClass4.<Does>b__3 (ICakeContext context) <0x111d83390 + 0x00019> in <filename unknown>:0
  at Cake.Core.ActionTask.Execute (ICakeContext context) <0x111d832b0 + 0x00063> in <filename unknown>:0
  at Cake.Core.DefaultExecutionStrategy.Execute (Cake.Core.CakeTask task, ICakeContext context) <0x111d83080 + 0x001ae> in <filename unknown>:0
  at Cake.Core.CakeEngine.ExecuteTask (ICakeContext context, IExecutionStrategy strategy, System.Diagnostics.Stopwatch stopWatch, Cake.Core.CakeTask task, Cake.Core.CakeReport report) <0x111d82960 + 0x000dd> in <filename unknown>:0

@RLittlesII is this still an issue with 16.2?

@devlead It appears to be resolved.  Thanks!

Excellent 👍


Extract CoreFoundation.lib from the build?

Hello,
I have a project that I would like to just use CoreFoundation as a library (in C) as its own module. I noticed that although the CoreFoundation headers are part of the installer, the .lib file is not. It's a pain to build for Windows, so I was hoping I could utilize this project to get that library.

That is intentional - CoreFoundation is not supported, and not supposed to be accessible.  That includes the headers.  Could you point out where in the install it accidentally leaked the headers?
If you wish to take responsibility for it and use it, you could build it separately outside of the swift project, which may cause more problems than it solves if you intend to use it in a swift project.

Makes sense, I see the headers in the Swift 5.3 install but not in the Swift 5.4 one on Swift.org, so looks like you took care of it already. They were in the windows.sdk under lib. We have some C code we would like to share between macOS and Linux that uses CF (and not swift). I'll probably be re-writing to remove CF on Linux instead

Good luck.  CF is definitely convenient to have handy, but since upstream has declared that CF is an internal detail of Foundation, and use of it on non-Darwin platforms is unsupported.  On Linux, because they had accidentally exposed it, they haven't removed it yet, but recommend against the introduction of new dependencies.


dotnet ef throws Could not load file or assembly Microsoft.DotNet.Cli.Utils,

Steps to reproduce

Followed instructions as per https://docs.efproject.net/en/latest/platforms/netcore/new-db-sqlite.html
-- Install the .NET Core SDK
-- Create a new project
mkdir ConsoleApp
cd ConsoleApp/

dotnet new
dotnet restore
dotnet run
-- Install Entity Framework
To add EF to your project, modify project.json so it matches the following sample.
{
"version": "1.0.0-*",
"buildOptions": {
"debugType": "portable",
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.EntityFrameworkCore.Sqlite": "1.0.0",
"Microsoft.EntityFrameworkCore.Design": {
"version": "1.0.0-preview2-final",
"type": "build"
}
},
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
}
},
"imports": "dnxcore50"
}
},
"tools": {
"Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final"
}
}

Run dotnet restore again to install the new packages.
dotnet restore
Verify that Entity Framework is installed by running dotnet ef --help.
dotnet ef --help
The issue
dotnet ef --help
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.DotNet.Cli.Utils, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
at Microsoft.EntityFrameworkCore.Tools.Program.Main(String[] args)
Exception message:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.DotNet.Cli.Utils, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
   at Microsoft.EntityFrameworkCore.Tools.Program.Main(String[] args)

### Further technical details

EF Core version: 1.0.0
Operating system: Windows 10
Visual Studio version: VS 2015 (though this is from command line)

Other details about my project setup: New Application

You can try to clear nuget cache and restore packages:
https://github.com/aspnet/EntityFramework/issues/5458#issuecomment-221912806

That did the trick - thanks.

Glad to help. Especially because I have just spent the last two hours looking for a solution to the same problem.

I had the same issue, clearing the cache resolve it. Thanks!

I've been trying to resolve that error for 6 hours now, clearing the cache isn't resolving it for me.
I can create a brand new project - ASP.NET Core Web Application (.NET Framework)
And the initial Add-Migration throws the exception every time.
I've also repaired/reinstalled the Microsoft .NET Core 1.0.0 - VS 2015 Tooling Preview 2 and reinstalled Visual Studio 2015 several times to fix the {B1C38f27...} bug which required Visual Studio 2013 to be installed.
Any other things I can try to get this to work?

Try uninstalling the old versions of .Net Core rc2 and the Tooling Preview 1. Then delete the cache.

Thanks for the input Ivan!
I've just tried

Uninstalling Microsoft .NET Core 1.0.0 SDK Preview 2
Repairing Microsoft .NET Core 1.0.0 VS 2015 Tooling Preview 2
del %USERPROFILE%.nuget\packages\Microsoft.EntityFrameworkCore.Tools
del %USERPROFILE%.nuget\packages.tools\Microsoft.EntityFrameworkCore.Tools
Uninstalled Microsoft.EntityFrameworkCore.Tools v1.0.0-preview2-final
Installed Microsoft.EntityFrameworkCore.Tools v1.0.0-preview2-final
dotnet restore
-- log  : Restoring packages for D:\GitHub\WebApplication4\src\WebApplication4\project.json...
--log  : Restoring packages for tool 'BundlerMinifier.Core' in D:\GitHub\WebApplication4\src\WebApplication4\project.json...
--log  : Restoring packages for tool 'Microsoft.AspNetCore.Razor.Tools' in D:\GitHub\WebApplication4\src\WebApplication4\project.json...
--log  : Restoring packages for tool 'Microsoft.AspNetCore.Server.IISIntegration.Tools' in D:\GitHub\WebApplication4\src\WebApplication4\project.json...
--log  : Restoring packages for tool 'Microsoft.EntityFrameworkCore.Tools' in D:\GitHub\WebApplication4\src\WebApplication4\project.json...
--log  : Restoring packages for tool 'Microsoft.Extensions.SecretManager.Tools' in D:\GitHub\WebApplication4\src\WebApplication4\project.json...
--log  : Restoring packages for tool 'Microsoft.VisualStudio.Web.CodeGeneration.Tools' in D:\GitHub\WebApplication4\src\WebApplication4\project.json...
--log  : Writing lock file to disk. Path: D:\GitHub\WebApplication4\src\WebApplication4\project.lock.json
--log  : D:\GitHub\WebApplication4\src\WebApplication4\project.json
--log  : Restore completed in 8209ms.
Edited project.json
"Microsoft.EntityFrameworkCore.Tools": {
"version": "1.0.0-preview2-final",
"imports": [
"portable-net45+win8"
]
},
And I still get
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.DotNet.Cli.Utils, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.    at Microsoft.EntityFrameworkCore.Tools.Program.Main(String[] args)

@ZombiesWithCoffee don't use "imports" with preview 2. Clear your cache and try again. There is a bug in .NET Core CLI which does not re-install the tool if you have only changed "imports". https://github.com/dotnet/cli/issues/2978

That was the only time I used it, based on the #5458 comment.
"Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final",

del %USERPROFILE%.nuget\packages\Microsoft.EntityFrameworkCore.Tools
del %USERPROFILE%.nuget\packages.tools\Microsoft.EntityFrameworkCore.Tools
dotnet restore
log  : Restoring packages for tool 'Microsoft.EntityFrameworkCore.Tools' in D:\GitHub\WebApplication4\src\WebApplication4\project.json...
Add-Migration Init

Same issue.  Am I clearing my cache correctly?

@ZombiesWithCoffee are you deleting ".nuget\packages\.tools" or ".nuget\packages.tools"? It should be the former. And can you share the contents of .nuget\packages\.tools\Microsoft.EntityFrameworkCore.Tools? (zip it up and add to comment thread)

del %USERPROFILE%.nuget\packages and del %USERPROFILE%.nuget\packages.tools
the CLI tools and ProjectModels packages need to re-cached

Thank you NateMcMaster!! The bug in my process was the 'del' command!
I had just copied it from the other thread, but just noticed that it wasn't deleting the subdirectories.
So, the correct way to delete your cache is
  del %USERPROFILE%.nuget\packages\Microsoft.EntityFrameworkCore.Tools /S


Add notes on moving OneNote files

Add information about moving OneNote files.  One person noted that the OneNote importer app did not work for them in a business account
https://answers.microsoft.com/en-us/msoffice/forum/all/migrating-one-note-from-a-private-microsoft/53444b35-1519-45c2-ac3d-facbdd314ded

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

ID: b274939b-2cc7-5f9d-c3da-dd254fd68a4d
Version Independent ID: 45939253-ed6a-e985-5b8f-3600f3e54eda
Content: Transfer data manually between two accounts - Microsoft 365 admin
Content Source: microsoft-365/admin/get-help-with-domains/transfer-data-manually.md
Service: o365-administration
GitHub Login: @pebaum
Microsoft Alias: pebaum

@msbemba Thank you very much for the contribution and updating the documentation with PR. @Ronsss Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

Right, thanks.


[stable/prometheus-operator] Update values.yaml

alertmanager doesn't allow null value, will cause error if not specifying option "--set alertmanager.alertmanagerSpec.logFormat=logfmt"

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] DCO signed
[ ] Chart Version bumped
[ ] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

@oneoneonepig Thanks for your PR, Please follow the Checklist items check your PR. Signoff,Charts version bump and document in README.md

There's a more complete PR, closing this one.
https://github.com/helm/charts/pull/15582


Add experts callout to clicks.md

Description of the change: Related to #4614
Reason for the change:
Link to original source:

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

Hello @rosariopfernandes,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX

Hello @rosariopfernandes,Thanks again for the PR!                                         You have earned 5 out of the 5 points needed to receive glorious SendGrid Hacktoberfest swag.                                         Please take a moment to checkout this link to find more issues to get you past the required threshold or to simply continue the celebration.                                         Also, please be sure you have officially registered with us here by November 1, 2018 to qualify.                                         If you have any questions you can email us at<EMAIL_ADDRESS>                                        Thank you and Happy Hacktobering!                                         Team SendGrid


enable semi-duplicate action envs

so currently the design decision I made is:

action_effect_multiplier is a argument fed into the DuplicateActions wrapper. This is because we would only need such an effect multiplier if we are making duplicate actions in the first place. The resulting space will be the same Discrete if original space is Discrete, and Box if original is Box, else it throws an UnImplementedError
we wrap the DiscreteBox wrapper after the DuplicateActions wrapper, if the original space is gym.Box


Remove the use of innerHTML

The slider-label makes use of element.innerHTML which means that sites that make use of a content security policy throw exceptions. This PR gets around the problem by simply using the .text property instead of .innerHTML.
There is an open issue 324 on the parent project which details this well which I have simply copied here:

Our CSP is configured as per Angular's recommendation:
trusted-types angular angular#bundler; require-trusted-types-for 'script'; default-src 'self'; script-src 'self' 'unsafe-hashes' 'sha256-MhtPZXr7+LpJUY5qtMutB+qWfQtMaPccfe7QXtCcEYc='; style-src 'self' https://fonts.googleapis.com 'unsafe-inline'; object-src 'none'; base-uri 'self'; connect-src 'self'; font-src 'self' https://fonts.gstatic.com; frame-src 'self' ; img-src 'self' blob: data:; manifest-src 'self'; media-src 'self'; frame-ancestors 'none'; form-action 'self
Even adding angular#unsafe-bypass as trusted-type doesn't work. This is a security concern

This would be a breaking change because you can set the label value as HTML like in this example: https://angular-slider.github.io/ngx-slider/demos#custom-html-display-function-slider
Maybe there could be a option between using .text for safety or .innerhtml for customizability

I could try and make it an option that we could enable / disable the use of unsafe HTML? Would you rather it remain defaulting to innerHTML without the override being set?

Implemented in 16.0.2/15.0.5/14.0.5


Version 3.5.2 cannot be found on NuGet

Even though the version was bumped to 3.5.2 in https://github.com/HandyOrg/HandyControl/commit/895a3f0611886bc8ccb2c90dcb418deff639ddd8, the latest version that can be found on NuGet is 3.5.1. I am not sure if this is intentional or not, if it's intentional please feel free to close this issue.

@rampaa  original 3.5.2 does not published yet, however if you need latest changes, you can use unofficial version:
https://www.nuget.org/packages/HandyControls


Remove reference to unsupported walk function

walk was removed from fs-extra and therefore fs-promise
Fixes https://github.com/kevinbeaty/fs-promise/issues/28

Thanks!


ADDED : Introduction to JavaScript

hello, added a free course @ishandeveloper

Hey @matincodes !
Congrats on submitting your pull request.
You PR has been merged and the changes will be reflected on the website in a few minutes,.
Do leave a star, if you liked the repo ;)
Happy hacking ! 🎊


Is an .app file created on Mac OS ?

Hi,
I'm normally not a mac user (I'm a linux one), but I would like to provide a mac version of the program I developed. However, I encounter some problems.
I use cx_freeze as a freezer, because it works both for linux and windows. python3 setup.py bdist_esky works perfectly, and a zip of my program is created in the dist folder. Unzipping it and running it also works.
But now, I would like to create an installer for my program (like one you could create with Inno setup). All the tutorials I found online use a .app file to create their installer package.
Am I supposed to get a .app file when I compile my program with Esky ?

@JPFrancoia did u sort this out?

Not really, I finally decided to use py2app (which gave me more issues...). It does create a .app. I think we can close it.


imread issue with the image check

Issue Description
The tests on the Falcon failed due to the image diff.
What did you expect to see happen?
What did you see instead?
framework/user_guide/ForwardSamplingStrategies.Grid ............................................... RUNNING...
runWorker Exception: Traceback (most recent call last):
File "/home/chenj/RAVEN/raven/moose/python/TestHarness/schedulers/Scheduler.py", line 605, in runWorker
self.run(job_container)
File "/home/chenj/RAVEN/raven/moose/python/TestHarness/schedulers/RunParallel.py", line 46, in run
self.testOutput(job_container, output)
File "/home/chenj/RAVEN/raven/moose/python/TestHarness/schedulers/RunParallel.py", line 53, in testOutput
output = tester.processResults(tester.getMooseDir(), self.options, output)
File "scripts/TestHarness/testers/RavenFramework.py", line 192, in processResults
return self.rawProcessResults(moose_dir, options, output)
File "scripts/TestHarness/testers/RavenFramework.py", line 277, in rawProcessResults
(imgSame,imgMessages) = imgDiff.diff()
File "scripts/TestHarness/testers/RAVENImageDiff.py", line 101, in diff
diff = goldImage - testImage
TypeError: unsupported operand type(s) for -: 'instance' and 'instance'
Running the tests on local machine works fine. I loaded pbs and raven-devel-gcc modules on HPC. I wonder if I should load other modules?
Do you have a suggested fix for the development team?
Please attach the input file(s) that generate this error.  The simpler the input, the faster we can find the issue.

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or improvement?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest stable branch? If yes, is there any issue tagged with stable (create if needed)?
[x] 5. If the issue is being closed without a merge request, has an explanation of why it is being closed been provided?

From link:
https://stackoverflow.com/questions/8404956/installing-pil-with-jpeg-support-on-mac-os-x/12194881#12194881
Worth noting and good information to have whenever working with Python and PIL: If you use virtualenv (and I think it's a very good idea), PIL may not correctly detect the image libraries on your system and install without JPEG/PNG support. Use the pillow package for a compatible PIL fork that finds them correctly.

We only ever install PIL through pillow.  If a user has PIL, then I would be curious to know how they got it.

I have tried:
[wangc@falcon2 testers]$ module purge
[wangc@falcon2 testers]$ module load raven-devel-gcc

Then PIL is found:
 '/apps/local/easybuild/software/PIL/1.1.7-GCC-4.9.2-Python-2.7.9/lib/python2.7/site-packages/PIL'

Interesting; that is the right line of questioning to pursue.
For what it's worth, In the libs update branch #668, we will discontinue use of the raven-devel-gcc module and use conda for everything, and pillow is used if the optional libraries are requested.

Addressed by new reg test system.
Closure checklist passed...


issue with columns width

if the width of the column is set less than the default min-width (150), then the width setting is not taken into account

You can override the min-width property of the column. But maybe we should disregard it if the width is set explicitly.

@kuzman any feedback?

I am working with a workaround, but I think that there should be a fix. the min-width should be taken from the width option when width<min-width


Quickstart overview update

Updated screen shots to reflect latest versions of Identity Server.  Cleaned up small wording issues. Updated to latest template code.  Like leaving in the if (env.IsDevelopment())and now UseApplicationInsights is in the default.
I removed the line:

"In fact, when you try it, you should see an exception at startup time stating that services are missing."

because the exception doesn't actually say that.
built the docs using "read the docs". Can be reviewed at the following:
http://identityserver4test.readthedocs.io/en/latest/quickstarts/0_overview.html

@StevenTCramer,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla2.dotnetfoundation.org.
It will cover your contributions to all .NET Foundation-managed open source projects.
Thanks,
.NET Foundation Pull Request Bot

@StevenTCramer, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, .NET Foundation Pull Request Bot

looks good, other than the app insights -- remove that one line, please. pizza pizza!

Updated.  And thanks for the Pizza Pizza :)

thanks!


Fix issue #13429

Fixes the issue AttributeError: module 'jax.lax' has no attribute 'empty' error when using jax_remat_opt_barrier=False

Since this code isn't actually used anywhere, I think it's better to remove it entirely (done in https://github.com/google/jax/pull/13430)


gps: BenchmarkCreateVendorTree - fatal error instead of nil panic

What does this do / why do we need it?
This PR "fixes" a nil pointer benchmark panic by calling Fatalf instead of Errorf to halt the test.  The underlying failure to create a SourceMgr still exists.
What should your reviewer look out for in this PR?

failed to create SourceManager: "failed to ensure directory at "/tmp/vsolvtest/cache/sources": mkdir /tmp/vsolvtest/cache/sources: no such file or directory"

Is the root cause obvious enough to fix in this PR? Or is there some local state to initialize first which can be documented?
Do you need help or clarification on anything?
In general, should we run benchmarks in CI, if only to confirm that they work? Or would it be a mistake to have code which is only covered by benchmarks and not separate tests in the first place?
(FYI - There are only four benchmarks, and two are hard coded to skip)

i'm fine with running benchmarks in CI just to confirm that they fundamentally work.


Suggestions

First, thanks for the great theme!
I'm going to drop a few screenshots here with some suggestions. I know design (especially in code editors) is highly subjective, so feel free to close this completely, run with some of the ideas, or request a PR — which I'd be glad to help with when I have some free time.
My custom settings can be found here.
Personally I found the "Default High Contrast" theme to be a bit too distracting, with not enough separation between the different layers. Notably, I:

added a third color (to sidebar and terminal) to contrast those with not only the editor, but the activity and status bars

lightened up the scroll bar, the highlighted line, and the matching bracket colors (making those less distracting while coding)

matched the color of the ruler (showing my max line length) to the indent guides

changed up the editor tabs a bit

In Material Theme Darker, the scroll bar handle is almost invisible. Even using Material Theme Darker High Contrast does not help much. I think the scroll bar should just be a solid colour. (Black?)


Reduce time cost of checking bucket path in S3 API

What changes are proposed in this pull request?

I create BUCKET_PATH_CACHE as a static object to S3RestHandlerService.

I create property key PROXY_S3_BUCKETPATHCACHE_TIMEOUT_MS to determine how long each entry should be automatically removed from the cache.

I create  function checkPathIsAlluxioDirectory(FileSystem, String,@Nullable S3AuditContext, Cache<AlluxioURI, Boolean> bucketPathCache) ,which plays the same role as  checkPathIsAlluxioDirectory(FileSystem, String,@Nullable S3AuditContext) but more efficient.

I change S3RestHandlerService.java to call checkPathIsAlluxioDirectory with argument BUCKET_PATH_CACHE.

I add boolean value checkS3BucketPath as a field of CreateFilePOptions and CreateDirectoryPOptions. This flag is used in FileSystemMasterClientServiceHandler to check the bucket path existent if checkS3BucketPath is TRUE.

Why are the changes needed?

BUCKET_PATH_CACHE highly improves the efficiency while creating objects.
For example:
Set up an Alluxio cluster with 1 master(aws ec2 m5.2xlarge) and 2 workers(aws ec2 m5.4xlarge);
benchmark S3 API with warp cmd.

WARP_ACCESS_KEY=minioadmin WARP_SECRET_KEY=minioadmin  ./warp put --concurrent=80 --obj.size=64KiB --host=cluster0120-masters-1  --disable-multipart --insecure --md5 --duration=3m

Benchmark result is like:

PUT operation
before
after

Average Throughput
48.49 MiB/s, 775.82 obj/s
59.66 MiB/s, 954.57 obj/s

Time percentage: checkPathIsAlluxioDirectory()/createObjectOrUploadPart()
7.70%
0.50%

Time percentage: checkPathIsAlluxioDirectory()/total_time
3.31%
0.21%

Users can modify alluxio.proxy.s3.bucketpathcache.timeout  in conf/alluxio-site.properties to change the time period of cache expiration.

Does this PR introduce any user facing changes?
Users can modify alluxio.proxy.s3.bucketpathcache.timeout  in conf/alluxio-site.properties to change the time period of cache expiration. The default value is 1min. Users can set it 0min to close the function.

Property Name
Default
Description

alluxio.proxy.s3.bucketpathcache.timeout
1min
Expire bucket path statistics in cache for this time period. Set 0min to disable the cache.

Note:  create file and  create bucket operations are always accurate , but other operations bring incosistent results because of the cache to bucket path. All in all, alluxio makes sure that every modification is cosistent and correct.

I think it needs to develop the same implementation in the v2 proxy. What do you think? @lucyge2022, please take a look! we may separate another PR for the v2 proxy change.

@jiacheliu3 please help merge this.

alluxio-bot, merge this please


Update README.md

Update steps for creating and deploying local catalogsource
Replace Tekton-Pipelines namespace with openshift-pipelines-operator
Update OLM install step
Signed-off-by: Nikhil Thomas<EMAIL_ADDRESS>

@akihikokuroda, @vtereso
could you guys review this PR


Make the template pass cargo clippy by resolving warnings

Resolve the cargo clippy warnings in the template so that new projects created from the template will only show warnings on code added by the user.
All of the errors are clippy::uninlined_format_args

Thanks for taking the time! 👍
Cool to see that stable clippy lints for this now.

No problem!
Any interest in making it pass clippy::pedantic too? I can work on a PR for those warnings if so.

I ran it over the code and think most of these lints, especially the documentation / panic related ones, are not too relevant for us and can be ignored.
There are some that we could adopt:

clippy::single-match-else (which is a recent addition to Rust)
clippy::if-not-else

I would accept a PR for those, but can also tackle it at some point before december this year.


IServiceCollection not found in Microsoft.Framework.DependencyInjection

Today after last update DependencyInjection broke.
Broken code here: https://gist.github.com/Ph47/fb78936df0786e5c0f2a
"kpm build" says:

error CS0012: The type 'IServiceCollection' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Framework.DependencyInjection.IServiceCollection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'

kre is 1.0.0-beta3-10921
I tried different version of Microsoft.Framework.DependencyInjection and last is 1.0.0-rc1-10711
At DependencyInjection version 1.0.0-beta3-10754 other symptoms. Compilation goes fine, but on "k web" i have exception:

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Framework.DependencyInjection.IServiceCollection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Clear out  %UserProfile%\.kpm because there might be some other bogus rc1 packages there. The latest is all supposed to be beta3 but we inadvertently published some rc1 packages.

Eilon Thanks! Clearing packages solve my problem.

Hi Eilon, I have a 'clean' beta4 installation (only .dnx, not .k), and I try to refer a third party package built on beta3 version, and got exactly the same error.

@IonRobu you'll need to get a version of that package that is built against beta4 then. All the packages used in the project have to be compiled against the same version. Please note that this is just painful right now because we're shuffling things around a lot while the project is in preview. Once it hits 1.0-rtm this won't happen anymore.


[express] Request: unknown causes express to fail to compile

closing as we haven't heard problems about this since


BEM linting

We should lint bem to verify we are always adhering to the structure.
Targeting V2 to get this integrated into our chain.

good idea :)

You can thank @pudly for bringing this idea to mind. He told me the tech exists after an off-the-cuff remark.

I have this functioning now. But... I can't figure out how to get Harry Robert's convention to be recognized. The linter only wants to lint the default BEM syntax.
So, I'm going to move forward with this, which will mean converting -- for modifiers to _ for us. There may also be other little details to get figured out with how some of the more complex selectors are working. It also does not like double-class structures to increase specificity a bit.

Changing convention is rough, even for a v2. Still might be worth to have the whole thing linted. Not sure.

A lot of things are already being heavily modified. V2 isn't going to be something where there is a direct upgrade path. Might as well change now and have the tooling in place to keep us as straight as we can going forward.
FWIW, a quick -- to _ regex replace does just fine here. So where people can quickly upgrade things it shouldn't be a problem (except for colliding with custom classes. But, even that is solvable with regex.)

Has any work been done on this?
If not, I'd be willing to have a go.
Using stylelint and stylelint-selector-bem-pattern I think it would be possible to continue using the current -- modifiers.

V2 has the linting in place already. Since that is where it is needed this issue is resolved.


Adding producer-consumer problem example

Concurrency is such an important part of Pony, that I found it strange not to treat any of the typical concurrency problems in the examples. Moreover, I didn't found many examples with many actors instead of classes interacting with each other.
This is my implementation of a solution to the Producer-Consumer problem, any comment is welcome.
I left the prints I used when coding it because if anyone wants to try the example out, maybe it helps; but I  understand if you like to erase them.

Thanks for this @danielaRiesgo. I left a few comments about possible concerns. Additionally, the formatting for examples, standard library et al is 2 spaces. This appears to either be tabs or 8 spaces. Can you update accordingly. A few other formatting basics are enumerated in the CONTRIBUTING.md document.

@danielaRiesgo for the debug_string usage you have. are you intending those to only be used while debugging or is that output you want to always happen? If its the former, then you should check out the Debug package.

The "debug_string" is just output I used to see how the program develops. In a real program, the producer and consumer would obviously do something more significant and nobody would want to see what is happening, just the result. But as it is an example for someone learning pony, I think is valid. In fact is what I used to understand it.
But as I wrote at the beginning, I understand if you decide to remove it.

@danielaRiesgo no need to remove. just wasn't sure.
i'm looking at this at the moment because under slightly higher numbers of runs, this segfaults.
the range inside a behavior is a gc anti pattern but it appears before that becomes an issue that this triggers a pony issue. i'm figuring out what that might be and will open an issue for it.
are you familiar with why
  be start_producing() =>
    for i in Range[U32](0, _quantity_to_produce) do
      _buffer.permission_to_produce(this)
    end

is an ant-pattern and will cause problems with how pony garbage collects?

I understand that until that function is finished, the actor won't be disposed. But I don't see the problem with that, since you want the actor to finish that in your program.
I didn't have problems with it, but I guess it could segfault if one of the actors the buffer stores gets disposed, but this could happen?

@danielaRiesgo the segfault appears to be unrelated.  i'm working on tracking it down.
the anti-pattern is that garbage collection only happens between behaviors.
what this means is that if you do
be some_behavior() =>
  while(true) do
    ... do anything here ...
  end

this actor will never have garbage collection run so its heap will continue to grow and grow (assuming it grows).
In the case of your Producer, now that I take a closer look. I don't think this would be a problem, but in general, doing loops that can be large in size inside of behaviors is strongly discouraged.
Does that make sense?

Yes, it does. But in this case the loop doesn't grow its own heap, but yes the Buffer's heap. Would that be a problem?

Hi @danielaRiesgo, I found the source of the segfault.
you need to change struct val Product to class val Product
on my machine, giving producer a val of 45 or higher triggers the bug before the I made that change. Afterwards, I can't trigger it.

@danielaRiesgo I also did a scratch version of what it would look like using Timers to trigger producer and consumer and the memory usage is much better than how you are currently doing it. I'd be happy to share that if you are interested in it and we could perhaps work together to come up with a very Pony solution to the problem.

@danielaRiesgo I need to check with @sylvanc on that. It appears when running this that GC isn't run.

Sure, I'm interested. I still don't fully understand Pony's style so it would be good to get to a Pony solution.

Instead of the loop you could recursively call the behaviour so GC occurs:
be start_producing(count: U32 = 0) =>
    _buffer.permission_to_produce(this)
    if count < _quantity_to_produce then start_producing(count + 1) end

Given that _buffer is an actor though it shouldn't matter since all it does is queue behaviours. If there's only one core it could make a difference though as lots of behaviours will be queued before any are run when start_producing exits. With a recursive behaviour it'd allow some to run between calls.

I made a couple small changes to this and did a new PR. Thank you for your work on this @danielaRiesgo, we wouldn't have this example without you.
You see the new slightly modified PR at:
https://github.com/ponylang/ponyc/pull/898


Provide AlphaMissense as a prediction score

A recent paper by Jun Cheng et al has published a missense prediction model using AlphaFold. The trained model has not been made public, but AA substitution predictions for all missense variants in hg19 and hg38 have been provided publicly: https://console.cloud.google.com/storage/browser/dm_alphamissense;tab=objects?pli=1&prefix=&forceOnObjectsSortingFiltering=false
Jun Cheng et al. ,Accurate proteome-wide missense variant effect prediction with AlphaMissense.Science0,eadg7492DOI:10.1126/science.adg7492

Subsumed in #1300


Update cron schedule logic

This is an alternative to #309.
Instead of moving the cron schedule logic into generate_workflow.py, it stays in generator.yml, which is more verbose and declarative, but gives us more accurate control over the schedule.

Thanks for the review!


Adding a follow button on the Internship/Placement Blog.

The Internship/Placement Blog is one of the most used features of InstiApp. To get the shortlist notifications you need to follow the Blog, the current process is Explore -> Seach Blog -> Follow.
It can be simplified by just adding a floating action button in the Blog page

I would like to contribute to this, assign this to me.

This isssue can be closed with reference to this pull request. https://github.com/DevCom-IITB/instiapp-flutter/pull/53


Implement scrolling to get to the next focus

Thanks to @davidfokkema in Discord

Codecov Report
Attention: Patch coverage is 44.44444% with 10 lines in your changes missing coverage. Please review.

Project coverage is 96.58%. Comparing base (356560f) to head (316b636).
Report is 1 commits behind head on main.

Files with missing lines
Patch %
Lines

tuitorial/app.py
44.44%
10 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
- Coverage   98.23%   96.58%   -1.66%
==========================================
  Files           7        7
  Lines         567      585      +18
==========================================
+ Hits          557      565       +8
- Misses         10       20      +10

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


Implement Retention Period for the messages

As a Devops Engineer I want to configure the lifespan of the acked messages on my system. Also, I want to configure how much to check during the day.

This project will be deprecated with Andy X v3


Add BaseSection and update BaseResult

Codecov Report
Attention: Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@e9f6d66). Learn more about missing BASE report.
Report is 1 commits behind head on main.

Files
Patch %
Lines

src/arkas/section/base.py
0.00%
9 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #38   +/-   ##
=======================================
  Coverage        ?   80.00%
=======================================
  Files           ?        9
  Lines           ?      100
  Branches        ?       12
=======================================
  Hits            ?       80
  Misses          ?       20
  Partials        ?        0

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


[BUG] Empty BGCHANGES are replaced by .gif originally set for CDTITLE

Is there an existing issue for this?

[X] I have searched the existing issues and none matched.

Operating System
Windows 10 Home 64-bit (21H2)
CPU
Intel Core i7 2600 @ 3.40GHz
GPU
8192MB ATI Radeon RX 580 Series
Storage
2x 1863GB Western Digital WDC WD2003FZEX-00SRLA0 ATA Device
Game Version
4.14.0
Game Mode
dance
Theme
any...
Describe the problem
The following has been prepped hours before the fallout within #508 caused by me:
Guys, you are giving me headaches (and anxiety)... I don't like you fixing stuff in your "HotFix Updates" while introducing bugs with them... (reason stated at second to last sentence)
*<IP_ADDRESS>'s Changelog:
Fixed bug with BGA missing when simfile author didn't add the video file to the .sm/.ssc as to the standard specification
Uhmmm... Maybe don't do that? Please? Either that or differentiate what is an actual video file or if it is already being used/set to something else...
Logs:
00:27.622: FFMPEG Decoder: Movie /Songs/pack/song/dark.gif has handler 'Animated Image', type 'GIF/APNG'
00:31.753: Loading screen: "ScreenGameplay"
00:31.830: SM: File has no BGA set by default, found dark.gif, Setting it as BGA'
GIFs aren't videos... At least the one I've set as a CDTITLE isn't...
Now it changes itself to that once the song starts (reaches Beat 0)
I noticed this while theming...
The last time one hotfix after the other happened, it was already bad enough. Please don't rush things...
*Also: The Common splash file still says <IP_ADDRESS> instead of <IP_ADDRESS>
Describe what should happen
I don't care anymore...
You can close this issue immediately as I'll retroactively change said issuing .gif CDTITLE to a new .png one
Relevant Log output
The following has been added the hour after the fallout within #508 caused by me:
I'm sorry that certain wordings I've written down at the certain issue that may have caused this very issue somehow came over the wrong way and I would like to clarify:
The "not sure what happened between 4.13 and 4.14" line was because NOT of me "not" knowing about the changelog as I have read them prior to downloading the new version. It wasn't even a SSC issue since the issue I've commented on was about a .sm file (unless said parser now does .ssc AND .sm, which I didn't know - hence the "SSC Parser"). It was mainly to what had been said last within the very issue by the issuer:
"It's definitely a 4.14 problem because the simfiles don't have BGChanges indicated, but in 4.13 they still loaded automatically. In 4.14, they don't, even if I specify BGChanges for them."
I'm not accepting an apology as it's clearly my fault on this rushed comment of mine from where I forgot to insert the comment there myself or establish the connection between my comment and my intention for said line.
I'll also refrain from reporting on any more minor bugs (unless they are major) up until AlphaV drops.

Hiya,
Thanks for the report, we will adjust how the gif/gifv files are sorted out as we forgot about this one in honesty.
Further to your comments at the bottom of the report, we would rather you report nitpicks, bugs, feature requests than not, it just seemed like in your posts you were angry or upset at us, so your tone always seemed like we had done something wrong.
I can understand text is not the best way to follow emotion or intent, so I apologise for my comment there, just you did seem a little angry about the bug cropping up.
In short, we actually really appreciate bug reports and nitpicks even if they sometimes make us die a little inside because we forgot to check the one edge case that you or another player has found. At the end of the day, we cannot fix things we do not know about, and for that I will applaud your thoroughness and commitment to improving OutFox for everyone.
I'd say lets wipe the slate clean and move past this set of crossed wires.

the problem is that we set gifs to be handled by ffmpeg, so it thinks that gifs are bga's so the bga check that checks for every FT_Movie thinks gifs are the bga.

This is fixed in 4.15, thanks for reporting


bug: in-memory prover fails

using commit eace7cd9d1ff73d9a814fe24ec6fb55fc9f238ac I built the code and generated a witness as described in the readme. I used transaction 0x1e903dba5031fccd94ade18c6903f325bb90f83240bb95f0152eb56fa2c6da07 from the sepolia testnet for witness generation. I ran the program as follows:
env RUST_MIN_STACK=33554432 \
ARITHMETIC_CIRCUIT_SIZE="15..28" \
BYTE_PACKING_CIRCUIT_SIZE="9..28" \
CPU_CIRCUIT_SIZE="12..28" \
KECCAK_CIRCUIT_SIZE="14..28" \
KECCAK_SPONGE_CIRCUIT_SIZE="9..28" \
LOGIC_CIRCUIT_SIZE="12..28" \
MEMORY_CIRCUIT_SIZE="17..30" \
target/release/leader prove \
--runtime in-memory \
--num-workers 1 \
--input-witness ~/0x1e903dba5031fccd94ade18c6903f325bb90f83240bb95f0152eb56fa2c6da07.json

After generate_txn_proof there's a kernel panic and the stack trace gives me no clue as to what failed.

Hi! Thank you for reporting this.
We are aware that the zkEVM prover still fails to provide proofs for some Shanghai blocks. The team is aware of it and is working on fixing the bugs. It may take some time for this specific block to be successfully proven, so I'd suggest you try playing with other blocks in the meantime!

using commit eace7cd9d1ff73d9a814fe24ec6fb55fc9f238ac I built the code and generated a witness as described in the readme. I used transaction 0x1e903dba5031fccd94ade18c6903f325bb90f83240bb95f0152eb56fa2c6da07 from the sepolia testnet for witness generation. I ran the program as follows:
env RUST_MIN_STACK=33554432 \
ARITHMETIC_CIRCUIT_SIZE="15..28" \
BYTE_PACKING_CIRCUIT_SIZE="9..28" \
CPU_CIRCUIT_SIZE="12..28" \
KECCAK_CIRCUIT_SIZE="14..28" \
KECCAK_SPONGE_CIRCUIT_SIZE="9..28" \
LOGIC_CIRCUIT_SIZE="12..28" \
MEMORY_CIRCUIT_SIZE="17..30" \
target/release/leader prove \
--runtime in-memory \
--num-workers 1 \
--input-witness ~/0x1e903dba5031fccd94ade18c6903f325bb90f83240bb95f0152eb56fa2c6da07.json

After generate_txn_proof there's a kernel panic and the stack trace gives me no clue as to what failed.


HOTT-3636: Adjust presentation of action code

Jira link
https://transformuk.atlassian.net/browse/HOTT-3636
What?
I have added/removed/altered:

[x] Adjust presentation of action code

Why?
I am doing this because:

This is a feature request and simplifies confusing presentation for users


fix: fetch previus history before set new history

:tada: This PR is included in version 4.13.8 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Use tuple for shape in split_axis

list is illegal for shape of GPUArray. Instead use tuple.

LGTM :+1:


[QUERY] How to deploy a new child resource with Azure.ResourceManager

Library name and version
Azure.ResourceManager 1.0.0-beta.7
Query/Question
Can you please provide an generic example that shows how a generic resource or child resource can be deployed with the .NET SDK?
Let's imagine I have a Data Factory and I now want to add a child-resource (e.g. managed private endpoint) to it. How can this be done?
I already tried defining a generic resource and then called the update method, but that always failed and complained that the resource ID is invalid.
Thanks for your help!
Environment
OS: Windows 11
.NET Version: 6.0.101
IDE: VS Code latest stable version

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Hi @jsquire,
Any updates on the request above?

Hi @marvinbuss.  Unfortunately, I'm only serving as initial triage in this case and have no insight.  @ArthurMa1978 is the person who would have the knowledge needed to provide an update.

@fengzhou-msft  please help on it

@marvinbuss with generic resource, you need to operate with a ResourceIdentifier of the child resource even with CreateOtUpdate. With your example, if you have a DataFactory with id /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}, then a managed private endpoint child resource id should look like /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}. Use this child id as the resourceId when you create it with generic resource. In this case, you may need to create the managedVirtualNetworks first (with id /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}) before you can create a managed private endpoint as it's actually a grandchild of datafactory and you need to create its parent first.

Thanks @fengzhou-msft. Let me give this a try and get back if I run into any issues with this approach.

Hi @fengzhou-msft,
When I do the following:
var principalAssignmentResource = armClient.GetGenericResource(id: new ResourceIdentifier(resourceId: "/subscriptions/<sub-id>/resourceGroups/<rg-name>/providers/Microsoft.Kusto/Clusters/<kusto-name>/principalAssignments/{Guid.NewGuid()}"));
var principalAssignmentResourceParameters = new GenericResourceData(location: kusto.Value.Data.Location)
{
    Properties = new
    {
        principalId = principalId,
        principalType = "App",
        role = "AllDatabasesViewer",
        tenantId = tenantId
    }
};
await principalAssignmentResource.UpdateAsync(parameters: principalAssignmentResourceParameters, waitForCompletion: true, );

The following method fails: Azure.ResourceManager.Resources.GenericResource+d__27.MoveNext
Is there any option to set the api version?

The issue is caused by the way GenericResource gets the api version for the resource type:
string version = await ClientOptions.ApiVersions.TryGetApiVersionAsync(Id.ResourceType, cancellationToken).ConfigureAwait(false);
It relies on you to pass in the api version for the resource type when you create the Client with ClientOptions.
In latest code, it's fixed with an API call:
string version = await _providerCollection.TryGetApiVersionAsync(Id.ResourceType, cancellationToken).ConfigureAwait(false);
The fix will be released with Azure.ResourceManager 1.0.0-beta.8.

Hi @fengzhou-msft,
I upgraded to the new version today, but I am still running into the same issues and I am not sure how this is supposed to work.
This API call is always failing:
https://github.com/marvinbuss/PurviewAutomation/blob/737f500f03cbfd27da482d290bc2b1b0dc3e9588/code/PurviewAutomation/Clients/KustoOnboardingClient.cs#L177
Error:
Message: Exception while executing function: PurviewAutomation Not supported type <>f__AnonymousType114[System.String,System.String,System.String,System.String]Exception type:System.NotSupportedExceptionFailed Method:Azure.Core.Utf8JsonWriterExtensions.WriteObjectValue`
Would be great to get some help on this issue! 👍

This can be closed. Thanks for your help! 👍

Hi @fengzhou-msft, I upgraded to the new version today, but I am still running into the same issues and I am not sure how this is supposed to work. This API call is always failing: https://github.com/marvinbuss/PurviewAutomation/blob/737f500f03cbfd27da482d290bc2b1b0dc3e9588/code/PurviewAutomation/Clients/KustoOnboardingClient.cs#L177
Error: Message:  Exception while executing function: PurviewAutomation Not supported type <>f__AnonymousType114[System.String,System.String,System.String,System.String] `` Exception type: System.NotSupportedException Failed Method: Azure.Core.Utf8JsonWriterExtensions.WriteObjectValue
Would be great to get some help on this issue! 👍

This is resolved by using a dictionary instead of anonymous class for Properties.


[fix][broker] fix aging subscription accidentally when expiration time not arrive

Motivation
As we known, the subscription will be aging when the configuration of subscriptionExpirationTimeMinutes is positive.
The aging operation is dependent on the lastActive timestamp of subscription cursor, which only updated while consumers changing.
If broker is stable and consumer list not change, the subscriptin lastActive timestamp could be a very old time.
It may result in the subscriptin being deleted accidentally when broker suffer sudden exit and start up again.

Modifications
Update lastActive timestamp when the method of checkInactiveSubscriptions in PersistentTopic.java is invoked.

Verifying this change

[x] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

Simillar change in https://github.com/apache/pulsar/pull/21692, which has been closed.
The problem you are worried is fixed by https://github.com/apache/pulsar/pull/22794.

Closing this PR since the issue is handled by #22794.


Add demo for CollapseTable transform

Also running ThemeTransform.classifyElements(), just in case.

@niedzielski I just realized that the ThemeTransform demo has a checkbox for turning on CollapseTable. So, I guess this PR is not useful. Instead I've added the article to the Them demo (PR #154).
Unfortunately the RTL issue is present there as well.

@berndsi, up to you. The theming demo is enormous and takes a while to load so debugging issues is slower. I'm happy to have some overlap with the demos, especially if this is more unit focused.

@niedzielski Yeah, the Theme demo is super slow. I wonder how hard it would be to lazy load the article content.

Maybe the "all" case could be solved by adding a button to load all content? But by default only load the first one, so a user can set all the control parameters (theme, collapseTables, direction, ...) before loading all articles.

That would be a nice improvement.

Maybe the "all" case could be solved by adding a button to load all content? But by default only load the first one, so a user can set all the control parameters (theme, collapseTables, direction, ...) before loading all articles.

This is more or less what the "everything demo" I'm chipping away at does. Sorry it's taking so long!

@montehurd working on a better demo.


Please add support for the new SOFT_TEMP_LIMIT bit.

For RPI3B+ please provide descriptive message for this throttled state rather than the default "There is a problem with your power supply or system." case.
New values are 0x80000 and 0x80008
Details here:
https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=224861

Got some time coming up during christmas will take the time then to handle it.

@bosbefok mind printing this out when 0x8 happens
cat /sys/devices/platform/soc/soc:firmware/get_throttled


New "First Agent Connected" dialog

(padding was slightly tweaked after the video was taken)

I'm not happy about the window.location hack but couldn't think of a better solution. It started because when you hit "(X)" you couldn't see the agent that connected. And also if refresh the setup page with an agent connected, they still can't see their agent.
One idea to get rid of the window.location hack would be if we added the agent list to the bottom of the setup page.


Needs a version tag

Hi,
I don't know if you are aware that if you don't add at least one tag (like e.g. v0.0.1) the module will soon be deleted from Deno's registry.

Hi,
I don't know if you are aware that if you don't add at least one tag (like e.g. v0.0.1) the module will soon be deleted from Deno's registry.

Hello, how would I go about doing that?

Go to your project directory and run:
git tag v0.0.1
git push origin v0.0.1


tests: Tag resource intensive tasks, to skip when strategy=linear

The ansible_mitogen test suite takes over an hour when Ansible is not
accelerated by Mitogen. This change aims to reduce that by skipping
tests with a large number of iterations when the linear strategy is
chosen.

Mac Vanilla_210_27 job is reduced from 1 hour to approx 15 minutes

Mac Vanilla_210_27 job is reduced from 1 hour to approx 15 minutes

 https://dev.azure.com/mitogen-hq/mitogen/_build/results?buildId=32&view=logs&j=c33a2a27-ad1b-5f95-a372-4c6c65381ab9
After removing this, the vanilla Ansible job takes  about 5 min less time than Mitogen 😱 I feel like we should fix that: https://github.com/mitogen-hq/mitogen/issues/804

 https://dev.azure.com/mitogen-hq/mitogen/_build/results?buildId=32&view=logs&j=c33a2a27-ad1b-5f95-a372-4c6c65381ab9
After removing this, the vanilla Ansible job takes  about 5 min less time than Mitogen 😱 I feel like we should fix that: https://github.com/mitogen-hq/mitogen/issues/804


Where are outputs of kernel scripts after #785

#785 brakes my development flows and I cannot find the output scripts anymore.
Scenario running a simple ./kernel_test.sh in samples/xgemm create all the output files and I could easily look where things break. The files are no longer present.
We should re-establish the behavior of before #785

Also I'm not convince that this is what we want:

Limit warning about LIBXSMM_TARGET beyond CPUID to NDEBUG (verbose output), and avoid calling CPUID
at all if LIBXSMM_TARGET is given. This regime allows easier debugging under ARM (no SIGILL).

You can run:
./kernel_test.sh -o debug.log

This will create the logs you had before ("debug.log" is used as filename template for the individual log files).

./kernelt_test.sh -o .log
or
./kernelt_test.sh -o *.log
don't work, so there is some prepend needed?

Just -o filename.ext or -o /path/to/file.ext works. The resulting logfiles follow the pattern filename-[something].ext.

Also I'm not convince that this is what we want:
* Limit warning about LIBXSMM_TARGET beyond CPUID to NDEBUG (verbose output), and avoid calling CPUID
  at all if LIBXSMM_TARGET is given. This regime allows easier debugging under ARM (no SIGILL).
  There under some not CI test platform some rechecks, not sure if they are still functional.

Calling libxsmm_cpuid() always performs a check and returns the true resolution (independent of what LIBXSMM_TARGET is set to). This is the design of "target" vs "cpuid" (and did not change). The change above is just that if LIBXSMM_TARGET is set to something unreasonable, it does not issue a verbose warning. Though, since quite some time we avoid to sanitize or limit the given target (if it was beyond CPUID). The change avoid calling CPUID in the initial library setup and thereby eases debugging code on ARM. We rely on signal handler for SIGILL for CPUID on ARM, which previously required to setup the debugger properly.

Regarding logfiles, or specifically for error bounds, you can use LIBXSMM_MATDIFF=/path/to/file (which creates or appends to the file) to get one line per call of libxsmm_matdiff_epsilon along with the command line of the executable. Such file can be sorted like sort -gk1 /path/to/file, e.g., to calibrate error margins.

I'm just looking for simple script all these knobs I will keep forgetting ;-D , OK got it we have to add some at least one letter before the .log.
For CPUID, does the following still work: I set SPR on a CLX and I will run (when not using some TMUL) or will crash (when using TMUL). Also when I have set SPR, and I run libxsmm_cpuid(), I will get CLX? (at least this is what I understand and what is good)

I set SPR on a CLX and I will run (when not using some TMUL) or will crash (when using TMUL).

Yes, that's the case (user rules). It will crash as soon as an illegal instruction is executed.

Also when I have set SPR, and I run libxsmm_cpuid(), I will get CLX?

Yes.

I'm just looking for simple script all these knobs I will keep forgetting ;-D

You can also use ./kernel_test.sh -h (or --help), and it will go straight to tool_pexec's help. Most interesting options are:

-o: as described above, logfile template filename. You can also set export PEXEC_LG=debug.log to alway generate logs.
-u: generate/update allow-list. All failures are collected into an allow list.

We should re-establish the behavior of before https://github.com/libxsmm/libxsmm/pull/785

The default of the logfile argument changed to /dev/null because of slowdown when writing logs in parallel plus spilling files by default into a directory is not very nice. Set export, e.g., export PEXEC_LG=log.txt in .bashrc and you're back.

For further reference, script documentation can be found here.


Remove version: WikidPad.WikidPad version 2.2

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: URL works;


[backport] reduce hare commitee to 50 (#5793)

this will reduce total gossipsub traffix x8.
comitee upgrade is scheduled to be used from layer 105_720 (July 15, 2024, 10:00:00 AM UTC).

Why the backport? we can just release the current develop as v1.6.2?

Why the backport? we can just release the current develop as v1.6.2?

The develop contains lengthy migrations that are unnecessary for now and would make the rollout much more difficult for people. We need a quick adoption of 1.6.2.


test: recover test es5

Related issue (if exists)

Closed https://github.com/web-infra-dev/rspack/issues/2699

Summary

🤖 Generated by Copilot at f34c7e5
This pull request adds some debugging and optimization features to the rspack_plugin_javascript crate, which is a plugin for the rspack tool that bundles and transforms JavaScript code using the swc compiler. It also updates some tests and examples to reflect the new options and behavior.

Walkthrough

🤖 Generated by Copilot at f34c7e5

Add mode and target options to rspack.config.js in basic example (link)
Replace index.js in basic example with code that uses async and generator functions (link)
Avoid injecting _instanceof helper function as a runtime dependency (link)
Update imports in inject_runtime_helper.rs module (link, link)
Add debugging code to print resource path and generated code in inject_runtime_helper.rs module (link)
Improve error message in run_fixture.rs module (link)
Rename files in tree-shaking test folder to remove leading dots (link, link, link, link)

Closed


xfce4-notifyd is not started by dbus

Describe the bug
xfce4-notifyd is not started by dbus in 20.09
This is verifiable by checking systemctl or just nix-shell -p libnotify --run 'notify-send It works!'
To Reproduce
Add xfce.xfce4-notifyd to systemPackages and cause a dbus restart.
This seems to be a regression between 20.03 and 20.09 (I don't have proof of this, but I'm confident this all worked before I upgraded to 20.09).
Expected behavior
That xfce4-notifyd gets picked up by dbus as per https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/system/dbus.nix#L116-L119
Notify maintainers
@worldofpeace
Metadata
λ ~/ nix-shell -p nix-info --run "nix-info -m"                                                                                ~
 - system: `"x86_64-linux"`
 - host os: `Linux 5.9.11, NixOS, 20.09.2076.ffb3aab257e (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.9`
 - channels(dminuoso): `"nixos-unstable-21.03pre253635.2247d824fe0, nixpkgs-unstable-21.03pre250093.0da76dab4c2, nixpkgs-20.09beta992.7badbf18c45, nixpkgs-static"`
 - channels(root): `"nixos-hardware, nixos-20.09.2076.ffb3aab257e, home-manager, nixos-unstable-21.03pre250162.34ad166a830, nixpkgs-unstable-21.03pre250093.0da76dab4c2"`
 - nixpkgs: `/home/dminuoso/.nix-defexpr/channels/nixpkgs`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
- "services/system/dbus.nix"

Updated channel, problem still appears.
λ /nix/store/ nix-shell -p nix-info --run "nix-info -m"                                                                                /nix/store
 - system: `"x86_64-linux"`
 - host os: `Linux 5.9.12, NixOS, 20.09.2190.78dc359abf8 (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.9`
 - channels(dminuoso): `"nixos-unstable-21.03pre253635.2247d824fe0, nixpkgs-unstable-21.03pre250093.0da76dab4c2, nixpkgs-20.09beta992.7badbf18c45, nixpkgs-static"`
 - channels(root): `"nixos-20.09.2190.78dc359abf8, nixos-hardware, home-manager, nixos-unstable-21.03pre250162.34ad166a830, nixpkgs-unstable-21.03pre250093.0da76dab4c2"`
 - nixpkgs: `/home/dminuoso/.nix-defexpr/channels/nixpkgs`

I also see the following message in the dbus-daemon journal:
Dec 09 23:17:19 Verleihnix dbus-daemon[2148]: [session uid=1000 pid=2148] Activation via systemd failed for unit 'xfce4-notifyd.service': Unit xfce4-notifyd.service not found.

No idea why I'm seeing those errors at all.
/etc/dbus-1/session.conf does not contain xfce4-notifyd as it should.

Interestingly, if I explicitly put in services.dbus.packages = [ pkgs.xfce.xfce4-notifyd ]; the /etc/dbus-1/session.conf contains the right reference, but dbus still cant start the notifyd service:
Dec 10 00:56:41 Verleihnix dbus-daemon[2070]: [session uid=1000 pid=2070] Activation via systemd failed for unit 'xfce4-notifyd.service': Unit xfce4-notifyd.service not found.
Dec 10 00:56:41 Verleihnix dbus-daemon[2070]: [session uid=1000 pid=2070] Activating via systemd: service name='org.freedesktop.Notifications' unit='xfce4-notifyd.service' requested by ':1.34' (uid=1000 pid=7971 comm="notify-send It works! " label="kernel")
Dec 10 00:56:41 Verleihnix dbus-daemon[2070]: [session uid=1000 pid=2070] Activation via systemd failed for unit 'xfce4-notifyd.service': Unit xfce4-notifyd.service not found.

If xfce4-notifyd is explicitly added to dbus.packages, there's an appropriate .service file in the system:
``lrwxrwxrwx 1 root root 130 Jan  1  1970 /nix/store/h7yby2r3csqhnq7napknal3yplm2hwhn-system-path/share/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service -> /nix/store/j7kzylhr7ms7ph9ihndm8bwxl5ak4i0b-xfce4-notifyd-0.6.1/share/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service
`

For other users stumbling on this, as a temporary workaround I'm running xfce4-notifyd from my
services.xserver.desktopManager.sessionCommands = ''
     ${pkgs.xfce.xfce4-notifyd}/lib/xfce4/notifyd/xfce4-notifyd &
'';

I updated from 20.03 to 20.09 yesterday without any configuration changes and I got hit with the same problem.
Here's my metadata (Yes, I'm also using lambda as shell prompt :smile:)
λ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.9.16, NixOS, 20.09.2674.a058d005b3c (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.10`
 - channels(root): `"nixos-20.09.2674.a058d005b3c"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Also, I'm running xfce as DM (noDesktop  = true; enableXfwm = false;) + Xmonad as WM.
As a workaround I created a systemd user service for xfce4-notifyd:
{ config, lib, pkgs, ... }:

with lib;

let
  cfg = config.services.xfce4-notifyd;
in
  {
    options = {
      services.xfce4-notifyd = {
        enable = mkOption {
          type    = types.bool;
          default = false;
        };

        package = mkOption {
          type    = types.package;
          default = pkgs.xfce.xfce4-notifyd;
        };
      };
    };

    config = mkIf cfg.enable {
      systemd.user.services.xfce4-notifyd = {
        description = "XFCE4 notifyd";
        requires    = [ "graphical-session.target" ];
        after       = [ "graphical-session.target" ];

        serviceConfig = {
          ExecStart    = "${cfg.package}/lib/xfce4/notifyd/xfce4-notifyd";
          Restart      = "on-failure";
          RestartSec   = "1";
        };
      };
    };
  }

And then in my configuration.nix:
{ config, lib, pkgs, ... }:

{
  imports = [
    ./xfce4-notifyd/default.nix
  ];

  services.xfce4-notifyd.enable = true;
}

Since I didn't restart my graphical session I just started it manually the first time:
systemctl --user start xfce4-notifyd

I updated from 20.03 to 20.09 yesterday without any configuration changes and I got hit with the same problem.
Here's my metadata (Yes, I'm also using lambda as shell prompt :smile:)
λ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.9.16, NixOS, 20.09.2674.a058d005b3c (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.10`
 - channels(root): `"nixos-20.09.2674.a058d005b3c"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Also, I'm running xfce as DM (noDesktop  = true; enableXfwm = false;) + Xmonad as WM.
As a workaround I created a systemd user service for xfce4-notifyd:
{ config, lib, pkgs, ... }:

with lib;

let
  cfg = config.services.xfce4-notifyd;
in
  {
    options = {
      services.xfce4-notifyd = {
        enable = mkOption {
          type    = types.bool;
          default = false;
        };

        package = mkOption {
          type    = types.package;
          default = pkgs.xfce.xfce4-notifyd;
        };
      };
    };

    config = mkIf cfg.enable {
      systemd.user.services.xfce4-notifyd = {
        description = "XFCE4 notifyd";
        requires    = [ "graphical-session.target" ];
        after       = [ "graphical-session.target" ];

        serviceConfig = {
          ExecStart    = "${cfg.package}/lib/xfce4/notifyd/xfce4-notifyd";
          Restart      = "on-failure";
          RestartSec   = "1";
        };
      };
    };
  }

And then in my configuration.nix:
{ config, lib, pkgs, ... }:

{
  imports = [
    ./xfce4-notifyd/default.nix
  ];

  services.xfce4-notifyd.enable = true;
}

Since I didn't restart my graphical session I just started it manually the first time:
systemctl --user start xfce4-notifyd

Caution: when xfce4-notifyd is down, you may hit a severe issue with xfce4-power-manager which I've reported upstream in that link.

@rzetterberg,

As a workaround I created a systemd user service for xfce4-notifyd:

Thanks, I haven't tried this method to make a systemd service before. Is there a way to restrict this to just xfce4 sessions?

Also, has anyone tracked down the change that introduced the issue?

@acarrico,

Thanks, I haven't tried this method to make a systemd service before. Is there a way to restrict this to just xfce4 sessions?

I don't think there's a streamlined way to do this, as graphical-session.target is used for all different session types.
Maybe you could change ExecStart to only run xfce4-notifyd when the environment variable DESKTOP_SESSION contain xfce.

I just looked at it again and think I found the immediate problem.
xfce4-notifyd no longer carries the dbus-1 directories around in the share directory.
λ ~/ find /nix/store/vdxhkljhr4fzzcy17y29dm4kpn5zhxgx-xfce4-notifyd-0.2.4/share -name dbus-1                                                                                ~
/nix/store/vdxhkljhr4fzzcy17y29dm4kpn5zhxgx-xfce4-notifyd-0.2.4/share/dbus-1
λ ~/ find /nix/store/r2k5w1vzmh5g3s6sdapmnffjyq9qki9l-xfce4-notifyd-0.6.2/share -name dbus-1                                                                                ~
λ ~/

So this appears to be a regression at some point in 2020.
@romildo You seem to have bumped the package and done quite a bit work on xfce. Do you know what could be the cause or a fix here?

The following configure option is available:
--enable-dbus-start-daemon
                          Start daemon via DBus instead of regular session
                          autostart. (default=no)

We can try to enable it and see if it works for you.
Note that the default (autostart session) works for me with the default NixOS configuration for Xfce.

Thanks!
Given the pull request I managed to track down the regression:
https://gitlab.xfce.org/apps/xfce4-notifyd/-/issues/27
The linked PR is a permanent fix. Autostart users should not be affected. The following is a morally correct workaround until the PR hits a nix channel in case any other users are affected by this and don't want to wait.
let
  xfceOverlay = self: super: { xfce = super.xfce // {
      xfce4-notifyd = super.xfce.xfce4-notifyd.overrideAttrs (old: {
        configureFlags = (old.configureFlags or []) ++ [ "--enable-dbus-start-daemon" ];
      });
    };
  };
in
{
  config = {
    nixpkgs.overlays = [ xfceOverlay ];
  };
}

@romildo
The autostart file is indeed correctly provided, but that only helps if ones WM/DE is XDG Autostart compliant. Xmonad is not, which is why I was affected.
Once PR is merged I will close this issue.

@dminuoso Nice workaround! Much cleaner than the one I suggested :+1:

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/help-xfce4-notifyd-seems-to-be-a-ghost-package/21966/1


Kinesis Elasticsearch: rename from Kinesis Elasticsearch Sink

The Sink is implied by the rest of the name.

Overridden by #2654


Update layout a bit

This PR changes the layout of some items on the front page. There were some suggestions that the old layout wasn't quite right. So this one splits the first line into two: the firs is a brief description of PSI/J with an image that illustrates that description. The second is the more detailed main card.
This is one possible layout out of many, so we can use this space to discuss other options.

->

Looks like an improvement to me.

Thanks. Given that @kylechard mentioned some dissatisfaction with the layout, we should wait and see what he has to say.

Maybe I like the more 'dense' one better, less white space

Pretty nice and better than the old one. I like the color ranges as well.


Add 'bind_dn' and 'bind_pw' params for authenticated LDAP servers

This extends the functionality to allow for cases where the LDAP server requires authentication before it can search.

I don't have access to a ldap server at the moment to test this as I'm offsite but if you stick a comment in here when you've finished tweaking things I'll look at merging

I'm done for now. Have further tested it on two instances running against different OpenLDAP-based servers. Working fine for me.


[release/1.2.z][TC-1857] fix: dashboard/barchart replace numeration by empty characters (#1963)

Backport of https://github.com/trustification/trustification/pull/1963
https://issues.redhat.com/browse/TC-1857

Merging this PR as it is a backport of a PR already approved.


Test on Python 3.11 and macOS

Use standard tox.ini from the cookiecutter
Test on Python 3.11 and macOS

There are too many conflicts to make this worth a rebase, so I'll close and just open new PRs


[1.4.z] Bump Quarkus version and keycloak backport

Summary

Bump Quarkus to 3.8.5
Backport of https://github.com/quarkus-qe/quarkus-test-framework/pull/1153 as keycloak 24 is also used in Quarkus 3.8.5

Please check the relevant options

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Dependency update
[x] Backport
[ ] Refactoring
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change requires a documentation update
[x] This change requires execution against OCP (use run tests phrase in comment)

Checklist:

[x] Example scenarios has been updated / added
[x] Methods and classes used in PR scenarios are meaningful
[x] Commits are well encapsulated and follow the best practices

run tests

run tests


Undefined model relationships：morphMany ...

Laravel Version: 5.6.17
Voyager Version: 1.0.*
PHP Version:
Database Driver & Version:

Model relation
hasManyThrough
morphTo
morphMany
morphToMany
morphedByMany

Each project will basically use the model relationship here.
Is there a support for the plan?

We are open to pull requests

Morphing is a really difficult topic, as the possible Models are unpredictable.
But maybe someone finds a way.

I was able to modify the blade templates to accommodate the relationships in relationship-partial.blade.php/ relationship-new-modal.blade.php.
  <option value="morphTo" @if(isset($relationshipDetails->type) && $relationshipDetails->type == 'morphTo'){{ 'selected="selected"' }}@endif>Morph To</option>
                <option value="morphToMany" @if(isset($relationshipDetails->type) && $relationshipDetails->type == 'morhpToMany'){{ 'selected="selected"' }}@endif>Morph To Many</option>

and  the javascript to allow input of the pivot table and adding some additional input to accept a "morph id" column
the problem I am having is that it does not seem to "save" the morph_column in the JSON details

* Laravel Version: 5.6.17

* Voyager Version: 1.0.*

* PHP Version:

* Database Driver & Version:

Model relation
hasManyThrough
morphTo
morphMany
morphToMany
morphedByMany

Each project will basically use the model relationship here.
Is there a support for the plan?

Me Too waiting for morph relationships in voyager.


Unable to download new models due to SSL handshake failure

Test device: MacBook Pro (M3 Pro), Sonoma 14.3.1
I've verified that this behaviour occurs across multiple devices and networks.
Steps to reproduce

Download the macOS M1/M2 build from the Downloads page.
Extract the DMG and open the application.
Choose "Download models..." from the dropdown.

Expected result
Dropdown populates with available models.
Actual result
SSL handshake error as in screenshot below:

I can reach https://translatelocally.com/models.json in my web browser without issue. The TLS certificate presented to my browser appears trusted, although it was issued 12 days ago so I'm not sure whether the translateLocally app is performing certificate pinning and would need its configuration or trust store updated.

The linked models are hosted on statmt.org which had an expired certificate (they recently moved webserver and probably something went wrong with setting up the play to renewal bit)
Should be fixed now.

Unfortunately I still see this happening.

A quick workaround is to download https://translatelocally.com/models.json somewhere, and then fire up a local web server (for example, python3 -m http.server 9000) and use the app settings to import the repository as something like http://localhost:9000/models.json:

happening still

@Gitterman69 @davidlyness  @bjepson  could you try the latest release: https://github.com/XapaJIaMnu/translateLocally/releases/tag/latest

I am also getting the same error (on macOS with an M1 using the translateLocally.macos-13.x86-64.dmg build. Oddly, I didn't get this error when I tried it on Windows.

Thanks,
Brian

I am having the exact same problem. MacoOS 12.7.5 (Monterey). SSL error as above.

It seems there's something broken with the github CI machines that we use to build the mac build and it compiles with broken SSL ;/

Don't know if the source of the problem is the same, but i got similar messages on WSL Ubuntu 22:

Downloaded translateLocally-v0.0.2+27771d8-Ubuntu-22.04.AVX.deb
dpkg -i translateLocally-v0.0.2+27771d8-Ubuntu-22.04.AVX.deb

dpkg: dependency problems prevent configuration of translatelocally:
 translatelocally depends on libarchive13 (>= 3.0.4); however:
  Package libarchive13 is not installed.
 translatelocally depends on libqt6core6 (>= 6.2.0); however:
  Package libqt6core6 is not installed.
 translatelocally depends on libqt6gui6 (>= 6.1.2); however:
  Package libqt6gui6 is not installed.
 translatelocally depends on libqt6network6 (>= 6.1.2); however:
  Package libqt6network6 is not installed.
 translatelocally depends on libqt6svg6 (>= 6.2.0); however:
  Package libqt6svg6 is not installed.
 translatelocally depends on libqt6widgets6 (>= 6.2.0); however:
  Package libqt6widgets6 is not installed.

apt update
apt --fix-broken install
dpkg -i translateLocally-v0.0.2+27771d8-Ubuntu-22.04.AVX.deb

(Reading database ... 38886 files and directories currently installed.)
Preparing to unpack translateLocally-v0.0.2+27771d8-Ubuntu-22.04.AVX.deb ...
Unpacking translatelocally (0.0.2) over (0.0.2) ...
Setting up translatelocally (0.0.2) ...

translateLocally -a

qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No TLS backend is available
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No TLS backend is available
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No TLS backend is available
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No TLS backend is available
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed

translateLocally -d de-en-base

translateLocally -d de-en-base
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No TLS backend is available
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No TLS backend is available
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No TLS backend is available
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: No TLS backend is available
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
Unable to find 'de-en-base' in the list of available models. Available models:

Hope the information help.

@bobdschingis do you have openssl installed?

@bobdschingis do you have openssl installed?

Yes, it's version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
ca-certificates is:
ca-certificates is already the newest version (20230311ubuntu<IP_ADDRESS>)
I can also get the models.json with wget from https://translatelocally.com/models.json as normal or root user.
It's also possible to connect with openssl to translatelocally.com as normal or root user:
openssl s_client -connect translatelocally.com:https
CONNECTED(00000003)
depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = R3
verify return:1
depth=0 CN = kheafield.com
verify return:1
---
Certificate chain
 0 s:CN = kheafield.com
   i:C = US, O = Let's Encrypt, CN = R3
   a:PKEY: id-ecPublicKey, 256 (bit); sigalg: RSA-SHA256
   v:NotBefore: Jun  2 18:31:29 2024 GMT; NotAfter: Aug 31 18:31:28 2024 GMT
 1 s:C = US, O = Let's Encrypt, CN = R3
   i:C = US, O = Internet Security Research Group, CN = ISRG Root X1
   a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
   v:NotBefore: Sep  4 00:00:00 2020 GMT; NotAfter: Sep 15 16:00:00 2025 GMT
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIEwjCCA6qgAwIBAgISBNFv5JmuRS0ASedH9vAG98gmMA0GCSqGSIb3DQEBCwUA
MDIxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQD
EwJSMzAeFw0yNDA2MDIxODMxMjlaFw0yNDA4MzExODMxMjhaMBgxFjAUBgNVBAMT
DWtoZWFmaWVsZC5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASQ7IkCVJD6
bhiLEinKRTfMALbjHmTccJowxbHYVkm2vc+5Jj/j1C0BCU4KmfTLtTg3C0rlDZ8g
ya5nZJSBmYtAo4ICtTCCArEwDgYDVR0PAQH/BAQDAgeAMB0GA1UdJQQWMBQGCCsG
AQUFBwMBBggrBgEFBQcDAjAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBSsZc4uT9RJ
hV6SXtGu+sviFZfeSzAfBgNVHSMEGDAWgBQULrMXt1hWy65QCUDmH6+dixTCxjBV
BggrBgEFBQcBAQRJMEcwIQYIKwYBBQUHMAGGFWh0dHA6Ly9yMy5vLmxlbmNyLm9y
ZzAiBggrBgEFBQcwAoYWaHR0cDovL3IzLmkubGVuY3Iub3JnLzCBvQYDVR0RBIG1
MIGygg1raGVhZmllbGQuY29tghVtdGEtc3RzLmtoZWFmaWVsZC5jb22CEW10YS1z
dHMubmV1cmFsLm10ggluZXVyYWwubXSCCnByaXZhdGUubXSCFHRyYW5zbGF0ZWxv
Y2FsbHkuY29tghF3d3cua2hlYWZpZWxkLmNvbYINd3d3Lm5ldXJhbC5tdIIOd3d3
LnByaXZhdGUubXSCGHd3dy50cmFuc2xhdGVsb2NhbGx5LmNvbTATBgNVHSAEDDAK
MAgGBmeBDAECATCCAQQGCisGAQQB1nkCBAIEgfUEgfIA8AB2AEiw42vapkc0D+Vq
AvqdMOscUgHLVt0sgdm7v6s52IRzAAABj9pvd40AAAQDAEcwRQIgXK/O+jOTpiR+
nV/rxfeFo5Pf5pd06Kf2LrpuV0lXQRUCIQCoWi89eoD6LF5iXH99sf1AVV/QGmeF
2or2bJSn5Rsm4QB2ABmYEHEJ8NZSLjCA0p4/ZLuDbijM+Q9Sju7fzko/FrTKAAAB
j9pvd6YAAAQDAEcwRQIgOuhdEPYni3NcUw2a9xnOWZR1uXR1Y/pc7W0pJ8FEJpYC
IQC3ovGCDvBRt2o9Mbtjzst00dKoUAOqO5IAcYv9GGDAujANBgkqhkiG9w0BAQsF
AAOCAQEACyi/bQL506VH+dKUt4Irk9oBomhG8S10CrJOq76Ure0T+4SsThQeeL2h
xGTfHBu2A/FhQ6tXxeMSycBwBPJFnN3sNadZ59U1Lwlaf7uD/R0MeCl48Y6omGTb
rBV1lF2XpCquYRmdy6psTap58ePydwRHlvkZZka2CXxqK3DxlY691kf+KUI1rxKf
cNcNU+z6b4HgSIKu3vWbqXQUCbtPzhJL7eoHhR9msIYDjcPi3itj6fF3Qos9LQ9V
/C67Avzn0WMkWPHJv5e6PP5II8CjawuKE0G5deDBw9SE4cIqa71S15DyGGBtTALG
dcky7GP4sHNpEjTX8GrngNRAn8r2Sg==
-----END CERTIFICATE-----
subject=CN = kheafield.com
issuer=C = US, O = Let's Encrypt, CN = R3
---
No client certificate CA names sent
Peer signing digest: SHA256
Peer signature type: ECDSA
Server Temp Key: X25519, 253 bits
---
SSL handshake has read 2907 bytes and written 402 bytes
Verification: OK
---
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 256 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---
---
Post-Handshake New Session Ticket arrived:
SSL-Session:
    Protocol  : TLSv1.3
    Cipher    : TLS_AES_256_GCM_SHA384
    Session-ID: 5D954D7A1FE64DD5C9059F37A8E148A532ECD8AEEDC9763C9BC3480BE94B242F
    Session-ID-ctx:
    Resumption PSK: 02ABECD2D7F672FB489883AAA1183F17DBAADC0B228F773E501FB4F9C122B68F278D0C8DC5223FF61F78395001AEA160
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 86400 (seconds)
    TLS session ticket:
    0000 - 2b 08 f2 a0 48 34 fb 9a-44 f8 11 18 08 ba f6 55   +...H4..D......U
    0010 - 13 b6 d4 dc 24 6b f5 91-0e 73 ad d7 38 2c b8 16   ....$k...s..8,..

    Start Time:<PHONE_NUMBER>
    Timeout   : 7200 (sec)
    Verify return code: 0 (ok)
    Extended master secret: no
    Max Early Data: 0
---
read R BLOCK
---
Post-Handshake New Session Ticket arrived:
SSL-Session:
    Protocol  : TLSv1.3
    Cipher    : TLS_AES_256_GCM_SHA384
    Session-ID: 042F0A3D32A569239785A242FC2394161892E730E2754F4A9F6B094F5E959869
    Session-ID-ctx:
    Resumption PSK: C1D6B48635D7CF905BED22F7E0059E60560C7C10F5794AA851BEF35A7A1238CDB3F59632D1D086E4C2AA33FA6F3B3344
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 86400 (seconds)
    TLS session ticket:
    0000 - 8c d7 c6 1f ee a3 96 2f-a3 15 ed fa 53 e1 3b e0   ......./....S.;.
    0010 - 4d 0e 4f 5e 0c a6 4d b8-6b 3b 77 f3 e7 c2 36 87   M.O^..M.k;w...6.

    Start Time:<PHONE_NUMBER>
    Timeout   : 7200 (sec)
    Verify return code: 0 (ok)
    Extended master secret: no
    Max Early Data: 0
---
read R BLOCK

My guess was that WSL tried to open the host with IPv6. Since WSL do not support IPv6. But domain has IPv4 and IPv6 address. I did a tcpdump for "translateLocally -d de-en-base" and host translatelocally.com but no packets are captured.
If i can test anything else plz let me know. Thanks for the support!

I am really not sure what's happening here and I don't have wsl machine to test. Could you try building from source on wsl?
Also does native Windows work any better?

Sorry for the laste response. Had not much time since my last post.

Also does native Windows work any better?

Yes, works great. Thanks for it 👍

I am really not sure what's happening here and I don't have wsl machine to test. Could you try building from source on wsl?

I will try and report. :-)