[Bug]:  app Exclusions not working on v 1.10.0 in MacOS Catalina

Version

[X] I'm using version 1.9.0

Known issues

[X] I've checked Known issues

Existing issues

[X] I've checked Existing issues

What operating system are you using?
macOS
Operating System Version
macOS Catalina 10.15.7
Reproduction steps

Upgrade to Stretchly 1.10.0
Close Stretchly
Add application to the appExclusions section of the config.json file (in my case, Zoom or Keynote), with "rule": "pause", and "active": true.
Reopen Stretchly
Open one of these applications

Can confirm that the issue seems to be with v1.10.0, since appExclusion pausing works after reverting back to v1.9.0.
...
Reproduces how often: [What percentage of the time does it reproduce?]
100% of time
Expected Behavior
Expect Stretchly to pause while application is open.
Actual Behavior
Stretchly does not pause, but continues to run on schedule while the application is open.
 Try to do it with a co-worker. Aside from making it easier to stick to breaks, you will have a chance to get to know them better. Taking breaks together increases productivity."
			],
			"enabled": true
		},
		{
			"data": [
				"Step away",
				"Do you ever notice how your brain can figure things out by itself? All it takes is to step away from the computer and take a break to think about something totally unrelated."
			],
			"enabled": true
		},
		{
			"data": [
				"Microbreaks",
				"Rest is a key component in ensuring the performance of the musculoskeletal system. Frequent breaks can decrease the duration of a task and help lower the exposure to ergonomic injury risk."
			],
			"enabled": true
		},
		{
			"data": [
				"Meditation",
				"Research studies suggest that mindfulness-based exercises help decrease anxiety, depression, stress, and pain, and help improve general health, mental health, and quality of life. Not sure how to start? There are numerous apps to help you out."
			],
			"enabled": true
		},
		{
			"data": [
				"Blink",
				"Looking at screens for a long time causes you to blink less, thus exposing your eyes to the air. Blink rapidly for a few seconds to refresh the tear film and clear dust from the eye surface."
			],
			"enabled": true
		},
		{
			"data": [
				"Ergonomics",
				"Improper height and angle of the keyboard, mouse, monitor or working surface can cause health problems. Take some time to read about desk ergonomics."
			],
			"enabled": true
		},
		{
			"data": [
				"Move",
				"There are a lot of ways you can exercise within your office. Try marching in place or doing desk push-ups."
			],
			"enabled": true
		},
		{
			"data": [
				"Change",
				"Do you have a stability ball or standing work desk?
			],
			"enabled": true
		},
		{
			"data": [
				"Notice",
				"Are you daydreaming or having trouble focusing? It is a sign that you need to take a break."
			],
			"enabled": true
		},
		{
			"data": [
				"Tech",
				"How about taking a no-tech walk?"
			],
			"enabled": true
		},
		{
			"data": [
				"Metabolism",
				"Emerging research shows that sitting for long periods of time contributes to risk of metabolic syndrome, heart attack and stroke risk and overall death risk, among others. Taking regular walking breaks can help your circulation, working to counteract some of those problems."
			],
			"enabled": true
		},
		{
			"data": [
				"Active Meetings",
				"How about moving meetings from the conference room to the concourse? Walking not only burns calories but it may even foster a sense of collaboration."
			],
			"enabled": true
		},
		{
			"data": [
				"Fruit",
				"Take your time and eat some fruit. Slowly. Notice the flavor, the texture, the freshness."
			],
			"enabled": true
		},
		{
			"data": [
				"Bathrooms",
				"Walk to the farthest bathroom in the worksite facility when going to the restroom."
			],
			"enabled": true
		},
		{
			"data": [
				"Coffee break",
				"Going on coffee break? Consider doing a 5-minute walk every time you go for one."
			],
			"enabled": true
		},
		{
			"data": [
				"Colleagues",
				"Do not email or message office colleagues, walk to their desks to communicate with them."
			],
			"enabled": true
		},
		{
			"data": [
				"Learning",
				"In a study of healthy volunteers, NIH researchers found that taking short breaks, early and often, may help our brains learn new skills."
			],
			"enabled": true
		},
		{
			"data": [
				"Exercise",
				"Evidence suggests small amounts of regular exercise can bring dramatic health benefits, including measurably reducing stress."
			],
			"enabled": true
		},
		{
			"data": [
				"Repeat",
				"Have you found your stretch-ly-routine? Do not forget to repeat it for more than once to better fight effects of prolonged sitting."
			],
			"enabled": true
		},
		{
			"data": [
				"Wrist and forearm",
				"Extend your arms with the palms facing towards you, then slowly rotate the hands four times clockwise, then four times counter-clockwise."

			],
			"enabled": true
		},
		{
			"data": [
				"Mobilize",
				"For every thirty minutes of stagnation, you should have at least one minute of stimulation."
			],
			"enabled": true
		},
		{
			"data": [
				"7 Minute Workout",
				"This workout packs in a full-body exercise routine in a fraction of the time. But as with any exercise, be careful. There are numerous apps to get you started."
			],
			"enabled": true
		},
		{
			"data": [
				"Pulse",
				" Raise your pulse rate to 120 beats per minute for 20 straight minutes four or five times a week doing anything you enjoy. Regularly raising your heart rate results in improved cardiovascular health."
			],
			"enabled": true
		},
		{
			"data": [
				"Take the stairs ",
				"Studies have shown that stair climbing, which is considered vigorous-intensity physical activity, burns more calories per minute than jogging."
			],
			"enabled": true
		},
		{
			"data": [
				"Make art",
				"Art therapy is known to have great mental health benefits, especially when it comes to stress management. How about writing a quick poem, taking a picture or painting something small?"
			],
			"enabled": true
		},
		{
			"data": [
				"Declutter",
				"A clean space helps your focus at work and is often linked to positive emotions like happiness."
			],
			"enabled": true
		},
		{
			"data": [
				"Lunch outside",
				"Nature is linked to positive emotions and decreased stress and anxiety. Whenever possible, try to take your daily lunch break outside, surrounded by some greenery."
			],
			"enabled": true
		},
		{
			"data": [
				"Public transport",
				"If you use public transport regularly, you can stand instead of sitting. If it is possible, try to replace as many of your daily trips as possible with walking or cycling."
			],
			"enabled": true
		},
		{
			"data": [
				"Yawning",
				"Yawning can be really helpful, as it produces tears to help moisten and lubricate the eyes."
			],
			"enabled": true
		},
		{
			"data": [
				"Focus change",
				"Hold one finger close to the eye and focus on it. Slowly move the finger away, focus far into the distance and then back to the finger. Bring the finger back and focus on something far away."
			],
			"enabled": true
		},
		{
			"data": [
				"Palming",
				"While seated, brace elbows on the desk and close to the desk edge. Let your weight fall forward and cup hands over eyes. Close your eyes and inhale slowly through nose and hold for few seconds. Continue deep breathing."
			],
			"enabled": true
		},
		{
			"data": [
				"Hand squeezes",
				"Squeeze a pair of balled-up socks or a soft rubber ball, hold for 5 seconds. Repeat whole process few times."
			 Roll your shoulders forward for 10 seconds, then backward.",
			"enabled": true
		},
		{
			"data": "Raise your right arm, stretch it over your head to the left, and hold for 10 seconds. Repeat on the other side.",
			"enabled": true
		},
		{
			"data": "With your right hand, grab each finger of your left hand in turn and squeeze. Repeat on the other side.",
			"enabled": true
		},
		{
			"data": "Stand up and do a lunge. Hold for 10 seconds, then do the other leg.",
			"enabled": true
		},
		{
			"data": "Close your eyes and simply notice whatever arises in current moment, without judgement.",
			"enabled": true
		},
		{
			"data": "Focus every 20 minutes for 20 seconds on an object at 20 feet distance.",
			"enabled": true
		},
		{
			"data": "If you need help, ask for it.",
			"enabled": true
		},
		{
			"data": "Do one thing at a time.",
			"enabled": true
		},
		{
			"data": "Is your attention spent wisely?",
			"enabled": true
		},
		{
			"data": "Change your sitting posture.",
			"enabled": true
		},
		{
			"data": "Expose your eyes to natural light.",
			"enabled": true
		},
		{
			"data": "With your eyes closed, slowly and gently raise your eyes to the ceiling and back down to the floor.",
			"enabled": true
		},
		{
			"data": "With your eyes closed, slowly and gently move your eyes to the left, then slowly to the right.",
			"enabled": true
		},
		{
			"data": "Shake your hands out to get some relief.",
			"enabled": true
		},
		{
			"data": "One at a time, touch the tip of each finger to the tip of your thumb so they make an O-shape.",
			"enabled": true
		},
		{
			"data": "Make a fist and then slide your fingers up until they point toward the ceiling, like you're telling someone to stop.",
			"enabled": true
		},
		{
			"data": "Make a fist and then fan your fingers out and stretch them as far as you can.",
			"enabled": true
		}
	],
	"showBreaksAsRegularWindows": false,
	"appExclusions": [
		{
			"rule": "pause",
			"active": true,
			"commands": [
				"zoom.us",
				"Keynote"
			]
		}
	],
	"appExclusionsCheckInterval": 1000,
	"pauseForSuspendOrLock": true,
	"pauseBreaksShortcut": "",
	"resumeBreaksShortcut": "",
	"screen": "primary",
	"timeToBreakInTray": false,
	"currentTimeInBreaks": false
}

Additional information
Can confirm that the issue seems to be with v1.10.0, since appExclusion pausing works after reverting back to v1.9.0.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I'm on version v1.10.0, and I seem to have a similar issue with one difference: For me, Stretchly always stays in paused mode. So, when I turn of "Do not disturb" Stretchly still shows "Paused - Do not disturb is on".

Interesting, all seems to work fine for me in 1.10. I've also tried running with your config and all works as expected for me.
Sorry, but not sure what to try ;/

