xworkspaces doesn't work properly with openbox

Describe the issue
occupied desktop displayed the same as empty one.
Was it working before?
N/A
To Reproduce
A minimal but complete config with which the problem occurs:
[bar/main-bar]
monitor = DP-3
width = 100%
height = 32
fixed-center = false
enable-ipc = true

background = #00222222
foreground = #dfdfdf

font-0 = Lekton Nerd Font:fontformat=truetype:size=16:antialias=true;0
modules-center = workspaces

[module/workspaces]
type = internal/xworkspaces

icon-0 = TERM;ﲵ
icon-1 = LAB;﮼
icon-2 = WEB;ﴣ

format = <label-state>

label-active = %icon%
label-active-foreground = #EF626C
label-active-padding = 2

label-occupied = %name%
label-occupied-foreground = #F1AB86
label-occupied-padding = 2

label-empty = %icon%
label-empty-foreground = #93B7BE
label-empty-padding = 2

[settings]
screenchange-reload = true

[global/wm]
margin-top = 0
margin-bottom = 0

List any other steps needed to reproduce the issue besides starting polybar with the config you posted above.
Polybar Log
Post everything polybar outputs to the terminal when you run it and the issue occurs below

Environment:

WM:openbox 3.6.1
Distro:ubuntu 18.04
Output of polybar -vvv:

polybar 3.4.2
Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard
X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor
Build type: Release
Compiler: /usr/bin/c++
Compiler flags:  -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker flags:

label-occupied is not released yet. It will come with 3.5.0


[BK-1.15][FLINK-27199][Connector/Pulsar] Bump pulsar to 2.10.0

This is a backport PR for https://github.com/apache/flink/pull/19473.

@tisonkun Can you help me review this backport issue?

Merging...


chore: rename title to Storefront Component Library

Signed-off-by: Machiko Yasuda<EMAIL_ADDRESS>Resolves #424
Impact: major
Type: docs|chore

Docs

Rewrites Introduction.md entirely
Change title of README.md

Site

Change title to Storefront Component Library | Reaction Commerce
Update name in manifest.json

Code

Change .SVGs in tests, docs to Reaction Storefront Component Library logo
Update snapshot tests that used the logo.svg file
Update name + description in package.json

Images

[x] - Need a new logo @rymorgan

Overall new look

🚀 Preview deployed
Built with commit 97f63d4023de9df557223f64fef9c77b04ac8ca6
https://deploy-preview-426--stoic-hodgkin-c0179e.netlify.com

🚀 Preview deployed
Built with commit d22690096c248ad9222a745bba9dac51bd95c998
https://deploy-preview-426--stoic-hodgkin-c0179e.netlify.com

@rymorgan This is ready for a full review:

Full site: https://deploy-preview-426--stoic-hodgkin-c0179e.netlify.com/
README: https://github.com/reactioncommerce/reaction-component-library/blob/424-docs-naming/README.md

@nnnnat Just tagged you for the package.json + manifest.json stuff.
I checked https://www.npmjs.com/package/@reactioncommerce/components and it looks like all the language there is good to go.

Lastly, I need @spencern to update the info at the top of the GitHub repo main page:
Example Storefront Component Library: A set of React components for the Example Storefront

@nnnnat good call - updated!

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


:hammer_and_wrench: [TASK] : Campaign Builder /  Manage Campaign

As an admin user, I need to be able to update event details, so that my community has the most up to date information on the event.
GIVEN an admin user
WHEN open an existing event
THEN have ability to update details
GIVEN a user has saved new responses in the campaign editor
WHEN save & exit
THEN give ability to save as draft
OR publish changes to users
Questions NK:

Once a fund is live, you can't retract? - TO DISCUSS
Needs full wallet signage? - MVP, no. Changes will be tracked by user API key. PostMVP, yes require signature from registered admin user.
Auto template after fund success/close? - TO DISCUSS

AC:

Prototype draft completed
Review prototype with stakeholders from admin team to ensure process viability
Review prototype with engineering team to ensure feasibility
Prototype ready for user testing

FYI @coire1

TODO: sync with fund admin stakeholders to align on requirements:

do we need ability to retract / de-publish an active fund?
once in published state, which fields should be editable vs should be locked for editing?

redundant


[Checkpoints] Add checkpoint name autocompletion

Changes

Use identifiers to have autocompletion for checkpoint names
Remove the help page broken link
Add a link to the platformer example in the description
Rewrite the description

Demo

https://github.com/GDevelopApp/GDevelop-examples/pull/505

I just learn what was the Identifier with your PR. Thanks!


Changed "Type expressions" to "Expressions" in sub-TOC

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/user-guide/language/toc.yml
100
100
0
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/user-guide/language/toc.yml
100
100
0
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Docs Build status updates of commit 4b2f235:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/user-guide/language/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


[SR-5939] Type nested in function cannot satisfy operator protocol requirement

Previous ID
SR-5939

Radar
None

Original Reporter
Vermeulen (JIRA User)

Type
Bug

Status
Resolved

Resolution
Duplicate

Environment
Tested on both Swift 3 and Swift 4

Additional Detail from JIRA

Votes
1

Component/s
Compiler

Labels
Bug

Assignee
None

Priority
Medium

md5: 1170f2070dc965029c6af37799d7125f

duplicates:

SR-3092 Function-level nested types cannot conform to Equatable

Issue Description:
func foo() {
    struct Foo: Equatable {
        static func == (left: Foo, right: Foo) -> Bool { return true }
    }
}

error: type `Foo` does not conform to protocol `Equatable`
The problem seems to lie with operators. Instance function or static function requirements work fine.

Duplicate of #45682.


[BACKPORT][v1.2.x][IMPROVEMENT] Recognize default toleration and node selector to allow Longhorn run on the RKE mixed cluster

https://github.com/longhorn/longhorn/issues/4246
https://github.com/longhorn/longhorn/pull/4262

HI @c3y1huang ,
I encounter engine image can not deploy issue when test this backport issue
Steps
Event log
Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create a sandbox for pod "engine-image-ei-4dbdb778-j5kr5": Error response from daemon: Windows does not support privileged mode

Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create a sandbox for pod "discover-proc-kubelet-cmdline": Error response from daemon: Windows does not support privileged mode

Support bundle
longhorn-support-bundle_9e128633-594c-481b-aea6-bd8373a2287e_2022-07-25T10-52-39Z.zip
Also from UI I can see engine image was deploying on windows nodes.

Some notes from the support bundle.

settingsystem-managed-components-node-selector and taint-toleration have empty value.
longhorn-default-setting ConfigMap have correct value for the settings. Not sure why there is |2-.

  data:
    default-setting.yaml: |2-

      taint-toleration: cattle.io/os=linux:NoSchedule
      system-managed-components-node-selector: kubernetes.io/os:linux

Retested with fresh environment, but still encounter the same issue, if needed I will recreate environment tomorrow, thank you.

I am able to reproduce this.

I will check the default settings first.
cc @c3y1huang @cchien816

Note:
I am also seeing |2-.
❯ kubectl -n longhorn-system get configmap/longhorn-default-setting -o yaml
apiVersion: v1
data:
  default-setting.yaml: |2-

    taint-toleration: cattle.io/os=linux:NoSchedule
    system-managed-components-node-selector: kubernetes.io/os:linux
kind: ConfigMap
metadata:
  annotations:
    meta.helm.sh/release-name: longhorn
    meta.helm.sh/release-namespace: longhorn-system
  creationTimestamp: "2022-07-25T15:34:15Z"
  labels:
    app.kubernetes.io/instance: longhorn
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: longhorn
    app.kubernetes.io/version: v1.2.4
    helm.sh/chart: longhorn-1.2.4
  name: longhorn-default-setting
  namespace: longhorn-system
  resourceVersion: "4389"
  uid: 9d220d50-2614-4f29-8911-e46c06cf5de9

While the cluster failed to provision with empty setting values,
❯ kubectl -n longhorn-system get settings | grep -E "taint|system-managed-components-node-selector"
system-managed-components-node-selector                                           24m
taint-toleration                                                           24m

I can update the settings taint-toleration and system-managed-components-node-selector manually
❯ kubectl -n longhorn-system get settings | grep -E "taint|system-managed-components-node-selector"
system-managed-components-node-selector              kubernetes.io/os:linux                             24m
taint-toleration                                     cattle.io/os=linux:NoSchedule                      24m

and the cluster will eventually deploy and run.
❯ kubectl -n longhorn-system get pod
NAME                                        READY   STATUS    RESTARTS      AGE
csi-attacher-79fcf55c5d-29vxd               1/1     Running   0             7m6s
csi-attacher-79fcf55c5d-7wfb2               1/1     Running   0             7m6s
csi-attacher-79fcf55c5d-t2k6g               1/1     Running   0             7m6s
csi-provisioner-95b48d65d-4vpw6             1/1     Running   0             7m6s
csi-provisioner-95b48d65d-9j4q2             1/1     Running   0             7m6s
csi-provisioner-95b48d65d-ptpwx             1/1     Running   0             7m6s
csi-resizer-789c4bc68b-k8qpw                1/1     Running   0             7m6s
csi-resizer-789c4bc68b-lftbw                1/1     Running   0             7m6s
csi-resizer-789c4bc68b-plc6d                1/1     Running   0             7m6s
csi-snapshotter-bd77d9668-bgv87             1/1     Running   0             7m5s
csi-snapshotter-bd77d9668-pl6lv             1/1     Running   0             7m5s
csi-snapshotter-bd77d9668-txprd             1/1     Running   0             7m5s
engine-image-ei-4dbdb778-kn247              1/1     Running   0             9m59s
engine-image-ei-4dbdb778-t9bkn              1/1     Running   0             9m59s
instance-manager-e-4359172d                 1/1     Running   0             9m59s
instance-manager-e-f8790110                 1/1     Running   0             10m
instance-manager-r-0ee12728                 1/1     Running   0             10m
instance-manager-r-6ab4eae0                 1/1     Running   0             10m
longhorn-csi-plugin-mzk7c                   2/2     Running   0             7m5s
longhorn-csi-plugin-wx9hc                   2/2     Running   0             7m5s
longhorn-driver-deployer-58d8c4bbfc-cv7cp   1/1     Running   6 (10m ago)   25m
longhorn-manager-cs94t                      1/1     Running   1 (25m ago)   25m
longhorn-manager-lbnkh                      1/1     Running   0             25m
longhorn-ui-5857dbb794-dkrn6                1/1     Running   0             25m

