index: isEngine test page

I was thinking of creating a more comprehensive test page for isEngine, just adding tests and returning values - especially newFn protected errors - a bit like versions. It would also show me if an extension is meddling with them (excluding newFn, maybe I could run a parallel construction set)
edit: I don't want to return what your engine is, I just want to return the results, along with a green checkmark if it matches FF, just to show that you would have to cover all these for starters to fool anyone: i.e if one fail is game over - end edit
DONE

[x] InstallTrigger - the triple check one
[x] error properties - see below
[x] stack length - see #101
[x] navigator buildID, productSub, vendor, oscpu, globalPrivacyControl, getBattery, keyboard, bluetooth, deviceMemory, doNot Track
[x] screen.left, screen.top, window.mozInnerScreenX, window.mozInnerScreenY
[x] eval.toString().length
[x] navigator keys: expected and not expected
[x] canvas keys
[x] error messages
[x] math: matches: using the tiny set of 6 I crafted (see test results)

math - see this non-matches: not needed, this is what the mini-test already does

[x] push permission
[x] locale.compare
[x] Intl.Collator - see this
[x] Intl.DateTimeFormat
[x] Intl.DislayNames
[x] Intl.getCanonicalLocales
[x] Intl.ListFormat
[x] Intl.NumberFormat
[x] Int.PluralRules
[x] Intl.RelativeTimeFormat
[x] specific gecko date bugs
[x] mediaDevices.getSupportedConstraints()
[x] JS client hints
[x] navigator.storage.estimate - see below
[x] mimetypes & plugins (allows for flash only if FF84 or lower)
[x] document.mozFullScreenEnabled
[x] document properties (via iframe) - expected, not expected
[x] keys HTMLAnchorElement
[x] keys HTMLLinkElement
[x] moz* system colors
[x] moz* system fonts
[x] moz* css computed styles

TODO/IDEAS

[ ] window/screen attributes/properties
[ ] widget/element attributes/properties
[ ] css queries
[ ]  resource:// and chrome://
[ ] examples in the versions tests differ in chrome
[ ] Intl.Segmenter : wait until supported in FF 1423593

this is interesting, firefox returns fileName, lineNumber, columnNumber, chrome doesn't

const newFn = x => typeof x != 'string' ? x : new Function(x)()

function test() {
	var e = [];
	try {
		newFn("banana")
	} catch (n) {
		let f =  n.fileName == undefined? undefined : n.fileName.length
		e.push(n.message), e.push(f), e.push(n.lineNumber), e.push(n.description), e.push(n.number), e.push(n.columnNumber);
		try {
			e.push(n.toSource().toString())
		} catch (n) {
			e.push(void 0)
		}
	}
	try {
		newFn("new WebSocket('itsgonnafail')")
	} catch (n) {
		e.push(n.message)
	}
	console.debug(e)
	return e
}
test()

storage estimates
	navigator.storage.estimate().then(estimate => console.debug(estimate.quota))
	//<PHONE_NUMBER>593 chrome
	// 520541139 chrome incognito
	//<PHONE_NUMBER> brave: normal + private windows
	// 344413186 opera
	// 493381148 opera private window

semi-inspired by this
fyi: @chris124567  - ps love your commercial bot detectors repo 👍

whipped up a template (not uploaded), here's a sample

scheme is file:/// hence the stack length fails
i deliberately caused an error in InstallTrigger in window to show a red block - https://github.com/arkenfox/TZP/commit/a31737d2776faaf4efffb6484035158e3950586a - as a point of difference
results are geared for Firefox gecko (I need to fix that in the intro) - hence chrome in window is a green tick

in theory, all red crosses would be chrome (not sure how safari would go, as we add more stuff: bound to be things in common)

intro could do with some work

Also, I'm not going to use newFn() for testing errors - we want the test to show the inconsistencies, not lock them out

it's really simple, just add tests, no need to wait for anything, just give each test a unique order position .. and update the expected count
let results = [],
	data = {},
	count = 0,
	expected = 16

function display() {
	// data -> ordered results
	const names = Object.keys(data).sort((a,b) => a-b)
	for (const k of names) {results.push(data[k])}
	let display = []
	// snip: parse for pretty output .. populate display array ... blah blah blah
	dom.results.innerHTML = display.join("<br>")
}

function record(order, description, result, match) {
	order = (order+"").padStart(3,"0")
	data[order] = description +"~~~"+ result +"~~~"+ match
	count ++
	if (count == expected) {
		display()
	}
}

function compute() {
	// HEADERS
	record(0, "header", "expected")
	record(300, "header", "not expected")
	record(600, "header", "specific values")

	// 0+: EXPECTED
	// 20, 21, 22 = error columnNumber, fileName, lineNumber
	let strIT1 = "InstallTrigger in window", testIT1 = false
	try {
		testIT1 = "InstallTrigger" in window
		record (50, strIT1, testIT1, testIT1)
	} catch (e) {
		record(50, strIT1, e.name, zB0) // zB0 = global var for "blocked"
	}

	// next test

}

the record function takes (order, description, result, match) - match being true (green tick), false (red cross) or blocked (red block). After everything is recorded (by reaching the expected number of results), the data object is sorted into an array, prettied up and output
So feel free to submit test snippets. @abrahamjuliot don't you have a truckload of chrome API items that FF shouldn't have?

https://arkenfox.github.io/TZP/tests/engine.html
@abrahamjuliot feel free to add some stuff directly to the test - just update the expected count, keep description under 35 chars, and hopefully the result isn't too long (but I can always tweak table width and item padding).
format
	let DESCRIPTION = "testing blah blah", BOOLEAN = false
	try {
		let RESULT = whatever
		if (RESULT == something) {BOOLEAN = true}
		record (UNIQUENUMBER, DESCRIPTION, RESULT, BOOLEAN)
	} catch (e) {
		record(UNIQUENUMBER, DESCRIPTION, e.name, zB0)
	}

numbers