Since I'm having a same issue here is the log from Mac Console app, hope you will find something relevant:
default	12:50:35.994899+0100	lsd	Non-fatal error enumerating at <private>, continuing: Error Domain=NSCocoaErrorDomain Code=260 "The file “PlugIns” couldn’t be opened because there is no such file." UserInfo={NSURL=PlugIns/ -- file:///Applications/Stretchly.app/Contents/, NSFilePath=/Applications/Stretchly.app/Contents/PlugIns, NSUnderlyingError=0x139853250 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
default	12:50:35.995054+0100	lsd	- 45683955: Checking whether application is managed at file:///Applications/Stretchly.app//net.hovancik.stretchly
default	12:50:36.008080+0100	lsd	net.hovancik.stretchly:5:5:1:1:Building bundle record for app
default	12:50:36.008337+0100	lsd	net.hovancik.stretchly:5:5:2:1:Built bundle record for app
default	12:50:36.025007+0100	lsd	net.hovancik.stretchly:5:4:2:1:_LSServerRegisterItemInfo result = 0
default	12:50:36.029762+0100	runningboardd	Launch request for app<application.net.hovancik.stretchly.14721323.14721326(501)> is using uid 501 (divined from auid 501 euid 501)
default	12:50:36.029822+0100	runningboardd	Acquiring assertion targeting app<application.net.hovancik.stretchly.14721323.14721326(501)> from originator [daemon<com.apple.Finder(501)>:523] with description <RBSAssertionDescriptor| "LS launch net.hovancik.stretchly" ID:369-523-34448 target:app<application.net.hovancik.stretchly.14721323.14721326(501)> attributes:[
	<RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"LaunchRoleBackground" sourceEnvironment:"(null)">
	]>
default	12:50:36.029880+0100	runningboardd	Assertion<PHONE_NUMBER>8 (target:app<application.net.hovancik.stretchly.14721323.14721326(501)>) will be created as active
default	12:50:36.030109+0100	runningboardd	Executing launch request for app<application.net.hovancik.stretchly.14721323.14721326(501)> (LS launch net.hovancik.stretchly)
default	12:50:36.030148+0100	runningboardd	Creating and launching job for: app<application.net.hovancik.stretchly.14721323.14721326(501)>
default	12:50:36.030164+0100	runningboardd	_mutateContextIfNeeded called for net.hovancik.stretchly
default	12:50:36.061132+0100	dmd	Received xpc stream event (distributed notification matching) with name: com.apple.LaunchServices.applicationRegistered user info: {
    CFBundleDisplayName = Stretchly;
    bundleIDs =     (
        "net.hovancik.stretchly"
    );
    isPlaceholder = 0;
}
default	12:50:36.091319+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] This process will not be managed.
default	12:50:36.091337+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] HOME is <private>
default	12:50:36.091351+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] TMPDIR is <private>
default	12:50:36.091367+0100	runningboardd	Now tracking process: [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]
default	12:50:36.091445+0100	runningboardd	Using default underlying assertion for app: [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]
default	12:50:36.091475+0100	runningboardd	Calculated state for app<application.net.hovancik.stretchly.14721323.14721326(501)>: running-active (role: Background)
default	12:50:36.091526+0100	runningboardd	Acquiring assertion targeting [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] from originator [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] with description <RBSAssertionDescriptor| "RB Underlying Assertion" ID:369-369-34449 target:23186 attributes:[
	<RBSDomainAttribute| domain:"com.apple.underlying" name:"defaultUnderlyingAppAssertion" sourceEnvironment:"(null)">,
	<RBSAcquisitionCompletionAttribute| policy:AfterApplication>
	]>
default	12:50:36.091814+0100	runningboardd	Assertion<PHONE_NUMBER>9 (target:[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]) will be created as active
default	12:50:36.092027+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] reported to RB as running
default	12:50:36.093519+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring jetsam update because this process is not memory-managed
default	12:50:36.093554+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring suspend because this process is not lifecycle managed
default	12:50:36.093594+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Set darwin role to: Background
default	12:50:36.093228+0100	runningboardd	Calculated state for app<application.net.hovancik.stretchly.14721323.14721326(501)>: running-active (role: Background)
default	12:50:36.093636+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring GPU update because this process is not GPU managed
default	12:50:36.094547+0100	runningboardd	Acquiring assertion targeting [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] from originator [daemon<com.apple.coreservices.launchservicesd>:327] with description <RBSAssertionDescriptor| "backgroundApp:23186" ID:369-327-34450 target:23186 attributes:[
	<RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"RoleNonUserInteractive" sourceEnvironment:"(null)">
	]>
default	12:50:36.094614+0100	runningboardd	Assertion<PHONE_NUMBER>0 (target:[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]) will be created as active
default	12:50:36.097513+0100	runningboardd	Acquiring assertion targeting [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] from originator [daemon<com.apple.coreservices.launchservicesd>:327] with description <RBSAssertionDescriptor| "backgroundApp:23186" ID:369-327-34451 target:23186 attributes:[
	<RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"RoleNonUserInteractive" sourceEnvironment:"(null)">
	]>
default	12:50:36.097548+0100	runningboardd	Calculated state for app<application.net.hovancik.stretchly.14721323.14721326(501)>: running-active (role: NonUserInteractive)
default	12:50:36.097568+0100	runningboardd	Assertion<PHONE_NUMBER>1 (target:[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]) will be created as active
default	12:50:36.099122+0100	runningboardd	Invalidating assertion<PHONE_NUMBER>0 (target:[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]) from originator [daemon<com.apple.coreservices.launchservicesd>:327]
default	12:50:36.099685+0100	runningboardd	Acquiring assertion targeting [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] from originator [daemon<com.apple.coreservices.launchservicesd>:327] with description <RBSAssertionDescriptor| "backgroundApp:23186" ID:369-327-34452 target:23186 attributes:[
	<RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"RoleNonUserInteractive" sourceEnvironment:"(null)">
	]>
default	12:50:36.099838+0100	runningboardd	Assertion<PHONE_NUMBER>2 (target:[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]) will be created as active
default	12:50:36.100765+0100	runningboardd	Invalidating assertion<PHONE_NUMBER>1 (target:[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]) from originator [daemon<com.apple.coreservices.launchservicesd>:327]
default	12:50:36.101603+0100	runningboardd	Invalidating assertion<PHONE_NUMBER>8 (target:app<application.net.hovancik.stretchly.14721323.14721326(501)>) from originator [daemon<com.apple.Finder(501)>:523]
default	12:50:36.102468+0100	loginwindow	-[ApplicationManager checkInAppContext:eventData:] | ApplicationManager: Checked in app : Stretchly
default	12:50:36.102269+0100	runningboardd	Acquiring assertion targeting [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] from originator [daemon<com.apple.coreservices.appleevents(55)>:475] with description <RBSAssertionDescriptor| "AE/Stretchly" ID:369-475-34453 target:23186 attributes:[
	<RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"LSNotification" sourceEnvironment:"(null)">
	]>
default	12:50:36.102432+0100	runningboardd	Assertion<PHONE_NUMBER>3 (target:[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]) will be created as active
default	12:50:36.103954+0100	runningboardd	Calculated state for app<application.net.hovancik.stretchly.14721323.14721326(501)>: running-active (role: UserInteractiveNonFocal)
default	12:50:36.105041+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring jetsam update because this process is not memory-managed
default	12:50:36.105055+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring suspend because this process is not lifecycle managed
default	12:50:36.105072+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Set darwin role to: NonUserInteractive
default	12:50:36.105088+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring GPU update because this process is not GPU managed
default	12:50:36.105185+0100	runningboardd	Successfully acquired underlying assertion for [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]
default	12:50:36.105458+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring jetsam update because this process is not memory-managed
default	12:50:36.105691+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring suspend because this process is not lifecycle managed
default	12:50:36.105736+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Set darwin role to: UserInteractiveNonFocal
default	12:50:36.105772+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring GPU update because this process is not GPU managed
default	12:50:36.218010+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring jetsam update because this process is not memory-managed
default	12:50:36.218022+0100	runningboardd	Calculated state for app<application.net.hovancik.stretchly.14721323.14721326(501)>: running-active (role: UserInteractiveNonFocal)
default	12:50:36.218029+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring suspend because this process is not lifecycle managed
default	12:50:36.218081+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring GPU update because this process is not GPU managed
default	12:50:38.935771+0100	kernel	ASP: Security policy would not allow process: 23186, /Applications/Stretchly.app/Contents/MacOS/Stretchly
default	12:50:38.937458+0100	runningboardd	[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] termination reported by launchd (9, 8, 9)
default	12:50:38.937478+0100	runningboardd	Removing process: [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]
default	12:50:38.938113+0100	runningboardd	Removing launch job for: [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]
default	12:50:38.938759+0100	runningboardd	Removed job for [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]
default	12:50:38.938792+0100	runningboardd	Removing assertions for terminated process: [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]
default	12:50:38.955782+0100	runningboardd	Calculated state for app<application.net.hovancik.stretchly.14721323.14721326(501)>: none (role: None)
default	12:50:38.956537+0100	runningboardd	Calculated state for app<application.net.hovancik.stretchly.14721323.14721326(501)>: none (role: None)
default	12:50:38.957740+0100	launchservicesd	Hit the server for a process handle c9117c300005a92 that resolved to: [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]
default	12:50:38.960737+0100	loginwindow	-[PersistentAppsSupport applicationQuit:] | for app:Stretchly, _appTrackingState = 2

Sorry, but I am unable to reproduce :(
In 1.10 I added app exclusion check interval so you could try making it bigger, this check consumes a lot of power.
It could also be some weird electron bug, so maybe when I upgrade it, it will be better.

Hey, small update just installed latest 1.11.0 and it works alright on Macbook M1 Pro. Using brew with these commands:
brew update && brew upgrade --cask
brew reinstall --cask --no-quarantine stretchly

Maybe can be put just to upgrade stretchly with param --no-quarantine

@Cheprer thanks for the heads up, I just upgraded to 1.11.0 as well and app exclusion are working again for me.

Great, I'll close this, then.


feature: add formula

Docx file uses Office MML to insert formulaes.
Method could take tex as input and then insert into docx after converting the formulae into OMML.

I am also looking for a feature that allows to write MathML or Office MathML directly into the document and have it rendered as an equation.

+1

https://github.com/python-openxml/python-docx/issues/320#issuecomment-456389966
https://github.com/python-openxml/python-docx/issues/320#issuecomment-798749198
I can't wait to share these solutions with you


apply Mathematical operator when select ?

can i apply some Mathematical operator such as +,-,* when select ?
eg.
select a*2 from stream

Yes, you can.. Please check the query guide to understand more on this..
https://siddhi.io/en/v5.0/docs/query-guide/#select

Yes, you can.. Please check the query guide to understand more on this..
https://siddhi.io/en/v5.0/docs/query-guide/#select

but i run this sql
from stream on who == 1234L and what=='test' select who*2 limit 10
will got a error bellow
Error between @ Line: 1. Position: 0 and @ Line: 1. Position: 94. Syntax error in SiddhiQL, mismatched input 'limit' expecting {'*', '+', '-', '/', '%', '<', '<=', '>', '>=', '==', '!=', AS, OR, AND, IN}.
at org.wso2.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)