The setting CRs synced from longhorn-default-setting configMap works expectedly.
Do you use v1.2.x-head images?
cc @c3y1huang @cchien816

Verified on v1.2.x-head c9161b
Result Pass
Steps

Deploy Rancher mixed cluster (1 Windows node, 3 Linux node)
Download kubeconfig from Rancher and exported to local
In local, clone https://github.com/longhorn/longhorn.git, switch to branch v1.2.x, create namespace longhorn-system
Change windowsCluster enable to true in chart/values.yaml

windowsCluster:
    # Enable this to allow Longhorn to run on the Rancher deployed Windows cluster
    enabled: true

Use v1.2.x head images by modify chart/values.yaml
Run helm install longhorn ./longhorn/chart -n longhorn-system
Observed Longhorn deploy well
Run helm uninstall longhorn -n longhorn-system


Fix inverse_of usage in physical_server

PhysicalServer has inverse_of instead of :inverse_of.

Replaced by https://github.com/ManageIQ/manageiq/pull/14505


Feature gate each mod to allow selective compiling

This is in response to en early comment by @Gankro

Although we're getting kinda bloaty, I think I need to do what @huonw suggested with adding a feature-per-collection.

This also makes the collect-rs possible to use right now since right now it will ICE the compiler.

:heart:
I'm not familiar with feature staging, but this looks right to me.
r? @reem

Maybe all could be a default feature?

I was about to suggest the same thing. All should be default, so users only
have to be familiar with this system if they want to opt in to it.
I'll give a real review later, on my phone now.
On Sat, Jan 31, 2015 at 2:00 PM Huon Wilson<EMAIL_ADDRESS>wrote:

Maybe all could be a default feature?
—
Reply to this email directly or view it on GitHub
https://github.com/Gankro/collect-rs/pull/105#issuecomment-72339047.

My main concern from seeing other packages deal with stuff like this is ensuring that every combination of feature flags actually works. Testing with only default is not enough, since it's very easy to forget to put the correct #[cfg] flags on every single use of a feature-gated item.
Ideally we'd have travis build with every single flag independently - that would catch the majority of forgotten configs.

@reem I have added tests for each feature.

eff it


Add initial dashboard chart for Policy Violations by Category

Description
This adds the initial widget for 5: "Policy violations by category" .  This is a feature incomplete widget but I wanted to get a PR out since this also contains code and patterns that will be used in other widgets.
This contains the chart and connection to back end data source using the default options, without filtering or Cypress tests.
Checklist

[ ] Investigated and inspected CI test results

Testing Performed
Visit the dashboard page at main/dashboard-pf, when the ROX_SECURITY_METRICS_PHASE_ONE flag is enabled.
By default the chart will render in "severity" order, with the most Critical violations at the top. Ties are broken by Important, Medium, and Low severity, in order.

Note that the top two bars have one critical severity, placing them at the top of the chart:

Test that the chart renders at max-width without distortion at various screen sizes:

Test that a skeleton is rendered when the widget is in a loading state:

Test that an error state is rendered when the data fetching promise rejects:

Test that clicking on a label in the chart axis links to the Violations page with the correct category applied, with Violations sorted by Severity.

Test that clicking on a bar in the chart links to the Violations page with the correct category applied, with Violations sorted by Severity.

@dvail @vjwilson Looking at this widget with real data (and this will vary per customer obviously), I'm noticing the click targets for network tools are way too small. It makes me think that clicking on the legend boxes to filter by severity is definitely necessary to help normalize the values. That alone may be sufficient.
Or maybe we decide to focus only on critical and high, changing the title to "Policy categories with most severe violations". Just something the team could consider.


Rope2d

Can you add an example about Rope2d as in META Sam2 https://github.com/facebookresearch/sam2/blob/main/sam2/modeling/sam/transformer.py#L289

Just to confirm, do you mean an example where rope is fused into FlashAttention as opposed to hows it done in SAM2 where q,k are done prior and then ran with Flash?

Yes, Does this fit in the flex API or not?

This currently does not fit within the Flex API since this is typically implemented by pre-mutating Q and K where we don't provide any ways to mutate QK before the dot product operation.

Is it in the roadmap?

Not currently, from what I know fusion ends up not being beneficial in training can be beneficial for  memory bound cases in decoding
I will leave this open though I think we have a few other things that are high priority, like learnable biases that I am working on but will think about how this can be supported

Do you have some alternative SOTA 2d learnable bias in the roadmap?


Audit icon support for popular icon libraries (Iconify, etc)

Skeleton has been developed to be icon library agnostic, meaning you can use any icon solution you wish. However we tend to favor Font Awesome for the majority of our internal projects and documentation. The goal here should be to determine if additional settings or configuration is needed to support these alternatives.
We should do an audit and review how this works with other popular icons libraries, including but not limited to:

[ ] Iconify
[ ] ...

Feel free to make suggestions in the comments for other libraries you wish for us to test.

there's an alignment problem with icons from ICONIFY and IMG
example:
<AppRail class="hidden md:block">
	<svelte:fragment slot="lead">
		<AppRailAnchor href="/">
      <Icon icon="mdi:home"/>
    </AppRailAnchor>
	</svelte:fragment>

	<AppRailTile bind:group={currentTile} name="tile-1" value={0} title="tile-1">
		<svelte:fragment slot="lead">
      <Icon class="text-2xl" icon="mdi:home"/>
    </svelte:fragment>
		Tile 1
	</AppRailTile>
	<AppRailTile class='text-3xl' bind:group={currentTile} name="tile-2" value={1} title="tile-2">
		<svelte:fragment slot="lead">🎇</svelte:fragment>
		Tile 2
	</AppRailTile>
	<AppRailTile bind:group={currentTile} name="tile-3" value={2} title="tile-3">
		<svelte:fragment slot="lead"></svelte:fragment>
		Tile 3
	</AppRailTile>

	<svelte:fragment slot="trail">
		<AppRailAnchor href="/" target="_blank" title="Account"></AppRailAnchor>
	</svelte:fragment>
</AppRail>

looks like this:

there's an alignment problem with icons from ICONIFY and IMG example:
<AppRail class="hidden md:block">
	<svelte:fragment slot="lead">
		<AppRailAnchor href="/">
      <Icon icon="mdi:home"/>
    </AppRailAnchor>
	</svelte:fragment>

	<AppRailTile bind:group={currentTile} name="tile-1" value={0} title="tile-1">
		<svelte:fragment slot="lead">
      <Icon class="text-2xl" icon="mdi:home"/>
    </svelte:fragment>
		Tile 1
	</AppRailTile>
	<AppRailTile class='text-3xl' bind:group={currentTile} name="tile-2" value={1} title="tile-2">
		<svelte:fragment slot="lead">🎇</svelte:fragment>
		Tile 2
	</AppRailTile>
	<AppRailTile bind:group={currentTile} name="tile-3" value={2} title="tile-3">
		<svelte:fragment slot="lead"></svelte:fragment>
		Tile 3
	</AppRailTile>

	<svelte:fragment slot="trail">
		<AppRailAnchor href="/" target="_blank" title="Account"></AppRailAnchor>
	</svelte:fragment>
</AppRail>

looks like this:

Adding inline-block to app.postcss helped me fix the problem:
/*place global styles here */
html,
body {
	@apply h-full;
}
.iconify {
    display: inline-block
}

I already shared this with Zim on Discord, but a more localized option would be to implement the inline-block class PER icon:
 <Icon class="text-2xl inline-block" icon="mdi:home"/>

This is a Tailwind class that will do the same thing, but per icon:
https://tailwindcss.com/docs/display

Sorry, I know this kind of old, but I can provide feedback on 2 libraries.