1-299 for expected (things only FF should have)
301-599 for not expected (things FF shoudn't have)
601-999 for specific values, even if the value is undefined or an empty string

Safari

While not necessary, I thought it would be nice to always try and get something different to gecko for both chrome and webkit.
Webkit collation was tough. I'm using FF60+ (for backwards compat) 104 items supported items (that way everything is supported and nothing falls back to undefined -> system/app locale = could be anything) so the hash is stable. Everything in those 104 locales are supported in webkit.
But looking at what changes in FF: the only diff is no (I'm sure they'll hook that up at some stage)
 not in webkit (108)
- FF70+: no, tl
- FF78+: ff
- FF91+: br, sa,
- can't get any collation diffs: br (breton), sa (sanskrit), ff (fulah), tl (tagalog)
- leaves: no

So if isFF and is 70+ then I swap no in for one of the others, so at least webkit comes up red x
This won't be such as issue with other constructors, since I won't need to rely on collation

@abrahamjuliot help me out

why does the console show % which is inside a string, as [object Object]
I am assuming that push permissions in webkit do not exist?
FYI: interesting that Intl.Collator shows a single match (undefined, which will be no), but locale.compare shows two (the other being mt. Both use the same locale lists. locale.compare is only using two chars, Intl.Collator a heaps of them. Seems like something in webkit (or gecko) is wired wrong

FYI: Intl.Collator
FF60 (104)
af, am, ar, as, az, be, bg, bn, bo, bs, ca, cs, cy, da, de, dsb, dz, ee, el, en,
eo, es, et, fa, fi, fo, fr, ga, gl, gu, ha, haw, he, hi, hr, hsb, hu, hy, id, ig,
is, it, ja, ka, kk, kl, km, kn, ko, kok, ky, lb, ln, lo, lt, lv, mk, ml, mn, mr,
ms, mt, my, nb, ne, nl, nn, om, or, pa, pl, ps, pt, ro, ru, se, si, sk, sl, sq,
sr, sv, sw, ta, te, th, to, tr, ug, uk, ur, uz, vi, wo, yi, yo, zh, zh-Hans,
zh-Hant, zh-CN, zh-HK, zh-SG, zh-TW, zu

FF91+ (113)
br, ff, hye -> hy, ku, no, sa, tk, tl -> fil, xh,

BLINK (54) (excluding tl->fil and no, not in FF60)
am, ar, bg, bn, ca, cs, da, de, el, en, es, et, fa, fi, fr, gu, he, hi, hr, hu, id,
it, ja, kn, ko, lt, lv, ml, mr, ms, nb, nl, pl, pt, ro, ru, sk, sl, sr, sv, sw,
ta, te, th, tr, uk, vi, zh, zh-Hans, zh-Hant, zh-CN, zh-HK, zh-SG, zh-TW

WEBKIT (108)

af, am, ar, as, az, be, bg, bn, bo, bs, ca, cs, cy, da, de, dsb, dz, ee, el, en,
eo, es, et, fa, fi, fo, fr, ga, gl, gu, ha, haw, he, hi, hr, hsb, hu, hy, hye -> hy, id,
ig, is, it, ja, ka, kk, kl, km, kn, ko, kok, ku, ky, lb, ln, lo, lt, lv, mk, ml, mn,
mr, ms, mt, my, nb, ne, nl, nn, om, or, pa, pl, ps, pt, ro, ru, se, si, sk, sl, sq,
sr, sv, sw, ta, te, th, tk, to, tr, ug, uk, ur, uz, vi, wo, xh, yi, yo, zh, zh-Hans,
zh-Hant, zh-CN, zh-HK, zh-SG, zh-TW, zu

ahh ... https://caniuse.com/?search=push permission

It looks like this is a unicode bug triggered by this specific unicode with the use of additional console.log arguments.
¯\_(ツ)_/¯
console.log('...\u0025\n', [])
// ...[object Object]

As an alternative, we can make that additional argument a seperate log:
console.log('...\u0025\n')
console.log([])
/*
...%
[]
*/

thanks.,not going to code around it, not worth it

zee speedy gonzales gecko check
not to be confused with Jose “Slowpoke” Rodriguez
hopefully impervious to extension fuckery and perf changes
let isFF = false
let tstart = performance.now()
let ff1 = Element.prototype.hasOwnProperty("mozMatchesSelector") // 0.014ms
let ff2 = CanvasRenderingContext2D.prototype.hasOwnProperty("mozTextStyle") // 0.133ms
let ff3 = ("boolean" === typeof document.mozFullScreenEnabled) // 0.015ms
let ff4 = ("object" === typeof Object.getOwnPropertyDescriptor(SVGElement.prototype, "onmozfullscreenchange")) // 0.024ms
let ff5 = ("object" === typeof Object.getOwnPropertyDescriptor(HTMLElement.prototype, "onmozfullscreenerror")) // 0.029ms
let ff6 = ("function" === typeof CSSMozDocumentRule) // 0.080ms // false FF52
let ff7 = ("function" === typeof document.mozSetImageElement) // 0.080ms
let ff8 = ("object" === typeof screen.onmozorientationchange) // 0.075ms
let res = [ff1, ff2, ff3, ff4, ff5, ff6, ff7, ff8]
let sum = ff1 + ff2 + ff3 + ff4 + ff5 + ff6 + ff7 + ff8
if (sum > 5) {isFF = true}
let tend = performance.now()
console.log(isFF, sum+"/"+res.length, (tend-tstart) +" ms")

^ PRO TIP run in about:config so timing is not rounded to 1ms

I did a quick iteration through window props and sub prop names. There's a lot here.

moz...

missing = [
  "mozSetImageElement" in Document.prototype,
  "mozCancelFullScreen" in Document.prototype,
  "mozFullScreen" in Document.prototype,
  "mozFullScreenEnabled" in Document.prototype,
  "mozFullScreenElement" in Document.prototype,
  "onmozfullscreenchange" in Document.prototype,
  "onmozfullscreenerror" in Document.prototype,
  "MOZ_SOURCE_UNKNOWN" in MouseEvent.prototype,
  "MOZ_SOURCE_MOUSE" in MouseEvent.prototype,
  "MOZ_SOURCE_PEN" in MouseEvent.prototype,
  "MOZ_SOURCE_ERASER" in MouseEvent.prototype,
  "MOZ_SOURCE_CURSOR" in MouseEvent.prototype,
  "MOZ_SOURCE_TOUCH" in MouseEvent.prototype,
  "MOZ_SOURCE_KEYBOARD" in MouseEvent.prototype,
  "mozPressure" in MouseEvent.prototype,
  "mozInputSource" in MouseEvent.prototype,
  "MOZ_SOURCE_UNKNOWN" in MouseEvent.prototype,
  "MOZ_SOURCE_MOUSE" in MouseEvent.prototype,
  "MOZ_SOURCE_PEN" in MouseEvent.prototype,
  "MOZ_SOURCE_ERASER" in MouseEvent.prototype,
  "MOZ_SOURCE_CURSOR" in MouseEvent.prototype,
  "MOZ_SOURCE_TOUCH" in MouseEvent.prototype,
  "MOZ_SOURCE_KEYBOARD" in MouseEvent.prototype,
  "mozMatchesSelector" in Element.prototype,
  "mozRequestFullScreen" in Element.prototype,
  "onmozfullscreenchange" in HTMLElement.prototype,
  "onmozfullscreenerror" in HTMLElement.prototype,
  "MozBoxAlign" in CSS2Properties.prototype,
  "-moz-box-align" in CSS2Properties.prototype,
  "MozBoxDirection" in CSS2Properties.prototype,
  "-moz-box-direction" in CSS2Properties.prototype,
  "MozBoxOrient" in CSS2Properties.prototype,
  "-moz-box-orient" in CSS2Properties.prototype,
  "MozBoxPack" in CSS2Properties.prototype,
  "-moz-box-pack" in CSS2Properties.prototype,
  "MozFloatEdge" in CSS2Properties.prototype,
  "-moz-float-edge" in CSS2Properties.prototype,
  "MozForceBrokenImageIcon" in CSS2Properties.prototype,
  "-moz-force-broken-image-icon" in CSS2Properties.prototype,
  "MozOrient" in CSS2Properties.prototype,
  "-moz-orient" in CSS2Properties.prototype,
  "MozTextSizeAdjust" in CSS2Properties.prototype,
  "-moz-text-size-adjust" in CSS2Properties.prototype,
  "MozUserFocus" in CSS2Properties.prototype,
  "-moz-user-focus" in CSS2Properties.prototype,
  "MozUserInput" in CSS2Properties.prototype,
  "-moz-user-input" in CSS2Properties.prototype,
  "MozUserModify" in CSS2Properties.prototype,
  "-moz-user-modify" in CSS2Properties.prototype,
  "MozWindowDragging" in CSS2Properties.prototype,
  "-moz-window-dragging" in CSS2Properties.prototype,
  "MozBoxOrdinalGroup" in CSS2Properties.prototype,
  "-moz-box-ordinal-group" in CSS2Properties.prototype,
  "MozBoxFlex" in CSS2Properties.prototype,
  "-moz-box-flex" in CSS2Properties.prototype,
  "MozImageRegion" in CSS2Properties.prototype,
  "-moz-image-region" in CSS2Properties.prototype,
  "MozBorderStartColor" in CSS2Properties.prototype,
  "-moz-border-start-color" in CSS2Properties.prototype,
  "MozBorderStartStyle" in CSS2Properties.prototype,
  "-moz-border-start-style" in CSS2Properties.prototype,
  "MozBorderStartWidth" in CSS2Properties.prototype,
  "-moz-border-start-width" in CSS2Properties.prototype,
  "MozBorderEndColor" in CSS2Properties.prototype,
  "-moz-border-end-color" in CSS2Properties.prototype,
  "MozBorderEndStyle" in CSS2Properties.prototype,
  "-moz-border-end-style" in CSS2Properties.prototype,
  "MozBorderEndWidth" in CSS2Properties.prototype,
  "-moz-border-end-width" in CSS2Properties.prototype,
  "MozTransform" in CSS2Properties.prototype,
  "-moz-transform" in CSS2Properties.prototype,
  "MozPerspective" in CSS2Properties.prototype,
  "-moz-perspective" in CSS2Properties.prototype,
  "MozPerspectiveOrigin" in CSS2Properties.prototype,
  "-moz-perspective-origin" in CSS2Properties.prototype,
  "MozBackfaceVisibility" in CSS2Properties.prototype,
  "-moz-backface-visibility" in CSS2Properties.prototype,
  "MozTransformStyle" in CSS2Properties.prototype,
  "-moz-transform-style" in CSS2Properties.prototype,
  "MozTransformOrigin" in CSS2Properties.prototype,
  "-moz-transform-origin" in CSS2Properties.prototype,
  "MozAppearance" in CSS2Properties.prototype,
  "-moz-appearance" in CSS2Properties.prototype,
  "MozFontFeatureSettings" in CSS2Properties.prototype,
  "-moz-font-feature-settings" in CSS2Properties.prototype,
  "MozFontLanguageOverride" in CSS2Properties.prototype,
  "-moz-font-language-override" in CSS2Properties.prototype,
  "MozHyphens" in CSS2Properties.prototype,
  "-moz-hyphens" in CSS2Properties.prototype,
  "MozTabSize" in CSS2Properties.prototype,
  "-moz-tab-size" in CSS2Properties.prototype,
  "MozMarginStart" in CSS2Properties.prototype,
  "-moz-margin-start" in CSS2Properties.prototype,
  "MozMarginEnd" in CSS2Properties.prototype,
  "-moz-margin-end" in CSS2Properties.prototype,
  "MozPaddingStart" in CSS2Properties.prototype,
  "-moz-padding-start" in CSS2Properties.prototype,
  "MozPaddingEnd" in CSS2Properties.prototype,
  "-moz-padding-end" in CSS2Properties.prototype,
  "MozBoxSizing" in CSS2Properties.prototype,
  "-moz-box-sizing" in CSS2Properties.prototype,
  "MozUserSelect" in CSS2Properties.prototype,
  "-moz-user-select" in CSS2Properties.prototype,
  "MozTransitionDuration" in CSS2Properties.prototype,
  "-moz-transition-duration" in CSS2Properties.prototype,
  "MozTransitionTimingFunction" in CSS2Properties.prototype,
  "-moz-transition-timing-function" in CSS2Properties.prototype,
  "MozTransitionProperty" in CSS2Properties.prototype,
  "-moz-transition-property" in CSS2Properties.prototype,
  "MozTransitionDelay" in CSS2Properties.prototype,
  "-moz-transition-delay" in CSS2Properties.prototype,
  "MozAnimationName" in CSS2Properties.prototype,
  "-moz-animation-name" in CSS2Properties.prototype,
  "MozAnimationDuration" in CSS2Properties.prototype,
  "-moz-animation-duration" in CSS2Properties.prototype,
  "MozAnimationTimingFunction" in CSS2Properties.prototype,
  "-moz-animation-timing-function" in CSS2Properties.prototype,
  "MozAnimationIterationCount" in CSS2Properties.prototype,
  "-moz-animation-iteration-count" in CSS2Properties.prototype,
  "MozAnimationDirection" in CSS2Properties.prototype,
  "-moz-animation-direction" in CSS2Properties.prototype,
  "MozAnimationPlayState" in CSS2Properties.prototype,
  "-moz-animation-play-state" in CSS2Properties.prototype,
  "MozAnimationFillMode" in CSS2Properties.prototype,
  "-moz-animation-fill-mode" in CSS2Properties.prototype,
  "MozAnimationDelay" in CSS2Properties.prototype,
  "-moz-animation-delay" in CSS2Properties.prototype,
  "MozBorderStart" in CSS2Properties.prototype,
  "-moz-border-start" in CSS2Properties.prototype,
  "MozBorderEnd" in CSS2Properties.prototype,
  "-moz-border-end" in CSS2Properties.prototype,
  "MozBorderImage" in CSS2Properties.prototype,
  "-moz-border-image" in CSS2Properties.prototype,
  "MozTransition" in CSS2Properties.prototype,
  "-moz-transition" in CSS2Properties.prototype,
  "MozAnimation" in CSS2Properties.prototype,
  "-moz-animation" in CSS2Properties.prototype,
  "mozAnon" in XMLHttpRequest.prototype,
  "mozSystem" in XMLHttpRequest.prototype,
  "onmozfullscreenchange" in SVGElement.prototype,
  "onmozfullscreenerror" in SVGElement.prototype,
  "mozIsTextField" in HTMLInputElement.prototype,
  "mozGetUserMedia" in Navigator.prototype,
  "mozOpaque" in HTMLCanvasElement.prototype,
  "mozPrintCallback" in HTMLCanvasElement.prototype,
  "mozCurrentTransform" in CanvasRenderingContext2D.prototype,
  "mozCurrentTransformInverse" in CanvasRenderingContext2D.prototype,
  "mozTextStyle" in CanvasRenderingContext2D.prototype,
  "mozImageSmoothingEnabled" in CanvasRenderingContext2D.prototype,
  "mozLockOrientation" in Screen.prototype,
  "mozUnlockOrientation" in Screen.prototype,
  "mozOrientation" in Screen.prototype,
  "onmozorientationchange" in Screen.prototype,
  "mozCaptureStream" in HTMLMediaElement.prototype,
  "mozCaptureStreamUntilEnded" in HTMLMediaElement.prototype,
  "mozGetMetadata" in HTMLMediaElement.prototype,
  "mozPreservesPitch" in HTMLMediaElement.prototype,
  "mozAudioCaptured" in HTMLMediaElement.prototype,
  "mozFragmentEnd" in HTMLMediaElement.prototype,
  "mozRTCPeerConnection" in window,
  "onmozfullscreenchange" in MathMLElement.prototype,
  "onmozfullscreenerror" in MathMLElement.prototype,
  "mozCursor" in DataTransfer.prototype,
  "mozUserCancelled" in DataTransfer.prototype,
  "mozSourceNode" in DataTransfer.prototype,
  "mozParsedFrames" in HTMLVideoElement.prototype,
  "mozDecodedFrames" in HTMLVideoElement.prototype,
  "mozPresentedFrames" in HTMLVideoElement.prototype,
  "mozPaintedFrames" in HTMLVideoElement.prototype,
  "mozFrameDelay" in HTMLVideoElement.prototype,
  "mozHasAudio" in HTMLVideoElement.prototype,
  "mozFullScreenElement" in ShadowRoot.prototype,
  "CSSMozDocumentRule" in window,
  "mozGetAll" in IDBObjectStore.prototype,
  "mozRTCIceCandidate" in window,
  "mozGetAll" in IDBIndex.prototype,
  "mozGetAllKeys" in IDBIndex.prototype,
  "mozHasItem" in OfflineResourceList.prototype,
  "mozItem" in OfflineResourceList.prototype,
  "mozAdd" in OfflineResourceList.prototype,
  "mozRemove" in OfflineResourceList.prototype,
  "mozItems" in OfflineResourceList.prototype,
  "mozLength" in OfflineResourceList.prototype,
  "mozRTCSessionDescription" in window
].filter(x => !x)

I know - I just wasn't sure how to access some of them
I'll curate a few from there that are better: e.g. the screen.moz* typeof could be fcked by an extension to return undefined
CSS2 properties are slow, and cause an error in chromium

do me a favor, and time them all :)

you can work around the CSS2 error in blink by doing

IDK if it throws an error in webkit

if ("function" === typeof CSS2Properties) {

res.push( CSS2Properties.prototype.hasOwnProperty("something")) )
res.push( CSS2Properties.prototype.hasOwnProperty("something_else")) )

}

