Support Windows path TemplateUrl and StyleUrl on Vitest

Please provide the environment you discovered this bug in.
Operating System: Windows
Which area/package is the issue in?
vite-plugin-angular
Description
There's a bug encountered when using Vitest with vite-plugin-analog-angular. The specific details of the bug are not fully described, but it seems related to file path handling.
Referencing a comment by Brandon in issue https://github.com/analogjs/analog/issues/688#issuecomment-1748963739, it's noted that he does not have access to a Windows machine, which might be relevant for replicating this bug.

Please provide the exception or error you saw
StyleUrl: Error: Failed to resolve import "C:********.Frontsrcappcoresharedcomponents  ogglemerging-letter-toggle.component.scss?inline" from "src\app\core\shared\components\toggle\merging-letter-toggle.component.ts". Does the file exist?

TemplateUrl: Error: Failed to resolve import "C:********.Frontsrcappapp.component.html?raw" from "src\app\app.component.ts". Does the file exist?

Proposed Solution:
The issue might be resolved by modifying the way file paths are handled. Specifically, replacing double backslashes (\) with single forward slashes (/) in the file path string.
e.g. :
const templateUrlPath = (0, path_1.resolve)((0, path_1.dirname)(id), resolvedTemplatePath)

to
const templateUrlPath = ((0, path_1.resolve)((0, path_1.dirname)(id), resolvedTemplatePath)).replace(/\\/g, '/');

This change appears to resolve the issue.
I would be willing to submit a PR to fix this issue

[X] Yes
[ ] No

Thanks @nemu69. Vite has a normalizePath function that can be imported and used here which has cross-platform support. Here's the original line
https://github.com/analogjs/analog/blob/main/packages/vite-plugin-angular/src/lib/component-resolvers.ts#L59

Okay, great, I will use this for clarity.


sql: fix sort.

Current coverage is 59.98% (diff: 100%)

Merging #38 into master will increase coverage by 1.86%

@@             master        #38   diff @@
==========================================
  Files            31         31
  Lines          1404       1407     +3
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            816        844    +28
+ Misses          506        481    -25
  Partials         82         82

Powered by Codecov. Last update a23d4c8...6a5fc23


Create index.yml

Create a new hub page for replacing "Get-started with mixed-reality" index.md file.
Refer to https://dev.azure.com/ceapex/Engineering/_boards/board/t/Content Eng/Stories/?workitem=180578

Docs Build status updates of commit 7fc4c88:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

Line 0: [Error] Two or more files output to the same path 'windows/mixed-reality/index.raw.page.json': 'index.md', 'index.yml'

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit e8bd58a:
:warning: Validation status: warnings

File
Status
Preview URL
Details

mixed-reality-docs/TOC.md
:warning:Warning
View
Details

mixed-reality-docs/mixed-reality.md
:warning:Warning
View
Details

mixed-reality-docs/design.md
:warning:Warning
View
Details

mixed-reality-docs/development.md
:warning:Warning
View
Details

mixed-reality-docs/index.md
:white_check_mark:Succeeded

mixed-reality-docs/index.yml
:white_check_mark:Succeeded
View

mixed-reality-docs/TOC.md

Line 12: [Warning] Invalid file link: 'index.md'.

mixed-reality-docs/mixed-reality.md

Line 115: [Warning] Invalid file link: 'index.md'.

mixed-reality-docs/design.md

Line 140: [Warning] Invalid file link: 'index.md'.
Line 141: [Warning] Invalid file link: 'index.md'.

mixed-reality-docs/development.md

Line 128: [Warning] Invalid file link: 'index.md'.
Line 129: [Warning] Invalid file link: 'index.md'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 3b43282:
:warning: Validation status: warnings

File
Status
Preview URL
Details

mixed-reality-docs/TOC.md
:warning:Warning
View
Details

mixed-reality-docs/mixed-reality.md
:warning:Warning
View
Details

mixed-reality-docs/design.md
:warning:Warning
View
Details

mixed-reality-docs/development.md
:warning:Warning
View
Details

mixed-reality-docs/index.md
:white_check_mark:Succeeded

mixed-reality-docs/index.yml
:white_check_mark:Succeeded
View

mixed-reality-docs/TOC.md

Line 12: [Warning] Invalid file link: 'index.md'.

mixed-reality-docs/mixed-reality.md

Line 115: [Warning] Invalid file link: 'index.md'.

mixed-reality-docs/design.md

Line 140: [Warning] Invalid file link: 'index.md'.
Line 141: [Warning] Invalid file link: 'index.md'.

mixed-reality-docs/development.md

Line 128: [Warning] Invalid file link: 'index.md'.
Line 129: [Warning] Invalid file link: 'index.md'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit d3a0915:
:warning: Validation status: warnings

File
Status
Preview URL
Details

mixed-reality-docs/TOC.md
:warning:Warning
View
Details

mixed-reality-docs/design.md
:warning:Warning
View
Details

mixed-reality-docs/mixed-reality.md
:warning:Warning
View
Details

mixed-reality-docs/development.md
:white_check_mark:Succeeded
View

mixed-reality-docs/index.md
:white_check_mark:Succeeded

mixed-reality-docs/index.yml
:white_check_mark:Succeeded
View

mixed-reality-docs/TOC.md

Line 12: [Warning] Invalid file link: 'index.md'.

mixed-reality-docs/design.md

Line 140: [Warning] Invalid file link: 'index.md'.
Line 141: [Warning] Invalid file link: 'index.md'.

mixed-reality-docs/mixed-reality.md

Line 115: [Warning] Invalid file link: 'index.md'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 46e196c:
:warning: Validation status: warnings

File
Status
Preview URL
Details

mixed-reality-docs/TOC.md
:warning:Warning
View
Details

mixed-reality-docs/design.md
:white_check_mark:Succeeded
View

mixed-reality-docs/development.md
:white_check_mark:Succeeded
View

mixed-reality-docs/index.md
:white_check_mark:Succeeded

mixed-reality-docs/index.yml
:white_check_mark:Succeeded
View

mixed-reality-docs/mixed-reality.md
:white_check_mark:Succeeded
View

mixed-reality-docs/TOC.md

Line 12: [Warning] Invalid file link: 'index.md'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 07eda1c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/TOC.md
:white_check_mark:Succeeded
View

mixed-reality-docs/design.md
:white_check_mark:Succeeded
View

mixed-reality-docs/development.md
:white_check_mark:Succeeded
View

mixed-reality-docs/index.md
:white_check_mark:Succeeded

mixed-reality-docs/index.yml
:white_check_mark:Succeeded
View

mixed-reality-docs/mixed-reality.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Close this PR and submit this commits to LandingPageUpdate branch according to Jesse's comments.


Trying to access non-existent property "outerHTML" while rendering

I noticed that strange warning is displayed to the console
Vue.js version
2.0.0-beta.3
Reproduction Link
http://jsbin.com/yujokuhura
Steps to reproduce
Click on div with text "click me"
What is Expected?
In the console will appear instance of Vue app
What is actually happening?
In the console will appear warning [Vue warn]: Trying to access non-existent property "outerHTML" while rendering. Make sure to declare reactive data properties in the data option. (found in root instance)
ps: in the v1.0.16 all ok

This is a problem with jsbin. It works fine on jsfiddle, for example: https://jsfiddle.net/vx0ks9yo/

Yup.. and the locally all is well
Not a bug :yay:

This is also the case on codepen.io in editor view


Unexpected non-reproducibility between images build using the same commit

Following #33, I've re-published tag 20230214-1 with tag 23.2.0 both based on commit 220a007.
However, they seem to behave differently, at least for the Wormhole CLI:
$ docker run --rm -it --entrypoint wormhole leastauthority/magic-wormhole:20230214-1 --version
magic-wormhole 0.12.0

$ docker run --rm -it --entrypoint wormhole leastauthority/magic-wormhole:23.2.0 --version
Error in cpyext, CPython compatibility layer:
PyThreadState_Swap() cannot be used to switch to another
different PyThreadState right now
RPython traceback:
  File "pypy_module_cpyext_2.c", line 31785, in unwrapper__StdObjSpaceConst_PyThreadStatePtr_sta
  File "pypy_module_cpyext_2.c", line 1597, in PyThreadState_Swap
Fatal RPython error: AssertionError

Hopefully, this has been fixed by #30.
But I'd like to be sure, because this is blocking the update of our back-end.

@wuan : could you just manually remove the faulty tags (3x 23.2.0) from Docker Hub?

The faulty tags have been deleted.

This bug should not happen since #30


PointAttributes error on Windows with cuda toolkit v10.1

I'm compiling cupy from source on Windows 10 to contribute to the sparse matrix functions. I upgraded to the v10.1 cuda toolkit and am receiving the following error on the cupy 7.0rc1 build:
Traceback (most recent call last):
File "D:\local\projects_current\cupy\cupy_init_.py", line 15, in
from cupy import core  # NOQA
File "D:\local\projects_current\cupy\cupy\core_init_.py", line 1, in
from cupy.core import core  # NOQA
File "cupy\core\core.pyx", line 1, in init cupy.core.core
# distutils: language = c++
File "D:\local\projects_current\cupy\cupy\cuda_init_.py", line 4, in
from cupy.cuda import compiler  # NOQA
File "D:\local\projects_current\cupy\cupy\cuda\compiler.py", line 12, in
from cupy.cuda import device
File "cupy\cuda\runtime.pxd", line 8, in init cupy.cuda.device
cdef class PointerAttributes:
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:/local/projects_current/cupy/sparse_test.py", line 2, in
import cupy, time
File "D:\local\projects_current\cupy\cupy_init_.py", line 36, in
six.reraise(ImportError, ImportError(msg), exc_info[2])
File "C:\Anaconda3\envs\cupy\lib\site-packages\six.py", line 692, in reraise
raise value.with_traceback(tb)
File "D:\local\projects_current\cupy\cupy_init_.py", line 15, in
from cupy import core  # NOQA
File "D:\local\projects_current\cupy\cupy\core_init_.py", line 1, in
from cupy.core import core  # NOQA
File "cupy\core\core.pyx", line 1, in init cupy.core.core
# distutils: language = c++
File "D:\local\projects_current\cupy\cupy\cuda_init_.py", line 4, in
from cupy.cuda import compiler  # NOQA
File "D:\local\projects_current\cupy\cupy\cuda\compiler.py", line 12, in
from cupy.cuda import device
File "cupy\cuda\runtime.pxd", line 8, in init cupy.cuda.device
cdef class PointerAttributes:
ImportError: CuPy is not correctly installed.
I am able to replicate any time I import cupy from the command line. I have the cuda toolkit in my path and confirmed it was working by compiling the bundled examples in Visual Studio 17.
It appears that the PointerAttributes functionality is deprecated in v10.1 of the toolkit. Has this been propagated to the Windows builds?