Tabler Icons (somewhat popular in the React world, has a Svelte library): Doesn't work at all. It uses SVG icons that just don't render.
Material Symbols (used via marella's npm library): work, but they don't size correctly. Changing the text size has no effect on the icon. You have to physically adjust the container size (this is probably a quirk of the icon library though).

In an effort to prepare for Skeleton v3, we're consolidate some related issues down to a single ticket. This will ensure that we can see the full context of requests when the time comes to refactor and update this feature going forward. If you wish to add additional feedback or suggestions, please so here:

https://github.com/skeletonlabs/skeleton/issues/2353


vulkan.py-related rework and cleanup

Moving API dependencies out of specific scripts and into vk.xml.  Getting ready for a follow-on series which will autogen vulkan.py.

Pushed to Master.


Conditionalise fade uncertainty on map

allow config to be loaded by URL
allow trusted origins for query params

Oh wow, thanks so much for this


provide a dedicated LazyObject.class method

fixes https://code.djangoproject.com/ticket/32894#ticket
this will fall back to returning the LazyObjects' type when it is uninitialized.
Alternatively this could be a try/except block trying to initialize, but i think thats not improving anything.

Closing per ticket. It also break a lot of tests.


platform_views_scroll_perf__timeline_summary 99th_percentile_frame_rasterizer_time_millis and 99th_percentile_vsync_transitions_missed regression

99th_percentile_vsync_transitions_missed looks serious enough to warrant immediate investigation.
First sign at https://github.com/flutter/flutter/pull/60564, then a drop, then consistently red after https://github.com/flutter/flutter/pull/60490. Tentatively assigning to the engine team based on the first PR.

#60490 is unrelated.
/cc @blasten @jason-simmons since this is a platform views benchmark, and https://github.com/flutter/engine/pull/19344 was related to platform views.

Yep, this is expected. I will remove the P0 level for now and rebase


Clone Issue

$ git clone git@github.com:singerla/pptx-automizer.git
Cloning into 'pptx-automizer'...
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.

Thank you for being interested in pptx-automizer! There are several ways to clone a repository from github. You are trying to use a SSH connection, but github does not recognize your account.
You can get additional info about ways with git clone a repo and set up ssh keys for your machine. SSH is the most convenient way to get authenticated, but you can also use https to clone a repo:
git clone https://github.com/singerla/pptx-automizer.git


ROX-24897: Make Registry TLS Checks Lazy in Sensor

Description
Modifies the registry store in Sensor to make the TLS checks lazy to prevent stalling Sensor startup.
Also modifies the TLS check cache to coordinate concurrent checks.
Checklist

[x] Investigated and inspected CI test results
[x] Unit test and regression tests added
[x] Evaluated and added CHANGELOG entry if required
[x] Determined and documented upgrade steps
[x] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Unit tests + on OCP infra cluster installed ACS, deleted the default quay.io image integrations, delegated a scan and observed in sensor logs:
$ rctl image scan --image=quay.io/dcaravel/sandbox/main:latest --force --cluster=remote

common/delegatedregistry: 2024/07/02 01:11:24.412391 delegated_registry_handler.go:108: Info: Received scan request: "request_id:\"9d0fc2b4-f8cf-408f-8c46-95e07984ba75\" image_name:\"quay.io/dcaravel/sandbox/main:latest\" force:true "

common/registry: 2024/07/02 01:11:24.523120 lazy_tls_image_registry.go:136: Debug: Lazy init success for "Global/reg:quay.io" (quay.io), secure: true

common/scan: 2024/07/02 01:11:25.405320 scan.go:213: Info: Image "quay.io/dcaravel/sandbox/main:latest" () enriched with metadata using pull source "quay.io/dcaravel/sandbox/main:latest" () and integration "Global/reg:quay.io" (insecure: false)

The lazy init success message did not appear again on repeat tests - which is the desired behavior.
Also observed startup time of Sensor with and without lazy checks after creating 10 pull secrets with different hosts that would timeout during tls check.
Without lazy checks (~22 seconds):
$ oc set env deploy/sensor ROX_SENSOR_LAZY_TLS_CHECKS=false

2024/07/02 01:35:04.225449 main.go:37: Info: Running StackRox Version: 4.4.x-1072-g98e6390e0b
2024/07/02 01:35:26.437225 resource_event_handler.go:226: Info: Successfully synced secrets, service accounts and roles

With lazy checks (~2 seconds)
$ oc set env deploy/sensor ROX_SENSOR_LAZY_TLS_CHECKS=true
2024/07/02 01:37:37.014329 main.go:37: Info: Running StackRox Version: 4.4.x-1072-g98e6390e0b
2024/07/02 01:37:39.019226 resource_event_handler.go:226: Info: Successfully synced secrets, service accounts and roles

Additionally setup delegated scanning and created a few  deployments for the dummy registries, and observed the lazy checks and enrichment failures:
enricher.go:158: Debug: Sending scan to local scanner for image "example.com:82/no/exist:latest"

lazy_tls_image_registry.go:114: Warn: Lazy TLS check failed for "PullSec/ns:stackrox/reg:example.com:82" (example.com:82): unable to check TLS for registry "example.com:82": dial tcp <IP_ADDRESS>:82: i/o timeout

scan.go:314: Debug: Failed fetching metadata for image "example.com:82/no/exist:latest" ("") with integration "PullSec/ns:stackrox/reg:example.com:82" (insecure: true): unable to check TLS for registry "example.com:82": dial tcp <IP_ADDRESS>:82: i/o timeout

enricher.go:170: Error: Scan request failed for image "example.com:82/no/exist:latest": image enrichment error: with integration "PullSec/ns:stackrox/reg:example.com:82" (insecure: true): unable to check TLS for registry "example.com:82": dial tcp <IP_ADDRESS>:82: i/o timeout

scan.go:314: Debug: Failed fetching metadata for image "example.com:82/other/exist:latest" ("") with integration "PullSec/ns:stackrox/reg:example.com:82" (insecure: true): tls check skipped due to previous TLS check errors

enricher.go:170: Error: Scan request failed for image "example.com:82/other/exist:latest": image enrichment error: with integration "PullSec/ns:stackrox/reg:example.com:82" (insecure: true): tls check skipped due to previous TLS check errors

/retest

The only (small) worry that I have, that lazy evaluation can postpone potential issues with the registry config to a much later in the process. I think, this is fine and still great improvement over the status quo.

Perhaps a good compromise :) - The more 'aggressive' up-front validation in the factory's CreateRegistry method should help here.  Also when comparing current to prior state things are not 'that' different in regards to surfacing potential issues: if delegated scanning is enabled and deployments are already in the cluster, then the logs will show errors close to startup even with lazy loading (some exceptions). Difference is that startup wouldn't be delayed and we don't waste resources if a registry is never used.

do we not need to update sensor/common/scan/scan.go to use the lazy factory?

The factory in scan.go is only used to create a 'no auth' registry, and that is only done if NO other registries are found, which means it will be used 'immediately' after creation - the extra overhead may not be valuable in that case.
I did just notice however that the no auth registry creation code does not use the TLS check cache, created ROX-25383 to add that (made a separate ticket because unrelated to the purpose of this PR).

/retest

/retest

/test ocp-4-12-operator-e2e-tests


Docker-compose without swarm

Thank you for the tool, Rinat.
Why doesn't it support a case of using docker-compose file on a server, but without swarm?
It might be useful with https://github.com/wemake-services/wemake-django-template for a single node scenario.
If the case is possible, please, describe how it could be configured.

Hi, Denis. Thank you for appreciate. I din't test Fabricio with docker-compose on the server side. But in theory it should work without swarm as well. Hope I will spend some time to check it this weekend.

I have looked to the possibility of using docker compose files outside of using docker stacks (without swarm enabled). And it is not possible right now.
Could you explain your case? So I can decide whether or not this feature should be implemented in the future. Particularly I'm interested why you don't mind to use docker compose but don't want to enable swarm.

Thank you for checking the possibility. Here is my case.
First of all, I don't know swarm and not sure that it's a must on the "small" project stage (currently). However I've got a working local compose environment with the template I mentioned. So I want to transfer the compose environment to my yet simple single-node dev and prod servers.
To sum up:

This is a legacy project and there are a lot of fires here and there and with migrating it to a new stack as a whole. That's why I'm not sure that learning the swarm mode right now is worth its complexity.
While using fabricio from the starting single-node setup with compose could help in future: when we switch to the docker swarm multi-node mode eventually.

swarm mode does not require multi-node configuration. It can be run on a single node. The difference between swarm-enabled docker and just docker is quite small from the user perspective.
Full support of docker compose on the server side is quite impossible due to inability to build images on the remote side (so it may become blocker if rely on this). However you could enable swarm mode on some test node and try to use Fabricio docker.Stack. Just make sure your docker compose configuration does not contain any image build stage.

Also you may find interesting this example which uses Fabricio to deploy Django-based applications.

I supposed that it doesn't require multi-node, just thought of it as an over-engineering at the moment. Maybe I'm wrong with that.
I'm not sure if docker compose support is impossible. Actually we don't need to build images. We only need to pull them from a private docker registry. They are pushed there as a result of a pipeline for master/release branches.
Thank you for the example and constructive discussion. Basically I'll stick to

ssh to server
pull containers from registry and compose-file from repo
docker compose up

at the moment. Something like another example. I'll certainly go back to fabricio while switching to swarm. I think we could close the issue.


Novel won't update its chapter in one reload

Steps to reproduce

Click on a novel in library
Scroll down from top to update it

Expected behavior
If there are new chapter it should show the new chapter
Actual behavior
But it is not showing if there are new chapter on first reload i have to reload it again then it would show if there are any new updates
But if i reload it only one time and navigate to Library then the app would freeze until the reloaded novel update it's status
LNReader version
1.1.13
Android version
Android 11
Device
Realme 3 pro
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with a source, I should be opening an issue in the sources repository.
[X] I have updated the app to version 1.1.13.
[X] I will fill out all of the requested information in this form.

Not able to reproduce this issue, as new updates are showing up fine on first reload.
Reopen if the issue still persists and add more detailed steps to reproduce the issue.

As an addendum to this, I experience the same thing.  My Android version is 13.  Samsung Galaxy Tab S7+.
If I open a novel and slide down to tell it to "update" the novel from the info screen... the new chapters will not show up until I leave the novel info screen back to the main screen and go back in to the novel info.
If I am reading the novel and an update runs and new chapters are found, they also do not show up until I leave the novel back to the main screen and go back in to the novel info.
This happens with any novel I have, the source does not appear to matter (BoxNovel does it, Ltnovel.com does it, ReadLightNovel does it).

As an addendum to this, I experience the same thing. My Android version is 13. Samsung Galaxy Tab S7+.
If I open a novel and slide down to tell it to "update" the novel from the info screen... the new chapters will not show up until I leave the novel info screen back to the main screen and go back in to the novel info.
If I am reading the novel and an update runs and new chapters are found, they also do not show up until I leave the novel back to the main screen and go back in to the novel info.
This happens with any novel I have, the source does not appear to matter (BoxNovel does it, Ltnovel.com does it, ReadLightNovel does it).

Do you have lots of Novel in your library?

Not able to reproduce this issue, as new updates are showing up fine on first reload.
Reopen if the issue still persists and add more detailed steps to reproduce the issue.

It might be because I have lots of Novel in my library. Can you add 40 or 50 novel in your library and then try this again
I have 2000+ Manga in my Tachiyomi App and it takes a while to load all the manga it might be the same with LNReader

As an addendum to this, I experience the same thing. My Android version is 13. Samsung Galaxy Tab S7+.
If I open a novel and slide down to tell it to "update" the novel from the info screen... the new chapters will not show up until I leave the novel info screen back to the main screen and go back in to the novel info.
If I am reading the novel and an update runs and new chapters are found, they also do not show up until I leave the novel back to the main screen and go back in to the novel info.
This happens with any novel I have, the source does not appear to matter (BoxNovel does it, Ltnovel.com does it, ReadLightNovel does it).

Do you have lots of Novel in your library?

I have 22 novels.

Not able to reproduce this issue, as new updates are showing up fine on first reload.
Reopen if the issue still persists and add more detailed steps to reproduce the issue.

Add 40-50 novels in your library and create 6-7 catagory and divide all the novel in the categories and open lots of Novel so you can also fill your history tab than try to open a novel and refresh it and come back to Library and check if the app Freezes


[Feature] Donation Page

I really love this software! It's one of the rare clipboards that actually works across xwayland, wayland and really anything else. If you are up for it, you should really set up a donation page.

@catdotjs Thank you so much for the kind words and the support for the project, I'm happy to hear you're finding it useful.
It was never my intention to monetize clipse and lately I'm not able to dedicate much time to it, so for now I won't be setting up donations.
Your feedback is more than enough!
If you'd like to support the project further, sharing it with others or contributing bug reports/ideas would also go a long way.
Thanks again for reaching out, it's much appreciated.
🚀

Thanks for the answer. While I am not too experienced with Go I'll see if I can help with some bug fixing. I'll be closing this issue.


Three finger tap for definitions doesn't work on OS X

In a Mac text view or web view, when you three finger tap a word it becomes yellow and a popover window with definitions (from country specific dictionaries and wikipedia) appears. Not so in atom.
I find this very annoying since I use that feature a lot. I'm not sure if this is a bug or a feature request since it is standard in all (not strictly) other similar apps.

This is tested on latest mac build 0.187.0