time

0-1ms in FF 80 and 103
7ms on Android 12
12ms on Android 5

Android might only be slower due to the console site I use.

"function" === typeof CSS2Properties)

Nice. I like this. It bypasses fake properties with the wrong type.
Maybe this is faster
CSS.supports("-moz-box-align: initial")

cssDashProps = ["-moz-box-align"] // and more
missing = [
   ...cssDashProps.map(x => CSS.supports(`${x}: initial`)),
  // other stuff
]

useless code attempt - needs a cleanup
	let t0 = performance.now()
	let res = []
	let objects = [
		HTMLVideoElement.prototype,
		HTMLMediaElement.prototype
	]
	let properties = [
		["fake","mozParsedFrames","mozDecodedFrames","mozPresentedFrames","mozPaintedFrames","mozFrameDelay","mozHasAudio"],
		["mozCaptureStream","mozCaptureStreamUntilEnded","mozGetMetadata","mozPreservesPitch","mozAudioCaptured","mozFragmentEnd"]
	]
	let types = [
		"object",
		"object"
	]
	for (let i=0; i < objects.length; i++) {
		let obj = objects[i]
		let props = properties[i]
		let type = types[i]
		props.forEach(function(element) {
			if (type === typeof Object.getOwnPropertyDescriptor(obj, element))
			res.push(element)
		})
	}
	let t1 = performance.now()
	console.log(res.length, t1-t0 +"ms", res)

note

not all objects on your list yet
OfflineResourceList = cache and is invalid
IDB* is probably invalid or I need to create one (and it could be blocked by cookies not allowed or whatever)
I only did half the CSS2Properties as the -moz ones are aliases

code...
	let t0 = performance.now()
	let aYes = 0, aNo = []
	let oList = {
		"Document": [Document.prototype,
			["mozSetImageElement","mozCancelFullScreen","mozFullScreen","mozFullScreenEnabled",
				"mozFullScreenElement","onmozfullscreenchange","onmozfullscreenerror"]
		],
		"NouseEvent": [MouseEvent.prototype,
			["MOZ_SOURCE_UNKNOWN","MOZ_SOURCE_MOUSE","MOZ_SOURCE_PEN","MOZ_SOURCE_ERASER",
			"MOZ_SOURCE_CURSOR","MOZ_SOURCE_TOUCH","MOZ_SOURCE_KEYBOARD","mozPressure",
			"mozInputSource","MOZ_SOURCE_UNKNOWN","MOZ_SOURCE_MOUSE","MOZ_SOURCE_PEN",
			"MOZ_SOURCE_ERASER","MOZ_SOURCE_CURSOR","MOZ_SOURCE_TOUCH","MOZ_SOURCE_KEYBOARD"]
		],
		"HTMLElement": [HTMLElement.prototype,
			["onmozfullscreenchange","onmozfullscreenerror"]
		],
		"HTMLVideoElement": [HTMLVideoElement.prototype,
			["mozParsedFrames","mozDecodedFrames","mozPresentedFrames","mozPaintedFrames","mozFrameDelay","mozHasAudio"]
		],
		"HTMLMediaElement": [HTMLMediaElement.prototype,
			["mozCaptureStream","mozCaptureStreamUntilEnded","mozGetMetadata","mozPreservesPitch","mozAudioCaptured","mozFragmentEnd"]
		],
	}
	if ("function" === typeof CSS2Properties) {
		let aCSS2 = [CSS2Properties.prototype,
			["MozBoxAlign","MozBoxDirection","MozBoxOrient","MozBoxPack","MozFloatEdge","MozForceBrokenImageIcon",
			"MozOrient","MozTextSizeAdjust","MozUserFocus","MozUserInput","MozUserModify","MozWindowDragging",
			"MozBoxOrdinalGroup","MozBoxFlex","MozImageRegion","MozBorderStartColor","MozBorderStartStyle",
			"MozBorderStartWidth","MozBorderEndColor","MozBorderEndStyle","MozBorderEndWidth","MozTransform",
			"MozPerspective","MozPerspectiveOrigin","MozBackfaceVisibility","MozTransformStyle","MozTransformOrigin",
			"MozAppearance","MozFontFeatureSettings","MozFontLanguageOverride","MozHyphens","MozTabSize",
			"MozMarginStart","MozMarginEnd","MozPaddingStart","MozPaddingEnd","MozBoxSizing","MozUserSelect",
			"MozTransitionDuration","MozTransitionTimingFunction","MozTransitionProperty","MozTransitionDelay",
			"MozAnimationName","MozAnimationDuration","MozAnimationTimingFunction","MozAnimationIterationCount",
			"MozAnimationDirection","MozAnimationPlayState","MozAnimationFillMode","MozAnimationDelay",
			"MozBorderStart","MozBorderEnd","MozBorderImage","MozTransition","MozAnimation",]
		]
		oList["CSS2Properties"] = aCSS2
	}
	for (const k of Object.keys(oList)) {
		let obj = oList[k][0]
		let props = oList[k][1]
		props.forEach(function(element) {
			if ("undefined" !== typeof Object.getOwnPropertyDescriptor(obj, element)) {
				aYes++
			} else {
				aNo.push(k+"."+element)
			}
		})
	}
	let t1 = performance.now()
	console.log(aYes +"/"+ (aYes + aNo.length), t1-t0 +"ms")
	if (aNo.length) { console.log("not found", aNo) }

https://github.com/arkenfox/TZP/blob/107174ed481dc334f121aa5c1e4f8deda24a24af/tests/engine.html#L1211

This is for the engine test page, not a super speedy gecko test

note: colors and fonts are different functions, all the rest of the moz items are this single function
so this checks for typeof

all but window ("object") are "function"
if "object" we don't prototype and we use x in window
if "function", all but Element (hasOwnProperty) are getOwnPropertyDescriptor

checks if object[name] is defined before testing/enumerating results
returns only those found

ToDo: test older versions / configs and return "n/a" where applicable for FF: e.g.

ShadowRoot is new'ish
OfflineResourceList is appcache and is deprecated
IDB* and other storage stuff may depend on cookies permission - hence PR so I can test an HTTPS site

IDB* works in PB mode :)

double check things like disabling full screen API

OK, now for an improved isFF test: here's my DIRTY DOZEN
I don't need to spend 0.5 of a ms grabbing perf and shoving shit into arrays (only if no = should be non-FF and screw them), so this looks pretty fucking speedy to me
		let t00 = performance.now()
		let list = [
			[DataTransfer, "DataTransfer", "mozSourceNode"],
			[Document, "Document", "mozFullScreen"],
			[HTMLCanvasElement, "HTMLCanvasElement", "mozPrintCallback"],
			[HTMLElement, "HTMLElement", "onmozfullscreenerror"],
			[HTMLInputElement, "HTMLInputElement", "mozIsTextField"],
			[HTMLMediaElement, "HTMLMediaElement", "mozGetMetadata"],
			[HTMLVideoElement, "HTMLVideoElement", "mozDecodedFrames"],
			[IDBIndex, "IDBIndex", "mozGetAllKeys"],
			[IDBObjectStore, "IDBObjectStore", "mozGetAll"],
			[Navigator, "Navigator", "mozGetUserMedia"],
			[Screen, "Screen", "mozOrientation"],
			[SVGElement, "SVGElement", "onmozfullscreenchange"]
		]
		let tstart, perf, obj, prop, aYes = [], aNo = []
		list.forEach(function(array) {
			tstart = performance.now()
			obj = array[0]
			prop = array[2]
			if ("function" === typeof obj
				&& ("object" === typeof Object.getOwnPropertyDescriptor(obj.prototype, prop))
			) {

				perf = (performance.now() - tstart)
				aYes.push([array[1], perf])
			} else {
				aNo.push(array[1])
			}
		})
		let totalPerf = 0
		aYes.forEach(function(array) {
			totalPerf += array[1]
		})
		console.log("overall", (performance.now() - t00) +" ms")
		console.log("loop", totalPerf +" ms")
		console.log(aYes)
		console.log(aNo)

actually the approx 0.4ms is the list, I guess it takes time to populate it. Damn, people will be heartbroken I couldn't keep this under 0.1ms

FYI: Navigator + mozGetUserMedia is no longer there if BOTH media.peerconnection.enabled + media.navigator.enabled are false. Not worth coding around this as a false negative

FYI: actually, measuring them individually, it's more like this
let fftest
// 1
let t1 = performance.now()
fftest = ("function" === typeof DataTransfer
	&& ("object" === typeof Object.getOwnPropertyDescriptor(DataTransfer.prototype, "mozSourceNode"))
)
console.log(fftest, "DataTransfer", (performance.now() - t1))
// 2
t1 = performance.now()
fftest = ("function" === typeof Document
	&& ("object" === typeof Object.getOwnPropertyDescriptor(Document.prototype, "mozFullScreen"))
)
console.log(fftest, "Document", (performance.now() - t1))
// etc

true      DataTransfer 0.06027405796885432
true          Document 0.010726739128585905
true HTMLCanvasElement 0.04009757246240042
true       HTMLElement 0.009705144926556386
true  HTMLInputElement 0.010726739132223884
true  HTMLMediaElement 0.14787576086382614
true  HTMLVideoElement 0.045460942024874385
true          IDBIndex 0.038309782608848764
true    IDBObjectStore 0.03575579710013699
true            Screen 0.0403529710129078
true        SVGElement 0.023752065215376206

so you could get a single unspoofable?/unblockable? boolean in under 0.01ms (HTMLElement), so I think I'm done with my improved isFF test for TZP

heh https://bugzilla.mozilla.org/show_bug.cgi?id=1679474#c6
https://jsfiddle.net/d_toybox/tre1b4hm/2/ - just more weird shit that differs between engines