PointerAttributes is a central piece of GPU software design that allows unified memory access. It is not deprecated. Some of its struct members are renamed/marked deprecated, but your symptom seems like a bad build to me.
Did you upgrade your CUDA after compiling CuPy? If so you need to rebuild it from source. Different versions of CUDA are not guaranteed ABI compatible.

Thanks leofang. I'm still learning CUDA, so I was going off of what I read elsewhere.
I upgraded to v10.1 and then rebuilt the package, anticipating the cupy wouldn't be compatible. So it should be a clean build.

If you happen to have multiple versions of CUDA installed, you need to make sure 10.1 gets picked during both compile time and runtime. Could be that the runtime library is wrongly linked/loaded.
Also, are you using 10.1 Update 2? Not sure if this is relevant: #2569.

Thanks leofang. I traced this back to an issue that happened when I merged into my fork which produced some unexpected behavior. I built a clean version of the repository and it worked without an issue. I'm closing the issue.


Add services and service_region tables

The data is available as an AWS published ssm param:  https://aws.amazon.com/blogs/aws/new-query-for-aws-regions-endpoints-and-more-using-aws-systems-manager-parameter-store/

Putting this issue on hold, as we'd like to download the region information as part of the plugin build to avoid long query times.


Rename .env.example file

In this issue I just want to include a small detail in the readme of the project

Rename the env.example file
Rename the file in both client and server folder

I raised this issue as i faced an error which got resolved after renaming the files. So either we can rename the files or inform the contributor in readme about renaming the file.

@Aniket1026 assigned.

What should i do out of the two . Rename the file or Update the readme for contributor to rename ?

Update the readme

Oh. I dindt saw this issue. i added a pr https://github.com/anomic30/Storz/pull/42
sorry about that

No worries @Gismo1337 😃 . It's fine


ROF RelsExtRefContext needs isMemberOfCollection