Looking into this, it looks like it does work in Settings and rendered Markdown, but not in an editor or mini-editor.

This seems to be because of the -webkit-user-select: none; property in the editor-contents and editor-contents--private selector.

When will we fix this?

If it is because of -webkit-user-select: none; property in the editor-contents and editor-contents--private selector(As mathiasvr has metioned)? If so, where can I change it by myself? Or I just need edit the source code and compile it ?

-webkit-user-select: none;

Selections are just divs in atom. We'll likely need to do something explicit like https://github.com/kohkimakimoto/atom-dictionary/blob/master/lib/dictionary.coffee to make this work in the editor.

Thanks for your suggestions.
The definitions popup window is very useful because of It's quickness.
the popup window is shown very quickly and hidden by just ESC key.
already I showed dozen of popup windows while writing this comment.
I hope there is a solution for this issue.

I found a document. Is this has some relations?
In Cocoa application, showDefinitionForAttributedString() provides this popup dictionary feature.(document)

How is this issue going?

@jerryling315 It's not currently being worked on. From what Ben said above it seems like there isn't a good way for us to integrate with the native OS X popups without changing how selection works entirely in atom, if disabling webkit-user-select is indeed the issue. Alternatively providing an API in Electron for showDefinitionForAttributedString() and using it in Atom might work, but only if we could detect the 3-finger-tap in Javascript.

#441 should be same matter and  some suggestions are shown.

Still nothing changes.

Just wanted to add that the lack of this makes Atom pretty much unusable to me in English text editing; since I also frequently use the three-tap popup all the time -especially for synonyms-; and synonym plugins for Atom just don't work properly.

I am missing this too.


[dv,dma] Introduce an adapter between System bus and TL-UL agent

This PR introduces changes to the DMA block level DV environment to support some testing of the SoC System bus when full testing has been expressly waived. It introduces a simple adapter between DMAC and a TL-UL agent/memory that responds to a 4GiB address window within the 64-bit address space, plus additional constraints to make this usable.
Note that this is based upon understanding of the behavior of the SoC System bus that has to some extent been gleaned from observations of the DMA controller itself, so it should not be regarded as complete. It does, however, offer:

An increased chance of catching any regressions in the DMA controller logic.
Testing of 64-bit addressing logic within the DMA controller and the DV environment (SoC System bus is the only bus with a 64-bit address space).
Improved coverage statistics in the DMA DV and a reduced need for gross exclusions.
Variable response timing and the reporting of Read errors on the bus (Write errors cannot be returned for this bus).

Note that although the existing test sequences that have thus far been tried against this PR have passed, testing is not yet complete, and in particular this work will need rebasing on top of PR #20657 because of a few common changes/conflicts.

@rswarbrick Thanks for the review, and for drawing attention to the missing 'else' keyword in the adapter. I've added clarification comments regarding the other points you raised.

@alees24 @rswarbrick Whats the state of this PR?


Cross Region RDS Backup Copy CFN Not working

I cloned your git repository to my local machine, uploaded the zipped python for RDS cross region backup copy to an s3 bucket.  However when I upload the CFN template into the console it fails.  Are you sure the provided template is valid?

Hi @vennemp
From the screenshot, there doesn't seem to be an issue with the template, but during the uploading - did you try uploading it again? Or restarting your browser? If there is an issue with the template, there tends to be a very different error message - definitely nothing about "failed upload".

Yeah I've multiple browsers, incognito, however it works for my coworker so there is definitely something screwy with my workstation.  You can close this.  Thank you for the fast response!

Btw this works great after we got issue sorted out.  Thanks for creating a professional solution to this problem!


API: Separate volume.State to volume.State and volume.Robustness

It was combined before as a shortcut. There are two separate states internally, and sometimes we cannot tell if the volume is healthy or not.
It is easier for the caller to know if a volume is attached or not, regardless of it's healthy or degraded.

Done. Thanks.


[v1.3] Error when Bridging Rootchain ERC20 to Native Supernet Tokens

Error when Bridging Rootchain ERC20 with Native Supernet Tokens
Steps to Setup Supernet:
https://github.com/integrations-Polygon/Supernets-Edge-Tutorials/blob/master/Supernets_v1.3_setup.md
Command for Bridging:
./polygon-edge bridge deposit-erc20 --amounts<PHONE_NUMBER>00000000 --json-rpc <mumbai_rpc> --receivers 0xAE3ac03497aB6aFfF786bCFF95DD6e9095Dc5d55 --root-predicate <erc20Predicate from genesis.json> --root-token 0xaADBC81Dec3D3f27a23b9fC8d9F1f031034079e6 --sender-key <private_key>

Output:
[DEPOSIT ERC 20]
Sender                  = 0xAE3ac03497aB6aFfF786bCFF95DD6e9095Dc5d55
Receivers               = 0xAE3ac03497aB6aFfF786bCFF95DD6e9095Dc5d55
Amounts                 =<PHONE_NUMBER>00000000
Inclusion Block Numbers = 41122460

Testing Supernet Native balance
Next I use this script to check my address balance on the Supernet:
const { ethers } = require("ethers")
const RPC = "http://<IP_ADDRESS>:9545"

async function main(){
    const provider = new ethers.providers.JsonRpcProvider(RPC)
    const balance_1 = await provider.getBalance("0xAE3ac03497aB6aFfF786bCFF95DD6e9095Dc5d55")
    console.log(balance_1)
}

main()

I would expect to see the transferred amount in my Native Supernet balance, unfortunately this does not seem to be the case:
BigNumber { _hex: '0x00', _isBigNumber: true }

Your environment

PopOS 22.04
Version 1.3, Commit #c27d222

Let me know if have missed anything, thanks!

Do you have a node started with --relayer flag?

@goran-ethernal yes, I have used the --relayer flag when running the nodes.
Exact commands can be found here: https://github.com/integrations-Polygon/Supernets-Edge-Tutorials/blob/master/Supernets_v1.3_setup.md#12-run-child-chain-cluster-in-relayer-mode

Could you reproduce this on Debug level, and gives us logs from the validator nodes?

Also, can you check if you have provided this address: 0xaADBC81Dec3D3f27a23b9fC8d9F1f031034079e6 (root-token flag value) to erc20-token when you have executed rootchain deploy command? Because the erc20-token value is in fact rootchain token that gets mapped to Supernets' native token. Otherwise, if that value is either omitted or different than the one you have provided for the root-token, it means that deposit would not reflect the Supernets' native token, but rather some other child ERC20 token that is automatically deployed and mapped by the Supernets predicate contract.
If you don't figure out the aforementioned, then provide us the genesis.json file as well.

Hi @Stefan-Ethernal I've indeed mentioned the correct Rootchain Parent Token alongside the --erc20-token  flag when deploying Rootchain Contracts.
Feel free to go through my genesis.json file:
genesis.json

For starters, just a quick check: have you bridged some tokens to any relayer node (it is enough to have just one of them btw)?
This command seems correct:
./polygon-edge bridge deposit-erc20 --amounts<PHONE_NUMBER>00000000 --json-rpc <mumbai_rpc> --receivers 0xAE3ac03497aB6aFfF786bCFF95DD6e9095Dc5d55 --root-predicate 0x6335ed5f00FbC1DFD47cCccF1a6f544D9D1aCA97 --root-token 0xaADBC81Dec3D3f27a23b9fC8d9F1f031034079e6 --sender-key <private_key>