You can use mathematical operations on select but you have to use 'as' keyword to rename the selection. You can keep the same name itself, however since you are doing an operation 'as' keyword is a necessity,
from stream on who == 1234L and what=='test' select who*2  as who limit 10

A few other things to note in the query,

You can't use 'stream' as a name for the stream.
You can use 'on' condition to filter events in a stream. As this is reserved for when joining with an Event Table. Instead of that, you can use Filter. https://siddhi.io/en/v5.0/docs/query-guide/#filter
Then the final query will be as follows,

from TestStream [who == 1234L and what=='test' ]
select who*2 as test
limit 10
insert into TempStream;

Closing the issue since query has answered. Please reopen if u need further help on this.


Support props.children in island components

Such as Dialog component. These components need hooks and props.children

The document said it is not possible currently.

Passing props to islands is supported, but only if the props are JSON serializable. This means that you can only pass primitive types, plain objects, and arrays. It is currently not possible to pass complex objects like Date, custom classes, or functions. This means that it is not possible to pass children to an island, as children are VNodes, which are not serializable.

https://fresh.deno.dev/docs/concepts/islands

Yes, it is not currently possible. I think we can support passing JSX children in the future, but this requires some changes inside of Fresh.

Thinks. I have read code related to render  island.The props of island is transpered by JSON.stringify， the pity is that there are no other great way.

Maybe something like superjson?

You can't use children, but you can use Render Props pattern:
https://legacy.reactjs.org/docs/render-props.html

You can't use children, but you can use Render Props pattern: https://legacy.reactjs.org/docs/render-props.html

in my case it broke the island. it flashed the rendered component then it's gone.

Worth mentioning that children is already supported but only in a very limited way — directly passing a string (or array of strings) as children works as expected:
// ok
<Island>some content</Island>
// fails silently
<Island>some content</Island>

So an appropriate typing for Island's props under the current limitations would be something like:
type IslandProps = {
	children?: string | string[]
}

// ok
<Island>some content</Island>
<Island />
<Island></Island>
<Island>[]</Island>
<Island>['a', 'b']</Island>

// type error
<Island></Island>
<Island>[]</Island>

right now, I just push values into a signal for the page being used, and
have complex islands use signals and (rarely effects) to update the data
and bindings of an Island where complex values are required.
Only real limitation is when nesting islands that have interactivity,
here a island supported children prop, and error boundaries would be
very useful indeed.
-Scott
On May 9, 2023, SleepyShay @.***> wrote:

Worth mentioning that children is already supported but only in a very
limited way — directly passing a string (or array of strings) as
children works as expected:
// ok some content // fails silently
some content
So an appropriate typing for Island's props under the current
limitations would be something like:
type IslandProps = { children?: string | string[] } // ok some
content   []
['a', 'b'] // type error
[]

—
Reply to this email directly, view it on GitHub
https://github.com/denoland/fresh/issues/395#issuecomment-1539355279,
or unsubscribe <https://github.com/notifications/unsubscribe-
auth/ATXWUNX7CWWVOUW5QEHINU3XFIBQBANCNFSM52RTIO5Q>.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Relative paths? - Or some root path that's not in my GITHUB_WORKSPACE?

This didn't work:
      - name: Cache vcpkg
        uses: actions/cache@v2
        env:
          cache-name: cache-vcpkg
        with:
          path: ${{ github.workspace }}/../vcpkg
          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/vcpkg.json') }}
          restore-keys: |
            ${{ runner.os }}-build-${{ env.cache-name }}-
            ${{ runner.os }}-build-
            ${{ runner.os }}-

Which gave:

Warning: Invalid pattern 'D:\a\libacquire\libacquire/../vcpkg'. Relative pathing '.' and '..' is not allowed.

Happy to put my vcpkg directory somewhere else, just not sure where a good place is.
Suggestions on handling relative paths or a better directory than I've chosen are appreciated.

@SamuelMarks Have a look at the examples at https://github.com/actions/cache/blob/main/examples.md . Try to use an absolute path depending upon the runner type you are using.

Apart from the above examples, you can also directly use your home directory using ~ expansion, or on windows sometimes we also use ~\AppData\Local . Closing this for now. Please feel free to reopen if you are still facing issues.


[2.0.0] Docs - Upgrade suggestions

@mbentley commented on Thu May 05 2016
In Step 2. Install DTR 2.0, the following upgrade step is suggested:
If you decide to install the new DTR on the same node, you’ll need to install it on a port other than 443, since DTR 1.4.3 is already using it. Use these instructions to install DTR 2.0:

Instead of making DTR 2.0 use a port besides 443, why not change the DTR 1.4.3 to use a different port so that your new 2.0 install doesn't use some non-standard port when you're done?
In the Step 7. Decommission DTR 1.4.3 section, it says:
Once you’ve fully tested your new installation, you can uninstall DTR 1.4.3 by deleting /usr/local/etc/dtr and /var/local/dtr and removing all dtr containers.

I'd expect the uninstall process to actually be:
1.)  Remove /usr/local/etc/dtr and /var/local/dtr
This is because the order does matter.

Closing per triage discussion


slightly underdocumented

i read the source-code from allocate.c to witness.h - i found just one line of comment - a copyright notice.
is that going to change - maybe after the competition?

Unlikely for those data-structures and algorithms which are similar to Kissat/CaDiCaL/Satch.  For those you should read the source code of CaDiCaL and Satch in parallel.  I might add some more comments to the Gimsatul specific parts, particularly related to sharing clauses etc.  However, note that I do have extensive logging which I consider as executable, active comments (which can also crash BTW).  I even consider reading those logging messages (with '-l') and of course before the verbose messages (with '-v -v -v') in the source code and during runs as even more instructive than any comments.

I started some documentation and as promised first for the most important data-structures and algorithms used in propagate.c which are also slightly different than in other solvers (have another indirection).


Fix faulty ManifestCR state determination

Description
With the ADR Mapping module deployment state to ManifestCR state we defined how we want to map the ManifestCR state from the deployment of the module. This ADR now needs to be implemented in code.
This should be a good candidate for good code design. We already have the DeploymentReadyCheck struct. Consider to improve to revisit it's interface and dependencies so that we get a nicely testable "state machine service". If re-designing this, also consider that later on we want to add state checks for StatefulSet as well.
Reasons
With https://github.com/kyma-project/lifecycle-manager/issues/1554 we introduced new ManifestCR state determination that proofed to be faulty.
Acceptance Criteria

[ ] ManifestCR state determination follows the Decision section of the ADR
[ ] Existing E2E tests extended to verify the expected state transitions from the ADR

[ ] consider if we can include in the tests that the transitions happen quicker than the requeue success interval

[ ] ManifestCR state determination unit tested with coverage > 80%

Feature Testing
No response
Testing approach
No response
Attachments
No response

HINT: KLM Code - https://github.com/kyma-project/lifecycle-manager/blob/294103d856cb03a2e148c960b56ce071b02d4372/internal/manifest/deployment_ready_check.go#L44

Re-estimated to 0 as we included it in the sprint closing on 2024-09-11.


CI failing with ERROR collecting tests/test_cli_compile.py

=================================== ERRORS ====================================
_________________ ERROR collecting tests/test_cli_compile.py __________________
C:\hostedtoolcache\windows\PyPy\3.7.13\x86\lib-python\3\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1015: in _gcd_import
    ???
<frozen importlib._bootstrap>:992: in _find_and_load
    ???
<frozen importlib._bootstrap>:976: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:686: in _load_unlocked
    ???
.tox\piplatest\site-packages\_pytest\assertion\rewrite.py:159: in exec_module
    source_stat, co = _rewrite_test(fn, self.config)
.tox\piplatest\site-packages\_pytest\assertion\rewrite.py:339: in _rewrite_test
    co = compile(tree, strfn, "exec", dont_inherit=True)
E   TypeError: Expected stmt node, got Store
____________________________ ERROR collecting gw0 _____________________________

see https://github.com/jazzband/pip-tools/actions/runs/3204754154/jobs/5236433127#step:6:55

Pytest rewrites imports and asserts in bytecode IIRC. This is probably related to that.


Refactor complex implementation in validate-processor.ts

Describe what should be investigated or refactored
Resolve the following linter warning:
  15:8  warning  Async function 'validateProcessor' has a complexity of 13. Maximum allowed is 10  complexity
Links to any relevant code
Check out src/lib/validate-processor.ts
Additional context
Related to #1248

validate-processor.ts is largely untested on main. We'll want to back-fill with some unit tests so that we can confidently refactor. This will provide a faster feedback loop instead of waiting for E2E tests to run.
File                  | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
validate-processor.ts |   14.28 |        0 |       0 |   14.28 | 22-85

Unstarting this track of work in favor of v0.40.0 milestones.

Pickin' this up!  Today's warnings look like:
user@workstation-ubuntu2404:/pepr$ npx eslint src/lib/validate-processor.ts && npx prettier src/lib/validate-processor.ts --check

/pepr/src/lib/validate-processor.ts
  15:8  warning  Async function 'validateProcessor' has a complexity of 13. Maximum allowed is 10  complexity
  62:9  warning  Blocks are nested too deeply (4). Maximum allowed is 3                            max-depth

✖ 2 problems (0 errors, 2 warnings)

Checking formatting...
All matched files use Prettier code style!


dynamic destination naming

destination.name needs have additional uniqueness applied to it either using hash, temporal or both.

decide on file naming pattern
implement naming with pac-man:latest

added temp unique name function using uuid version 4.
format: <destination.name>-<uuid>
added issue for filetypes.
future iterations should consider using modifier for generating parameters that can ultimately decide output name


Suppressing a yarn vulnerability temporarily

JIRA link (if applicable)
N/A
Change description
Suppressing a yarn vulnerability temporarily
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

Luckily civil-service doesn't have the problem described in this ticket.


The Developer Guide doesn't match Clasp 2.3.0 CLI

Image below is from the Developer Guide:
https://developers.google.com/apps-script/guides/clasp#deploy_a_published_project

Clasp 2.3.0 CLI
clasp deploy
$ clasp deploy --help
Usage: clasp deploy [options]

Deploy a project

Options:
  -V, --versionNumber <version>    The project version
  -d, --description <description>  The deployment description
  -i, --deploymentId <id>          The deployment ID to redeploy
  -h, --help                       output usage information

clasp redeploy
$ clasp redeploy
�🤔  Unknown command "clasp redeploy"

Forgot clasp commands? Get help:
  clasp --help

