Recording rules do not work anymore

What did you do?
We have rules like these:
        - record: kube_pod_container_resource_requests_memory_bytes_recommendation_critical
          expr: round((2 * avg(quantile_over_time(.99,container_memory_working_set_bytes{container!="POD",container!=""}[3d])) by (container,pod,namespace)))
        - record: kube_pod_container_resource_requests_memory_bytes_recommendation_prod
          expr: round((1.5 * avg(quantile_over_time(.99,container_memory_working_set_bytes{container!="POD",container!=""}[3d])) by (container,pod,namespace)))
        - record: kube_pod_container_resource_requests_memory_bytes_recommendation_dev
          expr: round((1 * avg(quantile_over_time(.95,container_memory_working_set_bytes{container!="POD",container!=""}[3d])) by (container,pod,namespace)))
        - record: kube_pod_container_resource_limits_memory_bytes_recommendation_critical
          expr: 2 * kube_pod_container_resource_requests_memory_bytes_recommendation_critical
        - record: kube_pod_container_resource_limits_memory_bytes_recommendation_prod
          expr: 2 * kube_pod_container_resource_requests_memory_bytes_recommendation_prod
        - record: kube_pod_container_resource_limits_memory_bytes_recommendation_dev
          expr: 1.5 * kube_pod_container_resource_requests_memory_bytes_recommendation_dev
        - record: container_cpu_usage_irate
          expr: avg( irate(container_cpu_usage_seconds_total{container!="POD", container!=""}[5m]) ) by (container,pod,namespace)
        - record: kube_pod_container_resource_requests_cpu_cores_recommendation_critical
          expr: 1.5 * quantile_over_time(.99,container_cpu_usage_irate[3d])
        - record: kube_pod_container_resource_requests_cpu_cores_recommendation_prod
          expr: 1.5 * quantile_over_time(.99,container_cpu_usage_irate[3d])
        - record: kube_pod_container_resource_requests_cpu_cores_recommendation_dev
          expr: 1 * quantile_over_time(.95,container_cpu_usage_irate[3d])

After some prometheus update they stopped working.
All expressions itself seem to work fine.
Prometheus is configured using prometheus operator.
What did you expect to see?
No response
What did you see instead? Under which circumstances?
There are no results for any of the recorded queries.
System information
does not matter
Prometheus version
2.39.1

Prometheus configuration file
global:
  scrape_interval: 30s
  scrape_timeout: 10s
  evaluation_interval: 30s
  external_labels:
    prometheus: monitoring/prometheus-operator-kube-p-prometheus
    prometheus_replica: prometheus-prometheus-operator-kube-p-prometheus-0
alerting:
  alert_relabel_configs:
  - separator: ;
    regex: prometheus_replica
    replacement: $1
    action: labeldrop
  alertmanagers:
  - follow_redirects: true
    enable_http2: true
    scheme: http
    path_prefix: /
    timeout: 10s
    api_version: v2
    relabel_configs:
    - source_labels: [__meta_kubernetes_service_name]
      separator: ;
      regex: central-alertmanager-endpoint-proxy
      replacement: $1
      action: keep
    - source_labels: [__meta_kubernetes_endpoint_port_name]
      separator: ;
      regex: http
      replacement: $1
      action: keep
    kubernetes_sd_configs:
    - role: endpoints
      kubeconfig_file: ""
      follow_redirects: true
      enable_http2: true
      namespaces:
        own_namespace: false
        names:
        - monitoring