the ROF fedora_to_rof task is failing to produce a valid JSON-LD representation of the RELS-EXT datastream  for fedora objects that are members of collection because it is missing context for isMemberOfCollection. It needs something like
"isMemberOfCollection" => {"@type" => "@id"},
(I don't know if it maps to a proper fedora or hydra object)

This makes sense; the isMemberOfCollection relation was added after I did the initial fedora to rof work.

I`m fixing another bug against this issue: in -meta, the 'URL' is not being populate because ds.profile['TYPE'] is being looked for, instead of ds.profile['dsControlGroup'].


module's bundleconfig.json  is not work

hi dear author，Im builded the solution，but module's bundleconfig.json  is not generate min-file ,What I need to configure？

install the BundleMinfier vs extension

install the BundleMinfier vs extension

yeah :),thanks,there's new problem that  how to run module‘s min.js in the debugger mode . how to  configure module js path?


hide-newsfeed-noise isn't hiding grouped "follow" events correctly

Description

How to replicate the issue + URL
https://github.com/
Extension version
23.2.5
Browser(s) used
Chrome

🤔 we dropped that feature 2 versions ago. Can you close and reopen your browser?
If it's still there, can you look at the DOM of the page to see what selector is hiding those elements?

Duplicate of https://github.com/refined-github/refined-github/issues/6232

Fixed in #6306 and via hotfix 👍

@fregante
This time doesn't work for fork


Include finalization information in eth_getBlockByHash

I'm conscious that this may be difficult to implement in execution clients, so please consider this issue a request-for-comment rather than a definitive proposal.
Currently I think the best flow for checking if a transaction is finalized is:

Get transaction receipt using eth_getTransactionReceipt. Save the blockHash and N=blockNumber.
Poll eth_getBlockByNumber finalized until the finalized block number is >= N. At this point your transaction is probably finalized, but you need to check that your block didn't get re-orged.
Call eth_getBlockByNumber N and check that the blockHash matches the blockHash from step 1.

If the EL surfaced finalization information in its responses this could be reduced to a simple poll of eth_getBlockByHash until it returns a status indicating that the transaction's block is finalized.
This could be achieved by an extra field in the Block that indicates the confirmation status:

finalized: the block is the finalized block or one of its ancestors.
safe: the block is the safe block or one of its ancestors (note currently safe=justified).
canonical: the block is present in the canonical chain but is not yet safe or finalized.
non_canonical: the block is non-canonical but compatible with finalization (it hasn't fully permanently yet).
orphaned: the block was re-orged out permanently (part of a non-canonical chain incompatible with finalization).
others?

In addition to adding status to  eth_getBlockBy* what about adding a blockStatus field to eth_getTransactionReceipt?  At least for geth this appears to be minimal extra work since the block is already looked up to return blockHash and blockNumber.

Im sorry, but what may seem like pre grade school abilities to you is advanced beyond my capabilities to me. I am so grateful that you took the time out of your busy day to wven address my situation and offer a possible step in the right direction, but even with my best efforts. No matter what i do, this M.S. makes it nearly impossible to comprehend and retain new information that i have no familiarity with. You are a great person for trying. One of only two responses for my cry for help. (What a shame of the way of the world today) As tough a pill as it is to swallow, i am just going to have to except that i will not have that little bit i wanted to be able to offer my daughter on my way out of this world. It is so extremely sad. But you are one of the good ones. Stay nice my friend. Im sorry i dont have the cognitive abilities to implement your suggestions or I certainly would. Thanks so much for being nice. Stay safe. Stay healthy and stay happy!!Robert TaylorOn Sep 13, 2022, at 5:28 PM, Ryan Schneider @.**> wrote:
In addition to adding status to  eth_getBlockBy what about adding a blockStatus field to eth_getTransactionReceipt?  At least for geth this appears to be minimal extra work since the block is already looked up to return blockHash and blockNumber.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Confirming that there is a desire to also include this in eth_getBlockByNumber (at least when the argument is a specific block number).
If the status field were always added to the object returned by eth_getBlockByNumber, it would sometimes be redundant (e.g. if the Block parameter had the value finalized, the returned object should always have a status: finalized) but it may be more simple to always include this value.
In terms of use-case, this is helpful for applications that perform some computation or poll some property for each block, and can optimise if a block is finalized.
While this information could be obtained via a beacon API, this involves another RPC and is information that the execution client knows anyway.

@lightclient What is the process for getting changes like this implemented?

I'm just curious, so please excuse if this is a dumb question. First, I think you meant backwards INcompatible changes are not allowed, which makes perfect sense.
If I understand this, it's asking that a new field gets added to the returned data. Is that backwards incompatible? I think adding a field wouldn't break anything. The additional field would simply be ignored given that it never existed before.
If someone's written code that expects no additions to the data, that's not the fault of the sender. It's the fault of the receiver.
Maybe I'm misunderstanding something.

Yes, I meant incompatible.

If someone's written code that expects no additions to the data, that's the fault of receiver of the data's code, not the sender.

But it sounds like adding this field is considered compatible then.
I see a lot of people make mistakes and process events of non-finalized transactions, running the risk of considering re-orged transaction hashes. I'd like to see this added as it'd encourage people building offchain services to handle re-orgs (it'd be fairly evident they're ignoring the finality status) and make it straightforward to do take the robust approach.
It may even make sense to include the finality status for eth_getTransactionReceipt


Add Aggregate ComboSum rule

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

73 of 77 (94.81%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 94.645%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Rules/Aggregate/AbstarctAggregateRuleCombo.php
11
12
91.67%

src/Rules/Cell/AbstractCellRuleCombo.php
19
20
95.0%

src/Rules/AbstarctRuleCombo.php
25
27
92.59%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
760

Relevant Lines:
803

💛  - Coveralls


Metrics (4/4)

related to #124
This PR contains several specific metrics
	Health records *prometheus.GaugeVec
	StatusPerIngressHosts *prometheus.GaugeVec
	StatusFailover *prometheus.GaugeVec
	StatusRoundRobin *prometheus.GaugeVec
	StatusGeoIP *prometheus.GaugeVec
	ZoneUpdateTotal *prometheus.CounterVec
	ErrorTotal *prometheus.CounterVec
	ReconciliationTotal prometheus.Counter

Demo
make destroy-full-local-setup deploy-full-local-setup upgrade-candidate deploy-prometheus
# wait
make stop-test-app
# wait
make start-test-app
# wait

k8gb_gslb_error_total

k8gb_gslb_healthy_records

k8gb_gslb_reconciliation_total

k8gb_gslb_status_failover

k8gb_gslb_status_roundrobin

k8gb_gslb_status_per_ingress_hosts

k8gb_gslb_zone_update_total

Signed-off-by: kuritka<EMAIL_ADDRESS>

Temporarly closing because of Friday's demo hints.

[x] static k8gb prefix
[ ] With sake of refactoring, static k8gb prefix can simplify monitoring runtime
[ ] monitoring ingresses
[ ] k8gb_infoblox_zone_update_total, k8gb_infoblox_error_total
[x] remove zone_update_total


Removed a redundant return.

@davidbanham I did not create an issue and went straight to a PR because the change is minor. Just saw this and it was bugging me.

Looks good, thanks!


Red (night) mode turns up screen brightness

Sony Xperia 1V, Android 14, Sky Map 1.10.4 - RC1 (F-Droid version)
When I click the eye icon to enter the red sky charts mode (or when I start the app, doesn't matter), the screen becomes significantly brighter instead of minimum brightness. This always happens in red charts mode, I can't have the sky charts red without the brightness going up.
Not a biggie since my screen is OLED and this is red light, but still, it would be nice to have screen dimming as usual.

This is an oldie from back in the day when phones didn't really handle screen dimming properly.  I don't see much need for the app to do it now....the phone's own screen brightness management is probably just fine (and as if you've noted...the 'dim' value used is actually pretty bright on most phones these days).

I'm going to try something.  Since we first implemented this (from looking
at the Android source code!) it looks like they might have added a constant
that means "really really dim".  I'm going to add some options to use a)
that b) the phone's automatic setting or c) the original value.  If you're
interested I can add you to the 'alpha testers' group and you can see how
it works for you.  Just send your google account name to
@.*** and I'll add you.  Another option is just to join our
beta testers for the Google Play link.  I see you're using the
fdroid version though so these options might not appeal to you.
On Wed, Dec 4, 2024 at 6:08 PM zekooooo @.***> wrote:

Could you add a compatibility setting to turn it off then? I mean in red
night mode, backlight lights up probably ~100% like I'm in the photo app
(on my old phone backlight would get turned down to minimum instead). The
reason it isn't annoying is just that all color on the screen is red, so
it's kind of on par with the ordinary blue background w/ no backlight
—
Reply to this email directly, view it on GitHub
https://github.com/sky-map-team/stardroid/issues/515#issuecomment-2518741288,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD5LWC4XNVC34LXEH57T3AT2D6DO3AVCNFSM6AAAAABSUAXKR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJYG42DCMRYHA
.
You are receiving this because you commented.Message ID:
@.***>

Why thank you github for obfuscating our email address.  Well....if you head on over to the Play Store you can contact us from there (if you want).

Sorry, I nuked Google Services on my phone. If you can / want to push an alpha version to F-Droid I'll let you know how each option worked, I just checked that beta updates for Sky Map are enabled in my F-Droid.
Thanks for giving this thought. I have no idea if there are many F-Droid users on your app and I don't think Sonys are selling well so I'm really thankful you're hearing me out at all.

Sorry, I nuked Google Services on my phone. If you can / want to push an alpha version to F-Droid I'll let you know how each option worked, I just checked that beta updates for Sky Map are enabled in my F-Droid.
Thanks for giving this thought. I have no idea if there are many F-Droid users on your app and I don't think Sonys are selling well so I'm really thankful you're hearing me out at all.

The issue is not only on Sony's. I can confirm that on my Nokia X20, with stock Android 14.

Looking at the code we basically determined (in 2009!) a hard-coded
brightness value that worked on the phones we had at the time. If we went
any lower it turned the screen off entirely on some of the phones!  But
that value is clearly too bright for today's phones.
On Fri, Dec 13, 2024 at 5:01 AM Vasilis @.***> wrote:

Sorry, I nuked Google Services on my phone. If you can / want to push an
alpha version to F-Droid I'll let you know how each option worked, I just
checked that beta updates for Sky Map are enabled in my F-Droid.
Thanks for giving this thought. I have no idea if there are many F-Droid
users on your app and I don't think Sonys are selling well so I'm really
thankful you're hearing me out at all.
The issue is not only on Sony's. I can confirm that on my Nokia X20, with
stock Android 14.
—
Reply to this email directly, view it on GitHub
https://github.com/sky-map-team/stardroid/issues/515#issuecomment-2540555776,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD5LWCZGJEJCJHAVV44DS4D2FJS33AVCNFSM6AAAAABSUAXKR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBQGU2TKNZXGY
.
You are receiving this because you commented.Message ID:
@.***>


Deprecation warnings on install

Installing the latest version of @splunk/otel (0.15.0) produces a number of deprecation warnings:
-> npm i @splunk/otel
npm WARN deprecated<EMAIL_ADDRESS>Please use trace and metric specific exporters @opentelemetry/exporter-trace-otlp-grpc and @opentelemetry/exporter-metrics-otlp-grpc
npm WARN deprecated<EMAIL_ADDRESS>Please use trace and metric specific exporters @opentelemetry/exporter-trace-otlp-http and @opentelemetry/exporter-metrics-otlp-http
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>no longer maintained
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.

These should now be resolved with the latest version. There might be a warning about api-metrics for a bit, this will be resolved shortly as well.


Make  debounce time configurable

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Issue ❗
If you open a Select and press a letter "A" on your keyboard, the first option starting with "A" will become focused.
If you press "A" again you'll focus second option starting with "A"
Unfortunately, there is a 500ms hard-coded debounce time. So you gotta wait half a second between each key-press.
Why is that a problem ❓
In our project we use Select components for menus which have as many as 30 items.
In this case it's really important to be able to quickly jump through the menu using keyboard.
Unfortunately, with the 0.5s expected wait between each key-press it becomes too annoying to use.
Solution 👍
I fished through the source and found that the issue is on this line:
https://github.com/mui-org/material-ui/blob/4ae71c6ab0478300fe7265f68c7195a3c6731533/packages/material-ui/src/MenuList/MenuList.js#L172
The Menu component has a hardcoded 500ms debounce time between keypresses. It would be really nice if this would be configurable.

Thanks for the feedback.
This makes sense to me. Though I'd like to use the opportunity and check again if the time is appropriate. .5s sounds really long. The native <select /> feels more responsive. Regardless, we should document that behavior anyway and explain why we choose the 500ms default.
/cc @ryancogswell

Characterizing the 500ms as a "debounce" is not accurate. It is a reset of the character buffer. Let's say you want to go directly to "Angel". You can do this by typing "Ang" as long as you do each key press in less 500ms since the previous. If you type "A" repeatedly with less than 500ms in between then it might find "Aardvark" if that was one of your options. If you make the buffer reset time shorter then it will be more difficult to match the beginning of words via multiple characters. For instance, with too short of a reset time, typing "A" then "n" might jump to the first "n" word rather than words starting with "An". Assuming your options are sorted, you can use the keyboard to go quickly through the "A" words by typing "A" and then switching to the down arrow key.
This is at least how it was working when I first completed the feature. It does however appear that the multi-character matching was broken at some point. In the latest v4 it isn't working correctly, but it works correctly in 4.3.3: https://codesandbox.io/s/select-keyboard-nav-check-uq101?file=/demo.js. I'll zero in on when it was broken.

The multi-character matching was working in 4.9.7 and broken in 4.9.8. I'll take a look at what changes happened then.

In #19967 the boolean return values from moveFocus were removed which I'm pretty sure is what broke the behavior. I think my original tests would have caught the bug, but @eps1lon simplified them significantly for easier maintenance when converting the tests to new approaches.

@ryancogswell I see. Thanks for the explanation! I've misread the code. But thanks for backtracking the issue.

Also, prior to the introduction of the bug in 4.9.8, repeatedly pressing the same character within the 500ms timer did cycle between the options starting with that character if there weren't any entries starting with the full sequence (e.g. "aardvark" would get precedence when typing "aa" over going to the next "a" word, but if there were no "aa" words, then that would go to the second "a" word).


feature: add support for prometheus metrics

Signed-off-by: yeya24<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Add basic support for prometheus metrics, both dfdaemon and supernode.
I will add more metrics later in this PR.
Ⅱ. Does this pull request fix one issue?

fix #197
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Currently I add one simple test in supernode router.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews
It is a WIP PR. I will add some docs for how to configure prometheus.

Codecov Report

Merging #669 into master will increase coverage by 0.51%.
The diff coverage is 98.07%.

@@            Coverage Diff             @@
##           master     #669      +/-   ##
==========================================
+ Coverage   46.58%   47.09%   +0.51%
==========================================
  Files         106      107       +1
  Lines        6187     6232      +45
==========================================
+ Hits         2882     2935      +53
+ Misses       3072     3064       -8
  Partials      233      233

Impacted Files
Coverage Δ

supernode/server/server.go
35.55% <0%> (ø)
:arrow_up:

supernode/server/metrics.go
100% <100%> (ø)

supernode/server/router.go
57.44% <100%> (+10.78%)
:arrow_up:

supernode/server/system_bridge.go
100% <0%> (+100%)
:arrow_up:

Continue to review full report at Codecov.

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

I do see the importance of this work. While I still wish to see more work to be finished. For example, the docs which guide user to experience Dragonfly and Prometheus, the integration test to see the /metrics works.
I think we can do a thorough plan for this which is composed of fixed parts. And we track how many parts we have finished, while how many have not.

@allencloud
Thanks for your reply. Currently this PR is in a very early stage because of some other things. I think I can finish the docs and integration test this weekend. When this PR is ready for review, I will ping you :smile:.

I want to separate PR into small pieces. So this PR is ready for review. And after this merged, I will add more metrics later.

LGTM

Really appreciate it for your great work. @yeya24 👍


Right side labels are broken with new version

Hello,
Thank you for reworking the implementation to allow infinite nesting. However, the reworked version now does not support right labels.
#prooftree(
  label: (side: right, padding: 1em),
  axiom("A"),
  rule("B", label: "right with 1em padding")
)

#prooftree(
  label: (side: left, padding: 1em),
  axiom("A"),
  rule("B", label: "left with 1em padding")
)

As you can see from this image, the label on the right simply clips into the prooftree. I tried debugging it but was unable to determine a quick fix. One thing I figured out is that label_left and label_right always seem to be equal to 0pt in my debugging.

Should be fixed now, let me know if there's something else I missed.


DefaultAzureCredential - EnvironmentCredential error

This issue is for a: (mark with an x)
- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Followed the instructions, made "Local environment" and "Running locally". Running with ".start.ps1". At the "localhost" (http://<IP_ADDRESS>:50505/) the application starts, the GUI is displayed. The problem occurs when any question is asked in the chat. Then an error is displayed as a response: "Error: The app encountered an error processing your request.
If you are an administrator of the app, view the full error in the logs. See aka.ms/appservice-logs for more information.
Error type: <class 'azure.core.exceptions.ClientAuthenticationError'>".

We have checked many forums for the described error, unfortunately we have not found a solution, also we run out of ideas. We have the following credentials set:
PS E:_GIT\app\backend> azd env get-values
AZURE_ENV_NAME
AZURE_LOCATION
AZURE_OPENAI_CHATGPT_MODEL
AZURE_OPENAI_EMB_DEPLOYMENT
AZURE_PASSWORD
AZURE_RESOURCE_GROUP
AZURE_SEARCH_INDEX
AZURE_SEARCH_SERVICE
AZURE_STORAGE_ACCOUNT
AZURE_STORAGE_CONTAINER
AZURE_SUBSCRIPTION_ID
AZURE_TENANT_ID
AZURE_USERNAME
Also the "azd auth login" works fine, same the "PS E:_GIT\app\backend> az account get-access-token" returns a accessToken.
Any log messages given by the failure

File "E:_GIT\app\backend\backend_env\Lib\site-packages\azure\identity\aio_credentials\chained.py", line 107, in get_token
raise ClientAuthenticationError(message=message)
azure.core.exceptions.ClientAuthenticationError: DefaultAzureCredential failed to retrieve a token from the included credentials.
Attempted credentials:
EnvironmentCredential: EnvironmentCredential authentication unavailable. Environment variables are not fully configured.
Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot to troubleshoot this issue.
ManagedIdentityCredential: Unexpected response "{'error': 'service_unavailable', 'error_description': 'Service not available
because the resource is not connected. Check Agent log for details.', 'error_codes': [503], 'timestamp': '2024-01-22 09:43:48.416177
+0100 CET m=+257232.170054701', 'trace_id': '', 'correlation_id': '0737f915-de76-4c3f-8fe0-1f28a25a6fbe'}"
Content: {"error":"service_unavailable","error_description":"Service not available because the resource is not connected. Check Agent
log for details.","error_codes":[503],"timestamp":"2024-01-22 09:43:48.416177 +0100 CET m=+257232.170054701","trace_id":"","correlat
ion_id":"0737f915-de76-4c3f-8fe0-1f28a25a6fbe"}
To mitigate this issue, please refer to the troubleshooting guidelines here at https://aka.ms/azsdk/python/identity/defaultazurecrede
ntial/troubleshoot.
Expected/desired behavior

Not an error answer.

OS and Version?

Windows Server 2019 (on a VM).

azd version?

PS E:_GIT\app\backend> azd version
azd version 1.5.1 (commit 3856d1e98281683b8d112e222c0a7c7b3e148e96)

Versions

Mention any other details that might be useful
If we deploy the app via azd deploy, the app works fine on the online cloud platform.

Also there is another question, if there is a way to debug (with breakspoints) the application when "Local environment" and "Running locally" is used. So we run the app in VS Code with  ".start.ps1" from VS Code terminal.

Hello @stormrider88 ,
Default Azure Credential uses a chain of potential options to login. It seems like the option that is causing problems is ManagedIdentityCredential, which typically is only meant for running code in an Azure environment with Managed
Identity enabled.
You can replace usage of DefaultAzureCredential() in this sample with DefaultAzureCredential(exclude_managed_identity_credential=True) and see if that helps, as documented here https://learn.microsoft.com/en-us/python/api/azure-identity/azure.identity.defaultazurecredential?view=azure-python
Regarding how to use breakpoints, the startup script launches a new process, so you'll need to attach to it. Please review https://code.visualstudio.com/docs/python/debugging for instructions on how to attach to another process for debugging.
I hope this helps


Don't use LongClickListener by default

Because of this: https://github.com/daniel-stoneuk/material-about-library/commit/7ef52e4be8023198e064211e95e7b3a125dc7853#diff-2fa9301a8938a1903a30c3ed37d9b6b2R279
and this: https://github.com/daniel-stoneuk/material-about-library/commit/7ef52e4be8023198e064211e95e7b3a125dc7853#diff-085050164284a0d3154349c07c6bc0dcR168
there is no way to not have onLongClickListener set. Which means every clickable item now react to long clicks too. Which is not desired, because calling View.setOnLongClickListener() internally changes behavior of the view -- it add haptic feedback (slight vibration) on long click.
IMHO having 2 separate listeners (as Android uses it on View) is much better. Usually you don't set same reaction to single click and long click + most of the time you don't even need the longClick.
So I would vote for reverting that unified OnClickListener. But if that's not acceptable for you, could you at least give us method like .setLongClickEnabled(boolean enabled) or similar, and make the longClick disabled by default?
Note that also your ConvenienceBuilder's methods are affected by this and so long click on any such item makes same reaction as single click, and that just feels weird.
Thanks.

Ah I see. I'm currently short of time so if you'd like to create a pull request separating them back into two OnClickListeners I would be extremely grateful.

Ok, I will rework these listeners and provide pull request when it's ready.

 :) Thanks.
Also I'm thinking about simplifying use of custom items (and also simplifying current code) by providing MaterialAboutBaseItem that will share the basics from both ActionItem and TitleItem (they will extend it). So probably I'll prepare another PR during next days :)


Not good result

uhm, i also try to train this based on pytorch dqn tutorial.
But the problem is that it is not stable.Eg: at the episode of 1000, some time it did pretty good, and others were too bad!!!
i see your plot results and i think you also have that problem?

Testing different parameters certainly would help!
Did you train with my parameters? Or did you use your own?
Batch sizes, learning rate, episodes, target score for early stopping, and gamma all have an effect on it
Train until it you have fairly consistent landings
You might have just landed on a bad training output
1000 episodes might not be enough too
Good luck!


service/share: Rename root to dah in JSON body of /namespaced_shares endpoint

Description
This PR renames the field in the JSON request for /namespaced_shares from root to dah as root is a variable name we use inside celestia-node that not many people know about whereas DAH is more intuitive.
Docs
GET /namespaced_shares
Request
curl -X GET -d '{"namespace_id": "fffffffffffffffe", "dah": "7b22726f775f726f6f7473223a5b22414141414141414141414541414141414141414141622b30524d7377796534365a47482b4b66347a784a48364d55336457564d726f33794b4f6a4f3448644a31222c2241414141414141414141482f2f2f2f2f2f2f2f2f2f692f584d58737158512f665377634d633643486a746c7a3954644a6b3546713676362b356f614f66563171222c222f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f7a556e4b41357a426661756d79674d696646436e4738616537534d6c46724a416d3947346e75584858484d222c222f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2b3662644d455478527a75774f6873744c416c2f78303248396a5a4671325349524747795041623250756b225d2c22636f6c756d6e5f726f6f7473223a5b22414141414141414141414541414141414141414141576a344361724468634c58356667596c6d586d5a525231336a4e485a67442f7a6379656e6b6544472f6235222c2241414141414141414141482f2f2f2f2f2f2f2f2f2f686b4e37664e67757436416c4b736f4a4f567a4d343532486965376c7265375378347044747433537a3257222c222f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f312b794e563651376377685178313637766b705665787a576a744c7767416b696b326636344b4655503661222c222f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f7a5a685a736e75684749597071474d513566594f594d44446c2f5444486364762f6b6976647235356d7758225d7d"}' http://<IP_ADDRESS>:26658/namespaced_shares

Response
[]

Eventually we need a GetSharesbyNamespace(height) but that would require having some sort of communication between shares module and header module.

I'm definitely biased, because I used term data availability header a lot, but for me root is very confusing. I had to take a look into the code to check what it was.
data_root seems fine for me.

On the other hand, dah is a good name, because there will either be:

dah endpoint returning DAH at given height, or
header endpoint will returning header that contains dah field
... so for consistency, it would be great to use same name everywhere.

I'm not so sure what the best name would be but we use "data availability header" throughout the codebase a lot. I think it would be a bit confusing if we call the DAH root as it is not a single root but many row and column roots.
This also applies to this alias btw:
https://github.com/celestiaorg/celestia-node/blob/38a6a967d8ab4ad35841e2646858b8d9b5421053/service/share/share.go#L35-L37

what happened to "data root"?

It was called root because

we were thinking about referencing data not by dah, but by data root by putting merkle tree over roots in ipld
the user of dah doesn't really care if it consists of multiple roots or one. The user doesn't really access those underlying roots and uses the whole dah as an atomic value to get everything needed. Really, there are only cases where dah is used as a whole. Essentially, calling dah as a root is like hiding away implementation details of it. Eventually, share.Root will become data.Root which still makes the most sense to me, unless I am missing something.

LGTM on name change to dah

what happened to "data root"?

It still there. Here: https://github.com/celestiaorg/celestia-core/blob/7e29d6560b7e2c96c60c2c5b2ae5d9e371e382d8/types/block.go#L361
But that is the DAH merkelized (i.e. a simple binary merkle tree with all roots in the dah as leaves).

Closing in favour of #693


Web compose: cannot resolve mavenCentral imports

I am using IntelliJ IDEA 2021.1.2 (Ultimate Edition)
When using jetpack compose desktop from IntelliJ, I can include  mavenCentral() as a repository, and in the dependencies section of the build.gradle.kts file, include imports of projects as shown below.  Functions referenced from the included repositories/dependencies are resolved when the project is built.
repositories {
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
dependencies {
implementation(kotlin("stdlib-common"))
implementation(compose.desktop.currentOs)
implementation(compose.runtime)
implementation(compose.desktop.common)
implementation("net.maizegenetics:tassel6:6.0.1")
implementation("com.google.guava:guava:29.0-jre")
}
However, when I try to do the same for an IntelliJ jetpack Web compose project, the gradle build finishes without error, but the files will not compile as they are unable to resolve the dependencies. Note the "External Libraries" tab in the Intellij window shows the requested libraries have been imported.
repositories {
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
kotlin {
js(IR) {
browser()
binaries.executable()
}
sourceSets {
val jsMain by getting {
dependencies {
implementation(compose.web.core)
implementation(compose.runtime)
implementation("net.maizegenetics:tassel6:6.0.1")
implementation("com.google.guava:guava:29.0-jre")
}
}
}
}
Below is a very simple file Main.kt file from WEB compose project where "Multimap" and "HashMultimap" are not resolved from com.google.common.collect.* and "BuilderFromHaplotypeVCF" is not resolved from net.maizegenetics.dna.factor.io.BuilderFromHaplotypeVCF.  These same lines work when put into a jetpack desktop compose project.
Does jetpack compose web not support maven dependencies?
-------------- File------------
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.getValue
import androidx.compose.runtime.setValue
import org.jetbrains.compose.web.css.padding
import org.jetbrains.compose.web.css.px
import org.jetbrains.compose.web.dom.Button
import org.jetbrains.compose.web.dom.Div
import org.jetbrains.compose.web.dom.Span
import org.jetbrains.compose.web.dom.Text
import org.jetbrains.compose.web.renderComposable
import net.maizegenetics.dna.factor.io.BuilderFromHaplotypeVCF
import com.google.common.collect.*
fun main() {
var count: Int by mutableStateOf(0)
// These 3 lines put here to try to get TASSEL6 imports to work
// And the Multimap is from com.google.common.collect.*  - added
// to test if ANYTHING can be resolved from a mavenCentral import
// Both are resolved in compose desktop, but neither are resolved in this compose web project

val set1Map: Multimap<Int,IntRange> = HashMultimap.create()
val filename = "/Users/lcj34/notes_files/phg_2018/jetpack_compose/nam_merged_haplotypes_chr10.vcf.gz"
val featureTable = BuilderFromHaplotypeVCF().read(filename)

renderComposable(rootElementId = "root") {
    Div({ style { padding(25.px) } }) {
        Button(attrs = {
            onClick { count -= 1 }
        }) {
            Text("-")
        }

        Span({style { padding(15.px) }}) {
            Text("$count")
        }

        Button({
            onClick { count += 1 }
        }) {
            Text("+")
        }
    }
}

}
Thanks, Lynn

It has nothing to do with MavenCentral. Many libraries are published to MavenCentral, even some required by Compose (Web) itself.
You are trying to add a JVM libary net.maizegenetics.dna to a JS target Compose Web.

To clarify:  That is my question.  Adding this library works for jetpack compose desktop but not for jetpack compose web.  is this expected?  Are JVM libraries not supported by jetpack compose web ?   Can you explain why?

Compose Web is a web library targeting your browser, which has fundamental different use cases, requirements, limitations and APIs.
Beside executing, compiling JVM sources to a JS target is not supported by the Kotlin compiler at all.
You don't have a JVM inside your browser. Instead, Kotlin code in the JS source set is compiled to plain JavaScript.
For example, how do you read your file val filename = "/Users/lcj34/notes_files/phg_2018/jetpack_compose/nam_merged_haplotypes_chr10.vcf.gz" from your browser? Fortunately, JavaScript has no access to your file system. Otherwise every website could read your local data...
https://kotlinlang.org/docs/js-overview.html

Thank you for the explanation.

@lynnjo do you have any other questions here?

No other questions right now - you can close this issue.  Thanks for the information.

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


Shared experiences

Hello,
How easy would it be to add shared experiences capabilities (Spatial anchoring) to HoloJs.
Regards,
Omar.

Hello Cristi,
Did you have the chance to work on this?

Sorry, higher priority work popped up. I don't have an ETA but it will be the first thing I do on HoloJS once I get a little bit of time.

I've added the concept of spatial anchors to HoloJS. Checkout the develop/spatial-anchors branch. There is a  ThreeJS example called spatial-anchors that shows how to create, delete, save, enumerate and get location of anchors. I will add import/export of said anchors in the next couple of days to enable sharing of anchors with other devices.

I added import/export as well. I'll do some cleanup and write a Wiki entry, but the intended functionality is done. Please give it a try and let me know if you encounter any issues.

Hello Cristi,
Thank you for the update.
I am trying to send the exported anchor over a socket connection in order to share it with multiple devices. However when doing something like this
var data = {
	buffer : result.anchorBuffer,
        name: "exportedCubeLocation"
}
socket.emit('sendAnchor', data);

I get the following error:
Exception thrown at 0x76CA2552 in ThreeJSApp-Vs2017.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x0200C454.
TypeError: Object doesn't support property or method 'btoa'
   at e.encodeBase64Packet (socket.io.js:2:10105)
   at o (socket.io.js:2:8224)
   at e.encodePacket (socket.io.js:2:9510)
   at Anonymous function (socket.io.js:2:22461)
   at r.prototype.write (socket.io.js:2:22449)
   at r.prototype.send (socket.io.js:2:7770)
   at r.prototype.flush (socket.io.js:1:29319)
   at r.prototype.onDrain (socket.io.js:1:29162)
   at Anonymous function (socket.io.js:1:25677)
   at r.prototype.emit (socket.io.js:1:12370)

btoa is not implemented on the window element. I'm currently on vacation and can't add it for the next one week.
Meanwhile, you can try sending binary messages with socket.io as they don't require encoding with btoa:
After creating the socket, do:
socket.binaryType = "arraybuffer";
You can switch back to text messages by doing:
socket.binaryType = "";

Ok Cristi thank you. Enjoy your vacation :)

I implemented btoa and atob. Base64 encoding should work for socket.io now. However, sending binary messages will be much more efficient. Exported anchor size is in the megabytes range and base64 encoding/decoding these buffers will take some time.


File Pulse Source Connector Unable to setup

Hello Team,
I am trying to setup the FilePulseSourceConnector in my environment to test the local files sent to kafka topic, but by following the procedure creating the connector, unfortunately it is not allowing to setup the connector,
Below is the configuration of a connector,
{
"name": "FilePulseSourceConnector",
"config": {
"connector.class": "io.streamthoughts.kafka.connect.filepulse.source.FilePulseSourceConnector",
"tasks.max": "2",
"topic": "connectfilepulse.source",
"fs.scanner.class": "io.streamthoughts.kafka.connect.filepulse.scanner.local.LocalFSDirectoryWalker",
"fs.scan.directory.path": "/var/log",
"fs.scan.filters": "worker.log",
"fs.scan.interval.ms": "10",
"FileInputReader": "io.streamthoughts.kafka.connect.filepulse.reader.RowFileInputReader",
"internal.kafka.reporter.topic": "connect-file-pulse-status",
"internal.kafka.reporter.id": "test",
"internal.kafka.reporter.cluster.bootstrap.servers": "testserver:1234",
"fs.cleanup.policy.class": "io.streamthoughts.kafka.connect.filepulse.clean.LogCleanPolicy",
"task.reader.class": "io.streamthoughts.kafka.connect.filepulse.reader.RowFileReader"
}
}
Errors are below,
Connector configuration is invalid and contains the following 3 error(s):
Invalid value io.streamthoughts.kafka.connect.filepulse.reader.RowFileReader for configuration task.reader.class: Class io.streamthoughts.kafka.connect.filepulse.reader.RowFileReader could not be found.
Missing required configuration "internal.kafka.reporter.bootstrap.servers" which has no default value.
Invalid value io.streamthoughts.kafka.connect.filepulse.clean.LogCleanPolicy for configuration fs.cleanup.policy.class: Class io.streamthoughts.kafka.connect.filepulse.clean.LogCleanPolicy could not be found.
Could you please look into the errors and suggest us to move forward to setup the connector.
Thanks
Mac

Hi @macteja, could you give me the version of the connector you are trying to execute ?
Also, how did you install it (i.e confluent-hub, github tarball release , compile source code) ?
Thanks,

Hello @fhussonnois
Thanks for quick reply, now i was able to to start and send local files to kafka topic.
Had one question like, can we take specific file from the path?
Thanks,
Mac

Hi @macteja, I think the documentation is not very clear about how to filter input files (I will work on the documentation soon).
File Pulse scans the input directory specified through the property fs.scan.directory.path. You can configure and even implement a FileListFilter.
Currenlty the connector provides the following built-in filters :

io.streamthoughts.kafka.connect.filepulse.scanner.local.filter.IgnoreHiddenFileListFilter
io.streamthoughts.kafka.connect.filepulse.scanner.local.filter.LastModifiedFileListFilter
io.streamthoughts.kafka.connect.filepulse.scanner.local.filter.RegexFileListFilter

You can use the RegexFileListFilter to only process a specific file.
Example
fs.scan.filters=io.streamthoughts.kafka.connect.filepulse.scanner.local.filter.RegexFileListFilter
file.filter.regex.pattern=".*myFile\\.csv$"

Thank you @fhussonnois ,
I will try above and let you the output.
One more quick question, Is there any way to connect to remote host/vm to fetch files and ingest to kafka topic near to realtime?
Thanks
Mac

Unfortunately this is not possible. You should use another solution to retrieve files (e.g rsync, ftp, etc) or you can mount your remote volume to the host running the connector using SAN or NAS.

@fhussonnois i will look into your possible options & update any.
I have tested the flow for particular one and good with it.
Adding my config here for your review and any one can use this as a sample if they looking.
{
"name": "FilePulseSource",
"config": {
"connector.class": "io.streamthoughts.kafka.connect.filepulse.source.FilePulseSourceConnector",
"fs.scanner.class": "io.streamthoughts.kafka.connect.filepulse.scanner.local.LocalFSDirectoryWalker",
"fs.cleanup.policy.class": "io.streamthoughts.kafka.connect.filepulse.clean.LogCleanupPolicy",
"task.reader.class": "io.streamthoughts.kafka.connect.filepulse.reader.RowFileInputReader",
"tasks.max": "2",
"topic": "test",
"fs.scan.directory.path": "/var/log/",
"fs.scan.interval.ms": "1000",
"fs.scan.filters": "io.streamthoughts.kafka.connect.filepulse.scanner.local.filter.RegexFileListFilter",
"file.filter.regex.pattern": ".*worker\.log$",
"internal.kafka.reporter.bootstrap.servers": "xyz:123",
"internal.kafka.reporter.topic": "connect-file-pulse-status",
"internal.kafka.reporter.id": "connect-file-pulse-quickstart",
"offset.strategy": "name",
"read.max.wait.ms": "5000"
}
}
One more quick question, does it support multiple destination source path to get different uri files.
Ex:- First source path - /var/log - regexp - .*.log
Second source path - /usr/log - regexp - .*worker.log etc..
Thanks,
Mac

@fhussonnois could you please help me on fixing below error,
as i am created the connector with above comment config, but connector is in FAILED state, but still task is running fine and sending metrics to kafka topic.
"trace": "java.lang.IllegalStateException: Cannot init again.\n\tat io.streamthoughts.kafka.connect.filepulse.storage.KafkaStateBackingStore.start(KafkaStateBackingStore.java:94)\n\tat io.streamthoughts.kafka.connect.filepulse.scanner.LocalFileSystemScanner.(LocalFileSystemScanner.java:152)\n\tat io.streamthoughts.kafka.connect.filepulse.source.FilePulseSourceConnector.start(FilePulseSourceConnector.java:107)\n\tat org.apache.kafka.connect.runtime.WorkerConnector.doStart(WorkerConnector.java:111)\n\tat org.apache.kafka.connect.runtime.WorkerConnector.resume(WorkerConnector.java:131)\n\tat org.apache.kafka.connect.runtime.WorkerConnector.transitionTo(WorkerConnector.java:198)\n\tat org.apache.kafka.connect.runtime.Worker.transitionTo(Worker.java:828)\n\tat org.apache.kafka.connect.runtime.Worker.setTargetState(Worker.java:812)\n\tat org.apache.kafka.connect.runtime.distributed.DistributedHerder.processTargetStateChanges(DistributedHerder.java:479)\n\tat org.apache.kafka.connect.runtime.distributed.DistributedHerder.tick(DistributedHerder.java:341)\n\tat org.apache.kafka.connect.runtime.distributed.DistributedHerder.run(DistributedHerder.java:245)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat java.lang.Thread.run(Thread.java:748)\n
Please help me on fixing above error.
Thanks you very much for your extreme support.
Mac.

This actually a known issue. The connector initializes a singleton in the JVM (KafkaStateBackingStore) per internal.kafka.reporter.id to track the progression of each file. When the connector is stopped properly the  KafkaStateBackingStore is closed.
However, if you don't succed to start the connector at first and the connector crashes abruptly then you will have memory leak. The connector will try to restart the previous  KafkaStateBackingStore.
This should not happen in production. To solve that problem during  development you have to restart your Kafka Worker or change the internal.kafka.reporter.id property.

@fhussonnois valuable information and worked exactly as mentioned.
This should not happen in production. It means any other suggestion not to get in to this kind of situation?
Production it is difficult to perform whatever you mentioned 2 tasks as frequently & memory leak can cause of hung the system.
If possible can you update insights about below question,
Does it support multiple source paths to get different uri files.
Ex:- First source path - /var/log - regexp - .*.log
Second source path - /usr/log - regexp - .*worker.log etc..
Thanks Once again.

The problem should not happen in production because this is due to an exception happening while initializing the connector (but of course, we should 'never say never').
Hence, I will work on a fix to reduce the risk of that on the next release.
Regarding your questions, currently you can't configure multiple source paths. You should deploy one connector per input directory.

Ok.. Thanks @fhussonnois for info & confirming the fix status too.
Yes, got your point, If possible can you take this in next release implementation?
Today i am facing again diff issue like,  connector "state": "RUNNING", but task is not going run and it keeps on "state": "UNASSIGNED", only.
Actually i have paused the connector for some extent and resume the operation, later started state is going UNASSIGNED and not polling the logs to topic as well.
Any suggestions on this.
Mac

Okay, I think I was able to reproduce the problem. I will push a fix as soon as possible.

Hi @macteja, the release is available : https://github.com/streamthoughts/kafka-connect-file-pulse/releases/tag/v1.3.0 . You can download the new version from the release page.
Could you please close this issue if all you problems are resolved.
Thank you.

Thanks @fhussonnois , for your quick response with fix. appreciate your efforts..
I am installing through below hub command
confluent-hub install streamthoughts/kafka-connect-file-pulse:1.3.0
If possible could you please confirm above will work? & can you update to confluent team to update there page with latest info, so that other can use latest one.
I will test once 1.3.0 version and update the findings with closure on this ticket..
Thanks,
Mac

Hi @macteja , currently you can't install it via Confluent Hub because the new version is not available yet. I'm still waiting for the confluent team. However, you can download the new version here https://github.com/streamthoughts/kafka-connect-file-pulse/releases/tag/v1.3.0
Then you can use the confluent-hub CLI to install the downloaded zip file.
$ confluent-hub install --no-prompt streamthoughts-kafka-connect-file-pulse-1.3.0.zip


Stacked bar error on all 0 data

The example from the readme works. But in the off chance that that data for the chart becomes all zeros, the chart throws an svg field length mismatch error
return {
labels: ["A", "B"],
legend: ["M1", "M2", "M3"],
data: [
[0, 0, 0],
[0, 0, 0]
],
barColors: ["#dfe4ea", "#ced6e0", "#a4b0be"]
};

For me too!

[0, 0, 0],
[0, 0, 0]
u can handle from your code. is it all '0'or have values.

issue still persists even after a year. Any kind of workarounds?


Unable to Create IAM Policy Statement (awacs.aws.Statement) that is a troposphere.Ref

I am trying to make a awacs.aws.Statement that will generate the following template:
Parameters:
  Parameter-SomeArnList:
    Description: Comma-delimited list of some ARNs
    Type: CommaDelimitedList
Resources:
  SomePolicy:
    Type: AWS::IAM::ManagedPolicy
    Properties:
      PolicyDocument:
        Version: '2012-10-17'
        Statement:
          - Action:
              - cloudformation:DescribeStacks
            Effect: Allow
            Resource: !Ref 'ParameterSomeArnList'

where Parameter-SomeArnList is a CommaDelimitedList parameter.
Using troposphere and awacs, I construct this template as follows:
import troposphere
from troposphere import iam

import awacs

ex_template = troposphere.Template()

ex_template.add_parameter(
    troposphere.Parameter(
        title="ParameterSomeArnList",
        Type="CommaDelimitedList",
        Description="Comma-delimited list of some ARNs"
    )
)

ex_template.add_resource(
    iam.ManagedPolicy(
        title="Example",
        PolicyDocument=awacs.aws.Policy(
            Version="2012-10-17",
            Statement=[
                awacs.aws.Statement(
                    Action=[awacs.aws.Action(prefix="cloudformation", action="DescribeStacks")],
                    Effect="Allow",
                    Resource=troposphere.Ref("ParameterWorkerNodeCfnArns")
                )
            ]
        )
    )
)

ex_template.to_yaml()

you will hit an error though:
Traceback (most recent call last):
  File "<stdin>", line 10, in <module>
  File "/lib/python3.7/site-packages/awacs/__init__.py", line 128, in __init__
    sup.__init__(None, props=self.props, **kwargs)
  File "/lib/python3.7/site-packages/awacs/__init__.py", line 39, in __init__
    self.__setattr__(k, v)
  File "/lib/python3.7/site-packages/awacs/__init__.py", line 80, in __setattr__
    self._raise_type(name, value, expected_type)
  File "/lib/python3.7/site-packages/awacs/__init__.py", line 89, in _raise_type
    (name, type(value), expected_type))
TypeError: Resource is <class 'troposphere.Ref'>, expected <class 'list'>

You can make some minor changes to awacs/aws.py and troposphere/compat.py to fix this change, although it requires awacs to import troposphere.

I am closing this and filing in awacs


Add example to documentation for eecs280 p5

Adding an example of using the square bracket operator to the main example will be helpful for our students so that they know that can do e.g. row["tag"] or row["content"] to just pick out the piece they want.

Resolved by cf941dab9ff33fc459058f3ce1c91bdaefed41f3


Downloads do not work anymore

It's been a few days at least.
The logs say Error downloading -YXG0fHEFmY: YouTube returned an unexpected response: watch html did not contain a PlayabilityStatus [src/tasks/download.rs] upon failure.
I accidentally removed my .cache folder (I'm sad) and now I can't listen to any music. I haven't looked into the change yet.

Hmmm, youtube seems to have fixed downloading with rustube. I'll check if they found a workaround.

Having the same problem, have you found a workaround yet @ccgauche

I have a solution that I'll be pushing in a few days. The current rustube I'm using is broken I started modding rusty_ytdl to implement it in ytermusic. My PR got merged so it shouldn't take much time now.

Merci !
I just found this project and have the same issue

Fixed in beta branch

Fixed in beta branch

Builds and runs !
🎉 Merci 🙏🏻


Add Result class

Super basic implementation. Wasn't sure if it made sense to implement as a native go type or not though.  #674

This is a really nice addition @eliothedeman @st0012 😍


Remove Small Radios?

Hi @egunther39 - Realised that Modus Bootstrap has small radios in the code - but they aren't documented and not in the style guide.
Should we remove them? They aren't part of Bootstrap either.
This is from Sample page: https://modus-bootstrap.trimble.com/sample-page/1.5.3/

Merged! This will be in the next release.


Flutter packages: Dart Tests: flutter_image tests fails

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
git clone GitHub - flutter/packages: A collection of useful packages maintained by the Flutter team
cd packages
Install Flutter master version
cd packages/flutter_image
Flutter pub get
Run the test
Alternatively you can run test inside VSCode in the Test Navigator
Expected results
Running all tests should succeed
Actual results

Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
00:00 +0: loading /Users/hairon/Documents/packages/packages/flutter_image/test/network_test.dart                                                                                00:01 +0: loading /Users/hairon/Documents/packages/packages/flutter_image/test/network_test.dart                                                                                00:02 +0: loading /Users/hairon/Documents/packages/packages/flutter_image/test/network_test.dart                                                                                00:03 +0: loading /Users/hairon/Documents/packages/packages/flutter_image/test/network_test.dart                                                                                00:03 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:04 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:05 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:06 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:07 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:08 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:09 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:10 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:11 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:12 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:13 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:14 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:15 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:16 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:17 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:18 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:19 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:20 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:21 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:22 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:23 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:24 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:25 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:26 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:27 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:28 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:29 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:30 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:31 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:32 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:33 +0: NetworkImageWithRetry succeeds loads image from network                                                                                00:33 +0 -1: NetworkImageWithRetry succeeds loads image from network [E]
  TimeoutException after 0:00:30.000000: Test timed out after 30 seconds. See [test | Dart Package](https://pub.dev/packages/test#timeouts)
  dart:isolate  _RawReceivePort._handleMessage

To run this test again: /Users/hairon/fvm/versions/master/bin/cache/dart-sdk/bin/dart test /Users/hairon/Documents/packages/packages/flutter_image/test/network_test.dart -p vm --plain-name 'NetworkImageWithRetry succeeds loads image from network'
00:33 +0 -1: NetworkImageWithRetry succeeds loads image from network with an extra header                                                                                00:34 +0 -1: NetworkImageWithRetry succeeds loads image from network with an extra header                                                                                00:34 +0 -1: NetworkImageWithRetry succeeds loads image from network [E]
  ══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞═════════════════
  The following TestFailure was thrown resolving a single-frame
  image stream:
  ══╡ EXCEPTION CAUGHT BY PACKAGE:FLUTTER_IMAGE ╞══════════════════
  The following FetchFailure was thrown NetworkImageWithRetry
  failed to load http://localhost:11111/immediate_success.png:
  FetchFailure(
    attemptCount: 6
    httpStatusCode: null
    totalDuration: 0:00:31.111080
    originalException: SocketException: Connection refused (OS
  Error: Connection refused, errno = 61), address = localhost, port
  = 50659
  )
  ═════════════════════════════════════════════════════════════════

  When the exception was thrown, this was the stack:
  #0      fail (package:matcher/src/expect/expect.dart:149:31)
  #1      main.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///Users/hairon/Documents/packages/packages/flutter_image/test/network_test.dart:26:11)
  #2      NetworkImageWithRetry._loadWithRetry (package:flutter_image/network.dart:214:28)
  <asynchronous suspension>
  #3      ImageStreamCompleter.setImage (package:flutter/src/painting/image_stream.dart:698:3)
  <asynchronous suspension>

  Image provider:
  NetworkImageWithRetry("[http://localhost:11111/immediate_success.png",](http://localhost:11111/immediate_success.png%22,)
  scale: 1.0)
  Image key:
  NetworkImageWithRetry("[http://localhost:11111/immediate_success.png",](http://localhost:11111/immediate_success.png%22,)
  scale: 1.0)
  ═════════════════════════════════════════════════════════════════

  package:matcher                                         fail
  test/network_test.dart 26:11                            main.<fn>.<fn>.<fn>.<fn>
  package:flutter/src/foundation/assertions.dart 1185:14  FlutterError.reportError
  package:flutter/src/painting/image_stream.dart 802:20   ImageStreamCompleter.reportError
  package:flutter/src/painting/image_stream.dart 863:7    new OneFrameImageStreamCompleter.<fn>
  ===== asynchronous gap ===========================
  dart:async                                              Future.then
  package:flutter/src/painting/image_stream.dart 862:11   new OneFrameImageStreamCompleter
  package:flutter_image/network.dart 109:12               NetworkImageWithRetry.loadBuffer
  test/network_test.dart 163:50                           assertThatImageLoadingSucceeds
  test/network_test.dart 39:9                             main.<fn>.<fn>.<fn>

01:03 +0 -2: NetworkImageWithRetry succeeds loads image from network with an extra header [E]
  TimeoutException after 0:00:30.000000: Test timed out after 30 seconds. See [test | Dart Package](https://pub.dev/packages/test#timeouts)
  dart:isolate  _RawReceivePort._handleMessage

To run this test again: /Users/hairon/fvm/versions/master/bin/cache/dart-sdk/bin/dart test /Users/hairon/Documents/packages/packages/flutter_image/test/network_test.dart -p vm --plain-name 'NetworkImageWithRetry succeeds loads image from network with an extra header'
01:03 +0 -2: NetworkImageWithRetry succeeds succeeds on successful retry                                                                                01:03 +0 -3: NetworkImageWithRetry succeeds succeeds on successful retry [E]
  ══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞═════════════════
  The following TestFailure was thrown resolving a single-frame
  image stream:
  Expected: a value less than <2>
    Actual: <2>
     Which: is not a value less than <2>

  When the exception was thrown, this was the stack:
  #0      fail (package:matcher/src/expect/expect.dart:149:31)
  #1      _expect (package:matcher/src/expect/expect.dart:144:3)
  #2      expect (package:matcher/src/expect/expect.dart:56:3)
  #3      expect (package:flutter_test/src/widget_tester.dart:458:18)
  #4      main.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///Users/hairon/Documents/packages/packages/flutter_image/test/network_test.dart:61:15)
  #5      NetworkImageWithRetry._loadWithRetry (package:flutter_image/network.dart:202:43)
  <asynchronous suspension>
  #6      ImageStreamCompleter.setImage (package:flutter/src/painting/image_stream.dart:698:3)
  <asynchronous suspension>

  Image provider:
  NetworkImageWithRetry("[http://localhost:11111/error.png",](http://localhost:11111/error.png%22,) scale:
  1.0)
  Image key:
  NetworkImageWithRetry("[http://localhost:11111/error.png",](http://localhost:11111/error.png%22,) scale:
  1.0)
  ═════════════════════════════════════════════════════════════════

  package:matcher                                         fail
  test/network_test.dart 26:11                            main.<fn>.<fn>.<fn>.<fn>
  package:flutter/src/foundation/assertions.dart 1185:14  FlutterError.reportError
  package:flutter/src/painting/image_stream.dart 802:20   ImageStreamCompleter.reportError
  package:flutter/src/painting/image_stream.dart 863:7    new OneFrameImageStreamCompleter.<fn>
  ===== asynchronous gap ===========================
  dart:async                                              Future.then
  package:flutter/src/painting/image_stream.dart 862:11   new OneFrameImageStreamCompleter
  package:flutter_image/network.dart 109:12               NetworkImageWithRetry.loadBuffer
  test/network_test.dart 163:50                           assertThatImageLoadingSucceeds
  test/network_test.dart 69:9                             main.<fn>.<fn>.<fn>

01:04 +0 -3: NetworkImageWithRetry succeeds loads image from network with an extra header [E]
  ══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞═════════════════
  The following TestFailure was thrown resolving a single-frame
  image stream:
  ══╡ EXCEPTION CAUGHT BY PACKAGE:FLUTTER_IMAGE ╞══════════════════
  The following FetchFailure was thrown NetworkImageWithRetry
  failed to load http://localhost:11111/extra_header.png:
  FetchFailure(
    attemptCount: 6
    httpStatusCode: null
    totalDuration: 0:00:31.107538
    originalException: SocketException: Connection refused (OS
  Error: Connection refused, errno = 61), address = localhost, port
  = 51388
  )
  ═════════════════════════════════════════════════════════════════

  When the exception was thrown, this was the stack:
  #0      fail (package:matcher/src/expect/expect.dart:149:31)
  #1      main.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///Users/hairon/Documents/packages/packages/flutter_image/test/network_test.dart:26:11)
  #2      NetworkImageWithRetry._loadWithRetry (package:flutter_image/network.dart:214:28)
  <asynchronous suspension>
  #3      ImageStreamCompleter.setImage (package:flutter/src/painting/image_stream.dart:698:3)
  <asynchronous suspension>

  Image provider:
  NetworkImageWithRetry("[http://localhost:11111/extra_header.png",](http://localhost:11111/extra_header.png%22,)
  scale: 1.0)
  Image key:
  NetworkImageWithRetry("[http://localhost:11111/extra_header.png",](http://localhost:11111/extra_header.png%22,)
  scale: 1.0)
  ═════════════════════════════════════════════════════════════════

  package:matcher                                         fail
  test/network_test.dart 26:11                            main.<fn>.<fn>.<fn>.<fn>
  package:flutter/src/foundation/assertions.dart 1185:14  FlutterError.reportError
  package:flutter/src/painting/image_stream.dart 802:20   ImageStreamCompleter.reportError
  package:flutter/src/painting/image_stream.dart 863:7    new OneFrameImageStreamCompleter.<fn>
  ===== asynchronous gap ===========================
  dart:async                                              Future.then
  package:flutter/src/painting/image_stream.dart 862:11   new OneFrameImageStreamCompleter
  package:flutter_image/network.dart 109:12               NetworkImageWithRetry.loadBuffer
  test/network_test.dart 163:50                           assertThatImageLoadingSucceeds
  test/network_test.dart 48:9                             main.<fn>.<fn>.<fn>

01:33 +0 -3: NetworkImageWithRetry succeeds succeeds on successful retry [E]
  TimeoutException after 0:00:30.000000: Test timed out after 30 seconds. See [test | Dart Package](https://pub.dev/packages/test#timeouts)
  dart:isolate  _RawReceivePort._handleMessage

To run this test again: /Users/hairon/fvm/versions/master/bin/cache/dart-sdk/bin/dart test /Users/hairon/Documents/packages/packages/flutter_image/test/network_test.dart -p vm --plain-name 'NetworkImageWithRetry succeeds succeeds on successful retry'
01:33 +0 -3: NetworkImageWithRetry fails retries 6 times then gives up                                                                                01:33 +1 -3: NetworkImageWithRetry fails retries 6 times then gives up                                                                                01:33 +1 -3: NetworkImageWithRetry fails gives up immediately on non-retriable errors (HTTP 404)                                                                                01:33 +1 -4: NetworkImageWithRetry fails gives up immediately on non-retriable errors (HTTP 404) [E]
  Expected: a value less than <2>
    Actual: <2>
     Which: is not a value less than <2>

  package:matcher                                     expect
  package:flutter_test/src/widget_tester.dart 458:18  expect
  test/network_test.dart 117:11                       main.<fn>.<fn>.<fn>.onAttempt
  ===== asynchronous gap ===========================
  dart:async                                          Timer.run
  test/network_test.dart 126:19                       main.<fn>.<fn>.<fn>.<fn>
  package:flutter_image/network.dart 202:43           NetworkImageWithRetry._loadWithRetry
  ===== asynchronous gap ===========================
  dart:async                                          _CustomZone.registerUnaryCallback
  package:flutter_image/network.dart 141:38           NetworkImageWithRetry._loadWithRetry
  package:flutter_image/network.dart 109:41           NetworkImageWithRetry.loadBuffer
  test/network_test.dart 143:50                       assertThatImageLoadingFails
  test/network_test.dart 133:9                        main.<fn>.<fn>.<fn>

  TimeoutException after 0:00:30.000000: Test timed out after 30 seconds. See [test | Dart Package](https://pub.dev/packages/test#timeouts)
  dart:isolate  _RawReceivePort._handleMessage

To run this test again: /Users/hairon/fvm/versions/master/bin/cache/dart-sdk/bin/dart test /Users/hairon/Documents/packages/packages/flutter_image/test/network_test.dart -p vm --plain-name 'NetworkImageWithRetry fails gives up immediately on non-retriable errors (HTTP 404)'
02:03 +1 -4: Some tests failed.

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.14.0-14.0.pre.361, on macOS 13.5.2 22G91 darwin-arm64 (Rosetta), locale en-UY)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] IntelliJ IDEA Community Edition (version 2023.2.2)

No issues found!

Please note that this issue can also be reproduced on stable versions (3.14.3)

Closing this issue as the dependency server needed for the test was not running. All tests passed in both master and stable.

Closing this issue as the dependency server needed for the test was not running. All tests passed in both master and stable.


Manage config for job callback URL

When a launcher is finishing a job, it contacts the app via a 'call back' url.   In our case it Posts to /jobs/
Currently the app uses a BASE_URL config value that is used to construct the callback url since this url is different for local, staging and production.
If the URL is missing the trailing slash, it doesn't work.   Can't use urljoin which obliterates intermediate paths.
Here is some example code that could manage the BASE_URL   in app/init.py  if the route is /jobs
this works if the url does or does not have a trailing slash
from urllib.parse import urlparse
parts = urlparse(app.config['BASE_URL'])
app.config['JOB_CALLBACK_URL'] = f"{parts.scheme}://{parts.netloc}{parts.path or '/'}jobs"
In addition we should consider using the SERVER_NAME config value that Flask already works with for this.   It is not set by default but will be used if it is.

note that currently the app is working if the config is created carefully but it's error prone, so this is a low-priority enhancement.

closing this and will fix in the next version.


other instruction problems

python setup.py
doesn't work.  Here's the error I am getting:

00:05:06~/Downloads/ImagingReso-1.6.10>python3 setup.py
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: no commands supplied

@ustajan Can you please try the conda/pip route?

@ustajan Can you please try the conda/pip route?


Fix to stop all updates when only one app failed to update.

I do not think this will work as there are abort calls.

# File B.ps1
function Abort-Mock {
    write-host 'before calling exit'
    exit 1
}

# File A.ps1
. $psscriptroot\B.ps1

try {
	Abort-Mock
} catch {
    'ahoj'
}

Write-host 'after exit call'

Result is always only message "Before calling exit"

Thanks to review.
I can't find some way to trap or catch abort calls. But, why handles abort calls at same level process? exit 1 means to terminate process and report error to parent process. It does not use to handle in same level.

I am just saying that this will not fix problem when there is some hash check fail or installation error. Because on hash check fail there is abort call which have exit 1, which will stop whole scoop process all the time with or without try catch block. So this "fix" will not fix anything.

Good description.
I checked codes to find error I met. Found it
If found new version app, scoop try download it using dl_with_cache function. dl_with_cache function calls do_dl. Inside do_dl function, it has try-catch and throw $e. This error is not handled while update.
This changes fix above problem. However I feels this pr is not right way.
Why do_dl catch error and throw agian?


Throwing explicit error for more than one argument

spark-bench#121
Added check for having single argument (supporting -h and --help flags, too)

Codecov Report

Merging #125 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #125   +/-   ##
=======================================
  Coverage   86.74%   86.74%
=======================================
  Files          27       27
  Lines         581      581
  Branches       26       26
=======================================
  Hits          504      504
  Misses         77       77

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 d0d4908...4712f22. Read the comment docs.


Android: build failes

Hi I am using this module and its working in ios but in android it givve build erros like following:
error: KeyboardContentView is not abstract and does not override abstract method handleException(Throwable) in RootView class KeyboardContentView extends ReactViewGroup implements RootView { ^
React-Native version:  "0.56.0",
"react-native-keyboard-view": "^3.0.19",
Please tell me how to solvve this error.

错误: KeyboardContentView不是抽象的, 并且未覆盖RootView中的抽象方法handleException(Throwable)
我也是同样的问题 棒棒忙

@skyliwq  Please can you explain in English as I don't understand the language

@skyliwq then this module doesnt support the react native latest versions?

@skyliwq did you get any workaround for this issue I need this urgently

@skyliwq did you get any solution for this issue I need to use this in my project can you tell me please how to solve thiss

错误: KeyboardContentView不是抽象的, 并且未覆盖RootView中的抽象方法handleException(Throwable)
我也是同样的问题 棒棒忙

This is What he means.
Also I really have the same issue as well, Really want have this lib inside the project.


unable to login to wallet

My pc did an update and I can no longer login to my wallet.
Have tried username and password and keep getting error wrong password or username.
I have already backed up wallet files and installed updated arizen wallet.
Can you please help?

Could you please read #160 ?


CCWAddRef symbol not defined

I am trying to compile a rather complex CoreRT-based project (private repo) when it suddenly started failing on the stage where it links the object file with the CoreRT support libraries. The complaint is this:
LNK2001: unresolved external symbol CCWAddRef

I have found the P/Invoke that references this symbol here, but nowhere in the native support code is this function defined. I do not know why this error just started occurring; this is not a new project and it compiled and linked just fine until now. I do know, however, that I am not performing any COM interop from C# in this project, because COM interop is not fully implemented in CoreRT last time I checked. (Any required COM interop I perform via a C++ helper library using standard P/Invoke entrypoints.) Therefore, I do not know why this symbol just started showing up in the CoreRT object, as it seems to be related to C# COM interop. Any pointers?

The COM interop does not work in CoreRT at all yet. We are adding dummy stubs as needed to make things compile - e.g. https://github.com/dotnet/corert/blob/master/src/Native/Runtime/portable.cpp#L355.

We'll address interop with the MCG tool. We haven't started properly bringing this up yet.

Actually, let's keep this open for tracking. Interop is progressing slower than I would want to see.

Fixed in a579f537fd48a9c8bce6929ad21852019da8e7ab.


Add golangci-lint as a CI step

What would you like to be added:
Add golangci-lint as a CI step, preferably after #26 is fixed.
Why is this needed:
golangci-lint helps avoid error-prone patterns in code.

Fixed by #43

Fixed by #43


Update README.

Thank you for providing such a useful tool.
When I was installing it, I found some parts of the README that needed updating, so I created a pull request.
permissions
The permissions given to the GITHUB_TOKEN for the job should be minimal.
In some articles, they choose the “Read and write permissions” button in the “Workflow permissions” section under “Settings > Actions > General”.
However, we can use permissions to modify the default permissions granted to the GITHUB_TOKEN.
ref: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#permissions
Additional setting
After setting permissions, there is one more setting required to run tagpr.
For this reason, I propose adding this setting to the README.
Here is final minimum setting for running tagpr:

actions/checkout
To prevent the following warning, I propose using newer version.
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3.

Thank you!


Fix FITS picking

Sometimes a wrong FITS files is shown

https://ztf.snad.space/products/sci/2019/0208/340613/ztf_20190208340613_000518_zr_c01_o_q1_sciimg.fits
example of a fits header - there's a field HJD there

It would be nice to have zoom buttons in FITS viewer

Error in fits loading
https://ztf.snad.space/dr4/view/682105100012889
data point mjd 1018.26468

JS9 ERROR: could not find /products/sci/2020/0618/261214/ztf_20200618261214_000682_zr_c05_o_q1_sciimg.fits

This bug is something non-related and it is fixed now

Closing for now, feel free to reopen


k8s apis for resource tree integration

[ ] manifest get
[ ] manifest edit
[ ] delete
[ ]  event
[ ] log
[ ] terminal

input params:
apiGroup
kind
version
Name
Namespace
system input config: cluster token

Done


Fix recursive calls in evaluated interpolation

Recursive user-defined functions may not be called from {=...} interpolated phrases. This is most likely due to mutex locking.
It needs a little rework to function as expected.

Initially, the interlock mutex has been disabled in interpolate(). This relieves the condition.
However, longer term, this, or a similar mechanism, will need re-introducing (with an instance count), as async/parallel use of the function may cause some issues.
That issue though, is less severe than this one.

Closing this issue for now. May need a separate ticket for parallel use if a race condition exhibits.

Closing this issue for now. May need a separate ticket for parallel use if a race condition exhibits.

update: no longer an issue.


⚠ Bofrost.gr has degraded performance

In 8a311fb, Bofrost.gr (https://www.bofrost.gr) experienced degraded performance:

HTTP code: 200
Response time: 4201 ms

Resolved: Bofrost.gr performance has improved in d43125e.


Update create instance task dependency engine with node reuse strategy

Changed

Updated CreateInstanceTaskDependencyEngine to reuse createInstance task kind graph nodes of the same service if the binding scope is request or singleton.

Codecov Report

Merging #110 (b0a37aa) into master (48383f8) will decrease coverage by 0.02%.
The diff coverage is 95.65%.

@@            Coverage Diff             @@
##           master     #110      +/-   ##
==========================================
- Coverage   95.39%   95.36%   -0.03%
==========================================
  Files          90       90
  Lines        1410     1447      +37
  Branches      166      174       +8
==========================================
+ Hits         1345     1380      +35
- Misses         62       64       +2
  Partials        3        3

Flag
Coverage Δ

cuaktask
92.72% <ø> (ø)

iocuak
94.13% <95.65%> (+0.01%)
:arrow_up:

porygon
98.58% <ø> (ø)

porygon-typeorm
98.90% <ø> (ø)

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

Impacted Files
Coverage Δ

...odules/CreateInstancesTaskDependenciesOperation.ts
97.16% <95.65%> (-1.39%)
:arrow_down:

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 359375f...b0a37aa. Read the comment docs.


Quests requirements doesn't work!

What is your Quests version / build number (do not say "latest")?
4.8.1-b404
Describe the problem and how to replicate it.
As in the title, the quest requirements don't work.
In the video you can see how I take quest 9, which requires the configuration to perform the previous quest 8, but it is not taken into account at all, so I can take any quest, and the requirements for these quests are simply ignored ;-;
Video: https://www.youtube.com/watch?v=9Z8BOdRetDI&ab_channel=Trawka
Any console errors to share?
Nope. 0 errors.

If applicable, can you provide an example quest from quests.yml?
https://pastebin.com/ZEkLvcbJ

Yah I have the exact same issue

Should be resolved in https://ci.codemc.io/job/PikaMug/job/Quests/405/


fix(KFLUXBUGS-1248): adjust panel threshold to match query

since we went from  to "1 - " we had to flip the threshold base and colors so that it is green if 95 or above and red if below 95
Signed-off-by: Gabe Montero<EMAIL_ADDRESS>rh-pre-commit.version: 2.2.0
rh-pre-commit.check-secrets: ENABLED

@amisstea PTAL


Translate terms

Finished the configuration for using the internationalization framework, including the fix for typescript (1).
Translated all text in src/components/UsersComponents/UsersFiltersDialog.tsx
(1) https://react.i18next.com/latest/typescript

Replaced by #69


fix bits parameter in init function

the bits parameter in the init function was not stored as class member

Ah, isn't that a foolish bug!
Thanks for the fix!


995 paired data search broken

I think that this work is the last of what remains before we're ready to send to the PCX.