Trending

#errorReporting

Latest posts tagged with #errorReporting on Bluesky

Latest Top
Trending

Posts tagged #errorReporting

Post image

The Protocol for Reporting an Error to an Author or Publisher

scottgraffius.com/blog/files/e...

#Author #Books #Corrigendum #Errata #ErrorReporting #Publishers #Publishing #ReaderReport #Retraction #WritingCommunity

0 0 0 0
Post image

The Protocol for Reporting an Error to an Author or Publisher

🔗 scottgraffius.com/blog/files/e...

#Author #CorrectionNotice #Corrigendum #Errata #ErrorReporting #Publisher #Retraction #WritingCommunity

1 0 0 0
Post image

The Protocol for Reporting an Error to an Author or Publisher

🔗 scottgraffius.com/blog/files/e...

#Author #BookCorrections #Books #CorrectionNotice #Corrigendum #Errata #ErrorReporting #FactualError #FormattingError #Publishers #Publishing #ReaderReport #Retraction #WritingCommunity

2 1 0 0
Swift source code:

class Foo {
	let value = "Hello!"
	
	func callAutoClosure(innerClosure: @autoclosure (() -> String)) {
		print(innerClosure())
	}
	
	func weakSelfCall() {
		let outerClosure = { [weak self] in
			guard let self = self else { return }
			
			callAutoClosure(innerClosure: "The value is \(value)")
		}
		outerClosure()
	}
	
	func strongSelfCall() {
		let outerClosure = {
			callAutoClosure(innerClosure: "The value is \(value)")
		}
		outerClosure()
	}
}

And an error message on line 19 that calls callAutoClosure() with a strong self “Call to method 'callAutoClosure' in closure requires explicit use of 'self' to make capture semantics explicit”.

Swift source code: class Foo { let value = "Hello!" func callAutoClosure(innerClosure: @autoclosure (() -> String)) { print(innerClosure()) } func weakSelfCall() { let outerClosure = { [weak self] in guard let self = self else { return } callAutoClosure(innerClosure: "The value is \(value)") } outerClosure() } func strongSelfCall() { let outerClosure = { callAutoClosure(innerClosure: "The value is \(value)") } outerClosure() } } And an error message on line 19 that calls callAutoClosure() with a strong self “Call to method 'callAutoClosure' in closure requires explicit use of 'self' to make capture semantics explicit”.

Interesting that

guard let self = self

on a weak self isn’t recognized by the error reporting mechanism as a pointer to self being captured in a closure, only the actual self is.

#swiftLang #errorReporting #linting

0 0 0 0
Post image

When you see something like this, you know someone forgot to do something.

Fortunately, this is just for learning, and this is the next issue to address.

#.NET #ASP.NET #DataValidation #ErrorReporting #Learning

3 0 0 0
Screenshot of the SoundCloud Android app showing the menu options for the track "Around with Me" by Mandopop singer JoJo, with the profile of American singer JoJo (Joanna Levesque) in the background

Screenshot of the SoundCloud Android app showing the menu options for the track "Around with Me" by Mandopop singer JoJo, with the profile of American singer JoJo (Joanna Levesque) in the background

Doesn't seem like the SoundCloud app provides an easy way for users to notify when a song track is associated with the wrong artist #errorreporting #bugreporting

1 0 1 0