Also, we can verify that RootERC20Predicate (https://mumbai.polygonscan.com/address/0x6335ed5f00FbC1DFD47cCccF1a6f544D9D1aCA97) has locked 0.2 PTK, that was being deposited. However, this deposit is not successfully settled on the Supernets side of things for some reason (I suspect that the relayer probably does not have enough tokens to cover fees for settling deposit transactions on the Supernets).
Do you have, by any chance, logs from validators when you have reproduced the issue? If not, can you please reproduce it once again and deliver it to us?

Hi @Stefan-Ethernal,
The relayer not having enough tokens on the Supernet could be an issue. There would be to ways to fund the Supernet relayer:

Bridge Rootchain ERC20 to the Supernet Relayer (validator) address so that it's funded with native tokens.
Modify the genesis file during setup to assign an initial balance.

While I am trying the first method and reporting whats returned, would you recommend using the second method?

Hi @sahil3Vedi,

Bridge Rootchain ERC20 to the Supernet Relayer (validator) address so that it's funded with native tokens.

this is the only way to do it since when using rootchain-originated Supernets native token, it is allowed to premine only 0x0 and reward wallet addresses in the genesis.
Anyway, I have tried to reproduce the issue on my end and this is the error I'm getting, which means that we are not able to send a "free" transaction (max priority fee per gas and fee per gas set to 0) to fund the relayer, since the relayer does not have any balance prior to this first deposit:
2023-10-19T08:09:47.402+0200 [ERROR] polygon.server.relayer: State sync execution failed: err="failed to send execute state sync transaction for id 1: {\"code\":-32600,\"message\":\"insufficient funds for gas * price + value\"}"

Can you just try re-running the deposit and see whether you are facing the same error message in any of the relayers' logs (in case you have multiple relayers)?

I personally use these shell commands to prefund native Supernets tokens to my wallet address and the validators.
They modify the genesis.json to assign initial balance.
jq --arg key "$DEPLOYER_ADDRESS" '.genesis.alloc += { ($key): { "balance": "0x56bc75e2d63100000"  } }' genesis.json > temp.json && mv temp.json genesis.json

jq --arg key "$VALIDATOR_1" '.genesis.alloc += { ($key): { "balance": "0x56bc75e2d63100000"  } }' genesis.json > temp.json && mv temp.json genesis.json

jq --arg key "$VALIDATOR_2" '.genesis.alloc += { ($key): { "balance": "0x56bc75e2d63100000"  } }' genesis.json > temp.json && mv temp.json genesis.json

jq --arg key "$VALIDATOR_3" '.genesis.alloc += { ($key): { "balance": "0x56bc75e2d63100000"  } }' genesis.json > temp.json && mv temp.json genesis.json

jq --arg key "$VALIDATOR_4" '.genesis.alloc += { ($key): { "balance": "0x56bc75e2d63100000"  } }' genesis.json > temp.json && mv temp.json genesis.json

I wanted to know if this would be appropriate. I understand this could disrupt the total supply of mapped tokens by introducing new tokens. Is there any other concern apart from this?

I understand this could disrupt the total supply of mapped tokens by introducing new tokens. Is there any other concern apart from this?

You would not be able to bridge that supply of tokens back to the rootchain, because they are assigned to the accounts out of thin air and are not previously locked on a rootchain. I'm not sure if there are any more consequences, but that is a hacky approach that's for sure.
We are working on providing a proper solution fix, that is to lock Supernets native token on a rootchain during bootstrap and then based on that information populate genesis allocations (something similar which was done for staking in the genesis time). However, seems like this approach requires a chain reset alongside regenesis.


What do variable "id_step1", "nStep", "nBase" refer to in file balanced_replay.ipynb?

Hi @JoyHuYY1412 , thanks for sharing your codes here. You've proposed a novel paradigm for the LVIS task.
I've met a problem when trying to run your code. Some variable like "id_step", "nStep", "nBase" seem undefined in the file balanced_replay.ipynb . I gauss "nStep" may refer to "step_size", and "nBase" refer to "base_size" according to context.
So what do these variables actually refer to?

Hi @JoyHuYY1412 , thanks for sharing your codes here. You've proposed a novel paradigm for the LVIS task.
I've met a problem when trying to run your code. Some variable like "id_step", "nStep", "nBase" seem undefined in the file balanced_replay.ipynb . I gauss "nStep" may refer to "step_size", and "nBase" refer to "base_size" according to context.
So what do these variables actually refer to?

So sorry for some omission. You are right, nStep is step_size,  e.g. 160; nBase is size of the base classes, e.g, 270. id_step is the class id list in the current step.
Hope this can help!

Hi @JoyHuYY1412 , thanks for sharing your codes here. You've proposed a novel paradigm for the LVIS task.
I've met a problem when trying to run your code. Some variable like "id_step", "nStep", "nBase" seem undefined in the file balanced_replay.ipynb . I gauss "nStep" may refer to "step_size", and "nBase" refer to "base_size" according to context.
So what do these variables actually refer to?

So sorry for some omission. You are right, nStep is step_size, e.g. 160; nBase is size of the base classes, e.g, 270. id_step is the class id list in the current step.
Hope this can help!

Thanks for your reply! So, you mean that id_step contains the replayed class id of the last step and the class id of the current step?

Hi @JoyHuYY1412 , thanks for sharing your codes here. You've proposed a novel paradigm for the LVIS task.
I've met a problem when trying to run your code. Some variable like "id_step", "nStep", "nBase" seem undefined in the file balanced_replay.ipynb . I gauss "nStep" may refer to "step_size", and "nBase" refer to "base_size" according to context.
So what do these variables actually refer to?

So sorry for some omission. You are right, nStep is step_size, e.g. 160; nBase is size of the base classes, e.g, 270. id_step is the class id list in the current step.
Hope this can help!

Thanks for your reply! So, you mean that id_step contains the replayed class id of the last step and the class id of the current step?

id_step should contain the classes you need to train in this step, like 270+160*n in step n.


Neens to be fixed with latest Homebrew Latest with Homebrew's 3.2.0 ruby

HOMEBREW_VERSION: 3.6.18-54-g3e25789
Homebrew Ruby: 2.6.8 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/bin/ruby
which -a ruby (when I removed rbenv from the env it also n/w)
/home/alessio/.rbenv/shims/ruby # 3.2.0
/home/linuxbrew/.linuxbrew/bin/ruby  # 3.2.0
/usr/bin/ruby

brew gem install neovim
==> Fetching gem-neovim
==> Fetching neovim from gem source
`RubyGems' were not loaded.
`error_highlight' was not loaded.
`did_you_mean' was not loaded.
`syntax_suggest' was not loaded.
/home/linuxbrew/.linuxbrew/opt/ruby/bin/gem:8:in `require': cannot load such file -- rubygems/gem_runner (LoadError)
	from /home/linuxbrew/.linuxbrew/opt/ruby/bin/gem:8:in `<main>'
==> Fetching neovim from gem source
`RubyGems' were not loaded.
`error_highlight' was not loaded.
`did_you_mean' was not loaded.
`syntax_suggest' was not loaded.
/home/linuxbrew/.linuxbrew/opt/ruby/bin/gem:8:in `require': cannot load such file -- rubygems/gem_runner (LoadError)
	from /home/linuxbrew/.linuxbrew/opt/ruby/bin/gem:8:in `<main>'
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory @ rb_sysopen - /home/user/.cache/Homebrew/neovim-0.9.0.gem

This is ruby installation script in Homebrew, which uses for rubygems $HOMEBREW_PREFIX/"lib/ruby/gems/#{api_version}/bin"
and all content is symlinked it to  $(brew --prefix ruby)/libexec/"gembin/*"


Pager.GetPage() never shuld happend

After dropping collection.

Hi @shai-benshimol, this never should be happend :) It's a bug in checkpoint cache manager. I'm fixing in master branch. It's will be in next minor release


:bug: Address React 18 effect bug for useMountedRef

Description
Fixes (issue #2500)

This addresses a bug in React 18 StrictMode environments where effects are run twice on initialization. Previously, the useMountedRef bug was initialized via const mounted = useRef(true), but since the effect runs twice in development (including cleanups), the ref would be set to false and never re-initialized as true.
You can read more about the way effects are run in strict mode in the following places:

Updates to Strict Mode
How to handle the Effect firing twice in development?

I'm uncertain where else this bug might be present (via the callbacks being run twice in React 18 w/ Strict Mode), but I do know that this is one instance of it that was causing bugs within react-form (see the linked issue that this resolves). I've tested this inside of a 1P app and can provide folks on the team with a demo/spin link for testing if desired.

/snapit

Updated a test instance which is using React 18 with Strict Mode enabled and getting the expected results within react-form.

I took the liberty of adding a test case that only fails in React18.

I took the liberty of adding a test case that only fails in React18.

Nice!
Thank you for that and merging. My evening filled up yesterday and this got put to the side.


fix: ssh-tunnel-rds and add readme.txt on s3 bucket for public-keys

Hi @Guimove, Are these changes available in the 1.1.2? I keep getting the following error
"bastion_host_security_group" is not a valid output for module "bastion"


Playing instructions display bugs and typos fixed

Thankfully, I know some Spanish so I could more or less understand the code. When I opened it up first, the instructions were not readable and only parts of sentences were visible. So, I fixed that by modifying the font sizes and x-y coordinates.
I also changed the variable name "repuesta" to "respuesta" everywhere. I believe because you were returning "repuesta" in many functions, you wanted it to mean answer, which is "respuesta". So, I fixed that for anyone who goes through this code in the future. I've made all these changes in both the files, with and without commentary.
Very nicely made though! The cube simulation was spot on!

After testing on multiple devices, it was found that Tkinter works differently on different OS. So, in the latest commit, support for Windows/MacOS/Linux has been added. Font sizes and coordinates of few things are now decided on the basis of the OS, with the help of the platform module in Python.


Podman 4.9.3 is not compatible with bind mounts to intermediate containers

I get this error (https://github.com/prydom/my-ostree-build/actions/runs/11166346985/job/31040135532#step:3:2977):
[17:06:17 g.i/p/fedora-kinoite-laptop:br-switch-to-podman-42] => Error: error building at STEP "RUN --mount=type=bind,from=stage-keys,src=/keys,dst=/tmp/keys mkdir -p /etc/pki/containers/   mkdir -p /usr/etc/pki/containers/   && cp /tmp/keys/* /etc/pki/containers/   && cp /tmp/keys/* /usr/etc/pki/containers/   && ostree container commit": error resolving mountpoints for container "db9be687a794c40947584f6e5fc808d1a98ae7fc0d05ef4b76c81a6043496258": invalid mount type "bind"
[17:06:17 ERROR] => Failed:
  × Failed to build ghcr.io/prydom/fedora-kinoite-laptop:br-switch-to-podman-
  │ 42

This is somewhat annoying since Podman 4.9.3 is what is shipping with Ubuntu 24.04 LTS.
I'm not sure we can do anything about this on Bluebuild's side but I did want to create an issue in case someone searches for a solution.
Feel free to close this if there's nothing to do or discuss.
Workaround
I use the following in my Github Actions.
Note that ghcr.io/prydom/ostree-buildroot is just a fedora container with the tools needed to use bluebuild installed, see https://github.com/prydom/my-ostree-build/blob/main/buildroot/Containerfile.rawhide.
    container:
      image: ghcr.io/prydom/ostree-buildroot:rawhide
      options: --privileged
    steps:
      - name: Checkout repo
        uses: actions/checkout@v4
      - name: Build Custom Image
        uses: ./.github/actions/bluebuild
        with:
          recipe: ${{ matrix.recipe }}
          cosign_private_key: ${{ secrets.SIGNING_SECRET }}
          registry_token: ${{ github.token }}
          pr_event_number: ${{ github.event.number }}
          use_unstable_cli: true

Wait did they remove support for bind mounts?!?! There's a requirement for podman version >=4 because that was the version that added it in.

I'm not sure what's going on. My fedora container has version 5.2.3 (https://packages.fedoraproject.org/pkgs/podman/podman/) so there must be a regression.

Looks like that job was running on a 22.04 VM https://github.com/prydom/my-ostree-build/actions/runs/11166346985/job/31040135532#step:1:4
This doesn't have the correct version of podman installed. Looks like ubuntu-latest is set to change to 24.04 on Oct. 30th.
If you want faster build times you can add this to your action to install a newer version of podman (this is what we do for our action if using the squash feature):
    # Installs the latest version of Podman
    # that is compatible with BlueBuild
    - name: Setup Podman
      if: ${{ inputs.squash == 'true' }}
      shell: bash
      run: |
        # from https://askubuntu.com/questions/1414446/whats-the-recommended-way-of-installing-podman-4-in-ubuntu-22-04
        ubuntu_version='22.04'
        key_url="https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}/Release.key"
        sources_url="https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}"
        echo "deb $sources_url/ /" | sudo tee /etc/apt/sources.list.d/devel-kubic-libcontainers-unstable.list
        curl -fsSL $key_url | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/devel_kubic_libcontainers_unstable.gpg > /dev/null
        sudo apt-get update
        sudo apt-get install -y podman

Ah good catch. I thought latest had already swapped over. I'll give it a shot with Ubuntu 24.04 this time.


docs: add a link to the list of all guides

Since git/git@f442f28a81 (git.txt: add list of guides, 2020-08-05), the
git(1) man page includes a list of all Git guides.
Add a link to this section of the man page at the bottom of the 'Guides'
section of the main documentation page, to improve discoverability.
While at it, make the link to 'githooks' more beginner-friendly.
This PR is in preparation for Git 2.29.
Note: I did not use the man function, so the link will be to the English version of the git man page, even if the currently viewed page is in another language. I couldn't figure out how to easily link to a section of the page in another language since the anchors are localized and I couldn't figure out how to get the correct localized anchor from the English anchor "_guides" (in fact I think it's not possible). I don't think it's such a big deal because anyway the git(1) man page is not localized in any language.
@peff @jnavila

This makes sense to me, and the changes on the doc page themself look good. Of course the Guides link goes nowhere useful yet, because we only index 2.28 and that commit is slated for 2.29. So we'd want to wait on merging this until the next upstream release.
I don't have much of an opinion on the translation-related stuff. I agree that since git(1) isn't translated it probably isn't that big a deal for now, but @jnavila might be able to offer advice on how to future-proof it.

git(1) is translated (in German and in Brazilian Portuguese) but the guides are not (yet) in translated contents, so it's not an issue here. For the anchor issue, the man function will need a rework in order to handle guides anyway.

@peff, @jnavila now that 2.29 is out this should me ready to merge :)

Thanks for remembering! :wink: I double-checked the links on a test deployment, and everything looks good.


Huggingface /generate in path to model is not expected

Bug description
I was experimenting on Spring AI and was looking for a free model for ChatApi implementation. Upon investigation I found I can use HuggingFace microsoft/Phi-3-mini-4k-instruct model. So, I added the following dependency in my project and started to investigate:
// POM version is 1.0.0-M3
implementation 'org.springframework.ai:spring-ai-huggingface-spring-boot-starter'

Similarly, I added in application yaml:
spring:
  ai:
    huggingface:
      chat:
        api-key: hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
        url: https://api-inference.huggingface.co/models/microsoft/Phi-3-mini-4k-instruct

Once done, I called HuggingfaceChatModel
Unfortunately, The following exception was received:
org.springframework.web.client.HttpClientErrorException$NotFound: 404 Not Found: "{"error":"Model microsoft/Phi-3-mini-4k-instruct/generate does not exist"}"

What I found is that, /generate postfix is appended in the code & hardcoded in org.springframework.ai.huggingface.api.TextGenerationInferenceApi#generateWithHttpInfo, line 83
Whereas, with postman everything works as expected as per hugging face documentation - https://huggingface.co/docs/api-inference/tasks/text-generation?code=curl
Environment
Java version - 21
Build tool - gradle 8.3
Spring AI version - 1.0.0-M3
Steps to reproduce
Just a simple ChatClient setup with hugging face model provided along with access key generated in hugging face account
Expected behavior
/generate is not hardcoded hence can put whatever url is needed
Minimal Complete Reproducible example
I can't put my access key here, but all you need to do is

Create a simple project
Add huggingface-ai dependency
Define hugging face url & access key in application properties file
Call the ChatClient

I removed the path from the generated client file using the openapi.json and ran it because of this issue.
It seems like I might need to get the latest version of the OpenAPI file from Hugging Face. (I haven’t fully analyzed it yet.)
As a temporary workaround, it works if I remove the path in the URI component builder for the path.

@nastyabakhshieva  Hi, thanks for reporting issue.
The PR for Hugging Face has been merged, and also #1733
Now you can close this issue. 😃

Yes, the changes are merged as 3c14fa633ad02d0a9fb67511273f0241265b532b. Thank you @jitokim

Thanks!)


bot_admin: not in debug with - tock_env=dev

Hi,
To have debug logs on bot_admin i moved from - tock_env=prod to - tock_env=dev but it stay in INFO
I added - tock_default_log_level=DEBUG and it was in DEBUG mode
is it as expected?
Regards
Mat

Hi @msansen-esncf could you please give an example of a logline you expect to be DEBUG with tock_env=dev please, so that I can reproduce and see what happens here?

hello @francoisno it seems that for admin it is different. No need to check it anymore. THanks for your help


Feat/linting errors

Changes:

removed lint warnings when you run project

Ticket:

https://digicatapult.atlassian.net/browse/L3-245

I've replaced the ipfs and identity implementations with ones adapted from sqnc-hyproof-api which use zod for parsing. Note we should abstract these out to shared modules


Change complex reduce code sample to clearer map reduce.

Although I'm inclined to believe that the non-functional example may be even clearer, and it is not necessarily "bad".

Thanks!
As for the question of if the FP example is cleaner -- like everything in here, that is subjective. The biggest benefits of FP are managed side effects, pure functions, and no mutations. This leads to cleaner code, especially in larger codebases, because it's easier to reason about the flow of control and what to expect from any function. This is a topic in and of itself, would love to link out to an article here! Thank you for highlighting how this subsection is a bit light on the actual "Good" it promotes.


Use short array syntax in configuration file

As long as this library required PHP >= 5.4 we can use short array syntax in config.php

The current codebase in generall still uses array() by and large.
I suggest instead of just changing one file, if @barryvdh wants to change this, we should employ e.g. php cs fixer to a) convert the whole codebase and b) ensure it stayts that way.
@barryvdh what do you think? Short array syntax is very common already and old PHP versions aren't a concern anymore.