Still happening.
@sqrrrl I guess this issue is not a priority?


UnboundLocalError scaling non-web process

Pushing an app with Deis Workflow v2.4.1 with a non-web ("monitor") process caused this stack trace:
ERROR:root:local variable 'kwargs' referenced before assignment
Traceback (most recent call last):
  File "/app/api/models/build.py", line 64, in create
    self.app.deploy(new_release)
  File "/app/api/models/app.py", line 570, in deploy
    self.verify_application_health(**kwargs)
UnboundLocalError: local variable 'kwargs' referenced before assignment

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/rest_framework/views.py", line 463, in dispatch
    response = handler(request, *args, **kwargs)
  File "/app/api/views.py", line 474, in create
    super(BuildHookViewSet, self).create(request, *args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/rest_framework/mixins.py", line 21, in create
    self.perform_create(serializer)
  File "/app/api/viewsets.py", line 21, in perform_create
    self.post_save(obj)
  File "/app/api/views.py", line 480, in post_save
    build.create(self.user)
  File "/app/api/models/build.py", line 71, in create
    raise DeisException(str(e)) from e
api.exceptions.DeisException: local variable 'kwargs' referenced before assignment

The first trace is the salient one.

https://github.com/deis/controller/pull/1003 fixes this issue.


SDL subConfiguration vs JSON subConfigurations

In JSON, the way to specify alternative configuration is by the subConfigurations object. In SDL, that field is named subConfiguration. Is the inconsistency voluntary ?
Also, the documentation of the site (http://code.dlang.org/package-format?lang=sdl#configurations) is incorrect:
	dependency "somepackage" version=">=1.0.0"
	"subConfiguration" "somepackage" "glut-app"

This gave me an awfully helpful error message:
/mnt/shared/projects/vibed/vibe.d/tests/unixsockets/dub.sdl(2): Error: Anonymous tags are not allowed at the root level.

So removing the " was the way to go.

There are some more of these, for example "dependencies" (JSON) vs. dependency (SDL) or "subPackages" vs. subPackage. They are indeed deliberately converted to singular form, because that's what they do - they only operate on single entities, while the JSON counterpart, due to the limitations of the format has to group several entities to achieve an efficient representation.
I'll fix the documentation mistake.


osdialog on windows

I am creating a sampler module for VCV Rack. On Mac I succesffully created a simple button that opens a "open file" dialog (using osdialog) and loads a wav file in a sampler...
The same exact code, compiles correctly on Windows, but doesn't open any "open file" dialog...
here's part of the code:
void OpenWave() {

  char *filename = osdialog_file(OSDIALOG_OPEN, NULL, NULL, NULL);
    if (filename) {
  filepath=filename;

 printf("%s\n", filepath.c_str());
      free(filename);
    }
    else {
      printf("Canceled\n");
    }
   }

Can you run make ARCH=win and ./test in the osdialog directory? Does it open then?

i have run make ARCH=win but not "./test".
Yes, "./test" works so it might be something else in the code...I'll check the "trigger" button that uses the OpenWave function....
the strange think is that it works 100% on my mac...compiles on windows but does nothing

Maybe put a print statement above the call to osdialog to make sure it's being called at all?
Another thing to look out for is that Windows/MSYS2 doesn't flush buffers automatically on newline, so it could be printing but just not flushed. Add a fflush(stdout) at the end maybe?

it loks like the Schmittrigger buttons are not triggering anything.
If i call the OpenWave() void in another place, it simply works as
expected.... strange behaviour
2017-11-02 15:16 GMT+01:00 Andrew Belt<EMAIL_ADDRESS>
Maybe put a print statement above the call to osdialog to make sure it's
being called at all?
Another thing to look out for is that Windows/MSYS2 doesn't flush buffers
automatically on newline, so it could be printing but just not flushed.
Add a fflush(stdout) at the end maybe?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AndrewBelt/osdialog/issues/1#issuecomment-341434771,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APURC3Pc62S5JWnGLIxHRuVoY0K3kX67ks5syc64gaJpZM4QPsXx
.

If you can't figure it out, post your code in the Rack repo and I'll take a look.

OK right, this is not a Osdialog issue...


SSHFS remote file system mount failure

Having issues mounting a remote file system using sshfs
fuse seems to be failing to find the device
root@localhost:~# sshfs m@<IP_ADDRESS>:/home/m/ /root/mount/
fuse: device not found, try 'modprobe fuse' first
root@localhost:~# modprobe fuse
modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.4.0+/modules.dep.bin'
root@localhost:~#

fuse seems to be failing to find the device

I don't see any evidence for that in the posted log. There's evidence that the fuse interface is not provided by the Linux subsystem. The modprobe error is unrelated and is pretty unsurprising.

You cannot load Linux kernel modules on WSL, and probably never will.
Though something like fuse (user mode filesystems), or say USB usermode access would be really nice to have.

WSL should definitely support fuse, this is a main use case. I expect to sshfs mount remote filesystem and access it both from bash and from windows file explorer at the same time. It should appear to windows file explorer as part of the folder tree.

Fuse support is an interesting conversation.  I would recommend creating a section and voting on it over on the User Voice page.
We will be looking at the user voice and taking it as input when planning new features.  No promises, but it's the best way to get something on our radar.

SSHFS for Windows 8 and above. but yeah having support for it on Ubuntu on Windows would be pretty sweet !

+1 for fuse !

Never saying never, but no plans to support this feature in the appreciable future. Moving to backlog for now.
If you'd like us to reconsider, please find/update this issue on UserVoice.

@komali2 thanks for the heads up.
I guess the owner of that link realized it was generating traffic and seized the oportunity or his hosting went   down...

UserVoice items for:

FUSE
SMB/CIFS network drive mounts

Note that SMB/CIFS mounting is already implemented. Might be useful for some of the followers of this ticket.

Why is this issue closed? It doesn't seem to be fixed.

How to hide bugs under the carpet
When bugs becomes features... virtual features or feature request...

I am taking a run at fixing this. Cross your fingers and I'll report back if I find joy.

I am taking a run at fixing this. Cross your fingers and I'll report back if I find joy.

need any help?

oh man. was REALLY hoping for this to work! :(

@bitcrazed the UserVoice links are dead.  Does WSL have an alternative feature voting system it would prefer?  I would like to vote for this feature.

FUSE is available in WSL2.

FUSE is available in WSL2.

But I'm on wsl2 and windows 10.019041, ubuntu 20.04 and still have the problem.
fuse: device not found, try 'modprobe fuse' first
then when I modprobe fuse, I get
modprobe: FATAL: Module fuse not found in directory /lib/modules/4.4.0-19041-Microsoft
can't google any solutions to this. Is fuse still not supported on wsl2? Is so what is the roadmap for it?

4.4.0-19041-Microsoft

You are not on WSL2. You can list your installed distributions and versions with wsl.exe -l -v.

I am on WSL2 and get the same error.
I read that this fuse thing is a requirement for Jetbrains Toolbox, which I want to install its useful tools to develop on as Windows to WSL2 file system support is not as fast/good as I would like yet. (E.g. file watching, git kraken etc don't work properly and it is slower on large PHP projects with lots of source files e.g. Magento 2, composer installing).
https://toolbox-support.jetbrains.com/hc/en-us/articles/115000978824-What-are-the-system-requirements-for-Toolbox-App-
apt install fuse
modprobe fuse
groupadd fuse
user="$(whoami)"
usermod -a -G fuse $user

Gives me.
modprobe: FATAL: Module fuse not found in directory /lib/modules/4.19.128-microsoft-standard```

![image](https://user-images.githubusercontent.com/1968109/104407177-e42ced80-55c5-11eb-9994-826b38affc25.png)

![image](https://user-images.githubusercontent.com/1968109/104407239-09b9f700-55c6-11eb-994e-19051e0149a9.png)

Note: Jetbrains Toolbox does appear to run without fuse, so maybe it is only required should you want to mount file systems over ssh? (Which I might, as I am currently mounting them in Windows for easily editing things config files and such on remote servers in Windows text editors.)

I am on WSL2 and get the same error.
I read that this fuse thing is a requirement for Jetbrains Toolbox, which I want to install its useful tools to develop on as Windows to WSL2 file system support is not as fast/good as I would like yet. (E.g. file watching, git kraken etc don't work properly and it is slower on large PHP projects with lots of source files e.g. Magento 2, composer installing).
https://toolbox-support.jetbrains.com/hc/en-us/articles/115000978824-What-are-the-system-requirements-for-Toolbox-App-
apt install fuse
modprobe fuse
groupadd fuse
user="$(whoami)"
usermod -a -G fuse $user

Gives me.
modprobe: FATAL: Module fuse not found in directory /lib/modules/4.19.128-microsoft-standard```

![image](https://user-images.githubusercontent.com/1968109/104407177-e42ced80-55c5-11eb-9994-826b38affc25.png)

![image](https://user-images.githubusercontent.com/1968109/104407239-09b9f700-55c6-11eb-994e-19051e0149a9.png)

Note: Jetbrains Toolbox does appear to run without fuse, so maybe it is only required should you want to mount file systems over ssh? (Which I might, as I am currently mounting them in Windows for easily editing things config files and such on remote servers in Windows text editors.)

FUSE is statically compiled into the WSL2 kernel. In general modprobe is not applicable in WSL2 by-design, unless you off-road it with your own compiled modules. Here the fuse module is built-in.

FUSE is statically compiled into the WSL2 kernel. In general modprobe is not applicable in WSL2 by-design, unless you off-road it with your own compiled modules. Here the fuse module is built-in.

So how to mount a remote linux directory with built-in fuse?


KAFKA-16406: Splitting consumer integration test

Splitting consumer integration tests to allow for parallelization and reduce build times. This PR is only extracting tests from PlainTextConsumerTest into separate files, no changes in logic. Grouping tests by the feature they relate to so that they can be easily found

@AndrewJSchofield I think Lianet did not remove the PlaintextConsumerTest to makes sure we still run the tests in BaseConsumerTest in the plaintext case once. I guess we could make one of the categorized test suites inherit from BaseConsumerTest, but I think I'd prefer more just keeping PlaintextConsumerTest.

Thanks both for the comments. I do like @AndrewJSchofield 's idea of having it all categorized but I ended up with several unrelated tests that seemed hard to group in a sensible way. Also the fact that @lucasbru pointed out, that I wanted to keep the way of running the abstract BaseConsumerTest made me keep the PlaintextConsumerTest as a kind of generic one. Makes sense?
@lucasbru just to confirm, I did an exact copy of the contents, only changes were the additions mentioned in the comments.
For the record, I think there's more room for improvement with a similar approach in other tests, I will follow up on that, probably following with the PlaintextAdminIntegrationTest which is in a similar (even worse) situation regarding run times.
Thanks!

Two related flaky tests, kafka.api.PlaintextConsumerTest.testExpandingTopicSubscriptions(String, String)[4] and org.apache.kafka.tools.consumer.group.DescribeConsumerGroupTest.testDescribeExistingGroupWithNoMembers(String, String)[4]. But doesn't seem to be caused by this PR, as they have flaked on trunk before.


Cropping is sometimes inconsistent for text layers at smaller export sizes

"I had a screen grab with explanatory text around it. At large export sizes all was fine. As I got below say 40% image size I was finding that some exports were cropping off the text (not all did this). The only solution I could find was to put a background square in the grouped layer (i.e. under the generator export) so as to somehow force PS into thinking there was a bigger object to deal with than just the text."
I have asked for an example PSD. Waiting to hear back.

Let me know if you hear back, @timriot


Feature request: Central config file

Forgive me if there is one which I havent spotted but if not then it would seem useful to have a master config file which records all of the install time options, this should allow:

simplifying backup/restoration of config along side graph data #260
allow unattended re-installing in place to update feeders etc #251
have a place to store data entered by the user during install, such as LAT/LON, to be displayed in the portal and potentially used when setting up feeders #258
record any changes made by the install script such as those in #250

And I guess any other config data which is not directly related to the portal, and thus stored in its settings.xml file?

simplifying backup/restoration of config along side graph data #260

Much like this script does?
https://github.com/jprochazka/adsb-receiver/blob/master/bash/tools/portal_backup.sh

allow unattended re-installing in place to update feeders etc #251

In the works read on...

have a place to store data entered by the user during install, such as LAT/LON, to be displayed in the portal and potentially used when setting up feeders #258

Version 3 will add support for an installation configuration which is essence contains all answers to the questions asked by the scripts. As far as saving the multitude of 3rd party software related configurations so that changes made outside the scripts themselves goes I would not expect this feature to be added any time soon.

record any changes made by the install script such as those in #250

Install logs are saved to ~/adsb-receiver/logs/ after the scripts halt.


ISSUE-1024 keyPrefix option support Redis Cluster

https://github.com/luin/ioredis/issues/1024

@luin Could the bugfix be merged into the trunk?

We're looking for this to be merged as well

What about this bug? We hit this issue today

Sorry for the late response. It was indeed an oversight but the fix is somehow a breaking change so I think we should ship this fix in the next major release. For now, we may add a usage notice to README.md to save people's time.
Thanks for the contribution @cobolbaby !

To be honest I wouldn't consider it as breaking change but bugfix.
At this moment ioredis basically does not respect keyPrefix provided in redisOptions which is expected way of doing that (reflected in typings) which is clearly a bug.
For this moment I had to add it to top-level options and it works with Cluster but this is hopefully not long term solution...

when is this shipping ?

why exactly is this a breaking change?

This should be a bugfix.. or please update the documents :'( when is the next major release?

Hey @cobolbaby 👋
Sorry for the late response! Resolved this issue with #1522. Thanks for the contribution!


Cannot find changesets older than 2023-01-01

I'm submitting a (support or question)
Brief Description

I found out an object I created before (1 to 3 years ago) is deleted and recreated by another user. Because of the subject of it, seems a vandalism to me, so I tried to check what happened to it.
I tried to use OSMCha to filter my changesets by date or comment, but only changesets until 2023-01-01 were available. link to filter my changesets - oldest changeset that is listed
I also tried out a filter on date only, from 2022-01-01 to 2022-12-31 and no changesets found.
Question
Is this normal or is it intended in OSMCha to provide only recent changesets?
Please tell us about your environment:
Firefox 123 on Windows 11

Using another tool I found that changeset and OSMCha also loads this changeset but I didn't find it using filter in OSMCha.

The solution we found to decrease the costs while continuing to provide a good user experience was to only allow seeing changesets from Jan 1st, 2023. The older changesets weren’t deleted, but we need more financial resources to be able to have a database that allows users to query a larger amount of data. More on https://openstreetmap.us/news/2024/03/OSMCha-new-home/


Create a Client for apps made in the shopify admin

Overview
In order to get a session id, the user needs to go through the oauth flow, however, if we create an app in the shopify admin, there is no need to go through the oauth flow since we already have our access tokens. I have tried for many hours now to get this to work and I don't know if I am missing something small, but I can't seem to skip the oauth flow for apps that are made in the admin and therefore not embedded.
If I am mistaken , please add a small text to the docs here addressing this. The shopify.clients.Rest() function takes a sessionId and which requires going throught the oauth flow, which we don't need to do if the app is created in the admin

I second (or third) this.  @zchen3000 's solution looks like it might work but it also looks like a hack.  At the very least it would be nice to have some documentation around this.

Looks like this is sort of fixed now, there's a shopify.session.customAppSession helper to generate the dummy session for you.
Guide: https://github.com/Shopify/shopify-api-js/blob/main/docs/guides/custom-store-app.md

Correct me if I'm wrong but i don't believe the custom app session is something different than what is being requested @mkevinosullivan

@dbzx10299 But we lose type support, the whole point of the API.


merge from template-browser-ava

.github/workflows/ci.yml

chore(deps): remove 20.11.1 (jobs.test-node.strategy.matrix.node-version)

README.md

docs(README): update from template

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
47

Relevant Lines:
47

💛  - Coveralls


chore(setup): add pyproject.toml and poetry.lock for project setup

This PR adds the initial setup for the repository, including the pyproject.toml file for managing dependencies and the poetry.lock file for ensuring consistent installations.
Changes:

Added pyproject.toml with project metadata and dependencies.
Generated poetry.lock file.

Notes:

Followed the recommended practice of using Poetry for dependency management.
Configured dependencies and development tools in pyproject.toml.

This setup will help maintain consistent dependency versions across different environments and streamline the development process.

Hi @uniqueg,
Thank you for your feedback. Here is the plan to address your comments and suggestions:
Project Naming:
I will brainstorm and propose a better name for the project. It should be unique, and easy to search, type, and remember. I'll consider names in different languages and possibly
Ruff Integration:
Noted on using Ruff instead of Flake8, Pylint, and Black. I will incorporate Ruff when setting up the CI pipeline in future PRs.
Issue Creation:
I will ensure that every PR has a corresponding issue created and linked in the PR description. This will help in better project management and tracking of work packages. I'll review the project management boards of @JaeAeich and @athith-g to understand the process better.
I will proceed to create the necessary issues for the current PR and link them appropriately.
Thank you again for your guidance.


SMA Al Azhar Syifa Budi Solo

School URL: [https://smaasbsolo.sch.id/](SMA Al Azhar Syifa Budi Solo)

@kikit0106 First stage of verification passed, official domain is smaasbsolo.sch.id as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

Thanks @philipto

@kikit0106 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


"absolute" configuration not updating links in api catalog

While some links are getting updated to be absolute, the ones that are added to the automatically generated root, by adding the api route configuration, don't seem to get updated.

Thanks I'll take a look

i pushed a fix for this. would it be possible for you to test your configuration against the master branch before i issue a release?
thanks!

@bleupen sure thing. I updated to master and it looks like it took care of my issue. Thanks a lot for the quick response.

thanks for testing that out! I just published version 3.1.2.


[Solicitud] RTL8192CU Soporte

Porfavor ayudame con el soporte para el tp-link tl-wn823n v2 .

As mentioned in the description, all variants of RTL8192 are already supported. Is it not working? If not please capture a dmesg log right after plugging it into the phone and post it here.

https://user-images.githubusercontent.com/47122122/52950715-f8bac980-334d-11e9-9783-f4763fdbadf0.jpg
https://user-images.githubusercontent.com/47122122/52950646-cb6e1b80-334d-11e9-9688-f6d4fbab09ec.jpg
https://user-images.githubusercontent.com/47122122/52950655-d163fc80-334d-11e9-840d-d5e1c16a3a04.jpg)

There's nothing about the adapter itself, just a usb hub. Is the adapter powered and lighting up (if it has an led indicator)? Try plugging it in directly without the hub.

And this comes to me by running direct dmes from the terminal
ttps://user-images.githubusercontent.com/47122122/52951606-45070900-3350-11e9-8d68-aaebb3ce4ffb.jpg
https://user-images.githubusercontent.com/47122122/52951607-459f9f80-3350-11e9-99b6-0e7d66be4abf.jpg
https://user-images.githubusercontent.com/47122122/52951608-459f9f80-3350-11e9-824b-c421bcbc5a91.jpg
https://user-images.githubusercontent.com/47122122/52951609-459f9f80-3350-11e9-9683-8a10b8ae3b81.jpg

If clear is connected by otg to my cell phone samsung galaxy j7 prime The led indicator of the wifi adapter does not turn on and when I run the iwconfig command only my internal network card appears on my cell phone; tp link tl-wn823n does not appear.

Hm. What about lsusb and lspci?

Hello this appears to me when executing those commands
El mié., 20 de feb. de 2019 07:37, Rithvik Vibhu <notifications<EMAIL_ADDRESS>escribió:
Hm. What about lsusb and lspci?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/rithvikvibhu/nh-magisk-wifi-firmware/issues/17#issuecomment-465556830, or mute the threadhttps://github.com/notifications/unsubscribe-auth/As8GyrI2hdioDv5EiqZjPJ3yWG2Cb6Lgks5vPUF7gaJpZM4a_t81.

Hello this appears to me when executing those commands
https://user-images.githubusercontent.com/47122122/53092889-eecacf00-34e3-11e9-98c6-567f98e9f336.jpg

People facing the same issue could fix it here: https://github.com/Mange/rtl8192eu-linux-driver
That requires compiling drivers, which I can't help much. You can give it a try and see if it works.


@update event in admin component incorrect

PHP Version
8.3
Shopware Version
6.6
Expected behaviour
All characters in the text area should be returned.
Actual behaviour
The last character is not returned
How to reproduce
<sw-textarea-field
:label="$t('netzhirsch-serial-number.new')"
:placeholder="$t('netzhirsch-serial-number.placeholder')"
@update:value="saveSerialNumber"
v-model:value="numberAsText"

Component.override('sw-product-detail-base', {
...
methods: {
saveSerialNumber() {
console.log(this.numberAsText);
}
}

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-37802.
[created from NEXT-37802, comment 488236]

[public]
The problem here is the way Vue.js adds the listeners. With this example:
<sw-textarea-field :label="$t('netzhirsch-serial-number.new')" :placeholder="$t('netzhirsch-serial-number.placeholder')" @update:value="saveSerialNumber" v-model:value="numberAsText" >
The v-model is actually adding also an @update listener to update the numberAsText value, and it is after the listener of saveSerialNumber .
Here there is an extract of the https://vuejs.org/guide/components/v-model.html#basic-usage:

So when the saveSeralNumber callback is executed, the other listener is not executed yet.
There are multiple solutions to this:

Moving in the template the v-model before the @update:value. This way the value is updated before executing the saveSerialNumber.
<sw-textarea-field :label="$t('netzhirsch-serial-number.new')" :placeholder="$t('netzhirsch-serial-number.placeholder')" v-model:value="numberAsText" @update:value="saveSerialNumber" >

Using the value passed as a parameter in the saveSerialNumber :
saveSerialNumber(newValue) { console.log(newValue); }

Remove the @update:value listener and watch the numberAsText value:
 watch:{ numberAsText(newValue){ console.log(newValue); } }

We also detected an issue which makes the event to be emitted twice. We are already fixing it.
[created from NEXT-37802, comment 496693]


[Bug] Polymorphic relationships incorrectly mapped

I'm not sure if this is a new issue, or one that has been around for awhile, but I noticed that our polymorphic Address model does not seem to be working properly in Motor Admin. As you can see in the photo below, there is an address record incorrectly showing up as related to the Provider. The expected behavior would be that only addresses with the addressable_type provider show up here.
class Address < ApplicationRecord

belongs_to :addressable, polymorphic: true

class Provider < ApplicationRecord

has_one :address, as: :addressable

Thank you!

@drewbaumann in your example there is has_one polymorphic on provider model - so it should be displayed not in associations list but in the info table. has_many is displayed in associations and polymathic associations are filtered for the given parent record - i was not able to reproduce it on my dev setup.

Can you provide more details how you added addressable association?

@omohokcoj What sort of details would you like?
I believe I see what you are saying about the info table. A model that has a has_one would show alongside the columns in the provider show view much like your Note example. That is probably lacking because I am not explicitly showing that method via the field editor.
However, in your example you also have Notes in the menu to the left. I'm not sure what models Notes are associated with, but I am curious if you could replicate this by saving a note on Order.find(x) and another associated model where id = x to see if you can replicate this.

@drewbaumann can you provide some details on how the 'addressable' association appeared in the list?
It's not in your model - maybe it's from the custom association configs added via UI?

These are sections from my Motor.yml:
resources:
- name: address
  preferences:
    icon: road-sign
    columns:
    - access_type: hidden
      name: street_line_1_ciphertext
    - access_type: hidden
      name: street_line_2_ciphertext
    - access_type: hidden
      name: city_ciphertext
    - access_type: hidden
      name: zipcode_ciphertext
    - name: street_line_1
      display_name: Street line 1
      column_type: string
      access_type: read_write
      virtual: true
      format: {}
      validators: []
    - name: street_line_2
      display_name: Street line 2
      column_type: string
      access_type: read_write
      virtual: true
      format: {}
      validators: []
    - name: city
      display_name: City
      column_type: string
      access_type: read_write
      virtual: true
      format: {}
      validators: []
    - name: zipcode
      display_name: Zipcode
      column_type: string
      access_type: read_write
      virtual: true
      format: {}
      validators: []
    - reference:
        name: addressable
        display_name: Addressable
        model_name:
        reference_type: belongs_to
        foreign_key: addressable_id
        primary_key: id
        options: {}
        polymorphic: true
        virtual: false
      name: addressable_id
    - default_value: Provider
      validators:
      - format: "^Provider$"
        message: 'Must be: "Provider"'
      name: addressable_type
  updated_at: 2022-03-22 16:24:48.522204000 +00:00

- name: provider
preferences:
  icon: man
  custom_sql: SELECT first_name || ' ' || last_name as full_name, "providers".*
    FROM "providers"
  display_column: full_name
  columns:
  - column_type: string
    access_type: read_only
    name: uuid
  - reference:
      name: address
      display_name: Address
      model_name: address
      reference_type: has_one
      foreign_key: id
      primary_key: addressable_id
      options: {}
      polymorphic:
      virtual: false
    name: address
  - name: address_street_line_1
    display_name: Address Street Line 1
    column_type: string
    access_type: write_only
    virtual: true
    format: {}
    validators: []
  - name: address_street_line_2
    display_name: Address Street Line 2
    column_type: string
    access_type: write_only
    virtual: true
    format: {}
    validators: []
  - name: address_city
    display_name: Address City
    column_type: string
    access_type: write_only
    virtual: true
    format: {}
    validators: []
  - name: address_state
    display_name: Address State
    column_type: tag
    access_type: write_only
    virtual: true
    format:
      select_options:
      - AL
      - AK
      - AZ
      - AR
      - CA
      - CO
      - CT
      - DE
      - DC
      - FL
      - GA
      - HI
      - ID
      - IL
      - IN
      - IA
      - KS
      - KY
      - LA
      - ME
      - MD
      - MA
      - MI
      - MN
      - MS
      - MO
      - MT
      - NE
      - NV
      - NH
      - NJ
      - NM
      - NY
      - NC
      - ND
      - OH
      - OK
      - OR
      - PA
      - PR
      - RI
      - SC
      - SD
      - TN
      - TX
      - UT
      - VT
      - VA
      - WA
      - WV
      - WI
      - WY
    validators: []
    default_value: CA
  - name: address_zipcode
    display_name: Address Zipcode
    column_type: string
    access_type: write_only
    virtual: true
    format: {}
    validators: []
  associations:
  - name: addressable
    display_name: Addressable
    model_name: address
    foreign_key: addressable_id
    primary_key: id
    virtual: true
    polymorphic: false
    slug: addressable
updated_at: 2022-02-01 21:14:36.399955000 +00:00

  - name: addressable
    display_name: Addressable
    model_name: address
    foreign_key: addressable_id
    primary_key: id
    virtual: true
    polymorphic: false
    slug: addressable

There is polymorphic: false in configs - need to mark this association as polymorphic to fix the issue - or simply remove it from the configs and declare it in model as has_many:

@drewbaumann

@omohokcoj Thank you. We removed the association from Motor Admin so it does not appear next to the has_many associations and now appears like the other columns.
However, there still seems to be an issue with the way that is working. It appears that this polymorphic association isn't taking into account the addressable_type based on the given record and is instead just looking for the first Address where the addressable_id matches the Provider#id. This results in situations like the one below where it is pointing to a Patient instead of a Provider as expected.

@drewbaumann thanks for providing the details - i think now i was able to identify and fix the issue:
https://rubygems.org/gems/motor-admin/versions/0.3.9 - should be fixed in the latest version


it's impossible to clean up tabs in the top bar

Describe the bug
as you can see into screen attached, i can't delete/close two tabs into top bar menu
I can use normally superputty, since a new bar below is open

Please Try Help -> Diagnostics -> Clean up Stray Processes and report back if that does or does not clean up the inactive sessions.

Clean up Stray Processes do not solve the issue, even if those tho tabs are marked as inactive
SuperPuTTY version: <IP_ADDRESS>

What caused them to become inactive to begin with?

well, i don't know exactly how, I was playing with bars/views and it happened -  and now I cannot hide/delete that bar of inactive sessions.
do you have any hints?

In the Settings Folder (You can see location by pressing F2 -> Settings Folder) there should be a file called AutoRestoreLayout.XML, delete that file and see if it clears up your issue.


Dropped the window and breakpoints services from utilities. We decide…

…d to keep these in app core for now. The window service in this project wasn't working properly for some reason, and I think we decided it was too view specific anyway.

Version bumped from https://github.com/RenovoSolutions/TypeScript-Angular-Utilities/pull/10

What order should we merge #10, #12, and #13 in?

Version keeps increasing. Version order is 10, 12, 13 consecutively.

Yes


Update setup

Hey @ateucher ,
I updated PEMprepr and PEMr to rework the format and continued to add more functions. I tracked my key notes/questions and things to consider here. I checked with @ccarmour's workflow script to incorporate any sticky pts, although these seem mainly to be with checking input/output and file structure, so i think we have most of these covered off now.
Key updates:

converted vignette back to .RMD and move to PEMr package with a skeleton pipeline/workflow (still to be filled out in detail).
convert core templates back to .R and added scripts to show functions as placeholders in order
added functions: create_vectors, create_raster_template, create_covariates and get_cded_dem.
added placeholder tests for the above.
I left a placeholder for @ccarmour's lidar processing script updates to be added when complete.

It would be great to get your input on these two pull requests before i get too far down the rabbit hole.
Thanks!
@ccarmour and @whmacken - tagging you both to keep you in the loop, no need for input at this time.

hi @ateucher, I like your idea to split this into two reviews. I have made the requested changes to get the rmd check to work. Although there is still an undefined variable "data" in the utils.R . I think this function would require a bit more thought as it also relates to the .rda files. Perhaps a neater way to compact this. I am passing this back to you with a few notes on outstanding tasks for me to complete. Thanks again for your input.


[Testing] added the script to generate intermediate files

The user manual is in the README

Very good PR, thank you @robluo . I have a couple of comments which mainly have to do with the interface of the script.
I think it would be better to use "suites" for the different testcases (see how I did this previously for the router). The reason to do this is that I will often not be running a single benchmark, but a collection of benchmarks. If I want to run a single testcase, I can simply make a suite that only contains 1 benchmark.
My recommendation is to have your script take in two arguments: the path to the config file (which will contain the architecture and benchmarks) and the "suite" name. Your script can then check if that suite name exists and if it does not it will generate a unique folder with that suite name in a directory somewhere which contains all of the temporary files including the .net, .place, .route, and future fixed IO files.
So the directory structure would look something like this:
/testing
  /configs
    suite1_config.txt
    suite2_config.txt
  /tests
    /suite1
      ...
    /suite2
      ...

To handle the run_vtr_task script, feel free to create a temporary folder called "temp" which your script will create and delete after its done (just make sure a folder with that name does not already exist).
I also recommend adding a .gitignore file to ignore the folders we do not care about.
This would allow us to generate different testing suites automatically by replicating the config files which would be incredibly helpful. In the future, another script will be aware of this "tests" folder and we can run it on a given suite name. Let me know what you think?


Azure Defender alert on Kubernetes clusters should disable automounting API credentials

I tried opt out of automounting API credentials on /var/run/secrets/kubernetes.io/serviceaccount/token for a service account by setting automountServiceAccountToken: false on the ServiceAccount:
experiencing below exception:
3:48
Error: failed build extensions: failed to create extension "k8s_observer": open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
2022/08/10 19:30:53 main.go:143: application run finished with error: failed build extensions: failed to create extension "k8s_observer": open /var/run/secrets/kubern
etes.io/serviceaccount/token: no such file or directory

I'm not sure how to best help you. Is this a report for https://github.com/signalfx/splunk-otel-collector-chart?

Using helm for setup, hence I thought it associated here. issue resolved with alternate approach and I'm good for now. But I would recommend team to provide  suitable approach to remediate Azure Defender vulnerability on automounting API credentials

Thanks! What alternate approach did you take?

Created service account, bind and mapped the access token. Disabled the service account creation with helm install


Improve OIDC Auth

Currently it does not work with Azure/Google OIDC because it does not support setting a client secret.

Released in v1.16.


Documentation/readme

Minor Typo fixes in README updates. Great updates @Galaxy-Spam !

whoops, something weird in my local branch...


Fix ordering for force-sort-within-sections

Fixes #8661

Summary
Imports like from x import y don't have an "asname" for the module, so they were placed before imports like import x as w since None < Some(s) for any string s.
The fix is to first sort by first_alias, since it's None for import x as w, and then by asname.

Test Plan
I included the example from the issue to avoid future regressions.

I really appreciate the quick investigation and turnaround here @bluthej.

Well the regression was due to my refactor so that was the least I could do 😅
Plus it was an easy fix ^^


Add become: True to node_exporter when TLS enabled

Node Exporter fails to start and then the service fails with:
TASK [osp.edpm.edpm_telemetry : Restart node_exporter] *************************
task path: /usr/share/ansible/collections/ansible_collections/osp/edpm/roles/edpm_telemetry/tasks/install.yml:139
fatal: [compute-0]: FAILED! => {"changed": false, "msg": "Unable to restart service edpm_node_exporter.service: Job for edpm_node_exporter.service failed because the control process exited with error code.\nSee \"systemctl status edpm_node_exporter.service\" and \"journalctl -xeu edpm_node_exporter.service\" for details.\n"}

We're already using "become: true" in the non-tls version of the task.
We have another PR blocked by this issue: https://github.com/openstack-k8s-operators/dataplane-operator/pull/754

/lgtm


Refactored footer and changed logo on navbar in dark mode

Proposed changes

Refactored footer on dark mode

a) Changed color of headings
b) Changed hover color on text.
c) Changed border color and background of social icons.
d) Changed color of dashes and box-shadow of footer.

Changed color of icon-hover on navbar in dark mode.

https://user-images.githubusercontent.com/59244300/113399090-44f5e600-93bd-11eb-8e0f-94624d0c3867.mp4
Brief description of what is fixed or changed
Types of changes
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] My changes does not break the current system and it passes all the current test cases.

@Kajol-Kumari, Please review :)

Done with the requested changes @Kajol-Kumari , please review :)


[Beta] Sandbox preview height is continuously increasing

https://user-images.githubusercontent.com/43666833/178135499-3b4ae310-2d89-48da-8ba3-45f54d2e3359.mp4

Interesting, I was not able to reproduce this


Shorthand notation for constructing ITensor from Array A(i, j)

It just struck me that we could have a shorthand notation for making an ITensor from an Array:
i = Index(2)
j = Index(2)
A = randn(2, 2)
# Could mean: itensor(A, i, j) or ITensor(A, i, j)
T = A(i, j)
# Alternative:
T = A[i, j]

I don't have a strong opinion about parentheses vs. brackets. The parentheses make it look a bit more like a constructor call, or like the notation for a multilinear map, so I might prefer that one.
Both might be a bit too tricky.

Hm, you know I kind of like it, and personally favor the square bracket one, the reason being that A[i=>1,j=>2] can be viewed as "get the slice of A for which i goes from 1:1 and j from 2:2" so then A[i=>1:end,j=>1:end] would be "get the slice of A where i and j go over their full ranges i.e. return an array which contains all the elements of A" and then A[i,j] could be viewed as a shorthand for A[i=>1:end,j=>1:end] especially since the concept of an Index in ITensor is that of a vector space (i.e. all the values 1:end taken together).
So in short, I think we will eventually want this as part of the ITensor slicing system anyway.

Generally I agree with your logic, though I wouldn't have expected that you could slice a Julia Array like A[i => 1:end, j => 1:end], only an ITensor that already has the indices i, j, so I can't decide if the analogy with slicing notation makes the notation A[i, j] better or worse.
What I mean is that I agree that A[i, j] could naturally be interpreted as A[i => 1:end, j => 1:end], but that operation could be confusing since A doesn't have the indices i and j yet. A priori, if I saw the operation A[i => 1:end, j => 1:end], I wouldn't be sure if it should return an Array, where you just ignore the indices and interpret it as A[1:end, 1:end], or a slice which then takes on the indices that were input (i.e. an ITensor with indices i, j). From that perspective, A(i, j) may be less confusing since it just uses a different notation entirely, and the parentheses invoke a constructor call.
But over all, bracket notation [...] is more closely associated with indexing in general, so that is probably the way to go.
Another boost for the bracket notation is that you can interpret the notation from TensorOperations and Einsum as notation for adding temporary labels to an array:
using TensorOperations

da, db, di = 2, 2, 2
A = randn(da, di)
B = randn(di, db)
@tensor C[a, b] := A[a, i] * B[i, b]

so there is a precedence for using bracket notation to add labels to an array. Using bracket notation would allow us to write very similar code in ITensor:
using ITensors

da, db, di = 2, 2, 2
a, b, i = Index.((da, db, di))
A = randn(da, di)
B = randn(di, db)
C = A[a, i] * B[i, b]

which is compact and readable.

Oh yes of course, I got it backwards, thinking of A as an ITensor but of
course it’s an array. So my point stands about what T[i,j] might do and
what it might mean, but yes what A[i,j] might do is definitely a separate
question.
Let’s think about it. I do definitely like how it allows one to essentially
write einsum or TensorOperations code using the ITensors package - that’s
neat and appealing.
The main downside, which I’m sure you anticipate, is that it might lead to
some example or typical ITensor code being a bit ‘tricky’ to parse for
beginners. But I think that sort of thing is ok as long as we don’t overuse
such features in introductory documentation and tutorials.
On Wed, Jun 2, 2021 at 1:32 PM Matt Fishman @.***>
wrote:

Generally I agree with your logic, though I wouldn't have expected that
you could slice a Julia Array like A[i => 1:end, j => 1:end], only an
ITensor that already has the indices i, j, so I can't decide if the
analogy with slicing notation makes the notation A[i, j] better or worse.
What I mean is that I agree that A[i, j] could naturally be interpreted
as A[i => 1:end, j => 1:end], but that operation could be confusing since
A doesn't have the indices i and j yet. A priori, if I saw the operation A[i
=> 1:end, j => 1:end], I wouldn't be sure if it should return an Array,
where you just ignore the indices and interpret it as A[1:end, 1:end], or
a slice which then takes on the indices that were input (i.e. an ITensor
with indices i, j). From that perspective, A(i, j) may be less confusing
since it just uses a different notation entirely, and the parentheses
invoke a constructor call.
But over all, bracket notation [...] is more closely associated with
indexing in general, so that is probably the way to go.
Another boost for the bracket notation is that you can interpret the
notation from TensorOperations and Einsum as notation for adding
temporary labels to an array:
using TensorOperations
da, db, di = 2, 2, 2
A = randn(da, di)
B = randn(di, @.*** C[a, b] := A[a, i] * B[i, b]
so there is a precedence for using bracket notation to add labels to an
array. Using bracket notation would allow us to write very similar code in
ITensor:
using ITensors
da, db, di = 2, 2, 2
a, b, i = Index.((da, db, di))
A = randn(da, di)
B = randn(di, db)
C = A[a, i] * B[i, b]
which is compact and readable.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ITensor/ITensors.jl/issues/673#issuecomment-853244486,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHJ3RNBECIO3FHHLECEMFTTQZTKRANCNFSM455HU2AQ
.

--
-=Miles Stoudenmire=-
@.***
@.***
http://itensor.org/miles/


convert from jekyll to zola

I experienced dependency hell with ruby and jekyll on my new machine so figured the workshop template should be converted to Zola just like coderefinery.org. But these first steps are fumbling in the dark a bit.
@bast when you have time, can you have a look at give advice if something should be organised differently?
Todos:

arbitrary number of logos now supported, but would be better to have them in a box on the right side rather than under title
split into two columns? although i think single column looks fine
"improve this page" button in navigation bar not working. Setting a "repository_url" in config.toml and using it as config.repository_url in a template didn't work

Great! Thanks for doing this. I will review and comment over the weekend. Let me know if you need this earlier in.

thanks! no need to review by today, but early next week i think we'll need to have it for the hackathon page

About the dependency hell: What I started doing when needing Jekyll is this: https://github.com/Starefossen/docker-github-pages

I made few changes:

two-column: I agree, single-column is simper
logos: they are now in config.toml
for repository_url: I moved it below [extra] - have a look how I am using config.extra.logos

great, thanks for fixing this! i'll merge and if needed follow up in new PRs


Add tool to generate data for model training

Pull from Markup 1

Not needed for the current approach. Will reopen if the Seq2Seq approach is revisited.


fix(SR): Fix/sr SCOORD3D not loading

Context
This PR is related to IDC issue #1215 and wants to enable OHIF to support SCOORD3D annotations and SR polyline annotations  in IDC that didnt follow the OHIF / Cornerstone standards. It introduces the idea to customize the dicomSr extension by checking if 'dicomSrExtensionCustomizations' id is defined in a modeCustomization. If yes it checks if a convertAnnotation function is defined and execute it if it exists. This function will be responsible for converting the non conformant SRs to OHIF/Cornerstone compatible ones by rewriting the SR metadata. An example of such function is defined in here. https://github.com/ImagingDataCommons/ohif-idc-mode/pull/3

Changes & Results
This PR adds checking inside dicomsr extension to use, if defined a function called converAnnotations that should perform the proper and necessary converstions to support non conformant SRs, in this case SCOORD3D point annotations and polyline annotations.

The changes only affect modes that register the dicomSRExtensionCustomizations in customizationServices.
Testing
To test it, one should create a new mode or modify the longitudinal mode following this PR https://github.com/ImagingDataCommons/ohif-idc-mode/pull/3.
And need to setup a local dicomweb server and add the studies in the following dropbox link:
https://www.dropbox.com/s/98rylgt25b2sm9r/planar_annotations.zip?dl=0
And open the respective studies. Once opened, just click in the SR series, that originally has only two annotations, but one will see that ten new arrow annotations were added in the measurements tabel, were one can jump to all of them.

Checklist
PR

[x] My Pull Request title is descriptive, accurate and follows the
semantic-release format and guidelines.

Code

[x] My code has been well-documented (function documentation, inline comments,
etc.)

Public Documentation Updates

[x] The documentation page has been updated as necessary for any public API
additions or removals.

Tested Environment

[x] OS: Windows 10
[x] Node version: 16.14.0
[x] Browser: Chrome 116.0.5845.97, Firefox 116.0.3

I would like to have a test instance of this PR with OHIF that can be pointed to a Google DICOM store, before this is merged.

In my tests I am doing exactly that.

In my tests I am doing exactly that.

Very good. In this case I hope it should be easy to create a setup where I would be able to do it as well.

I will talk to @igoroctaviano so I can create something like the https://ohif-v3.web.app/

@sedghi can't we have something like https://github.com/OHIF/Viewers/blob/v2-legacy/extensions/cornerstone/src/tools/DICOMSRDisplayTool.js for v3/cornerstone3d? This way we have a generic cs tool that renders any kind of scoord3d graphic type.

@igoroctaviano Don't we have it already in OHIF in measurement tracking?

@igoroctaviano Don't we have it already in OHIF in measurement tracking?

@rodrigobasilio2022 please check if we could use this tool then.

It already has. The problem is that it doesnt enable measure jump and, of course, it didn't open the any of these SR examples

It already has. The problem is that it doesnt enable measure jump and, of course, it didn't open the any of these SR examples

Can we make it work then? what we can do to fix the jump and the support?

The reason I would like to do this is because I want to confirm it works not only for the test samples, but also for the similar annotations we create. In the past, with v2, the implementation was not working the way we expected. I don't think there is any urgency to merge this PR, it is more important to confirm it works as expected first.

https://d3w0jbfdn2j3pj.cloudfront.net/

No this is not ready for review, as we need to add the functionality described in the issue, maybe creating a new MeasurementTable

You mean on the SR view, you want measurement panel to show annotations? but right now we only show for hydrated?

@rodrigobasilio2022 before the code review, I would like to have access to a test instance to confirm it works as intended.

@rodrigobasilio2022 whats the status of this PR based on our last iteration? Have you made the changes? I think you doing it its going to be a lot faster than handing it off. Let me know what you think.


Opening post in a new tab should reveal the full post

Describe the bug
When a user clicks to open any post in a new tab, the condense post behavior (https://github.com/near/neardevhub-widgets/issues/84) applies. This means that the user needs to click again on "Read More" to read the post. While the condense post behavior is useful on the homepage feed or search results where the user sees many posts, it is less useful on the actual post.
To Reproduce
Steps to reproduce the behavior:

Go to http://neardevhub.org
Click on the "Open in a new tab" icon for any post
Post renders with "Read more"

Expected behavior
When a user goes to a specific post URL, user should see the full post and comments without the collapse.
Screenshots

Desktop:

OS: Safari
Browser: Safari
Version: Version 16.4 (186<IP_ADDRESS>.22)

Note: I realize this bug was potentially caused by design with the acceptance criteria:
Posts should get condensed consistently across the platform (e.g. feed, search results, etc)
Would like to exclude full posts from this please. Thank you!

I would like to address this issue as my first contribution.

Hi @projectnoa – thanks so much for expressing interest 🔥. We appreciate your willingness to contribute!
We have assigned this ticket to you and would like to kindly request that you submit a pull request with your solution within one week. If you are no longer able to work on this issue, please let us know so we can reopen it for another developer to take on. Once again, thanks so much and we look forward to your contribution.

Hi @projectnoa – How's it going? Just wanted to check in on this. Thanks so much.

Hi @projectnoa – How's it going? Just wanted to check in on this. Thanks so much.

Hi @ori-near, sorry for the delay. I was struggling with the process of testing my changes since it seems that I have to have a Wallet and have money on it to test on the NEAR social website.
Let me know your observations on my change.
Thanks!

No worries @projectnoa – it looks like your merge was approved. Thanks so much for your contribution 🙏.


VHud will not run

Describe the bug
Everytime i installed VHud, the ASI of VHud will not work
To Reproduce
Steps to reproduce the behavior:

Install VHud
You will notice that VHud will not work

Expected behavior
VHud runs successfully

Write what mods you use and what kind of Asi Loader you have

Write what mods you use and what kind of Asi Loader you have

i am using Silent's ASI Loader
and oh! i used VHud 0.942

Write what mods you use and what kind of Asi Loader you have

i am using Silent's ASI Loader and oh! i used VHud 0.942

Try the ESSENTIALS mod and CrashInfo (both from the Mixmods page) I hope they can help you and if not, I'm sorry.


Update outdated links

Related issue: #28575
/language en

Thanks! :)
/lgtm

/kind cleanup

Page previews:
https://deploy-preview-28748--kubernetes-io-main-staging.netlify.app/docs/reference/glossary/?all=true#term-preemption
https://deploy-preview-28748--kubernetes-io-main-staging.netlify.app/docs/reference/command-line-tools-reference/feature-gates/

Thanks @jihoon-seo .
/approve


Android studio chipmunk canary 7 gives error!

Translation error: com.airsaid.localization.translate.TranslationException: Failed to translate "My Application" text from Auto language to *** language: java.net.HttpRetryException: cannot retry due to redirection, in streaming mode

Came here to talk about the same problem.
https://stackoverflow.com/questions/16748969/java-net-httpretryexception-cannot-retry-due-to-server-authentication-in-strea/29468005

use google.com  helps @garawaa

Unfortunately, even with google.com, I received it in a few minutes and everything was interrupted
20:04	Translation error: com.airsaid.localization.translate.TranslationException: Failed to translate "Back to order" text from Auto language to Azerbaijani language: java.net.HttpRetryException: cannot retry due to redirection, in streaming mode

I got an error when I wanted to translate into a new language, that is, I had to translate all the lines, maybe there were a lot of them. When I translated into a language that has already been partially translated, everything turned out without errors

It is recommended to use your own api key.


Change of routes provokes full page refresh.

I have defined several routes. When clicking on anchors pointing to these routes some perform traditional iron router functionality (render of page parts), while some routes provoke the full page refresh, just like if I would link to external site. It looks like iron router is not picking up the anchors. Any idea what the problem could be?

The culprit was semantic-ui. When calling $('.ui.dropdown').dropdown({on: 'hover'}); it somehow removes the iron router behaviour. I have submitted bug report to them.


Fixing Product Type Report error when there are no findings

Steps to reproduce
Steps to reproduce the behavior:

Create a new Product Type
In the Product Type List page, click on Report button (next to "Edit Product Type")

Expected behavior
User should be taken to Generate Product Type Report page.
Traceback (optional)
Traceback:

File "/usr/local/lib/python3.5/site-packages/django/core/handlers/exception.py" in inner
  34.             response = get_response(request)

File "/usr/local/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
  115.                 response = self.process_exception_by_middleware(e, request)

File "/usr/local/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
  113.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/usr/local/lib/python3.5/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
  21.                 return view_func(request, *args, **kwargs)

File "./dojo/reports/views.py" in product_type_report
  333.     return generate_report(request, product_type)

File "./dojo/reports/views.py" in generate_report
  597.             start_date = timezone.make_aware(datetime.combine(findings.qs.last().date, datetime.min.time()))

Exception Type: AttributeError at /product/type/5/report
Exception Value: 'NoneType' object has no attribute 'date'

@madchap can you review this PR whenever you get a chance? Trying to prevent it from going stale. I can't specifically add any reviewer. Thank you.


C++11 in default GNU C++ plugin

Should the default GNU C++ plugin use the -std=c++11 flag?
https://github.com/coderefinery/autocmake/blob/master/compilers/GNU.CXX.cmake

I thought at some point that it was a good idea. But apparently not? Would you prefer this not to be a default flag?

I am not sure. Sadly enough, C++11 compliance still crosses out a lot of proprietary compilers from being usable.

OK - for consistency it would then make sense to take it out, right?

That would be my preferred solution. There can be an extra plugin to adjust the C++ standard version, which would check compiler version and standard library, like here The plugin should only kick in if the CMake version is less than 3.0, however.

I agree - I will remove the flag shortly.

thanks! :+1:


Update order taxes by webhooks

I want to merge this change because...
TODO:

[x] Update Order model (SALEOR-4356)
[ ] Invalidate order prices (SALEOR-4357)
[x] Extend webhook Order payload (SALEOR-4363)

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-4357 Invalidate order prices

Task linked: SALEOR-4356 Update Order model

Task linked: SALEOR-4363 Extend webhook Order payload


AYON 'onScriptSave' callback can block saving workfile if it errors

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior:
Ayon uses onScriptSave callback to update nodes' colors. If this fails by any reason, artist is not able to save the file.
https://github.com/ynput/ayon-nuke/blob/b92271160f3547f986e0b9425275ef7f11b2bbdf/client/ayon_nuke/api/pipeline.py#L166
Expected Behavior:
Failing the callback should not block the save.
Version
1.0.0
What platform you are running on?
Windows
Steps To Reproduce:

Open Nuke workfile, make some changes
Stop Ayon server
Save

Are there any labels you wish to add?

[X] I have added the relevant labels to the bug report.

Relevant log output:
No response
Additional context:
No response

Thanks for the report.

Do you have a reproducable how to make it fail?

And does it still log an error / provide a stack trace? If so, could you attach one?

Does it work if we make the callback itself run completely within a try..except

Do you have a reproducable how to make it fail?

This did happen when artist lost connection to the Ayon server, I will have to find a way to sabotage it.

And does it still log an error / provide a stack trace? If so, could you attach one?

Yes. I didn't save the trace, but it failed here:
    filtered_containers = filter_containers(containers, project_name)

Does it work if we make the callback itself run completely within a try..except

Yes, try / except in check_inventory_versions worked.
Sorry fon non-complete report, I had to help artists yesterday, making issue today so I do not forget.
BTW I had the same problem in OpenPype, once in a while the OpenPype data in Nuke node get corrupted, and artist was not able to save.


Add .wbn previews

Currently .wbn show a 2d picture instead of a preview like models/avatars

Closing in favor of https://github.com/webaverse/app/issues/567


The Criminal by Asbjørn unsupported.

Check if issue with swaglyrics or whether song lyrics unavailable on Genius.

stripper -> Asbjorn-The-Criminal

added support