Suddenly "Unable to connect to Home Assistant." appeared when accessing the domain used for Cloudflared

The problem
I have been using Cloudflared with Home Assistant OS (running on x86) for more than half a year and haven't had any issues until now.
What's especially strange, I haven't performed any changes neither to my HA setup nor to the Cloudflare configuration.
I have actually only noticed that something is wrong because my Echos failed to connect to my HA server starting at some point between new year's eve and today.
When I try to access my external domain that is registered with Cloudflare with my desktop browser I get the screen that says "Unable to connect to Home Assistant. Retrying in xx seconds...".

Thinking that this might be part of the browser cache I hard-reloaded the page but it appears again. Looking into the network analytics of the browser's dev console, it looks like it's receiving the contents of this page straight from my HA instance or some sort of Cloudflare Cache.

Connecting to my HA instance locally works fine. Reviewing the logs of the Cloudflared Addon doesn't show any indications of connection problems. Restarting the addon did not help. Restarting the HA server did not help either.
The issue occurs when using my desktop, my phone via 5G as well as connecting through AWS using my Alexa Skill.
I haven't performed any updates to any part of the system yesterday or the days before. It seems like it suddenly appeared overnight with the start of the new year. First time noticing it was actually when coming home during the night and trying to use voice commands which didn't go through.
Versions:
Add-on version: 4.2.12
System: Home Assistant OS 11.2  (amd64 / generic-x86-64)
Home Assistant Core: 2023.12.0
Home Assistant Supervisor: 2023.12.0
Thankful for any help. If you need more information, kindly let me know.
Best regards,
Henrik
What version of Cloudflared has the issue?
4.2.12
What was the last working version of Cloudflared?
4.2.12
What type of installation are you running?
Home Assistant OS
Add-on YAML Configuration
Default configuration. Only external_hostname is given.
Anything in the logs that might be useful for us?
No response
Steps to reproduce the issue

Open any browser.
Enter the domain that is registered with Cloudflare and my HA instance
See the "Unable to connect to Home Assistant." screen.

Additional information
No response

Just after posting this issue some additional information came to mind. I'm using my domain and cloudflare account to connect to two different HA instances via two different subdomains and tunnels. This is also worked fine for over half a year.
However, I get the exact same issue when connecting to the secondary instance, which is similarily set up but has a lot less addons and things running in the background.
This leads me to believe that the problem originates maybe somewhere on Cloudflare's end.

The domain expired and needs to be renewed and the reminder email ended up in my spam folder.
Leaving this here for someone that's having the same issue.
Sorry for bothering and thank you for your great work!


Improve few more modules design

Module
Before
After

Orderbutton

Redirect

SEO Tools

Staff

Theme

Wysiwyg

Workflow failure seems to be a GitHub prob. Could someone rerun the test?


Add disk usage for ListContainerStats

This can fix #1800
Signed-off-by: Qi Wang<EMAIL_ADDRESS>
- What I did
Show disk usage in the container stats
- How I did it
Fill WritableLayer field with FilesystemUsage struct
- How to verify it
- Description for the changelog

I signed it

/ok-to-test

/test all

/retest

/test all

/approve

@mrunalp @runcom @umohnani8 @giuseppe PTAL

changes LGTM. Should we add.modify tests for this though? Just make sure the disk usage stuff is no longer just 0 value.

LGTM

Changes LGTM, tests are still not hip.

/test e2e

Tests are green. @mrunalp @runcom can we get this in.

@mrunalp What other steps do I need to do to make my self worthy?

/test kata-containers

/test kata-containers

/test kata-containers

@umohnani8 can you help me run /test kata-containers

/test kata-containers

/test kata-containers

@QiWang19 I think you need to rebase.

/test kata-containers

/test kata-containers

/test kata-containers

/test e2e

/test e2e

@QiWang19 could you rebase this PR?

@mrunalp I mean port this PR to release-1.12 (needed asap) and release-1.13

@QiWang19 You can create a new branch with release-1.12 as base and port your changes to it.

git checkout -b add_disk_stats_1.12 origin/release-1.12.
Apply/port changes from this PR to this new branch.
git push add_disk_stats_1.12 qiwang (or name of your remote)
Create a pull request and select the base branch as release-1.12.