Sure


SUMO232354: Update doc for 10 v2 apps

PLEASE READ
Following a recent back-end update, all contributors with a local clone or fork of our repository are required to run yarn install. This does not apply to direct page edits.

[ ] Yes, I've run yarn install
[ ] No, does not apply to me

Purpose of this pull request
This pull request...

Select the type of change:

[ Yes] Minor Changes - Typos, formatting, slight revisions, .clabot
[ ] Update Content - Revisions, updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Keep this open; related to apps v2 update

The intent of this PR is covered in the PR #3432.


Returning data from store asynchronously

Hi! I'm currently writing an API to fetch data from a server via socket.io. After a bumpy start, I got it working with redux and redux-saga, but there is one thing which is bothering me. I have to return the fetched data, and I haven't found a good solution for how to do this. This is what I came up with:
  getTags(path: string, locale: string = 'de') {
    const request = JSON.stringify({
      url: path,
      method: 'GET',
      locale,
    });

    const tagList = store.getState().tagList;

    return new Promise(resolve => {
      if (tagList[request]) {
        resolve(tagList[request].tags);
      } else {
        const unsubscribe = store.subscribe(() => {
          const tagList = store.getState().tagList;

          if (!tagList[request].isFetching) {
            unsubscribe();
            resolve(tagList[request].tags);
          }
        });

        store.dispatch({ type: REQUEST_TAGS, request });
      }
    });
  }

It is working so far, but I have the feeling that it will cause me some headaches. I searched for quite some time now for other solutions, but nothing came up (or I just searched wrong).
My dream would be what I saw with redux-thunk, something in the way of store.dispatch({ type: REQUEST_TAGS, request }).then( … ).
If there is a better way to solve this, I would be happy about every push in the right direction.
Thanks in advance!

This is an open problem already discussed in #907.  There are some working solutions (but maybe not ideal) in that PR.

I got it solved with redux-wait-for-action.
    …
    return new Promise((resolve, reject) => {
      return store
        .dispatch({
          type: REQUEST_ITEMS,
          request,
          [WAIT_FOR_ACTION]: RECEIVE_ITEMS,
          [ERROR_ACTION]: RECEIVE_ITEMS_FAILED,
          [CALLBACK_ARGUMENT]: action => action.items,
        })
        .then(items => resolve(items))
        .catch(error => reject(error));
    });
    …


S0033 examples uses "list" as argument name, should be "status"

the 1.1 spec states that the S0033 argument is named "status":
https://rsmp-nordic.org/rsmp_specifications/rsmp_sxl_traffic_lights/1.1/sxl_traffic_light_controller.html#s0033
but the example uses "list":
in https://rsmp-nordic.org/rsmp_specifications/rsmp_sxl_traffic_lights/1.1/examples.html#s0033-signal-priority-status

Fixed with 7c532605b196007c37ef3bfe8f837dc5318eab1e


Build code from docs

The docs for this branch use the latest version of the code and this shouldn't be merged yet until the below tasks have been completed.

[ ] Distribute latest release on crates.io and pypi
[ ] Remove extension traits that have methods we want to merge into gl-client
[ ] Update docs for creds page
[x] Add python examples
[ ] Add jobs to ensure both Rust and Python files are being validated (maybe we should validate Python files with mypy?)

@Randy808 how is this PR looking, can we merge it soon even if not quite perfect, we can always fix up later, as long as we don't forget about it.

I didn't update the credentials doc but I can make that a separate issue. The only other thing on the checklist is publishing new versions of glclient


Nm device refactoring

Depends on #286

Coverage increased (+0.3%) to 66.456% when pulling 733f147aefb720d60c7094b7047f25d835979a0a on EdDev:nm-device-refactoring into 3f96ce66c95ffe37314e61a7910c3f3ef695be42 on nmstate:master.


Ignore constraints for blank rooms and/or instructors.

If there are multiple sections for a course with a blank instructor (""), the system reports a constraint violation.
I'd like to be able to add "shadow" sections of courses in the labs at the same times as the course without triggering constraint violation.
The current workaround is to give the courses mismatched instructor names (e.g., Z1, Z2, Z3), but this add instructors to the "Faculty Schedule".

Hmm... Would it work to simply assign two rooms to the course (at the same time) rather than to create a shadow section?  That still requires some work in the app, but it is a different approach, and arguably better than using "" as the instructor.
Here's another situation that leads to apparent conflicts: Math 270/271.  These are taught by the same instructor in the same room at the same time, but some students are taking a 3-hour course and some a 4-hour course.  The difference is the end date (and final exam date).  In this case we need both courses to be on the schedule (for students to register), but we don't want it to look like a scheduling conflict, and we need to make sure that the instructor load is calculated correctly.  It would be nice if these courses could be linked so that changing the time/room/instructor for one automatically does so for the other, too.
A more general approach might be to have some additional data about various conflicts to ignore, courses to link, or operations to perform upon export.  As an example of the latter, we could schedule Math 270/71 in the app and have that split into 270 and 271 upon export.
It would be good to get a wider list of these sorts of "unusual" situations and see how many of them can be handled in similar ways.

Assigning two rooms to a course puts both rooms on the official registration course list, which tends to confuse students. E.g., is their CS 344 course in the classroom or in the lab - well, it's in the classroom by default but the instructor may choose to go to the labs sometime. Thus, I'd really like "shadow" sections, which reserve the lab space but don't show up on the registrar's system.
I'm willing to put up with the apparent conflicts of the sort you mention - there's usually a limited number of them. E.g., in CS, there's: CS 195/295 - same seminar, different students (cf. MATH 270/71); CS 262/214 LA/LB - same class time, different sections; IDIS 110 A/B - same class, different halves of the semester (these sections have different start-end dates, so they really shouldn't be marked as conflicts). But if shadow lab bookings become conflicts, then all the CS 300-level courses and some others become conflicts.
One potentially simple solution is to modify the system so that "Staff" appoints don't conflict. Those conflicts would get flagged the moment we assign the course to an actual faculty member. This wouldn't help with MATH 270/271.