rule_files:
- /etc/prometheus/rules/prometheus-prometheus-operator-kube-p-prometheus-rulefiles-0/*.yaml

Alertmanager version
na

Alertmanager configuration file
na

Logs
na

Can tiy make sure that the rules are still being loaded by checking the Prometheus UI. If the rules are being loaded, then it's possible that the expressions themselves may need to be updated to work with the new version of your stack. Maybe some metrics have been removed by 3rd party software upgrades? you could also check that your targets are up.
You can try running the every of the expressions in PromQL and check if the results are as expected.


Task Level( Category and Level tags) can be added to each task

closes #316
Current Status

What is the Change?
Task category and Task level tags can be viewed and updated on any particular task
Current Task Categories that can be added to a task with this change: Frontend, backend and system design
Current Task level that can be added: 1 - 5

On edit mode
Edit mode is how a super user can update the task category and task level on any particular task. A Task Level is displayed in edit mode, which has the current value, when the category/ level values are empty, no category and no level is displayed as  task level value.

Feature recording
https://user-images.githubusercontent.com/33935339/193468942-97273445-b1dd-48c6-94ca-1f2ebbd38170.mp4

Can you please add what these levels signify?

#316
Current Status

What is the Change?
Task category and Task level tags can be viewed and updated on any particular task

On edit mode
Edit mode is how a super user can update the task category and task level on any particular task. A Task Level is displayed in edit mode, which has the current value, when the category/ level values are empty, no category and no level is displayed as task level value.

Feature recording
Tasks._.Status.Real.Dev.Squad.-.2.October.2022.mp4

@Muralidhar22 I think level should not exist if task is not existing

One comment and also see if you can style the option box just a little bit like padding or margin.

okay

@Muralidhar22 Please link the issue ticket

I am getting the above error while trying to update the level locally

Nit: While trying to change the status or level of the task, when I change the level or category two times in a row, it makes two requests, it can be improved, when one request is made and someone tries to make another request then it should show them that a request is already in progress, this can be done in another PR

The style for this text can be changed, it looks like a link

This is drafted because of the changes in the requirements, will be opened once @DashDeipayan is done with generic tags task


Docker approach fails with: Service org.fedoraproject.Anaconda.Modules.Storage has failed to start --> Install failed: novirt_install failed

Hi,
I'm trying to generate the docker files with the docker approuch, but it fails.
Did I do something frong or miss/forget I something?
Thanks
qupfer@local ~/git/alma-docker-image (git)-[master] % sudo docker run --rm --privileged -v "$PWD:/build:z" \
    -e KICKSTART_FILE=kickstarts/almalinux-8-default.ks \
    -e IMAGE_NAME=almalinux-8-docker-default.x86_64.tar.gz \
    -e OUTPUT_DIR=default \
    -e BUILD_TYPE=default \
    almalinux/ks2rootfs
Build output files will be in './result_x86_64' folder ...
Output directory ./result_x86_64 created successfully

ks2rootfs - Script input summary:

FLAGS
-----
FLAG_OUTOUT_PWD : false
FLAG_WRITE_META : false
FLAG_RETAIN_LOG : false

VARIABLES
---------
BUILD_WORK_DIR  : ./
OUTPUT_DIR      : ./result_x86_64
BUILD_LOGDIR    : ./result_x86_64/logs
INPUT_KICKSTART : ./kickstarts/almalinux-8-default.ks
OUTPUT_ROOTFS   : ./result_x86_64/almalinux-8-docker-default.x86_64.tar.gz
BUILD_COMPTYPE  : xz
BUILD_TYPE      : default
2022-04-25 13:58:39,442: livemedia-creator v28.14.58-1
2022-04-25 13:58:39,442: selinux is Disabled
2022-04-25 13:58:39,495: disk_img = /var/tmp/almalinux-8-docker-default.x86_64.tar.gz
2022-04-25 13:58:39,495: Using disk size of 2MiB
2022-04-25 13:58:39,496: Running anaconda.
2022-04-25 13:58:39,839: Starting installer, one moment...
2022-04-25 13:58:39,839: terminal size detection failed, using default width
2022-04-25 13:58:39,839: 13:58:39 Deprecated boot argument 'loglevel' must be used with the 'inst.' prefix. Please use 'inst.loglevel' instead.
2022-04-25 13:58:39,839: 13:58:39 Anaconda boot arguments without 'inst.' prefix have been deprecated and will be removed in a future major release.
2022-04-25 14:08:41,551: anaconda <IP_ADDRESS>-1.el8.alma.2 for Linux 8 (pre-release) started.
2022-04-25 14:08:41,551: 14:08:41 Service org.fedoraproject.Anaconda.Modules.Storage has failed to start: Failed to activate service 'org.fedoraproject.Anaconda.Modules.Storage': timed out (service_start_timeout=600000ms)
2022-04-25 14:08:51,631: Running anaconda failed: process '['anaconda', '--kickstart', '/build/kickstarts/almalinux-8-default.ks', '--cmdline', '--loglevel', 'debug', '--product', 'Kickstart to RootFS', '--dirinstall', '--remotelog', '<IP_ADDRESS>:33163']' exited with status 1
2022-04-25 14:08:51,638: Install failed: novirt_install failed
2022-04-25 14:08:51,638: ERROR: Image creation failed: novirt_install failed
2022-04-25 14:08:51,638: Image creation failed: novirt_install failed

Edit:
my docker version:
Client:
 Version:           20.10.14
 API version:       1.41
 Go version:        go1.18
 Git commit:        a224086349
 Built:             Thu Mar 24 08:56:17 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.14
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18
  Git commit:       87a90dc786
  Built:            Thu Mar 24 08:56:03 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.6.2
  GitCommit:        de8046a5501db9e0e478e1c10cbcfb21af4c6b2d.m
 runc:
  Version:          1.1.1
  GitCommit:
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Okay,
the issue seems to be, that the default arch-kernel (running on my docker host) is using zstd compressed kernel modules, which can't find/load by the container --> ext4 module can't be loaded --> storage fails
Solution could be to build own kernel without zstd compression...


Improve CSS support in server components

Description
Closes #953
Closes #943 (if https://github.com/seek-oss/vanilla-extract/pull/751 is merged)
In #932 and other PRs we added support to import CSS Modules in server components. That approach works fine but requires a lot of code transformations and only works for default exports (server components in named exports do not include styles).
This PR adds a new implementation that doesn't need to transform code. Instead, it collects emitted style files from Vite's module graph (in dev) and Rollup output info (in prod) and extracts them in a single CSS file. Considerations:
Pros:

CSS Modules work like before, but it also applies styles to named exports, not only default exports.
Pure CSS is also supported (import './styles.css'), and the styles will be inlined in the DOM.
Any CSS-in-JS at build time that emits CSS files can now be supported (e.g. we just need to change a line in vanilla-extract plugin to make it work).
RSC responses are now smaller because they don't include inlined styles anymore.
Reduces style duplication when using the same modules in multiple components.

Cons:

All the styles imported in the app are extracted in a single CSS asset, which means there's no split per route.

Additional context
This new feature is added behind an experimental.css flag so that we don't break existing project that use CSS Modules. Once we make sure some users start using this without issues, we can make this the default behavior (APIs are the same so it shouldn't be a breaking change).

Before submitting the PR, please make sure you do the following:

[x] Read the Contributing Guidelines
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123)
[x] Update docs in this repository according to your change
[x] Run yarn changeset add if this PR cause a version bump based on Keep a Changelog and adheres to Semantic Versioning

Dumb question, but how would one turn on this flag? What's the copypasta?

Todos:

Fix e2e on Windows
Check HMR issues
Optional: extract generated CSS in a file instead of inlining it

Alright I think this is finished. Changes since the last review:

Fixed HMR.
Support Sass/Stylus/Less.
Ensured styles are not duplicated in prod.
Extract styles in a separate CSS file instead of inlining them in the DOM.

@rennyG could you please check the updated docs?

@diemonster It seems to be quite stable and there are other devs using this in production.
Can you check if this is the problem you're having with Tailwind? https://github.com/Shopify/hydrogen/issues/2007

@frandiox yes, that was the issue. Note to anyone else that stumbles on this: you will need to load any additional CSS files in App.server.tsx as well, particularly custom fonts if you were loading them implicitly


Add non-happy-flow K6 tests for maskinportenschema

Change the generatePolicyMatch function:

[x] Rename it to something more fitting
[x] in stead of having a custom properties for toPartyId and orgnoOrPartyId (which again needs to be intepreted by code)
couldn't this just have the input values: toAttributeId, toAttributeValue.
[x] Replace the useFrom parameter with fromAttributeId and fromAttributeValue

New tests:

[x] Revoke received schema using partyid instead of orgno
[x] Revoke offered schema using partyid instead of orgno
[x] Offer schema to a completely unrelated org (previously only worked if the orgs had been given roles)

blocked by #400


Send kernel_info_reply from shell server

This PR ensures that kernel_info_reply messages are sent as early as possible by sending them from the shell server directly instead of waiting for the engine constructor to finish. See microsoft/jupyter-core#69 for details.

/azp run

/azp run

/azp run

/azp run


Python remove Mypy work around from the docs

With the merge of https://github.com/open-telemetry/opentelemetry-python/pull/3143 this work around is no longer required and can be removed from the docs.
This should probably not be merged until that pr is in a release but posting here for cross reference

Thanks!
@open-telemetry/python-maintainers, what's a good way to keep track of a release, assuming that the upstream work gets approved and merged?

It usually happens during the second week of every month. It is due the next week. I see the PR already has one approval so we may get this in for the next release.

The relevant change landed in v1.16.0/0.37b so I think this should be safe to land


implement game leaderboard functions

script: play mailbox name, number, score for top 5 players
MVP is: recite top 5 players ordered by score and then by mailbox ID
line played is NAME at MAILBOX with SCORE achievements
script: play line according to user's rank
MVP is: if user is 1st, 2nd, or 3rd place, "tied for PLACE place with SCORE achievements"
additional feature: "tied for last place with SCORE achievements"
additional feature: "you have not achieved anything"
in dialplan, have leaderboard context that plays leaderboard
in dialplan, play rank line after auth? when playing game list?

see challenge.py for how score is found
score is just number of unique achievements for username


OpenContrail playbook

This pull request adds support to provision OpenContrail via ansible. The support has been tested with Fedora 22.
The user is expected to define the following variables in group_vars/all.yml:
networking: opencontrail

opencontrail_public_subnet: <External subnet for LoadBalancer services>
opencontrail_private_subnet: <Internal subnet with connectivity to the kubelets>
opencontrail_gateway: <optional | gateway address on private_subnet>
opencontrail_interface: eth1

The provisioning assumes that the system has two interfaces: a management interface (e.g. on board 1G interface) and 1 data interface (e.g. 2x10G bond0 interface).
To configure the software gateway that provides connectivity between the external network and the private virtual networks a new type of host "gateway" is defined. Example inventory file:
[masters]
roque-kube-master

[etcd]
roque-kube-master

[nodes]
roque-node3 ipaddr=<IP_ADDRESS>/24
roque-node4 ipaddr=<IP_ADDRESS>/24

[gateways]
roque-gateway ipaddr=<IP_ADDRESS>/24

Details

OpenContrail uses kubelet to execute its userspace components. This implies running kubelet on the master, similarly to the approach taken by salt provisioning scripts which use kubelet to run the kubernetes api-server, etc.
The OpenContrail kernel module is compiled on-demand for the target.
OpenContrail control plane components are distributed as containers (via docker hub).

@rchopra @detiber

@eparis only thing that stands out to me after a quick glance are the 'restart daemon' handlers that just call bin/true

@jeffbean Latest update moves the kernel module compile to master; removes dependencies from github.com/Juniper/contrail-kubernetes repository and uses "docker" consistently.

@detiber was your quick glance an official lgtm?

couple of comments. Obviously not all need 'changes' but I want to understand.

@eparis The most recent diff collapses the roles into 2 (install before kubelet is up and provision after the contrail API is running). I also removed a couple of issues that you have pointed out in your previous comment.

@detiber @eparis ping! any feedback on this review ?


Dubbo service demo, provider endpoint information from serviceentry

#1116

this branch is deprecated, waiting for the author to open a new PR


Allow browsers to specify fd preopens

A continuation of #59.
Fd preopens are specific to @bjorn3/browser_wasi_shim. We expose an option to specify them in src/interfaces.ts, but the Fd type is specified as any[] because we can't directly reference that package from Deno/Node TS builds.
(This is a v2.0.0 release candidate feature.)

I've got a fix for the test failure in #65; a new version of Deno introduced a regression in the build (tracked as https://github.com/denoland/deno/issues/23721.)

@kevinbarabash If you have a moment, could you check this PR out and see if it meets your needs?

@kevinbarabash, if you're unable to verify, then we'll likely merge this if it satisfy's @chrisdickinson's expectations. It's blocking our release though, so we'd like to know if you're interested in confirming. No problem if not!
Let's give this a couple more days, and then proceed as we'd like.

I'm going to close this for now – I think we need to revisit how we support WASI in the JS sdk (esp. since Deno dropped support and Bun only has partial support)


Applying table patch for issue #2

Applying table patch from:  https://code.google.com/p/iaml/issues/attachmentText?id=284&aid=2840000000&name=html2text.php.patch
closes #2

Can you add some tests to go along with the patch? That's the only reason I haven't merged it in yet.

Ok, done.

Excellent work, thank you!


Reduced error to warning in dfflibmap

Reduced error to warning in dfflibmap so cells with next_state expressions are ignored, instead of yosys bailing.
Next_state expressions are used in scanable/DFT flip flops, which are present in most ASIC tech libs.
Generating an error & exiting instead of warning and ignoring the cell makes Yosys unusable on all but the most basic techlibs.

PIBKAC.


LSP server not active for FileSystemProvider with a different scheme

Issue Type: Bug
Thanks for making VScode!
We are developing an LSP server for use in VScode. The rascal-mpl server works fine for normal workspace files (with the file:/// URI scheme) but for other schemes that we registered a FileSystemProvider for, the editor starts, the file type is correctly recognized (by extension), but the LSP server does not receive any messages from the VScode LSP client.
To test if this is a generic issue I switched the editor for an open Rascal file to other language servers such as TypeScript and Java. When I do this, these LSP servers are connected and they reply when asked for "definition" and "symbols" information. So it seems that the issue is with our own LSP server.
Since we do not get any debug prints from our server, just silence, and we are out of ideas, we now reach out here to get some help.

What is a good way to debug this situation? Where to put breakpoints in the client?
Does anybody have a hunch why the TypeScript server and the Java servers do work for "foreign" URI schemes, while ours does not?  Is there a configuration option we forgot?

Any help with this or any suggestions to help diagnose the issue would be highly appreciated. Thanks.
VS Code version: Code 1.57.1 (507ce72a4466fbb27b715c3722558bb15afa9f48, 2021-06-17T13:28:32.912Z)
OS version: Darwin x64 20.5.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 3, 3

Memory (System)
16.00GB (0.27GB free)

Process Argv
--crash-reporter-id f7d76283-2025-474c-80b9-149c3f12e26c

Screen Reader
no

VM
0%

Extensions (28)

Extension
Author (truncated)
Version

vscode-eclipse-keybindings
alp
0.14.0

vscode-eslint
dba
2.1.23

gitlens
eam
11.5.1

tsl-problem-matcher
eam
0.4.0

EditorConfig
Edi
0.16.4

graphviz-preview
EFa
1.5.0

latex-workshop
Jam
8.19.2

vscode-docker
ms-
1.14.0

extension-manifest-editor
ms-
0.1.5

python
ms-
2021.6.944021595

vscode-pylance
ms-
2021.6.3

jupyter
ms-
2021.6.999662501

vsliveshare
ms-
1.0.4498

vsliveshare-audio
ms-
0.1.91

vsliveshare-pack
ms-
0.4.0

gradle-language
nac
0.2.3

lsp-inspector-webview
oct
0.0.2

fabric8-analytics
red
0.3.3

java
red
0.80.0

vscode-commons
red
0.0.6

vscode-gradle
ric
3.6.1

rascalmpl
use
0.0.1-SNAPSHOT

vscodeintellicode
Vis
1.2.14

vscode-java-debug
vsc
0.34.0

vscode-java-dependency
vsc
0.18.5

vscode-java-pack
vsc
0.17.0

vscode-java-test
vsc
0.30.1

vscode-maven
vsc
0.31.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
vspre833:30321513
vshan820:30294714
vscus158:30321503
pythonvsuse255cf:30323309
vscorehov:30309549
vscod805cf:30301675
vscextlangct:30333562
binariesv615:30325510
aatestflightcf:30331712
bridge0702cf:30333156

What I did not see:
const clientOptions: LanguageClientOptions = {
        documentSelector: [{ scheme: 'file', language: language }],
    };

this simple change fixes everything
const clientOptions: LanguageClientOptions = {
        documentSelector: [{ scheme: 'file', language: language }],
    };

I sure hope I did not waste anyone's time with this one.


New DCPSE Implementation with Changelog and Examples

Improvements to code structure and performance.
Overall improves performance of DCPSE up to 2-3x. Testing is around 10x faster on numerics.
Please see related PRs:
PR in the submodule data for single-core data structures
PR in the submodule pdata for multi-core parallel data structures
PR in the submodule numerics for cleaning up the code and speedup

Changes incorporated into develop


Transparent background of generated icon

My source icon has a transparent background. The generated icons does not.
Is there any possibility to get the background transparent?

Hi,
I just tried throwing null into the background section and that seems to work for me
eg mediagen-config.json
{
    "icon": {
        "filename": "logo.png",
        "background": null
    },
    "splash": {
        "filename": "splash.jpg",
        "background": "ee593b"
    },
    "customImages": [

    ],
    "screenshots": [

    ]
}

Also, alpha works for me:
"background": "000000ff"


Sema: Fix applying solution for OptionalTryExpr

In Swift 5 mode, CSGen generates a conversion constraint from
the type of OptionalTryExpr's subexpression, call it T, and
Optional<$tv> for a new type variable $tv.
When applying the solution, we would coerce the sub-expression
to T? if T was not optional, or T otherwise. This was wrong
because there's no reason that $tv is actually equal to T.
Instead, we must coerce the sub-expression to Optional<$tv>,
which is the type of the overall OptionalTryExpr.
Fixes rdar://problem/46742002.

@xedin Please take a look

@swift-ci Please smoke test

@xedin The basic invariant that ExprRewriter must maintain, and the one that @bjhomer's change violated, is that the simplified type of the old expression must be equal to the simplified type of the new expression. We should check that this is the case; right now it's not enforced consistently. What you observed is the ASTVerifier catching this mismatch in one narrow case, but in a way that did not obviously point at the actual source of the problem.

@swift-ci Please test source compatibility

Interestingly enough ASTVerifier does check that type of OptionalTryExpr is equal to its sub-expression, and assert haven't been triggered because visitOptionalTryExpr was coercing types in reverse from sub-expression to itself - which propagated P up to P? although type variable associated with OptionalTryExpr and parent ParenExpr was set to AnyObject?, that threw me off completely.


modify apache vhost conf [Question]

I wanted to ask how i can modify the vhost configuration since i need to make some adjustments

This is a general question regarding the docker structure and not specific to the TYPO3 Boilerplate. Please use https://github.com/webdevops/Dockerfile to ask about things like that.


High gpu-process usage in 1.26.0-insider

VSCode Insiders uses a significant amount of RAM for gpu-process on a fresh install. The screenshot shows 336 but I've seen it as high as 450 on a fresh start. If continuing development, will freeze after a short amount of time with the Windows 10 Reopen/Wait for process/Close prompt. Waiting long enough will unfreeze but performance is still poor.

This appears to be related to #36913 but wanted to highlight here that the latest version of insider (1.26.0-insider) does not appear to have fixed this issue for a fresh copy of Windows 10 Pro. I was able to avoid the issue in 1.25.0 by passing the --disable-gpu flag.

VSCode Version: 1.26.0-insider
OS Version: Windows 10 Pro

CPUs
Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz (8 x 3096)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: unavailable_off

Memory (System)
15.85GB (6.95GB free)

Process Argv
C:\Program Files\Microsoft VS Code Insiders\Code - Insiders.exe

Screen Reader
no

VM
0%

Steps to Reproduce:

Launch VSCode Insiders
View Process Explorer

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

Duplicate https://github.com/Microsoft/vscode/issues/53274


Add docs for Auth0 dependency

At the request of DPGA, adding docs regarding our Auth0 dependency.

Self-merge for expediency as DPGA chased me for this - but feel free to propose changes and/or review post-merge.


Update readme

added missed angle bracket on generic type

Closing, as the sample code is correct in its current state.


Cryptanalysis of Data after A Ransomware Attack

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Proposed title of article
Cryptanalysis of Data after A Ransomware Attack
Introduction paragraph (2-3 paragraphs):
This article seeks to explore the concept of cryptanalysis in light with data encrypted by a malicious actor seeking ransom to decrypt the data. The process of cryptanalysis will be clearly outlined, higlighting the various ethical ways to do the same putting into consideration the possible cryptographic algorithm that may have been employed in encrypting the data.
The possible decryption algorithms will also be identified to be able to help the reader know their possible go to option when they fall prey to a ransomware attack.
Key takeaways:
The learner should master the following by the end of studying this article:

What is cryptanalysis.
Tools used in Cryptanalysis.
Methods of encryption.
Methods of decryption.

References:
https://www.section.io/engineering-education/cryptography-in-computer-networking/
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.  @

@RuthAMare
Sounds like a helpful topic - lets please be sure it add value beyond what is in the official docs and what is covered in other blog sites.
Please be sure to double check that it does not overlap with any existing EngEd articles or incoming topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved


Adapt the timezone to user's timezone

=> "Mon, 20 May 2019 01:46:50 PDT"
=> "Mon, 20 May 2019 10:25:19 +0000"

Doesn't work with mobile


Variance of power spectrum

Greetings!
I want to do parameter inference using chi2 loss.
In the original powerbox library one can set a as an argument (get_variance) which, if True, also returns the variance estimation of the power spectrum. Since the code of py21cmFAST-tools is based on powerbox, it would be very useful if this feature would be considered as important for future updates.
Best
Kojobu

Hi @Kojobu, I added get_variance in PR #7 . Can you check that it has the functionality that you want and let me know?
Thanks.

Looking good! I'll append some test plots, thanks for implementing it!
The lightcone I used for testing:

1D power spectrum:

![var_1d_ps](https://gith

ub.com/user-atta
2D power spectrum:

chments/assets/f153d1d8-38a8-406f-917e-f38a6fef1e0b)

Hey @Kojobu, it's done, can you run your tests again? I will add tests and merge it to main afterward.
Thanks!!

I did run the tests, looking really good! I'll append the same analysis down below (binning is 10 this time for better visibility). Thank you, it's much appreciated!

I also found a small bug in the general code:
When computing the 2D power spectrum with
log_bins=False, the k_perp bins are linearly spaces but the k_parallel bins were computed as log bins.

And another small bug I found in the general code:
When setting the argument log_bins=False the kpar bins are still in log although they should be linearly spaced.

Right, that's because if you don't want the kpar in log, you should just turn off the postprocessing altogether. I'll make that clearer in the code. Thank you!!


Internal Logging API - make MessageFormatter and FormattingTuple public

Expected behavior
While trying to use netty with ZIO 2.x Logging support I found out that I can't implement properly AbstractInternalLogger  interface for integration with ZIO 2.x, relying on the optimised implementation of MessageFormatter.
Actual behavior
Should be able to add new Logging integrations.
Steps to reproduce
Minimal yet complete reproducer code (or URL to code)
Netty version
4.1.74
JVM version (e.g. java -version)
Not dependent on java version
OS version (e.g. uname -a)
Not dependent on OS version.

@devsprint I wonder if it would be better to write a SLF4J  implement for it and then just use the provided SLF4J implementation for netty ?

To achieve my current work, it is exactly what I did, but I was thinking of removing layers of indirections...


BUGFIX: make it compile with -Wall -Werror

Hey everyone,
lately I checked out your awesome lib and I wanted to play around a bit with it. As from the examples the API looked very interesting.
As I always compile with -Wall -Werror  there showed quite a view errors up like signed-compare, unused variablesor reorder  I fixed all off the issues and If you are interested you can merge them back.
it might have not fixed it correctly, as I did it quickly.
So please have a closer look at it before merging it.
I'm also open for discussions, if you see a big problem with this in general
cheers
dan
PS: in addition I'll fix that utf8 issue in the copyright comment

Hey guys,
also clang found some issues to, like structs vs. classes.  so they are fixed too!
I hope you can use my changes, as they really just make it more robust and usable when used in software that uses -Wall and -Werror as this is important when optimisation is enabled as well.
Your liibrary is very cool, I just missed that it is not multi platform (yet) but I would need that from such a library. And I don't have time to add that now.
So keep up the good work, I'll be interested where this lib is heading :+1:
so long dan

Hey dan,
Thanks a lot for your contributions, fixing warnings is always a good thing.
I'll take a look when I have time this week-end

Thanks for your Pull-Request. I commented some changes that you made that I'm not sure to fully understand.
Other than that, rest looks good

@oktal I might be blind, But I can't see any comments. I'm happy to explain my changes in more detail, but please point out what you don't understand.
But to see what I fixed, with the changes, just try to compile with  -Wall -Werror

You're right, I didn't submit submit the final review as I did not see github changed its way of reviewing Pull Requests, damn it.
You should be able to see my comments now

@oktal please see my comments. As I told before you can use my changes or not, that up to you. But I will not put any more effort in this library, as I personaly focus on cross-plattform development, and there is your library not suitable(Linux only).
But anyway, I liked the user-api and keep up the good work!
BTW: happy new year!

Alright,
Thanks for your work. I'll definitely  take your comments into account and fixes some of the issues you reported.
Thanks for taking time to help on that Pull Request, I'll keep it open until I address it completely.
Happy new year to you too :)

This was very nice work; but the current PR is very stale and has lots of merge conflicts.  I'm going to close it (we're clearing out stale PRs).


Scanning QR on wallet while having the keyboard open does not close the keyboard, after closing keyboard the QR scan fails.

Repro steps

Go to wallet - send
Open keyboard by selecting any of the input fields
Scan QR
Close keyboard

Expected Result
Keyboard should close automatically
Scan QR should remain working
Actual Result
Keyboard does not close
Upon closing keyboard, breaks the QR scan (black screen)
System Info
Updated
January 13, 2020
Size
4.0M
Installs
500+
Current Version
1.4.2
Requires Android
5.0 and up

Fixed


Mega Split not working ...

related to #162
there a delay in playerRecombineTime = 0, like 1 second, its not real instant merge
we can't do mega split like :
https://www.youtube.com/watch?v=6mxTeuSegA8
https://www.youtube.com/watch?v=6mmhgg0FOT0
the problem was on OGARUL they solved it :
https://github.com/AJS-development/Ogar-unlimited/pull/1208
waiting for fix on MultiOgar

yes, this delay was added because without it big cell will not be able to split at all - it will be remerged just after split

Multi split will fix this, could you see the video, and try to add option for that.
The mega split make the people show there professionality,
its can be as gamemode if its cause anything on FFA.

you can remove it by remove the following two code blocks:

https://github.com/Barbosik/MultiOgar/blob/master/src/GameServer.js#L873-L877
https://github.com/Barbosik/MultiOgar/blob/master/src/GameServer.js#L903-L907

still there some collision
<IP_ADDRESS>:2016
http://agar.io/?ip=<IP_ADDRESS>:2016

@Dramex: remove also this block: https://github.com/Barbosik/MultiOgar/blob/master/src/entity/PlayerCell.js#L16-L21

near of it, but still there different than the viedo..
the cells move out the road of it, its must follow the mouse : (


Support new annotation behavior on storage network

Which issue(s) this PR fixes
Issue #1566
Why we need it

Compare to longhorn-v1.6.2, longhorn-v1.7.1 behaves a bit different about the instance-manager's annotation when storage-network is disabled.
This behavior change breaks some test cases includes:

test_0_storage_network.py::test_storage_network
TestImageWithStorageNetwork::test_delete_image::teardown
TestVMWithStorageNetwork::test_enable_storage_network_with_api_stopped_vm::teardown
TestVMWithStorageNetwork::test_enable_storage_network_with_cli_stopped_vm::teardown

Longhorn mainly controls k8s.v1.cni.cncf.io/networks but not k8s.v1.cni.cncf.io/network-status. However we still need to check the latter for address.

What this PR does

Add checking on k8s.v1.cni.cncf.io/networks annotation for storage-network enable/disable status.
Keep existed checking on k8s.v1.cni.cncf.io/network-status but only for address and name validation when enabling storage-network.
This fix is compatible with longhorn-v1.6.2 (harvester-v1.3.2).

Special notes for your reviewer
Validation

harvester-install-and-test/72

3 fails are due to single node cluster does not support VM migration.

local ipxe-example

Additional documentation or context
n/a

@albinsun please test this on v1.2 and v1.3 accordingly.

@albinsun please test this on v1.2 and v1.3 accordingly.

v1.3.2 (harvester-install-and-test/73)

v1.2.2 (harvester-install-and-test/74)


I would appreciate description

a description on the repo would be lovely to make embeds show what the repo is about.

Done!  Thanks for the suggestion.


Ros2 plugins port

I'm opening this as a placeholder for the branch (now misnamed for the most part) that Nico's changes merged into.

May I ask what is the state of this PR?

Hi @mbuijs , this port is mostly working.
Summary:

Flatland Viz is still not 100%
the simulator and plugins should all work.
Unit tests are broken since  they're currently trying to build for ros1. The travisci config needs updating to point to ros2 in this branch.

Are there plans to continue the ROS2 port, or has it been effectively become abandoned/stale?

Are there plans to continue the ROS2 port, or has it effectively become abandoned/stale?

I would like to continue the ROS2 port, as well as firm up the build system and get packages into the ROS mainline repos.
We've been using Flatland regularly on ROS1 at Avidbots (and continue to do so), but ROS2 support hasn't really become a major priority for us. As a result, this effort is more of a hobby/personal project for the time being, but if you're interested I may resume work on it soon. I wouldn't mind having ROS1 and ROS2 distributions in place for ROSCON this year (October).

Are there plans to continue the ROS2 port, or has it effectively become abandoned/stale?

I would like to continue the ROS2 port, as well as firm up the build system and get packages into the ROS mainline repos.
We've been using Flatland regularly on ROS1 at Avidbots (and continue to do so), but ROS2 support hasn't really become a major priority for us. As a result, this effort is more of a hobby/personal project for the time being, but if you're interested I may resume work on it soon. I wouldn't mind having ROS1 and ROS2 distributions in place for ROSCON this year (October).

Thank you for the positive response! We're currently considering using Flatland on robotics courses at FEUP, so we're very much interested in the development of the ROS2 port.


Support Firefox Mobile

it would be very useful for firefox mobile users. i have installed it already but it seems that it doesn't work.

I've just removed it from Android compatibility list. Will try to debug it the next week.

In case it helps, I did a quick inspection for Firefox Android case.

The DarkReader object is created in both the (empty-ish) pop-up and background page. However, at the minimal, the one in pop-up does not seem to be constructed completely (by a comparison with the ones on Firefox Desktop).
There is no error message in developer console either.

FYI, it's still listed as available for android on the mozilla add-on page.

Just published v4.0.0, it should work on Android. Static Theme is used by default, as far as Filters are slow on smartphones.


Minimal Documentation for LSST developers to run dashboard on arbitrary desired dataset

[ ] Setup Sphinx
[ ] Add install instructions
[ ] Add basic docstrings to all functions
[ ] Add simple user guide explaining how to run dashboard and load datasets
[ ] Add sections describing each capability of the interface, i.e. skyplot view, detail view, filters etc
[ ] Add section describing where and how to file bug reports
[ ] Add examples of using individual plots in notebook

Need to accommodate the rever requirements for versioning as we build docs
https://regro.github.io/rever-docs/usepatterns.html


ReferenceGenerator itself becomes a dependency of NuPkg

The NuSpec.ReferenceGenerator package's own nuspec lacks this tag:
<developmentDependency>true</developmentDependency>

As a result, installing it into a class library causes it to appear as a dependency that NuProj then adds to the .nuspec file during the build.

Good catch, I wasn't totally aware of that nuspec option but it makes sense. Any chance of a PR? Otherwise it might not be till Monday.

Done.

Fixed in 1.3.4, now on Nuget.org. Thanks!


Exception in example generation when grammar has no rules

If I delete all the rules from the grammar, and there are some examples still in the right pane, I get the following exception:

To repro, just make sure you have some examples active (e.g., use "Clear Storage" under the Application tab in the Chrome dev tools, to reset everything to the default state). Then, edit the grammar and remove all of its rules. I.e., the grammar source should be:
Arithmetic {
}

You should see the exception.

@sakekasi, can you please take a look?

@sakekasi, do you think you'll have a chance to look at this sometime soon?


Tabs get in the way of content when scrolling down

Great plugin! As title suggests, when scrolling, the tabs end up blocking view of the content. It's also possible for the tabs to catch focus of the cursor preventing the user from further scrolling. Is it possible from the plugin side to adjust the #main-container element and put a margin so that the content aligns with the tabs? This should help fix both problems and provide a more aesthetic feel.
default view:

#main-container { margin-top: 30px }

Hi @nmartin84 , I do not want to make the plugin to take too much visual space by adding global padding to the preview.
Alternatively, at the beginning I added a background to the plugin to make the controlling area more standing out, but now it's background is transparent to make this plugin easier to adapt for different themes. If you would like to have a background for it, you can specify a customized background for this plugin like this:
iframe#logseq-tabs {
    background: red;
}


[📑 Docs]: Adapt message validation guide for v3

For AsyncAPI v3, we need to adapt the message validation guide (https://www.asyncapi.com/docs/guides/message-validation) to be usable with AsyncAPI v3.
Here are the v3 structure that should be used instead:
asyncapi: 3.0.0
info:
  title: Example with Avro
  version: 0.1.0

channels:
  example:
    address: 'example'
    messages:
      avroMessage:
        payload:
          schemaFormat: 'application/vnd.apache.avro;version=1.9.0'
          schema:
            $ref: 'https://example.europe-west3.gcp.confluent.cloud/subjects/test/versions/1/schema'

Here are the main points that need to change:

Re-add the docs/guides/message-validation.md file.
Adapt the AsyncAPI document snippet
Adapt the text if needed

Make sure you base your change on the next-major-spec branch and target it in your PR 🙂 If you have any questions, don't hesitate to ask.

@alequetzalli Am new but can i join the assignee work together

solved with https://github.com/asyncapi/website/pull/2282
in next major branch, but considered to be fixed and closing - also for easier management of the scope for v3


Revamp the AEMDC Panel

Improve the AEMDC Configuration Dialog:

No configuration but lazybones configuration -> use 'aemdc -config'
Move clone button to aemdc-file line, switch clone to pull when folder exists and is a git repo
Have paths relative to project if it not more than 2 directories up
Make paths unix style (forward slash, absolute start with a forward slash)
Make sure clone / pull work fine if GIT is configured in IntelliJ
If the dialog is cancelled then make sure the dialog is looking fine.
Add help to the dialog input fields and buttons

Change the OSGi Configuration to Run Modes

Created a pre-release to test the improvements.


Pass through BC channel ID as env var in basic workflow

What/Why?
Currently, generate.cjs always defaults to channel ID 1. In our case, the Catalyst channel isn't 1 which caused the basic workflow to fail. This allows the channel to be overridden via a GH action secret.
Testing
N/A

Thank you for the quick merge!


Adds python aio helloworld examples

depends on #24281 being fixed
@lidizheng

@timhughes Please make sure linters are happy. You can run these scripts locally:

tools/distrib/yapf_code.sh
tools/distrib/pylint_code.sh


Add one more thread to DefaultConnectionPool for handling timeouts of async tasks

JAVA-4146

Removed reviewers until I fix the OOM problem. Also, @BorisDog proposed a way to potentially simplify the solution.

Re-added reviewers.
The OOM problem is going to be solved in JAVA-4178.
The approach proposed by Boris (the same we use to implement async timeout in NettyStream) does not make things simpler because with DefaultConnectionPool we have concurrent async requests queued, and we need to remove them from the queue when they time out.

one question is merging this ticket blocked by JAVA-4178?

Right, I will merge this one after merging JAVA-4178.

I'm unclear as to OOM issues caused by this change.

The size of DefaultConnectionPool was drastically increased in this PR, because we added one more thread. Not only this affects the retained Java heap size of its instances, but also increases the native heap usage for the process (because for each new Java thread a new OS thread is created). This was enough for a different problem (JAVA-4178) to start manifesting itself.


US Driving licence

Hi,
We are integrate pdf417 in our project to scan US driving license but it is not scanning though it is in pdf417 format. any lead or should we purchase license for it ?
Thanks,
Bhavin

@DoDoENT can you explain how it is you regenerated the same barcode for @lanetteam-bhavin? Was it through any sort of image manipulation (sharpening, etc?)

@rmhrisk I used this barcode generator


LG Thinq Range Hood Support

Is your feature request related to a problem? Please describe.
Is it possible to support LG Range hoods? Link below.
https://www.lg.com/us/cooking-appliances/lg-hced3015s-range-hood#
Describe the solution you'd like
It would be great if I could import my range hood to automate fan/light control
Describe alternatives you've considered
N/A
Additional context

I'd like to request the same. Thanks!

Please attach integration diagnostic

Any update here? Could someone attach diagnostics?

Here you go
smartthinq_oven_diagnostics.txt

@Jonkieber,
in attached diagnostic I just see oven and dishwasher, no Range Hood.

Strange, I have it visible in my LG app, I wonder why it wouldn't show up?
I currently have my LG Dishwasher, Front Load Washer, Dryer, Oven and Refrigerator showing up in Homeassistant.
The only thing that doesn't appear is my hood.

Hi @ollo69 ,
my hood shows under 'unsupported_devices'.
unsupported_devices.txt
Let me know if you need anything else, I'll be glad to help get this integrated (especially the lights)!

Additionally, I also have the hood showing in unsupported devices:
full diagnostics

I'm also interested in this feature request, thanks!

Time for me 😉

Time for me 😉

You got it! :)

@ALL,
sorry for this but I wait to match time to work on this and the link in the attached files are expired, so I cannot download model info to implement this.
Please attach a new diagnostic file, I will take this with priority.

config_entry-smartthinq_sensors-b1727a4bba7498b65639a1ed31f050fe.json (1).txt

config_entry-smartthinq_sensors.json.txt
Here ya go, just downloaded this a few minutes ago

Hood support is now available in last release. Honestly I have no idea if controls works, I don't have a Hood to test. Please report here your results.

Any update here?

Any update here?

Sorry for the long wait, I appreciate all your hard work on this. Since the update the integration shows the Range Hood as a device and lists a fan and light control which can be toggled on and off but unfortunately, it fails to turn on/off the Range Hood fan or light.
A sensor for the hood is also shown but it remains "OFF" regardless of the range hood status. Let me what info you would need to look into this further.
Cheers!

Does the light and fan controls follow the states of the Hood? It is only a problem related to the controls and reported states are correct?

Home Assistant shows the correct options for the entity, but they do not
control the range hood. The state also does not show the current status of
the hood.
On Thu, Nov 16, 2023, 7:52 AM ollo69 @.***> wrote:

Does the light and fan controls follow the states of the Hood? It is only
a problem related to the controls and reported states are correct?
—
Reply to this email directly, view it on GitHub
https://github.com/ollo69/ha-smartthinq-sensors/issues/394#issuecomment-1814380972,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANWNB7HWMGWHKQTZY2FPYA3YEYEAHAVCNFSM6AAAAAARXXHKRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJUGM4DAOJXGI
.
You are receiving this because you commented.Message ID:
@.***>

In my case the states are reported properly but with a slight delay (20-30
seconds).
Controlling the hood doesn't work.
If I turn on the light in home assistant, it shows ON for 20-30 seconds
before the real state of the hood updates the home assistant switch back to
the off position.
Le jeu. 16 nov. 2023, à 07 h 55, matthai5 @.***> a
écrit :

Home Assistant shows the correct options for the entity, but they do not
control the range hood. The state also does not show the current status of
the hood.
On Thu, Nov 16, 2023, 7:52 AM ollo69 @.***> wrote:

Does the light and fan controls follow the states of the Hood? It is
only
a problem related to the controls and reported states are correct?
—
Reply to this email directly, view it on GitHub
<
https://github.com/ollo69/ha-smartthinq-sensors/issues/394#issuecomment-1814380972>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ANWNB7HWMGWHKQTZY2FPYA3YEYEAHAVCNFSM6AAAAAARXXHKRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJUGM4DAOJXGI>

.
You are receiving this because you commented.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/ollo69/ha-smartthinq-sensors/issues/394#issuecomment-1814385215,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMKZODGFUXXOTLSNO3D2LXLYEYEK3AVCNFSM6AAAAAARXXHKRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJUGM4DKMRRGU
.
You are receiving this because you commented.Message ID:
@.***>

Delay is normal, this integration poll cloud every 30 seconds.
Related to the control, I just try to use the same logic used in microwave, because model info was very similar, but unfortunately this doesn't work.
I could do another try based on another project, but not sure that will solve.
The best solution should be that someone with a Hood analyze the traffic as described here and provide me right command to control the device. There are someone here that can do this?

Please check if with last release vent and lamp controls works. Thanks 👍

I just installed the latest version. With the new version, trying to
control the hood causes errors in the log.
The below log entry was added when I attempted to control the light:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:230
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 19:49:57 (2 occurrences)
Last logged: 19:49:58
[547146780608] 9006 - {'data': ''}
Traceback (most recent call last):
File
"/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py",
line 230, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2035, in
async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2072, in
_execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py",
line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 876,
in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948,
in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/light/init.py",
line 580, in async_handle_light_on_service
await light.async_turn_on(**filter_turn_on_params(light, params))
File "/config/custom_components/smartthinq_sensors/light.py", line 186,
in async_turn_on
await self.entity_description.set_effect_fn(self._api, effect)
File
"/config/custom_components/smartthinq_sensors/wideq/devices/hood.py", line
107, in set_light_mode
await self.set(CMD_SET_VENTLAMP, cmd, key=STATE_LAMPLEVEL, value=level)
File
"/config/custom_components/smartthinq_sensors/wideq/devices/hood.py", line
138, in set
await super().set(
File "/config/custom_components/smartthinq_sensors/wideq/device.py", line
550, in set
await self._set_control(full_key, ctrl_path=ctrl_path)
File "/config/custom_components/smartthinq_sensors/wideq/device.py", line
522, in _set_control
await self._client.session.device_v2_controls(
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py",
line 1193, in device_v2_controls
res = await self.post2(cmd_path, payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py",
line 1030, in post2
return await self._auth.gateway.core.lgedm2_post(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py",
line 347, in lgedm2_post
return self._manage_lge_result(out, is_api_v2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py",
line 360, in _manage_lge_result
raise exc.APIError(message, code)
custom_components.smartthinq_sensors.wideq.core_exceptions.APIError: 9006 -
{'data': ''}
Trying to turn on the fan at 100% produces a similar log entry:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:230
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 19:56:05 (1 occurrences)
Last logged: 19:56:05
[547146780608] 9006 - {'data': ''}
Traceback (most recent call last):
File
"/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py",
line 230, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2035, in
async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2072, in
_execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py",
line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 876,
in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948,
in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/fan.py", line 357, in
async_set_percentage
await self._wrapper.async_turn_on(speed=named_speed)
File "/config/custom_components/smartthinq_sensors/fan.py", line 253, in
async_turn_on
await self.async_set_speed(on_speed)
File "/config/custom_components/smartthinq_sensors/fan.py", line 234, in
async_set_speed
await self._description.set_fanspeed_fn(self._api, speed)
File
"/config/custom_components/smartthinq_sensors/wideq/devices/hood.py", line
132, in set_vent_speed
await self.set(CMD_SET_VENTLAMP, cmd, key=STATE_VENTLEVEL, value=level)
File
"/config/custom_components/smartthinq_sensors/wideq/devices/hood.py", line
138, in set
await super().set(
File "/config/custom_components/smartthinq_sensors/wideq/device.py", line
550, in set
await self._set_control(full_key, ctrl_path=ctrl_path)
File "/config/custom_components/smartthinq_sensors/wideq/device.py", line
522, in _set_control
await self._client.session.device_v2_controls(
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py",
line 1193, in device_v2_controls
res = await self.post2(cmd_path, payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py",
line 1030, in post2
return await self._auth.gateway.core.lgedm2_post(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py",
line 347, in lgedm2_post
return self._manage_lge_result(out, is_api_v2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py",
line 360, in _manage_lge_result
raise exc.APIError(message, code)
custom_components.smartthinq_sensors.wideq.core_exceptions.APIError: 9006 -
{'data': ''}
I hope this gives you something to work with.
I personally prefer failure with error messages over no error and no
results :-)
Le sam. 18 nov. 2023, à 22 h 59, ollo69 @.***> a écrit :

Please check if with last release vent and lamp controls works. Thanks 👍
—
Reply to this email directly, view it on GitHub
https://github.com/ollo69/ha-smartthinq-sensors/issues/394#issuecomment-1817737442,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMKZODCYWBFHAEJSV5OOO6LYFF735AVCNFSM6AAAAAARXXHKRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXG4ZTONBUGI
.
You are receiving this because you commented.Message ID:
@.***>

I hope this gives you something to work with.

Honestly, no.
Because the previous command do not return any errors, probably was more correct that this one (but I suppose that something was missing)
But there are no change for me to guess the right command, the only possible solution is to capture the command. I hope that someone here will be able to follow the instruction in readme mentioned above and provide me the info.

I hope someone will be able to capture the information as well.
I really would like to help with that but I don't have the necessary
hardware to follow the August '23 recipe.
Le lun. 20 nov. 2023, à 07 h 41, ollo69 @.***> a écrit :

I hope this gives you something to work with.
Honestly, no.
Because the previous command do not return any errors, probably was more
correct that this one (but I suppose that something was missing)
But there are no change for me to guess the right command, the only
possible solution is to capture the command. I hope that someone here will
be able to follow the instruction in readme mentioned above and provide me
the info.
—
Reply to this email directly, view it on GitHub
https://github.com/ollo69/ha-smartthinq-sensors/issues/394#issuecomment-1818994119,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMKZODCYUE63Q2SOZKUBJ3TYFNFZLAVCNFSM6AAAAAARXXHKRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJYHE4TIMJRHE
.
You are receiving this because you commented.Message ID:
@.***>

Any news here? If someone is available to share his LG account (via private e-mail) I could make some test in my env.

@ollo69 I am happy to share my LG account if that would help.   I too see all of the Range Hood controls but get a 'service call failed' error whenever I click on them.   Let me know best way to get that over to you and thanks again for all the help !!

@kevinbarmstrong1,
thanks for your support.
You should send to me your LG credential (login name, password and country), if you prefer you can temporary change your password.
Send me the information to<EMAIL_ADDRESS>I will keep you informed about the progress in the thread,
Just be ready that I need to turn on light and fan of your Hood to capture commands.

@kevinbarmstrong1,
I successfully captured traffic using your account and LG app.
I understood that your device use ApiV1, so I'm still not be able to fix control for Hood that use APIv2.
I will work on this on next days when I will have some available time. If is not a problem for you, do not change your password account until I do not finish implementation so that I will be able to make some tests using integration.
Thanks again for your support👍

Control for APIv1 is available in last release. I also rewrite control for APIv2 device, but I have no idea if this implementation works. Please test and report here results.

@ollo69 sorry I'm not sure what I should do to test it --- i uninstalled from HACS and then tried reinstalling but I still get the same errors.  Is there something else I should do to get the APIv2 working ?  Thanks !

Is there something else I should do to get the APIv2 working ?

@kevinbarmstrong1 ,
as I see your device is APIv1 so it should work with last release. Can you eventually share error logs?

it works !!!   I just updates your integration to the most recent version and now it controls the Hood Fan and Light.   Simply awesome @ollo69 - we really appreciate your help here !   Case closed and coffee coming your way :)

it works !!! I just updates your integration to the most recent version and now it controls the Hood Fan and Light.

Good to know and thanks for coffee🎉.
Still waiting for feed-back from some user that have APIv2 devices...

My LG HCED3015S uses APIv2--I can confirm this update does not work with v2.
I have the detailed diagnostic log, python error log, and mitmproxy flows--I'll send those direct to you.
This is the payload to set hood state with POST method:
{
    "command": "Set",
    "ctrlKey": "setCookStart",
    "dataGetList": null,
    "dataKey": null,
    "dataSetList": {
        "hoodState": {
            "contentType": 34,
            "dataLength": 5,
            "lampLevel": 2,
            "lampOnOff": "ENABLE",
            "ventLevel": 3,
            "ventOnOff": "ENABLE",
            "ventTimer": 0              // See note
        }
    },
    "dataValue": null
}

This is the partial response payload with relevant hood state for GET method
{
    "result": {

        // Other attributes

        "snapshot": {
            "hoodState": {
                "childLock": "DISABLE",
                "dummyData": 0.0,
                "error": "DISABLE",
                "hoodFotaEnable": "ENABLE",
                "hoodState": "INIT",
                "lampLevel": 0.0,
                "lampSet": "ENABLE",
                "remainTimeMinute": 0.0,     // See note
                "remainTimeSecond": 0.0,     //
                "standyMode": "DISABLE",
                "ventLevel": 3.0,
                "ventMode": "USER_MODE",
                "ventSet": "ENABLE"
            },
        },
    },

    // Other attributes

    "resultCode": "0000"
}

Observation on the ventTimer and remainTimeMinutes/Seconds Attributes

The hood features a 5-minute auto-off timer, which can be activated by holding the power button for 3 seconds.
The API can also initiate the auto-off timer based on the value of ventTimer, which accepts whole numbers between 1 and 5. However, the LG app sets ventTimer to 0 by default, as this feature is not available in the UI.
The remainTimeMinutes/Seconds values in the API response are cached, reflecting the last update received from the hood. It seems the hood does not transmit state updates for each countdown tick, causing the minutes/seconds to remain unchanged until a significant state change occurs—either when the timer expires, turning off the fan/light, or if the fan/light settings are manually adjusted on the hood.
Without an API call specifically designed to force the hood to send a current state update, accurately tracking the countdown is not feasible.

Lastly, I have 3 other LG devices using APIv2 if you need/want other traces:

Refrigerator - LMXS28626S
Dishwasher - LDTS5552S
Double Wall Oven - LWD3063ST

@ollo69 -- changing content type from 22 to 34 made this integration work with APIv2 hood.
https://github.com/ollo69/ha-smartthinq-sensors/blob/a0225317f3419308767272215438995ceae5be5e/custom_components/smartthinq_sensors/wideq/devices/hood.py#L37-L47

I have an LG hood which was not working and making the change recommend by ollo69 fixed it for me.  Thank you!


plugins/comment-nvim: add {pre,post}Hook options

Adding support for comment-nvim's hooks. These are especially important for integrating comment-nvim with ts-context-commentstring (see linked comment-nvim docs).

Hmm okay this is not working. I tried the following:
{
  plugins.ts-context-commentstring = {
    enable = true;
    extraOptions.enable_autocmd = false;
  };
  plugins.comment-nvim.preHook = "require('ts_context_commentstring.integrations.comment_nvim').create_pre_hook()";
}

This should match ts-context-commentstring documentation.
The resulting init.lua looks like this:
do
  local nixvim_globals = {
   ...
    ["skip_ts_context_commentstring_module"] = true,
    ...
  }

  for k, v in pairs(nixvim_globals) do
    vim.g[k] = v
  end
end

...

require("Comment").setup({
   ["pre_hook"] = "require('ts_context_commentstring.integrations.comment_nvim').create_pre_hook()",
})

...

require("ts_context_commentstring").setup({ ["enable_autocmd"] = false })

...

I'm not entirely sure, why this is not working, I just started switching to neovim, so I'm not so familiar how to debug these problems. The following error is printed:
[Comment.nvim] Invalid commentstring for nix! Read `:h commentstring` for help.

However, when I look at the commentstring it has the following value: commentstring=# %s. This should be a valid commentstring, so I am a bit confused. When I use ts-context-commentstring without the hook integration, it works. However, this is suboptimal, because comment-nvim has some problems without ts-context-commentstring.
Do you maybe have an idea why this is not working?

Tested with the above config snippet, should be working now. Maybe in the future one could add a plugins.ts-context-commentstring.integrations options, which configures ts-context-commentstring and the corresponding comment plugin (comment-nvim, commentary, ...).


Lower Base Image Version

Internal cluster still has machines with Nvidia Driver 495 -> 21.21-py3 is the latest image supporting it (see https://docs.nvidia.com/deeplearning/frameworks/support-matrix/index.html#framework-matrix-2021 )

Codecov Report

Merging #6 (77ca45c) into main (79e585c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #6   +/-   ##
=======================================
  Coverage   18.96%   18.96%
=======================================
  Files          10       10
  Lines         717      717
=======================================
  Hits          136      136
  Misses        581      581

Flag
Coverage Δ

cpu
18.96% <ø> (ø)

pytest
18.96% <ø> (ø)

python3.10
18.96% <ø> (ø)

python3.7
15.88% <ø> (ø)

python3.8
18.96% <ø> (ø)

python3.9
18.96% <ø> (ø)

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

Continue to review full report at Codecov.

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


GitHub Action to run pre-commit

This GHA will run pre-commit even on PRs from contributors who do not have pre-commit on their local environments.
On Open Library, we use https://pre-commit.ci which is better because it does pre-commit autoupdate once a week.

Oh, I see. Thank you for this!


Remove invalid character: fix #76

Remove invalid 0x2C character from lib/uid and create patch release

Fixes #76

thanks

@kof Please publish to npm, so we can stop using our fork.

done


Cloudflare - 1020, Access Denied (Custom Firewall Rules)

Describe the bug
Feed used to work a few days ago. Rss.refresh gives this error. Wanted to document it as I couldnt find a google result for it.
To Reproduce
Steps to reproduce the behavior:
On my discord server, using rss.refresh results in this error:
The following feed(s) failed to refresh:
https://www.apkmirror.com/apk/niantic-inc/pokemon-go/feed/
Reason: Cloudflare - 1020, Access Denied (Custom Firewall Rules)
Expected behavior
The feed to be added.
Screenshots
If applicable, add screenshots to help explain your problem.
Branch (please specify one):
public bot
Additional context
Also all apkmirror links are now "blocked" on my discord.

What do you mean by links are blocked?

Getting this same error.

Thanks for the report. Unfortunately, the bot cannot bypass Cloudflare protections - see https://github.com/synzen/Discord.RSS-Clone/issues/9 for more details.
Cloudflare can be activated/deactivated at its own or at the website's discretion at any time, which will block bots from accessing the site.

Would projects like https://github.com/Anorov/cloudflare-scrape not work for the bot?

The two you mentioned are for python, and the third one is deprecated (as it says on the README in huge letters). I have not found any open-source working and up-to-date solution for this in JS - but if you do find one, you can definitely let me know.


⚠ Samsung has degraded performance

In f0cf50d, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2691 ms

Resolved: Samsung performance has improved in 8ca5eca.


[Feature Request]: Creating the admin login in backend

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Creating an additional parameter in the user model for isAdmin which is false for all users by default in backend folder.
Use Case
Admin flexibility.
Benefits
Admin usage
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@VaibhavArora314 level 3 because i had done many changes and written the code in the backend.
I hope you will understand it.
Thank you !


Add check_subfolders and ignore_folders options

Add check_subfolders and ignore_folders options in get_tests.js. Both options are optional and specified through the nightwatch.json config.

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


OOM with sufficient reserved but unlocated memory during LM training

during LM training forward pass: https://github.com/ZhaolinGao/LangPTune/blob/45d756da2283cf7c8d859ba2546d90f83527610f/src/langptune_gemma.py#L1063
have tried (with per_device_train_batch_size = 1 as default):

lora-rank=8 and lora-alpha=8, still OOM but required and reserved memory is different

os.environ["PYTORCH_CUDA_ALLOC_CONF"] = "expandable_segments=True"

but got [W CUDAAllocatorConfig.h:28] Warning: expandable_segments not supported on this platform (function operator())

os.environ["PYTORCH_CUDA_ALLOC_CONF"] = "max_split_size_mb:32", no effect

what's the gpu type you are using?


Support GpuFirst/GpuLast on more data types

Signed-off-by: sperlingxx<EMAIL_ADDRESS>Closes #3097

build

build

build

NFS lock issue, let me ask blossom to fix. Please retrigger later

build

build


Sync upload: Remaining size/files status in menubar

Is your feature request related to a problem? Please describe.
I just might be overlooking where it is but when syncing many files, it would be helpful to know how many files (and total file size) is left to be synced. Especially before I bring my laptop out to where there is no wifi.
Describe the solution you'd like
It would be informative if the menu bar could display the current sync status with information such as how many files remaining (and total file size left to be uploaded) rather than just saying Syncing... in the menu bar. For example, Syncing (12 files/12 MBs remaining).

So, it depends on the situation. For performance reasons, Maestral fetches remote changes in batches of ~400 files and will show progress as it downloads each batch without knowing how more is to come. This is should be sufficiently informative for most situations where the number of remote items to sync is < 400. Unfortunately, the initial sync typically involves a much larger number of files. Maestral will show its progress as it fetches remote changes, for example Indexing 4530... but has no way of showing how many remain.
For upload syncs, we are in full control and always show the full progress, for example Syncing ↑ 6/240....
The GUI currently does not display sync progress for individual files but the CLI does provide a live view with the command maestral activity.

I agree that having a live view for individual files would also be nice for the GUI, I've just not come around to actually implementing it. Ideally, it should be available for both macOS and Linux. Gnome however seems to have very limited supported for showing rich interfaces as pop-ups from the status bar.

I agree that having a live view for individual files would also be nice for the GUI, I've just not come around to actually implementing it. Ideally, it should be available for both macOS and Linux. Gnome however seems to have very limited supported for showing rich interfaces as pop-ups from the status bar.

Agreed, cross platform can be hard. Perhaps we could start with implementation on macOS and a partial feasible solution on Gnome for starters? Anything related to sync upload status can be very helpful.

The code base, even the GUI, is currently written in a mostly platform-independent way and I am a bit reluctant to give this up because of the increased maintenance work. But I'm afraid that there won't be away around that in the medium term, especially if some features are very difficult to implement for Linux.

Especially before I bring my laptop out to where there is no wifi.

Yeah, that's a good use case. In the meantime, unless you need a file to be synced before you leave, feel free to interrupt a running sync at any time, either by pausing, quitting, or disconnecting from the internet. It will just pick up later from where you left off.


Automated cherry pick of #2128: kvm elb fix

Cherry pick of #2128 on release/2.11.
#2128: kvm elb fix

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11@4b00d34). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.11   #2129   +/-   ##
==============================================
  Coverage                ?   7.15%
==============================================
  Files                   ?     451
  Lines                   ?   70284
  Branches                ?       0
==============================================
  Hits                    ?    5030
  Misses                  ?   64842
  Partials                ?     412

Flag
Coverage Δ

#aFlag
7.15% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/loadbalancers.go
1.82% <0%> (ø)

pkg/compute/models/loadbalancerclusters.go
6.2% <0%> (ø)

Continue to review full report at Codecov.

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

/approve
/lgtm


ci: push image to aliyun registry as backup

close: https://github.com/open-v2x/cerebrum/issues/92

https://docs.github.com/en/actions/publishing-packages/publishing-docker-images#publishing-images-to-docker-hub-and-github-packages ,ACR auth failure
https://github.com/aliyun/acr-login#you-can-build-and-push-container-registry-by-using-the-following-example auth OK but permission denied


isKnownUniquelyReferenced logic is duplicated multiple time in HTTPRequest/ResponseHead

The below code block is present a couple of times through the NIO codebase. It can be safely factored out into into a function with the name: copyStorageIfNotUniquelyReferenced
if !isKnownUniquelyReferenced(&self._storage) {
    self._storage = self._storage.copy()
}

We should factor this one out into a function called copyStorageIfNotUniquelyReferenced.

Note, this should be restricted to HTTPTypes.swift and leave the ByteBuffer code alone where there appear to be duplications but most of them are actually slightly different.

Agreed: several of ByteBuffer's usages of isKnownUniquelyReferenced are explicitly to perform optimised operations (e.g. in clear, where we want to allocate a new clean buffer without doing the copy that self._storage.copy requires).

@Lukasa the problem I could see in ByteBuffer is that I failed to annotate every single isKnownUniquelyRef'd call with // this is necessary for correctness vs. // this is only an optimisation, not necessary for correctness.

Hi,
Do we need to create method only in HTTPTypes.swift file and use it inside there only ?

@shekhar-rajak yes, it can be a private mutating func on the struct in HTTPTypes.swift

Thanks @weissi , I will work on it.


taskbar icon for each active workspace

i'm not sure if mac allows this,
i would like each workspace with active windows to be displayed as an icon.
if i have windows in workspaces 1,2,6,9
then the task bar will have

4 icons
one for each workspace
active workspace is underlined
left click on non-active will open the workspace on-click
left click on active workspace will behave like current taskbar icon

I'm solving this with SketchyBar
of course some people will want this feature w/the standard macOS menu bar, just making sure people know there is an option available right now.

I am 99% sure this would be possible because Spaceman already exists for native macOS desktop spaces and works exactly how you describe. I'd love this feature as well, would be super awesome if this happened - or at least a little more customization on the indicator we have now. I use a 1440p monitor so the small white number is a bit annoying to visually seek out - would love color & size options one day.

 I don't care how things look, all I care is how things work - what workflows are provided is the only important thing, UI doesn't matter. And I want AeroSpace users to accept this mantra, I don't want people to waste their time on "ricing" their computer (though they already do that).
So if someone decides to push the initiative with different menubar styles forward, there a lot of things you will have to explain:

You have to describe a clear, organized and strict mental model of all possible menubar styles
You have to describe pros and cons of each menubar style
You have to describe use-cases for each menubar style (like for example, it's unclear to me why the indication of the currently active workspace is not enough)
You have to take into consideration the fact that MacBook notch doesn't allow the indicator being too wide
You have to optimize number of possible menubar styles (make it as small as possible)
For every knob and configuration option you provide, you have to explain the importance in terms of workflows and use-cases
etc...

Just as an example: on my Linux machine, I could have different dpi for different windows, so that my mouse changes size when I move it from one window to another, and I couldn't care less. It's an extreme example, and I obviously agree that dpi should be the same across windows, nevertheless, it shows how much I don't care about UIs, and I will pushback hard for every knob and additional menubar style, since I'm the one who would need to support the UI configuration madness in the end.
Another example: gaps are useless, and they waste screen estate, period. There are two reasons why AeroSpace provides gaps:

It's too much popular request
The mental model behind gaps is well-organized and clear as day (which later turned out being wrong, since freaking macbook notch forces to add per-monitor gaps, and some people still ask for per-workspace gaps for reasons unclear to me)

@nikitabobko thank you for the detailed response.
I could debate the value of UI, but what I'm most concerned about is your time, effort and enjoyment thereof towards making AeroSpace amazing. I think defining the boundary of what AeroSpace is and isn't and then aggressively closing Issues/PRs for things outside of the boundary will keep the project focused and hopefully reduce outside noise. Maybe as a bonus, add a basic suggestion (with a disclaimer that it's not a recommendation) to the Guide for projects people could look at if they want UI stuff.
Aka, I vote you close this issue rather than leaving the door open.

You can name the workspaces however you want I believe. For example
alt-q = 'workspace ●○○○'
alt-w = 'workspace ○●○○'
alt-e = 'workspace ○○●○'
alt-r = 'workspace ○○○●'
alt-cmd-q = 'move-node-to-workspace ●○○○'
alt-cmd-w = 'move-node-to-workspace ○●○○'
alt-cmd-r = 'move-node-to-workspace ○○●○'
alt-cmd-e = 'move-node-to-workspace ○○○●'

would give you a text ui of dots. Not saying this is peak customization, but if you can forgo the clicking part, this is pretty nice already.

 I don't care how things look, all I care is how things work - what workflows are provided is the only important thing, UI doesn't matter. And I want AeroSpace users to accept this mantra, I don't want people to waste their time on "ricing" their computer (though they already do that).

@nikitabobko this really resonates with me! And I would love to be able to just use aerospace w/o any UI tinkering! But one thing I struggle with is that navigating to my open applications, requires that I keep a mental stack of used workspaces and windows that are in according mode, as there are otherwise no indicators of where those are. (caveat for accordion mode where padding can help, but that steals quite a bit of space and doesn't help for >3 applications or similar looking ones.)
I've been following the various UI discussions, which seem to arise from a similar pain point. I would be really curious to understand what your workflow / your envisioned aerospace solution for this is.
If one has a main monitor with multiple applications that span the full monitor, one can use accordions or workspaces to cycle through them, but how would you suggest easy navigation between them?
In sway or i3, the tabbed mode of these applications would provide a title bar indicating the various tabs. As far as I understand it, tabs are pretty much the accordion layout in aerospace, but we don't yet have a mechanism to indicate to the user which windows exist.

@hassec what you are talking about seems like a different problem #24. My envisioned solution is something like stackline. I agree that accordion layout padding isn't the best visualization in the world

@nikitabobko thanks for the quick reply!
I saw the stackline issue but I don't think it fully solves the issue because it only indicates that there are more windows but not what those windows are.
My example was a bit accordion/tabs focused because that's the solution i3 and sway provide to this workflow.
But I'd be happy to use workspaces instead if they provided indications what windows exist. That's why I commented here, but I'm happy to have this moved to any other issue or discussion if you prefer 😊


Cannot get information on other models

I followed the instructions in the README to get information about other models, but I couldn't. Can I get information on other models?

If you want to try other pytorch models under gs://apache-beam-ml/models/,
gsutil ls gs://apache-beam-ml/models/

log
gsutil ls gs://apache-beam-ml/models/
AccessDeniedException: 403<EMAIL_ADDRESS>does not have storage.objects.list access to the Google Cloud Storage bucket. Permission 'storage.objects.list' denied on resource (or it may not exist).
zsh: exit 1     gsutil ls gs://apache-beam-ml/models/

Did you run gcloud auth login?

Yes, I did.

I changed the bucket permission. Could you give it another try?

I was able to see the list of objects in the bucket. Thanks you!
gsutil ls gs://apache-beam-ml/models/
gs://apache-beam-ml/models/
gs://apache-beam-ml/models/efficientnet-lite4-11.onnx
gs://apache-beam-ml/models/huggingface.BertForMaskedLM.bert-base-uncased.pth
...


Building JAX port of Detectron2

Hi, I have been using Detectron2 for almost a year for training large scale models and their results (mask rcnn) always fascinate me. Like FastAI it is one of the most flexible frameworks I have used for deeplearning.
I wanted to understand internals of both JAX and Detectron2 for some time and I think building flax port for Detectron2 will get me there.

Can I know if I can get any support from the team for solving issues if I get stuck.

Timeline:
6mos to 1year starting from Feb 2022. I have couple of commitments that hinder me from full time contribution but can spare weekends and some weekdays for the project. The idea is to slowly but effectively build the project.
Motivation:
Building mature frameworks for training models (stress on large-scale) is always critical for both research and industry. And JAX is currently the hottest topic I want to learn by doing.

Linking discussion from Detectron2 https://github.com/facebookresearch/detectron2/discussions/3817

Hi @INF800 -- we'd love to see something like Detectron2 ported to JAX/Flax. (Though I personally don't know almost anything about that project).
What kind of support would you be looking for? Then we can ask around and see if someone can help in the best way.

Hi thank you for the response. I will NOT be needing any help for
understanding the already implemented code in Detectron2 (or any python
code as such).
But Instead, I will be needing help in porting pytorch code to JAX (i.e
FLAX) with best practices. In JAX you can consider me at beginner level and
for pytorch I am at beginner level.
On Thu, 23 Dec, 2021, 7:42 pm Avital Oliver, @.***>
wrote:

Hi @INF800 https://github.com/INF800 -- we'd love to see something like
Detectron2 ported to JAX/Flax. (Though I personally don't know almost
anything about that project).
What kind of support would you be looking for? Then we can ask around and
see if someone can help in the best way.
—
Reply to this email directly, view it on GitHub
https://github.com/google/flax/issues/1740#issuecomment-1000331537, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AK4GSXIOWSHDB67YW2FDA4TUSMU35ANCNFSM5KTS46UQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Folks on our GitHub discussion board are pretty helpful, and both folks that work on JAX and Flax, as well as knowledgable community members can help. The upside this way is that other people can benefit from the learning. I propose we start with that, and if you start making progress and would benefit from more intensive support we can see what we can do. How do you feel about that?

Folks on our GitHub discussion board are pretty helpful, and both folks that work on JAX and Flax, as well as knowledgable community members can help. The upside this way is that other people can benefit from the learning. I propose we start with that, and if you start making progress and would benefit from more intensive support we can see what we can do. How do you feel about that?

Perfect! I will open up related issues/discussions and  link them to this issue to keep track of them. As said before I will be starting it actively from Feb 2022. Until then will try to understand more about JAX and Detectron2 and you can expect me to open up multiple discussion topics related to JAX :)

Great! One possible first step is only to port one particular model in a standalone codebase, such as Mask R-CNN, and see what we need to do from there.

Great! One possible first step is only to port one particular model in a standalone codebase, such as Mask R-CNN, and see what we need to do from there.

Makes sense I was planning to do the same

https://github.com/google-research/scenic is a flax computer vision code base as a reference.

https://github.com/google-research/scenic is a flax computer vision code base as a reference.

Thanks. Detectron2 internally uses fvcore https://github.com/facebookresearch/fvcore. Is this project similar to fvcore?


NL. Coffee  _ Added more translations

Added more translations and corrected old ones

Thank you :+1:


Change txList balance box styling to prevent icon cutoff

The purpose of this task is to migrate the Transaction List balance box (top of scene) away from Flexbox to ensure that there is sufficient space to fit the cryptocurrency logo.
https://app.asana.com/0/361770107085503/532233498493258/f

@paullinator I believe that in order for me to use relative / percentages for the layout of the "Balance Box" on the txList then that most likely means I would have to set the font sizes of some of the text to a percentage of the height of the box. I will give it a try to re-submit the PR.


Chore/travis

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


White screen

When you close the application with the back button, a white blank screen is displayed for a short period of time, how can I fix this?

Thanks for this bug report and very sorry for taking so long to get back to you on it. We're tracking this bug at https://crbug.com/1026226 .

Closing the bug here, in favor of tracking at crbug. We can re-open if a change in the SVGOMG App is required.


[Pages] Themes (potentially Token page)

Update content on Themes page with newest tokens
add experimental theme example

Content update needed for alpha release.

PR for alpha release: https://github.com/carbon-design-system/carbon-website/pull/561#event-2014006563


Feature Request: Public Views

It would be awesome to be able to enable/disable public views for collections. Something similar to these feature in basedash. Public views can be very similar to the current ones in the admin panel. The admin panel views are pretty good already. View Rules can apply to them in a similar fashion to API rules.

This was requested before, but at least for v1 (and until https://github.com/pocketbase/pocketbase/issues/898) there are no plans to allow access to the admin (or portion of it) to non-admin accounts because it will be limited and I don't think it will be very useful.
Users can always implement manually their own custom interfaces and branding for previewing the data if they want to, for example by creating html file(s) in pb_public.

I have a use case for view collections as non-admin:
I'm building a forms app and the frontend needs view access to collection schemas in order to generate the correct UI and show form fields properly. The forms map directly to one or multiple collections.
I think my go-to for now will be to 'hack' around the limitation, but I'd love a legit API rule for pb.collections.getOne for instance

@carlosblanco I don't see how your comment is related to the initial post but in any case I don't recommend the above and it would be insecure since you'll expose the collection API rules to anyone.
If you really need access to the collection fields definition a better option would be to create a View collection with query like:
select id, schema from `_collections`

It's possible I misinterpreted the original context. I didn't realize the solution you've suggested, that seems like a much better and easier way to do it. Thank you very much!


do not monitor set state action

fixes: #40

@3LOK That's true. I didn't think about that.
However, the setState method is rather new, so I doubt it's been used a lot.
I'm assuming someone would already open an issue about it.
We can add some explanation to the README file and bump the minor version.
What do you think?
I think it's a necessary fix, for future use of the setState method.

@3LOK I guess 😞

@3LOK Updated


How to connect to Redis Service using service name running in PCF cloud.

Hi, We have a redis client project which is using Redisson client for all the operations, we are connecting it by providing redis://ip:port
But in higher environment we have the application configure on PCF cloud and there we have a redis service running with the name of redis-service.
So, is there a way to connect to redis by just using this service name instead of ip:port?

You can try natMapper for manual host:port binding.


Press 'R' to log current state to console

I find myself very often having to log the current state of the world, scene, localplayer, etc.
This adds a handy function to webaverse.js to log these things to the console.

R is the drop key.

@avaer capital R only, but I can make it something else -- } ?

@avaer right now 'p' is the drop key in master

changed to }


Add array splitting to query param validation

For a parameter declaration like so:
  user_id__in:
    name: user_id__in
    in: query
    type: array
    items:
      type: string
    collectionFormat: csv

Flex should be able to validate the query param: user_id__in=b75125a456387da15b964122,bb0a9dfd9a9401429b71ad4d,259f6471b2b2f1793c4aa2cf by splitting it into an array based on the type declaration. Thoughts?

I was able to solve this by adding a query_data = type_cast_parameters(query_data, query_parameters, context) to validate_query_parameters in validation/parameter.py, but not sure how to write tests for it.

I think you should be able to write a test for this in tests/validation/requests/test_request_query_parameter_validation.py using the same pattern as the current test that is in that file.

Ah, good point, I completely missed that test. Will write up a PR.


New models work in ubuntu version of waifu2x-caffe?

Hi!
I noticed in the lltcggie/waifu2x-caffe repository that there are 2 new models under waifu2x-caffe/bin/models.  They are called cunet and upresnet10.  I would like to try these models out with this ubuntu version.  Can I just copy over the two folders with the model files from lltcggie's repository into the model folder for the ubuntu version and select one of these models with the --model_dir option, or does the code itself need to be modified to use these new models?
Thanks in advance!

it needs to merge the latest version of waifu2x-caffe.

Thanks for the speedy reply!  So do I just bring some of the routines from lltcggie's repository over or is it more complicated than that?

I've merged recent changes.
upresnet10 and cunet work.
However,  Shift JIS issue has not been fixed.
You can use it by rebuilding lltcggie-caffe and waifu2x-caffe after git pull.

Thank you!  I'll make the Shift JIS fixes that I did previously and try it out later today... Thanks again!

Working very well!  I'm glad you modified (and I checked) the INSTALL-linux.md file.  I got the cuDNN Not Found error and rerunning the cmake/make fixed it.  Thanks for your help!  I'll close this out now.


where is the mask_rcnn_dbswin-t_fpn_3x_nuim_cocopre.pth?

@fdy61  Have you get the pretrained model? I need it too, if you can send it to me plz send it to<EMAIL_ADDRESS>plz. Thanks for that ,looking forward to your reply.

No, I haven't get it. The author doesn't send me the pretrained model.

@Da1symeeting1 @fdy61  Weights can be found at the following links: https://drive.google.com/file/d/1BcHPxVv_C1LC8oRc-vBhbMk2R6zDYfFx/view?usp=sharing

@hht1996ok Thank you.

@hht1996ok  Thank you !!

你这个是自己训练的权重还是套用别人的啊，精度多少来着，这个玩意影响很大的

你这个是自己训练的权重还是套用别人的啊，精度多少来着，这个玩意影响很大的

这个是bevfusion（peiking）预训练，用这个我复现bevfusion cam mAP是34.78左右


better moon.

.hey. can you make the moon better in Musk rose_rd v4.0? and why do the clouds disappear when it turns nighttime? and the CAVES are ULTRA ddark. i cant see anythinggggg. its like a blackhole

can you make the moon better

The game doesn't tell us which moon phase the moon is so we consider the moon is always full in the shader.

why do the clouds disappear when it turns nighttime?

It doesn't disappear.  The sky at night is just too dark to see the clouds.

the CAVES are ULTRA ddark. i cant see anythinggggg. its like a blackhole

It's as dark as vanilla.

hey. if you can please make an 80% or 60% brightness musk rose shader if you can. pleaseee. and when I use night vision potion it does not work while I use the shader also....


added status to Referendum, added condition in hydrate in Referendum,…

… added test cases

Open polls for voting


Quick Submit fields for Methods & Orgs (via Pat)

Quick Submit for Methods

Name of method [limited word count]
Purpose: Which civic, governance, or political purposes is this method designed to address? – [Use existing list of purposes from .net, select one or multiple]
Explanatory text: “Please feel free to indicate more than one possible purpose where appropriate.”

Quick Submit for Organizations

Name of organization [limited word count]
Location

covered by https://github.com/participedia/frontend/issues/408


add another tool gcloud

Hey @felipecrs I tried to add gcloud cli utility but didn't make it. will you help me to add that one?

Hi, the following should work:
FROM ghcr.io/felipecrs/jenkins-agent-dind:latest

RUN \
    echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" \
    | sudo tee /etc/apt/sources.list.d/google-cloud-sdk.list; \
    curl https://packages.cloud.google.com/apt/doc/apt-key.gpg \
    | sudo tee /usr/share/keyrings/cloud.google.gpg; \
    sudo apt-get update; \
    sudo apt-get install google-cloud-cli -y

I'm in the process of actually removing the bloatware of the image (https://github.com/felipecrs/jenkins-agent-dind/issues/66), so I will not be adding gcloud to it by default.

thanks

The image now comes with pkgx, meaning installing gcloud is now as simple as:
$ pkgx install gcloud

$ gcloud --version