versions greater than 1.0.30001349 break my PWA for some reason

Hi, I am trying to troubleshoot an issue I am having with my PWA no longer loading if I update caniuse-lite to version later than 1.0.30001349. If I stay on 1.0.30001349, my PWA will load fine, and service worker will be able to update it to new versions, etc. But if I am using later versions of this package, I get syntax or MIME type errors and the page is blank and won't load. Any suggestions for how to fix this? Thanks

Maybe it is related with https://github.com/browserslist/browserslist/issues/698


Change OSN to use FileFeatureSet

Requires DigitalGlobe/DeepCore-Dev#570

Can one of the admins verify this patch?

test this please

Build is gonna fail until DigitalGlobe/DeepCore-Dev#570 is merged.


output.chunkFilename out of date regarding defaults and [name] replacement

In this section:
https://webpack.js.org/configuration/output/#output-chunkfilename
It currently says:

By default [id].js is used or a value inferred from output.filename ([name] is replaced with [id] or [id]. is prepended).

From code inspection this doesn't appear to be correct:
https://github.com/webpack/webpack/blob/e2fe2009d9f2b26a8d751ea89e184d6ec96e37d7/lib/WebpackOptionsDefaulter.js#L91-L104
For example:

If filename is set to its default value, then chunkfilename is set to the same value, rather than [id].js.
Usages of [name] are not replaced by [id]

Send a PR

Hi! Thank you for the reply.
Just as a bit of feedback (mainly for other PRs where issue authors may not be as used to the webpack project) - the wording "Send a PR" can come across as a bit abrupt. The kind of phrasing that I've seen used to good effect in open source projects (Mozilla's or otherwise) is something like:
"Thank you for the issue. We're pretty swamped with XYZ at the moment (/this project is only volunteer run...), so if you'd have a chance to open a PR for this issue, this we'd really appreciate it. <link to contribution guide etc>"

Very nice, didn't know there are saved replies in github :) thank you mate


PDF layout options?

https://www.vox.com/21523212/crossword-puzzles-free-daily-printable
(See January 18, 2022 puzzle: by Juliana Tringali Golden)

the blue shading is not reflected in the PDF.
(in .puz, they are reflected as circles; in .jpz, reflected properly as blue shading)

the grid is bottom aligned. (seems like it should be top aligned)

JulianaTringaliGolden.pdf
Feature request for PDF: allow user to choose font. Or at least give a few more font options. I usually find it easier to read sans-serif fonts.

Thanks for the report!
The shading is actually there - it is just very, very subtle. There is a setting for ink saver that should default to being off, but which you appear to have enabled; the problem is that this shade of blue is so light that any amount of further lightening makes it very hard to see. Dropping the percentage to 25% or lower makes it more visible. Unfortunately, it's a bit hard to pick a setting here that works well across the board. I commonly see crosswords which use very dark/bright colors (e.g. https://spyscape.com/crosswords/puzzle-148-up-to-speed, which looks good even at 75% Ink Saver), so applying the ink saver setting to the custom colors seems appropriate in general, but won't work well for every situation. I can leave this open and think about whether some sort of minimum contrast ratio could make things better.
The grid layout is just hard-coded to go in the bottom right for simplicity - again, hard to come up with a scheme that works for all grid sizes and puzzle types. Adding a setting to put it in other corners by default would probably be doable. Trying to detect a "best" corner for each puzzle would be tougher.
Settings/controls for font options makes sense. One drawback is that the fonts have to be bundled with the extension, or else special characters won't be supported (and I don't think there's a way to access system fonts, though it would probably be possible to support uploading a custom font).

Thanks for the quick response.
Yes, you're right, I did have the ink saver set rather high. Sorry about missing that.
Re, fonts: would it be possible to, at least, include a generic sans-serif: Arial, or some similar font?
Also, any plans to scrape Crossword Compiler grids?
https://www.washingtonexaminer.com/crossword-grounded-flights
https://crosswordsbackwards.com/backward-crossword-puzzle-380/

Added a setting to select a sans-serif font for PDFs, and support for Crossword Compiler applets. For the latter, one caveat is that these are hosted directly by the site's host, rather than a central service, so it's impossible to know up front if an embedded frame contains such a puzzle or not just from the URL. Since we don't want to request permission to view every page as this is scary to some users, the scraper only supports sites which embed the applet directly on the current page, or specifically listed sites known to contain iframes. The two sites you linked, as well as another I'm aware of (www.brendanemmettquigley.com), should all work, but let me know if you're aware of any more.
Otherwise, I filed a separate bug to track selection of the grid corner when rendering PDFs at https://github.com/jpd236/kotwords/issues/27, and for dealing with light cell background colors in ink saver mode at https://github.com/jpd236/kotwords/issues/28. These are more significant, though, so I probably won't get to them soon unless there's more demand.
I think that's everything here, but feel free to reopen / file a separate request for anything I missed. Will make a new release some time soon unless I find other issues.


Missing or redundant translations extracted to output file

Description
After upgrading from ^4.2.0 to ^6.0.3 I've noticed 3 issues.