I really don't like the "blank instructor avoids constraint checking" kludge.  Mainly because it feels exactly like a kludge -- Not transparent, not following the system, potentially buggy.
Perhaps we just want a toggle for "don't check constraints" (which might have other uses besides your use case).  A note could be included to tell the registrar not to show the section to students -- unless there are enough situations like this to warrant building in something more systematic.

Another option for @kvlinden 's use case would be to use the Instructional Method field.  We would just need to decide what to call the method for these shadow rooms.


Started Database layer and created a simple schema

Added repository layer schema to be expanded upon

ADMIN MERGE ABUSE!!!


FancyZones can not control the Chrome window size

Environment
Windows build number: Microsoft Windows [Version 10.0.17763.1217]
Chrome version: Version 81.0.4044.92 (Official Build) (64-bit)
PowerToys version: V0.18.0
PowerToy module for which you are reporting the bug (if applicable):FancyZones
Steps to reproduce
FancyZone can effect anyother windows, but only not in chrome.
i use the default key "shift",any other windows can be resize to the layout size, but it not work with the chrome.

i override the windows snap hotkeys "win+arrow", in other program it can change size as the layout size,but in chrome, it still act as the default windows setting

Hi @anniextra
as far as we know, Chrome can be zoned without problems, so there is something else happening on your system.
Can you please describe exactly what is happening when you shift-drag Chrome?
Are you dragging Chrome or just a Chrome tab?
Do the zones appear?

finally, it looks like some chrome exts block the "shift" key, i disable it than it be ok now, thanks~
it's a great app!

it looks not the exts cause the prolbem, my home pc is ok now, but today in my office, the pc still not work right, i have disable all the chrome exts.
i open the transparent windows setting, so when i hold the "shift" key and drag other windows, all the windows works correct, but when i hold the shift key and drag the chrome windows, or the tab, it just not work, i mean  it looks nothing happened.
before i thought there maybe some exts capture the "shift" key , but now i disable all exts and restart it, the problem still not fix.
so puzzle me...

ok, finally i reinstall the chrome... and it works...
still so puzzle...

i have found the bug..
1.setup chrome
2.go to extension setting
3.enable / disable develop mode
.// then, the bug appear.
only way to fix it is to reinstall the chrome..

Re-installing Chrome, in my case, was not required.
I had this issue, however - after disabling Extension Developer mode  - restarting Chrome was sufficient to allow FancyZones to resize chrome windows again.

@adrian-green
I still cannot reproduce this problem.
When you turn on the Developer mode, then shift dragging Chome doesn't activate the zone?
Are we talking about shift dragging the Chrome's window or just one individual tab that is dragged out of the main Chrome window?

@enricogior
I think you're correct - not reproducible (I just tried).
I jumped to a conclusion that this issue might be involved.  It was most likely something else that prevented the zone activation. I have not had any problem since.

Hi, I have the same problem with chrome and FancyZones too. Basically, when I try to snap a Chrome window into a zone, the window just does not fit into the preset zone. I read around and understood that the problem was that chrome windows have a minimum size/ resolution? I was wondering if you guys have this problem or if at all? And if so, how did you work around it?

Can't reproduce in 0.27.1 with Chrome 87.
Please reopen if it still happens for you.


FoundationEssentialsTests: skip distant{Future,Past} tests on Windows

The MSVC libc does not properly handle dates that are far out from the Unix epoch. For the purposes of allowing the test suite to pass on CI, skip these tests on Windows.

@swift-ci please test

@swift-ci please test

@swift-ci please test macOS platform


Map jumps to new center position when double-clicked

In the left-hand example (bicycle map, etc) on http://tombatossals.github.io/angular-leaflet-directive/#!/, if I double-click a point int the map, it will zoom, as expected, but it will also jump to a new location - outside the original map frame (usually north, it seems).

Can't notice this behaviour now, it must has been solved in a previous commit. Please reopen if needed. Thanks


The range of target Java versions should be specified

I've encountered some behaviors that might differ in the toolkit between Java versions 11 and 18.
Can this repository's test matrix expand to cover at least those two versions?
I think it would be necessary to test all Python and Java combinations, but if there's no way to do just an "L" of the test matrix, then maybe the matrix should specify Java {11, 18} and Python {3.7, 3.10}.

Apologies, @kchason , I'd forgotten you'd migrated this to casework.
If you're fine with this being implemented, I'll file a PR.


Download Media Files, Small File names problems

Hi Christine and all who made Zapp possible,
first if all thank you very much for this nice app! I'm using MediathekView on Linux for a while, and I'm happy that with Zapp there's a similar tool for Android available.
Zapp 1.9.1 F-DROID Version
Android 6.0 Marshmallow
Lenovo C2
When Downloading media files with file names containing / you'll get not really end-user friendly  results.
E.g. when downloading this file
http://rodl.zdf.de/dach/3sat/15/09/150930_tannbach3_online/4/150930_tannbach3_online_2328k_p35v11.mp4, Zapp does not take the original file name, but the shown title "(3/3) TANNBACH ...".
With this file name, Zapp creates a sub folder "(3" and below that folder a file "3) TANNBACH ...".
It might be an idea just to replace / in file names to prevent sub directories to be created.  Afaik / in file names are anyway not allowed in Android/Linux ext4 etc. file systems.
Not a big issue,
regards Michael

This should be fixed with version 1.10.0. Please reopen if the problem persists.


Not able to to get sound while recording from front camera

Hi,
while i am trying to record video using front camera and back camera , after that going to merge
both video then i am unable to get sound from video which i recorded from Front camera.
In case of back camera its working fine.
Thanks

Any update on this? I am having the same problem.

@IOSPUNIT

I found and fixed this with the attached patch. @IOSPUNIT @brettmwright
CameraManagerFixAudio.txt

@IOSPUNIT @brettmwright this should be working in v4.0.2.


Modify docker tag

[!WARNING]
Endor Labs detected 1 policy violations associated with this pull request.

Please review the findings that caused the policy violations.

:clipboard: Policy: PR Comments (1 finding)

:inbox_tray: Package pypi://hello-flask@fa07841f9097fcb8b6afb93c131e9dbd6051962b

:arrow_heading_down: Dependency<EMAIL_ADDRESS>
 :triangular_flag_on_post: GHSA-cx63-2mw6-8hw5: setuptools vulnerable to Command Injection via package URL
Details

Severity: High
Tags: Transitive Phantom Normal Unreachable Function Unreachable Dependency Fix Available Warning
Categories: Security Vulnerability
Summary<EMAIL_ADDRESS>has a high severity vulnerability identified by GHSA-cx63-2mw6-8hw5: setuptools vulnerable to Command Injection via package URL. No vulnerable function is known to be reachable. This vulnerability was fixed in version 70.0.0.
<EMAIL_ADDRESS>is a transitive dependency of hello-flask@fa07841f9097fcb8b6afb93c131e9dbd6051962b via external direct dependency<EMAIL_ADDRESS><EMAIL_ADDRESS>is a transitive dependency of<EMAIL_ADDRESS>Remediation: No newer versions of flask (current: 3.0.3, latest: 3.0.3) require setuptools 70.0.0 or higher. Consider other options to upgrade setuptools to 70.0.0 (current: 65.5.0, latest: 72.2.0).

This comment was automatically generated by Endor Labs.
Scanned @ 08-16-2024 11:59:15 UTC


[stable/postgresql] Add tolerations and nodeSelector

Add tolerations and nodeSelctor for postgresql.

/ok-to-test


Can't ctrl+click on paths

VSCode Version: 1.23.1
OS Version: W10