dm/shallow

@dmerejkowsky @theodelrieu any update?

@arnaudgelas Just wondering if this is really what we wanted.
Here, after running tsrc init with the --shallow option, all clones will be shallow.
Maybe what we want instead is:

a 'shallow' option in the manifest ?
be smart and use 'shallow' clones when there's a tag set in the manifest ?
be shallow by default, and tell people then need to run git fetch --unshallow ?


Make download manager smart

Right now when media files are fetched and 1 fails, it's added to the end of the processing queue. This makes media file fetching pretty resilient when a server gets overloaded from too many requests. Since this is much more resilient we actually have a chance here to automatically manage how many concurrent requests we're making based on how well the server is handling it. Perhaps we could increase the concurrency by 1 every so often, and every time a download fails decrease it by 1? Or something like that. Need to play with it a bit to see what's possible, but the idea is there.

Perhaps we could increase the concurrency by 1 every so often, and every time a download fails decrease it by 1? Or something like that. Need to play with it a bit to see what's possible, but the idea is there.

TCP uses AIMD (additive increase, multiplicative decrease) to manage the number of packets it keeps in flight: it increases transmission rate by 1 and decreases by half on packet loss. I think that's mostly helpful because it ensures multiple streams get a fair share of the bandwidth, which does not apply here, but it still might be prudent to back off a bit and decrease by more than the increase step.

It would also be good to ensure the downloader has good settings for keepalive, maxFreeSockets, maxSockets, dns caching etc.

💯 great points @julienp . For AIMD we'll probably have to play around with it but that seems like a good way to do it!

We recently moved this plugin over to the gatsbyjs monorepo and are trying to clean out this issue queue. We documented this feature to look at for a future roadmap item and are going to close this issue out. If you want to add additional visibility to this feature, you can request it at https://portal.gatsbyjs.com/


jumping issue

Ironically (since the demo name is "Mario 2D Jumps"), the jumping part is not properly working and the current Implementation is a bit wonky.
haven't figured out how to fix it yet, but leaving it as it for now as I have other physic engine to integrate with the same demo in this "melonJS + physic engine series"

this was fixed, Mario can now jump properly.. However ss stated in the README, this is not an accurate implementation of a typical Mario movement logic, improving on it is left as an exercise for whoever is interested. Goal here was just to do a PoC.


Announce to beta tester list

Simple email to beta testers page?

@andyxerxes emailed beta users on 23/APR/21

SHORT VERSION

Please do try out the development version of Lasair
Send us any useful comments and suggestions

==Lasair development version release===
The public version of the Lasair event broker, processing ZTF alerts, is at https://lasair.roe.ac.uk . The last official release was in April 2020 (Lasair 2.0). As you will know, we have made relatively few changes to this stable operating facility, because in the background we have been working on a new version of Lasair intended for use with the Rubin Observatory, and its LSST survey. We are halfway through our project to build the new Rubin-version. Our development version is certainly not ready for public use, but we would like to make it available for testing and comment by selected beta-testers. The development version is here:
https://lasair-iris.roe.ac.uk
We would welcome informal feedback and suggestions, which you can do as explained on the contact page, either by email or on Github:
https://lasair-iris.roe.ac.uk/contact
Please remember that it is not expected yet to be flawless, or totally reliable, or cosmetically perfect. (We know for example that there is some inconsistent behaviour depending on browser - we are working on this.) But it does give a good idea of the core functionality. We have made considerable changes in the back-end technology and deployment, but don't expect you to notice these or comment on them. Rather, we would like to point out some key changes from the user point of view:

The web pages, and associated functionality, have been re-organised
The pre-cooked tables choice in "make a query" has changed
As well as watchlists of sources, you can run queries against
an area defined by a MOC
Table schemas are more visible
In the object page listing "candidates" every image is now examinable using a simple FITS viewer
Scripted acccess is still via Jupyter notebooks, but now has an API, so notebooks can be run from your own machine
The example notebooks provided are hosted on Google Colab

Have fun, and we look forward to any comments you have
Andy, Roy, Stephen


SAMZA-1428: Fix scala 2.10 compilation issue with java 8 interface st…

…atic methods

@sborya take a look!
Also, because of the PR number, I gotta say:
"THIS.... IS.... SPARTA!!!!"

And because yesterday was a "Speak as a pirate day" you should say:
"This .. is .. SPARRRRRTA!!!


Ui table fix

There is a lack of feedback within the districts table for odd indexed districts.
There is a lack of consistency within the districts table for multiple states as shown in image
Changes have been made to the css file.
Attached images
Bug :

Fix :

Hey thanks for working on this! This refers to #166 too, it seems to work great on chrome, however, I'm able to reproduce the bug in safari browsers, Could you have a look at that?

#166

Hey !
Yeah I shall look into this and try and fix it 👍

#166

Hey !
Yeah I shall look into this and try and fix it 👍

Updated the stylesheet for UI feedback on hover.
The tables are now consistent between chrome and safari

Looks like there's been some rebasing issuing, take your time to get this resolved! Just make sure you've squashed your commits and rebased with the master branch!
Here's a nice guide to help you out: https://github.com/edx/edx-platform/wiki/How-to-Rebase-a-Pull-Request

The Table looks and reacts consistently across chrome and safari.
Thank you for the rebase article @jeremyphilemon 👍


Home-Assistant working as a NAT Server for VPN client connection

Is there a way to do it? Because I can ping from home-assistant all networks connected thru VPN client but I can't use them from others computers on the same network using home-assistant as a gateway for them even if I put rules for this on iptables.
Is this configuration possible?

Hi @JRFabbi , thanks for using this add-on.
Unfortunately your question is not related to an issue affected by the Wireguard add-on. I cannot help your, sorry


Emoji Category Shortcuts Bar Tooltip

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/15108
PROPOSAL: https://github.com/Expensify/App/issues/15108#issuecomment-1440483855
Tests

For Desktop and Web

Open the app
Go to any chat
Click on the Emoji Icon
Hover over the category icons
Ensure that you are able to see the Tooltip
You can change the language and confirm that the tooltip shows up in the selected language.
Click on the Emoji Category Icon, and confirm it scrolls to the correct category
Attempt the steps 3-6 on a new account to see that Frequently Used category is not shown and still the steps work fine.

For mWeb and Mobile Apps

Open the app
Go to any chat
Click on the Emoji Icon
Click on the Emoji Category Icon, and confirm it scrolls to the correct category
Attempt the steps 2-4 on a new account to see that Frequently Used category is not shown and still the steps work fine.

[x] Verify that no errors appear in the JS console

Offline tests

NA
QA Steps

For Desktop and Web

Open the app
Go to any chat
Click on the Emoji Icon
Hover over the category icons
Ensure that you are able to see the Tooltip
You can change the language and confirm that the tooltip shows up in the selected language.
Click on the Emoji Category Icon, and confirm it scrolls to the correct category
Attempt the steps 3-6 on a new account to see that Frequently Used category is not shown and still the steps work fine.

For mWeb and Mobile Apps

Open the app
Go to any chat
Click on the Emoji Icon
Click on the Emoji Category Icon, and confirm it scrolls to the correct category
Attempt the steps 2-4 on a new account to see that Frequently Used category is not shown and still the steps work fine.

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

v1
https://user-images.githubusercontent.com/57435789/221661937-ba95e97f-1c3b-48a5-a057-21796e0356f0.mp4
v2
https://user-images.githubusercontent.com/57435789/222346542-4f509bd4-77db-4c71-80df-21a7ae131814.mp4
v3

v4 with 4px padding

Mobile Web - Chrome

Mobile Web - Safari

Desktop

v1
https://user-images.githubusercontent.com/57435789/221662042-4ef1cfeb-6943-4df7-8764-2acfa55183b8.mp4
v2
https://user-images.githubusercontent.com/57435789/222346208-3adbf0c9-a0cd-498b-9fe6-baff5f6a6ebb.mp4
v3

v4 with 4px padding

iOS

Android

@stitesExpensify @aimane-chnaif One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@aimane-chnaif @stitesExpensify PR is ready for review. I've had some issues with iOS pod setup. I treied working it out other branch and it worked fine, but here I had to reinstall the pods. Can you confirm if you face the same issue?

When hover top and bottom part of icon, tooltip not showing though highlighted

@aimane-chnaif That's what I wanted to highlight in this comment. Because Tooltip is attached to the View it only and hence it doesn't show up for Pressable. If we want to put on Pressable, then we'll have to wrap it around the View, pass the styles and update accordingly. Let me know if you that needs to be done.
cc - @stitesExpensify

I will be online in a few hours and I will update PR later today.

I requested a review again from @aimane-chnaif and it accidentally removed @stitesExpensify. PR is ready with the updates and comments addressed.

@aimane-chnaif thanks for the diff, I've updated as per your requirement. But I checked the other tooltip if you closely observe there's always some spacing between the element and their tooltip, that's what I was trying to achieve.
With the current implementation

Other tooltips

@aimane-chnaif The video that I uploaded again in the GH PR body consists of the style change as well. I uploaded v1 and v2 for Web and Desktop. Attaching the image also here for your reference.

@aimane-chnaif Based on @shawnborton's comment I've updated the spacing to 4px.

Thank you!

@stitesExpensify @aimane-chnaif bump on the change and tagging because @stitesExpensify was removed from the reviewer list.

@stitesExpensify were you able to check this PR? Any action items for me?

Hi, I was OOO sick for most of last week. Reviewing now

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

Thanks for the approval @stitesExpensify. Hope you're feeling better now.

🚀 Deployed to staging by https://github.com/stitesExpensify in version: 1.2.80-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/roryabraham in version: 1.2.80-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


HRA API and HRA UI jupyterlab templates

I would like to add a third template that does more specific processing of datasets, but I wanted this to at least be out there so people know it existed and can be used from workspaces.

@bherr2 is this ready for review?

Yes

@thomcsmits All datasets used in the examples here seem to be public and published, but we should update the contribution guidelines.

@bherr2 - we've had problems in the past with pip installing packages which generate JupyterLab widgets once the JupyterLab session has started. After you run that pip install, do you have to refresh the web page? Or do they output without any issues?

I didn't have any trouble when I tried it by uploading the notebook to a workspace and running it. They should output without issues.

Yes, it'll be a little tough (at a conference today and tomorrow), but I should be able to get a new version tonight and revisions as needed tomorrow.

The widget template should not be a problem (I can take care of the changes I suggested, there are no big changes). The API tutorial might be a bit harder, with one PyVista error, the internal linking, as well as the potential size. @bherr2 let me know how I can best help with this!

I'll rework the hra API template and make some minor fixes to the Jupiter widget one. I'll switch out pyvista with the model viewer we now have in the hra-jupyter-widget package which should fix that issue. I'll make changes today and push it tonight. If you can take a pass and make fixes off of that, that'd be great!

Ok, I have significantly reworked the HRA API and did some minor updates of the HRA Jupyter Widgets templates. I'll let @thomcsmits take another pass, but I think it might be there now!

