One or more TimeSeries could not be written: Field [...]distributionValue had an invalid value

Hi all. We are seeing some errors in logs for GMP on GKE (1.24) that may be correlated with periods of metrics missing.
ts=2023-05-24T23:49:02.803Z caller=export.go:827 level=error component=gcm_exporter msg="send batch" size=200 err="rpc error: code = InvalidArgument desc = One or more TimeSeries could not be written: Field timeSeries[146].points[0].distributionValue had an invalid value: Distribution value with a non-finite |mean| of inf.\nerror details: name = Unknown  desc = total_point_count:200  success_point_count:199  errors:{status:{code:3}  point_count:1}"

I see another issue with this was closed and fixed.
Can you help us understand what might be going on here?

A bit more context. This seems to be caused by one of our deployments reporting 5 instances of a +Inf sum for histogram metrics.

One example is:
# HELP shardinfo_replication_lag shardinfo_replication_lag histogram
# TYPE shardinfo_replication_lag histogram
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="1"} 0
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="2"} 0
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="5"} 0
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="10"} 0
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="20"} 0
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="50"} 0
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="100"} 0
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="200"} 0
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="500"} 0
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="1000"} 0
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="2000"} 0
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="5000"} 0
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="10000"} 0
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="20000"} 0
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="50000"} 0
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="100000"} 0
shardinfo_replication_lag_bucket{operation="ShardInfo",service_name="history",le="+Inf"} 329564
shardinfo_replication_lag_sum{operation="ShardInfo",service_name="history"} +Inf
shardinfo_replication_lag_count{operation="ShardInfo",service_name="history"} 329564

Thanks for sharing - it does look like the exporter itself is reporting bad data, so the solution would be to fix the exporter at source to never report Inf as a sum. This shouldn't be possible and our system rejects it as an invalid sum for a histogram. Histograms in our world are atomic objects, so we can't not save the sum along with the buckets, it would be invalid.

We've filtered these metrics out for now. The exporter is running in a temporal container, so it would take some doing to track this all down.
One question for you - when this happens, do all metrics in the batch get discarded? As in, is it possible perfectly good metrics are getting dropped as a result of this as well?
Thanks

Hi @leighst-anchorage,
Yes - all the samples in the batch call, including "good" metrics, are getting dropped as well. Most of the time, this would be 200 samples being dropped across different time series.


Dolly Model Register on Mflow and Serve using Databricks Model Serving

I am trying to register the dolly model on mlflow and serve it using the databricks model serving. The serving container keeps failing and endpoint is unable to be created.

You won't be able to run this in Databricks serving unless you are opted into the GPU serving private preview. The preview should let you serve the 7B model. (This is a Databricks question so I'll close it here)


update Crossplane APIs to v1 and helm.crossplane.io to v1beta1

This PR updates the relevant Crossplane APIs to use the new v1 stable versions.  It also updates the helm.crossplane.io APIs to use v1beta1.
Keeping this PR in draft until testing is complete.

Updated this PR to also use dependency resolution to instal all the providers.  @prasek can you take a look?


Video doesn't appear

[x] Issue observed on https://plyr.io

The issue is on the website. Video doesn't appear on Chrome 56 and Opera 43.
Tested on safari and works.

Browser: Chrome
Version:  56.0.2924.87
Browser: Opera
Version:  43.0.2442.1165
Operating System: OSX
Version: El Capitan

Players affected:

[x] HTML5 Video Yes, Video doesn't appear, cover photo stays
[x] YouTube Video doesn't appear, black screen appear
[x] Vimeo  Video doesn't appear, black screen appear

Edit:
Just updated Chrome to 57.0.2987.98. It works on Chrome now but very slow. Safari is fine.

Not able to replicate this on Chrome 56 or 57 on OS X El Capitan.

@SamPotts  Can you try it on Opera? It is not updated yet.

Just tested Opera 43.0.2442.1165 - works as expected (video plays). Perhaps check your extensions?

I don't have any on Opera.

any console errors?

Still not able to replicate this on 2 Mac OS machines and a windows box.

After updating Opera and Chrome. They give the same screen. Safari is still ok. My mac is old btw. It may be about GPU.
This is Chrome.

This is Opera.

The screenshots would suggest to me you have other issues causing this...

I agree. But it is interesting that video works on safari which is my cause of doubt.

Just want to add that this seems to be an issue related to crossorigin.  I was seeing the same issue(ish) where neither the poster nor video would show and as soon as I removed the crossorigin property, it all worked again.  This is for Chrome 57, not sure about older version.  The issue was not present when using Safari.

Not something I have control over unfortunately. It's worth raising a bug with Chrome though. They're quick to fix usually.

Wanted to add that it actually appears to be a combination issue between crossorigin and http.  As long as the content is from an https source, including the poster, then it appears with the crossorigin property added.  Remove that and http content appears.  Still a browser issue though.


Prepare godoc documentation for klio

Create great documentation and produce godoc integration

The godoc is now published, it needs to make some sense now though


Cannot read property 'at' of undefined

$ node -r ts-node/register --max-old-space-size=8192 ./src/index.ts
Unknown types found, no types for ActiveEraInfo,Releases
2020-03-09 21:01:03    NODE-WATCHER: blockIndex: 1378323
2020-03-09 21:01:03    NODE-WATCHER: lastKnownBestFinalized: 1380087
2020-03-09 21:01:03    NODE-WATCHER: block: 1378323
2020-03-09 21:01:22    NODE-WATCHER: hash: 0x6c70cbdecaeb1a6b3507c8dcc9e437eb9d0f40a6d3f8a95fb1df66e993da5dfa
2020-03-09 21:01:40    NODE-WATCHER: bumped spec version to 1050, fetching new metadata
2020-03-09 21:02:53    NODE-WATCHER: Task --- createBlockNumber
2020-03-09 21:03:29 TASK: BLOCKNUMBER: NomidotBlock: {"authoredBy":"DxnzP6bkiF2SeQofK4o8shvgK5JyGsqrNjpd7qPtLZffiAG","hash":"0x6c70cbdecaeb1a6b3507c8dcc9e437eb9d0f40a6d3f8a95fb1df66e993da5dfa","startDateTime":1583776788000}
2020-03-09 21:03:29    NODE-WATCHER: Writing: {"authoredBy":"DxnzP6bkiF2SeQofK4o8shvgK5JyGsqrNjpd7qPtLZffiAG","hash":"0x6c70cbdecaeb1a6b3507c8dcc9e437eb9d0f40a6d3f8a95fb1df66e993da5dfa","startDateTime":1583776788000}
2020-03-09 21:03:29 TASK: BLOCKNUMBER: Prisma Block Number: {"number":1378323,"startDateTime":"2020-03-09T17:59:48.000Z","hash":"0x6c70cbdecaeb1a6b3507c8dcc9e437eb9d0f40a6d3f8a95fb1df66e993da5dfa","id":"ck7kydbbmw44x07191z8nat24","authoredBy":"DxnzP6bkiF2SeQofK4o8shvgK5JyGsqrNjpd7qPtLZffiAG"}
2020-03-09 21:03:29    NODE-WATCHER: Task --- createCouncil
2020-03-09 21:03:29    NODE-WATCHER: Writing: []
2020-03-09 21:03:29    NODE-WATCHER: Task --- createSession
2020-03-09 21:03:29   TASK: SESSION: Nomidot Session: {"didNewSessionStart":false,"idx":2448}
2020-03-09 21:03:29    NODE-WATCHER: Writing: {"didNewSessionStart":false,"idx":2448}
2020-03-09 21:03:29    NODE-WATCHER: Task --- createStake

Task --- createStake
(node:26) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'at' of undefined
    at /node_watcher/src/tasks/createStake.ts:26:67
    at step (/node_watcher/src/tasks/createStake.ts:36:23)
    at Object.next (/node_watcher/src/tasks/createStake.ts:17:53)
    at /node_watcher/src/tasks/createStake.ts:11:71
    at new Promise (<anonymous>)
    at __awaiter (/node_watcher/src/tasks/createStake.ts:7:12)
    at Object.read (/node_watcher/src/tasks/createStake.ts:24:20)
    at /node_watcher/src/nodeWatcher.ts:121:33
    at step (/node_watcher/src/nodeWatcher.ts:36:23)
    at Object.next (/node_watcher/src/nodeWatcher.ts:17:53)
(node:26) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:26) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Same for era:
2020-03-09 22:22:23    NODE-WATCHER: Task --- createEra
(node:26) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'at' of undefined
    at /node_watcher/src/tasks/createEra.ts:25:67
    at step (/node_watcher/src/tasks/createEra.ts:36:23)
    at Object.next (/node_watcher/src/tasks/createEra.ts:17:53)
    at fulfilled (/node_watcher/src/tasks/createEra.ts:8:58)
    at processTicksAndRejections (internal/process/task_queues.js:88:5)
    at runNextTicks (internal/process/task_queues.js:58:3)
    at processImmediate (internal/timers.js:412:9)
(node:26) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:26) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

hmm that's super werid, same for createNominationAndValidators:
2020-03-10 04:42:30    NODE-WATCHER: Task --- createNominationAndValidators
(node:26) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'at' of undefined
    at /node_watcher/src/tasks/createNominationAndValidators.ts:88:70
    at step (/node_watcher/src/tasks/createNominationAndValidators.ts:36:23)
    at Object.next (/node_watcher/src/tasks/createNominationAndValidators.ts:17:53)
    at fulfilled (/node_watcher/src/tasks/createNominationAndValidators.ts:8:58)
    at processTicksAndRejections (internal/process/task_queues.js:88:5)
(node:26) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:26) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Possibly related to https://github.com/polkadot-js/api/blob/master/CHANGELOG.md#162-mar-12-2020

is this still happening? i see there is a job running at the tip at the moment

fixed: https://github.com/paritytech/Nomidot/pull/252


Updated ContributorsList.js file

Completed it

@Pranjal360Agarwal done with it sir

@Pranjal360Agarwal done with it sir

Star the repo before it can be merged

ok sir @Pranjal360Agarwal

done sir @Pranjal360Agarwal

@Pranjal360Agarwal sir can you close the issue so that my point get added in IWOC or else I will not get points of not closed so for a time close sir than you can open it after some time

@Pranjal360Agarwal or else I will not get point sir 🙏


dartdevc: Type values obtained from a typedef should represent the underlying type, not the typedef

This is the dartdevc specific issue for #32782, which has the details. Note that it is possible that it will be resolved because the issue is handled by the common front end.

this will be a fix to DDC's runtime code. DDC hasn't implemented Type.operator== to understand type equality. So it will only work when we have identical underlying types (DDC usually canonicalizes function types, but typedefs are intentionally kept distinct from anonymous function types, for toString() purposes. Also DDC should not rely on type canonicalization as much as it does, so this will be nice to fix for that reason too.)