@QiWang19 I applied this diff and tested it works:
diff --git a/server/container_stats.go b/server/container_stats.go
index 171cf726..22a5c2de 100644
--- a/server/container_stats.go
+++ b/server/container_stats.go
@@ -2,6 +2,7 @@ package server

 import (
        "fmt"
+       "path/filepath"
        "time"

        "github.com/kubernetes-sigs/cri-o/oci"
@@ -12,7 +13,9 @@ import (
 )

 func buildContainerStats(stats *oci.ContainerStats, container *oci.Container) *pb.ContainerStats {

for release-1.12 I think this needs to be stats *lib.ContainerStats.

cc: @lsm5 we need to pick this as well.

Filed https://github.com/kubernetes-sigs/cri-o/pull/2049

@QiWang19 it doesn't look like this ever got merged to master -- I related see commits on release-1.12 and release-1.13, but release-1.14+ (and master) all still have WritableLayer: nil and the crictl stats behavior described in #1800.
I'm happy to submit another PR if you're busy but it might be quicker to just reopen this one (with the fix to use diffDir as in #2050) and get it merged to master if you have time.


camera sample crashes during device rotation

Device: LG G5 (RS988)
Android: 7.0
Android Studio 3.0.1
Build "camera" NDK sample, target "basic", config debug. Launch on device in portrait mode. Rotate device to landscape. Observe crash.

thank you for the report. I may not able to get to this immediately. If you get chance to debug inside IDE, please get failing points.

Something wrong with the code about the popup window usage, not really camera API related.  I will find time to hack on it later; if you have a good handle on UI, please send a PR, thanks!

I have same crash, @ggfan Do you fixed ? because i saw that you closed it. When i downloaded the sample it is a crashed when i want to rotate the device (last android ndk release).

yeah, there is a code change to "ignore" the exception, you probably find anther issue?


updated textroom (0.6.5)

Tick #17075

Thank you for the contribution. It was merged directly as 6e193b81f57e138b245f1662618cce785266866d to keep commit history cleaner. Your contribution is still credited to you.


plistwatch: init at unstable-2020-12-22

Description of changes
Add plistwatch package, which displays changes to preference plists on osx in real time (handy for writing nix-darwin modules).

Things done

Built on platform(s)

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

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1584


Missing quick-search data for essences

The quick-search shows no data for essences:

Essences are currently not supported. The search page is missing the category 'essence' and therefore the items are not marked as essence. I'll see what i can do.

0.5.12 (2020-02-03)

add essence support (#180)


Translate concepts/containers/runtime-class/ in Japanese

This is a Feature Request

What would you like to be added

Translate concepts/containers/runtime-class/ in Japanese.
Why is this needed
This document is not translated in Japanese.
Comments

Copy a file from en contents to content/ja/docs/concepts/containers/runtime-class.md and translate it into Japanese.

/language ja

/milestone 1.14-ja.1

/close


chromium: 81.0.4044.122 -> 81.0.4044.129

https://chromereleases.googleblog.com/2020/04/stable-channel-update-for-desktop_27.html
This update includes 2 security fixes.
CVEs: CVE-2020-6462 CVE-2020-6461

Testing status

platform
attribute
status
tester

x86_64
chromium

@danielfullmer

x86_64
nixosTests.chromium

@danielfullmer

x86_64
google-chrome

@primeos

aarch64
chromium

@thefloweringash

Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

Built and tested chromium and nixosTests.chromium on x86_64-linux


[BUG] - Image is missing required "width" property

Description
I get this error when using user.data.picture prop
Reproduction URL
none
Reproduction steps
<NextAdmin
      {...props}
      user={{
        data: {
          name: currentUser.name!,
          picture: currentUser.profileImageUrl!,
        },
        logout: ['/'],
      }}
    />

Next router
App router
Next Admin version
6.0.0
Screenshots

Next Admin options
No response
Logs
No response
Browsers
No response

Hello,
Thanks for the issue, we've just fixed it in v6.0.1
Feel free to give feedback 🚀


Used PickerGroup in TimePicker and DatePicker

WHAT
Used PickerGroup in TimePicker and DatePicker
WHY
PickerGroup was created to handle multiple pickers in one component.

Since you are having some bugs with interactions, I'd suggest including those in the androidTest.


Run test cases in all managed-clusters

right now, the test is only running in local-cluster. we should run the tests in imported clusters as well.

@clyang82 , for different type of managed cluster, do we have any specify cases need to cover? does there have any difference between those type of managed cluster? if yes, I prefer to design some cases and add in e2e repo.


Regression of support for log level constants

Before #99 it was possible to pass a logging constant like logging.INFO to the Logger constructor. After #99, I get this exception: AttributeError: 'int' object has no attribute 'upper' from logging/logger.py:122.
The docstrings are also confusing, since the environment variable says it accepts and integer or a string, but the constructor parameter is a string.
Expected Behavior

The Logger constructor should accept logging constants (integers) as well as strings.
The environment variable and constructor arg for log level should be consistent
The docstrings should be consistent with the code

Current Behavior
When an integer is passed, there is an AttributeError.
Steps to Reproduce (for bugs)
>>> import logging
>>> from aws_lambda_powertools import Logger
>>> Logger(service="demo", level=logging.INFO)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.8/site-packages/aws_lambda_powertools/logging/logger.py", line 122, in __init__
    self.log_level = self._get_log_level(level)
  File "/usr/local/lib/python3.8/site-packages/aws_lambda_powertools/logging/logger.py", line 138, in _get_log_level
    log_level = log_level.upper() if log_level is not None else logging.INFO
AttributeError: 'int' object has no attribute 'upper'

Environment

Powertools version used: 1.1.0
Packaging format (Layers, PyPi):
AWS Lambda function runtime: python3.8
Debugging logs

Looking into this now...

Just managed to reproduce in a quick test - Working on a fix and should be upstream shortly. Thanks for raising this quickly @zroger

PR: https://github.com/awslabs/aws-lambda-powertools-python/pull/105
Updating Changelog, and reviewing your comment on docstring before I publish it

What it's quite odd is monkeypatch when creating a test for env var it always casts the value as string despite setting as int -- Can't reproduce in zsh/bash tho
def test_logger_level_env_var_as_int(monkeypatch):
    # GIVEN Logger is initialized
    # WHEN log level is set as int defined via LOG_LEVEL env
    monkeypatch.setenv("LOG_LEVEL", 50)
    logger = Logger()

    # THEN log level should be equals to 50 => CRITICAL
    assert logger.level == logging.CRITICAL

I'll continue on digging

Thanks for handling this so quickly

Published to PyPi but seems to be taking longer than the usual to reflect 1.1.1 - Will circle back here once it's through

Damn page cache haha just managed to install by passing the latest version directly: pip install aws-lambda-powertools==1.1.1
Lemme know if that works for you and we can close this -- Thank you @zroger again for reporting it

Alright, I'm closing this now as tests are covering this now, and have just released 1.1.2 to address PyCharm/VSCode Jedi Language Server autocomplete issue -- PyPi is operating as expected now


The unique index constraint was not updated after adding a new field.

Hello,
We are facing an issue when trying to insert a new column into an existing unique index constraint. Although Atlas correctly identifies the changes, it does not apply a delete followed by a recreate (which is what is expected if it were handled manually). Instead, it simply ignores the changes but continues to identify them with each new deployment, only applying the other changes.
Unique Index Constraint Changes Identified:

Changes applied by Atlas:

Hey!
In order to help with this, please write here the Atlas version you are using and add a small example that reproduces this on the latest version.

I'm using atlas version 0.25
Here a small example to reproduce the error, as we're using terraform just a SQL DDL changes is necessary to trigger a change:

Create a simple table with unique INDEX

CREATE TABLE [simple_table] (
    [id] INT PRIMARY KEY,
    [column1] VARCHAR(50),
    [column2] VARCHAR(50),
    [column3] INT
);

CREATE UNIQUE NONCLUSTERED INDEX [idx_unique_x] ON [simple_table](column1 ASC, column2 ASC);

Change the SQL statement to include a new field in the UNIQUE INDEX:

CREATE TABLE [simple_table] (
    [id] INT PRIMARY KEY,
    [column1] VARCHAR(50),
    [column2] VARCHAR(50),
    [column3] INT
);

CREATE UNIQUE NONCLUSTERED INDEX [idx_unique_x] ON [simple_table](column1 ASC, column2 ASC, column3 ASC);

Can you please paste the full version? Also, do you also get this on latest version?
cc @giautm - this looks like SQL Server driver issue.

I didn't try in the last version, I will try it.
This is the real full table version that using Atlas:
Original Version:
-- Create "tbl_order_recommendations" table
CREATE TABLE [dbo].[tbl_order_recommendations] (
    [id] int IDENTITY (1, 1) NOT NULL,
    [customer_sku_id] varchar(40) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
    [customer_store_id] int NOT NULL,
    [customer_vendor_id] varchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
    [placement_date] date NOT NULL,
    [delivery_date] date NOT NULL, -- NOTE: "delivery date using observable vendor real leadtimes"
    [sku_uom_qty] float NOT NULL,
    [group_uom_qty] float NOT NULL,
    [pack_qty] int NOT NULL,
    [sku_to_group_uom_conversion_factor] float NOT NULL,
    [pack_size] float NULL,
    [customer_delivery_date] date NULL, -- FIXME: "DEPRECATED, new field: sla_date."
    [sla_date] date DEFAULT ('1970-01-01') NOT NULL,
    [active] bit DEFAULT (0) NOT NULL,
    CONSTRAINT [PK_tbl_order_recommendations] PRIMARY KEY CLUSTERED ([id] ASC),
    CONSTRAINT [FK_recommendationsku] FOREIGN KEY ([customer_sku_id]) REFERENCES [dbo].[tbl_sku] ([customer_sku_id]) ON UPDATE NO ACTION ON DELETE NO ACTION,
    CONSTRAINT [FK_recommendationstore] FOREIGN KEY ([customer_store_id]) REFERENCES [dbo].[tbl_store] ([customer_store_id]) ON UPDATE NO ACTION ON DELETE NO ACTION,
    CONSTRAINT [FK_recommendationvendor] FOREIGN KEY ([customer_vendor_id]) REFERENCES [dbo].[tbl_vendor] ([customer_vendor_id]) ON UPDATE NO ACTION ON DELETE NO ACTION
);

-- Create index "UQ_tbl_order_recommendations_natural_comp_key" to table: "tbl_order_recommendations"
CREATE UNIQUE NONCLUSTERED INDEX [UQ_tbl_order_recommendations_natural_comp_key] ON [dbo].[tbl_order_recommendations] (
    [customer_sku_id] ASC,
    [customer_store_id] ASC,
    [customer_vendor_id] ASC,
    [placement_date] ASC,
    [delivery_date] ASC
);

Changed Version:
-- Create "tbl_order_recommendations" table
CREATE TABLE [dbo].[tbl_order_recommendations] (
    [id] int IDENTITY (1, 1) NOT NULL,
    [customer_sku_id] varchar(40) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
    [customer_store_id] int NOT NULL,
    [customer_vendor_id] varchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
    [placement_date] date NOT NULL,
    [delivery_date] date NOT NULL, -- NOTE: "delivery date using observable vendor real leadtimes"
    [sku_uom_qty] float NOT NULL,
    [group_uom_qty] float NOT NULL,
    [pack_qty] int NOT NULL,
    [sku_to_group_uom_conversion_factor] float NOT NULL,
    [pack_size] float NULL,
    [customer_delivery_date] date NULL, -- FIXME: "DEPRECATED, new field: sla_date."
    [sla_date] date DEFAULT ('1970-01-01') NOT NULL,
    [active] bit DEFAULT (0) NOT NULL,
    [timestamp_run] datetime DEFAULT ('1970-01-01 00:00:00') NOT NULL,
    CONSTRAINT [PK_tbl_order_recommendations] PRIMARY KEY CLUSTERED ([id] ASC),
    CONSTRAINT [FK_recommendationsku] FOREIGN KEY ([customer_sku_id]) REFERENCES [dbo].[tbl_sku] ([customer_sku_id]) ON UPDATE NO ACTION ON DELETE NO ACTION,
    CONSTRAINT [FK_recommendationstore] FOREIGN KEY ([customer_store_id]) REFERENCES [dbo].[tbl_store] ([customer_store_id]) ON UPDATE NO ACTION ON DELETE NO ACTION,
    CONSTRAINT [FK_recommendationvendor] FOREIGN KEY ([customer_vendor_id]) REFERENCES [dbo].[tbl_vendor] ([customer_vendor_id]) ON UPDATE NO ACTION ON DELETE NO ACTION
);

-- Create index "UQ_tbl_order_recommendations_natural_comp_key" to table: "tbl_order_recommendations"
CREATE UNIQUE NONCLUSTERED INDEX [UQ_tbl_order_recommendations_natural_comp_key] ON [dbo].[tbl_order_recommendations] (
    [customer_sku_id] ASC,
    [customer_store_id] ASC,
    [customer_vendor_id] ASC,
    [placement_date] ASC,
    [delivery_date] ASC,
    [timestamp_run] ASC
);

Hello @guilhermeneves, thank you for report this issue. We have fixed it and release in the version v0.27.1-da7a42c-canary,
Please upgrade and give a try. Thank you,


Configuration tab and edit page

Description

Add real data to configuration tab
Redirect to create page in edit mode

Issues Resolved

Resolves #436
Resolves #433
Resolves #434
Resolves #435

Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #447 (d252029) into application-analytics (442dcab) will increase coverage by 13.35%.
The diff coverage is n/a.

@@                     Coverage Diff                      @@
##             application-analytics     #447       +/-   ##
============================================================
+ Coverage                    59.69%   73.05%   +13.35%
  Complexity                     273      273
============================================================
  Files                          203       38      -165
  Lines                         6962     2119     -4843
  Branches                      1345      235     -1110
============================================================
- Hits                          4156     1548     -2608
+ Misses                        2604      408     -2196
+ Partials                       202      163       -39

Flag
Coverage Δ

dashboards-observability
?

opensearch-observability
73.05% <ø> (ø)

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

Impacted Files
Coverage Δ

...lytics/components/config_components/log_config.tsx

...tics/components/config_components/trace_config.tsx

...onents/application_analytics/components/create.tsx

...trace_analytics/components/dashboard/dashboard.tsx

...s/trace_analytics/components/services/services.tsx

...nents/trace_analytics/components/traces/traces.tsx

...-observability/common/constants/trace_analytics.ts

.../components/explorer/visualizations/field_item.tsx

...ts/explorer/visualizations/drag_drop/drag_drop.tsx

...mponents/common/helpers/ppl_docs/functions/math.ts

... and 155 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 442dcab...d252029. Read the comment docs.


Centralize e2e test data into function catalog repo

The data used in e2e tests in catalog repo is distributed in multiple different repos, like kpt and function-sdk. We should centralize these test data, copy or rewrite, into catalog repo.

This is the blocker for #1248

The e2e test driver has been merged. We can start to refactor the existing e2e tests.

The e2e test driver has been merged. We can start to refactor the existing e2e tests.


Build stand-alone Citadel

Describe the feature request
Remove the dependency on Kubernetes API server from Citadel.
Such stand-alone Citadel is needed by our new test framework, which is able to run every component in local environment as a process.

cc @myidpt @hklai

Thanks for creating this.

Bump this to P0 in Q3.

Discussed with @ozevren about Galley running in a native environment. Galley watches file system https://github.com/istio/istio/tree/master/galley/pkg/source for input config and output.
Galley watches a folder and loads K8s resources when it receives a SIGHUP. Galley also has code to automatically watch folder for changes, but that caused issue with INODE exhaustion in the cluster. That is why SIGHUP mode is in use.
Galley's implementation is not just for test, but also designed for real use cases such as VM deployment.
For stand-alone Citadel, we need to design similar approach to load service accounts from folders on SIGHUP, and perhaps write secrets into folder for Envoy sidecars to pick up.

Thanks Jimmy. I think we can potentially reuse https://github.com/istio/istio/tree/master/galley/pkg/source by moving that to istio/pkg. We can save a decent amount of work if Galley has already done similar things.

Let's be careful here.
First, I am close to landing a refactoring of Galley in main (currently it is in collab-galley). Once it lands, I'll work to make it the default set of libaries Galley uses. it changes pkg/source. Any reorganization we need should take this into account.
https://github.com/istio/istio/tree/collab-galley/galley/pkg/config/source/kube
Second, istio/pkg is meant for top-level/general utilities, and not for our heavy machinery code. Besides, there is a desire to not have K8s dependencies from there. It is probably better to start another repo istio/config and move some of the stuff there.
@geeknoid

Thanks for letting us know, Oz. I can understand the decision on istio/pkg usage, but I feel it's hard to sync the two repos if we put the common utils into a separate repo. Or maybe it's not as hard as I thought? :)
There was also an intent to put the listwatch (https://github.com/istio/istio/tree/master/security/pkg/listwatch) functionality to a common place. And I do see we already have https://github.com/istio/istio/tree/master/pkg/kube directory. I think it would be great if we can make the decision on where to host this code, as a later decision may cause more code refactoring.

We are moving to a multirepo world. There is already a pkg repo where quite a few things have already moved to (not istio/pkg). Anything we put in istio/pkg will also need to move somewhere. The role of the pkg repo is to host core utility libraries with minimal dependencies. K8s dependencies are not desired in that repo. So, I think we need a separate repo for those.
I am landing the new libraries in master now:  https://github.com/istio/istio/pull/15891. Once this lands, you can take a dependency to this directly. As long as your dependencies are confined in pkg/config/... we can move the code appropriately.


Looking for Cargo.toml in a python project

HI, thanks for this amazing project
I tried following the instructions on the readme and opened a Python file.
message on status bar:
could not find  `Cargo.toml` in `path` or any parent directory

It also asked me to add rls to my rustup toolchain, so looks like this is not considering the filetype.

Hi! I updated the messaging for this. Since we now have default values for the LSP configuration, it is unnecessary to show such messages in the status bar. It is now only logged.


python310Packages.recoll: 1.32.0 -> 1.32.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/recoll/versions.
meta.description for python310Packages.recoll is: "A full-text search tool"
meta.homepage for python310Packages.recoll is: "https://www.lesbonscomptes.com/recoll/"
meta.changelog for python310Packages.recoll is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.32.5 with grep in /nix/store/jxp5w7fa6rdzvxrzhhm746ydiv2d12s8-recoll-1.32.5
found 1.32.5 in filename of file in /nix/store/jxp5w7fa6rdzvxrzhhm746ydiv2d12s8-recoll-1.32.5

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.recoll
python39Packages.recoll
recoll

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jxp5w7fa6rdzvxrzhhm746ydiv2d12s8-recoll-1.32.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.recoll https://github.com/r-ryantm/nixpkgs/archive/177a9e4f1597732103a204889376a74955be6d3c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/jxp5w7fa6rdzvxrzhhm746ydiv2d12s8-recoll-1.32.5
ls -la /nix/store/jxp5w7fa6rdzvxrzhhm746ydiv2d12s8-recoll-1.32.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

recoll (python310Packages.recoll)
python39Packages.recoll

Maintainer pings
cc @jcumming @karthikiyengar for testing.

nixpkg-review build succeeded:
2 packages built:
recoll python39Packages.recoll

Program starts fine. Changelog looks like there were only minor changes. LGTM


Notification takes focus from active window on Debian GNU/Linux

When I receive a notification from Teams, the notification window takes focus away from my current active window.
Suggested fix: use the native notification libraries
Environment:
DE: MATE 1.21
WM: Awesome
Teams Version: Latest as of 2020-06-11

@r32rf Please use Report a problem option under Help menu to report this problem.

That button is not there for me.

Hello, is there an ETA on this?  It's really bugging me.  Can I force Teams to use the native notification library?

@r32rf We have reported the issue to the right team who is looking into it. Thanks!

@r32rf We are working on native notifications already. cannot promise any dates, but it is in our roadmap.

Thanks.  I'll revert to using chrome in app mode then until this feature is implemented.  Is there an issue for the roadmap that I can set to "watching"?


Translation of languages.

-What program is used for language translation?
**Is it possible to adapt an API to the old Java application of Youtube, so that it currently works?
Or any way to make this app work?
https://www.youtube.com/watch?v=YkAZy5m46lc&t=232s
https://googlesystem.blogspot.com/2008/01/mobile-youtube-application.html

-What program is used for language translation?
https://github.com/shinovon/jtlngedit

In the LocalizationTableModel.java file, only the Russian language is replaced by which one wishes? or
in all the files, the words that are between "" must be translated.

Use this: https://t.me/nnmidletschat/2688

Usa esto: https://t.me/nnmidletschat/2688

Add the file jtlangeditor.jar in https://github.com/shinovon/jtlngedit. It is more accessible to the download.
Add a manual for translation.
You didn't answer the question.

In the LocalizationTableModel.java file, only the Russian language is replaced by which one wishes? or in all the files, the words that are between "" must be translated.

You didn't answer the question.

In the LocalizationTableModel.java file, only the Russian language is replaced by which one wishes? or in all the files, the words that are between "" must be translated.

There is no need for this.

Add a manual for translation.

UI is very simple

Where do I download this software?
And which files do I need to translate for the Hebrew language
post Scriptum. I don't have a Telegram account


[THORN-2202] Support for inlined JWK sets

@michalszynkiewicz Hi Michal, can you please have a look as well, this patch is a simple enhancement for the Jose fraction as suggested by David, it will allow users who work with JWK users inline the JWK sets inside the YAML config


Tilt autoload coffee_script warning

Need to investigate how to solve this warning, which appears during Capistrano deployment and RSpec tests, without having to add coffee-script to the Gemfile.

Cannot reproduce.


empty response trade offer

i do trade offer but empty response

if ($loginResult == LoginResult::LoginOkay) {
writeLine('Logged in successfully.');
$tradeOffers = $steam->tradeOffers();
var_dump($tradeOffers->getTradeOffersViaAPI(true));

$trade = $tradeOffers->createTrade('xxxxxxx');
$trade->addOtherItem(730, 2, "xxxxxxxxx");
//var_dump($trade->send());
echo $trade->sendWithToken('xxxxxxxx');

echo $trade->getError();

//var_dump($steam->market()->getWalletBalance());

try {
    $confirmations = $steam->mobileAuth()->confirmations()->fetchConfirmations();
    foreach ($confirmations as $confirmation) {
        var_dump($steam->mobileAuth()->confirmations()->getConfirmationTradeOfferId($confirmation));
        var_dump($steam->mobileAuth()->confirmations()->acceptConfirmation($confirmation));
    }
} catch (WgTokenInvalidException $ex) {
    // session invalid
    $steam->mobileAuth()->refreshMobileSession();
}

} else {
writeLine("Failed to login: {$loginResult}.");
}

What should I do to send trade offer

I have similar code, but got error 26 of steam or partner has cancelled the trade.

Bumping this

Fixed it, update php version to 7 and it justworks

Found the issue, the asset ID MUST be a string.


PlayerIDAddress=0x70F050
BattleListAddress=0x76A48C
HealthAddress=0x70E000
MaxManaAddress=0x57045C
ManaAddress=0x57048C
TabsBaseAddress=0x570744
XORAddress=0x570458
MaxHealthAddress=0x70E048
AmmunitionCountAddress=0x7B147C
AmmunitionTypeAddress=0x7B1480
WeaponCountAddress=0x7B14FC
WeaponTypeAddress=0x7B1500
LevelAddress=0x570470
ExperienceAddress=0x570460
ClassicClientName=Tibia
Tibia11Name=client
Tibia11XPos=Qt5Core.dll + 004555C8 > 8 > 134 > 24 > 18
Tibia11YPos=Qt5Core.dll + 004555C8 > 8 > 134 > 24 > 1C
Tibia11ZPos=Qt5Core.dll + 004555C8 > 8 > 134 > 24 > 20
Tibia11MyHP=[2] Qt5Core.dll + 004555C8 > 8 > 124 > 60 > 18
Tibia11MyMaxHP=[2] Qt5Core.dll + 004555C8 > 8 > 124 > 60 > 1A
Tibia11Experience=[8] Qt5Core.dll + 004555C8 > 8 > 124 > 60 > 28
Tibia11Level=[2] Qt5Core.dll + 004555C8 > 8 > 124 > 60 > 30
Tibia11MyMana=[2] Qt5Core.dll + 004555C8 > 8 > 124 > 60 > 60
Tibia11MyMaxMana=[2] Qt5Core.dll + 004555C8 > 8 > 124 > 60 > 62

Hi @DejvVito!
In case you need any help with our frontegg/react SDK, please email us at<EMAIL_ADDRESS>or send us a message via one of our community slack channels and we will be happy to help.

PlayerIDAddress=0x70F050
BattleListAddress=0x76A48C
HealthAddress=0x70E000
MaxManaAddress=0x57045C
ManaAddress=0x57048C
TabsBaseAddress=0x570744
XORAddress=0x570458
MaxHealthAddress=0x70E048
AmmunitionCountAddress=0x7B147C
AmmunitionTypeAddress=0x7B1480
WeaponCountAddress=0x7B14FC
WeaponTypeAddress=0x7B1500
LevelAddress=0x570470
ExperienceAddress=0x570460
ClassicClientName=Tibia
Tibia11Name=client
Tibia11XPos=Qt5Core.dll + 004555C8 > 8 > 134 > 24 > 18
Tibia11YPos=Qt5Core.dll + 004555C8 > 8 > 134 > 24 > 1C
Tibia11ZPos=Qt5Core.dll + 004555C8 > 8 > 134 > 24 > 20
Tibia11MyHP=[2] Qt5Core.dll + 004555C8 > 8 > 124 > 60 > 18
Tibia11MyMaxHP=[2] Qt5Core.dll + 004555C8 > 8 > 124 > 60 > 1A
Tibia11Experience=[8] Qt5Core.dll + 004555C8 > 8 > 124 > 60 > 28
Tibia11Level=[2] Qt5Core.dll + 004555C8 > 8 > 124 > 60 > 30
Tibia11MyMana=[2] Qt5Core.dll + 004555C8 > 8 > 124 > 60 > 60
Tibia11MyMaxMana=[2] Qt5Core.dll + 004555C8 > 8 > 124 > 60 > 62


Providing URLs to imread

The imread function currently performs a glob on the filename given to it as it expects a glob pattern to find local files. I have a case where I have a series of URLs, something that skimage imread can handle, and would like to load them in to one large dask array. I can see by reading the code that this is outside the expected use case of the function, but I think it could be updated to handle it. I'm wondering what be the best way to accomplish this if it fits in with what the original authors expected. Here's the main problem line:
https://github.com/dask/dask/blob/d0daa5bc7e86677b38794d4f9294fcc386f7b067/dask/array/image.py#L48
I'd like to make this take an iterable in which case we expect it not to be a glob pattern and don't assume that the image is on the local system at all.
if isinstance(filename, str):
    # assume glob
else:
    # assume iterable of URIs that exist
# continue on as normal

Thoughts? Problems?

Shoot, this is a problem too:
https://github.com/dask/dask/blob/d0daa5bc7e86677b38794d4f9294fcc386f7b067/dask/array/image.py#L52

Updating this to match the other IO routines makes sense to me. I suggest looking at how other IO routines interact with fsspec. The json reader may provide the simplest example of this: https://github.com/dask/dask/blob/d0daa5bc7e86677b38794d4f9294fcc386f7b067/dask/dataframe/io/json.py#L201-L213. Would you be willing to work on a PR?

In this case I recommend taking a look at http://image.dask.org/en/latest/ ,
which I think has a more advanced method.  cc @jakirkham
On Mon, Dec 9, 2019 at 9:14 AM Jim Crist-Harif<EMAIL_ADDRESS>wrote:

Updating this to match the other IO routines makes sense to me. I suggest
looking at how other IO routines interact with fsspec. The json reader may
provide the simplest example of this:
https://github.com/dask/dask/blob/d0daa5bc7e86677b38794d4f9294fcc386f7b067/dask/dataframe/io/json.py#L201-L213.
Would you be willing to work on a PR?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/5691?email_source=notifications&email_token=AACKZTAQFVL5VLOPK2PASJ3QXZ4JDA5CNFSM4JYC5R52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGJ6B2A#issuecomment-563339496,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKZTBNYRMZL2KIRXAX2YTQXZ4JDANCNFSM4JYC5R5Q
.

I took a look at dask-image. It seems to use pims library's open function. I avoided this initially since it looked like it only accepted single files or glob patterns based on the quick start, but looking deeper it should take a list of filenames.
I wanted to use this functionality for a simple side project (local python meetup kaggle competition), but I ended up using some parts of scikit-image that aren't dask friendly from what I can tell and the computations I'm doing are per-frame so having one giant dask array doesn't necessarily benefit me.
That said, I brought this up and bugged you so I'll try to add the functionality. @jcrist, making the IO functions consistent would be nice. I'm wondering if there is a reason that this imread function was written to use mtime though. I'm a little worried to break this. Regardless, maybe the dask-core version of this should stay as-is and I should look at dask-image more.

So looks like @mrocklin has run in to this already. pims.open doesn't like lists which makes dask-image break. I was about to file a bug with pims since their documentation says a list should work, but found this: https://github.com/soft-matter/pims/issues/310

I'm wondering if there is a reason that this imread function was written to use mtime though

I believe including the last modified time in the array hash is to avoid a re-computation in the case that imread(files) has already been computed and the files haven't been modified since

Right, but how often do image files being analyzed get modified? If this is common or something that people are worried about should this kind of check be adopted by all I/O reading functions?

If there are other things you need from dask-image's imread, issues on that repo would be welcome. 🙂


Default meal capacity setting

Originally created by Tom Smyth at 2018-12-12 09:48, migrated from redmine-#9194

Version set to 6.2

By Tom Smyth at 2018-12-16 23:05

Status changed from New to Resolved

By Tom Smyth at 2018-12-26 01:20

Status changed from Resolved to Closed

By Tom Smyth at 2018-12-26 03:32


formatted code with autopep8

refs #7
and related to this JOSS review

Thank you for the suggestion. We have reformatted the code by autopep8.


Add New Fields to member

Depends on how optional attributes are implemented, might not be implemented

Not going to be implemented in 1.3 anymore


request is super slow to require

Description
const request = require('request')
takes 100 to 150ms to execute (on Linux). Whereas needle, a similar library, only takes 20 to 25ms. I haven't tested needle's require-time on Windows, but request's require-time clocked in at around 800ms on Windows 7, which is pretty ridiculous. The time to require a module may not be an issue for a lot of applications, but it is a concern for electron apps. For example, if I were to build an electron app that called some api, my app's startup time would take an automatic hit of around 100ms just to require in request (and even longer on Windows). Any delay longer than 100ms is felt by a user, so right of the bat, my application loses any chance at being perceived as fast.
I've been working around this by using node's archaic http module, but I'm at a point where its increasingly hard for me to escape request.  Basically any npm module that talks to a server uses request under the hood and consequently inherits request's slow require-time.
Steps to Reproduce
console.time('time-to-require')
const request = require('request')
console.timeEnd('time-to-require')

Going Forward
Can we bring down request's require time (at least to needle's levels)?

+1

975ms in my node.js docker container (linux vm)

It would be nice to see some actual tracing here so that we know for sure what is taking all this time, but my guess would be that it's because of the modularity and the number of dependencies we have. For electron, you could work around this by using browserify --node to build a single bundle (assuming that the problem is in the number of unique files and not in the time to interpret).
Also, I'm curious if you are using npm 2 or 3. If it's npm 3 it may be taking longer because the dependency lookups have to go backwards from the deps back to the top level of the tree.

My findings:

Docker drive is slow, without it 150ms
30% of the time is dependency lookup. I've removed that overhead speed with require 'cache-require-paths'

Didn't research further

@molszanski interesting that lookups take that long, I wonder how much of the remaining time is file reading vs interpretation.

Yeah, more research is required

On Windows here, request takes on average 120ms while needle takes 70ms. I'd like to see this investigated and improved as well.

on a constraint arm device request takes more than 1200ms to load (measured using https://github.com/henvic/require-time).
the problem seems to be the huge dependencies request needs, more than 60 packages, also see https://github.com/nodejs/node/issues/8259 for more details


Problems with quantization. Op type not registered 'Dequantize' and other problems

Hi Everyone,
I did quantization with tensorflow following this manual: https://www.tensorflow.org/versions/master/how_tos/quantization/index.html
Here detailed description of my current problem:
http://stackoverflow.com/questions/38615558/bug-in-tensorflow-tuttorial-about-quantization
And here parent problem:
http://stackoverflow.com/questions/38595600/notfounderror-op-type-not-registered-dequantize
I use pip install tensorflow. Python2.7, tensorflow=0.9.0
Also I have git-master repository and use bazel-build for other tools like freezing and so on.
bazel version=0.3.0
OS: Ubuntu 16.04 LTS
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.1)
@petewarden
I am ready to give you any additional information
Thanks,
Artem

Same problems. Can't load the quantization library anyway!

i found a solution, rebuilt the label_image by adding two lines below
"//tensorflow/contrib/quantization:cc_ops",
"//tensorflow/contrib/quantization/kernels:quantized_ops"

into tensorflow/examples/label_image/BUILD . It works for me (ubuntu 1404LTS, tf0.9-gpu ).

I'm facing the same issue, however in my case adding the dependencies doesn't work because they don't compile for Android.

@perone same problem as you, did your android project work now? @petewarden can you give a tutorial about how android project use the quantize neural networks ?

@chenbiaolong not yet, I tried to add the required dependencies (the quantized operations) but they do not compile for Android, it seems that quantization isn't ready yet for Android compilation.

I am facing the same issues when trying to use a quantized network on Android (tried both with TF r0.8 and r0.10). Any news, solutions or advices? :)

Please upgrade to a newer version, 0.12.1 or master. Feel free to open a new issue if the problem persists.


[docs] Added a glossary list to keep consistency

Much inconsistency is found in docs. It's time to add a glossary list, so everyone can follow the glossary and reduce confusion. Starting from four modules of HwameiStor:

local-disk-manager
local-storage
scheduler
admission-controller
HwameiStor

Add more day by day.

Great! Can you help to check the documents and correct the inconsistent?

Please add a section of glossary in the documents.


Please add a link to the release notes

I think it might be a good idea to add a link in the README.md to the release notes.  There has been a major version bump and we need to know what's changed.  Inferring it from the commit history isn't ideal.

@npomfret We can do so - but to help you out right now please take a look at https://github.com/googleapis/nodejs-firestore/blob/master/CHANGELOG.md

thanks

Fixed by #1278


Smart Contract Verification with Blockscout

Describe the feature request
documentation of taiko is super clear but had several problems verifying
Describe alternatives you've considered
Description of the alternatives you've considered here.
Additional context
remix usage can be added

I think this might work if you add \? to the end of the Blockscout verification URL.
Test verification on Scroll
forge verify-contract 0xC08bAe25c62Dc5488AC46905ADDe1609b52A3844 src/Contract.sol:SimpleStorage --chain-id 534353 --verifier blockscout --verifier-url https://blockscout.scroll.io/api\?

Response
Start verifying contract `0xc08bae25c62dc5488ac46905adde1609b52a3844` deployed on scroll-alpha-testnet

Submitting verification for [src/Contract.sol:SimpleStorage] "0xC08bAe25c62Dc5488AC46905ADDe1609b52A3844".
Submitted contract for verification:
        Response: `OK`
        GUID: `c08bae25c62dc5488ac46905adde1609b52a384464bec9dd`
        URL:
        https://blockscout.scroll.io/address/0xc08bae25c62dc5488ac46905adde1609b52a3844

Source
https://github.com/foundry-rs/foundry/issues/5160#issuecomment-1599602416

On Taiko L2 when I run
forge verify-contract 0x860eAfD65249D09268A314D7d56d686d4784A5a5 src/Contract.sol:SimpleStorage --chain-id 167005 --verifier blockscout --verifier-url https://explorer.test.taiko.xyz/api\?

I get
Start verifying contract `0x860eafd65249d09268a314d7d56d686d4784a5a5` deployed on 167005

Submitting verification for [src/Contract.sol:SimpleStorage] "0x860eAfD65249D09268A314D7d56d686d4784A5a5".
Submitted contract for verification:
        Response: `OK`
        GUID: `860eafd65249d09268a314d7d56d686d4784a5a564beccda`
        URL:
        https://explorer.test.taiko.xyz/api?/address/0x860eafd65249d09268a314d7d56d686d4784a5a5

However on Taiko L3 when I run
forge verify-contract 0xfE854EB335786037aDb33C36936f679CA127C3CD src/Contract.sol:SimpleStorage --chain-id 167006 --verifier blockscout --verifier-url https://explorer.l3test.taiko.xyz/api\?

I get error
Start verifying contract `0xfe854eb335786037adb33c36936f679ca127c3cd` deployed on 167006
2023-07-24T19:13:02.975541Z ERROR etherscan: Failed to deserialize response: expected value at line 1 column 1 ...
Error:
expected value at line 1 column 1

Similar to error
https://github.com/blockscout/blockscout/issues/7983

Which problems did you have verifying contracts on Blockscout?

Closing issue since Foundry Blockscout verification is working as shown here
https://github.com/taikoxyz/taiko-mono/pull/14266


Move GetDefaultRouteAnnotations to SpecCore

The GetDefaultRouteAnnotations function needs to be a method of the OctaviaSpecCore struct rather than OctaviaSpec. This will resolve the issue seen in: https://github.com/openstack-k8s-operators/openstack-operator/pull/1071

Verifying  that this does indeed resolve the problem with the openstack-operator PR:
❯ go list -m -json github.com/bshephar/octavia-operator/api@move-annotation-to-spec-core | jq '.|"\(.Path) \(.Version)"'
"github.com/bshephar/octavia-operator/api v0.0.0-20241029022303-7c1a09fbebbe"

❯ tail -n1 go.mod apis/go.mod
==> go.mod <==
replace github.com/openstack-k8s-operators/octavia-operator/api => github.com/bshephar/octavia-operator/api v0.0.0-20241029022303-7c1a09fbebbe

==> apis/go.mod <==
replace github.com/openstack-k8s-operators/octavia-operator/api => github.com/bshephar/octavia-operator/api v0.0.0-20241029022303-7c1a09fbebbe

We can see that no errors are returned from go vet after this change.
❯ go vet ./...

Thanks @bshephar for this, I already added those lines (or similar ones in this another PR https://github.com/openstack-k8s-operators/octavia-operator/pull/403/files#diff-d85dfd4f9255eccbf67bef3351764d06d3770a1e4366b602d8324480705acd14R201) but feel free to continue with this one.

Ah, cool. Yeah, we can go with your one then. I was just looking at why the openstack-operator PR was failing, so I was only really focused on that single problem when I sent this.


rocm driver error 'hipErrorSharedObjectInitFailed' (303): shared object initialization failed

Win 11, rocm 5.5. First to get it running at all I had to add C:\Program Files\AMD\ROCm\5.5\bin to PATH because it said it could not find hipminfo, however the file is there but called hipInfo.exe. Vulkan backend works.
Using txt2img I get the following error:
shark_tank local cache is located at C:\Users\nwohl\.local/shark_tank/ . You may change this by setting the --local_tank_cache= flag
Tuned models are currently not supported for this setting.
saving euler_scale_model_input_1_512_512_rocm_fp16_torch_linalg.mlir to C:\Users\nwohl\AppData\Local\Temp
loading existing vmfb from: C:\Users\nwohl\Downloads\euler_scale_model_input_1_512_512_rocm_fp16.vmfb
Loading module C:\Users\nwohl\Downloads\euler_scale_model_input_1_512_512_rocm_fp16.vmfb...
Traceback (most recent call last):
  File "gradio\queueing.py", line 388, in call_prediction
  File "gradio\route_utils.py", line 219, in call_process_api
  File "gradio\blocks.py", line 1437, in process_api
  File "gradio\blocks.py", line 1123, in call_function
  File "gradio\utils.py", line 503, in async_iteration
  File "gradio\utils.py", line 496, in __anext__
  File "anyio\to_thread.py", line 33, in run_sync
  File "anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
  File "anyio\_backends\_asyncio.py", line 807, in run
  File "gradio\utils.py", line 479, in run_sync_iterator_async
  File "gradio\utils.py", line 629, in gen_wrapper
  File "ui\txt2img_ui.py", line 160, in txt2img_inf
  File "apps\stable_diffusion\src\schedulers\sd_schedulers.py", line 103, in get_schedulers
  File "apps\stable_diffusion\src\schedulers\shark_eulerdiscrete.py", line 111, in compile
  File "apps\stable_diffusion\src\schedulers\shark_eulerdiscrete.py", line 93, in _import
  File "apps\stable_diffusion\src\utils\utils.py", line 186, in compile_through_fx
  File "apps\stable_diffusion\src\utils\utils.py", line 70, in _compile_module
  File "shark\shark_inference.py", line 224, in load_module
    params = load_flatbuffer(
             ^^^^^^^^^^^^^^^^
  File "shark\iree_utils\compile_utils.py", line 475, in load_flatbuffer
    vmfb, config, temp_file_to_unlink = load_vmfb_using_mmap(
                                        ^^^^^^^^^^^^^^^^^^^^^
  File "shark\iree_utils\compile_utils.py", line 411, in load_vmfb_using_mmap
    ctx.add_vm_module(mmaped_vmfb)
  File "iree\runtime\system_api.py", line 271, in add_vm_module
  File "iree\runtime\system_api.py", line 268, in add_vm_modules
RuntimeError: Error registering modules: C:\actions-runner\w\SRT\SRT\c\experimental\rocm\status_util.c:31: INTERNAL; rocm driver error 'hipErrorSharedObjectInitFailed' (303): shared object initialization failed; while invoking native function hal.executable.create; while calling import;
[ 1]   native hal.executable.create:0 -
[ 0] bytecode module@1:250 -

hipInfo:
--------------------------------------------------------------------------------
device#                           0
Name:                             Radeon RX Vega M GH Graphics
pciBusID:                         1
pciDeviceID:                      0
pciDomainID:                      0
multiProcessorCount:              24
maxThreadsPerMultiProcessor:      2048
isMultiGpuBoard:                  0
clockRate:                        1190 Mhz
memoryClockRate:                  800 Mhz
memoryBusWidth:                   0
totalGlobalMem:                   4.00 GB
totalConstMem:<PHONE_NUMBER>
sharedMemPerBlock:                64.00 KB
canMapHostMemory:                 1
regsPerBlock:                     0
warpSize:                         64
l2CacheSize:                      1048576
computeMode:                      0
maxThreadsPerBlock:               1024
maxThreadsDim.x:                  1024
maxThreadsDim.y:                  1024
maxThreadsDim.z:                  1024
maxGridSize.x:<PHONE_NUMBER>
maxGridSize.y:<PHONE_NUMBER>
maxGridSize.z:<PHONE_NUMBER>
major:                            8
minor:                            0
concurrentKernels:                1
cooperativeLaunch:                0
cooperativeMultiDeviceLaunch:     0
isIntegrated:                     0
maxTexture1D:                     16384
maxTexture2D.width:               16384
maxTexture2D.height:              16384
maxTexture3D.width:               2048
maxTexture3D.height:              2048
maxTexture3D.depth:               2048
isLargeBar:                       0
asicRevision:                     0
maxSharedMemoryPerMultiProcessor: 64.00 KB
clockInstructionRate:             1000.00 Mhz
arch.hasGlobalInt32Atomics:       1
arch.hasGlobalFloatAtomicExch:    1
arch.hasSharedInt32Atomics:       1
arch.hasSharedFloatAtomicExch:    1
arch.hasFloatAtomicAdd:           1
arch.hasGlobalInt64Atomics:       1
arch.hasSharedInt64Atomics:       1
arch.hasDoubles:                  1
arch.hasWarpVote:                 1
arch.hasWarpBallot:               1
arch.hasWarpShuffle:              1
arch.hasFunnelShift:              0
arch.hasThreadFenceSystem:        1
arch.hasSyncThreadsExt:           0
arch.hasSurfaceFuncs:             0
arch.has3dGrid:                   1
arch.hasDynamicParallelism:       0
gcnArchName:                      gfx803
peers:
non-peers:                        device#0

memInfo.total:                    4.00 GB
memInfo.free:                     3.88 GB (97%)

Im having the same problem using ROCm on my 7900XT. This is my log:
To create a public link, set share=Trueinlaunch()`.
Tuned models are currently not supported for this setting.
failed to download model, falling back and using import_mlir
saving euler_scale_model_input_1_512_512_rocm_fp16_torch_linalg.mlir to C:\Users\Admin\AppData\Local\Temp
loading existing vmfb from: L:\LLM\euler_scale_model_input_1_512_512_rocm_fp16.vmfb
Loading module L:\LLM\euler_scale_model_input_1_512_512_rocm_fp16.vmfb...
Traceback (most recent call last):
File "apps\stable_diffusion\src\schedulers\shark_eulerdiscrete.py", line 112, in compile
File "apps\stable_diffusion\src\utils\utils.py", line 102, in get_shark_model
File "shark\shark_downloader.py", line 207, in download_model
shark_args.shark_prefix = get_sharktank_prefix()
^^^^^^^^^^^^^^^^^^^^^^
File "shark\shark_downloader.py", line 175, in get_sharktank_prefix
desired_prefix = get_git_revision_short_hash()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "shark\shark_downloader.py", line 160, in get_git_revision_short_hash
with open(src, "r") as f:
^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Admin\AppData\Local\Temp\_MEI268922\shark\..\tank_version.json'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "gradio\queueing.py", line 388, in call_prediction
File "gradio\route_utils.py", line 219, in call_process_api
File "gradio\blocks.py", line 1437, in process_api
File "gradio\blocks.py", line 1123, in call_function
File "gradio\utils.py", line 503, in async_iteration
File "gradio\utils.py", line 496, in anext
File "anyio\to_thread.py", line 33, in run_sync
File "anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 807, in run
File "gradio\utils.py", line 479, in run_sync_iterator_async
File "gradio\utils.py", line 629, in gen_wrapper
File "ui\txt2img_ui.py", line 160, in txt2img_inf
File "apps\stable_diffusion\src\schedulers\sd_schedulers.py", line 103, in get_schedulers
File "apps\stable_diffusion\src\schedulers\shark_eulerdiscrete.py", line 127, in compile
File "apps\stable_diffusion\src\schedulers\shark_eulerdiscrete.py", line 90, in _import
File "apps\stable_diffusion\src\utils\utils.py", line 186, in compile_through_fx
File "apps\stable_diffusion\src\utils\utils.py", line 70, in _compile_module
File "shark\shark_inference.py", line 232, in load_module
params = load_flatbuffer(
^^^^^^^^^^^^^^^^
File "shark\iree_utils\compile_utils.py", line 505, in load_flatbuffer
vmfb, config, temp_file_to_unlink = load_vmfb_using_mmap(
^^^^^^^^^^^^^^^^^^^^^
File "shark\iree_utils\compile_utils.py", line 436, in load_vmfb_using_mmap
ctx.add_vm_module(mmaped_vmfb)
File "iree\runtime\system_api.py", line 271, in add_vm_module
File "iree\runtime\system_api.py", line 268, in add_vm_modules
RuntimeError: Error registering modules: C:\actions-runner\w\SRT\SRT\c\experimental\rocm\status_util.c:31: INTERNAL; rocm driver error 'hipErrorSharedObjectInitFailed' (303): shared object initialization failed; while invoking native function hal.executable.create; while calling import;
[ 1]   native hal.executable.create:0 -
[ 0] bytecode module@1:280 -`

Hi folks! Thanks for reporting this issue, it helps us cover a variety of use cases for our end users.
#1950 should fix the issue, if y'all still face this feel free to reopen, closing for now.


stuck on connect long time until failed - computer use

@YanivHaliwa this is most likely a duplicate of #42


intention of event packets, include minutes?

After a meeting is held, should an event packet include the minutes? Or should it only include the agenda and board report items, as it does before the minutes are finalized?

Including the minutes in the event packet after the meeting is a fantastic idea. Two considerations:

Presently, minutes are only created for the Regular Board Meeting.
The time frame in which minutes are posted after the meeting is inconsistent. For example, they're still not posted for the 10/26/19 meeting.
If the logic was, if there are minutes then include in packet, this would be a very useful enhancement.

Update - Omar pointed out a couple issues with including minutes with the agenda packet:

There would be two sets of minutes in every Regular Board Meeting agenda packet. Minutes from the previous meeting, to be approved + minutes of the current meeting, appended to the packet if we move forward with this enhancement.
There's potentially a conflict/confusion in having two sets of minutes for Regular Board Meetings, especially because there are none for Committee meetings.

To solve the issue, we could remove the minutes from the previous meeting. This would cause a missing item on the Regular Board Meeting agenda (item #2).
Removing the minutes "to be approved" from the previous meeting isn't the best resolution to any potential confusion.
Omar and I plan to discuss further tomorrow.

After discussing, we concluded the agenda packet should only include the agenda and board report items, as it does before the minutes are finalized.

great, thanks!


ciao-deploy: container ciao-keystone not working on ubuntu and fedora

I try to install ciao in an ubuntu cluster, but when try to run ciao-cli commands, I receive this error
root@controller-ubuntu:~# source admin-ciaorc
root@controller-ubuntu:~# ciao-cli node status
E0209 22:36:46.644648    4426 authenticate.go:43] ciao-cli ERROR: Could not get AuthenticatedClient Post https://controller-ubuntu.intel.com:35357/v3/auth/tokens: x509: certificate has expired or is not yet valid
F0209 22:36:46.645973    4426 main.go:436] ciao-cli FATAL: Failed to create an AuthenticatedClient: Post https://controller-ubuntu.intel.com:35357/v3/auth/tokens: x509: certificate has expired or is not yet valid
goroutine 1 [running]:
github.com/01org/ciao/vendor/github.com/golang/glog.stacks(0x9e9a00, 0xc400000000, 0xcb, 0x119)
	/tmp/go/src/github.com/01org/ciao/vendor/github.com/golang/glog/glog.go:769 +0xa5
github.com/01org/ciao/vendor/github.com/golang/glog.(*loggingT).output(0x9cd720, 0xc400000003, 0xc420191380, 0x9a6e9f, 0x7, 0x1b4, 0x0)
	/tmp/go/src/github.com/01org/ciao/vendor/github.com/golang/glog/glog.go:720 +0x357
github.com/01org/ciao/vendor/github.com/golang/glog.(*loggingT).printDepth(0x9cd720, 0xc400000003, 0x1, 0xc420497d18, 0x1, 0x1)
	/tmp/go/src/github.com/01org/ciao/vendor/github.com/golang/glog/glog.go:646 +0x126
github.com/01org/ciao/vendor/github.com/golang/glog.FatalDepth(0x1, 0xc420497d18, 0x1, 0x1)
	/tmp/go/src/github.com/01org/ciao/vendor/github.com/golang/glog/glog.go:1134 +0x5d
main.fatalf(0xc4201a61b0, 0x8f, 0x0, 0x0, 0x0)
	/tmp/go/src/github.com/01org/ciao/ciao-cli/main.go:132 +0x126
main.prepareForCommand()
	/tmp/go/src/github.com/01org/ciao/ciao-cli/main.go:436 +0x342
main.(*command).run(0x9cbba0, 0xc4200781c0, 0x0, 0x0, 0xc4200aabf8, 0x0)
	/tmp/go/src/github.com/01org/ciao/ciao-cli/main.go:57 +0x120
main.main()
	/tmp/go/src/github.com/01org/ciao/ciao-cli/main.go:466 +0xf7
root@controller-ubuntu:~#

and when login into the ciao-keystone container and try to get the user list, I receive this error
root@controller-ubuntu:~# docker exec -it ciao-keystone bash
root@c0ab8463ea10 /root # source openrc                                                                                root@c0ab8463ea10 /root # source openrc
root@c0ab8463ea10 /root # openstack user list
Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
SSL exception connecting to https://controller-ubuntu.intel.com:35357/v3/auth/tokens: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
root@c0ab8463ea10 /root #

I saw the same error in Fedora, Clearlinux works fine
I'm using branch 86 for ciao

Can you check the date/time on the host on which you created the certificates, versus the date/time on the machines using the certificates?
x509: certificate has expired or is not yet valid

^^^^ is telling you that you have a clock issue.

after setting a time server in the configuration for Ubuntu and Fedora, the error is gone, closing  this issue


fsync() to fdatasync() in SyncDirIfManifest()

It is not a bug or issue.
It is just a comment for tuning of SyncDirIfManifest().

I think fdatasync() is enough to sync directory and can show a little bit
better performance.

diff --git a/util/env_posix.cc b/util/env_posix.cc
index e1cbebd..e563663 100644
--- a/util/env_posix.cc
+++ b/util/env_posix.cc
@@ -233,7 +233,7 @@ class PosixWritableFile : public WritableFile {
       if (fd < 0) {
         s = IOError(dir, errno);
       } else {
-        if (fsync(fd) < 0) {
+        if (fdatasync(fd) < 0) {
           s = IOError(dir, errno);
         }
         close(fd);

Thank you.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 17 Jul 2014 at 6:11

The code already falls back to fsync when fdatasync is not available by
"#define fdatasync fsync." This change should work on all platforms with fsync.

Original comment by<EMAIL_ADDRESS>on 17 Jul 2014 at 5:32

fdatasync() is from glibc and is not available on all supported platforms e.g.
Windows, OS X, so a fallback would need to be defined.

Original comment by<EMAIL_ADDRESS>on 17 Jul 2014 at 5:26


🚧 Resolve scalar stitching in delegated fields

Resolves #1220

OK, the issue is that the gateway tries to deserialize the types. I think they should be kept as literals  .

Found the issue... I have to check what a change their impacts... But I think we can keep the stricter argument validation and change the scoped variable handlers to only use literals. That would be the best outcome...
Have a talk tonight will look into fixing this tomorrow... I will put this in preview.8

This one has quite an impact.


revisit holding content type label vs facet content type label

Summon data indexing problem. Journal/eJournal is supposed to be any record with MARC leader 06-07 value of 'as'. The index doesn't follow that rule strictly, and in some cases the 'as' records are categorized as a Newspaper. (the american poetry review, bibid 2270590)
We compensated for this on the library search tabs by making a journal title search match either the newspaper facet or the Journal/eJournal facet.

Having gone six months in the current configuration, I am closing this issue as a 'won't fix.'


Update MIME docs

$subject and deprecate MIME encode and decode functions
Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #19109 into ballerina-1.0.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.0.x   #19109   +/-   ##
================================================
  Coverage            15.73%   15.73%
================================================
  Files                   47       47
  Lines                 1265     1265
  Branches               197      197
================================================
  Hits                   199      199
  Misses                1053     1053
  Partials                13       13

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 03b2b1e...d6266e1. Read the comment docs.


Download logs feature fails to connect with default IP of 10.00.AM.2

Had trouble downloading logs when connected to the Rio via Ethernet. I could SSH in, and advantagescope was showing the live robot view, but could not see log files.
To Reproduce

Set team radio to a 2-digit team number (e.g 78)

Set advantage scope IP address to 10.00.AM.2 (e.g <IP_ADDRESS>)

Select "Download Logs"

get unknown address error

change robot ip in preferences to 10.0.AM.2 (e.g <IP_ADDRESS>)

Expected behavior

connects to robot and downloads logs

Version (required):
Will update when I'm back at computer
Additional context
Add any other context about the problem here.

Same issue, Exact same reproduce step but with a 2 digit team number 86.
Version:  3.2.1
Only solution I found was plugging into the roborio with USB cable or unplugging the USB Drive

@importly Did my solution of using <IP_ADDRESS> instead of <IP_ADDRESS> work?

@ArchdukeTim Yes, using <IP_ADDRESS> instead of <IP_ADDRESS> worked for me. I did not try that at first. I think the simple way to solve this for any of the 99 teams trying to download logs with a regex expression. Thanks for the solution.


Make a node double its size on mouseOver

I am having a bit of a hard time understanding how sigma.js handles the size of nodes and edges.
I get that you set a minNodeSize and maxNodesSize in the graph's setting. Actual display size is then assigned depending on the node's individual size as well as the level of zoom of the graph. Correct?
What I am trying to achieve is that a node doubles its size on a mouseOver, and shrinks back to the original size on a mouseOut. Here is my code:
var minNodeSize = 1;
var maxNodeSize = 5;

sigma.parsers.json('giantComponent.json', {
      container: 'graph',
      settings: {
      	minNodeSize: minNodeSize,
      	maxNodeSize: maxNodeSize
	  }

      //Assign same size to all nodes
      var s = sigma.instances()[0];
      var nodes = s.graph.nodes();
      nodes.forEach(function (n) {
	      n.size= maxNodeSize/2;
      })
	}
	);

//Function to change a nodes size on mouseOVer
function interactiveNodes () {
    var s = sigma.instances()[0];
    var nodes = s.graph.nodes();
    s.bind('overNode', function (d) {
	    d.data.node.size = maxNodeSize;
	    s.refresh();
    })
    s.bind('outNode', function (d) {
	    d.data.node.size = maxNodeSize/2;
	    s.refresh();
    })
    }

Result: when I hover on a node that node stays the same size while all other nodes shrink to half their size.
Any ideas?

This is due to the autoRescale settings which scale every dimensions to be relative to each other in order to avoid strange things. But, in your case, this is hindering you. Try disabling it or tweak it not to affect sizes and tell me if this works.

setting autoRescale : false does work indeed! However, my starting graph is much smaller (it got zoomed out) and I am not sure how to change that.
I am looking at the camera API documentation but not finding much about zoom levels.

Try autoRescale: ['nodePosition', 'edgeSize']. It will only rescale position and edge sizes.

Yes that did the trick!! Thank you!
However, refreshing the all graphs makes the the all animation quite laggy. I tried to use refresh() only on the node whose size needs to change:
s.bind('overNode', function (d) { 		//Change node size (too laggy) 		d.data.node.size = maxNodeSize; 		// s.refresh(); 		d.data.node.refresh();
But that does not work.
Any idea how I can achieve a smoother animation?


Update the go-version in the example as a string.

Why:
Closes: #24926

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[x] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

@sijysn Thank you for opening a PR and linking it to your issue! ✨
I'll get this triaged for review! :zap:

@cmwilson21
I have checked!

This PR resolved the issue. Thank you.
https://github.com/github/docs/pull/25146

@sijysn Thank you for coming back and letting us know! ✨


⚠ Samsung has degraded performance

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

HTTP code: 200
Response time: 2645 ms

Resolved: Samsung performance has improved in fc8ef90.


nl-BE.js and fr-BE.js

It occurs to me that there are issues with the Dutch and French language for Belgian websites. This is probably because the following libraries don't exist:
/lib/OpenLayers/Lang/nl-BE.js
/lib/OpenLayers/Lang/fr-BE.js
(Belgium is a country with two major language communities)
See: https://www.drupal.org/node/2407917
Any ideas how this can be solved?

wrong issue tracker use https://github.com/openlayers/openlayers/issues instead

Ok, for anyone who'd land on this one: https://github.com/openlayers/openlayers/issues/1424


TypeError: Cannot read property 'filters' of undefined

Version
0.0.90
Description
The bot is raising TypeError: Cannot read property 'filters' of undefined errors every second and I can't log anymore in the GUI. Restarting the bot doesn't fix the issue. I've no clue what to do to recover my setup, beyond trying to backup/restore with latest PR.
To Reproduce
It seems to have happened after applying a global configuration on customised settings.
Additional context
Here are the logs after a restart:
><EMAIL_ADDRESS>migrate:up /srv
> migrate up --store=/srv/mongo-state-storage.js

WARNING: NODE_ENV value of 'production' did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
  migration : complete

><EMAIL_ADDRESS>start /srv
> node dist/server.js

WARNING: NODE_ENV value of 'production' did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
[2022-09-15T08:54:09.559Z] ERROR: binance-api/46 on 883a0055cdf0: ⚠ Execution failed. (version=0.0.90, gitHash=48865a0, server=cronjob, job=trailingTradeIndicator, uuid=14ae6f11-5d1d-47a2-b80d-92cf3c7eb56a, debug=true, saveLog=true)
    TypeError: Cannot read property 'filters' of undefined
        at getSymbolInfo (/srv/dist/server.js:1:72487)
        at async execute (/srv/dist/server.js:1:97358)
        at async /srv/dist/server.js:1:90356
        at async errorHandlerWrapper (/srv/dist/server.js:1:101469)
        at async execute (/srv/dist/server.js:1:89686)
        at async /srv/dist/server.js:1:136343
        at async CJ.<anonymous> (/srv/dist/server.js:1:136181)
[2022-09-15T08:54:16.364Z] ERROR: binance-api/46 on 883a0055cdf0: ⚠ Execution failed. (version=0.0.90, gitHash=48865a0, server=binance, helper=queue, jobName=trailingTrade, correlationId=beb3073d-7272-404c-b013-430a6ee6ce09, symbol=BTCDOWNUSDT, debug=true, saveLog=true)
    TypeError: Cannot read property 'filters' of undefined
        at getSymbolInfo (/srv/dist/server.js:1:72487)
        at async execute (/srv/dist/server.js:1:42427)
        at async /srv/dist/server.js:1:21183
        at async errorHandlerWrapper (/srv/dist/server.js:1:101469)
        at async execute (/srv/dist/server.js:1:19855)
[2022-09-15T08:54:16.650Z] ERROR: binance-api/46 on 883a0055cdf0: Unable to fully release the lock on resource "redlock:trailing-trade-symbols:TRXDOWNUSDT-symbol-info". (version=0.0.90, gitHash=48865a0)
    LockError: Unable to fully release the lock on resource "redlock:trailing-trade-symbols:TRXDOWNUSDT-symbol-info".
        at loop (/srv/node_modules/redlock/redlock.js:282:18)
        at /srv/node_modules/redlock/redlock.js:462:10
        at tryCatcher (/srv/node_modules/standard-as-callback/built/utils.js:12:23)
        at /srv/node_modules/standard-as-callback/built/index.js:22:53
        at runMicrotasks (<anonymous>)
        at processTicksAndRejections (internal/process/task_queues.js:95:5)
[2022-09-15T08:54:17.055Z] ERROR: binance-api/46 on 883a0055cdf0: ⚠ Execution failed. (version=0.0.90, gitHash=48865a0, server=binance, helper=queue, jobName=trailingTrade, correlationId=ea036c7c-db11-4f48-9d51-9e76bfed2516, symbol=BNBUPUSDT, debug=true, saveLog=true)
    TypeError: Cannot read property 'filters' of undefined
        at getSymbolInfo (/srv/dist/server.js:1:72487)
        at async execute (/srv/dist/server.js:1:42427)
        at async /srv/dist/server.js:1:21183
        at async errorHandlerWrapper (/srv/dist/server.js:1:101469)
        at async execute (/srv/dist/server.js:1:19855)
[2022-09-15T08:54:17.360Z] ERROR: binance-api/46 on 883a0055cdf0: ⚠ Execution failed. (version=0.0.90, gitHash=48865a0, server=binance, helper=queue, jobName=trailingTrade, correlationId=88bdac52-67cb-4aa8-a8f8-8ce193ff6394, symbol=BNBDOWNUSDT, debug=true, saveLog=true)
    TypeError: Cannot read property 'filters' of undefined
        at getSymbolInfo (/srv/dist/server.js:1:72487)
        at async execute (/srv/dist/server.js:1:42427)
        at async /srv/dist/server.js:1:21183
        at async errorHandlerWrapper (/srv/dist/server.js:1:101469)
        at async execute (/srv/dist/server.js:1:19855)

At 08:32:53.042 UTC those messages started here as well. I get:
(09:21:20.035) Execution failed:
Job: Trailing Trade Indicator
Code: undefined
Message:
Cannot read property 'filters' of undefined
- Current API Usage: 40

Last config changes were done around 4 hours ago.
There is a new message every 20-50 seconds.

The message flooding seems to have ended. Last message was sent at 10:31:56.076 UTC.

Indeed. I just started my instance again and everything seems alright. I'm curious to understand which external dependency (binance, tradingview,...) produced this temporary glitch.

Close the issue. Feel free to reopen if needed.


chore: release proposal 0.2.1

Release Notes

Looking at the commit list.. I only see patch-level (fix, chore, test) changes. Why does this need to be a 0.3.0 instead of 0.2.1?

It doesn't, I didn't realize I didn't add any features.


validate method to validate entire result

so you can define def validate(self): which can be used to validate entire model.

with FieldError exceptions can be added to one or a field.

should allow some kind of "before" logic, eg. to set now for a PastDatetime type.


Localization files top element

We had this problem a few weeks ago, I think it still applies.
When generating with languages like "da-DK", "de-DE" etc. Then the top element becomes "da", "de" etc.
We just changed it since...
# file: localization.da-DK.yml
...
# You can edit and/or add new localization keys here, they won't be touched by Translation.io.
...

Hi @ChillyFlashER,
I don't understand the issue.
Are you talking about the top element in the YAML file? Which on, translation.*.yml or localization.*.yml?
The top element should be the same as the languages you defined in the config/translation.rb file.
Could you be more specific about your issue and paste some snipped of your configuration and problematic YAML files?
(Sorry for the delay, I'll try to be more reactive from now)

Hi,
When we first setup new languages the top element in the YAML file the header didn't match the language code.
This was a while ago and I haven't tried it again. It might just have been something to do with our first setup that went wrong or something similar.
So when we generated new files for languages like da-DK it produced a file like this.
## Source: config/locales/localization.da-DK.yml
# THIS FILE CONTAINS LOCALIZATION KEYS : date and number formats, number precisions,
# number separators and all non-textual values depending on the language.
# These values must not reach the translator, so they are separated in this file.
#
# More info here: https://translation.io/blog/gettext-is-better-than-rails-i18n#localization
#
# You can edit and/or add new localization keys here, they won't be touched by Translation.io.
#
# If you want to add a new localization key prefix, use the option described here:
# https://github.com/aurels/translation-gem#custom-localization-key-prefixes
#
---
da:
  ...

And the gem was looking for da-DK so it couldn't find the translations, we fixed it by manually changing all the keys of languages that has a dash in it.

Thanks @ChillyFlashER,
I understood the issue, I'll try to reproduce this error but it seems weird, it should definitely work as expected.
I'll keep you in touch.

I can confirm that you are absolutely right. It only impacts localization.xx.yml files (not translation.xx.yml files).
It still works quite good since "de-DE" fallbacks to "de" and "da-DK" fallbacks to "da". But I need to fix this. Thanks a lot!

That should have been recently fixed. Thanks for the feedback!


Default exports losing type information

Okay, this one might get a bit tricky to explain...
Basically if a base library (lib) that uses phantom re-exports a default export class in the "main export" (like index.ts in root of project), type information cannot be resolved in a consuming project (app)
Created https://github.com/dwelch2344/phantomdi-public-exports to showcase it.
Example Setup
lib/example.ts
export default class ExampleClass {}

lib/index.ts
export { default as ExampleClass } from './example`

app/app.ts
import { ExampleClass } from 'lib'

function doThing(ex: ExampleClass) {
  console.log('do thing', ex)
}

// injector([ provide(ExampleClass) ]).invoke(null, doThing)

Will fail. Interestingly, direct import (ie import ExampleClass from 'lib/lib/example.js') works fine...
More comprehensive info on the README, but had a few on my lunch so wanted to get this over

Beautiful repro! I will take a look!

OK so the issue stems from:
// example-app.js type lib:
[93]: { LΦ: t => require("phantomdi-lib").default }, [14]: { LΦ: t => Number } }

However, the correct import is:
require("phantomdi-lib").ExampleClass

It looks like typescript-rtti is getting confused about the original export style versus the final export style (since this is a re-export of the default)

Filed https://github.com/typescript-rtti/typescript-rtti/issues/27 upstream
Yes, dealing with cross package testing is difficult, and I don't have a great way to do it yet. But luckily this can be reproduced within a single compilation unit:
it('emits correctly for non-default re-export of a default export', async () => {
    let exports = await runSimple({
        trace: true,
        moduleType,
        code: `
            import { A } from "./libf";
            export function f(a : A) { }
            export { A } from "./libf";
        `,
        modules: {
            './libf.ts': `
                export { default as A } from './a'
            `,
            './a.ts': `
                export default class A {
                    method(hello : lib.A) { return 123; }
                }
            `
        }
    });

    let params = Reflect.getMetadata('rt:p', exports.f);
    expect(params[0].t()).to.equal(exports.A);
});

Fantastic work finding this @dwelch2344 :-D Thank you for such a good repro! This should be fixed pretty quick, hopefully tonight.

I believe this is fixed with<EMAIL_ADDRESS>reopen if you see otherwise!


Add support for options on vue3

As it is not possible to use prototype in vue3 anymore, we could now use the provide/inject approach to send our options to each components

anyone here?


fix(aliasing): alias name must be kept as requested

Trying to reproduce https://github.com/cap-js/cds-dbs/issues/229
@BobdenOs Do you know by any chance whether this can be depending on pg version?

@johannes-vogel from the original issue it looks like it is being selected from the native table. Which means that it is not going through the same process as tables which are part of the model. Especially as the original issue uses " in the alias which looks like it is trying to prevent SQL syntax errors. Which would no longer be needed with the new database service as it would quote when needed.

@johannes-vogel from the original issue it looks like it is being selected from the native table. Which means that it is not going through the same process as tables which are part of the model. Especially as the original issue uses " in the alias which looks like it is trying to prevent SQL syntax errors. Which would no longer be needed with the new database service as it would quote when needed.

Thanks, now I can reproduce it.

This is a side effect of our minimal quoting approach. Where Postgres assumes every column to be lower case. Like how HANA assumes every column to be upper case.

This is a side effect of our minimal quoting approach. Where Postgres assumes every column to be lower case. Like how HANA assumes every column to be upper case.

I don't think that's what someone would expect. If I provide an alias within CQN, I'd expect that the result contains the property as specified in the CQN (regardless whether we know the entity or not).

@BobdenOs I think we should allow selects the same way as we do for insert/update. I've updated the test to be executable on any db, but cqn2sql doesn't work with unknown entities yet. Could you please have a quick look on that?

I believe this can be closed, at least the alias is now kept as requested.


Prepare to release v1.0.0

This PR:

Sets the package version number to v1.0.0
Addresses #55 by adding the public APIs list to the contributions guide (see #62 and #63 for related future works).
Addresses #57 by adding a release notes doc with an intro, v1.0.0 release notes, and template for future release notes.
Moves the logged_subprocess() function from the common.build module to run.plugin_helpers, since it is never used during build and is only used during runtime plugins.

Release candidate available for testing: https://test.pypi.org/project/turnkeyml/1.0.0/


fix: ui experience and response latency

PULL REQUEST
Before

[x] 遵守 Commit 規範 (follow commit convention)
[x] 遵守 Contributing 規範 (follow contributing)

說明 (Description)

Solve bdk ui selectInput lag
相關問題 (Linked Issues)

Ui SelectInput Lag
貢獻種類 (Type of change)

[x] Bug fix (除錯 non-breaking change which fixes an issue)
[ ] New feature (增加新功能 non-breaking change which adds functionality)
[ ] Breaking change (可能導致相容性問題 fix or feature that would cause existing functionality to not work as expected)
[ ] Doc change (需要更新文件 this change requires a documentation update)

測試環境 (Test Configuration):

OS: Linux <IP_ADDRESS>-microsoft-standard-WSL2 x86_64
NodeJS Version:v18.18.2
NPM Version:9.8.1
Docker Version:24.0.7

檢查清單 (Checklist):

[x] 我的程式碼遵從此專案的規範 (My code follows the style guidelines of this project)
[ ] 我有對於自己的程式碼進行測試檢查 (I have performed a self-review of my own code)
[ ] 我有在程式碼中提供必要的註解 (I have commented my code, particularly in hard-to-understand areas)
[ ] 我有在文件中進行必要的更動 (I have made corresponding changes to the documentation)
[x] 我的程式碼更動沒有顯著增加錯誤數量 (My changes generate no new warnings)
[ ] 我有新增必要的單元測試 (I have added tests that prove my fix is effective or that my feature works)
[x] 我有檢查並更正程式碼錯誤的拼字 (I have checked my code and corrected any misspellings)

我已完成以上清單，並且同意遵守 Code of Conduct
I have completed the checklist and agree to abide by the code of conduct.

[x] 同意 (I consent)

LGTM!


Adding Cutscenes In Psych Engine 0.5.2H

Describe your problem here.
I have a problem with adding cutscenes in Psych Engine 0.5.2H.
when I type:
case 'IEEIEUI'
startVideo('IEEIEUI');
Is it because the cutscene name is the same as the song name??? Idk I'm not too good at this
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
I added a song, removed characters, added a week, added a stage

Its
case 'IEEIEUI':
startVideo('IEEIEUI');

Its case 'IEEIEUI': startVideo('IEEIEUI'); I believe

I put that, and also changed the name of the cutscene but it still doesn't work.
case 'IEEIEUI':
startVideo('1');
like that


Animation in RecyclerView

Thanks for this project. I use this in recyclerview, and start progressAnim, there is some problem I think that caused by reuse with recyclerview. For example, the first items wave progress will be set for three or four items. How can I deal with it? Thanks

Hey @DonnyHe, I might not fully understand your problem, but it seems like it's not about my library
You're just seeing some weird behaviour of the progress animation inside RecyclerView item, is it correct?
Regards!

I`m sorry about my poor english. Haha, I will send some message to your email ! Regards!


B 21213

B-21213
Int Review
Summary
This task updates the PPM closeout queue to show only Needs Closeout ppms. An issue was found where moves with multiple ppms were displaying incorrectly in the queuemoves table, this was also resolved.
Verification Steps for the Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

[ ] Has the branch been pulled in and checked out?
[ ] Have the BL acceptance criteria been met for this change?
[ ] Was the CircleCI build successful?
[ ] Has the code been reviewed from a standards and best practices point of view?

Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test

Access the Office Application
Login as a Service Counselor
Navigate to the Closeout Queue
Verify that all moves shown are in the Needs Closeout status

Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
[ ] This change meets the standards for Section 508 compliance.

Backend

[ ] Code follows the guidelines for Logging.
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys.
[ ] Have been communicated to #g-database.
[ ] Secure migrations have been tested following the instructions in our docs.

Screenshots

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

  Generated by :no_entry_sign: dangerJS against ad92dab72685b8e5fef2342599b7bb0ad2248f9a


Alert: support for self-closable alerts

As described in https://github.com/ng-bootstrap/core/issues/2#issuecomment-218851066

OK, so after chatting with different people in the Angular team, here is my proposal:

let's keep the current alert component as is - it will serve as a "static" component that people can use in various situations
let's add another directive that could be used like so:

<template ngbAlert>
   Alert's content
</template>

By putting alert on a template element we make it clear that it can be dismissed / destroyed it in the way that doesn't leave any traces in the final DOM. Adding support for dismissing on timeout would be trivial as well.
Implementation should be super-simple, here is a sketch of it (it still needs wiring-up inputs / outputs):
import {Directive, TemplateRef, ViewContainerRef, ComponentFactory, ComponentResolver, Injector} from '@angular/core';
import {NgbAlert} from './alert';

@Directive({
  selector: 'template[ngb-alert]'
})
export class NgbAlertDismissible {
  constructor(private _vcRef: ViewContainerRef, private _tplRef: TemplateRef<any>, private _cr: ComponentResolver, private _injector: Injector) {
  }

  ngOnInit() {
    this._cr.resolveComponent(NgbAlert).then((cf: ComponentFactory<NgbAlert>) => {
      var rootNodes = this._tplRef.createEmbeddedView({}).rootNodes;
      this._vcRef.createComponent(cf, 0, this._injector, [rootNodes]);
    });
  }
}

Thoughts? I would gladly prepare a PR for the above, but unfortunately testing of this kind of functionality is blocked by https://github.com/angular/angular/issues/8617

How would a user dismiss the alert?
Works for me - also, I think that selector should be template[ngbAlert]


Error "You must specify an object name." when uploading file to bucket

Environment details

OS: Mac OS 13.5
Node.js version: 18.16.0
npm version: 9.5.1
@google-cloud/storage version: 6.12.0

Issue
See code snippet below. We have a lot of legacy code using stream1 method below (basic non-resumable stream). But as of recently, an error is thrown by the storage library. Only stream2 (providing metadata) and stream3 (resumable stream) work, but I don't know why suddenly the basic method fails.
Error
request: {
      agent: [Agent],
      headers: [Object],
      href: 'https://storage.googleapis.com/upload/storage/v1/b/<mybucket>/o?uploadType=multipart&name=myfile.txt'
    },
    body: '{\n' +
      '  "error": {\n' +
      '    "code": 400,\n' +
      '    "message": "You must specify an object name.",\n' +
      '    "errors": [\n' +
      '      {\n' +
      '        "message": "You must specify an object name.",\n' +
      '        "domain": "global",\n' +
      '        "reason": "required"\n' +
      '      }\n' +
      '    ]\n' +
      '  }\n' +
      '}\n',

Steps to reproduce
Example with a basic text file myfile.txt:
const { Storage } = require("@google-cloud/storage");
const fs = require("fs");

// Initialize storage
const storage = new Storage({
  keyFilename: `./<mykeyfile.json>`,
});

const bucketName = "<mybucket>";
const bucket = storage.bucket(bucketName);

const file = bucket.file("myfile.txt");

// crashes
const stream1 = file.createWriteStream({ resumable: false });

// works with provided metadata
const stream2 = file.createWriteStream({ metadata: {name: "myfolder/myfile.txt"}, resumable: false });

// works with resumable = true
const stream3 = file.createWriteStream({ resumable: true });

fs.createReadStream("./myfile.txt")
  .pipe(stream1)  // works only with stream2 or stream3
  .on("error", function (err) {
    console.log("error", err);
  })
  .on("finish", function () {
    console.log("success");
  });

all of a sudden stream1 works again. We've had issues with this for the last couple of hours. Was there anything wrong with the storage service today?

@stx-chris I'll check if there was anything strange going on with the service side. We haven't made changes recently in the SDK that might have caused this.

Checked around and there didn't appear to be anything unusual going on. Have you seen this issue at all since?

Hi @ddelgrosso1 no, fortunately not. Maybe it had to do with Node module caching. Glad that it works now and thanks for your fast response


get approval for ElasticSearch

We have yet to a file a CQ for ElasticSearch library inclusion.

CQ logged in IPZilla: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=11150


Date shifted by timezone when using date_from_meta

First of all, great plugin! Material for MkDocs will get blog support tomorrow, and I'm finishing up the last small little details to make it awesome. Your plugin will be advertised on the documentation for adding RSS support, as it's the best one out there.
I've encountered a problem where the dates of blog articles are not correctly computed when date_from_meta is used. my configuration in mkdocs.yml is as follows:
plugins:
  - rss:
      match_path: blog/posts/.*
      date_from_meta:
        as_creation: date
      categories:
        - categories
        - tags

When I set a date in a blog article, the computed time is shifted by the UTC offset of the current timezone. For example:
---
date: 2022-05-05
---

Becomes:
<pubDate>Wed, 04 May 2022 22:00:00 -0000</pubDate>

IMHO, dates should be treated as UTC. I'm currently in UTC+2, so this seems to be the problem.

Hello @squidfunk,
Thanks for your interest and your kind comment.
You're right, by default, datetimes should be treated in UTC. I've never figured it out because I'm used to deploy Mkdocs websites with CI/CD (GitHub or GitLab).
What about an option to specify the default timezone to use?

An option would definitely be awesome, ideally defaulting to UTC 😊

Hi @squidfunk,
I'm working on the feature in #142. For now it's only compatible with Python 3.9+. Feel free to test if you can/want, feedback are welcome.
Thanks for you patience.

Released: https://github.com/Guts/mkdocs-rss-plugin/releases/tag/1.3.0

I've finally come around testing the newest version and can confirm that the problem I reported is fixed!


Implement Multi.onTimeout

Same method as UniOnTimeOut, but first the group access must be clarified between:

onTimeout().of(Duration).on(Executor).... and onTimeout().before(Uni<X>)...
onNoResult().after(Duration).on(Executor)... and  onNoResult().before(Uni<X>)...

@cescoffier, thanks for answering my StackOverflow question! As you asked in your comment, I'll happily explain my use cases here.

do something if no item has been emitted for some time
This would be useful to introduce some heartbeat into the stream to avoid a timeout on the client side. e.g. when I have an SSE endpoint, the client might assume the connection is broken if they don't receive an event for x seconds. So if I have no event to send for, say, x-1 seconds, I'd like to introduce a dummy heartbeat event that is ignored on the client side but keeps the connection open. Possible API: ifNoItem().for(Duration).mergeWith(Multi)
On the client side of a similar construct, I might want to fail if no event has been received for a while, so I'd also need something like ifNoItem().for(Duration).fail()

do something if the Multi has not completed within a given time
This is what I actually asked the question for. I have a scheduled method that is called every 5 minutes and makes a lot of REST calls. If it's not done after 5 minutes (e.g. because the other side is slow), I want to cancel everything because then the scheduler will call the method again and I don't want it to run multiple times in parallel. This particular case could probably be solved differently (e.g. if I could return a Uni or CompletableFuture from the @Scheduled method and the scheduler would consider the method still running until that completes, then I could use the concurrentExecution policy of the scheduler), but I can imagine other cases where this makes sense: maybe a database query that I want to cancel if it's not done after x seconds etc.
The API could be something like ifNotComplete().after(Duration).fail() and basically everything that's in Uni.ifNoItem().

I hope this helps.

Fixed by #737


ApplicationDebugger/array-transform: fine-tune README

Description

Update the debugger name and add trademark note.

Update the compiler name.

Fine-tune spacing of the table.

Refer to the Get Started Guide for details.

Update the examples outputs.

A couple of comments regarding the README:
-Before the Example Output section, include a the heading Running the Sample.  this may also be a good place to introduce GDB and how the sample should be used with the debugger.

Similarly, the "Useful Commands" section is a great additoin, but needs more context.  I ran into this in the Getting Started Guide for GDB as well.  We don't ever tell the user when/how to start GDB.  It would be ideal to precede this section with something like "Type the following to invoke the debugger," it may seem obvious, but no where in the readme or Getting Started to we tell the user this and instead we just provide commands out of context.
-lastly, I may try to introduce a more standard section regarding setvars.  although having it step one is front and center, this gets problematic if every sample starts with this since the script will generate warning on subsequent runs.  nothing to change for now, but be aware we may change this.

@barisaktemur - Please take a look at the comments by TomLenth and address as appropriate

Baris and I had an offline discussion.  instead of explicitly telling the user to start gdb, we'll point the user to the OS specific GDB getting started guide at the end of each OS specific section of the readme.  This is much more comprehensive and ensures that the user has additional context needed to use the sample.  The link to the GSGs can be positioned as the last step in in build/run section. We've had good luck with this metaphor in the past as the explicit call to action.

Pending @tomlenth  approval for merge.

this works for me.  thank you for including this.