@bherr2 this is great! I applied some formatting and indeed removed the examples, in new PR #97 . Closing this PR as all the commits are captured in that one.

Awesome, thank you!


Difficulty with ini created admin user/pass authentication

Expected Behavior
Per docs, adding an admin user to the [admins] section of the local.ini should create a new admin on server reload.
Current Behavior
Admins created via local.ini [admins] cannot log in to the web ui.  The exact same user/password created via the web ui "create server admin" form can log in to the web ui.  Admins created via local ini are copied to local.d/10-admins.ini but do not appear under "configuration" in the web ui.
Possible Solution
Not sure...
[notice] 2020-05-06T01:07:43.192755Z<EMAIL_ADDRESS><0.255.0> -------- rexi_server : cluster stable
[notice] 2020-05-06T01:07:43.192902Z<EMAIL_ADDRESS><0.259.0> -------- rexi_buffer : cluster stable
[warning] 2020-05-06T01:08:42.009138Z<EMAIL_ADDRESS><0.1030.0> 39b7eceb33 couch_httpd_auth: Authentication failed for user Administrator from <IP_ADDRESS>

Steps to Reproduce (for bugs)

Add apache couchdb repo to sources.list
fresh install of couchdb
edit /opt/couchdb/etc/local.ini, add another admin to bottom of the file
sudo service couchdb stop && sudo service couchdb start
the user will be created in local.d/10-admins.ini, but cannot log in to the web ui
log in with admin created by dpkg configuration, delete the new ini admin you added
re-add the same user/pass combo in the web ui that could not log in from the ini, now it can log in.

I'm creating the user "Administrator" (with the capital A) and an openssl rand -base64 32 randomly generated 32 char password to reproduce this.
Your Environment

Version used: 3.1.0
Browser Name and version: Chrome v81
Operating System and version (desktop or mobile): Ubuntu 18.04
Link to your project: N/A

Hi @RNCTX ,
Can you try again where the password does not have an equals sign in it? openssl rand -base64 32 will end with an =, which will confuse the parser.
This is a known bug that needs fixing.

Just tried again with alpha-numeric only and leaving the trailing = out, and got the same result.
Administrator = bBH9nBYfxMC7YpWgrvT4Dgj1oX7mM72

Results in:
# Package-introduced administrative user
[admins]
admin = -pbkdf2-5c59dc4310ee523d710c2de70e14f5a7d800d7b7,2a7fbd7118e50c7ddd187316ca9e6b32,10
Administrator = -pbkdf2-b1c801b95f7be32c14c6ffea0ef12d4af1a8ea01,7dc04b4e44e7aa01605ab8d6e7862071,10

'admin' can log in but 'Administrator' cannot.

And what happens if the username is all lowercase?
Just trying to rule out possibilities here.

I have just tried reproducing this locally, but I cannot. I tried using the exact same text as you have.
Both the admin and the Administrator logins work correctly.

Very strange... maybe a weird Chrome thing.  That's what has me scratching my head, I'm copying and pasting the user/pass from Chrome's saved account credentials but when I create an account in the web ui with a Chrome auto-filled form, it works.
I'm gonna just use Ansible's debconf utility to randomly generate the prompt password for 'admin' from the deb installer instead, and switch my other things in different folders on the same webserver to use 'admin' for the username as well.

Reopening this because the last idea didn't work.
I need to deploy with ansible which does not run dpkg configure. So what's the best method for automatic deployment without the configure prompts?
I have tried setting:
bind_address
port
single_node: true
and an admin user/pass
... in the local.ini and got the following in the log:
[notice] 2020-05-09T08:49:27.044761Z<EMAIL_ADDRESS><0.328.0> -------- chttpd_auth_cache changes listener died because the _users database does not exist. Create the database to silence this notice.

Otherwise the server is running, but I can't create any databases because I can't authenticate, and can't authenticate because user/pass is set but not in a database that doesn't exist?

 This is the weirdest chrome bug with passwords I've managed to create in many years.
The installation parameters I am passing to the remote server are quite simple:
    - name: Install couchdb...
      apt:
        name: couchdb
        update_cache: true

    - name: Set couchdb ini file options...
      vars:
        default_password: "{{ lookup('password', '~/pwds/admin-password-for_admin.txt length=32 chars=ascii_letters,digits') }}"
      ini_file:
        ini_file:
        dest: /opt/couchdb/etc/local.ini
        section: "{{ item.section }}"
        option: "{{ item.option }}"
        value: "{{ item.value }}"
        create: false
        backup: "{{ true if index == 0 else false }}"
      loop:
        - { section: 'chttpd', option: 'port', value: '5984' }
        - { section: 'chttpd', option: 'bind_address', value: '<IP_ADDRESS>' }
        - { section: 'chttpd', option: 'require_valid_user', value: 'true' }
        - { section: 'admins', option: 'admin', value: '{{ default_password }}' }
      loop_control:
        index_var: index