translation key is not extracted from pipe argument  (Issue #1 in demo repo)

{{ 'value' | testPipe: ('test1' | translate) }}

translation key is not extracted from pipe argument - inside binding (Issue #3 in demo repo)

<app-test [test]="{ property: 'test3' | translate}"></app-test>

argument of method called in chain just after .instant() is extracted, but it shouldn't

this.translateService.instant(someDynamicKeyForTranslation()).split('
')

in above example,
 lands in .json file as a key.
Demo
https://github.com/kamilchlebek/ngx-translate-extract-issue/blob/master/src/app/app.component.html
First two issues (regarding pipes) occurred directly after upgrading ngx-translate-extract version.
Last issue (
) does not happen in repository with angular 8 and typescript 3.5.3. I can't say right now when did it start. If you'll need more info I can try to play with demo repo to check what dependencies caused that.
Expected json
{
	"test1": "test1",
	"test3": "test3"
}

Actual json

for ngx-translate-extract 4.2.0

{
	"
": "
",
	"test1": "test1",
	"test3": "test3"
}

for ngx-translate-extract 6.0.3

{
	"
": "
"
}

1 & 2: This seems to be the intended behaviour after #150 . There is even a test, which ensures that pipeline arguments are not extracted.
https://github.com/biesbjerg/ngx-translate-extract/blob/5e0da552b05048195902d1a4592f44dcfe1460ea/tests/parsers/pipe.parser.spec.ts#L157-L161
3: The query for tsquery is wrong and returns two nodes. Maybe I find the time to take a deeper look into this issue.
https://github.com/biesbjerg/ngx-translate-extract/blob/5e0da552b05048195902d1a4592f44dcfe1460ea/src/utils/ast-helpers.ts#L100-L107

1 & 2: This seems to be the intended behaviour after #150 . There is even a test, which ensures that pipeline arguments are not extracted.

Pity. I'm not using it a lot, so I'll migrate.
I guess the reason behind it, is that it could lead to issues while switching languages (while using pure pipe ofc)?

3: The query for tsquery is wrong and returns two nodes. Maybe I find the time to take a deeper look into this issue.

Thanks, would be good to see the fix. After that I'm going to switch to v6

I found similar issues in our code after upgrading from 3.0.5 to 7.0.4:
{{ 'previewHeader' | translate:{filename: filename || ('video' | translate)} }}

Similar to 1, previously was finding both previewHeader and video, now finds only previewHeader.
Second one, similar to 2:
<ng-container *ngTemplateOutlet="section; context: { title: 'title' | translate }"></ng-container>

no longer picks up title.
These do not look intentional, the test linked by @SteffenSchwaiger checks if an argument to a different pipe is ignored, but here both values are passed to translate pipe, so it seems like the parser is ignoring too much.


Need to be able to Edit Biocurations for One Container not many

Feature or enhancement
Scenario: @tmcelrath and I were editing the Collection Objects where the output in the DwC file contained 2 values in the sex field.
First, I use lock all to create a new object that will be then be containerized with the original object/s. In the new object, the Biocurations of the new object AND the original object/s are both editable. This introduces unnecessary risk because a person could edit the incorrect Biocuration or both.
(This isn't really a bug, per se).
Location
Task - Comprehensive example https://sfg.taxonworks.org/tasks/accessions/comprehensive?collection_object_id=74889
Screenshot, napkin sketch of interface, or conceptual description

Your role
Community Liaison

Additional related enhancement request is to somehow grey out or otherwise make it clear the other curations are not the ones for this particular collection object. Perhaps obvious once the additional biocurations are not editable it will be unnecessary to add more visual cues.


Modified Flickr SQL to return distinct Photos for big hotspots

If you extract Berlin Alexanderplatz, the previous SQL would return 5 times the same picture. Apparently joining on the various hotspot sections. The modified query will extract distinct images by ordered my  popularity.

All right, now all the missing concat plusses are added as well - I promise it ran all the tests. :)


NREL MIDC inactive stations

closes #282

SOLRAD website is down; this is why everything fails. @AdamRJensen I think it is safe to merge regardless.


qt5.qtwebengine: remove patch upstreamed in 5.12.2

Motivation for this change
QtWebEngine build was failing on staging
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I'm sorry, I thought it built for me locally. That's so weird! :thinking:

I'm sorry, I thought it built for me locally. That's so weird!

Oh no you didn't break it, this patch was added on master (where it was required because 5.15.0) and the automatic merge added it to staging as well :smile:


charts(openebs-3.4.1): helm chart for OpenEBS v3.4.1

This add release v3.4.1 for the OpenEBS chart. changes:

mayastor dependency updated to 2.0.1
values.yaml typo fix for dynamic-nfs-provisioner options
comment mayastor configuration set to enable the use of subchart options, by default
remove mayastor base.initContainer and containers configuration, the subchart options will be used by default

Can you also please update the main README.md for this repo. 'Mayastor' does not show up as an embedded link.
Engine charts included as dependencies are:

[mayastor] (https://github.com/openebs/mayastor-extensions/tree/release/2.0/chart)


Make the scrolling of iTunes Top List Horizontal

As a user, I would like to scroll through the top podcasts horizontally.
[SP: 1]
[Value: High]
[Risk: Low]

Demoed and it works.


Prepend / append \A, ^, $, and \z anchors to regular expressions.

We currently upgrade ^ and $ to their full-string counterparts, but we don't seem to add anchors in general.
Note: we may get a "loop" of mutations by adding these and then generically deleting them if we don't special case them. On the one hand a "loop" would force you to prove you really mean the end of line, but it would also be punishing in the case where you're just being defensive / conservative (which is probably ok).

My interest in this mutation was to help detect cases where code testing a certain regexp only provides test cases where the input string contains exactly what the regular expression is matching. For example,
require 'rspec'

def weekday?(input)
  input.match(/(?:Mon|Tue|Wed|Thu|Fri)/)
end

RSpec.describe '#weekday?' do
  it 'matches monday' do
    expect(weekday?('Mon')).to be_truthy
  end

  it 'does not match sunday' do
    expect(weekday?('Sun')).to be_falsey
  end
end

should either become
def weekday?(input)
  input.match(/\A(?:Mon|Tue|Wed|Thu|Fri)\z/)
end

or a test should be added like
it 'matches a day of the week in the middle of a sentence' do
  expect(weekday?('I cannot wait until Friday')).to be_truthy
end

Right. That's what i meant about

where you're just being defensive / conservative (which is probably ok).

which is an argument for special casing it. OTOH if we wanted to be really strict and allow the "loop", then you'd always have to provide two test cases--one with the anchor and one without and show that you do or do not want to match both. I think it would probably be too frustrating to kill in a lot of cases though so allowing an "unchecked" \A or \z is probably not a bad thing.


⚠ Minecraft has degraded performance

In db01878, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1014 ms

Resolved: Minecraft performance has improved in 92e523f.


fix dependabot branch config

see

corrected the structure so that both branches should be consume updates - again.
@bruce-ricard  you may remember that I observed an issue , but my eyes did not see the issue before , but this morning it was like a enlightenment after I had a look on the yml file


update help text

Codecov Report

Merging #51 (e1557c7) into main (111ac5e) will increase coverage by 0.14%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #51      +/-   ##
==========================================
+ Coverage   76.44%   76.58%   +0.14%
==========================================
  Files           8        8
  Lines         679      683       +4
==========================================
+ Hits          519      523       +4
  Misses        132      132
  Partials       28       28

Flag
Coverage Δ

Linux
76.58% <100.00%> (+0.14%)
:arrow_up:

Windows
?

macOS
76.58% <100.00%> (+0.14%)
:arrow_up:

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

Impacted Files
Coverage Δ

cmd/import.go
85.00% <ø> (ø)

cmd/root.go
71.43% <ø> (ø)

cmd/import_listings.go
84.04% <100.00%> (+0.14%)
:arrow_up:

cmd/import_mail.go
77.24% <100.00%> (+0.19%)
:arrow_up:

cmd/mail.go
62.77% <100.00%> (+0.41%)
:arrow_up:

cmd/search.go
73.18% <100.00%> (ø)

Continue to review full report at Codecov.

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


Change scale up threshold to 10

Background
The value was originally set to 200 because it referred to vcpus.
We've changed slurm and torque to look at number of nodes instead of vcpu's so
this value needs to change as well.

Slurm https://github.com/awslabs/cfncluster-cookbook/pull/99
Torque https://github.com/awslabs/cfncluster-cookbook/pull/102

Signed-off-by: Sean Smith<EMAIL_ADDRESS>

Can you please reflect this change in all the other references, for example:

config template:
#scaling_threshold2 = 200
docs:
-- configuration.rst

Defaults to 200 for default template. ::

   scaling_threshold2 = 200

-- auto_scaling.png


Unable to run with the defined setup in readme.

First of all thanks to this huge effort and great pacakage.
Currently I am unable to run even after following the minimal amount of information in Readme.

I have set up the nuget.exe in path and is available.
I have installed the webview2 runtime
My windows version is 1909

Still following error is shown without much details. I tried flutter clean and also git init submodule && git update submodule as mentioned in issue #3 .
C:\Abhilash\Sources\dashboard\dashboard_frontend\windows\flutter\ephemeral\.plugin_symlinks\webview_windows\windows\util/capture.desktop.interop.h(4,10): fatal error C1083: Cannot open include file: 'windows.graphics.capture.interop.h': No such file or directory [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\cppwinrt\winrt/base.h(6508,17): error C2220: the following warning is treated as an error [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\cppwinrt\winrt/base.h(6508,17): warning C5205: delete of an abstract class 'winrt::impl::implements_delegate<winrt::Windows::UI::Core::DispatchedHandler,H>' that has a non-virtual destructor results in undefined behavior [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\cppwinrt\winrt/base.h(6508,17): error C2220: the following warning is treated as an error [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\cppwinrt\winrt/base.h(6508,17): warning C5205: delete of an abstract class 'winrt::impl::implements_delegate<winrt::Windows::UI::Core::DispatchedHandler,H>' that has a non-virtual destructor results in undefined behavior [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
C:\Abhilash\Sources\dashboard\dashboard_frontend\windows\flutter\ephemeral\.plugin_symlinks\webview_windows\windows\util/capture.desktop.interop.h(4,10): fatal error C1083: Cannot open include file: 'windows.graphics.capture.interop.h': No such file or directory [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
C:\Abhilash\Sources\dashboard\dashboard_frontend\windows\flutter\ephemeral\.plugin_symlinks\webview_windows\windows\util/capture.desktop.interop.h(4,10): fatal error C1083: Cannot open include file: 'windows.graphics.capture.interop.h': No such file or directory [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.0.6, on Microsoft Windows [Version 10.0.18363.1441], locale de-DE)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.6)
[√] Android Studio (version 4.1.0)
[√] VS Code (version 1.56.1)
[√] Connected device (3 available)

• No issues found!

Hi, your Windows SDK Version 10.0.17763.0 (which corresponds to Windows 10 1809) is too old (and therefore doesn‘t include the required header graphics.capture.interop.h)
I‘ll update the readme accordingly.

Thanks for the quick reply. 😄  When I checked my version using winver it was showing 1909 and I was assuming I already have updated windows version. 😢  I will wait for the updates in the readme to verify it correctly.

I updated my SDK and uninstalled webview which I manually installed. But I still I get following error. Not sure if I should wait for new release cause I see some new commits 😃.
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\cppwinrt\winrt/base.h(6508,17): error C2220: the following warning is treated as an error [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\cppwinrt\winrt/base.h(6508,17): warning C5205: delete of an abstract class 'winrt::impl::implements_delegate<winrt::Windows::UI::Core::DispatchedHandler,H>' that has a non-virtual destructor results in undefined behavior [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\cppwinrt\winrt/base.h(6508,17): error C2220: the following warning is treated as an error [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\cppwinrt\winrt/base.h(6508,17): warning C5205: delete of an abstract class 'winrt::impl::implements_delegate<winrt::Windows::UI::Core::DispatchedHandler,H>' that has a non-virtual destructor results in undefined behavior [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\cppwinrt\winrt/base.h(6508,17): error C2220: the following warning is treated as an error [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\cppwinrt\winrt/base.h(6508,17): warning C5205: delete of an abstract class 'winrt::impl::implements_delegate<winrt::Windows::UI::Core::DispatchedHandler,H>' that has a non-virtual destructor results in undefined behavior [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\cppwinrt\winrt/base.h(6508,17): error C2220: the following warning is treated as an error [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\cppwinrt\winrt/base.h(6508,17): warning C5205: delete of an abstract class 'winrt::impl::implements_delegate<winrt::Windows::UI::Core::DispatchedHandler,H>' that has a non-virtual destructor results in undefined behavior [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\cppwinrt\winrt/base.h(6508,17): error C2220: the following warning
is treated as an error [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\cppwinrt\winrt/base.h(6508,17): warning C5205: delete of an abstract class 'winrt::impl::implements_delegate<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool,winrt::Windows::Foundation::IInspectable>,H>' that has a non-virtual destructor results in undefined behavior [C:\Abhilash\Sources\dashboard\dashboard_frontend\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]

Looks like you should be using an even newer SDK: see https://stackoverflow.com/a/61878342
So just install 10.0.19041.0  😉

Checking now.. Hope it works... 🤞 😉

Thanks a lot and it fixed the issue. I was assuming the webview will be installed automatically. But it worked only after installing webview2 directly. This is a big help for my thesis. Thanks a lot for  your efforts, support and this great package 👍 💯 . I am closing this issue.


How to deploy kui hosted client-server in a k8s  server ?

Thanks for sharing kui with the community !
Expected
As a newcomer,
In order to deploy kui into a k8s cluster
I need some support with pre-built client-server binaries with associated K8S deployment automation (K8S resources spec files, or helm chart)
Observed

https://github.com/kubernetes-sigs/kui/wiki/4.-Building-for-Production#i-want-to-build-for-a-hosted-application-service mentions building with local prereqs (npx)
dockerhub images at https://hub.docker.com/r/kuishell/kui/tags seem not maintained
github action tests seem to not separate the build phase from the browser test phase, and not deploy a hosted kui instance

https://github.com/kubernetes-sigs/kui/blob/master/.github/workflows/test.yaml , e.g. https://github.com/kubernetes-sigs/kui/actions/runs/4521706731/jobs/7963761268 phase "

using cloud native buildpacks kpack cli (kpack ./kui) to build kui fails with some missing dependencies

hello there! thanks for the questions.
Build image kuishell/kui
This will build a docker image kuishell/kui that includes the kui proxy and the kui client, and an nginx that will serve up both. It is also possible to build a "serverless" version that runs kui as a static single page web app.
npx kui-build-docker-with-proxy

Test run it
npx kui-run-cproxy

then visit http://localhost:9080
If that works, then you are well on your way. For kube deployments, there is a sample yaml here.
From there, you can customize things, e.g. the favicon, app name, etc. Perhaps the best way to do this is to make your own kui client repo (you can start with the template: https://github.com/kui-shell/KuiClientTemplate).
from there, you can choose which kui plugins to include (see the package.json in the template). you can also configure icons and names in plugin-client-default/config.d/{icons,name}.json. The same build scripts above would work from the client template repo.
it is also possible to work off a fork of this main repo. but then, you wouldn't have the opportunity to be selective about which kui plugins to include in your service. nor would you be able to use npm semver to track base kui functionality. but both ways can work!

Some words of warning: the stock kui builds do not include an authentication scheme. So if you want to expose a full proxy-backed kui within a browser, this is something you will need to roll your own on.

Many thanks @starpit for your prompt response !
In order to share the effort of building the container images, and speed up a sample kui k8s deployment, would it make sense to have the kui github workflow ci run the npx kui-build-docker-with-proxy command and publish the associated container image (e.g. in dockerhub or in the ghcr associated with this repo) ?
Should this github workflow and container images also or instead be located into the  https://github.com/kui-shell/KuiClientTemplate repo ?
This may also help people forking this repo either publicly or privately.
From there, it might make sense to extract the sample k8s yaml into a helm chart and see ways the UX customizations could be injected into the main image without requiring change to the kui-proxy and standard upstream  kui-client container image, such as:

a second init container that overwrites the upstream kui-client content from git url, s3 content, OCI container image
a mounted volume that overwrites the upstream kui-client content, such as from configmap(s) ?


Add example of finalizers into guide and  Memcached Getting Started impl

Feature Request
Is your feature request related to a problem? Please describe.

Help us know it should be implemented and its usage
Make intuitive the recommendation as it should be used and done properly

Describe the solution you'd like

Add here an detailed example.
Add this impl in the Memcached Getting Started(golang) example.

According to the doc we should add the following in the CR.
 finalizers:
  - finalizer.mobile-security-service.aerogear.com

However, is not clear how we should use it in the controller/reconcile. Could you provide any example in a golang operator project?

Following how I could use/do it.
Controller/Reconcile

        //Handle the finalizer when the CR is deleted
	if err := r.handleFinalizer( instance); err != nil {
		return reconcile.Result{}, err
	}

	//Update finalizer timestamp to allow delete CR
	if err := r.updateFinilizer( instance); err != nil {
		return reconcile.Result{}, err
	}

//updateFinilizer returns error when the app still not deleted in the REST Service
func (r *ReconcileMyService) updateFinilizer(instance *myservicev1alpha1.MyService) error {
	if len(instance.GetFinalizers()) > 0 && instance.GetDeletionTimestamp() != nil {
		reqLogger.Info("Removing Finalizer for the MyService")
		// Check if action was performed and if not return error

                 // if pass in the check then set finalizer as nill
		instance.SetFinalizers(nil)
		instance.SetDeletionTimestamp(nil)
		err := r.client.Update(context.TODO(), instance)
		if err != nil {
			reqLogger.Error(err, "Failed to update finalizer for the MobileSecurityService App")
			return err
		}
	}
	return nil
}

//handleFinalizer check if has the finalizer and do action
func (r *ReconcileMyService) handleFinalizer(instance *myservicev1alpha1.MyService) error {
	// set up finalizers
	if len(instance.GetFinalizers()) > 0 && instance.GetDeletionTimestamp() != nil {
		//IMPL FOR WHEN THE CR IS DELETED
	}
	return nil
}

PR https://github.com/operator-framework/operator-sdk/pull/1402 done to attend this need.


OSD-13567 : Adding Z option to volume mount to have proper selinux labeling

What does this PR do? / Related Issues / Jira
OSD-13567
The 'Z' option for mounting volume will enforce labeling its content as 'private unshared' with Selinux. This way, volume is accessible in read/write but not accessible from other containers.

Checklist

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have made corresponding change to the default configuration files
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have tested the functionality against gcp / aws, it doesn't cause any regression
[ ] I have added execution results to the PR's readme

Reviewer's Checklist

[ ] (This needs to be done after technical review) I've run the branch on my local, verified that the functionality is ok

How to test this PR locally / Special Instructions

In addition to standard testing, we need to ensure this is working end-to-end with proxy setup. I only confirmed access to the file so far.
Logs

Tested on a cluster-wide proxy
./osd-network-verifier egress --profile linnguye --subnet-id subnet-0a7e216a05891de18 --region us-east-1 --cacert /home/linnguye/Downloads/test-cluster-wide-proxy.pem  --debug
`---
printing out failures:

egressURL error: Unable to reach pull.q1w2.quay.rhcloud.com:443
egressURL error: Unable to reach openshift.org:443
egressURL error: Unable to reach infogw.api.openshift.com:443
egressURL error: Unable to reach cm-quay-production-s3.s3.amazonaws.com:443
egressURL error: Unable to reach quay-registry.s3.amazonaws.com:443
egressURL error: Unable to reach cart-rhcos-ci.s3.amazonaws.com:443
egressURL error: Unable to reach api.openshift.com:443
egressURL error: Unable to reach registry.redhat.io:443
egressURL error: Unable to reach sso.redhat.com:80
egressURL error: Unable to reach registry.access.redhat.com:443
egressURL error: Unable to reach console.redhat.com:443
egressURL error: Unable to reach route53.amazonaws.com:443
egressURL error: Unable to reach iam.amazonaws.com:443
egressURL error: Unable to reach http-inputs-osdsecuritylogs.splunkcloud.com:443
egressURL error: Unable to reach tagging.us-east-1.amazonaws.com:443
egressURL error: Unable to reach mirror.openshift.com:443
egressURL error: Unable to reach nosnch.in:443
egressURL error: Unable to reach events.pagerduty.com:443
egressURL error: Unable to reach ec2.amazonaws.com:443
egressURL error: Unable to reach observatorium.api.openshift.com:443
egressURL error: Unable to reach inputs1.osdsecuritylogs.splunkcloud.com:9997
egressURL error: Unable to reach api.deadmanssnitch.com:443
egressURL error: Unable to reach sts.amazonaws.com:443
egressURL error: Unable to reach elasticloadbalancing.us-east-1.amazonaws.com:443
egressURL error: Unable to reach console.redhat.com:80
egressURL error: Unable to reach quay.io:443
egressURL error: Unable to reach storage.googleapis.com:443
egressURL error: Unable to reach sso.redhat.com:443
egressURL error: Unable to reach events.us-east-1.amazonaws.com:443
egressURL error: Unable to reach cert-api.access.redhat.com:443
egressURL error: Unable to reach route53domains.us-east-1.amazonaws.com:443
egressURL error: Unable to reach ec2.us-east-1.amazonaws.com:443
egressURL error: Unable to reach api.access.redhat.com:443
Failure!
`

/lgtm


Add Twitter card related metadata to [slug].svelte

Hey Maxi, thanks a lot for a really awesome blog starter. I needed to add some metadata for twitter to render cards in the preview, so thought might be useful for others.
Here's an example.
https://twitter.com/alanmynah/status/1321358353931636736?s=20

Looks great @alanmynah, thanks for the PR!


Clean up unused js and ts files

Thanks for the issue! This issue has been resolved.

Thanks for the issue! This issue has been resolved.


Rename PluginServiceRegistry to GradleModuleServices

The interface in question has nothing to do with Gradle plugins, and is related to registering internal Gradle "runtime" services by various Gradle modules.

@bot-gradle test without pts

I've triggered the following builds with parameters: -DenablePredictiveTestSelection=false for you. Click here to see all build failures.

PullRequestFeedback build

I've triggered the following builds with parameters: -DenablePredictiveTestSelection=false for you. Click here to see all build failures.

PullRequestFeedback build


Remove references to heapster

With heapster being deprecated, I bumped into some broken links on https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/.

/lgtm

/cc @sftim
PTAL

/approve


Fix PlatformNotSupportedException when running in docker on Linux

Doneness:

[x] Build is okay - I made sure that this change is building successfully.
[x] No Bugs - I made sure that this change is working properly as expected. It doesn't have any bugs that you are aware of.
[ ] Branching - If this is not a hotfix, I am making this request against develop branch

Tried to run Titanium-Web-Proxy in docker. Run into two problems:

Setting FriendlyName on X509Certificate2 is not supported on Linux - and there was a bug here that it was being set always for .net standard (see pull request)
SNI is not supported for SslStream in .NET Core 2.0 on Linux. Will be added in .NET Core 2.1, as per this pull request: https://github.com/dotnet/corefx/pull/28278 - I'm willing to update wiki to let others know about this issue.

I've also decided to remove this doNotSetFriendlyName variable, as we know that FriendlyName is just not suppored on Linux and should do it only for Windows.

:white_check_mark: Build Titanium-Web-Proxy 3.0.609 completed (commit https://github.com/justcoding121/Titanium-Web-Proxy/commit/32111dfbf0 by @lmarszal)

not suppored on Linux and should do it only for Windows
What about for Mac and Mono in Windows/Linux?
Are you sure that it is correct everywhere?
I prefer to keep the current code, because it will work automatically when they implement this property.
I've removed the wrong property set line.

I've removed the wrong property set line.

Thanks.

not suppored on Linux and should do it only for Windows
What about for Mac and Mono in Windows/Linux? .NET core on Windows?
Are you sure that it is correct everywhere?
I prefer to keep the current code, because it will work automatically when they implement this property.

Didn't test it on Mac or Mono. On .NET core windows works fine. And yes - current code is OK, I just don't like exception-driven logic. But it's only my preferences.
We can leave code as is (with your change mentioned above) and close this PR.


FutureProvider | Lazy loading - Lazy error. Initial default values

Is your feature request related to a problem? Please describe.
Currently, I have created a FutureProvider which takes a couple of parameters. But I ran into the following case:

There is a button that will call this FutureProvider; however, the button has a "loading" property to disable it and show a small loading circle.
I tried to make a watch of the Provider to access the isLoading property. But for that, the watch method requires a ProviderListeable which is only returned when I call the future.

Example code with error:
Consumer(
  builder: (context, ref, _) {
    final doSomethingProvider = ref.watch(
      doSomethingServiceProvider(value1), // value1 is null
    );

    return CustomTextButton(
      color: CustomColor.cherry,
      loading: doSomethingProvider.isLoading,
      onPressed: () {},
      text: "Call method",
    );
  },
),

Describe the solution you'd like
The way I found to solve this was to create a stateful Provider. However, I was wondering if it was possible to do something like this:
final doSomethingProviderLoading = ref.watch(
    doSomethingServiceProvider.select(
      (defaultFutureProviderState) =>
          defaultFutureProviderState.isLoading,
    ), // Return default isLoading value = false
  );

final doSomethingProviderHasError = ref.watch(
  doSomethingServiceProvider.select(
    (defaultFutureProviderState) =>
        defaultFutureProviderState.hasError,
  ), // Return default hasError value = false
);

return CustomTextButton(
  color: CustomColor.cherry,
  loading: doSomethingProviderLoading,
  onPressed: () {
    // Call the FutureProvider with parameters
  },
  text: "Call method",
);

Do you think it would be useful?

I don't quite understand what this is about.
Are you saying you want to know if a provider is loading without starting the operation if it isn't?

I don't quite understand what this is about.
Are you saying you want to know if a provider is loading without starting the operation if it isn't?

That's right, that's what I want to do.

Nice. I'll close this then :)


Add reduction using SAT and QBF solvers

Add implementation of two new types of reduction using solvers. The basic idea was the possibility of using solvers for reduction and whether it is possible to create minimal nondeterministic automata.
The solvers work with an automata representation using the CNF formula with variables representing its transitions, initial and final states. The solver then tries to find a solution that satisfies the given clause. The sets are updated until an equivalent automaton is found. The number of states is increasing from the default value making sure that the found automaton is minimal.
The reductions are working with structs SatStats and QbfStats, both inheriting from the base stat AutStats, which defines the number of states and symbols of the automaton, the two sets of words, and an output stream. Declarations can be found in include/mata/nfa/types.hh.
The reductions are working with the same interface as the other possible reduction algorithms which are parametrized using the ParameterMap.
The tests will be added shortly in future commits together with some small fixes. I was not sure with the proper location for the reduction implementation and its structures, as it is an another type of reduction the src/nfa/operations.cc seemed appropriate and the used structures were put into include/mata/nfa/types.hh but can be moved if necessary.

We discussed with @notValord to remove the linux binaries of SAT/QBF solvers and add them as requirements.

Hello. Thank you for the PR. One MacOS test seems to be failing. Otherwise, let me know when you finish with the changes so that the PR can be reviewed. In general, the implementation looks great to me after a quick glance.

as it is an another type of reduction the src/nfa/operations.cc seemed appropriate and the used structures were put into include/mata/nfa/types.hh but can be moved if necessary.

types.hh should be only for the general data types used by the user of Nfa. If the data structures are to be used only by the implementation of some algorithm, ideally the types should go as close to the place where they are to be used as possible. Such as in an anonymous namespace inside the source file with the algorithm. Or, if it is too much code, maybe creating some header files with internal namespaces such as plumbing, or internal might be appropriate. In this case, unless you plan on using these types elsewhere, I would just place everything in the anonymous namespace. Where do you think these types will be applicable / plan to use them?

We discussed with @notValord to remove the linux binaries of SAT/QBF solvers and add them as requirements.

Sounds good to me. However, I would go with optional requirements, ideally. However, we do not currently have a way to specify optional requirements. Maybe for now only a note in the comment when selecting the specific algorithm would be enough? That way, everyone can add complex algorithms with dependencies, but the main Mata implementation will remain as small and clean as possible. What do you and anyone else think about this?

Sounds good to me. However, I would go with optional requirements, ideally. However, we do not currently have a way to specify optional requirements. Maybe for now only a note in the comment when selecting the specific algorithm would be enough? That way, everyone can add complex algorithms with dependencies, but the main Mata implementation will remain as small and clean as possible. What do you and anyone else think about this?

I agree with optional requirements and tests (maybe generating a warning instead of a failed test).


bower info metro-bootstrap return No versions available.

I use "metro-bootstrap": "~3.2.1" in my bower.json file,
bower info metro-bootstrap
bower metro-bootstrap#*     not-cached https://github.com/TalksLab/metro-bootstrap.git#*
bower metro-bootstrap#*        resolve https://github.com/TalksLab/metro-bootstrap.git#*
bower metro-bootstrap#*       checkout master
bower metro-bootstrap#*   invalid-meta metro-bootstrap is missing "ignore" entry in bower.json
bower metro-bootstrap#*       resolved https://github.com/TalksLab/metro-bootstrap.git#b5a7f5e3b3
{
name: 'metro-bootstrap',
main: [
'./dist/css/metro-bootstrap.css',
'./dist/fonts/font-awesome/.',
'./dist/fonts/glyphicons/.'
],
dependencies: {
bootstrap: '~3.2.0',
'font-awesome': '~4.0.0'
},
devDependencies: {},
homepage: 'https://github.com/TalksLab/metro-bootstrap'
}
Please resolve.

Unfortunately, we no longer have the time to work on this project. This means that bugs will not be fixed and features will not be added unless someone else does so.
If you're interested in fixing up metro-bootstrap, please reply to this GitHub issue (#65).
Thank you for your support.

Hello @mbasiuk
Sorry for the late reply, this project was inactive. I will try to look at it this week.

Hello @mbasiuk
I have published the package to npm, you can try it now using bower or npm or yarn or any package manager

Appreciate it!
On Fri, Oct 25, 2024 at 11:12 PM Adam Basha @.***>
wrote:

Hello @mbasiuk https://github.com/mbasiuk
I have published the package to npm, you can try it now using bower or npm
or yarn or any package manager
—
Reply to this email directly, view it on GitHub
https://github.com/TalksLab/metro-bootstrap/issues/63#issuecomment-2439285894,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABIFG5TNA6NJDA6SUDCBRX3Z5MJDZAVCNFSM6AAAAABQQJK7FWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZGI4DKOBZGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Error in documentation for -c --count parameters

This part of the documentation seems wrong.
-c --count: Only print the number of matches in each file. Note: This is the number of matches, not the number of matching lines. Pipe output to wc -l if you want the number of matching lines.

 If u explain it I would like to work on this

Can you please specify what is your desired output for the test file

Sorry to drop the ball here. I believe that help message has changed since I filed this issue so I'm going to close it. But before that, just to explain the problem better, this part Pipe output to wc -l if you want the number of matching lines will actually show the number of matching files, not matching lines.


feat: Flask demo project added

Signed-off-by: ffyuanda<EMAIL_ADDRESS>

@ffyuanda any update?

@hsluoyz I guess we need a separate repo for SDK example?

@hsluoyz Updated to use setup.cfg for packaging.

@hsluoyz I guess we need a separate repo for SDK example?

@ffyuanda created: https://github.com/casdoor/casdoor-python-sdk-example please make PR to this repo

@ffyuanda your code is missing setup.py, which is necessary for publishing: https://packaging.python.org/guides/distributing-packages-using-setuptools/
Can you first try to release it to pypi-test: https://test.pypi.org/ with a different name? Like ffyuanda-sdk? And make sure it works?

@hsluoyz I believe now setuptools is trying to transition from setup.py to setup.cfg.
And yeah I will upload it to PyPi test later today to see the result.

@ffyuanda ok, can you give me a guide link to publish with setup.cfg?


CI: Added stable branch in NightlyTest

Fixed:
https://jenkins.cilium.io/job/cilium-ginkgo/job/cilium/job/v0.13/


updated with values based on my testing

updated based on testing, removed api app since that is no longer relevant

@btardif - it won't let me add you as a reviewer so tagging you here instead

@ehamai can you take a look here see if there is anything we are missing?

@btardif this should be good to go


Intermittent connection reset while clair's downloading nvd data

After bumped clair to 2.0.4. see such logs of cliar:
{"Event":"could not download NVD data feed","Level":"error","Location":"nvd.go:166","Time":"2018-07-18 14:36:58.881908","data feed name":"2015","error":"Get https://static.nvd.nist.gov/feeds/xml/cve/nvdcve-2.0-2015.xml.gz: read tcp <IP_ADDRESS>:41382-\u003e<IP_ADDRESS>:443: read: connection reset by peer"}
{"Event":"could not get NVD data feed hash","Level":"warning","Location":"nvd.go:137","Time":"2018-07-18 14:36:34.638457","data feed name":"2002","error":"Get https://static.nvd.nist.gov/feeds/xml/cve/nvdcve-2.0-2002.meta: read tcp <IP_ADDRESS>:41342-\u003e<IP_ADDRESS>:443: read: connection reset by peer"}

Seems it doesn't severely impact the scanning as we don't consume the metadata(need more investigation), but there will be  inaccuracy of severity of some particular vulnerabilities.

On another VIC appliance deployed on nimbus:
root@vic-st-h2-182 [ /storage/log/harbor ]# docker exec -it clair /bin/bash
root [ / ]# curl -kv https://static.nvd.nist.gov/feeds/xml/cve/nvdcve-2.0-2006.meta
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to static.nvd.nist.gov (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* ignoring certificate verify locations due to disabled peer verification
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: C=US; ST=Maryland; L=Gaithersburg; O=National Institute of Standards and Technology; OU=OISM; CN=nvd.nist.gov
*  start date: Mar  5 00:00:00 2018 GMT
*  expire date: Mar  6 12:00:00 2019 GMT
*  issuer: C=US; O=DigiCert Inc; CN=DigiCert SHA2 Secure Server CA
*  SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
> GET /feeds/xml/cve/nvdcve-2.0-2006.meta HTTP/1.1
> Host: static.nvd.nist.gov
> User-Agent: curl/7.59.0
> Accept: */*
>
* OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104
* Closing connection 0
curl: (56) OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104


Add Send bound to Response

I only patched the type I need, but maybe more types should be changed?

Sorry, I was doing something wrong.
ResponseFuture was not Send, although docs.rs says it does.
https://docs.rs/hyper/0.14.16/hyper/client/struct.ResponseFuture.html


Add a Five-stage Pipeline Implementation

I have created two separate folders for three-stage and five-stage in "yatcpu/src/main/scala/riscv/core". You can change the import statements in Top files to choose one of the two implementations.
I also created two sepatate folders in "yatcpu/src/test/scala/riscv" for their tests. I have no idea what special tests should I add for five-stage one, so I just add tests similar to the three-stage one.

Copying tests from three-stage ones is ok. We can discuss on that later.


Feature Request: add "createdForVersion" metadata

Is your feature request related to a problem? Please describe.
When new updatecli features are implemented, there is no easy way to find the updatecli configurations which could implement them so they can be updated/refactored.
Describe the solution you'd like
Adding a metadata/field createdForVersion (or createdFromVersion?) to the updatecli configuration files would allow to find when/which version of updatecli was taken in account when creating the config files, and thus allow to identify old ones so they can be updated/refactored.
Describe alternatives you've considered
N/A
Additional context
N/A

Since updatecli version 0.27.0, it's now possible to use updatecli manifest upgrade --config example.yaml to upgrade the syntax to the current updatecli version
Introduced in that release, the key "version" can be used to specify the minimum version required. You can find an example [here|https://github.com/updatecli/website/blob/8f1fe8ba78626acb45d573804a2b406c71c83de1/updatecli/updatecli.d/installation.yaml#L47]
Please note that if you run updatecli manifest upgrade --config updatecli.d it will automatically set the version to the current updatecli version used


Asymmetric graphicsLayer scale values with a shadow causes wasm crash

Describe the bug
Applying asymmetric graphicsLayer values (scaleX != scaleY) and then applying a shadow causes a divide by 0 wasm error but only in js exports.
Affected platforms
Select one of the platforms below:

Web (K/JS) - Canvas based API

Versions

Kotlin version*: 1.8.20
Compose Multiplatform version*: 1.4.0
Browser: Chrome Version 112.0.5615.121 (Official Build) (x86_64)

To Reproduce
Run the following Composable and check the browser console for the error:
@Composable
fun AsymmetricScaleTester() {
    Box(
        Modifier.size(100.dp)
            .graphicsLayer(scaleX = 0.7f, scaleY = 1f)
            .shadow(elevation = 2.dp)
    )
}

The first few lines of the error reads:
caught RuntimeError: divide by zero
    at skiko.wasm:0x28ab10
    at skiko.wasm:0x295b57
    at skiko.wasm:0x2e7fa7
    at skiko.wasm:0x30bcb2
    at skiko.wasm:0x31235f
    at skiko.wasm:0x32239a
    at skiko.wasm:0x29c8cb
    at skiko.wasm:0x28ccbe
    at skiko.wasm:0x28c4ed
    at skiko.wasm:0x28d0db

Expected behavior
It should render and not crash as it does on other platforms.
Screenshots
Error stacktrace:

Additional context
This may be related to this bug but the error is divide by zero instead of modulo zero:  https://github.com/JetBrains/compose-multiplatform/issues/3072

Shadow elevation is completely broken in wasm :) #3013

Fixed in 1.4.1 (by using new skiko 0.7.63)

Not sure it's related, but there seems to be issues with rotate which also is done in the graphicsLayer with rotationZ.
This code causes a similar crash:
@Composable
fun SimpleView() {
    Box(
        modifier = Modifier
            .size(width = 360.dp, height = 360.dp)
            .rotate(-60.0f)
            .padding(42.dp)
            .shadow(elevation = 16.dp, shape = RoundedCornerShape(size = 32.dp))
            .background(color = Color.Yellow, shape = RoundedCornerShape(size = 32.dp))
    ) { }
}

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Expose Gcp and GcpRef

[x] I agree to follow the project's code of conduct.
[x] I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

bors r=jdroenner

bors r=jdroenner


Combined assets generation with forced combine=false and debug=false

I'm using twig+assetic installation. Assetic assets are loaded from twig templates with DirectoryResource. But when parsing following node
{% stylesheets 'css/data_tables.css' 'css/registration-form.css' combine=false debug=false %}
<LINK rel=stylesheet type=text/css href="{{ asset_url }}" media=all>
{% endstylesheets %}

It produses
<link rel="stylesheet" type="text/css" href="css/ae13694_data_tables_1.css" media="all">
<link rel="stylesheet" type="text/css" href="css/ae13694_registration-form_2.css" media="all">

While generated file is css/ae13694.css and it is combined.
Is there a way to generate matching non combined files other than specifing one stylesheets node for each asset file and setting combine to true?
Assetic : v1.1.2
Twig : v1.15.1

For over four years

and no one here respects http/2.0 :( sad panda


[Question] A short description of your question

Checklist

[ ] I'm asking a question
[ ] I've looked through the README
[ ] I've read the opening an issue section in CONTRIBUTING.md
[ ] I've searched the bugtracker for similar questions including closed ones
[ ] I have given an appropriate title to the issue

Question

WRITE QUESTION HERE
Initially I was using youtube-dl but due to speed issues, I switched to yt-dlp, but it is also getting speed issues. After downloading at full speed for certain duration or certain GBs, the speed gets limited to lower speed than full speed. I also tried it on google colab and same happened there, I was downloading a playlist of 23 videos, 6 of them downloaded at full speed 20-50MBPS and then it got throttled to 400kbps- 2mbps.

That is NOT a question!!
Check if your issue is a duplicate of #1301. If not, open a bug report with all details including the verbose log


Create Department-wide Program

Create New Program & Mark Department-wide
As a Department-wide Program Coordinator (Admin) I want to create new programs that are department-wide so that these programs are available in every facility.
Description
Create functionality in UnlockEd that allows the creation and management of Programs. Programs will include both educational courses (e.g., Hi-SET, college-level courses via Brightspace or Moodle) and rehabilitative offerings (e.g., therapy sessions, vocational training). These programs are going to be assigned to all facilities upon creation.
I am unsure if the best way to approach this task is to use some sort of department-wide flag so that it is always available to all facilities or to add a "Department-wide" checkbox that automatically checks all of the facilities.
Task List

[x] Update the Programs model with a Credit Type field and add a database migration for this new field.
[x] Add Programs tab to the Admin Nav (check with #465 to see if this page is done)

Note this Programs page (to view a list of programs) doesn't exist and will need to be completed as part of a separate task.

[x] Create the Create Program form

Include fields for name, description, and credit type.

[ ] Use the POST api/programs handler to create new Programs.

Acceptance Criteria

A user can create new programs in the system, including basic details (name, description, and credit type).
A user can make the program department-wide.
The program exists in the database and all of the data entered was captured.
The program is assigned to all facilities in the system (upon creation).

User Flow

Program Creation Flow:

Coordinator logs into the system and navigates to the "Programs" tab in the admin dashboard.
Clicks “Create New Program.”
Enters basic program information (e.g., name, description, type).
Select credit type (e.g., Academic Credit, Participation Credit).

For available credit types reach out to @chrissantillan on Slack.

Program is checked or set to be department-wide.
Click "Save" to create the program.

Sample Program Data
Note this program data includes additional information beyond the scope of this ticket for presentation purposes.
{
  "program_name": "Life Skills Program",
  "description": "A 10-week course focused on improving essential life skills.",
  "credit_type": "Participation Credit",
  "tags": ["Earned-Time Credit", "Certificate"],
  "facilities": ["Maine Correctional", "Mountain View Correctional"],
  "courses": [
    {
      "course_name": "Communication Skills",
      "lms": "Brightspace",
      "course_id": "BSPROG001"
    },
    {
      "course_name": "Financial Literacy",
      "lms": "Moodle",
      "course_id": "MDPROG002"
    }
  ],
  "sections": [
    {
      "section_name": "Life Skills - Section A",
      "schedule": "Monday and Wednesday, 9:00 AM - 11:00 AM",
      "location": "Classroom A"
    }
  ]
}

Available Credit Types include:

Academic Credit
Participation Credit
Certificate of Completion
Earned-Time Credit
Rehabilitation Credit

@jtucholski @PThorpe92 @calisio should the form be called "Create Programs" or "Add Programs"

@corypride Lets go with "Add Program" for now, but I will double check with Chris.


Feature Request: Stop a running live cloud algorithm from the CLI

Hello, I would like to build an automated process to restart my live algorithm from the CLI weekly to make sure that I am running the most up-to-date version of LEAN.
Starting the algorithm from the CLI is not a problem, however, there is currently no way to stop a running algorithm, or even to force restart the algorithm.  If a live node is in use, the only thing that works is to manually go in to the GUI and stop the algorithm running on it.  Only then is the node available to deploy to from the CLI.
Is it possible to get this capability as a either a separate CLI API, or even as a "force" parameter to the lean cloud live API?

Cool idea @InvestWeMust thank you, we'll try and get it built.
We're pushing a few heavy projects at the moment so it'll be closer to January unfortunately, or if anyone feels like contributing the code it's all well defined in the REST API.

Hey @jaredbroad, I ended up having some free time and implemented this functionality in the CLI. I created a pull request for it here: https://github.com/QuantConnect/lean-cli/pull/53
I'd love for someone from your team to take a look at it and provide feedback.  Please let me know if there are any other processes or documentation that I need to follow/update.

Closed by https://github.com/QuantConnect/lean-cli/pull/123


filters out camelCased foreign keys/allows for whitelisting attrs (fixes #56, #70)

I understand the idea of the regexes to remove attributes, but it never felt great to omit attributes that match certain patterns.
What do you think of removing this feature and instead offer an opposite option to omit attributes? So everyone has total control of what goes out and what doesn't. Right now the mapper makes a decision based for the user and the user would have to overwrite the functionality of the mapper through the attrsWhitelist.
I prefer the users to pass a list (or even maybe regexes to match like the restricted list!) of attributes to omit, that way making obvious the omission. Could save some time debugging.

Also it leaves questions like why are Id and _id attrs removed, but ID attrs are not?. And also, these changes could introduce unexpected changes to users that update.

@chamini2 I think the id conventions are pretty typical, but I agree that it's opinionated. I'd be up for simply adding a restricted list that could be either a RegEx or a string.

Also, it's strange: the test that fails on Travis runs just fine for me locally.

Also, it's strange: the test that fails on Travis runs just fine for me locally.

Apparently bookshelf 0.10.1 breaks this test. I don't know why tho.

@chamini2 I think the id conventions are pretty typical, but I agree that it's opinionated. I'd be up for simply adding a restricted list that could be either a RegEx or a string.

I'm not sure I understand what you meant, could you explain again please?

@chamini2 I think the id conventions are pretty typical, but I agree that it's opinionated. I'd be up for simply adding a restricted list that could be either a RegEx or a string.

I'm not sure I understand what you meant, could you explain again please?

Sorry, I was agreeing with you. Essentially, I was saying that if you'd like to remove the default attr restrictions, that would be fine with me. We should then have some sort of "blacklist" that will omit specific fields. That list should allow for either regular expressions or strings.

Awesome! Yeah, we would need a omitAttrs or attrsBlacklist option. Could you implement this in another PR?

Let me know if you'll do it, if not, I can.

Not sure when I'll get to it -- if you have time and want to implement, be my guest 👍

@chamini2 if you do start working on this, just let me know so we don't overlap 👍  I'll do the same

I'll get it done. Closing this one.


fix: should parse patterns in class

Summary
closed https://github.com/web-infra-dev/rspack/issues/6197

Checklist

[ ] Tests updated (or not required).
[ ] Documentation updated (or not required).

!canary


Update custom-generic-tests.md

Change the example filename extension for customizing dbt's built-in tests from YAML to SQL.
Description & motivation
This looks like it should be .sql instead of .yml:

🙌


Fix for random rejects from server

Hi,
as described on the issue I reported, the servers will reject randomly the requests even if the credentials are okay. This is a countermeasure against third party systems that consume their APIs such as your's (and behind Home assistant).
I had the exact same problem on the Electrolux integration that I maintain. The trick is to submit a well-known user agent, if possible the same one as the one provided by the app.
I have tested this fix successfully and now I don't have any more rejects from the server

Hi, thanks for this contribution. Can you please update it to make the format checker happy?

Hi, done !

Awesome, thanks!


Incompatibility with docker-ce==20.10.19-3?

Our internal lab started using docker-ce==20.10.19-3 and since then, we are seeing those types of issues when trying to deploy a new lab (on a machine that already has one lab deployed)
[root@clab-1 scripts]# clab deploy --topo cisco-2R.clab.yml
INFO[0000] Containerlab v0.32.2 started
INFO[0000] Parsing & checking topology file: cisco-2R.clab.yml
INFO[0000] Creating lab directory: /opt/connect-lab/scripts/clab-cisco-2R
INFO[0000] Creating docker network: Name="cisco-2R", IPv4Subnet="<IP_ADDRESS>/24", IPv6Subnet="", MTU="1500"
Error: Error response from daemon: failed to allocate gateway (<IP_ADDRESS>): Requested address is out of range

Might be interesting to note that the lab that is already deployed has the subnet <IP_ADDRESS>/24.
Given that the failure in our lab started with the update of docker, I would have assumed that the issue would coming from their side, the reason I am posting the issue here anyway is that when creating the network manually using docker, then starting the lab, things go as expected.
[root@clab-1 scripts]# docker network create --subnet <IP_ADDRESS>/24 --label containerlab="" cisco-2R
dbb1e1a626201a7bbfcb7cb9dc9e16598b3aa226fb73ec7ddd3d674d3fe38794
[root@clab-1 scripts]# docker network inspect cisco-2R
[
    {
        "Name": "cisco-2R",
        "Id": "dbb1e1a626201a7bbfcb7cb9dc9e16598b3aa226fb73ec7ddd3d674d3fe38794",
        "Created": "2022-10-17T08:14:12.032201715+02:00",
        "Scope": "local",
        "Driver": "bridge",
        "EnableIPv6": false,
        "IPAM": {
            "Driver": "default",
            "Options": {},
            "Config": [
                {
                    "Subnet": "<IP_ADDRESS>/24"
                }
            ]
        },
        "Internal": false,
        "Attachable": false,
        "Ingress": false,
        "ConfigFrom": {
            "Network": ""
        },
        "ConfigOnly": false,
        "Containers": {},
        "Options": {},
        "Labels": {
            "containerlab": ""
        }
    }
]
[root@clab-1 scripts]# clab deploy --topo cisco-2R.clab.yml
INFO[0000] Containerlab v0.32.2 started
INFO[0000] Parsing & checking topology file: cisco-2R.clab.yml
INFO[0000] Creating lab directory: /opt/connect-lab/scripts/clab-cisco-2R
INFO[0000] Creating container: "inmanta-db"
INFO[0000] Creating container: "subscriber-south-west"
INFO[0000] Creating container: "inmanta-server"
INFO[0000] Creating container: "subscriber-north-west"
INFO[0000] Creating container: "subscriber-south-east"
INFO[0000] Creating container: "subscriber-north-east"
INFO[0000] Creating container: "router-east"
INFO[0000] Creating container: "router-west"
INFO[0000] Creating virtual wire: router-east:eth3 <--> subscriber-south-east:eth1
INFO[0000] Creating virtual wire: router-east:eth2 <--> subscriber-north-east:eth1
INFO[0000] Creating virtual wire: router-west:eth2 <--> subscriber-north-west:eth1
INFO[0000] Creating virtual wire: router-west:eth3 <--> subscriber-south-west:eth1
INFO[0000] Creating virtual wire: router-east:eth1 <--> router-west:eth1
INFO[0001] Adding containerlab host entries to /etc/hosts file

Does someone here know what might be going on there?

Hi @edvgui
does your topology file specify the management network name specifically?
Can you share the output of docker network ls command once you create your network cisco-2R?
It shouldn't be possible to create two networks with the same name...

Hello @hellt
I created a smaller setup to make it easier reproducing the issue, here it is:

lab1.yml
name: srl_lab_1
mgmt:
  network: net-1
  ipv4_subnet: <IP_ADDRESS>/24
topology:
  nodes:
    srl1:
      kind: srl
      type: ixrd3
      image: ghcr.io/nokia/srlinux

lab2.yml
name: srl_lab_2
mgmt:
  network: net-2
  ipv4_subnet: <IP_ADDRESS>/24
topology:
  nodes:
    srl1:
      kind: srl
      type: ixrd3
      image: ghcr.io/nokia/srlinux

guillaume@latitude-5411:~/Desktop/clab-bug-1069$ docker network ls
NETWORK ID     NAME      DRIVER    SCOPE
aefdc0997baf   bridge    bridge    local
fd51accc683a   host      host      local
55dc87e303ca   none      null      local
guillaume@latitude-5411:~/Desktop/clab-bug-1069$ sudo clab deploy --topo lab2.yml
[sudo] password for guillaume:
INFO[0000] Containerlab v0.32.2 started
INFO[0000] Parsing & checking topology file: lab2.yml
INFO[0000] Creating lab directory: /home/guillaume/Desktop/clab-bug-1069/clab-srl_lab_2
INFO[0000] Creating docker network: Name="net-2", IPv4Subnet="<IP_ADDRESS>/24", IPv6Subnet="", MTU="1500"
INFO[0000] Creating container: "srl1"
INFO[0000] Running postdeploy actions for Nokia SR Linux 'srl1' node
INFO[0010] Adding containerlab host entries to /etc/hosts file
+---+---------------------+--------------+-----------------------+------+---------+----------------+--------------+
| # |        Name         | Container ID |         Image         | Kind |  State  |  IPv4 Address  | IPv6 Address |
+---+---------------------+--------------+-----------------------+------+---------+----------------+--------------+
| 1 | clab-srl_lab_2-srl1 | 9f012de84e0f | ghcr.io/nokia/srlinux | srl  | running | <IP_ADDRESS>/24 | N/A          |
+---+---------------------+--------------+-----------------------+------+---------+----------------+--------------+
guillaume@latitude-5411:~/Desktop/clab-bug-1069$ sudo clab deploy --topo lab1.yml
INFO[0000] Containerlab v0.32.2 started
INFO[0000] Parsing & checking topology file: lab1.yml
INFO[0000] Creating lab directory: /home/guillaume/Desktop/clab-bug-1069/clab-srl_lab_1
INFO[0000] Creating docker network: Name="net-1", IPv4Subnet="<IP_ADDRESS>/24", IPv6Subnet="", MTU="1500"
Error: Error response from daemon: failed to allocate gateway (<IP_ADDRESS>): Requested address is out of range
guillaume@latitude-5411:~/Desktop/clab-bug-1069$ docker network ls
NETWORK ID     NAME      DRIVER    SCOPE
aefdc0997baf   bridge    bridge    local
fd51accc683a   host      host      local
958dd51ea2f8   net-2     bridge    local
55dc87e303ca   none      null      local
guillaume@latitude-5411:~/Desktop/clab-bug-1069$

mm, interesting.
Now it is clear that the issue stems from the fact that the allocating gateway is indeed requested from a different network.
I will have a look

Hi @edvgui
can you run this command to download a beta build where this issue is fixed and try it out?
docker run --rm -v $(pwd):/workspace ghcr.io/oras-project/oras:v0.12.0 pull ghcr.io/srl-labs/clab-oci:55aa184c

with this command a binary named containerlab will appear in the $PWD, you can use it as a replacement for a globally installed containerlab like
./containerlab <command>

Hello @hellt ,
It looks like the fix is working for me, thanks a lot!
I assume this will be part of the next release?

Logs
guillaume@ubuntu-vm:~$ sudo ./containerlab deploy --topo lab1.yml
INFO[0000] Containerlab v0.0.0 started
INFO[0000] Parsing & checking topology file: lab1.yml
INFO[0000] Could not read docker config: open /root/.docker/config.json: no such file or directory
INFO[0000] Pulling ghcr.io/nokia/srlinux:latest Docker image
INFO[0028] Done pulling ghcr.io/nokia/srlinux:latest
WARN[0028] it appears that container host has low memory available: ~0Gi. This might lead to runtime errors. Consider freeing up more memory.
INFO[0028] Creating lab directory: /home/guillaume/clab-srl_lab_1
INFO[0028] Creating docker network: Name="net-1", IPv4Subnet="<IP_ADDRESS>/24", IPv6Subnet="", MTU="1500"
INFO[0028] Creating container: "srl1"
WARN[0028] Cannot parse export template /etc/containerlab/templates/export/auto.tmpl: open /etc/containerlab/templates/export/auto.tmpl: no such file or directory
INFO[0028] Running postdeploy actions for Nokia SR Linux 'srl1' node
INFO[0039] Adding containerlab host entries to /etc/hosts file
INFO[0039] 🎉 New containerlab version 0.32.2 is available! Release notes: https://containerlab.dev/rn/0.32/#0322
Run 'containerlab version upgrade' to upgrade or go check other installation options at https://containerlab.dev/install/
+---+---------------------+--------------+-----------------------+------+---------+----------------+--------------+
| # |        Name         | Container ID |         Image         | Kind |  State  |  IPv4 Address  | IPv6 Address |
+---+---------------------+--------------+-----------------------+------+---------+----------------+--------------+
| 1 | clab-srl_lab_1-srl1 | a8eee8d3628f | ghcr.io/nokia/srlinux | srl  | running | <IP_ADDRESS>/24 | N/A          |
+---+---------------------+--------------+-----------------------+------+---------+----------------+--------------+
guillaume@ubuntu-vm:~$ sudo ./containerlab deploy --topo lab2.yml
INFO[0000] Containerlab v0.0.0 started
INFO[0000] Parsing & checking topology file: lab2.yml
WARN[0000] it appears that container host has low memory available: ~0Gi. This might lead to runtime errors. Consider freeing up more memory.
INFO[0000] Creating lab directory: /home/guillaume/clab-srl_lab_2
INFO[0000] Creating docker network: Name="net-2", IPv4Subnet="<IP_ADDRESS>/24", IPv6Subnet="", MTU="1500"
INFO[0000] Creating container: "srl1"
WARN[0000] Cannot parse export template /etc/containerlab/templates/export/auto.tmpl: open /etc/containerlab/templates/export/auto.tmpl: no such file or directory
INFO[0000] Running postdeploy actions for Nokia SR Linux 'srl1' node
INFO[0011] Adding containerlab host entries to /etc/hosts file
INFO[0011] 🎉 New containerlab version 0.32.2 is available! Release notes: https://containerlab.dev/rn/0.32/#0322
Run 'containerlab version upgrade' to upgrade or go check other installation options at https://containerlab.dev/install/
+---+---------------------+--------------+-----------------------+------+---------+----------------+--------------+
| # |        Name         | Container ID |         Image         | Kind |  State  |  IPv4 Address  | IPv6 Address |
+---+---------------------+--------------+-----------------------+------+---------+----------------+--------------+
| 1 | clab-srl_lab_2-srl1 | c9ea70345c43 | ghcr.io/nokia/srlinux | srl  | running | <IP_ADDRESS>/24 | N/A          |
+---+---------------------+--------------+-----------------------+------+---------+----------------+--------------+
guillaume@ubuntu-vm:~$ sudo docker network ls
NETWORK ID     NAME      DRIVER    SCOPE
265c2cc46817   bridge    bridge    local
2db58ecdd4f5   host      host      local
7cc9017ac9b8   net-1     bridge    local
745801443feb   net-2     bridge    local
d7e3bd9e1fe2   none      null      local
guillaume@ubuntu-vm:~$ sudo ./containerlab destroy --topo lab2.yml
INFO[0000] Parsing & checking topology file: lab2.yml
INFO[0000] Destroying lab: srl_lab_2
INFO[0000] Removed container: clab-srl_lab_2-srl1
INFO[0000] Removing containerlab host entries from /etc/hosts file
guillaume@ubuntu-vm:~$ sudo ./containerlab deploy --topo lab2.yml
INFO[0000] Containerlab v0.0.0 started
INFO[0000] Parsing & checking topology file: lab2.yml
INFO[0000] Creating lab directory: /home/guillaume/clab-srl_lab_2
INFO[0000] Creating docker network: Name="net-2", IPv4Subnet="<IP_ADDRESS>/24", IPv6Subnet="", MTU="1500"
INFO[0000] Creating container: "srl1"
WARN[0000] Cannot parse export template /etc/containerlab/templates/export/auto.tmpl: open /etc/containerlab/templates/export/auto.tmpl: no such file or directory
INFO[0000] Running postdeploy actions for Nokia SR Linux 'srl1' node
INFO[0009] Adding containerlab host entries to /etc/hosts file
INFO[0009] 🎉 New containerlab version 0.32.2 is available! Release notes: https://containerlab.dev/rn/0.32/#0322
Run 'containerlab version upgrade' to upgrade or go check other installation options at https://containerlab.dev/install/
+---+---------------------+--------------+-----------------------+------+---------+----------------+--------------+
| # |        Name         | Container ID |         Image         | Kind |  State  |  IPv4 Address  | IPv6 Address |
+---+---------------------+--------------+-----------------------+------+---------+----------------+--------------+
| 1 | clab-srl_lab_2-srl1 | 947100265d05 | ghcr.io/nokia/srlinux | srl  | running | <IP_ADDRESS>/24 | N/A          |
+---+---------------------+--------------+-----------------------+------+---------+----------------+--------------+
guillaume@ubuntu-vm:~$ sudo ./containerlab destroy --topo lab1.yml
INFO[0000] Parsing & checking topology file: lab1.yml
INFO[0000] Destroying lab: srl_lab_1
INFO[0000] Removed container: clab-srl_lab_1-srl1
INFO[0000] Removing containerlab host entries from /etc/hosts file
guillaume@ubuntu-vm:~$ sudo ./containerlab deploy --topo lab1.yml
INFO[0000] Containerlab v0.0.0 started
INFO[0000] Parsing & checking topology file: lab1.yml
INFO[0000] Creating lab directory: /home/guillaume/clab-srl_lab_1
INFO[0000] Creating docker network: Name="net-1", IPv4Subnet="<IP_ADDRESS>/24", IPv6Subnet="", MTU="1500"
INFO[0000] Creating container: "srl1"
WARN[0000] Cannot parse export template /etc/containerlab/templates/export/auto.tmpl: open /etc/containerlab/templates/export/auto.tmpl: no such file or directory
INFO[0000] Running postdeploy actions for Nokia SR Linux 'srl1' node
INFO[0009] Adding containerlab host entries to /etc/hosts file
INFO[0009] 🎉 New containerlab version 0.32.2 is available! Release notes: https://containerlab.dev/rn/0.32/#0322
Run 'containerlab version upgrade' to upgrade or go check other installation options at https://containerlab.dev/install/
+---+---------------------+--------------+-----------------------+------+---------+----------------+--------------+
| # |        Name         | Container ID |         Image         | Kind |  State  |  IPv4 Address  | IPv6 Address |
+---+---------------------+--------------+-----------------------+------+---------+----------------+--------------+
| 1 | clab-srl_lab_1-srl1 | 3ea83fb785a7 | ghcr.io/nokia/srlinux | srl  | running | <IP_ADDRESS>/24 | N/A          |
+---+---------------------+--------------+-----------------------+------+---------+----------------+--------------+
guillaume@ubuntu-vm:~$ sudo ./containerlab destroy --topo lab1.yml
INFO[0000] Parsing & checking topology file: lab1.yml
INFO[0000] Destroying lab: srl_lab_1
INFO[0000] Removed container: clab-srl_lab_1-srl1
INFO[0000] Removing containerlab host entries from /etc/hosts file
guillaume@ubuntu-vm:~$ sudo ./containerlab destroy --topo lab2.yml
INFO[0000] Parsing & checking topology file: lab2.yml
INFO[0000] Destroying lab: srl_lab_2
INFO[0000] Removed container: clab-srl_lab_2-srl1
INFO[0000] Removing containerlab host entries from /etc/hosts file
guillaume@ubuntu-vm:~$ sudo docker network ls
NETWORK ID     NAME      DRIVER    SCOPE
265c2cc46817   bridge    bridge    local
2db58ecdd4f5   host      host      local
d7e3bd9e1fe2   none      null      local

There are some things yet to be fixed, but when I do that I'll issue a patch release 0.32.3

@edvgui fixed in 0.32.3


Add use case description: screen for sharing during video calls

I was looking for a tool like this for a different use case than you describe. My suggestion is you add this description for others looking for a similar solution.
My use case is for when I have to present something over Zoom/Teams. Normally when giving presentations, PowerPoint or SlidePilot (https://slidepilotapp.com/) projects the presentation onto an external screen, and my laptop screen becomes the presenter display. However, this is not possible when presenting on a video call, since the presenter display only works when an external screen is attached. With FluffyDisplay, I'm able to set up a virtual display and have PowerPoint/SlidePilot use that for the presentation, while the real display becomes the presenter display. I can then share the virtual display over Zoom/Teams.
The disadvantage of this setup is that it's hard to monitor what's on the external screen locally. I have currently solved that by capturing it using OBS and showing a preview locally (which is, to be honest, a botch), but am looking for other solutions to that problem currently.

I made an app called Screegle that currently fails to work with Zoom because it "hides" the window by moving it to the right side of the real display. However Zoom (and Teams) use a new macOS API from ScreenCaptureKit that makes this window black.
Do you think I could use this FluffyDisplay to open a virtual display, put my Screegle window in it, and have Zoom or Teams properly capture it?

I don't know, but it's easier for you to try than for me! (FluffyDisplay is free, Screegle isn't.)

Indeed :)  I just tried FluffyDisplay was able able to put a window there, and Zoom can capture it.
However, I'm trying to understand how to create the virtual display so it is ABOVE my main display, not on the right.
If you know how to control this, thanks for letting me know.

Answering my own question: this positions a display on top
                    var configRef:CGDisplayConfigRef? = nil
                    CGBeginDisplayConfiguration(&configRef)
                    CGConfigureDisplayOrigin(configRef,currentDisplay,0,-1280)
                    CGCompleteDisplayConfiguration(configRef,CGConfigureOption.permanently)

It functions as a normal external display. You can use the Display settings in System Preferences to position it.


Species data is missing for human characters

If you query to the species human you only get 4 results (changed the color of the links from white to black so they are visible on the image, see issue #2 ) :

This e.g. excludes Luke Skywalker (people/1) or Darth Vader (people/4).
I had some queried data from the previous version of the API, and according to it, the people with the following ids should all be human:  1, 4, 5, 6, 7, 9, 10, 11, 12, 14, 18, 19, 21, 22, 25, 26, 28, 29, 32, 34, 35, 39, 42, 43, 51, 60, 61, 62, 66, 67, 68, 69, 74, 81, 82.

Hi all, Did this fix get deployed? I'm still seeing only 4 characters listed as human.


License Finder now isolates bundler licenses info retrieval

This PR is an alternative approach to: https://github.com/pivotal/LicenseFinder/pull/839
It's substantially faster, without using concurrent ruby gem (less dependencies and less CPU usage).
Unfortunately, it needs to use a separate executable to preserve Windows support, since fork it's not available under that platform.
It drastically changes the existing bundler implementation, so it deserves a major version increase.
It also solves the existing problem where --project-path would cause issues unless also BUNDLE_GEMFILE is set.
TODO

[ ] Update help command
[ ] Update readme
[x] Tests

@Fire-Dragon-DoL Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@Fire-Dragon-DoL Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@Fire-Dragon-DoL Sorry for the late response. I really like this implementation. We will need to do some testing on our end to make sure all is well but this looks good. Should we be closing the other PR you made in place of it
? Also would you be able to sign the CLA in the mean time? Thanks again for this!

Hey @xtreme-shane-lattanzio , thanks for checking it.
I uncovered some bugs with the this one that I need to address,but yes, I'd close the other one in favor of this one.
I'm currently on holidays though, so I won't be back to it until later in August.
I will keep you posted, meanwhile I'll convert it to a draft.
Yes I will be able to sign the CLA, I'm still waiting on the company's lawyer to confirm.
Cheers!

Hey @Fire-Dragon-DoL ! Long time no talk! I am looking at merging in lingering PRs and this one has some conflicts now. Let me know if you can get a chance to touch this up and we can get it merged. In the meantime I'll close the other one

Hi, unfortunately this project has been deferred indefinitely, so I will close the PR.
Sorry for using up resources.
Francesco


Issue with get_config

get_config fails as session information are not sent when it calls the _get_json_configuration function.
"**self.session_info" has to be used when get_config calls this sub-function
if retrieve in ["running", "all"]:
    config_dict['running'] = self._get_json_configuration("running-config", **self.session_info)
if retrieve in ["startup", "all"]:
    config_dict['startup'] = self._get_json_configuration("startup-config", **self.session_info)

I have the same problem and issues with many of the other get commands.  10.0.5 and 10.0.6.  I really wish it worked more consistently with CX because there are many great applications for using Napalm, even with such a limited scope right now.  Hoping it gets fixed soon.

push the similar fix on #13 but always get [Object] [Object] on Netbox...

push the similar fix on #13 but always get [Object] [Object] on Netbox...

It has to be troubleshooted on Netbox side as if you call the get_config method using Netbox APIs, everything works fine.

It has to be troubleshooted on Netbox side as if you call the get_config method using Netbox APIs, everything works fine.

I can't do a get_config or several others just using Python get commands
though.  Some work and some don't, that's an example of one.  Latest
version of everything.
Thanks!
On Wed, Jan 27, 2021 at 9:48 AM legalla<EMAIL_ADDRESS>wrote:

It has to be troubleshooted on Netbox side as if you call the get_config
method using Netbox APIs, everything works fine.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/napalm-automation-community/napalm-aruba-cx/issues/5#issuecomment-768418408,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHNNMLQRT7JM43MF6HQR57DS4A7VPANCNFSM4TPLSTQA
.

I can't do a get_config or several others just using Python get commands
though.  Some work and some don't, that's an example of one.  Latest
version of everything.
Thanks!
On Wed, Jan 27, 2021 at 9:48 AM legalla<EMAIL_ADDRESS>wrote:

It has to be troubleshooted on Netbox side as if you call the get_config
method using Netbox APIs, everything works fine.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/napalm-automation-community/napalm-aruba-cx/issues/5#issuecomment-768418408,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHNNMLQRT7JM43MF6HQR57DS4A7VPANCNFSM4TPLSTQA
.

Hi @sleppelm , can you please tell me which Aruba switch you're running this against and which software version?  Thanks!

Hi @sleppelm , can you please tell me which Aruba switch you're running this against and which software version?  Thanks!

Hi, I've troubleshooted with every version of 10.06.
Thank you!
On Wed, Jan 27, 2021 at 11:45 AM alvinc13<EMAIL_ADDRESS>wrote:

Reopened #5
https://github.com/napalm-automation-community/napalm-aruba-cx/issues/5.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/napalm-automation-community/napalm-aruba-cx/issues/5#event-4257418142,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHNNMLVFBWAYJ47TXJLUXBDS4BNMTANCNFSM4TPLSTQA
.

Hi, I've troubleshooted with every version of 10.06.
Thank you!
On Wed, Jan 27, 2021 at 11:45 AM alvinc13<EMAIL_ADDRESS>wrote:

Reopened #5
https://github.com/napalm-automation-community/napalm-aruba-cx/issues/5.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/napalm-automation-community/napalm-aruba-cx/issues/5#event-4257418142,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHNNMLVFBWAYJ47TXJLUXBDS4BNMTANCNFSM4TPLSTQA
.

Hi,
the issue still is there. We are running 10.06 and when calling get_config I get:
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept
{
"get_config": {
"error": "Method get_config failed: 'url'"
}
}

Hi @a83r, what release of napalm module do you are using ? because it is not yet available on last release (on pip)

Sorry my bad. I just installed the current dev release of napalm-aruba-cx and the release version of napalm. The netbox version is v2.11.1.
It now shows "[object Object]"
Would be great if it would be implemented, but for us it isn't a critical feature. As long as the LLDP Neighbors work we are very happy.

Sorry my bad. I just installed the current dev release of napalm-aruba-cx and the release version of napalm. The netbox version is v2.11.1.
It now shows "[object Object]"
i get also this issue but no yet found time to look why...

Hello,
We are currently working on a major update for the pyaoscx Python libraries which the AOS-CX NAPALM drivers depend on.  Once that is released, these NAPALM drivers will get an updated overhaul where I also plan to include some Netmiko usage to expand the driver capabilities and test against the newest Netbox instance.  Thanks for your patience.

@alvinc13 Do you work at HPE/Aruba? If yes maybe you could add a option to the switch os to create read only napalm users, currently only admin users are supported. As for netbox we don't need admin rights.

@alvinc13 Do you work at HPE/Aruba? If yes maybe you could add a option to the switch os to create read only napalm users, currently only admin users are supported. As for netbox we don't need admin rights.

What do you are using for authentication on the switch ? only local account ? or RBAC (with RADIUS or TACACS)

Currently only local accounts, but we are thinking about using a hpe clearpass appliance for this. But with local accounts it is only possible to use admin accounts.

push the similar fix on #13 but always get [Object] [Object] on Netbox...

This part is a Netbox issue and fixed on 3.0.0 ( https://github.com/netbox-community/netbox/issues/7041 )

(the issue can be close :))


calculate cpu usage

How to calculate cpu usage by the following two interfaces:
DomainGetCPUStats()
DomainGetInfo()

Please refer to the libvirt documentation. These two functions are vidDomainGetCPUStats and virDomainGetInfo in libvirt itself.


Add border to status-bars in footer panel

Same affair as atom/atom-light-ui#30, albeit less noticeable:

👍  This this looks good. 🚢  @Alhadis thanks.


Different borders on different Google platforms.

https://buganizer.corp.google.com/issues/143208021. Conversation should occur there.
/cc @iskakaushik

Adding milestone per discussion with Fuchsia team.

Assigning per F2F.

Fixed upstream.


let mut x = x; causes infinite loop

struct S;
impl S {fn x(&mut self) {}}
fn main() {
	let s = S;
	let mut s = s;
	s.
}

Completing s. will eat all RAM and crash (on windows).

Hi @krzat, thanks for the report


Cursor teleport

I am more curious about how Cursor teleport is implemented.
I would be very grateful if you could provide some guidance.
^_^

The Cursor Teleport feature is actually part of our paid products and isn't included in the free version or the open-source release


Prevent double encoding of branch names in delete branch

There is a double encoding issue in branch template whereby the branch name
ends up double encoded.
Also remove Escape on issue.index in mail assignees
Fix #18709
Fix #18704
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

Codecov Report

Merging #18714 (5f07ce3) into main (165ab17) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main   #18714      +/-   ##
==========================================
- Coverage   46.44%   46.43%   -0.02%
==========================================
  Files         851      851
  Lines      121925   121925
==========================================
- Hits        56630    56614      -16
- Misses      58413    58431      +18
+ Partials     6882     6880       -2

Impacted Files
Coverage Δ

modules/queue/queue_bytefifo.go
51.66% <0.00%> (-2.22%)
:arrow_down:

modules/queue/workerpool.go
52.49% <0.00%> (-2.10%)
:arrow_down:

modules/process/manager.go
81.36% <0.00%> (-1.87%)
:arrow_down:

services/pull/pull.go
39.62% <0.00%> (-0.63%)
:arrow_down:

models/repo_list.go
75.66% <0.00%> (-0.49%)
:arrow_down:

routers/api/v1/repo/pull.go
45.04% <0.00%> (+0.37%)
:arrow_up:

modules/queue/queue_channel.go
81.13% <0.00%> (+2.83%)
:arrow_up:

Continue to review full report at Codecov.

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

If you can add a mock test, that's better.

make L-G-T-M work.

Please send backport


Message Pool CLI Commands

Task summary
Dependent on #551
Required Commands:

pending
subscribe (skipping)
stat

Mpool Subscribe is being skipped for the time being.


Use Temurin JDK as build JVM on Mac M1

Otherwise there would be a cache miss: https://ge.gradle.org/s/zlitxgmzvx6vk/timeline?details=ltxd6zygrehuq&expanded=WyIyMCJd&outcome=success&task-path=compile

@bot-gradle test and merge

OK, I've already triggered a build for you.


UV Index

I personally find UV index useful info as well. Could it be added to the app?

I don't think MET Norway supports this field. Maybe this could be done when I introduce more weather data sources (see #12)


improve nixpkgs test routine

Coverage remained the same at 96.597% when pulling eea5c45f66e1f3c9ac81d99189cf5aee901f042d on better-path-test into 833014f310cd1219a468ce7e25c13066451dcb50 on main.


Pass Unit args and kwargs to SETTINGS if settings not provided explicitly

Settings are typically passed to a Unit upon instantiation as follows (e.g.)
from ezmsg.sigproc.downsample import DownsampleSettings, Downsample

ds_unit = Downsample(DownsampleSettings(axis="time", factor=10))

With this change, we can alternatively pass the settings parameters directly to the Unit (without the __Settings class) and they will be used to initialize the settings. i.e.,
from ezmsg.sigproc.downsample import Downsample

ds_unit = Downsample(axis="time", factor=10)

It's just a little quality-of-life improvement that makes the entry-point scripts cleaner.
Fixes #71

I believe the settings metaclass can check for the existence of a field called settings.  That's a warning at most though; I'll accept this for now, but let's make note of delivering a warning in the future.


Write a C program to find area of a cube

Description
Write a C program to find area of a cube
Area of cube = 6 × Side^2
Side : 2

Area : 24

How to contribute

Save the solution in program/FindAreaOfACube.c file
Add FindAreaOfACube.c file in find-area-of-a-cube folder

!assign


Bump Qt to 5.12.9 to match MSYS build and use more variables

Just as a possibility: why not using aqtinstall as on the other architectures? That might save us the trouble of patching the binaries. On the other hand, it would require setting all the variables correctly for that installation to be found correctly.

'Baby steps' version consistency across OSes then look at unifying if that's where you wish to go.

Well, the issue right now seems to be that the build fails because of some naming issue with the libs installed. This is something that is taken care of by the other installer.

Didn't know it was failing on the git builds. I tested the docker image on Ubuntu 20.04 for my compiles of all builds and no failures.

So got past my mistake but now failing exporting the image with 403 permission denied. Not obvious to me so over to you.

Just as a possibility: why not using aqtinstall as on the other architectures? That might save us the trouble of patching the binaries. On the other hand, it would require setting all the variables correctly for that installation to be found correctly.

Found a docker image albeit older OS and the dev's github project so will see about getting ETX image to use aqtinstall so fingers crossed.

I think that is because the checks action needs some tweaks as it isn't taking into account that it is being used to check a PR, and is trying to actually publish, which it should not be allowed to do, hence the failure ;)

@elecpower Thx! This has been merged into main manually.


Neomake glitch after every save.

Hello everyone!
I've been using neomake and there's  only one thing that drives me nuts when using it.
Everytime I save the file there's a glitch, all the icons will disappear make the screen go a little bit to the left and right away they appear again making the scren go a little bit to the right...
I'd like to know if that is the expected behavior or if there's any workaround for this problem.
Prints:
No errors or warnings

When I have Warnings/Erros

I don't know if there's a way to make the left border permanent so I wouldn't have this sort of problem, or something similar to this, does anyone know a fix for this?
Thanks!

Duplicate of #516, therefore closing.
As for me, I am using https://github.com/tomtom/quickfixsigns_vim/, which has a method to keep the sign column open all the time.


Confusing text in README

First, you need to initialize the default iconic font in Application.onCreate() method. If the font is not specified, then the font is used by default.

I'm not sure what this means. Does this mean that if a font is not specified in the layout xml then this is the font that will be used?
Can the custom view be used without specifying the default font by always specifying it in the layout xml?

Yes, it's default font, then it is used when a font is not specified.


schemaCompare with project has target fails to apply changes

Azure Data Studio Version:
OS Version:

Steps to Reproduce:

opened a sqlproject I created from adventure works
open schema compare and set project as target
use a db with a table as source
select option to not drop objects in target if doesn't exist in source
click on apply

Expected: one table should get created
Actual: error

Does this issue occur when all extensions are disabled?: Yes/No

Update Project hasn't been released in stable yet, so moving this bug to April.

@Benjin is this fixed? I am seeing this scenario failing for today's build too. the error is different for me though - index out of range.

These errors should be fixed, but the "Drop objects not in source" option doesn't look like it's getting honored. I opened a separate issue for this #19730.