bumping priority, see comment by @matanlurey here: https://github.com/dart-lang/sdk/issues/34429#issue-358832991

Thanks @jmesserly! Just so I understand, the user complained that:

It looks like in this case, DDC will let you provide a different value for each typedef, and let you compare them with identical as you might expect. But then when compiled with dart2js, it considers them different function types. My hunch is that dart2js throws away all the typedef names, and instead represents both of them as the same type?

... so, are you saying instead DDC should consider these different as well, like Dart2JS?

Internal issues:

b/69866909
b/114776563

thanks. I reopened the other one (https://github.com/dart-lang/sdk/issues/34429#issuecomment-420109008), in case we want to change dart2js behavior for identical. I'll look over the internal bugs. Probably we don't want to make them identical in dart2js, but I'll let those folks comment on that.
It seems like a good idea to fix this one, though. If DDC offers you ==, you'll have something that is consistent across DDC and dart2js that you can use. (== is better to rely on as it is spec'd)

I found my fix above (https://github.com/dart-lang/sdk/issues/32785#issuecomment-381270818), I'm still a little concerned with it because it changes function type canonicalization. I'm going to try and split that part out, so I can land just the == and hashCode changes.

Further investigation: DDC almost never preserves typedefs. They get converted into their underlying function type any time they're used as a type argument. (Might've been a workaround for this bug.)
Because of this, and in light of #34429, I'm leaning towards having typedefs being replaced by their function type in Type literals. This will make them identical.
toString() on the type literal will be worse, but we already lose track of typedefs in most cases, so it seems like a moot point. And this fixes Angular's issue, so that's nice. (The error message in cast errors will remain the same. For example, implicit casts to typedef types will show the typedef name, as they do now.)
I'm worried about dependence on identical for Types, as it may cause problems for DDC in the long run. Future performance improvements to DDC may conflict. But this is kind of my fault anyways, for making canonicalization too useful & available on everything (except typedefs). 🤷

CL out: https://dart-review.googlesource.com/c/sdk/+/74664

Sorry this is taking so long, we haven't had much code reviewer bandwidth for DDC. I'll see if I can find someone to review it.


Add mentions rendering option

It would be nice to have a "mentions" rendering option like showdown is doing with ghMentions and ghMentionsLink
description: https://github.com/showdownjs/showdown/wiki/Showdown-options
implementation: https://github.com/showdownjs/showdown/blob/4da93e8e136e5cc1f13ad2b3d5477c14e11aaafd/src/subParsers/makehtml/links.js#L251

Will add the ability for dev users to add to the markdown-it processing.

Please refer to #7


Create amitkiev

Hi @amitkiev it looks like you did everything right except you forgot to put the ".yml" extension on your filename, which is needed to trigger the automation that processes your request. If you repeat the steps and ensure you put .yml on your filename, the system should automatically process your enrollment within ~1-3 minutes.
Thanks!

Hi,
Thanks for notifying the error, I have fixed it as per your suggestion.
Thanks, Amit Kumar Jain
On Friday, June 4, 2021, 10:21:55 AM MDT, Arthur Fewell<EMAIL_ADDRESS>wrote:

Hi @amitkiev it looks like you did everything right except you forgot to put the ".yml" extension on your filename, which is needed to trigger the automation that processes your request. If you repeat the steps and ensure you put .yml on your filename, the system should automatically process your enrollment within ~1-3 minutes.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


No Dist file setup

When running gulpfile there is no Dist file being generated

This happens because useref is not loaded in the initial loading.


Avoid " cannot appear as a descendant of " warning emitted from MissingImplementsApisEmptyState

The empty state's description is already wrapped in a Typography component so the one in MissingImplementsApisEmptyState is redundant.
https://github.com/backstage/backstage/blob/bbaadb63f88d0f7d42acb9fa1b1644f85bf1043e/packages/core/src/components/EmptyState/EmptyState.tsx#L57
By wrapping the EmptyState's description in a Typography the following warning is output to the console
react-dom.development.js?1930:89 Warning: validateDOMNesting(...): <p> cannot appear as a descendant of <p>.
    in p (created by ForwardRef(Typography))
    in ForwardRef(Typography) (created by WithStyles(ForwardRef(Typography)))
    in WithStyles(ForwardRef(Typography)) (created by MissingImplementsApisEmptyState)
    in p (created by ForwardRef(Typography))
    in ForwardRef(Typography) (created by WithStyles(ForwardRef(Typography)))
    in WithStyles(ForwardRef(Typography)) (created by EmptyState)
    in div (created by ForwardRef(Grid))
    in ForwardRef(Grid) (created by WithStyles(ForwardRef(Grid)))
    in WithStyles(ForwardRef(Grid)) (created by EmptyState)
    in div (created by ForwardRef(Grid))
    in ForwardRef(Grid) (created by WithStyles(ForwardRef(Grid)))
    in WithStyles(ForwardRef(Grid)) (created by EmptyState)
    in div (created by ForwardRef(Grid))
    in ForwardRef(Grid) (created by WithStyles(ForwardRef(Grid)))
    in WithStyles(ForwardRef(Grid)) (created by EmptyState)
    in EmptyState (created by MissingImplementsApisEmptyState)
    in MissingImplementsApisEmptyState (created by Router)
    in Router (at EntityPage.tsx:78)
    in article (created by Content)
    in Content (created by Layout)
    in Layout (created by EntityPageLayout)
    in div (created by Page)
    in ThemeProvider (created by Page)
    in Page (created by EntityPageLayout)
    in EntityPageLayout (at EntityPage.tsx:64)
    in ServiceEntityPage (at EntityPage.tsx:127)
    in EntityPage (created by EntityPageSwitch)
    in EntityPageSwitch (created by Router)
    in EntityProvider (created by Router)
    in Route (created by Router)
    in Routes (created by Router)
    in Router (at App.tsx:46)
    in Route (at App.tsx:44)
    in Routes (at App.tsx:42)
    in div (created by SidebarPage)
    in SidebarPage (at App.tsx:40)
    in Route (created by AppRouter)
    in Routes (created by AppRouter)
    in Router (created by BrowserRouter)
    in BrowserRouter (created by AppRouter)
    in AppRouter (at App.tsx:39)
    in CssBaseline (created by WithStyles(CssBaseline))
    in WithStyles(CssBaseline) (created by AppThemeProvider)
    in ThemeProvider (created by AppThemeProvider)
    in AppThemeProvider (created by Provider)
    in AppContextProvider (created by Provider)
    in ApiProvider (created by Provider)
    in Provider (at App.tsx:36)
    in App (at src/index.tsx:6)

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)

Thanks! Amusingly, your branch name was so long that it broke the github interface on mobile :)


Internal models are unexpectedly shared when hashable

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
It seems that defining the __hash__ method in a Pydantic model can cause some unexpected behavior where field values become shared.
Please see the example code - when a property of the inner_with_hash field is modified through the containing outer object, this value is modified for all instances of the outer class, even new ones.
In my example I implemented the hash to return the object ID, but the same happens if it instead returns a fixed number, or a random number.
Example Code
from pydantic import BaseModel

class Inner(BaseModel):
    some_num: int = 0

class InnerWithHash(BaseModel):
    another_num: int = 0

    def __hash__(self) -> int:
        return id(self)

class Outer(BaseModel):
    inner: Inner = Inner()
    inner_with_hash: InnerWithHash = InnerWithHash()

o1 = Outer()
o2 = Outer()
print(f"{o1.inner.some_num = }, {o1.inner_with_hash.another_num = }")  # 0, 0
print(f"{o2.inner.some_num = }, {o2.inner_with_hash.another_num = }")  # 0, 0
o1.inner.some_num = 1
o1.inner_with_hash.another_num = 2
print(f"{o1.inner.some_num = }, {o1.inner_with_hash.another_num = }")  # 1, 2

# o2.inner_with_hash.another_num should be 0, but it's also 2 now
print(f"{o2.inner.some_num = }, {o2.inner_with_hash.another_num = }")  # 0, 2

# Same for new objects
o3 = Outer()
print(f"{o3.inner.some_num = }, {o3.inner_with_hash.another_num = }")  # 0, 2

Python, Pydantic & OS Version
pydantic version: 2.9.0
        pydantic-core version: 2.23.2
          pydantic-core build: profile=release pgo=false
                 install path: /tmp/.venv/lib/python3.11/site-packages/pydantic
               python version: 3.11.6 (main, Nov 16 2023, 11:39:32) [GCC 11.4.0]
                     platform: Linux-6.8.0-40-generic-x86_64-with-glibc2.35
             related packages: typing_extensions-4.12.2
                       commit: unknown

Oh, I see. I missed that. Thank you. =)


[Bloc] Remove opacity: support

opacity: tells an element to render itself and all its children applying an alpha value to the whole tree.
Unfortunately, it is quite slow and after many years didn't see much use. We decided to remove it and only support well maintained and performant features.

opacity: has been undocumented and I am pretty sure not used. UI is rendered on GPU.

Hi @syrel , I have public code where I created BlOpacityTransition which I'm assuming would be affected by this?
More relevant to me, I do have closed-sourced code for work that uses these opacity transitions to guide users around important UI elements which assists people onboarding into new UI, which is rather important to me considering onboarding to GT itself is actually a tall order to start with.
Please let me know if such code would break going forward and if so please reconsider. It's not like I'm building games inside Gt with crazy alphas everywhere, so current implementation seems smooth enough for my uses, which 'pulse' buttons with opacity to attract (rather effectively) a user's gaze/attention. Unclear where the performance concerns stem from.

@botwhytho Do you have examples of use cases for opacity?

Example with existing BlColorTransition that looks pretty bad and not the effect you would expect or that I'm looking for
testButton := BrButton new.
testButton
	beTinySize;
	label: 'Test';
	aptitude: BrGlamorousButtonWithIconAptitude;
	icon: BrGlamorousVectorIcons question.

anOverlay := (BlOverlayElement on: testButton)
	"geometry: testButton geometry copy".