Identical to the debconf prompts (because ansible doesn't do debconf).
I switched to Firefox as I was typing up another head scratcher and every problem went away? Then I went and opened the server in chrome on my desktop instead of my laptop and it works fine as well.
/shrug
So for real this time, couchdb works fine, chrome's password saving on (one of my) OS X does not!


[DO-NOT-MERGE] chore(EMI-1796): Mark AREnablePartnerOfferOnArtworkScreen as ReadyForRelease

This PR resolves [EM-1796]
Description
This PR marks AREnablePartnerOfferOnArtworkScreen as ReadyForRelease in preparation to release the feature

PR Checklist

[ ] I have tested my changes on iOS and Android.
[ ] I hid my changes behind a feature flag, or they don't need one.
[ ] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[ ] I added an app state migration, or my changes do not require one.
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

mark AREnablePartnerOfferOnArtworkScreen as ready for release - mrsltun

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Dev changes (mark AREnablePartnerOfferOnArtworkScreen as ready for release - mrsltun)

  Generated by :no_entry_sign: dangerJS against 910836a4133caabc43633e07ec7f92004a764c33


add verify command

add a command to check if any underlying devices of an atomfs mountpoint have had any corruption detected by dm-verity:
$ sudo ../atomfs/bin/atomfs verify happymountpoint/
/dev/mapper/50bd5ba895c5648b03f596a0d6b3e6ba3c0046f67f1339e22306670d418ab0de-verity: OK
/dev/mapper/36bbe7fcd9d59214ccfed627a24ef27ee3dc884b8adaecf63bab3a6d23a38c97-verity: OK
/dev/mapper/ff6f0586075905d3b0c4edfe4cb3cab63143767df4acf824b1fb318933260741-verity: OK
$ sudo ../atomfs/bin/atomfs verify shamefulmountpoint/
/dev/mapper/4c798c57305b4a14d1959295ebcdd10c290cb48c7675b78556b711d83cf600ac-verity: CORRUPTION FOUND
/dev/mapper/024eea02b94f8424a34bab308aa6471fd37e9f81fa315e9205024f672bc79b20-verity: OK
Error: Found corrupt devices in molecule

Closes #19

rebased this so it's just the one commit now.
Not sure what codecov is doing, this adds a whole file and codecov says it doesn't affect coverage?


Version incompatibilities with function preprocessor

When packaging the code using Python 3.5 and running the code with a Python 3.6 base image, the interpreter crashes:
XXX lineno: 13, opcode: 0
/opt/conda/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
  return f(*args, **kwds)
Traceback (most recent call last):
  File "/app/function_shim.py", line 15, in <module>
    call(args.serialized_fn_file)
  File "/app/function_shim.py", line 7, in call
    res = fn()
  File "main.py", line 13, in train
    hostname = tf.constant(os.environ['HOSTNAME'])
SystemError: unknown opcode

Which is particularly confusing with the GCP deployer, as AI platform is still only on Python 3.5 AFAIK.
This crashes with the same error:
import fairing

GCP_PROJECT = fairing.cloud.gcp.guess_project_name()
DOCKER_REGISTRY = 'gcr.io/{}/fairing-job'.format(GCP_PROJECT)
fairing.config.set_builder('append', base_image='tensorflow/tensorflow:latest-py3', registry=DOCKER_REGISTRY)
fairing.config.set_preprocessor('function')
fairing.config.set_deployer('gcp')

def train():
    print("Hello world!")

remote_train = fairing.config.fn(train)
remote_train()

And unfortunately there doesn't seem to be a GCP AI Platform compatible base image with the latest stable TensorFlow release in TensorFlow's own container registry:

Images built after May 20 2019 (TF nightly, plus TF versions 1.14 and onward) are based on Ubuntu 18.04.
([source])(https://hub.docker.com/r/tensorflow/tensorflow/)

As a workaround, this image seems to work fine: gcr.io/deeplearning-platform-release/tf-gpu.1-14

fairing 0.5.3 has requirement urllib3==1.24.2, which is unpleasantly exact.


Add Dockerfile with full features.

What's the different for deploy/docker/Dockerfile-full and deploy/docker/Dockerfile ?

What's the different for deploy/docker/Dockerfile-full and deploy/docker/Dockerfile ?

Just check, looks deploy/docker/Dockerfile-full has zeromq more than deploy/docker/Dockerfile ?

? more than?

What's the different for deploy/docker/Dockerfile-full and deploy/docker/Dockerfile ?

Just check, looks deploy/docker/Dockerfile-full has zeromq more than deploy/docker/Dockerfile ?

Not only zeromq, but also complie JWT,  TLS, SQLITE and Bench tool by default.

But there are a lot of issues on FDB compliation for now.

have to figure out how to enable FDB on docker

But there are a lot of issues on FDB compliation for now.


[MRG] Fix a broken link, update favicon

Using @consideRatio's tool from a different thread I found a broken link in the repo2docker docs. This fixes that.
The docs also use the repo2docker logo as favicon now.

@consideRatio does this mean I can merge it once the bots are happy?

Yepp!


Bootstrap 5 support

Hello,
I am using CDN
How can I change the some classes for Bootstrap 5 compatibity ?
button close : class="close" to class="btn-close"
grid layout  : col-xs- to col-
thanks in advance
best regards

UP ! I answer to my own question. I have set the template parameter when I call $.notify. The problem exists since bootstrap 4, almost 3 years already. Why you don't fix it ? In the next version, I think you should  generate it automatically by adding an optional parameter "bootstrap version" .
$.notify({title : '', message : message},
{	type: type,
placement  : {from : "bottom", align : "center"},
delay: delay,
template: '' +
'' +
'{1} {2}>'
});

Any possibility of getting the update from notify :/


Package request: doomrunner

Project description
Modern preset-oriented graphical launcher of ZDoom and derivatives (an alternative to ZDL)
Metadata

homepage URL:
source URL: https://github.com/Youda008/DoomRunner/
license: gpl3
platforms: linux

Duplicate of https://github.com/NixOS/nixpkgs/issues/210339


Add pinch to zoom

Allow to zoom main view using pinch to zoom gesture

Hello, I would like to contribute on this issue.


Brainstorming: RPC improvements

There are a couple of things we need to improve in the current RPC server:

The server lib used here is no longer maintained, we need to go for something else (or implement by ourselves)
More RPCs
Make RPCs that have the same name as Core, behave like Core's. This will help with integrating with other software
(Something else?)

You might want to consider something like capnproto to make integrations easier. It also has some nice features that could improve performance.

You might want to consider something like capnproto to make integrations easier. It also has some nice features that could improve performance.

I do want to add something better than json. The problem is that some people would like to have a drop-in replacement for core's RPC, which is json-based.

Yes, drop-in replacement is useful. It can have both interfaces or the replacement can be an additional service translating the calls.


WIP: clean up HP-UX targets.

It's triggered by #5691, but it's not finished, there is open question on how to handle socklen_t ambiguity.

So maybe the thing to do is edit internal/sockets.h and add a "secret" define about socklen_t?

So maybe the thing to do is edit internal/sockets.h and add a "secret" define about socklen_t?

socklen_t is typedef, not macro, so it's not something you can mask. There are some macro that choose different prototypes and even redefine API (the _xpg thing mentioned in #5691), but it's more appropriate (and the only supported way is) to define them prior one includes first header, i.e. at command line is the best place.

So maybe the thing to do is edit internal/sockets.h and add a "secret" define about socklen_t?

If you read between #5691 lines, you'll note that one of things that works is actually disregarding the warning (about incompatible types) and linking with additional library. I.e. you actually get non-matching declarations without being forced to link with additional/alternative library. The right thing to do is to force it to use non-ambiguous symbols, the xpg* ones, so that it wouldn't matter if you link with additional library (or alternatively be forced to link with one). Which means that I'm leaning toward extra macro definitions at command line...


Francesca lazzeri profile add

#212 adding profile for Francesca Lazzeri

#sign-off

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

advocates/francesca-lazzeri.yml
:white_check_mark:Succeeded
View

advocates/media/profiles/francesca-lazzeri.JPG
:white_check_mark:Succeeded
View

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

Hi @FrancescaLazzeri , could you upload .png file with medium size similar to other profiles.


Module not found Mixpanel 3.0.0

Integration Method: Cocoapods
Xcode Version: 7.3.1
Library Version: 3.0.0
Platform: tvOS
Language: Swift
Description:
My project is written in Swift entierly, and I'm using the use_frameworks! directive in my Podfile.
After running pod install and then attempting to import the Mixpanel module I receive the error No such module 'Mixpanel'
When looking into the issue I also noticed that the folder Pods/Mixpanel only contains two files:
LICENSE
README.md

Hi @eman8519, that error is actually due to CocoaPods, if you try a clean and rebuild it should resolve itself. We documented this behavior in our blog post on integrating Swift.

Please note that prior to building for the first time, Xcode may display an error: No such module found ‘Mixpanel’. Upon your first successful build this error should disappear and Mixpanel will be integrated within your Swift app!

Does that resolve your issue?

Hi @samgreen thank you for the quick reply. However, that does not solve my problem.  I have investigated further to find that this only seems to impact tvOS builds.  I have a sample project stood up which highlights this issue:
https://github.com/eman8519/mixpanel-cocoapod-issue

@eman8519 Thanks, I'll take a look now.

Ah I see the issue @eman8519, you need to specify the subspec in the podfile.
pod 'Mixpanel/tvOS'

It's now building successfully!

Ahh… I completely missed that. Thanks for such a quick turnaround. Closing this issue now.


Architecture: external vs public modificators GAS USAGE comparison

// pattern1
contract A {
    // external can be called ONLY from outside
    function someMethod() external {
         _someMethod();
    }

    // internal can be called ONLY from inside and from the derived contracts
    function _someMethod() internal;

    function anyOtherMethod(){
         // this requires LESS gas, than calling external/public method
         _someMethod();
    }
}

// pattern2
contract B {
     // public can be called from inside AND from outside
     function someMethod() public {

     }

     function anyOtherMethod(){
           // as long as we call PUBLIC - this requires MORE GAS than in contract A
           someMethod();
     }
}

TODO

Compare gas usage in runtime
A::anyMethod()
vs
B::anyMethod()

Compare deployment gas usage
A
vs
B

Deployment gasUsage:
A - 91689 gas
B - 96523 gas
Gas usage in runtime:
A:anyOtherMethod() - 21415 gas
B:anyOtherMethod() - 21415 gas
A:someMethod() - 21437 gas
B:someMethod() - 21424 gas


Can not sign in to Google

Hi,
I am a hobbyist who like design participatory solution. I found Mapus a great idea.
After I clone the git, change the config as the manual, I could not click in sign in google for further steps.
Does any one know the problem

Do any errors show up in the console? Did you set up Firebase correctly?

Dear Alyssaxuu/Mapus,
Here's what appeared in the console when I click in

{
"code": "auth/operation-not-supported-in-this-environment",
"message": "This operation is not supported in the environment this
application is running on. "location.protocol" must be http, https or
chrome-extension and web storage must be enabled."
}

The step I followed:

Clone directly Mapus from github
Register Firebase account and project, create a Realtime Database and
enable Google Sign In in the Firebase console
Paste config directly from Firebase profile to index.html
Run index.html

Thank you for your support,
Kaheetonaa
On Sat, Feb 19, 2022 at 9:06 PM Alyssa X @.***> wrote:

Do any errors show up in the console? Did you set up Firebase correctly?
—
Reply to this email directly, view it on GitHub
https://github.com/alyssaxuu/mapus/issues/8#issuecomment-1046102687, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AORYTUAPDUINLSRN4S4RM5LU4AA6LANCNFSM5O3OLI2Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Kanaa
Hanoi Architectural University
(Mr.) Quang Huy Nguyen
(Ms.) To Nga Huynh
Tel:
+84<PHONE_NUMBER>
+84<PHONE_NUMBER>
Email: *
@.** @.>
@.* @.**>

javascript - Web Google authentication with firebase - Stack Overflow
https://stackoverflow.com/questions/44681352/web-google-authentication-with-firebase
I found this error by searching the console log. Should I run your app
through server like apache2 ?
On Sat, Feb 19, 2022 at 10:54 PM kahee tonaa @.***> wrote:

Dear Alyssaxuu/Mapus,
Here's what appeared in the console when I click in

{
"code": "auth/operation-not-supported-in-this-environment",
"message": "This operation is not supported in the environment this
application is running on. "location.protocol" must be http, https or
chrome-extension and web storage must be enabled."
}

The step I followed:

Clone directly Mapus from github
Register Firebase account and project, create a Realtime Database
and enable Google Sign In in the Firebase console
Paste config directly from Firebase profile to index.html
Run index.html

Thank you for your support,
Kaheetonaa
On Sat, Feb 19, 2022 at 9:06 PM Alyssa X @.***> wrote:

Do any errors show up in the console? Did you set up Firebase correctly?
—
Reply to this email directly, view it on GitHub
https://github.com/alyssaxuu/mapus/issues/8#issuecomment-1046102687,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AORYTUAPDUINLSRN4S4RM5LU4AA6LANCNFSM5O3OLI2Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Kanaa
Hanoi Architectural University
(Mr.) Quang Huy Nguyen
(Ms.) To Nga Huynh
Tel:
+84<PHONE_NUMBER>
+84<PHONE_NUMBER>
Email: *
@.** @.>
@.* @.**>

--
Kanaa
Hanoi Architectural University
(Mr.) Quang Huy Nguyen
(Ms.) To Nga Huynh
Tel:
+84<PHONE_NUMBER>
+84<PHONE_NUMBER>
Email: *
@.** @.>
@.* @.**>

javascript - Web Google authentication with firebase - Stack Overflow https://stackoverflow.com/questions/44681352/web-google-authentication-with-firebase I found this error by searching the console log. Should I run your app through server like apache2 ?
…
On Sat, Feb 19, 2022 at 10:54 PM kahee tonaa @.> wrote: Dear Alyssaxuu/Mapus, Here's what appeared in the console when I click in > { > "code": "auth/operation-not-supported-in-this-environment", > "message": "This operation is not supported in the environment this > application is running on. "location.protocol" must be http, https or > chrome-extension and web storage must be enabled." > } The step I followed: 1. Clone directly Mapus from github 2. Register Firebase account and project, create a Realtime Database and enable Google Sign In in the Firebase console 3. Paste config directly from Firebase profile to index.html 4. Run index.html Thank you for your support, Kaheetonaa On Sat, Feb 19, 2022 at 9:06 PM Alyssa X @.> wrote: > Do any errors show up in the console? Did you set up Firebase correctly? > > — > Reply to this email directly, view it on GitHub > <#8 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AORYTUAPDUINLSRN4S4RM5LU4AA6LANCNFSM5O3OLI2Q > . > You are receiving this because you authored the thread.Message ID: > @.> > -- Kanaa Hanoi Architectural University (Mr.) Quang Huy Nguyen (Ms.) To Nga Huynh Tel: +84<PHONE_NUMBER> +84<PHONE_NUMBER> Email: * @. @.> @.** @.>
-- Kanaa Hanoi Architectural University (Mr.) Quang Huy Nguyen (Ms.) To Nga Huynh Tel: +84<PHONE_NUMBER> +84<PHONE_NUMBER> Email: * @. @.> @.* @.**>

Ah yes indeed, it needs to be through a server. Any of these options here should work too, through localhost: https://stackoverflow.com/questions/38497334/how-to-run-html-file-on-localhost

Hi @alyssaxuu ,
After running on apache2 server, it worked. but this error appear.

Hi @alyssaxuu , After running on apache2 server, it worked. but this error appear.

Ah yes, you have to make sure you add any domains you want to use into the authorized list in firebase, over here:

@alyssaxuu
it works like charm now. thank you so much. if possible you should clarify some server and firebase problems in the introduction.

So glad to hear! I will do that for sure :)


How can I trigger the system to load a new component so it's available to the component:list command?

How can I trigger the system to load a new component so it's available to the component:list command and can be added to the graph without restarting the noflo server?
Thanks,
Josef

Look at the setSource method on component loader.

Or the component:source message in the FBP runtime protocol. http://flowbased.github.io/fbp-protocol#source

Thanks for the advice!


Data for sales MASSIVLY off for me.

I will CTRL D a unique and often says 2-5 chaos with only 1 at 1 chaos,  then if i look the same item up on POE homesite trade, they are like 1 alch...... wtf?

Offtop but stop picking up trash man. Dont trade for items below 5c value, use strict loot filter

using Very strict.  its not about what i am picking up, its about having faith in the Data being shown in what i discard is actuall bad, or what i think is good based on the DATA is actually dogshit.

Just started, but sounds like i.e. alch are simply not shown.
You can add them under "Evaluate -> Displayed Currencies" I´d guess.

Duplicate of #346


debugged exclude_by and used it for exclusions in pilot_data_analysis.Rmd

exclude_by outputed the number of time points instead of number of trials when reporting excluded trials. Fixed this, and it now prints a table of some excluded trials or subjects (this was previously done explicitly within pilot_data_analysis.Rmd)

Thanks Gal. I think you now have conflicts with UBC and gottingen's SMI import scripts because of some of the edits from Francis's code. Do you mind taking a look and resolving?
'
thanks again,

Done, sorry about that.


Change fingerprint in lauch_openpilot.sh and get CAN Error: Check Connections

Describe the bug
The default fingerprint in launch_openpilot.sh is HONDA CIVIC 2016.
And I wanted to try different cars, so I printed out to see the cars that openpilot supports

As shown in above image, I choose the first one HONDA ACCORD 2018.
And I got the error when running bridge.py

The accord 2018 and civic 2016 are both belong to HONDA, anything went wrong???
OS Version
Ubuntu 20.04
openpilot version or commit
No response
Additional info
No response

This isn't expected to work. Changing cars isn't currently supported in the simulator.

OK~~~Thanks
Can I know which parts of code restrict this?

i have the same problem , can you help me to resolve this problem


Wrap an arbitrary substring within the highlighted result ("super highlight" a keyword, for example)

Is your feature request related to a problem? Please describe.
I'm writing documentation and using this library to highlight my code samples, but for my "padding" section (for example), each code sample is basically identical except for the value I pass to the padding prop. I'd like to "super highlight" the value of that prop so it's easy to see exactly what's unique about each sample.
Describe the solution you'd like
I'm not sure what the best API would be, but the result would be:
<Box padding="**tight**"> ... </Box>
<Box padding="**normal**"> ... </Box>
<Box padding="**loose**"> ... </Box>
(But imagine the bolding actually worked...)
Describe alternatives you've considered
I tried doing it by hacking at the innerHTML of the <SyntaxHighlighter> but it just kept rendering my actual HTML (tight)
Additional context
None that I can think of 🤔
Thanks for considering! Or, if there's some way to do this that I'm missing, please point me in that direction! 🙏

Okay, I kept going down my innerHTML route and this appears to be working. If there's a better way than this, I (and anyone who follows) would appreciate your feedback! It ain't pretty...
const escapeRegExp = new RegExp(/([.*+?^=!:$(){}|[\]\/\\])/g);

const safeRegExp = (string) => {
    return string.replace(escapeRegExp, '\\$1');
};

const SuperHighlighter = ({ children, delimeter = '|||' }) => {
    const elementRef = useRef(null);

    useEffect(() => {
        const element = elementRef.current;

        if (element) {
            const html = element.innerHTML;
            console.log(`${safeRegExp(delimeter)}(.*)${safeRegExp(delimeter)}`);
            element.innerHTML = html.replace(
                new RegExp(
                    `${safeRegExp(delimeter)}(.*)${safeRegExp(delimeter)}`,
                    'g'
                ),
                `<span class="highlightedCode">$1</span>`
            );
        }
    }, [delimeter, elementRef]);

    return
{children}
;
};

...

const CodeSnippet = ({ children, highlightDelimeter = '|||') => {
    return (
        <SuperHighlighter delimeter={highlightDelimeter}>
            <SyntaxHighlighter>
                {children}
            </SyntaxHighlighter>
        </SuperHighlighter>
    );
}

Okay, I kept going down my innerHTML route and this appears to be working. If there's a better way than this, I (and anyone who follows) would appreciate your feedback! It ain't pretty...
const escapeRegExp = new RegExp(/([.*+?^=!:$(){}|[\]\/\\])/g);

const safeRegExp = (string) => {
    return string.replace(escapeRegExp, '\\$1');
};

const SuperHighlighter = ({ children, delimeter = '|||' }) => {
    const elementRef = useRef(null);

    useEffect(() => {
        const element = elementRef.current;

        if (element) {
            const html = element.innerHTML;
            console.log(`${safeRegExp(delimeter)}(.*)${safeRegExp(delimeter)}`);
            element.innerHTML = html.replace(
                new RegExp(
                    `${safeRegExp(delimeter)}(.*)${safeRegExp(delimeter)}`,
                    'g'
                ),
                `<span class="highlightedCode">$1</span>`
            );
        }
    }, [delimeter, elementRef]);

    return
{children}
;
};

...

const CodeSnippet = ({ children, highlightDelimeter = '|||') => {
    return (
        <SuperHighlighter delimeter={highlightDelimeter}>
            <SyntaxHighlighter>
                {children}
            </SyntaxHighlighter>
        </SuperHighlighter>
    );
}

I found this library to be great but not flexible enough. Looking around issues, I see that other people encounter it as well.
Take a look at my suggestion: https://github.com/react-syntax-highlighter/react-syntax-highlighter/issues/360
If it's implemented, you could do:
const CodeSnippet = ({ code, highlightDelimeter = '|||') => {
    // assume 3 parts for simplicity
    let parts = code.split(highlightDelimeter);
    return (
        <SyntaxHighlighter>
            {[
                parts[0],
                {parts[1]},
                parts[2]
            ]}
        </SyntaxHighlighter>
    );
}


Replacing the quota limit to "Unlimited"

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

/Azurepipelines run

Azure.azure-cli is an exact clone of azcli-CI, just in a different ADO instance. For that reason, it is safe for us to use administrative privilege to bypass this unstarted check.


Added option to randomize high res. upscaler used

This is my first time touching Python and I don't know how SD-webui works with it. Please be considerate of that.
This request allows one to choose to randomize the high res. upscaler used. It uses the same syntax as the sampler name and checkpoint name options. '*' will get a random upscaler from the SD list. Typing in one's own list will cross-reference with the SD list and only use those that match. If none match the SD list, then it will yet again get a random upscaler from the SD list.
Very simple update. This is also my first time creating a pull request, so please bear with me if I have made any mistakes.

Thank for participiate.
You should change method of choosing hires_upscaler (for case when user do not want randomize upscaler method). Now upscaler randomizing happening even if user just want to randomize a CFG or something.

Thank you for pointing that out, I was unaware of it. I have finished patching that up and have tested it. It works now.


Make Eye Dome Lighting more efficient and compatible

Eye Dome Lighting currently depends on a pile of WebGL extensions, including a couple that I didn't even realize it was using when the feature went in (my bad!). See https://github.com/AnalyticalGraphicsInc/cesium/issues/6792#issuecomment-404198957
It needs:

EXT_frag_depth
OES_texture_float listed, but actually WEBGL_color_buffer_float/EXT_color_buffer_float
WEBGL_draw_buffers

It might not need float texture support at all though. The current implementation uses MRT to store eyespace positions and a log depth per pixel in a RGBA float gbuffer, but this is probably overkill... seems like given the log depth we could compute most of the other information in the fragment shader, and we already have well-proven code for packing depth. This could also improve rendering performance since we'll be writing/reading much fewer texture bits per fragment.

It might not need float texture support at all

Need to think about this more, the log depth in eye dome lighting isn't normalized. Forgot that the log depth in potree also is for a different purpose than "actual" log depth. I'll figure it out...

So we can derive the "non-normalized log depth" in the FS by building the position EC in the eye dome lighting shader.
But then at this point wondering, why use MRT instead of just using the 3D Tiles depth texture? (other than depth texture inaccuracy problems on certain platforms)


The Release Label or Tag in Readme Redirects a to a page and opens up an image . It should be giving the release details

Description
The Release Label or Tag in Readme Redirects a to a page and opens up an image .
It should be giving the release details .
Screenshots
No response
Additional information
No response

@bonysureliya The release details you mentioned are these right?
https://github.com/EddieHubCommunity/LinkFree/releases

Yes


[HW] Giovanni Marco Stamerra

Name: Giovanni Marco Stamerra
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/gmstam/
Attach the homework screenshots below for both step II and step III:

Looks good Giovanni, thank you. Here's your badge -> https://api.badgr.io/public/assertions/2gVqzS1yQ_2T2xoMx2TpXw?identity__email=gm.stamerra%40gmail.com


jslinux try janetsh

We could put a demonstration shell that runs jslinux and let users try it without installing anything.

Decided against this, we risk slow performance due to crappy browsers, and it is a distraction to setup.


Docker pinpoint-hbase         ERROR volume

Environment
System   Fedora28
Docker version 1.13.1
docker-compose-1.20.1-1
git clone https://github.com/naver/pinpoint-docker.git
cd Pinpoint-Docker
docker-compose pull && docker-compose up -d

Pulling pinpoint-hbase (pinpointdocker/pinpoint-hbase:1.7.3)...
Trying to pull repository docker.io/pinpointdocker/pinpoint-hbase ...
sha256:d1dcd9ce3ec33c1661f1856697174114cc83fe8ec3da4d9d16df66f81dde98b5: Pulling from docker.io/pinpointdocker/pinpoint-hbase
Digest: sha256:d1dcd9ce3ec33c1661f1856697174114cc83fe8ec3da4d9d16df66f81dde98b5
Status: Image is up to date for docker.io/pinpointdocker/pinpoint-hbase:1.7.3
Pulling pinpoint-web (pinpointdocker/pinpoint-web:1.7.3)...

Trying to pull repository docker.io/pinpointdocker/pinpoint-agent ...
sha256:5b54ecf8b635de8df727a4aa11c675fad5fdcfbba6591e2f93f954ea7d2219a7: Pulling from docker.io/pinpointdocker/pinpoint-agent
ff3a5c916c92: Pull complete
52194036b0a6: Pull complete
c5fa0a4b11ae: Pull complete
Digest: sha256:5b54ecf8b635de8df727a4aa11c675fad5fdcfbba6591e2f93f954ea7d2219a7
Status: Downloaded newer image for docker.io/pinpointdocker/pinpoint-agent:1.7.3
Pulling pinpoint-quickstart (pinpointdocker/pinpoint-quickstart:latest)...

Trying to pull repository docker.io/library/zookeeper ...
sha256:a043534003831de15268779b582d407d37291bf7d22292ec7dce242c57a5a2be: Pulling from docker.io/library/zookeeper
Digest: sha256:a043534003831de15268779b582d407d37291bf7d22292ec7dce242c57a5a2be
Status: Image is up to date for docker.io/zookeeper:3.4
Pulling zoo3 (zookeeper:3.4)...
Trying to pull repository docker.io/library/zookeeper ...
sha256:a043534003831de15268779b582d407d37291bf7d22292ec7dce242c57a5a2be: Pulling from docker.io/library/zookeeper
Digest: sha256:a043534003831de15268779b582d407d37291bf7d22292ec7dce242c57a5a2be
Status: Image is up to date for docker.io/zookeeper:3.4
Pulling jobmanager (flink:1.3.1)...

Trying to pull repository docker.io/library/flink ...
sha256:53f0f6421c40b4c9e3abf98287a114f69c698378eb2e321075e7bff0c3531bb1: Pulling from docker.io/library/flink
Digest: sha256:53f0f6421c40b4c9e3abf98287a114f69c698378eb2e321075e7bff0c3531bb1
Status: Image is up to date for docker.io/flink:1.3.1
Creating network "pinpointdocker_pinpoint" with driver "bridge"
Creating volume "pinpointdocker_data-volume" with default driver
Creating pinpoint-flink-jobmanager ...
Creating pinpointdocker_zoo3_1     ...
Creating pinpoint-hbase            ... error
Creating pinpoint-flink-jobmanager ... done
Creating pinpointdocker_zoo3_1     ... done

Creating pinpointdocker_zoo1_1     ... done
Creating pinpointdocker_zoo2_1     ... done
Creating pinpoint-flink-taskmanager ... done

ERROR: for pinpoint-hbase  Cannot create container for service pinpoint-hbase: invalid volume spec "home/pinpoint/zookeeper": invalid volume specification: 'home/pinpoint/zookeeper': invalid mount config for type "volume": invalid mount path: 'home/pinpoint/zookeeper' mount path must be absolute
ERROR: Encountered errors while bringing up the project.

Hello, @154247575
I've tried the command and it works like a charm.
I'm using Mac
Docker Engine: 18.03.1-ce
Compose: 1.21.1
Have you changed anything in the compose file?

No，I didn't do anything.

@154247575
Hm.. If you haven't changed anything.
I'm afraid I don't really have any answer to that.
This is the first time that this kind of issue has arisen.
Maybe, it has something to do with the docker(-compose) version related to your OS.
If you get to find any solution, please do share with the community.
Thanks.

The same for me.
I have changed
   volumes:       - ./home/pinpoint/hbase       - ./home/pinpoint/zookeeper
to
   volumes:       - /home/pinpoint/hbase       - /home/pinpoint/zookeeper
(removed '.'). And it works in my case

hello, @mIkhail-zaretsky
Thank you for sharing your experience with the community:)

@mIkhail-zaretsky ,I have the same problem. Your modification works well
@RoySRose  my environments:
cat /etc/issue
Ubuntu 14.04.5 LTS \n \l
docker -v
Docker version 17.05.0-ce, build 89658be
docker-compose -v
docker-compose version 1.22.0, build f46880fe

@senryzou Thank you for sharing:)

true, apply to continue with the implementation process (thank you very much!):
The same for me.
I have changed
volumes:

./home/pinpoint/hbase
./home/pinpoint/zookeeper
to
volumes:
/home/pinpoint/hbase
/home/pinpoint/zookeeper

(removed '.') in docker-compose.yml. And it works in my case


kubernetes: 1.4.6 -> 1.5.1

Motivation for this change
Updating k8s to 1.5.0 1.5.1, which supports the Container Runtime Interface.
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

The tests fail at the moment, because the kube-apiserver has some ACL problem:
kubernetes# [   88.484428] kube-apiserver[785]: [192.482µs] [167.339µs] Conversion doneError from server (Forbidden): error when creating "/nix/store/yi7231sbjw2b15ywp9anfac7i2innlm6-redis-master-pod.json": pods "redis" is forbidden: service account default/default was not found, retry after the service account is created

After updating this PR to 1.5.1, the k8s tests still fail.

One problem is that the generated docker image is not valid.
I'm getting the following error when the docker daemon starts:
[    9.708936] dockerd[1230]: time="2016-12-14T12:01:32.822686391Z" level=info msg="libcontainerd: new containerd process, pid: 1238"
[    9.805169] dockerd[1230]: time="2016-12-14T12:01:32.919309844Z" level=warning msg="devmapper: Usage of loopback devices is strongly discouraged for production use. Please use `--storage-opt dm.thinpooldev` or use `man docker` to refer to dm.thinpooldev section."
[    9.839039] dockerd[1230]: time="2016-12-14T12:01:32.953487093Z" level=warning msg="devmapper: Base device already exists and has filesystem xfs on it. User specified filesystem  will be ignored."
[    9.850956] dockerd[1230]: time="2016-12-14T12:01:32.965431349Z" level=info msg="[graphdriver] using prior storage driver \"devicemapper\""
[    9.917129] dockerd[1230]: time="2016-12-14T12:01:33.030317808Z" level=fatal msg="Error starting daemon: layer does not exist"

After deleting /var/lib/docker, I can successfully start docker.service again. /cc @offlinehacker @domenkozar

So this is docker related issue, not kubernetes?
On Wed, Dec 14, 2016, 1:07 PM Maarten Hoogendoorn<EMAIL_ADDRESS>wrote:

One problem is that the generated docker image is not valid.
I'm getting the following error when the docker daemon starts:
[    9.708936] dockerd[1230]: time="2016-12-14T12:01:32.822686391Z" level=info msg="libcontainerd: new containerd process, pid: 1238"
[    9.805169] dockerd[1230]: time="2016-12-14T12:01:32.919309844Z" level=warning msg="devmapper: Usage of loopback devices is strongly discouraged for production use. Please use --storage-opt dm.thinpooldev or use man docker to refer to dm.thinpooldev section."
[    9.839039] dockerd[1230]: time="2016-12-14T12:01:32.953487093Z" level=warning msg="devmapper: Base device already exists and has filesystem xfs on it. User specified filesystem  will be ignored."
[    9.850956] dockerd[1230]: time="2016-12-14T12:01:32.965431349Z" level=info msg="[graphdriver] using prior storage driver "devicemapper""
[    9.917129] dockerd[1230]: time="2016-12-14T12:01:33.030317808Z" level=fatal msg="Error starting daemon: layer does not exist"
After deleting /var/lib/docker, I can successfully start docker.service
again. /cc @offlinehacker https://github.com/offlinehacker @domenkozar
https://github.com/domenkozar
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/21125#issuecomment-267018179, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAjvSwWJv0tVTpph5EVZAAGjehNYPZD6ks5rH9wIgaJpZM4LLylv
.

Apparently the VM state was tainted. After removing the /tmp/vm-state-kubernetes directory, that problem disappeared.

@offlinehacker I noticed that the cluster test is broken on master as well. I'll try to fix that.

@moretea finishing kubernetes tests and fixing any bugs would be very helpful.

This PR has merge conflicts, needs reading.

@offlinehacker After rebasing it's getting OOM errors on my 16GB laptop, see https://gist.github.com/moretea/961bb2bac9bee39416c43a4204aebedc

@moretea you can disable docs generation(comment out) for now if that seems to be an issue

I found the problem and fixed it in https://github.com/NixOS/nixpkgs/pull/21125/commits/a39ac2002753c966ee64dd95dcf20f4460f7e1db
Tested with nix-build nixos/tests/kubernetes.nix -A trivial
@offlinehacker if you're OK with these changes, I'll squash this to one commit.

@moretea thanks! this looks good, squash into one commit and i can merge this. @matejc is working on multy-node cluster using flannel, and this update might also help him with some bugs he has.

@offlinehacker btw. you can squash commits also as a maintainer on merge.

@moretea actually you can probably squash only first 3 commits and leave the rest, at they make sense to be separated. @Mic92 thanks!

@offlinehacker done.

@moretea thanks! this looks good, squash into one commit and i can merge this. @matejc is working on multy-node cluster using flannel, and this update might also help him with some bugs he has.

Is there a PR for this? I could not find it. I guess that a general mechanism for CNI should be the solution there. I'm willing to contribute to that.

@moretea well nixos module has support for CNI, issue is that @matejc was unable to make CNI flannel plugin work with flannel service, some routing/firewall issues, have to deploy corrosion setup to see their config


Update Issue - 57516585

default description
URL tested: http://ci.bsstag.com/welcome
Open URL on Browserstack

Property
Value

Browser
Chrome 77.0

Operating System
Windows 8.1

Resolution
1024x612

Screenshot Attached
Screenshot URL

Click here to reproduce the issue on Browserstack

Updated Screenshot Attached


⚠ ClamAV has degraded performance

In 80fdcf0, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 166 ms

Resolved: ClamAV performance has improved in 270cb27.


Barb color seems inconsistant

To reproduce:

Open VAPOR, load data PALM/cbl_KIT_ug00_dx10_masked_M01.000.0119.split.nc

Create a barb renderer, enable it.

Go to "Appearance" tab, check off the option "Use Constant Color."

At this point, the barbs look like this:

Go to "Variables" tab, select 2D in Variable Dimension.

Select 3D in Variable Dimension.

At this point, the barbs look like the following, and clearly different from its previous rendering

Unchecking "use constant color" seems to be a no-op until some other event takes place. I've observed that simply changing the selected color variable will trigger the desired color-by-variable.


Existing LOGs are not getting printed in console

Console does not output the info from logger but it outputs the SYSO statement. Could someone please help this if I'm missing any configuration.
Let's say there are some dependent classes coming from different dependencies where standard logger is used. What should be done in my CLI application so that it prints those LOG statements on the console.
Appreciate any help or suggestions :-)
public class Application {

	private static final Logger LOG = LoggerFactory.getLogger(Application.class);

	public static void main(String[] args) {
		LOG.info("Fom logger >> CLI <<<");         // does not output in console
		System.out.println("Fom SYSO >> CLI <<<");    // outputs in console
		CommandLine cli = new CommandLine(new RootCmd());
		int execute = cli.execute(args);
                System.exit(execute);
	}

}

external logger configuration issue, thanks

@SubhadeepSen Glad to hear that you found a solution.
Enjoy picocli! :-)