Whether it's in SCSS or JS, I cannot ctrl+click on any of my imports in any of my files! I was excited about switching to this editor, but this totally breaks usability for me. Doesn't matter if I use require or import (or @import in scss's case). "Go to definition" also doesn't work as it shows:

Seems like it does not recognize it as a path?
Steps to Reproduce:

Import any file through either JS or SCSS
Place cursor inside the path string
Press F12

Does this issue occur when all extensions are disabled?: Yes!!
PS: I can't see any error messages in the dev console.

Please provide a Javascript example as well. Share both the code (as text) and a description of your project structure

SCSS is a duplicate of #29899.

Allright, I have at least found the issue with JavaScript.
I was reworking the architecture of a very old project my employer still had lying around. It had lots of nastyness with many separate files building a global object. So I was calling require(filepath) to a JS file that performed window.customObject = { ... } but did not actually export anything. Not sure if this is an actual issue. It was a correct filepath, just something that wasn't exporting any module.
The problem with SCSS imports is still not working. It is very easily replicable:
// entry.scss (none of these imports work when hitting F12):
@import 'imported.scss';
@import 'imported';
@import './imported.scss';
@import './imported';
body {
	background-color: $myColor;
}

// imported.scss:
$myColor: #123456;

Using the following version:
Version 1.23.1
Commit d0182c3417d225529c6d5ad24b7572815d0de9ac
Date 2018-05-10T17:11:17.614Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64

Problem also exists without any extensions active.

Ok, closing this as a duplicate of #29899 then


Deploy Link error

Ha Bhai link issue hai
Link hi nhi aati
On Mon, 18 Apr 2022, 5:55 pm toufikahamed, @.***> wrote:

—
Reply to this email directly, view it on GitHub
https://github.com/noob-hackers/mrphish/issues/36, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYHTJHM3M63AVRJFTOIPZSDVFVICRANCNFSM5TVXYBMQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Content not found

Link Under Advanced Learning Material - WebGL redirects to a 404 page.
https://developer.mozilla.org/en-US/docs/Learn/Server-side/Node_server_without_framework

A pull request has been submitted and merged to remove this part of the sidebar (the "beginner's WebGL" page was removed for a number of reasons); the pages just haven't been regenerated yet. If you find other pages still containing this link, regenerate them with Shift + Refresh.


"Details: 'errors' is an invalid keyword argument for this function" UNABLE TO RESOLVE THIS ISSUE PLEASE HELP

Checklist for submitting an issue to KickThemOut:

[yes] I have carefully read the README file and haven't managed to resolve my issue.
[yes] I have searched the issues of this repo and believe that this is not a duplicate.
[yes] I am running the latest version of KickThemOut.

OS name & version:
Python version:
*Scapy version
Nmap version:
Link of Gist:

Description: so originally, after following all steps in the read me and running "python kickthemout.py" i had an error saying "no modules named nmap" now i solved that just now by running "sudo pip -r requirements.txt" or something along those lines. now after that im getting this error:

"    ERROR: Requirements have not been satisfied properly. Please look at the README file for configuration instructions.
If you still cannot resolve this error, please submit an issue here:
https://github.com/k4m4/kickthemout/issues
Details: 'errors' is an invalid keyword argument for this function    "
now im completely confused. has anyone resolved this issue already? any help?

Hi there. KickThemOut has recently migrated to Python 3. Please refer to the readme file for the new installation process. If you are still experiencing this same error, please re-open this issue. Thanks!

orsubuu cuucu


[fix] handle binary data when prerendering

fixes https://github.com/sveltejs/kit/issues/5088
body was always converted using response.text() which was always decoded with UTF-8 which then is breaking buffers
I understand that this only solved problem with images, this is just to illustrate the issue, and maybe someone can come up with better solution
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

thank you!
as mentioned inline, I have some concerns about using Buffer.from here. i also think we need some tests before we can merge this

From myself, I can only say that your fix works fine on the project I am working on. It was a mix of
null
image/svg+xml
text/html
application/xml
text/plain
image/jpeg
text/html

@Rich-Harris I wonder if you can assist me with writing the test. I am not really familiar with repo structure, I've started writing route for the image kit/packages/kit/test/prerendering/basics/src/
to be prerendered and saved. But not sure what am I missing as it's not being saved in build folder even with crawl enabled.
The idea was to test Buffers with output file and input file, although I am not sure that's what you want to test in here since you said you have doubts with Buffer.from.

Do you have an  somewhere in the test app?

Do you have an  somewhere in the test app?

Yes that was it, I've had wrong path to image. I've pushed tests, not sure if it's sufficient but it's testing the problem I was facing.


Add file widget as secondary type for the image field inference

Is your feature request related to a problem? Please describe.
I have a thumbnail field that can be an image, webm, or mp4 file.  Therefore, it is necessary for me to use the file widget with the name and label "thumbnail".  The grid view in Netlify CMS uses field inferences to display a preview image for each item in a collection.  However, the field inferences code only looks for values from the image widget, not similarly named file widgets.
Relevant code is here:
https://github.com/netlify/netlify-cms/blob/460d1e6835af122f86278b4b2f9c2e3b7bc91488/packages/netlify-cms-core/src/constants/fieldInference.tsx
Describe the solution you'd like
Perhaps the file widget can be added to 'secondaryTypes' for the image field inference.  If the file widget value is a valid image path then the image should be displayed in the grid view for collections.

Hey can I work on this issue? @erezrokah  and @corbinchild

@bhanudatsinhjhala certainly, please submit a pull request


mygui: 3.4.2 -> 3.4.3

Description of changes
Updates mygui to version 3.4.3 (latest) and adds an option to also enable tools building which were previously disabled due to a bug .
Also updated the buildInputs with proper dependencied, removed packages not needed libuuid, ois, libX11 and added needed dependencied SDL2, SDL2_image, zlib

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Note that for OpenMW to build after this upgrade, you have to set -DMYGUI_DONT_USE_OBSOLETE=ON for MyGUI.

Note that for OpenMW to build after this upgrade, you have to set -DMYGUI_DONT_USE_OBSOLETE=ON for MyGUI.

Still doesn't work. I get the same error as here: https://gitlab.com/OpenMW/openmw/-/issues/7671

@JohnAZoidberg Weird, I got it to compile with this package definition: https://codeberg.org/PopeRigby/nixos/src/commit/dc6c2a9cc7efa28f6af096a3e70956d03de4c174/packages/openmw-nightly/package.nix#L45
It doesn't actually launch though, because it complains about the OpenSceneGraph DAE plugin being missing.

Ah right, but this probably still uses the old version of mygui

@JohnAZoidberg I actually am using the new version. mygui' uses inputs.mygui.legacyPackages.x86_64-linux.mygui which is defined in my flake: https://codeberg.org/PopeRigby/nixos/src/commit/dc6c2a9cc7efa28f6af096a3e70956d03de4c174/flake.nix#L40

@JohnAZoidberg I actually am using the new version. mygui' uses inputs.mygui.legacyPackages.x86_64-linux.mygui which is defined in my flake: https://codeberg.org/PopeRigby/nixos/src/commit/dc6c2a9cc7efa28f6af096a3e70956d03de4c174/flake.nix#L40

you are using openmw nightly here so thats why it works for you
so i guess to get this pr merged we need to wait for openmw  to update to 0.49 which uses new mygui version

Note that for OpenMW to build after this upgrade, you have to set -DMYGUI_DONT_USE_OBSOLETE=ON for MyGUI.

Do you know if this breaks any other packages?

Note that for OpenMW to build after this upgrade, you have to set -DMYGUI_DONT_USE_OBSOLETE=ON for MyGUI.

Do you know if this breaks any other packages?

No clue. The only thing I tried was OpenMW.


Use of computed property instead of watch method

I think, use of computed property is more expressive, and if you're going to commit this pull request, please, don't forget to change the article part bellow the code and the codepen version of the code.

I think we'll leave it this way, it's not incorrect to use lifecycle and a watcher for this. I might think differently about it if the PR was more complete. Pinging @cfjedimaster to see if he would like to update it, and the subsequent demos. I'm open to reconsidering, but I'll close it for now.

I'm sorry for the delay - but I don't think it's worth the change. (To be clear, not a bad change it just doesn't seem like it's critical enough?)


chore(main): release 0.58.5

:robot: I have created a release beep boop
0.58.5 (2023-08-08)
Bug Fixes

pipelines: Use the new command 'cloudrun' in k8s & pass config as expected (e660199)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/BLSQ/openhexa-app/releases/tag/0.58.5 :sunflower:


Socket error: unexpected server response (200)

Hi, I am getting this error in terminal from my code. I also tried it with mute.js and am getting the same error. My node version is v0.12.15. I understand I'm not doing something correctly.
user@dev:~/test$ node mute.js
Error: Socket error: unexpected server response (200)
at ClientRequest.response (/home/user/testcode/node_modules/kodi-ws/node_modules/ws/lib/WebSocket.js:674:15)
at ClientRequest.g (events.js:199:16)
at ClientRequest.emit (events.js:107:17)
at HTTPParser.parserOnIncomingClient as onIncoming
at HTTPParser.parserOnHeadersComplete (_http_common.js:111:23)
at Socket.socketOnData (_http_client.js:317:20)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at Socket.Readable.push (_stream_readable.js:126:10)
at TCP.onread (net.js:540:20)

Hmm, are you sure your kodi installation is running on the default port?
I cannot reproduce the error on my end.
The error does suggest however, that your kodi installation does not respond correctly. Do you have the websocket control enabled in your kodi installation?

I'm getting the same exact error as williewh above. My node version is v6.3.1. I am running Kodi v16.1 “Jarvis”. Is it compatible with that version? In addition, I went to http://<IP_ADDRESS>:9090 in my browser and am able to mute/unmute from the web browser.
When I follow my kodi debug log, I don't see any external RPC requests coming through. I also attached two screenshots that show my webserver settings

Hi @tszumowski,
first off, thanks for the screenshots.
Kodi uses two ports, one for the webinterface (by default 8080) and one for the socket connections (by default 9090).
The port for the webinterface is configurable in the kodi settings while the socket is only configurable through the advanced settings file.
I guess because you set your webinterface to port 9090 the socket server is not started.
Try to set the webserver port in your kodi settings to anything but 9090 but keep passing 9090 to this module.
I will put a note about this in the Readme because it definitely is not well documented.

@PaulAvery - Spot on! I changed the webinterface back to 8080 and didn't touch anything with the module, as you recommended. I didn't need to put anything into advancedsettings.xml either. It worked immediately. So it looks as if the webinterface's port takes priority in port settings over the socket server. Thank you!

That is great to hear :)


Add docs for fine-grained permissions from keycloak

Reference Issues or PRs
Relevant implementation

https://github.com/nebari-dev/nebari/pull/2471
https://github.com/nebari-dev/nebari/pull/2531

What does this implement/fix?
Put a x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):

Testing

[x] Did you test the pull request locally?
[ ] Did you add new tests?

Documentation

Access-centered content checklist
Text styling

[x] The content is written with plain language (where relevant).
[x] If there are headers, they use the proper header tags (with only one level-one header: H1 or # in markdown).
[x] All links describe where they link to (for example, check the Nebari website).
[x] This content adheres to the Nebari style guides.

Non-text content

[ ] All content is represented as text (for example, images need alt text, and videos need captions or descriptive transcripts).
[ ] If there are emojis, there are not more than three in a row.
[ ] Don't use flashing GIFs or videos.
[ ] If the content were to be read as plain text, it still makes sense, and no information is missing.

Any other comments?

I agree about the images being hard to see.  I find that if I make my browser window half the width of the monitor it helps make the screenshot less wide and easier to see.

@kcpevey @aktech I changed the images so that they show up better on each platform now, I tested both on my Linux an Mac, and it looks good. Looking forward for your comments as well.


Generate schematics for newer versions of KiCad

The current version of SKiDL (1.2.0) only generates schematic files for KiCad 5. Please add support for versions 6 & 7.

Hi,
Any update on this as I am using kicad 7 and I hope to use skidl as well. Thanks

I'm working on it.

waiting for this new feature.

@devbisme any chance to let us know when the new schematic generation will be ready? Even a half baked version will be very very helpful.

I had put some work in on this back in March and made this pr: https://github.com/devbisme/skidl/pull/182 but I was looking for some feedback. I had gotten the generate_svg functionality to work but I had questions about generating schematics.

Hey,
I tried to use your commit, but had issues. Is your code updated?
I have a code that works for generating svg. Do you think we can merge those and make it a working PR?

@jemathews0 PR for generating SVG was submitted while I was making a bunch of changes to SKiDL over an extended period of time, which made it difficult for me to integrate his PR. I've been working on doing that and refactoring the src/tools code to support KiCad versions 5, 6, 7, 8, ... I've just released the most current code for that into the development branch. I'd be happy to cooperate in getting SVG generation working for any of the 6, 7, or 8 versions of KiCad. (It should be easy to port to the other versions.) I think my port of @jemathews0 stuff is close, but maybe you have something better.

@devbisme I will get working on that.