animation1 := BlColorTransition new
	duration: 1 seconds;
	from: ((Color fromHexString: #ffd666) alpha: 0.67);
	to: Color transparent;
	onStepDo: [ :eachColor | anOverlay background: eachColor ].
animation2 := BlColorTransition new
	duration: 1 seconds;
	from: Color transparent;
	to: ((Color fromHexString: #ffd666) alpha: 0.67);
	onStepDo: [ :eachColor | anOverlay background: eachColor ].
anAnimation := BlSequentialAnimation new
		addAll: {
		animation2.
		animation1.
		};
	loops: 5;
	delay: 1 second;
	onFinishedDo: [ anOverlay removeFromParent ].
anOverlay addAnimation: anAnimation.
testButton addChild: anOverlay.

Example (which I use almost verbatim in code link above, and similarly in other non-open-source code) that uses BlOpacityTransition which I created that looks much better.
BlTransition
	subclass: #BlOpacityTransition2
	instanceVariableNames: ''
	classVariableNames: ''
	package: 'MyTestPackage'.
#BlOpacityTransition2 asClass
	compile: 'valueForStep: aDelta
	^ (self target background paint color) alpha: ((to - from ) * aDelta) + from'.

aButton := BrButton new.
aButton
	beTinySize;
	label: 'Test';
	aptitude: BrGlamorousButtonWithIconAptitude;
	icon: BrGlamorousVectorIcons question.

anOverlay := (BlOverlayElement on: aButton)
		background: ((Color fromHexString: #ffd666) alpha: 0).
fadeIn := BlOpacityTransition2 new
		duration: 1.0 seconds;
		from: 0.0;
		to: 0.67;
		onStepDo: [ :eachColor | anOverlay background: eachColor ].
fadeOut := BlOpacityTransition2 new
		duration: 1.0 seconds;
		from: 0.67;
		to: 0.0;
		onStepDo: [ :eachColor | anOverlay background: eachColor ].
anAnimation := BlSequentialAnimation new
		addAll: {fadeIn.
				fadeOut};
		loops: 4;
		delay: 1 second;
		onFinishedDo: [ anOverlay removeFromParent ].
anOverlay addAnimation: anAnimation.
aButton addChild: anOverlay

@botwhytho I see the flashing button, but what is the use case for it?

I use it to highlight certain aspects of a UI that is new to people when they first open up the system, both some Gt components, but mostly UI elements I've built on top of it. This is for work and unfortunately can't share much more but the idea behind it is a guided introduction to the system.
Can we get more context on the referenced performance concerns and why the team want to deprecate/remove this functionality?

Turned out, there is no performance impact of just having opacity: support. Otherwise, it is documented. We will keep it


Added more bot names to the rules, (slightly) better racism detection in the rules, 2 suspected cheaters (marked suspicious) to the playerlist and a confirmed cheater to the playerlist

You have a decent chance of catching the bots added to the ruleset and you will probably find the guys added to the playerlist between 18:00-21:00 CEST (2fort)

CEST

Anyway closed now so you can do it


Rename components-reconnect-refused CSS class to components-reconnect-rejected

I believe this was missed when we renamed "refused" to "rejected".
https://github.com/aspnet/AspNetCore/blob/master/src/Components/Web.JS/src/Platform/Circuits/UserSpecifiedDisplay.ts#L9

@NTaylorMullen


Updated to Alpine 3.11.6

What this PR does / why we need it:
Updated base image to use Alpine 3.11.6 release which includes several security fixes.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:
None

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

/lgtm


Clarifications on All_Gather Handling in Profiling Communication Operators

Hello Vidur,
Thank you for sharing your work. While reading the code and documentation, I encountered some questions related to the Profiling Communication Operators mentioned in the paper.
In the paper, it is noted that there are three collective operations: all_reduce, all_gather, and send_recv. However, in the simulated device data located at data/compute, it seems that simulation parameters are provided only for all_reduce and send_recv. There are no simulation parameters for the all_gather operation.
After reviewing the relevant code in vidur/profiling, it appears that all_gather is treated as device-independent, and thus its parameters are not explicitly introduced. However, isn’t all_gather typically device-dependent? If so, could you clarify why it is treated as device-independent in this case?
Additionally, in vidur/profiling/collectives/main.py, the --collective argument only supports choices=["all_reduce", "send_recv"]. Could you explain the rationale behind excluding all_gather as an option here?
The above are my points of confusion while going through the code. I would greatly appreciate it if you could provide clarification or corrections if I have misunderstood any part of your work.
Thank you in advance for your time and insights!

Hi @zhhangBian, we originally included all gather to represent some parallel strategies that we were experimenting with. However, as of today we actually only use all reduce and send/recv operations -- which are sufficient to represent tensor and pipeline parallelism.

@AgrawalAmey Thank you for your response!
From my understanding, performing both a row-partition and a column-partition would involve using all-reduce, while performing only a row-partition or only a column-partition would require an all-gather operation.
However, I’m still curious. Could you kindly elaborate further on what you mean by “only use all-reduce and send/recv operations -- which are sufficient to represent tensor and pipeline parallelism”? Could you also explain the underlying principles and how this is implemented?
Thank you so much for your help!


use python3 the "/appcom/Install/anaconda3/bin/python" not found

Search before asking

[X] I searched the issues and found no similar issues.

Linkis Component
linkis-cg-engineConnplugin
What happened + What you expected to happen
use python3 the "/appcom/Install/anaconda3/bin/python" not found
Relevent platform
无
Reproduction script

Anything else
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

you can add python3 path in linkis.properties  like this
pythonVersion=/usr/local/python3


Implement Content Security Policy (CSP)

Context
One of the biggest hits I am taking with Mozilla's Observatory tool is that blogthedata.com does not have a CSP.
Things to consider
The Mozilla Foundation has created a Django plugin called django-csp. After installing it, I can use these guides to create a CSP.
https://www.geeksforgeeks.org/adding-csp-headers-in-django-project/
https://dev.to/thepylot/django-web-security-checklist-before-deployment-secure-your-django-app-4jb8
I've done some initial testing and have found that adding some of the reccomendations (like removing inline styles) completely breaks the app's UI.

Will need to create a branch for this one and work on it incrementally.

Verified on branch and in production. We now have a B+ in Observatory. We implemented CSP.


User Basic is returning undefined

The user.basic method returns an error without an error description.
My call torn.user.basic()
I checked the uir an thats the result: https://api.torn.com/user/undefined?selections=basic&key=XXXXXX
TornAPI.isError() =>true
tornUserBasic => undefined

@oliverkoehler I am looking into this. I think I know where the problem is, thanks for reporting. Just a heads up, I removed your key info from the description. Don't every share your key info. You should delete that key immediately.

Tyvm!


Image is cached, won't update

It seems the image is cached, so it does not update
You can see the differences here:
Profile:
https://github.com/dolanmiu
Image:
https://leetcode.card.workers.dev/dolanmiu?theme=auto&font=baloo&extension=activity
Cached image:

Code for it:
[![LeetCode Stats](https://leetcode.card.workers.dev/dolanmiu?theme=auto&font=baloo&extension=activity)](https://leetcode.com/dolanmiu/)

LeetCode:
https://leetcode.com/dolanmiu/

@dolanmiu
I see no difference between the two image.
Both of them are showing 340 for now.
I know GitHub caches all of the images appear in README (including personal profile). But the caching strategy is unknown.
The cache time of the image is set to 1 minute, but I think it is a proper value. I don't know if I should disable that.

Sometimes it does not refresh for days
I will do a leetcode question sometime in the next few days and report back
How does badges not get cached?

I think if I add Cache-Control: max-age=0, no-cache to the response header, then GitHub won't cache it, maybe.

Ok look, I have just done a question, it should say 341 (still says 340 at this current time)

Ok look, I have just done a question, it should say 341 (still says 340 at this current time)

@dolanmiu
You can now add &cache=0 in card's query string to disable the cache.
See #30


Limited space on buttons

I just tried to create a button (for an event) with three words on it. But this seems to be to much because the app is going to show only the first two words to the players. Is there any way to increase that?

Buttons are bigger if you have more than 1.  Otherwise I can add a feature to automatically resize if they don't fit (within reason).

Thank you, that would be really nice. Im trying to add some nice dialogues with characters right now and i could really use bigger buttons for that =)


0.4.0 questions

This issue is for asking on the upcoming 0.4.0 version.
0.4.0 is under construction. This is a full rewrite and will change the underlying structure. Hence, it will not be compatible with earlier versions of the filesystem. The API is the same, with minor modifications. Some config flags will be removed (as they are mandatory in 0.4.0) and some features might fall away until 0.4.1.

Proposal/request (since you are talking about a full rewrite): consider
making it possible to set config options at run time. Currently we need to
build a separate version of host-side tools which prepare SPIFFS images for
each configuration of SPIFFS. Python wrapper would also be much more
versatile if it was run time configurable.
(Compile time configs are still needed for embedded targets).
Another thing, would it be possible to have self-describing
partitions/images? That is, to be able to determine SPIFFS configuration
(including all the options) by inspecting FS header.
On Tue, Oct 10, 2017, 02:27 Peter Andersson<EMAIL_ADDRESS>wrote:

This issue is for asking on the upcoming 0.4.0 version.
0.4.0 is under construction. This is a full rewrite and will change the
underlying structure. Hence, it will not be compatible with earlier
versions of the filesystem. The API is the same, with minor modifications.
Some config flags will be removed (as they are mandatory in 0.4.0) and some
features might fall away until 0.4.1.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pellepl/spiffs/issues/179, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEJceuSEkbVUEVpWi8xfelRpCgna5Uqzks5sqzhlgaJpZM4PzoMa
.

@igrr: Yes, the config options regarding file system structure are decided runtime. There is no need to typedef sizes for page indices and such in 0.4.0, this is determined compile time by spiffs itself (depending on file system size, block size, and page size). There will be compile time switches, but the goal is to keep these to functionality only, without affecting file system structure. The exceptions are file name size and optional meta data length - these must be compile time limited.
The images will be self-describing as a part of this also. The old SPIFFS_MAGIC* config option disappears in 0.4.0 and corresponding functionality is always on.

Will there be an option/tool to convert existing SPIFFSs to the new version?
If not, is the old 0.3.x branch still receiving updates for devices that already have SPIFFS deployed on them?

Will there be an option/tool to convert existing SPIFFSs to the new version?
If requested. On target you mean? Offline it is a simple thing.
If not, is the old 0.3.x branch still receiving updates for devices that
already have SPIFFS deployed on them?
No, to be honest I have a hard time keeping up even one branch - I plan to
drop 0.3 and backwards. Sorry.

If requested

ok, let me put in a request then :)
we would like to stay on latest SPIFFS, but we have older builds of user firmware to consider during OTA. luckily, our OTA does not require the migration to be performed in place, so being able to mount old FS read-only to copy the data over to the new FS would be sufficient. i'm even fine with shipping 0.3.x and 0.4.x code together to use the right one as appropriate, provided there is a way to determine which one should be used.

Does SPIFFS 0.4.x support asynchronous operation?
With asynchronous I mean that you can e.g. ask for some data to be written and get a callback when the data is actually written.
This could be done e.g. by requiring a asynchronous Flash Driver...

Oooooh... You mean in a nonthreaded but message/irq driven context?
No, that would require everything to be written as state machines with a
code bloat of 300%. I had this in mind long ago and have made simpler
filesystems this way at work, but spiffs is too much a complex beast I am
afraid. The only consolidation I can give is that I totally see the
usefulness in such a construct, but it is above me. Sorry.
Den 16 okt. 2017 15:59 skrev "sensslen"<EMAIL_ADDRESS>
Does SPIFFS 0.4.x support asynchronous operation?
With asynchronous I mean that you can e.g. ask for some data to be written
and get a callback when the data is actually written.
This could be done e.g. by requiring a asynchronous Flash Driver...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pellepl/spiffs/issues/179#issuecomment-336895713, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE3NV9T5tz4jo4woXX_GubQsaqRkQ0SKks5ss2FUgaJpZM4PzoMa
.

@rojer

so being able to mount old FS read-only to copy the data over to the new FS would be sufficient.

That's good. Still, you mean on target right?

yes, on target. OTA will come with new spiffs code and new fs image, mounts the new fs, then it needs to mount the old FS and copy over some files. old mount is in r/o mode.

@rojer ok, got it. Do you have room for both old and new fs?

yes, we reserve 2x the space for code and fs, to make sure we can revert in case of failed OTA.

Do you have anything in mind allowing for "background garbage collection" in a way that the erase (especially) as well as the preparation of erased pages is not done synchronously?
Using SPIFFS 0v3 we found out that GC takes place in the middle of some write process. As a result the write has excessive delays. Even calling the GC during the "idle phase" didn't help there for some weird reason. So we came to the conclusion it might be beneficial if one could kick GC early and let it run in background rather than waiting until we desperately need some memory. Of course this could introduce other issues like Flash is busy while one desperately wants to flush a page, but maybe it's worth some thinking about it.

This is maybe pushing it, but journaling?

@uniederer You can call in the garbage collector early by using SPIFFS_gc. Does this not work?

Directory support?

I'm missing an API function to truncate a file to a specific size without having to create a copy first.

Currently SPIFFS_check() time appears to be quadratic on filesystem size.  This makes it pretty slow on larger filesystems.
I guess this is not likely to change?  My current plan is to make multiple small filesystems to get around that.
Very much looking forward to 0.4.0!

A request:
Adding a context field (like a void* passed through, set when mount is called) to the HAL functions hal_read_f/hal_write_f/hal_erase_f would make it much easier to integrate into C++. That way I can have some trampoline functions hand control back to a C++ class instance when the HAL layer gets called. Since the rest of our drivers are C++, we end up with extra shim functions to bind things otherwise.

Is there an approximate timeline for when this 0.4.0 would be released?

Looking forward to power failure safe mode.

Is this still coming ?

Sorry, I cannot say if nor when. Due to personal reasons all spiffs dev is on ice.

Sorry, I cannot say if nor when. Due to personal reasons all spiffs dev is on ice.

Don't you worry. We, plebs, will manage ! Thank you for your great work ! Get better !

Hey dude
are you still working on it?
You have done a great job,and we hope you can carry on~
Greetings from China.

Hi.
Currently the only way to copy a file from a PC to the SPIFF is via the Python utility, or to enable a full web server.  This can cause issues when you want to update a file on the SPIFF from a PC, where the only connection is serial.
Could there be a function or protocol where you could open a file on the SPIFF and stream from the serial directly in to the file and then close it.
Many thanks

Hi.
Currently the only way to copy a file from a PC to the SPIFF is via the Python utility, or to enable a full web server. This can cause issues when you want to update a file on the SPIFF from a PC, where the only connection is serial.
Could there be a function or protocol where you could open a file on the SPIFF and stream from the serial directly in to the file and then close it.
Many thanks

Hi marcwolf1960,
of course there could be such a protocol. This would be very application specific and does not necessarily have to be part of a library. I implemented a protocol over UART for my application and it would not be much work for you to do the same. My protocol was a quick shoot. It does not need to be very stable and handle every possible error. It works as follows:

Host sends a 16 byte GUID (for synchronization)
Device sends 0x00 as ack
Host sends 1 byte length of the file name
Device sends 0x00 as ack
Host sends the filename
Device opens or creates the file and sends 0x00 as ack
Host sends 4 bytes file size
Device sends 0x00 as ack
Host sends chunks of 1024 bytes (or remaining data if less than 1024 bytes)
Device writes the data to the file and sends 0x00 as ack (repeat previous step if more data is to be received)
when all bytes are received the device closes the file and waits for the next GUID

@hzm476172557  thanks for the kind words. No, not working on it now. My spare time is too sparse for this nowadays. Not saying I'll never return to it though.

You have done great service for the community, hope your are doing well and hear from you soon

Hi Nicolas,
Sorry but spiffs is dormant since years ago.
Cheers
Den fre 16 sep. 2022 17:11Nicolas Pinault @.***> skrev:

Hi,
Any news about V0.4.0 ?
I'm asking because I'd like to translate your excellent work to another
language (Ada). The translation process is quite hard and long. If V0.4.0
is ready, I'll switch to it directly.
Regards,
Nicolas
—
Reply to this email directly, view it on GitHub
https://github.com/pellepl/spiffs/issues/179#issuecomment-1249487119,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABG42VZVEBEEWMFDUTY7XSTV6SEZXANCNFSM4D6OQMNA
.
You are receiving this because you authored the thread.Message ID:
@.***>

@pellepl,

Sorry but spiffs is dormant since years ago.

Perhaps you can update the README.md to reflect this? Particularly the "NOTICE" section, which says,

0.4.0 is under construction. ...


Do a spotlight on SIG Architecture: Production Readiness

As discussed in https://github.com/kubernetes/contributor-site/pull/431 , we could do one spotlight per project, and specifically one about the Production Readiness sub-project.

/assign

Initial content ready, shared markdown version for author review.

Removed WIP, scheduled 2 weeks from now, going through the review comments

Fredrico says it should be published next week. Feedback was given: https://github.com/kubernetes/website/pull/43474

PR has been merged, and post should be published on the 2nd of November.


How can I disable Microsoft account authentication?

Hi Everyone,
Love what you've done with chat-copilot web app. I am going to use this internally for testing and would like to turn off the Microsoft Azure Directory authentication as using Microsoft accounts is overkill and unnecessary.
I see that the webapp/.env.example file has some configuration options that are used to define 2 users that can login without a Microsoft account. It looks like the unit tests leverage these to bypass the Microsoft login.
REACT_APP_TEST_USER_ACCOUNT1=
REACT_APP_TEST_USER_PASSWORD1=
REACT_APP_TEST_USER_ACCOUNT2=
REACT_APP_TEST_USER_PASSWORD2=

How can I enable these hardcoded accounts to be the only authorized users who can sign in while also disabling the Microsoft authentication altogether?
Thanks for your help in advance.

You can certainly restrict access by IP address via the Azure Portal.  Since you are already hosted on Azure, I'm unclear on why you wouldn't just auth to your own AAD principal.
I'll double check w/ team w.r.t. thoughts on backdoor you've identified.

Checking with the team, those test user accounts are expected to be Microsoft accounts.
We do have a feature update just about to land that is a significant evolution in our security model...including a "noauth" option.  I'll have the feature owner follow-up as it becomes ready to merge next week.

It's more about not being forced to use one specific type of authentication. This project should not assume everyone is running on Azure (and we're not) and that everyone wants to use Azure Active Directory (we don't).

Sounds good. Looking forward to it.

Hi @hacker01111000, I just submitted this PR last week: #126
This change enables users to run Chat Copilot locally with no authentication, so you are no longer required to set up an app registration and sign in with a Microsoft account. Instead, the user is treated as a pseudonymous "Default User" and multi-user features are disabled.
We still require Azure Active Directory authentication by default when deploying Chat Copilot to Azure. (To add to what Chris said before, those test accounts in the .env file are for our testing pipeline.) If you'd like to allow users to sign in with an authentication provider other than Azure/Microsoft, I encourage you to explore that and submit a PR!

I'm going to go ahead and close this issue since I think the latest changes I mentioned above address your question. However, if you have further questions, please feel free to reactivate it or open a new issue. Thank you!


Discussion: Should the connector know the columns?

The previous idea about the connector was to encapsulate all the external code inside the connector crate, which is only responsible for the corresponding io behavior, thus producing a unified message structure to the source crate to parse and generate a StreamChunk for the source executor. So the previous setting is that the schema information of the source is only provided in the source crate, which is sufficient for most connectors such as pulsar/kafka.
But when we implement the datagen connector, we need to generate the corresponding messages according to the schema, which requires sinking the schema information to the connector crate, the current practice is to provide a Vec<Column> but whether this is a permanent setting we need to discuss

Please describe problem in more detail?

Please describe problem in more detail?

Added, sorry for the delay

I think passing schema to connector is good practice, this will be useful for file sink with schemas, for example parquet file.
The Vec<Column> seems like a simplified version of Schema, why not use Schema in common crate?

Sounds so reasonable
Because the column provided when we create a source may not correspond to the column when we create the materialized view, we may need to use column_ids for a projection, but the Vec<Field> in the Schema does not have column_id, but Vec looks like it can be


Feature request: Cheerleading mode 😬 🎉📣

I know this will probably never make it. But I'd love a cheerleading mode. When I need to refactor and I see a thousand things I  need to rename after I search I dispair. I want AG to redo the search and cheer me up until there are no found items left.
It would work like this:
ag my-needle-thing-to-rename --cheerlead
5020 occurrences remaining, stay strong you can do it!

Behind the scenes it will redo the search at a 1 second interval (or via inotify monitor the found files)
And then when your refactor, it will redo the search resulting in the found items to reduce so the amount will drop:
2000 occurrences remaining, wow, almost there!

And then finally when you're up to 10 it start counting down until you're done!
Only 10 left, you're nailing it!

This put a smile on my face. Definitely doesn't belong in ag, but now I'm tempted to write cheerleader.sh... :tada:


Web: Implement MVP

Currently, there is no way to view health data and see when servers go offline. In the future, we plan on drastically increasing the amount of data returned from the data-collector and the amount of data visible on the web but for now just seeing if a server is online is good enough. ideally we can find a nice dashboard template and strip most of the existing UI to meet our needs.
Research:

Look into existing dashboard templates and see if there's anything usable. Too much boilerplate code that's not easily removable is a downside. Next.js support would be nice, although we could port it.

MVP acceptance criteria:

If a server goes offline (for a configurable amount of time) it is clearly visible on the UI (maybe notifications)
If a server is online, it is also clearly visible
Websocket?/continous request support to API
UI should have a good design (not necessarily that it looks good, but UI is expandable and looks somewhat like a dashboard)

https://www.creative-tim.com/product/notus-nextjs seems to be a good fit. Attaching code for archive reasons. I plan on stripping it down and we can re-add later. Here is a live preview: https://demos.creative-tim.com/notus-nextjs/admin/dashboard
notus-nextjs-main.zip


Store callback firing with undefined actionType

Hey everyone! I'm currently implementing a new feature at my company and experiencing a weird issue within my store where the callback fires first with an empty/undefined payload and then it fires again with the correct actionType and payload. Is there anything I should be looking for that could potentially be causing this? I looked over the examples and everything looks pretty straightforward and simple so far. Here is a short video of the behavior. Thanks!
video

Never experienced anything like a double callback firing.
Can you share the code for the action creator that dispatches and if there are more than one. Was hard to see from the video.

@tomatau yeah i thought it was really odd too and couldn't pinpoint where it was spawning from.
Here is my action
import Flux from 'mcflux';
import Dispatcher from 'dispatcher';
import JsonApiParser from 'libs/jsonapi-parser';

export default Flux.createActions({

  fetch (status, orderBy, orderMode, page) {
    Dispatcher.dispatch({ actionType: 'FETCHING_EXPORTS' })
    $.ajax({
      url: '/api/v1/file_exports',
      method: 'get',
      dataType: 'json',
      contentType: 'application/json'
    }).then((response) => {
      var collection = new JsonApiParser(response, 'file_exports').forCollection()
      Dispatcher.dispatch({
        actionType: 'RECEIVED_EXPORTS',
        collection: collection
      });
    }).fail(function(response) {
      console.error('request failed')
    })
  }

})

McFly automatically dispatches the return value of actions, so your explicit dispatch is actually firing a second one.
If you want to use this kind of syntax, I recommend using Biff, a McFly fork I'm developing with explicit dispatch syntax.
Otherwise, use McFly promise syntax.

I think that action creators shouldn't be firing a dispatch if the return value is falsey - that's at least what I remember from the promise logic, but I may be wrong - here the return would be undefined and so falsey? Maybe try explicitly returning false - or like Ken says - just change the final dispatch call to a return and return the ajax call too:
    return $.ajax({
      url: '/api/v1/file_exports',
...
      var collection = new JsonApiParser(response, 'file_exports').forCollection()
      return {
        actionType: 'RECEIVED_EXPORTS',
        collection: collection
      };

Awesome so adding the return to my ajax call solved the problem. Thanks a lot @tomatau and @kenwheeler.


Apply markdown linting only to added-or-changed mdfiles

Description
Previously, if an exception was made to merge a PR with failing checks on md files, this would result in all subsequent PRs failing on the same checks as linting was run across all files rather than only those changed/relevant in the branch to be merged. These changes should fix that (only for md files)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] All commits have been signed-off for the Developer Certificate of Origin.

@Stromweld Taking a totally different approach back at this effort but I don't remember how to test it. Can you take a peek and advise?

probably best way to test would be to use another repo and modify the workflow to point to your branch here. https://github.com/chef-cft/ca-prod-spl-private/blob/main/.github/workflows/ci-lint.yml#L22 Then modify a .md file and create a PR. It'll be throw away to test this PR's code.

Note that if you make changes here after an actions run in the throw away PR you have to make a change in that PR as well to trigger reload of the job config. Rerunning a job in a PR uses cached version of the workflow instead of reloading it.

@Stromweld I think this thing is ready for closer scrutiny. My testing seemed to go pretty alright
Again the goal here was to get these tools to run against only new or changed markdown files so that every check-on-PR wouldn't throw a ton of errors on previously-committed-and-merged markdown files with issues


ReadOnly Filesystem

I think we shouldn't define a default value for this. So then our backend
can define it.
On Sun, 21 Jan 2024, 14:36 MohammadHasan Akbari, @.***>
wrote:

Merged #164 https://github.com/liara-cloud/cli/pull/164 into master.
—
Reply to this email directly, view it on GitHub
https://github.com/liara-cloud/cli/pull/164#event-11548832921, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AET2HJBQ6MZOMGIQ4ZZQHJTYPTZBTAVCNFSM6AAAAABCD4YTTOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGU2DQOBTGI4TEMI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I did this on purpose so that someone reading this code would understand the logic of creating the program.

What about when we decide to disable read only fs for one more platform? We
should release a new version of the cli.
But if we don't pass anything, we can just update our backend logic. So
users won't need to upgrade their clients.
On Sun, 21 Jan 2024, 19:33 MohammadHasan Akbari, @.***>
wrote:

I did this on purpose so that someone reading this code would understand
the logic of creating the program.
—
Reply to this email directly, view it on GitHub
https://github.com/liara-cloud/cli/pull/164#issuecomment-1902680069, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AET2HJA7JGXBCIPXE5YPKA3YPU33VAVCNFSM6AAAAABCD4YTTOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBSGY4DAMBWHE
.
You are receiving this because you commented.Message ID:
@.***>

Oh right,
I will fix it.


Installation guide missing

I was going through the website and thought of adding a feature. But I didn't find a installation guide on running this site locally.
It would be great if an installation guide is provided in the README section.
Thank you😍

We have the core contribution guide: https://thecodingtrain.com/Guides/core-contribution-guide.html
But thanks for bringing this up because I think it needs a few minor updates and it would be good to make it easier to find from the readme.

Oh Sorry! I should have checked all files.
Yes, it would be great if this was accessible from README file.
Thank you 😍 @violetcraze for your response.


Potential issue with error handling in TokenManager

Problem:
In the TokenManager class, there is an issue related to error handling during the token refresh process. Currently, the access token is refreshed at regular intervals using setInterval. However, this process lacks proper error handling. If the refresh request fails (e.g., due to a 400 or 500 response), an unhandled exception is thrown. This can lead to a node unhandledException and potentially cause the entire application to crash.
  //Create timed task to refresh token
    const marginInSeconds = 60;
    if (
      this.accessTokenExpireTime != undefined &&
      this.refreshTokenExpireTime != undefined
    ) {
      const accessTokenInterval = this.accessTokenExpireTime - marginInSeconds;
      const refreshTokenInterval =
        this.refreshTokenExpireTime - marginInSeconds;
      if (accessTokenInterval > refreshTokenInterval) {
        setInterval(() => {
          this.refreshAccessToken();
        }, refreshTokenInterval * 1000);
      } else {
        setInterval(() => {
          this.refreshAccessToken();
        }, accessTokenInterval * 1000);
      }
    }

Temporary Fix
To address the issue temporarily, we can put the refresh request inside a try-catch block within the setInterval. This way, any errors that occur during the token refresh will be caught and handled, preventing the application from crashing due to unhandled exceptions.
Proposed Solutions

Design Simplification: For a more robust solution, I suggest revisiting the overall design of the token management system. The current implementation uses the “subject and observers” pattern, where the TokenManager ensures that all its subscribers (UserManager, ClientManager, RealmManager) always have a valid token.
An alternative approach could be to refresh the token on demand—only when an API request fails due to an expired token. This would simplify the codebase by eliminating the need to maintain a constantly valid token. One way to achieve this is by creating a KeycloakClient class that handles all API interactions, including token refresh when needed. Alternatively, you can simply add an axios interceptor to automatically manage token refreshes when an API request fails.
Enhanced Error Notification: If the "subject and observers" pattern is maintained, another potential solution is to incorporate a mechanism in TokenManager that notifies its subscribers when the token refresh fails. This would enable UserManager, ClientManager, and RealmManager to handle the error properly and take necessary actions

Hi @ScheckGuillermo!
Thanks for addressing this issue. We agree with you. This is a potential issue. The client project cannot handle this error and it will crash the project. The intention of not handling these errors was to let the client project know directly what error happened with the calls to Keycloak API.
Since the token refresh is not an error the client project can handle, we agree to add a try-catch block within the setInterval.
If you have a handy temporary fix, please don't hesitate to contribute. If not, I will assign this task to @KLloydNA :neckbeard:

Thank you for replying.
Yes, I agree that using a try/catch within the setInterval function ensures that the node app will not end with an unhandled exception. I have not implemented a temporary fix because I have reported a genuine issue that causes the setInterval to fail, resulting in the entire application failing.real issue that causes the setInterval to fail and therefore the whole application

Will close this one because we have a detailed version of it on #42. 👍


Add postcss-subgrid to postcss-preset-env

https://github.com/jonathantneal/postcss-preset-env/blob/master/CONTRIBUTING.md

Not sure what @jonathantneal's criteria are for plugins in postcss-preset-env, but I for one wouldn't be comfortable with people using this in a set and forget kinda way without explicitly including it. It's way too fragile and doesn't come close to actually polyfilling subgrids (impossible w/o JS), it just shims one use-case


⚠ Bofrost.hr has degraded performance

In 3f22edb, Bofrost.hr (https://www.bofrost.hr) experienced degraded performance:

HTTP code: 200
Response time: 2558 ms

Resolved: Bofrost.hr performance has improved in 25c6cf2.


Scrollbar buttons are removed

Fixes Issue
Closes #565
Changes proposed
App.css file has been updated. New code added in order to hide the unexpected scrollbar buttons.
Screenshots
Note to reviewers
Please check out the changes.
Code of Conduct

[✔] By submitting this pull request, I confirm I've read and complied with the CoC 🖖

Check List (Check all the applicable boxes)

[✔] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[✔] All new and existing tests passed.
[✔] This PR does not contain plagiarized content.
[✔] The title of my pull request is a short description of the requested changes.

You can also join our Discord community.
Feel free to check out other cool repositories of the Thecyberworld.
Join the Thecyberworld GitHub Organisation by raising an issue (you will be sent an invitation).

@ArkadiK94
Please check out this PR.

hi, can u add a screenshot?

@ArkadiK9 I have updated the and opened new pull request. And here is the screenshot.

@kabir0x23 Could you merge this?


Question: How to process skipped images if lambda was paused for some time ?

This is not an issue but a question. Let's say I pause the lambda function and images keep coming on the source s3 bucket. Later on when I resume the lambda function, I not only want it to process newly added images but also the ones that were added when lambda function was not running. Is there any configuration that can accomplish this?

Hi @mandeepm91 Hm.. The Lambda function is invoked for every object (image) when it's written to S3. There's no pausing the function. Each time an image is added to the source bucket, the Lambda function is executed.

@adieuadieu what if the region where the function is deployed is down?

@superandrew213 Hm.. I don't know. I'm not sure what happens to events when the AWS Lambda service is down. Presumably the events are queued and processed once Lambda is operating normally again, but I don't know for sure—this isn't made clear by AWS.


SP Website contexte/sealing is broken since partial reloading

Category

[X] Bug

Env

[x] SharePoint Online

Expected Behavior

I expected SharePoint sites content not to impact other SharePoint sites.

Observed Behavior
Recently an update appeared to have been applied so that different SharePoint com sites on same tenant are not fully reloaded. (and not fully destroyed either). A bug have been introduced in this update since we're able to add to a page webpart that aren't installed on a specific site but on the previous site we were. (stylesheets have impacts too)
Steps to Reproduce

Install a webpart on com site A but not on com site B
Visit a page on A with a link on site B. (if a blue on white loading bar appears at the top of your screen then your page is not fully reloaded).
Click modify the page on B.
Look for your webpart in the list (it s there).

If you have a webpart or extension that overload SP Style on site A it will also on site B. (since the code stay in the html somewhere).
Regards,

Interesting - thanks for the report.  Let me follow up with the team.

Yes,  it is indeed an inappropriate "doing it cause no other solution where provided and the client is still asking"...
Thanks.

ok.  So the webpart showing is a bug, and we are fixing that.  No change needed by you.  For the style part, are you trying to do customized themes or something?

@patmill Could this be related https://github.com/SharePoint/sp-dev-docs/issues/2023 ? I see webparts running their onInit and render methods multiple times when navigating.

@tdwhite0 - no, this is a separate issue.  The manifest for the webpart that is installed in site collection 1 remains in memory, and in site collection 2, it is added to the list of available webparts in the toolbox.  The solution is to remove the manifests for webparts that are not applicable when doing an in-place navigation.  The lifecycle calls are a different issue that needs to be looked into.

@patmill We were trying to hide Sharepoint header (Logo, QuickLink, Search,...) on Home.aspx


When a modal is opened, the Tab key press starts focusing on background input fields

When a modal is opened, the Tab key press starts focusing on background input fields. It means that if a modal opens and I start doing Tab press, after the last element in modal, the focus shifts to background selection. So I can enter a value in input field which is at background layout, even if the modal is opened.
Expected Behavior

I think, if the modal is opened and Tab key is pressed repeatedly, we should allow navigation only inside modal fields. Once the modal gets closed, then only Tab press of background page should work. Elaborating, the Tab key press should work for active views only.
Like BootStrap Modal
Current Behavior
Open Materialize modal demo, and start pressing Tab from keyboard. After selecting all the focus-able fields inside modal, the Tab selection goes in background page. The Tab should always select the current focus-able element. But it doesn't happens here.
Possible Solution
While working with materialize modal, I assigned tabindex='-1' to all the body element in current page except modal class. And while closing modal, I reassigned the tabIndex of all body elements to 0.
Making the tabIndex=-1 automatically made all the background html element as non-focusable.
But if any of my element was having default/predefined tabIndex property, I lost all those values.
So my solution was approximate and 50% temporary hack.
Your Environment

Materialize Version used: v0.100.2
Browser Name and version: Version 64.0.3282.186 (Official Build) (64-bit)
Operating System and version (Desktop): Windows 10

Fixed in da3f1483. This will be available in the next release


[WIP] Clean up doc build

Good docs build cleanly!

(cloud-custodian) $ sphinx-build -W docs/source docs/build -q 2>&1 | less
(cloud-custodian) $

Ready for review. Note that this brings the API reference into the docs. Are we ready for that? If not we can turn off sphinx-apidoc (building w/o linking in the ToC throws a warning).

i'm fine with it for now, i just don't think auto module docs reflects end target state, where reference docs are not nesc a code docs but a policy authoring reference thats autogen'd from registered resource types and their respective filters/actions. but its a good step forward.


⚠ Bofrost.de has degraded performance

In 437aef3, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1228 ms

Resolved: Bofrost.de performance has improved in 89f463a.


Add support for connection string to Microsoft.ApplicationInsights.NLogTarget

Add support for connection string to Microsoft.ApplicationInsights.NLogTarget https://github.com/microsoft/ApplicationInsights-dotnet/issues/2714
Fix Issue # .
Changes
(Please provide a brief description of the changes here.)
Checklist

[x] I ran Unit Tests locally.
[x] CHANGELOG.md updated with one line description of the fix, and a link to the original issue if available.

For significant contributions please make sure you have completed the following items:

[x] Design discussion issue #
[x] Changes in public surface reviewed

The PR will trigger build, unit tests, and functional tests automatically. Please follow these instructions to build and test locally.
Notes for authors:

FxCop and other analyzers will fail the build. To see these errors yourself, compile localy using the Release configuration.

Notes for reviewers:
We support comment build triggers

/AzurePipelines run will queue all builds
/AzurePipelines run  will queue a specific build

@TimothyMothra @cijothomas - Can you please review the PR

https://github.com/microsoft/ApplicationInsights-dotnet/pull/2750#issuecomment-1771068342

#2750 (comment)

@rajkumar-rangaraj  and @TimothyMothra - Can you please let us know your thoughts on this.

@cijothomas If NLog-target changes from using obsolete/legacy TelemetryClient with TelemtryConfiguration.Active to creating its own non-legacy TelemetryClient using connectionString. Would you accept the pull-request ?

@cijothomas Polite poke. If NLog-target changes from using obsolete/legacy TelemetryClient (depending on on TelemtryConfiguration.Active), to instead create its own local TelemetryClient using connectionString. Would you accept the pull-request ?

@cijothomas Polite poke. If NLog-target changes from using obsolete/legacy TelemetryClient (depending on on TelemtryConfiguration.Active), to instead create its own local TelemetryClient using connectionString. Would you accept the pull-request ?

I'll let @rajkumar-rangaraj @TimothyMothra to comment on if this repo plan to accept new features, given the OTel movement.
From a technical standpoint, creating own TelemetryClient would mean it'll have a config, different from the rest of the application, right?

From a technical standpoint, creating own TelemetryClient would mean it'll have a config, different from the rest of the application, right?

Yes like this:
                var telemetryConfiguration = TelemetryConfiguration.CreateDefault();
                telemetryConfiguration.ConnectionString = connectionString;
                this.telemetryClient = new TelemetryClient(telemetryConfiguration);

@cijothomas + @rajkumar-rangaraj + @TimothyMothra Are you willing to accept pull-request that allows NLog to use ConnectionString and no longer use the now deprecated TelemtryConfiguration.Active ?

@cijothomas + @rajkumar-rangaraj + @TimothyMothra Please accept this Pull Request.
Azure is ending support for InstrumentationKey in March 2025 forcing everyone to switch to ConnectionString. We really like using NLog and it huge be a huge effort for us to switch off of NLog. We cannot be losing application logs, we need to be able to continue to support our applications.

Created #2897 that changes to use isolated TelemetryClient when using ConnectionString.


[MSTeams]IamBack functionality on Input.Number

Platforms
*MsTeams
Can we get the IamBack functionality on Clicking on Action.submit in Adaptive card and the Iamback message should be of the Value of  Input.Number

In the above Image On clicking on "OK"(Action.Submit) the value enter by the User in Input.Number should be echo back in the bot chat (Value of Input.Number should be Iamback on clicking Action.Submit) in Teams
Adaptive Card Json:-
{
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"text": "How many Days would you like to book?",
"size": "Medium"
},
{
"type": "Input.Number",
"placeholder": "Placeholder text",
"id": "TimeOffNumber",
"min": 1,
"value": "1",
"max": 15
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"actions": [
{
"type": "Action.Submit",
"title": "Ok"
}
]
}

Hello,
Can we have this.. where the user will enter the date in Adaptive card and Click on Action.submit can we IamBack the number entered in the input.Number
Thanks.

Can someone please reply on this

This issue has been copied over to Microsoft Teams repo here: https://github.com/MicrosoftDocs/msteams-docs/issues/4281


Suggestion: Hide scroll bar in chatbox when transparent.

It has been mentioned a few times by myself and others on Reddit, and it can get in the way sometimes when you are trying to do certain tasks like agility.
You can still scroll up and down the chatbox with the middle button on the mouse.
https://imgur.com/a/7NPxz

I think this was solved by jagex adding option to move scrollbar to the left. Reopen if this is still needed.


Use withouth webpack

Hi there. I would like to ask you if is it possible to use this component vue without having all the flow with webpack and stuff related.  I am a .Net core developer and I really like to use it on old way,.. you know, adding the script tag , css, and just register the component and use it.
Thanks.

The lib's output format is umd, so maybe you can try to use it on old way:
// styles
<link rel="stylesheet" type='text/css' href='path/to/beautify-scrollbar/dist/index.css'>
<link rel="stylesheet" type='text/css' href='path/to/v2-table/dist/index.css'>

// scripts
<script src='path/to/vue.js'></script>
<script src='path/to/beautify-scrollbar/dist/index.js'></script>
<script src='path/to/v2-table/dist/index.js'></script>

Hope it can help you


Fix fetch body being used more than once

this was resulting in bad errors being reported and actual errors being swallowed.

Was getting errors like this

In my error logger instead of the real error code returned by the API.


SBC setup difficulty

ISSUE TEMPLATE ver. 0.4.0

Which TurtleBot3 platform do you use?

[ ] Burger
[ ] Waffle
[x] Waffle Pi

Which ROS is working with TurtleBot3?

[ ] ROS 1 Kinetic Kame
[ ] ROS 1 Melodic Morenia
[x] ROS 1 Noetic Ninjemys
[ ] ROS 2 Dashing Diademata
[ ] ROS 2 Eloquent Elusor
[ ] ROS 2 Foxy Fitzroy
[ ] etc (Please specify your ROS Version here)

Which SBC(Single Board Computer) is working on TurtleBot3?

[ ] Intel Joule 570x
[x] Raspberry Pi 3B+
[ ] Raspberry Pi 4
[ ] etc (Please specify your SBC here)

Which OS you installed on SBC?

[ ] Raspbian distributed by ROBOTIS
[ ] Ubuntu MATE (16.04/18.04/20.04)
[ ] Ubuntu preinstalled server (18.04/20.04)
[x] etc (Please specify your OS here) Ubuntu 20.04.1 Preinstalled Server for Raspberry Pi3 as shown on the Noetic tab at this link on Sec. 3.2.1 link

Which OS you installed on Remote PC?

[ ] Ubuntu 16.04 LTS (Xenial Xerus)
[ ] Ubuntu 18.04 LTS (Bionic Beaver)
[x] Ubuntu 20.04 LTS (Focal Fossa)
[ ] Windows 10
[ ] MAC OS X (Specify version)
[ ] etc (Please specify your OS here)

Specify the software and firmware version(Can be found from Bringup messages)

Software version: [x.x.x]
Firmware version: [x.x.x]

Specify the commands or instructions to reproduce the issue.

I followed the 10 steps in "Configure the Raspberry Pi" at this link. On step 10, I could not connect to the RPi.

Copy and Paste the error messages on terminal.

ssh<EMAIL_ADDRESS>ssh: connect to host xxx.xxx.x.xxx port 22: No route to host

Please describe the issue in detail.

On the RPi, I tried ifconfig. The message is: Command 'ifconfig' not found.

Suggest you to consult : How to Enable SSH on Ubuntu 20.04 at https://linuxize.com/post/how-to-enable-ssh-on-ubuntu-20-04/.

@johncabibihan
Make sure that you have acquired IP address after writing the 50-cloud-init.yaml file and rebooting the Raspberry Pi.
The Noetic SBC instruction describes how to install and enable SSH as below after setting up the WIFI network.
$ sudo apt install ssh
$ sudo systemctl enable --now ssh
$ reboot

@ROBOTIS-Will
Thanks for your kind reply. I have doubts if I properly appended the text at the end of the file in the Noetic instructions
$ sudo nano /etc/netplan/50-cloud-init.yaml
I just copied the text and added my WIFI_SSID and WIFI_PASSWORD in the location as shown in the instructions. Is everything correct in this file? Please advise. Thanks.

@Paulino1956
Many thanks! I followed the instructions in the link. Here's what I got. I know I'm doing something wrong, but I don't know where. Any help will be very much appreciated.

@johncabibihan
There's a typo in access-point: which should be revised to access-points:.
Raspberry Pi wifi could be very tricky.
Have you tried setting the wifi country code?

@ROBOTIS-Will
Many thanks. I have changed the  access-points with an "s". Still no success.
I tried to change the wifi country code using various online suggestions.
The year is goes back to 2020 - very strange.
Any help would be very much appreciated. Thanks.

@johncabibihan
Hi, could you try the Noetic image that I shared in the other thread #700?

@ROBOTIS-Will
Success! It worked. Thanks!
Which step do I follow next?
3.2.5 Install ROS Packages?
https://emanual.robotis.com/docs/en/platform/turtlebot3/sbc_setup/#sbc-setup
or
3.5 Bringup?
https://emanual.robotis.com/docs/en/platform/turtlebot3/bringup/#bringup
or something else?

@johncabibihan
Once you've recovered your RPi with provided image, you don't have to install additional packages on RPi.
But don't forget to configure the network setting part in the .bashrc file below.
export ROS_MASTER_URI=http://{IP_ADDRESS_OF_REMOTE_PC}:11311
export ROS_HOSTNAME={IP_ADDRESS_OF_RASPBERRY_PI_3}

The next step will be uploading the Noetic firmware on OpenCR.
https://emanual.robotis.com/docs/en/platform/turtlebot3/opencr_setup/#opencr-setup
Then, you'll be ready for the Bringup and teleopration :D

@ROBOTIS-Will
Thanks for your suggestion.

I configured the network according to your instructions.
I have performed the set-up for OpenCR and assembled the hardware. The remote control operation works.
On the Bringup, I typed roscore on the PC. Below is the screenshot.
After seeing that message, I pinged the IP addresses of the PC and the RPI, both are sending and receiving from one another.

Your expert advise will be very much appreciated.

@johncabibihan
In your deleted picture, I see a typo when setting export ROS_HOSTNAME=<IP_ADDRESS>, but should be <IP_ADDRESS>.

@ROBOTIS-Will
My apologies. I sent the wrong photo, that's why I deleted it immediately.
Here are the correct screenshots...
On the bashrc file...

After typing roscore on the PC. Then, pinging the RPi's IP address.

Also pinging the PC's IP address...

@johncabibihan
I'm sorry about the delayed response.
Could you show me the configuration of the ROS_MASTER_URI and the ROS_HOSTNAME on your Remote PC?
I'm expecting to see something like
export ROS_MASTER_URI=http://<IP_ADDRESS>:11311
export ROS_HOSTNAME=<IP_ADDRESS>

Also, did you run $ roscore from your Remote PC before bringing up the TurtleBot3 from Raspberry Pi?

@ROBOTIS-Will:
Thanks for your message.
On my remote PC, this is what shows up.
export ROS_MASTER_URI=http://<IP_ADDRESS>:11311
export ROS_HOSTNAME=<IP_ADDRESS>
Running roscore from remote PC before bringup, this is what shows up:
RLException: Unable to contact my own server at [http://<IP_ADDRESS>:38193/].
This usually means that the network is not configured properly.
A common cause is that the machine cannot connect to itself.  Please check
for errors by running:
ping <IP_ADDRESS>

Please advise.

@johncabibihan
If the IP address of your remote PC is <IP_ADDRESS>, you should have an identical IP address for ROS_MASTER_URI and ROS_HOSTNAME on your remote PC as below.
export ROS_MASTER_URI=http://<IP_ADDRESS>:11311
export ROS_HOSTNAME=<IP_ADDRESS>

Meanwhile on your SBC(let's say its IP address is <IP_ADDRESS>), it should look like :
export ROS_MASTER_URI=http://<IP_ADDRESS>:11311
export ROS_HOSTNAME=<IP_ADDRESS>

@ROBOTIS-Will
Thanks for that. I followed your instructions.
On my PC, I ran roscore. Does it really take long for anything to change on the screen?
SUMMARY
PARAMETERS

/rosdistro: noetic
/rosversion: 1.15.9

NODES
auto-starting new master
process[master]: started with pid [4353]
ROS_MASTER_URI=http://<IP_ADDRESS>:11311/
setting /run_id to d4ba7016-87a7-11eb-a140-d158c09527d5
process[rosout-1]: started with pid [4363]
started core service [/rosout]

The pasted output looks good.
The roscore doesn't do anything but creating the ros master node for other nodes.
Once roscore is up and running, you can bringup the TurtleBot3 from RPi3
https://emanual.robotis.com/docs/en/platform/turtlebot3/bringup/#bringup-turtlebot3-1

Thanks.
All key functions are working : bringup, teleop via keyboard, SLAM, RViZ, GMap and Navigation. I will get started now on the next steps.
I am still having issues executing $rqt, but will move forward.
Thanks again for all your support!
Paulino

On Mar 18, 2021, at 2:15 AM, Will Son @.***> wrote:

The pasted output looks good.
The roscore doesn't do anything but creating the ros master node for other nodes.
Once roscore is up and running, you can bringup the TurtleBot3 from RPi3
https://emanual.robotis.com/docs/en/platform/turtlebot3/bringup/#bringup-turtlebot3-1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@ROBOTIS-Will
Thanks for the instructions. I missed the "Open a new terminal from PC" part.
With the terminal with the roscore running and copying below to the new terminal: $ roslaunch turtlebot3_bringup turtlebot3_robot.launch
I seem to get some of the expected output as copied below. However, the error messages seem to be in an infinite loop. I left it running for 8 hours, non-stop.
Any advise?
started roslaunch server http://<IP_ADDRESS>:40907/
SUMMARY
PARAMETERS

/rosdistro: noetic
/rosversion: 1.15.9
/turtlebot3_core/baud: 115200
/turtlebot3_core/port: /dev/ttyACM0
/turtlebot3_core/tf_prefix:
/turtlebot3_lds/frame_id: base_scan
/turtlebot3_lds/port: /dev/ttyUSB0

NODES
/
turtlebot3_core (rosserial_python/serial_node.py)
turtlebot3_diagnostics (turtlebot3_bringup/turtlebot3_diagnostics)
turtlebot3_lds (hls_lfcd_lds_driver/hlds_laser_publisher)
ROS_MASTER_URI=http://<IP_ADDRESS>:11311
process[turtlebot3_core-1]: started with pid [37153]
process[turtlebot3_lds-2]: started with pid [37154]
process[turtlebot3_diagnostics-3]: started with pid [37155]
[ERROR] [1616094415.381769960]: An exception was thrown: open: No such file or directory
[turtlebot3_lds-2] process has died [pid 37154, exit code 255, cmd /opt/ros/noetic/lib/hls_lfcd_lds_driver/hlds_laser_publisher __name:=turtlebot3_lds __log:=/home/ubuntu/.ros/log/7e2b8ce8-87b2-11eb-8b5e-27feae547c66/turtlebot3_lds-2.log].
log file: /home/ubuntu/.ros/log/7e2b8ce8-87b2-11eb-8b5e-27feae547c66/turtlebot3_lds-2*.log
[INFO] [1616094416.532680]: ROS Serial Python Node
[INFO] [1616094416.571050]: Connecting to /dev/ttyACM0 at 115200 baud
[INFO] [1616094418.692333]: Requesting topics...
[INFO] [1616094418.724689]: Note: publish buffer size is 1024 bytes
[INFO] [1616094418.732629]: Setup publisher on sensor_state [turtlebot3_msgs/SensorState]
[INFO] [1616094418.752156]: Setup publisher on firmware_version [turtlebot3_msgs/VersionInfo]
[INFO] [1616094418.881152]: Setup publisher on imu [sensor_msgs/Imu]
[INFO] [1616094418.905100]: Setup publisher on cmd_vel_rc100 [geometry_msgs/Twist]
[INFO] [1616094418.954475]: Setup publisher on odom [nav_msgs/Odometry]
[INFO] [1616094418.972352]: Setup publisher on joint_states [sensor_msgs/JointState]
[ERROR] [1616094418.984951]: Creation of publisher failed: Checksum does not match: 4ddae7f048e32fda22cac764685e3974,476f837fa6771f6e16e3bf4ef96f8770
[INFO] [1616094419.006905]: Setup publisher on magnetic_field [sensor_msgs/MagneticField]
[INFO] [1616094419.711700]: Setup publisher on /tf [tf/tfMessage]
[INFO] [1616094419.737563]: Note: subscribe buffer size is 1024 bytes
[INFO] [1616094419.744959]: Setup subscriber on cmd_vel [geometry_msgs/Twist]
[INFO] [1616094419.769180]: Setup subscriber on sound [turtlebot3_msgs/Sound]
[INFO] [1616094419.792692]: Setup subscriber on motor_power [std_msgs/Bool]
[INFO] [1616094419.815269]: Setup subscriber on reset [std_msgs/Empty]
[INFO] [1616094421.838482]: Setup TF on Odometry [odom]
[INFO] [1616094421.851232]: Setup TF on IMU [imu_link]
[INFO] [1616094421.862070]: Setup TF on MagneticField [mag_link]
[INFO] [1616094421.875912]: Setup TF on JointState [base_link]
[ERROR] [1616094421.889750]: Tried to publish before configured, topic id 131
[INFO] [1616094421.898921]: Requesting topics...
[INFO] [1616094424.398676]: Calibration End
[INFO] [1616094424.420109]: Setup publisher on sensor_state [turtlebot3_msgs/SensorState]
[INFO] [1616094424.431175]: Setup publisher on firmware_version [turtlebot3_msgs/VersionInfo]
[INFO] [1616094424.441901]: Setup publisher on imu [sensor_msgs/Imu]
[INFO] [1616094424.454527]: Setup publisher on cmd_vel_rc100 [geometry_msgs/Twist]
[INFO] [1616094424.466410]: Setup publisher on odom [nav_msgs/Odometry]
[INFO] [1616094424.478574]: Setup publisher on joint_states [sensor_msgs/JointState]
[ERROR] [1616094424.489981]: Creation of publisher failed: Checksum does not match: 4ddae7f048e32fda22cac764685e3974,476f837fa6771f6e16e3bf4ef96f8770
[INFO] [1616094424.501803]: Setup publisher on magnetic_field [sensor_msgs/MagneticField]
[INFO] [1616094424.512158]: Setup publisher on /tf [tf/tfMessage]
[ERROR] [1616094424.536448]: Tried to publish before configured, topic id 131
[INFO] [1616094424.543837]: Requesting topics...
[ERROR] [1616094424.704352]: Tried to publish before configured, topic id 131
[INFO] [1616094424.712627]: Requesting topics...
[ERROR] [1616094424.747251]: Tried to publish before configured, topic id 131
[INFO] [1616094424.755708]: Requesting topics...
[ERROR] [1616094424.821037]: Tried to publish before configured, topic id 131
[INFO] [1616094424.828456]: Requesting topics...
[ERROR] [1616094424.864352]: Tried to publish before configured, topic id 131
[INFO] [1616094424.873162]: Requesting topics...
[ERROR] [1616094424.946249]: Tried to publish before configured, topic id 131
This can go on for 8 hours or more...

Hi @johncabibihan
When running TurtleBot3 with Noetic, you should update the OpenCR firmware as there is an updated message structure that is not compatible with older ROS versions.
Please follow the OpenCR setup section of the eManual, and don't forget to select the correct ROS version you are trying to use at the top of the eManual page.
https://emanual.robotis.com/docs/en/platform/turtlebot3/opencr_setup/#opencr-setup

@ROBOTIS-Will
Success! It worked. No error messages. What a joy!
On 3.5.3. Load TurtleBot3 on Rviz, I received the error below.
https://emanual.robotis.com/docs/en/platform/turtlebot3/bringup/#bringup
Please advise. Thanks.
$ rosrun rviz rviz -d 'rospack find turtlebot3_description'/rviz/model.rviz
[rospack] Error: package 'rviz' not found

@johncabibihan
Yay!
Looks like you haven't installed RViz.
$ sudo apt install ros-noetic-rviz

@ROBOTIS-Will
Thanks so much for all the help!
My turtlebot3 waffle pi is now working. I will try the pi camera and the robot arm to get working next.

@ROBOTIS-Will
Here we go again... raspi-config not found.
<IP_ADDRESS> Installation
link
$ sudo raspi-config
results into command not found
I tried a second alternative, is from the raspberrypi.org
The Raspberry Pi configuration tool does not show up when I connected the SBC to the monitor, mouse, and keyboard.
Your kind help will be very much appreciated.

@ROBOTIS-Will
Thanks for the clarification. I just followed the instructions in the manual.
Any hints on how I can get the RPi camera module v2 running? Thanks.

@johncabibihan
I'm sorry about the misleading information in the eManual which is written for Raspbian OS.
I'll request to update the content.
It seems like there's no proper Raspberry Pi cam driver for the latest Ubuntu 64 bit yet.
I'll keep looking for the solution and update the eManual if I find any.
Thanks!

Thanks for your support! Turtlebot is operational !
Now learning how run it !
Paulino

On Mar 18, 2021, at 2:15 AM, Will Son @.***> wrote:

The pasted output looks good.
The roscore doesn't do anything but creating the ros master node for other nodes.
Once roscore is up and running, you can bringup the TurtleBot3 from RPi3
https://emanual.robotis.com/docs/en/platform/turtlebot3/bringup/#bringup-turtlebot3-1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi everyone, i have tries #700 and update the Timezone and have update the SSID and password.
However when i type ifconfig, it only show the lo: <IP_ADDRESS>.
Please advice.
Thank you.

@New2Turtle
It looks like something went wrong with your RPi recovery with the image as neither etho0 or wlan0 is shown in the list.
What does $ ip link show return?
Are you using a default TurtleBot3 package?

@ROBOTIS-Will : thanks for your time. Are you referring to the Emanual turtlebot3 package?
I am using the image which you shared at #700 , what i did is apt- update and upgrade using LAN cable.
Should I flash the image again ? I remembered seeing the eth0 and wlan0 before I insert the ssid and password. As for the ip link show, I will response later as I have no access to it now.
Thank you.

@New2Turtle
The ROS1 Noetic image for Raspberry Pi 3B+ is updated very recently.
In some cases upgrading corrupts the Raspberry Pi network driver(similar issue thread) so please try using it without apt upgrade.
Thank you.

Hi, I encountered the same issue in WiFi setup on ROS2 Foxy Rasberry Pi 3B+. It turns out the WiFi and ethernet interface are disabled by default.
I was able to fix this issue following [https://askubuntu.com/questions/883305/connecting-to-new-wifi-network
]
Hope this is helpful.

i followed the instruction untill sbc setup( no error) , but when i connect sd card to raspberry and hdmi to monitor, the screen says "no signal". i've been check the monitor and hdmi cable, nothing wrong  .
Any advice ? is it maybe because my wifi ssid have some space or something ? my wifi ssid = my wifi

Closing this thread as there isn't recent activity related on this issue.


No loader is configured for ".png" files:

Describe the bug
I get No loader is configured for ".png" files: error when trying to run next-sitemap command after build.  I have static asset import all over the app.
To Reproduce
Import static asset into any route
Run remix build
Run remix-sitemap
Expected behavior
Sitemap is generated
Screenshots

Desktop (please complete the following information):

OS: MacOs Ventura

Hi @vdjurdjevic! thanks, this should be fixed in v1.3.2


S3 Methods for dca, GdmDiag, GdmFull, rca functions.

Added S3 Methods for dca, GdmDiag, GdmFull, rca functions.
Fixed output of above functions to return class.

Coverage decreased (-15.0%) to 81.529% when pulling b4affba66f422ee083a523f4ee0e62ff4abaa935 on kszela24:master into 5199be34bfe4296c6a500e1b4140d81de2d06c99 on terrytangyuan:master.


Dartium does not tell the user when it has expired

Today Dartium appeared to stop running my Dart code. There was nothing to all in the Console, despite reloading the page several times.
After much head scratching, I remembered that Dartium expires after 60 days so I downloaded the latest one and everything works.
I can repro this with the current stable version linked from dartlang.org; I wound my block forwards 3 months and Dart code fails to execute (HTML does render), but there's no visual indication of why.
I'm using Windows 7 and pulling the HMTL + Dart files via IIS (not using Pub).

(Dupe of #18560, which appears to now have a fix!)


Move code instrumentation to extra task

Up to now there were two different approaches in gradle-intellij-plugin to instrument the classes with form code and @NotNull assertions:
Previously, instrumentation was invoked using classes.doLast. However, since the files in the classes directory are changed after completion of the compile tasks, Gradle will assume they are out-of-date the next time it is run. Consequently, source files will be always recompiled. (see #116)
The current solution is to run instrumentation after each AbstractCompile task. While it fixes the up-to-date checks, there are several other problems with the current approach:

It doesn't detect Kotlin properly (see #171)

In some cases the class transformer requires other compiled classes, which might not be available when they're compiled by another compile task (see #73)

Instrumentation runs separately for each compile task, but it always includes all classes. That means that classes are sometimes transformed several times:
If I add https://github.com/Minecrell/intellij-test/commit/2164cd5ccc1a10a9e4a61b6e9a61a544375b92ea it transforms the class with @NotNull assertions twice, once with :compileJava and once with :compileGroovy: https://gist.github.com/Minecrell/0a1323e495280f96bf61e641d5b9010c (I'm not sure why it inserts two checks on each run)
This is especially a problem when using Gradle's incubtaing incremental Java compilation: on each run new @NotNull assertions are added, even when the class was not modified since the last run.

Conclusion

Running instrumentation directly after each compile task isn't possible because it transforms some classes multiple times. It can also cause issues if required classes weren't compiled yet.
Modifying the original classes after all compile tasks have run isn't possible because it breaks up-to-date checks.

Solution
We need something that runs after all compile tasks, but without modifying the original classes.
I've added a new task that depends on classes. It runs after the classes task has finished, which means that all classes are already compiled but it will also not run when executing only the classes task or one of the compile task. It is, however, executed if a task depends on the source set output (e.g. the jar task) by adding it to SourceSet.compiledBy.
To keep the original classes unmodified it copies the original classes to a new directory (e.g. build/classes/main-instrumented). Then it transforms the classes using the Ant task.
Finally, all that is left is to make Gradle aware of the new classes directory. Changing sourceSet.output.classesDir works fine to include the instrumented classes in the JAR. As far as I could see in my testing, nothing breaks when changing the classesDir, except Kotlin's module check when compiling test classes. I've explained that in detail in a comment in the source code.
I'm not aware of any other problems when changing the classesDir at runtime, but I'm not entirely sure. All tests seem to pass when they are modified to run the correct tasks.

@zolotov I've added an extra rename commit. You can see the changes in the file in https://github.com/JetBrains/gradle-intellij-plugin/pull/177/commits/94f150f8805038e160beb483e4c47705d5de22a8#diff-18b17223bb923d44b86de5aec3cb7388L1 now

I've pushed an additional commit that moves the task configuration out of afterEvaluate since that is no longer necessary. Let me know if I should squash it.

I've just noticed there is a bug that will cause the wrong classes to be included when the task is up-to-date. The problem is that we modify the source set's classesDir in the doLast of the task, but that won't run when the task is up-to-date.
However, we can only change the classesDir after the task has already run so changing it on creation of the task isn't possible either. The only way I can think of right now is to add another task that runs always after the instrumentCode task and changes the source set. Can you think of a better way?

I've pushed the additional task as described in my previous comment.

merged. thank you

@zolotov Awesome, thank you! Let me know when you release a new a new version using these changes so we can update the plugin on our project.

@Minecrell 0.2.5 is release

Hi @Minecrell
About:

I've just noticed there is a bug that will cause the wrong classes to be included when the task is up-to-date. The problem is that we modify the source set's classesDir in the doLast of the task, but that won't run when the task is up-to-date.
However, we can only change the classesDir after the task has already run so changing it on creation of the task isn't possible either. The only way I can think of right now is to add another task that runs always after the instrumentCode task and changes the source set. Can you think of a better way?

I have an idea on how to prevent the task out of date and wanted to know your opinion:
Instead of the instrument task the plugin will add a doLast (if set to) to the compileJava task. The doLast will copy the original to some other folder - the instrument job will be done on the original folder - and in this way the task will benefit from gradle up-to-date.
You think it can work ?


Add docker release to the full release process for final releases

Problem
Publishing a Docker release is currently a manual process which can be forgotten.
Solution
Add the Docker release to the release pipeline.
Checklist

[x] I have read the contributing guide and understand what's expected of me
[ ] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

Converting to draft until the full release workflow is resolved. We're missing the GH portion, on which Docker is dependent.

A test release run against this branch:
https://github.com/dbt-labs/dbt-postgres/actions/runs/9070904615