A Timeline for events and blog section

@siddhi-244 Can I work on this please?

Follow issue template and describe it

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
: Not a problem but I would like to add blogs and timeline section templates for the repo
Describe the solution you'd like
For ecommerce websites and porfolio particularly, it's important to include customer reviews and blogs related to their work also a event timeline to show future and past events in the order they occur. These components will be completely responsive.
Additional context
Will include ss Or video.

Follow issue template and describe it

Sorry, I have corrected it

We don't want templates ,we need components


Shadowrun 5th spellmageroll

Spelle mage roll (for spell / spirit sumoning / binding) seems to not work as intended, does not show the number of sucess but the formula to calculate them.

Are you sure you have all fields filled out? This works for me.

this is fixed


Volume unit_of_measurement should be "L" not "liters"

Could the unit of measurement for volume be changed from "liters" to "L". Currently it's incorrect for any country that  spells "liters" as "litres", this also brings into line with the other units which are mostly used in their correct short form, e.g. km for kilometres. Full unit_of_measurements can be found here.
https://github.com/home-assistant/core/blob/d7ac4bd65379e11461c7ce0893d3533d8d8b8cbf/homeassistant/const.py#L384

The time units are also using the long form e.g. minutes should be "min", months should be "m".... Not using the standard units makes it harder to do later processing as the units are none standard.
TIME_MICROSECONDS = "μs"
TIME_MILLISECONDS = "ms"
TIME_SECONDS = "s"
TIME_MINUTES = "min"
TIME_HOURS = "h"
TIME_DAYS = "d"
TIME_WEEKS = "w"
TIME_MONTHS = "m"
TIME_YEARS = "y"

Yes, you're right. I will change this tomorrow. Thanks for this input.


Remove the print password

https://github.com/helloSystem/ISO/blob/c207f0202875a9f770f3d6c0999f76bc58133869/overlays/uzip/hello/files/usr/local/bin/askpass#L43C24-L43C24
That write the user password on logs file no ? the same it have sudo acces ?

I think this is how askpass hands over the password to sudo.

You right:
https://github.com/kubilus1/pyaskpass/blob/e9a445d74da3b1ac2318565dc6b8ce7cd2a8a014/askpass#L44C40-L44C40

The issue should be close, sorry for the noise