Quarkus renaming REST extensions

fixes #250

Err:9 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal/main amd64 gdb amd64 10.2-0ubuntu1~20.04~1
  503  Service Unavailable [IP: <IP_ADDRESS> 80]
E: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/pool/main/g/gdb/gdb_10.2-0ubuntu1~20.04~1_amd64.deb  503  Service Unavailable [IP: <IP_ADDRESS> 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Err:9 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal/main amd64 gdb amd64 10.2-0ubuntu1~20.04~1
  503  Service Unavailable [IP: <IP_ADDRESS> 80]
E: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/pool/main/g/gdb/gdb_10.2-0ubuntu1~20.04~1_amd64.deb  503  Service Unavailable [IP: <IP_ADDRESS> 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

@jerboaa GHA glitching...

Yeah. :-(
Question: What does quarkus main, i.e. 999-SNAPSHOT, amount to in terms of quarkus version? Or in other words, has the main branch been tested with this?

Err:9 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal/main amd64 gdb amd64 10.2-0ubuntu1~20.04~1
  503  Service Unavailable [IP: <IP_ADDRESS> 80]
E: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/pool/main/g/gdb/gdb_10.2-0ubuntu1~20.04~1_amd64.deb  503  Service Unavailable [IP: <IP_ADDRESS> 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

@jerboaa GHA glitching...

Yeah. :-(
Question: What does quarkus main, i.e. 999-SNAPSHOT, amount to in terms of quarkus version? Or in other words, has the main branch been tested with this?

999-SNAPSHOT, amount to in terms of quarkus version?

it could mean anything, it's just the main branch build, says nothing about its age. In my case on my laptop with this PR, that is: 9d6f6335c6 built as $ time ./mvnw -Dquickly -Prelocations

 Error:  Failures:
Error:    PerfCheckTest.testQuarkusFullMicroProfile:506 build-and-run.log log should not contain error or warning lines that are not whitelisted. See /home/runner/work/mandrel-integration-tests/mandrel-integration-tests/ts/testsuite/target/archived-logs/org.graalvm.tests.integration.PerfCheckTest/testQuarkusFullMicroProfile/build-and-run.log and check these offending lines:
	at io.quarkus.security.runtime.SecurityIdentityAssociation_ClientProxy.arc$delegate(Unknown Source)
	at io.quarkus.security.runtime.SecurityIdentityAssociation_ClientProxy.getIdentity(Unknown Source)
2024-03-20 21:43:55,439 ERROR [org.jbo.thr.errors] (executor-thread-2) Thread Thread[#56,executor-thread-2,5,main] threw an uncaught exception: jakarta.enterprise.context.ContextNotActiveException: RequestScoped context was not active when trying to obtain a bean instance for a client proxy of CLASS bean [class=io.quarkus.security.runtime.SecurityIdentityAssociation, id=Qby7zgDOyRL0j3YxdYwwuXFQIeE]
	at io.quarkus.security.runtime.SecurityIdentityProxy_ClientProxy.isAnonymous(Unknown Source) ==> expected: <true> but was: <false>
	```

	New failure. Investigating....

999-SNAPSHOT, amount to in terms of quarkus version?

it could mean anything, it's just the main branch build, says nothing about its age. In my case on my laptop with this PR, that is: 9d6f6335c6 built as $ time ./mvnw -Dquickly -Prelocations

So does it apply the new 3.9 patch does it? Otherwise it wouldn't build, right?

999-SNAPSHOT, amount to in terms of quarkus version?

it could mean anything, it's just the main branch build, says nothing about its age. In my case on my laptop with this PR, that is: 9d6f6335c6 built as $ time ./mvnw -Dquickly -Prelocations

So does it apply the new 3.9 patch does it? Otherwise it wouldn't build, right?

So does it apply the new 3.9 patch does it? Otherwise it wouldn't build, right?

I used  -Prelocations so as it builds even without the patch. That way I collected all failures in the log where the TS spotted WARNING about extension relocation. Then I went app by app adding a patch...

999-SNAPSHOT, amount to in terms of quarkus version?

it could mean anything, it's just the main branch build, says nothing about its age. In my case on my laptop with this PR, that is: 9d6f6335c6 built as $ time ./mvnw -Dquickly -Prelocations

So does it apply the new 3.9 patch does it? Otherwise it wouldn't build, right?

So does it apply the new 3.9 patch does it? Otherwise it wouldn't build, right?

I used -Prelocations so as it builds even without the patch. That way I collected all failures in the log where the TS spotted WARNING about extension relocation. Then I went app by app adding a patch...

But that's not what the CI is using, right? Please check it builds with quarkus main (without -Prelocations) and passes the test. Thanks!

But that's not what the CI is using, right?

It indeed ain't, it would not have been failing the way it did otherwise. I merely used it to make the update easier.
As you can see, I added Q 3.9.0.CR2 to the CI here, so it is going to be easily visible that it works / doesn't work.
I am trying to sort out the failure on GHA now, what is cached glitch and what is actual failure.
Pls do not merge until it's all green.

As you can see, I added Q 3.9.0.CR2 to the CI here, so it is going to be easily visible that it works / doesn't work.

But that doesn't test main branch and how 999-SNAPSHOT versions are being handled (in terms of the 3.9.x patch). Hence my ask to test with the main branch as well.

Forgot about DebugSymbolsTest.debugSymbolsQuarkusContainer:, fixing...

So it's not just Q 3.8.3, it's intermittently Q 3.9 too :-(
Error:  Failures:
Error:    PerfCheckTest.testQuarkusFullMicroProfile:506 build-and-run.log log should not contain error or warning lines that are not whitelisted. See /home/runner/work/mandrel-integration-tests/mandrel-integration-tests/ts/testsuite/target/archived-logs/org.graalvm.tests.integration.PerfCheckTest/testQuarkusFullMicroProfile/build-and-run.log and check these offending lines:
	at io.quarkus.security.runtime.SecurityIdentityProxy_ClientProxy.arc$delegate(Unknown Source)
2024-03-21 23:43:10,519 ERROR [org.jbo.thr.errors] (executor-thread-1) Thread Thread[#20,executor-thread-1,5,main] threw an uncaught exception: jakarta.enterprise.context.ContextNotActiveException: RequestScoped context was not active when trying to obtain a bean instance for a client proxy of CLASS bean [class=io.quarkus.security.runtime.SecurityIdentityProxy, id=U3fuB4yO9MSr82V2xU36xFn98dk]
2024-03-21 23:43:23,967 ERROR [org.jbo.thr.errors] (executor-thread-1) Thread Thread[#20,executor-thread-1,5,main] threw an uncaught exception: jakarta.enterprise.context.ContextNotActiveException: RequestScoped context was not active when trying to obtain a bean instance for a client proxy of CLASS bean [class=io.quarkus.security.runtime.SecurityIdentityProxy, id=U3fuB4yO9MSr82V2xU36xFn98dk]
2024-03-21 23:43:41,969 ERROR [org.jbo.thr.errors] (executor-thread-3) Thread Thread[#35,executor-thread-3,5,main] threw an uncaught exception: jakarta.enterprise.context.ContextNotActiveException: RequestScoped context was not active when trying to obtain a bean instance for a client proxy of CLASS bean [class=io.quarkus.security.runtime.SecurityIdentityProxy, id=U3fuB4yO9MSr82V2xU36xFn98dk]
	at io.quarkus.security.runtime.SecurityIdentityProxy_ClientProxy.isAnonymous(Unknown Source) ==> expected: <true> but was: <false>
[INFO]

I incline towards whitelisting so as we have CI clean and investigating separately.

I incline towards whitelisting so as we have CI clean and investigating separately.

+1 and please file an issue to investigate it. Thanks!

@jerboaa IMHO ready to merge.
Ad io.quarkus.security.runtime.SecurityIdentityAssociation: I am crafting a Q reproducer project and I can deterministically reproduce it. It requires the combination of MP JWT + REST Client + OpenTelemetry in a single app context. It is unrelated to native. As soon as I have the minimal reproducer gift wrapped, I paste it on Quarkus issues. It might be so that /me trying to make it simpler for the test app, mushing together client+server app in a single one does something OT did not expect.

@jerboaa  Follow up Q issue: https://github.com/quarkusio/quarkus/issues/39667
(it's possible that it's my fault, but let the Q folks decide....)


Logarithmic Scale incorrectly displayed when some values are 1

Description
Height of bars are incorrectly set on a histogram with a logarithmically scaled y axis, this is shown in the first screenshot.
Steps to Reproduce

Create a chart of histogram type series values of integers spanning from 1 to 100,000+, as in the first screenshot.
Set the yaxis to logarithmic:

yaxis: {
  logarithmic: true
}

Expected Behavior
The graph should roughly look like screenshot 2, expect the scale should be large enough to include all the values in the histogram (except zeros) - including the values of 1.
The screenshot is produced by applying a "fix" in the settings, making the yaxis on the chart options:
yaxis: {
  logarithmic: true,
  min: 0.1
}

Notice that the chart cuts off all values which are 1, instead of setting the y scale to include "0.1".
Actual Behavior
Larger values are clipped and not displayed according to the axis correctly.
Screenshots
Screenshot 1:

Screenshot 2:

Reproduction Link
Original:
https://codepen.io/jfm1029/pen/XWeLBKo
Almost fixed:
https://codepen.io/jfm1029/pen/mdBZjEE

I have similar problem . The problem with the wrong height of the bars when using logarithmic scale isn't only when inserting series value with the value 1.
For Example, the graph received for for series values of  [30, 430, 448, 470, 540, 580, 690, 1100, 1200, 1380]:
Actual Behavior:

Expected Behavior:


add mixtral-8x7B sagemaker notebooks for trt-llm and lmi-dist

Will merge after the release.

Don't forget to add these notebooks to the index http://docs.djl.ai/docs/demos/aws/sagemaker/large-model-inference/index.html

@rohithkrn just for ease, could you also add a vllm sample?

Looks good


SSI - Define & implement revocation process (ext: CXAR-1045)

+Benefit Hypothesis+
Verified Credential revocation process design and implementation.
This includes

revocation of a credential because of VC expiry
revocation of a credential because of the framework/policy expiry
revocation of a credential because of non compliant behavior
allert process to inform the credential holder about the revocation (at time of revocation as well as upfront)

+Dependencies+
The ticket has dependencies to
https://jira.catena-x.net/browse/CXAR-1049
https://jira.catena-x.net/browse/CXAR-1048

Components: CPLP, EDC, MIW
Sprints: N/A
Fix Versions: N/A
StoryPoints: N/A
Attachments: N/A

closed - tickets are managed and created on sig-release
closing this ticket
functional implementation as part of 24.05.


leg blaze pet hpb bug

Describe the bug
legendary blaze pet shows the double potato book effect on armour, but not on weapons.
Profile/Location
A link to the profile which the bug occurred with, if applicable (e.g. https://sky.shiiyu.moe/stats/giftMVP/Blueberry)
additional info
frozen blaze armour and legendary blaze pet
Expected behavior
for it to show on weapons, as it does in game
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Windows 10]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
I am on Android and was using the app when I found the bug

Additional context
Add any other context about the problem here.

Yeah this is how we get the data from hypixel, my theory is since the profile saves when you swap server or disconnect, in those moments you are not really holding anything in hand, so there's nothing to double hpb on...
Either way thanks for reporting this, but fixing this manually would require a lot of time for a very little benefit so it will most likely remain how it is right now


switched to external helm chart

Merging.  This automation's verification action is passing the deploy stage, but failing in destroy phase due to a known issue when using gitea.  It is not a bug in this module.


Test failure: TestLogWritesToGlobalLogFile

This issue was made automatically. If there is a problem contact ryanbrandenburg.
This test failed with the following error:
Assert.Equal() Failure
                                 ↓ (pos 74)
Expected: ···ging initialized at TIMESTAMP. Configure the output directory···
Actual:   ···ging initialized at "TIMESTAMP". Configure the output directo···
                                 ↑ (pos 74)
   at Microsoft.Extensions.Logging.Testing.Tests.AssemblyTestLogTests.<TestLogWritesToGlobalLogFile>b__7_0(String tempDir) in /_/test/Microsoft.Extensions.Logging.Testing.Tests/AssemblyTestLogTests.cs:line 108
   at Microsoft.Extensions.Logging.Testing.Tests.AssemblyTestLogTests.RunTestLogFunctionalTest(Action`1 action, String testName) in /_/test/Microsoft.Extensions.Logging.Testing.Tests/AssemblyTestLogTests.cs:line 181
   at Microsoft.Extensions.Logging.Testing.Tests.AssemblyTestLogTests.RunTestLogFunctionalTest(Action`1 action, String testName) in /_/test/Microsoft.Extensions.Logging.Testing.Tests/AssemblyTestLogTests.cs:line 194
--- End of stack trace from previous location where exception was thrown ---
------- Stdout: -------
| [0.001s] TestLifetime Information: Starting test TestLogWritesToGlobalLogFile at 2018-10-05T21:30:34
| [0.003s] Test Information: Created test log in C:\b\t\buildTmp\TestLogging_d17fe8260f964c6da93a276be1df5187
| [0.007s] Test Information: Finished test log in C:\b\t\buildTmp\TestLogging_d17fe8260f964c6da93a276be1df5187
| [0.011s] TestLifetime Information: Finished test TestLogWritesToGlobalLogFile in 0.0097661s

Other tests within that build may have failed with a similar message, but they are not listed here. Check the link above for more info.
This test failed on master.
CC @Eilon (because the bot doesn't know who else to pick)

This comment was made automatically. If there is a problem contact ryanbrandenburg.
Please use this workflow to address this flaky test issue, including checking applicable checkboxes and filling in the applicable "TODO" entries:

Is this actually a flaky test?

No, this is a regular test failure, fix the test/product (TODO: Link to commit/PR)
Yes, proceed below...

Is this test failure caused by product code flakiness? (Either this product, or another product this test depends on.)

[ ] File a bug against the product (TODO: Link to other bug)
Is it possible to change the test to avoid the flakiness?

Yes? Go to the "Change the test!" section.
No?

[ ] Disable the test (TODO: Link to PR/commit)
[ ] Wait for other bug to be resolved
[ ] Wait for us to get build that has the fix
[ ] Re-enable our test (TODO: Link to PR/commit)
[ ] Close this bug

Is it that the test itself is flaky? This includes external transient problems (e.g. remote server problems, file system race condition, etc.)

Is there is a way to change our test to avoid this flakiness?

Yes? Change the test!

[ ] Change the test to avoid the flakiness, for example by using a different test strategy, or by adding retries w/ timeouts (TODO: Link to PR/commit)
[ ] Run the test 100 times locally as a sanity check.
[ ] Close this bug

No?

Is there any logging or extra information that we could add to make this more diagnosable when it happens again?

Yes?

[ ] Add the logging (TODO: Link to PR/commit)

No?

[ ] Delete the test because flaky tests are not useful (TODO: Link to PR/commit)

Another.

I guess we still had a 10571, build running. This is fixed in build 10573. I checked all the build queues and cleared stale builds preceding 10573.


Link to Community Sheet Repo

Quick start sheet and Example Sheet need links to the Community Sheet Repo where the sheet developers can download them.

Community Sheet Repo - https://github.com/Roll20/roll20-beacon-sheets
Quick Start Sheet - https://github.com/Roll20/roll20-beacon-sheets/tree/main/sheets/quickstart-example-sheet
Advanced Example Sheet - sheets/advanced-example-sheet

Fixed


Request: Master clock slave to link?

I use master clock in almost all my patches! but now I want to use them in conjunction with live... you think it will be possible to add a link function? or use the Stellare-Modular already existing module and slave master clock to it?
thanks
Ofer

It would be great to have an external clock input on this. That would enable other modules/soft/hardware to control the clock, which is what I came here looking for. I love this module but can't use it as my clock within VCV when recording to Live/Cubase.


Cannot see any running session/kernel when connect to remote kernel

Description:
My company updated jupyter notebook and hydrogen stop working. I cannot see any available kernel running on my devserver after I select the gateway name in hydrogen.  Is there anyway that I can trace the error?
Steps to Reproduce:

launch hydrogen connect to remote kernel
select the gateway name I setup
Cannot see any session running remotely

Versions:
Local OS: mac
remote server: centos
hydrogen: 1.10.1
atom: 1.15.0
You can get this information from copy and pasting the output of atom --version  from the command line.
Logs:
Please post any error logs and the output of the developer tools as described in our Debugging Guide.

You can follow the instructions in the Debugging Guide to diagnose this error.
My hunch (just guessing blindly without knowing the details) is that the server update has enabled token authentication, and that you now need to add an options.token to your settings.

Thanks for the response. I actually disabled the token and cookie check by doing
c.NotebookApp.disable_check_xsrf = True
c.NotebookApp.token = ''

Then I found this issue.
I also got this error when I tried to activate the developer tool.
Hydrogen: Could not enable dev tools Error: Cannot find module 'mobx-react-devtools'
  at Module._resolveFilename (module.js:455:15)
  at Module._resolveFilename (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
  at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
  at Function.Module._load (module.js:403:25)
  at Module.require (module.js:483:17)
  at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
  at renderDevTools (/Users/markzhou/.atom/packages/Hydrogen/lib/utils.js:103:22)
  at Object.activate (/Users/markzhou/.atom/packages/Hydrogen/lib/main.js:184:31)
  at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:218:19)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:876:25
  at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:240:20)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59
  at Object.didConfirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:106:29)
  at SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-select-list/src/select-list-view.js:371:22)
  at HTMLDivElement.coreConfirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-select-list/src/select-list-view.js:88:17)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:259:29)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:599:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:390:22)
  at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:106:36)
  at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:59)

Then I found this issue.
I also got this error when I tried to activate the developer tool.

@xinzhou1023 This is only a notification and doesn't impact the functionallity of Hydrogen.
We don't include mobx-react-devtools as a normal dependency in order to keep the package size small.  It adds additional logging output which can be useful while developing Hydrogen, but isn't necessary for normal usage.
Maybe we should remove this log message to prevent confusion.

Thanks for the clarification. I didn't see any output from the developer console when I connect to my remote kernel. So I just attached some screenshots here so that you guys might be able to find out the reason.

After I activated 'connect to remote kernel', I saw my gate way setup name, 'remote'.

I select 'remote' gateway and then I saw this. This this where the issue is. I have one kernel running remotely ( activated through jupyter directly) but I couldn't see it.

Since I couldn't see any session, I selected 'new session'. Then I saw this. It says 'no kernel spec available'. I guess that is reason of my issue. However, before my jupyter got updated, I don't need to setup the kernel spec. I then randomly type in something in the textbox and pressed enter. The chatbox gone and other output from atom. I then tried to run some python code and it failed with the red box error message says no kernel spec found.

Hopefully this could help for you guys to figure out a reason.

I also have this issue.

Would this be related to Jupyter requiring token based authentication by
default? I'm not sure how to properly add a token to the config as i got
mine to work by disabling this Jupyter setting ( apparently not recommended
to do this)
On Mon, May 22, 2017, 10:41 AM Yao Lu<EMAIL_ADDRESS>wrote:

I also have this issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nteract/hydrogen/issues/701#issuecomment-303138067,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKW4cdQkVJrLWbQqLBuFmpOIsKJ09s4Xks5r8ay2gaJpZM4M2YUQ
.

--

Ben R

I found that if I connect to the remote kernel with new session option  in the second option, then it will fail to complete. And if I choose a running session, it will be OK.

In order to fully disable the token, you'd also have to turn off cross site request forgery protection.
Blog post: http://blog.jupyter.org/2016/12/21/jupyter-notebook-4-3-1/
You'll have to set NotebookApp.disable_check_xsrf to False, though the better route is to manage the tokens and use them from Hydrogen.

@jacknlliu After selecting new session, do you get the option to pick a kernel type? If not, do you at least get the message that says "No kernel specs available"?
One thing to note is that available kernels are filtered based on the programming language (grammar) of your current open file, so maybe something about the filtering is off. If you have multiple kernels installed, have you tried to reproduce with different programming languages or different atom grammars? (For example, magicpython is a different grammar from stock python, and requires a custom config to work)

@nikitakit  There are python3 or python2 option after new session was selected.

@jacknlliu So what you're saying is that you can see the options, but when you select one you don't end up with a working kernel. Is that right?

@nikitakit  yeah, it's the point.

@nikitakit Hi, I use the ssh port forwarding to tunnel to my office desktop and hope to connect to it via hydrogen. As you pointed out, with correct file extension I can see the available kernels; when I choose the kernel, the Jupyter sever responses by printing some messages. But when I run the lines, Hydrogen calls the local kernels. My question is, how to make Hydrogen calling the remote kernel to run some codes?

@jacknlliu did you ever manage to resolve this? I also am getting up to just the point where I can select a session, and then for whatever reason it won't respond. I'm on Windows, and I'm using a token, though I had the same issue when I did it without one.

@dsweber2 I always open a new session from the web browser firstly, then using this plugin to select this session, instead of new a session by this plugin.


[Bug] Does not find svelte stories

Describe the bug
I've just added @storybook/test-runner to the storybook-builder-vite, and found that tests are not running correctly on our svelte example project.  I get the following message:
YN0000: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /home/runner/work/storybook-builder-vite/storybook-builder-vite/examples/svelte
   22 files checked.
   testMatch: /home/runner/work/storybook-builder-vite/storybook-builder-vite/examples/svelte/stories/**/*.stories.mdx, /home/runner/work/storybook-builder-vite/storybook-builder-vite/examples/svelte/stories/**/*.stories.@(js|jsx|ts|tsx|svelte) - 0 matches
   testPathIgnorePatterns: /node_modules/ - 22 matches
   testRegex:  - 0 matches
Pattern:  - 0 matches
ERROR: "test" exited with 1.

This can be seen in a CI run here: https://github.com/eirslett/storybook-builder-vite/runs/5538433882?check_suite_focus=true#step:7:47
Steps to reproduce the behavior

Clone the storybook-builder-vite repo
git checkout storybook-test-ci
yarn install
cd examples/svelte
yarn build-storybook
yarn test-ci

Expected behavior
I expect that the stories are found, and tests are run correctly.
Additional context
We are using svelte component stories, maybe the test-runner does not support them?  I didn't see any notes or issues about it yet, though.

Alright, I dug into this just a bit.  I needed to update the jest-playwright.js to:

Add '^.+\\.svelte$': ['jest-transform-svelte', { preprocess: sveltePreprocess() }] to transform.
Add '^.+\\.stories\\.svelte$': '@storybook/test-runner/playwright/transform' to transform. <- this breaks
Add "svelte" to moduleFileExtensions <- this is the initial cause of seeing "No tests found"

Then, my tests are picked up and attempt to run. However, it seems that the call to loadCsf()  in transformCsf.js is choking on the non-jsx syntax of svelte.  I'm not sure what to do about that, but maybe this gives a bit of a clue for someone who might?

Hey @IanVS,
I also gave it a quick shot and identified some improvements:

"^.+\\.svelte$": ["svelte-jester", { preprocess: true }], - svelte-jester instead of jest-transform-svelte as the latter is outdated
Add transformIgnorePatterns: ["(?=.*node_modules)(?!.*(@storybook/svelte|@storybook/addon-svelte)).*"], as the storybook-svelte-packages include svelte-templates which must be transformed (and aren't per default)

With those two changes it parses the svelte-stories successfully, but can't find any tests afterwards... So one step further but not done yet.

The problem is that the test runner actually analyzes the AST of CSF files. Adding svelte support will just bloat the test runner and is not feasible. It's a similar problem to adding MDX support. You can find the workaround, which is to use --stories-json mode, here: https://github.com/storybookjs/test-runner/issues/36

Hmmmmm, I think it might be a bug, but when I use buildStoriesJson in a svelte project, none of the svelte-native stories actually appear in the stories.json file.  Only the introduction page (which is mdx).

My bad @IanVS -- indeed we don't generate stories.json for svelte stories, so for now the test runner doesn't work with svelte. 😢  I don't see us adding support to the test runner. We could conceivably add it to stories.json although I don't want to commit to it yet.

No worries, I just wanted to be sure I understood what was going on.  I think it would be a good idea to clearly state in the README which kinds of stories / formats the tool supports, just to avoid any confusion.

Solution in progress here https://github.com/storybookjs/addon-svelte-csf/issues/65

@shilman seems like related bug
https://github.com/storybookjs/test-runner/issues/229
same for Angular + mdx stories I guess?

@yannbf that was accidental, and was reverted in 2.0.10.  To use the story indexer, it's necessary to use storybook 7 and version 3.0.0-next.x of the addon.  But yes, this can be closed out now.


this._unset is undefined in the browser

I haven't chased this down completely, but I don't think https://github.com/visionmedia/superagent/blob/master/src/node/index.js#L134 is being invoked in the browser, such as in a webpack bundle. Which means _unset is not defined before https://github.com/visionmedia/superagent/blob/master/src/request-base.js#L367 is called, which is where I'm seeing this error happen. This line was added a couple of hours ago as part of version 5.3.0.

@dobesv and @niftylettuce I think this is going to affect anyone setting headers in the browser.

I deprecated v5.3.0 in the interim.  Let me rollback that commit and publish new.

v5.3.1 published with the fix, in the interim I deprecated v5.3.0 in npm and also commented on #1560 about this
https://github.com/visionmedia/superagent/releases/tag/v5.3.1


chore: Release python base sdk version 0.3.11

Related to https://linear.app/serverless/issue/SC-768/python-sdk-not-capturing-events-in-devmode-in-some-cases

@medikoo ready for review please


Integrate io_uring in the Reactor

This PR resolves #39 by adding an alternative Reactor that uses io_uring in addition to epoll as a backend on Linux.
Changes this PR makes to the architecture of async-io:

reactor.rs is turned into a folder, containing two implementations of Reactor that are selected at compile time through cfg-if.
The previous implementation of the Reactor has been moved to poll.rs. It is used on non target_os = "linux" platforms.
A new implementation of Reactor in uring.rs is present. Instead of just using polling, it uses io_uring, but uses that system to wait for readiness on epoll.
Reactor has two new methods: poll_read and poll_write, which are now called by Async's impls of AsyncRead and AsyncWrite. On the polling Reactor, it is the same as the previous implementation. On the new Reactor, it files new Read/Write entries in the submission queue.
If io_uring isn't available, it falls back to the previous reactor.

Reasons why I'm filing it as a draft instead of as a full PR:

Waiting for smol-rs/polling#39 to be released.
I'd like to benchmark it to make sure there's an actual performance improvement before I make the changes.

Current issues:

In order to ensure everything is sound, I keep an internal per-Source buffer that the io_uring operations read from/write to, instead of the buffers passed in by the user. This is because the io_uring temporarily takes ownership of the buffer, and that's invalid to do with the current model. However, for large reads/writes, this may incur a performance penalty. Open to suggestions on how to fix this.
The system currently seems to spuriously error with "Operation Cancelled". I'm not sure if this is a problem with the io_uring crate or our implementation.
We currently submit per-operation. We should only submit if there is an ongoing wait.

Potential future work:

io_uring supports quite a few different operations that we could also integrate into it.
We could use the runtime to also support asynchronous file reading/writing if io_uring is available.
Do the same thing but with IOCP on Windows.

Benchmarks are showing a pretty significant regression when using them to see how fast read and write are now. Since the "main" reason for being able to do this are quick reads and writes, this means that this PR is now obsolete and should be closed.
However, something else we should consider is: would something of this variety be worth it if we wanted to integrate regular files into async-io? That's a question that should probably have some more discussion put into it.

This is too bad.  Is performance regression due to using Reactor?

@sehz I'm not entirely sure, but needing to deal with both epoll and io-uring at once led to most of the problems.
My current plan now is to register io-uring to an EventFd that we then register into an Async to wait on file I/O. The good part about this is I can just turn it into another crate separate from async-io.

any update?

any update?

I'm trying not to add any new features to smol, unless they're important. The value proposition of io_uring is speed; however when it comes to doing polling (which is the primary value of async-io) I've found that io_uring doesn't offer a real speed advantage over epoll, at least at smaller scales.
It would be nice to have more efficient file I/O, but there would really be two paths here:

Develop a wrapper around io_uring for async and make that an external crate, that we can then later integrate into async-fs. See https://github.com/smol-rs/async-fs/issues/24
Add an alternative backend to polling that uses io_uring. It can't replace epoll, as epoll supports level and edge triggered modes that io_uring doesn't. In addition, it adds a layer of complexity to polling that I'm uncomfortable having.

I don't have the time or motivation for option number one, and option number two has serious drawbacks. So unless someone else spearheads the effort, I think we're fine with epoll for now.


doesn't allow asserting belongs to with custom source

Given a schema:
defmodule Group do
  schema "groups" do
    belongs_to :org, Org, source: :organization_id
  end
end

The following test will fail:
test "schema" do
  assert_belongs_to Group, :org, Org
end

...with the message:
 Expected Group to belong to
   :org
 via
   .Org

 org_id does not exist in table

This is true that org_id is not a field. It's an alias for organization_id, but it would be nice if I could specify a source in the assertion.

I did some sleuthing and looked at the schema reflection  and saw that the :owner_key is set to :org_id by Ecto. It doesn't seem like a bug because everything works as you would expect in the actual code.
However that reflection doesn't give us access to the source. I did find the reflection :field_source which looks something like:
Group.__schema__(:field_source, :org_id) # returns :organization_id

Checking the reflection of the field source for :org_id gives us the value :organization_id which is exactly what we're looking for. I wonder if we could leverage this in connection with an optional :source option in the assert_belongs_to call such that when it is provided we check for a field source alias here: https://github.com/synchronal/schema_assertions/blob/a4c8f2d564677176f3d8e9f675b25ee91982130f/lib/schema_assertions/schema.ex#L9-L14
What do y'all think? If you like this idea, I can open a PR for it.

@cbortz sorry this took so long to review. I completely missed it somehow.
I made one small addition, which was to define a type for the opts. Just release it as v0.5.0.

@sax No worries. Appreciate the release!


Added Ability to parse NPM files and Visual studio Solution files

Hey,
Not sure if this is helpfull or wanted, but i thought i should offer it up. If some or all of this is something that would be of interest, il gladly help improve or do adjustments.
Added: Ability to parse Visual Studio .sln files
Added: Ability to parse NPM package.json
Added: Ability to Export to Html
Added: When reading bower files, if version is listed as "latest" i local file, it then check what version the local file is.
Currently its not very polished and the html export is esp ugly.

This is awesome.
As you may have noticed, things have been kind of been in limbo here for a while. There has been some churn on the team. A lot of focus has been going on in the back end, and unfortunately some of the clients have fallen behind. We are working on getting a team up and running to take over development here, but it is taking some time (lots of moving parts). Meanwhile I am going to hopefully catch things up a bit,
Thanks for sending in this PR. I am going to push a <IP_ADDRESS> version up, and then work on rolling in your changes and get a newer version pushed.
Thanks for being awesome!


[BUG]Engine integration test failure

See https://drone-pr.rancher.io/longhorn/longhorn-engine/536/1/2 and https://drone-publish.rancher.io/longhorn/longhorn-engine/137/1/2
Seems to start happening after merged https://github.com/longhorn/longhorn-engine/pull/462 .

=================================== FAILURES ===================================
--
11599 | ____________________________ test_multiple_volumes _____________________________
11600 |
11601 | pm_client = <rpc.instance_manager.process_manager_client.ProcessManagerClient object at 0x7fb5c39556d8>
11602 | em_client = <rpc.instance_manager.process_manager_client.ProcessManagerClient object at 0x7fb5c3964c18>
11603 |
11604 | def test_multiple_volumes(pm_client, em_client): # NOQA
11605 | rs = pm_client.process_list()
11606 | assert len(rs) == 0
11607 |
11608 | cnt = 5
11609 |
11610 | for i in range(cnt):
11611 | replica_args = []
11612 | tmp_dir = tempfile.mkdtemp()
11613 | replica_name = REPLICA_NAME_BASE + str(i)
11614 | r = create_replica_process(pm_client,
11615 | name=replica_name, replica_dir=tmp_dir)
11616 |
11617 | assert r.spec.name == replica_name
11618 | assert r.status.state == PROC_STATE_RUNNING
11619 |
11620 | r = pm_client.process_get(name=replica_name)
11621 | assert r.spec.name == replica_name
11622 | assert r.status.state == PROC_STATE_RUNNING
11623 |
11624 | rs = pm_client.process_list()
11625 | assert len(rs) == i+1
11626 | assert replica_name in rs
11627 | r = rs[replica_name]
11628 | assert r.spec.name == replica_name
11629 | assert r.status.state == PROC_STATE_RUNNING
11630 |
11631 | replica_args.append("tcp://localhost:"+str(r.status.port_start))
11632 |
11633 | engine_name = ENGINE_NAME_BASE + str(i)
11634 | volume_name = VOLUME_NAME_BASE + str(i)
11635 | e = create_engine_process(em_client, name=engine_name,
11636 | volume_name=volume_name,
11637 | > replicas=replica_args)
11638 |
11639 | instance/test_launcher_basic.py:166:
11640 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
11641 | common/core.py:107: in create_engine_process
11642 | wait_for_process_running(client, name)
11643 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
11644 |
11645 | client = <rpc.instance_manager.process_manager_client.ProcessManagerClient object at 0x7fb5c3964c18>
11646 | name = 'test-4e168e8a-instance-engine-4'
11647 |
11648 | def wait_for_process_running(client, name):
11649 | healthy = False
11650 | for i in range(RETRY_COUNTS):
11651 | state = client.process_get(name).status.state
11652 | if state == PROC_STATE_RUNNING:
11653 | healthy = True
11654 | break
11655 | elif state != PROC_STATE_STARTING:
11656 | # invalid state
11657 | assert False
11658 | time.sleep(RETRY_INTERVAL)
11659 | > assert healthy
11660 | E AssertionError

Seems due to
time="2020-03-06T16:16:39Z" level=error msg="Failed to listen localhost:35002: listen tcp <IP_ADDRESS>:35002: bind: address already in use"

It's due to a conflict with the ephemeral ports in Linux.
Fixed by https://github.com/longhorn/longhorn-engine/pull/464


minor: format help documentation for generate_json_files.py

I noticed that the help documentation is all squished together:
$ python src/hub_predtimechart/app/generate_json_files.py --help
Usage: generate_json_files.py [OPTIONS] HUB_DIR PTC_CONFIG_FILE
                              OPTIONS_FILE_OUT FORECASTS_OUT_DIR

  An app that generates the options json file and forecast json files required
  by https://github.com/reichlab/predtimechart to visualize a hub's forecasts.

  :param hub_dir: (input) a directory Path of a https://hubverse.io hub to
  generate forecast json files from :param ptc_config_file: (input) a file
  Path to a `predtimechart-config.yaml` file that specifies how to process
  `hub_dir` to get predtimechart output :param options_file_out: (output) a
  file Path to output the predtimechart options object file to (see
  https://github.com/reichlab/predtimechart?tab=readme-ov-file#options-object
  ) :param forecasts_out_dir: (output) a directory Path to output the viz
  forecast json files to

Options:
  --help  Show this message and exit.

It would be good to format the docstring to unsquish.

Good catch. I looked at https://click.palletsprojects.com/en/8.1.x/documentation/ for ideas, and I'm thinking I'll just document the args paragraph style, e.g.,
Usage: generate_json_files.py [OPTIONS] HUB_DIR PTC_CONFIG_FILE
                              OPTIONS_FILE_OUT FORECASTS_OUT_DIR

  Generates the options json file and forecast json files used by
  https://github.com/reichlab/predtimechart to visualize a hub's forecasts.
  `hub_dir` is the hub directory to process, `ptc_config_file` is the
  predtimechart-config.yaml file that configures how this app works with the
  hub, `options_file_out` is where to save the predtimechart options file to,
  and `forecasts_out_dir` specifies where to save the predtimechart forecast
  json files to.

Options:
  --help  Show this message and exit.

Thoughts?

I'd keep the python style args for programmer docs, i.e.,
def main(hub_dir, ptc_config_file, options_file_out, forecasts_out_dir):
    """
    Generates the options json file and forecast json files used by https://github.com/reichlab/predtimechart to
    visualize a hub's forecasts. `hub_dir` is the hub directory to process, `ptc_config_file` is the
    predtimechart-config.yaml file that configures how this app works with the hub, `options_file_out` is where to save
    the predtimechart options file to, and `forecasts_out_dir` specifies where to save the predtimechart forecast json
    files to.
    \f
    :param hub_dir: (input) a directory Path of a https://hubverse.io hub to generate forecast json files from
    :param ptc_config_file: (input) a file Path to a `predtimechart-config.yaml` file that specifies how to process
        `hub_dir` to get predtimechart output
    :param options_file_out: (output) a file Path to output the predtimechart options object file to (see
        https://github.com/reichlab/predtimechart?tab=readme-ov-file#options-object )
    :param forecasts_out_dir: (output) a directory Path to output the viz forecast json files to
    """
    ...

I'm thinking I'll just document the args in a narrative style, e.g.,

I don't think that helps. If I'm thrashing, bullet points are better than paragraphs.

This retains the python style args for programmer docs, but tells click not to show them, i.e.,

It would be better to use \b to prevent the lines from rewrapping
I was thinking something like this that better matches what the app will actually show as the arguments and it's the same style as click presents in their documentation: https://click.palletsprojects.com/en/8.1.x/documentation/#documenting-arguments
def main(hub_dir, ptc_config_file, options_file_out, forecasts_out_dir):
    """
    Generates the options json file and forecast json files used by https://github.com/reichlab/predtimechart to
    visualize a hub's forecasts.

    HUB_DIR (input) a directory Path of a https://hubverse.io hub to generate forecast json files from

    PTC_CONFIG_FILE (input) a file Path to a `predtimechart-config.yaml` file that specifies how to process
        HUB_DIR to get predtimechart output

    OPTIONS_FILE_OUT (output) a file Path to output the predtimechart options object file to (see
        https://github.com/reichlab/predtimechart?tab=readme-ov-file#options-object )

    FORECASTS_OUT_DIR (output) a directory Path to output the viz forecast json files to
    """
    ...

Great. (BTW I tried your example text, and it does what we want without \b.)

(BTW I tried your example text, and it does what we want without \b.)

Yeah, they kind of imply that they deal in paragraph blocks, which are separated by two newline characters, but it's not explicitly said.


newbie: integrating paypal and cardio

Just posted a question to stack:
http://stackoverflow.com/questions/29016665/newbie-need-help-integrating-paypal-ios-sdks-with-card-io
I am ok implementing cardio scanning, and getting payment card number. However, I need help in sending card details along to paypal to finalize a payment (single payment).
Paypal provides its own native CC entry form, which obscures the payment card details from my app. This is desirable. However, how can I send the CC details from cardio to paypal, once it's scanned in?

@stefanbund is there a reason that you wish to bring up the card.io view controller on your own?
You can instead let the PayPal-iOS-SDK handle this for you. By default, if you create and present a PayPalPaymentViewController, it will offer the user the choices of PayPal and Pay with Card. Choosing the latter brings up card.io.
If you're not seeing the Pay with Card option, then take a look at the PayPalConfiguration you are passing when creating the PayPalPaymentViewController. Be sure that the PayPalConfiguration property acceptCreditCards is set to YES.

@stefanbund feel free to reopen this issue if you'd like to discuss further.

Hello sir,
I also have small issue using card.io and paypal integration.
I want to scan cards, So I included both paypal (for paypal payment) and card Io. It gives duplication issue.
SO I removed card.io. Paypal includes functionality of scanning in sdk.
But I want to use scanning of card and get card details in my view controller.
How Can I do that? Please help.

@dharmikvyas if you use the PayPal iOS SDK, you will get card.io scanning automatically.
If you are having problems with this, please open an issue in the PayPal iOS SDK repository.

No, I don't have problem with scanning.
I want to scan card when User clicks button in my ViewController Screen/Custom screen.
It currently included in Paypal Screen.
Like I want to scan card, get that details into app, pay using another banking gateways (local)

Oh, I see. So you want to have one user flow that involves PayPal, but another flow that uses card.io to provide the card information back to your app for processing.
The PayPal iOS SDK includes all of the card.io header files. So you should still be able to call card.io directly, as I gather you were previously doing.

Glad you worked it out, @dharmikvyas!

@stefanbund , have you ever found a work around for this? @dgoldman-ebay , sir, you're still unclear on to the question, question was simple, we're using latest PayPal iOS SDK, once we take user cc information, it'll comes here, - (void)userDidProvideCreditCardInfo:(CardIOCreditCardInfo )info inPaymentViewController:(CardIOPaymentViewController )paymentViewController what will be the next step once we're here?

@hagile you can start by calling into the PayPal iOS SDK, and let that SDK give the user the option of providing a credit card. Then the credit card information will be sent directly to PayPal for processing.
But if you instead call directly into the card.io SDK to directly obtain credit card information, as it sounds like you are doing, then you have bypassed the PayPal iOS SDK. You now have credit card information, which you are welcome to forward to whatever payment service you wish. However, if you wish to forward this information to PayPal for processing, the PayPal iOS SDK cannot help you with this task.

@dgoldman-ebay, oh that was a oouch, that means, as I've cc information form card.io, I can't pass it to PayPal sdk to complete payment? if this is true, we're only having PayPal for payment, how do I take cc information directly in PayPal?

@hagile if you are using PayPal to handle all payments, then you do not need to call card.io directly. You should instead call into the PayPal iOS SDK, as described here.

I guess, setting acceptiCardInfo to YES will do the trick?

If you mean _payPalConfiguration.acceptCreditCards = YES;, then yes, that is correct.

oh yes, this is. :+1: Thank you so much.

@dgoldman-ebay
i am following this discussion.i also use Card-io for payment integration.My question is same do i able to proceed further after i am getting information from Card-io with PayPal final payment.
if yes then how can i pass this information to the PayPal iOS SDK.
i also recheck this line of code in my application
_payPalConfiguration.acceptCreditCards = YES;
However, if you wish to forward this information to PayPal for processing, the PayPal iOS SDK cannot help you with this task.
if its so then i think i should drop Card-Io from my application.
i just want to confirm this.
Looking for your reply

@mitesh1301 if I am understanding you correctly, then yes - you should drop the card.io-iOS-SDK from your application, and use only the PayPal-iOS-SDK (which already includes its own copy of card.io).

@dgoldman-ebay
Thanks for quick reply.
so now i have confusion related to PayPal-iOS-SDK. As you mention it has inbuilt card.io copy. I am not that much familiar with that.
Can you explain it in some more detail like how i can get that?
Also does that resolve my problem i.e. scan card information and proceed further with paypal?
Looking for your reply

@mitesh1301 if you integrate the PayPal-iOS-SDK, and you leave _payPalConfiguration.acceptCreditCards set to YES (which is the default value for this property), then when you present a PayPalPaymentViewController (as described here) the user will be given the option of paying with a credit card. If they choose that option, then the card.io scanner will appear. Their credit card information will then be processed by PayPal.

Hay dgoldman-ebay,
thanks for your reply and from that i am able to solve the problem.
thanks

Glad to hear it, @mitesh1301!

@dgoldman-ebay
Can I remove PayPal text from Camera ?


Login Page design Improve

Is your feature request related to a problem? Please describe.
In login page there is no hover effect in buttons, and I think login button slight be responsive

Describe the solution you'd like
In hover buttons should be responsive

Demo Video/Screenshot (Mandatory )

Are you contributing under any open-source program ?
yes In JWOC 2024

@soumik7063 #223  is already present in the repo with same enhancement Thank you for your issue . But this issue can't be assigned.
Hope to see you with more contributions.


update VOs on NCG-INGRID-PT

I have update the VOs supported at NCG-INGRID-PT

Thanks @mariojmdavid!
While you created the PR I merged one that seems to introduce a conflict here, for some reason I added training.egi.eu VO there, can you check if that makes sense?

the training VO is correct to add, and the projectID also correct, you can solve this conflict


Going from the nvram state from before today's merge to today's merge requires the nvram to be reset

The board wouldn't boot with previously configured values, I guess there's some changes in what's stored in nvram. I had to run idf.py erase-flash and upload again, for it to work. Perhaps in a future iteration check the state of the nvram, catch the exception, and load the web interface with an option to reset to factory defaults? I think it shouldn't be hard to reset the nvram contents.

oh I might have been wrong about that. had an unrelated debugging issue that prevented an upload.


Create modulus operation

Created a file for the modulus operation.

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

I'm new to Github, please edit as necessary.  Thank you.


run a function continuously in ionic 3 mobile app

I will get an access token when i login but what i want is like this token will expire in 3 minutes,so if the user using the app also after 3 minutes the app should show the login page again how can i achieve it.
I can write a function in app.component.ts but it will work only when the user opens the app but i want to navigate to login when the user is using the app also i.e.(assume he is in the page after login)

Hi @pradeepaanumalla,
We are in the processes of moving all open Sails issues into one repo, this and all issues now lives on the Sails repo.
~Cheers


Hex view in received panel

There is one other thing that needs to be added to serial monitor:
Microcontroller programmers usually send HEX numbers from the microcontroller to VS Code but Serial monitor can not show HEX codes.
This is what I expect: (I send Text and HEX to serial monitor) In this photo anther program has been used to show the results

and this is what I have got in Serial Monitor:

@Alireza-Samadi To make sure I understand, could you show me how you are sending the information to the Serial Port? Is it information coming from your program or is it coming from input you are sending over using the Serial Monitor?
Thanks!

@Alireza-Samadi To make sure I understand, could you show me how you are sending the information to the Serial Port? Is it information coming from your program or is it coming from input you are sending over using the Serial Monitor?
Thanks!

This is the exact thing which is happen:

As you can see, the hardware is sending Hex code (0x1F) to PC. Serial monitor can not show Hex code which is received in its panel.
With computer programing language, I should say that Serial monitor can not show variables with int (integer) type or Hexadecimal value. Serial monitor can only show string type or Ascii codes.

@Alireza-Samadi, There is a possibility that this is fixed now that hex view support has been added in pre-release. Please feel free to try this out and let me know! Thanks

@Alireza-Samadi, There is a possibility that this is fixed now that hex view support has been added in pre-release. Please feel free to try this out and let me know! Thanks

Great!
You did it and it works fine. Thank you

Hi,
I was looking for this hex display on the receive panel, glad to see it's supported in the pre-release version.
I gave it a try, and I noticed some data are not always correctly displayed.
In my case, I'm supposed to receive 00 80 FF 00 00
but the panel displays 00 FFFD FFFD 00 00
Looks line a sign or cast issue, not sure why the data is displayed on 2 bytes instead of 1.

Hi,
I was looking for this hex display on the receive panel, glad to see it's supported in the pre-release version. I gave it a try, and I noticed some data are not always correctly displayed.
In my case, I'm supposed to receive 00 80 FF 00 00 but the panel displays 00 FFFD FFFD 00 00 Looks line a sign or cast issue, not sure why the data is displayed on 2 bytes instead of 1.

Could you please open a new issue for this bug? This will help us track individual items. Thanks!


Update to QCUWeatherBasedRebalancing.py

Expected Behavior

QCUWeatherBasedRebalancing imports custom historical weather data and then rebalances its portfolio based on that data.
Actual Behavior

The sources for weather data on QCUWeatherBasedRebalancing is outdated.
Potential Solution

Replace the sources for weather data
Reproducing the Problem

On QCUWeatherBasedRebalancing.py, the links for weather data return 404 errors.
System Information

N/A
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

Closed by #4252 and #4255


feat/completion-pum

fixes #357
WORK IN PROGRESS

currently:

issues:

[ ] long results are currently not shown (more than 50)
[ ] pum stays visible for a few seconds after the selection is chosen
[ ] vim.on_key is on every buffer. how can I limit to only the prompt buffer (alias/ns/ctx)?

@Ramilito  need ur help here 🙏🏼
you'd probably also want to move stuff around

The gifs are looking soooo goood!
I'll try to get some time later tonight and look if I can help

The gifs are looking soooo goood!
I'll try to get some time later tonight and look if I can help

Please work your magic here because I am really stuck and you seem to get the hang of all those UI components

long results are currently not shown (more than 50)
pum stays visible for a few seconds after the selection is chosen
vim.on_key is on every buffer. how can I limit to only the prompt buffer (alias/ns/ctx)?

Long results, I removed the limit you added and added a windows height restriction instead, so we would scroll for the rest.
Not seeing the delay, is it still there?
vim.on key wasn't called because the buffer wasn't really removed (just hidden), I set it to wipe on close and now it's getting called

Can you verify that I understood this correctly?

yes, it looks great :)
I changed row to 1 to move the pum a line lower so it won't hide the text, and changed some stuff around the highlights.
ok to merge? :)

It looks sooo cool!
Love your work here!


Add "Opening a PR for Release Branch" section to contributing document

This PR introduces a new "Opening a PR for Release Branch" section to the CONTRIBUTING.md document, providing clear instructions and requirements for opening pull requests targeting release branches.
It also adds a new pull request template specifically for release branch PRs. However, due to current limitations of GitHub's UI, the template's usability is somewhat limited, as users need to manually modify the URL during the PR creation process to select the template.

@swift-ci Please test


New 1.12.x versions not available on the maven

I tried to find EnderIO on the maven (http://maven.tterrag.com) but could only find the recent versions of EnderCore.
Unless you now can register recipes through the EnderCore API, then of course that isn't necessary.

You can register recipes using the IMC XML API, there you don't need a maven dependency.
And you're also welcome to fix our build.gradle, we haven't had much luck there...

I apologize for asking, but where can I find the docs on the IMC XML API?
Also I didn't realize that it wasn't there because the build.gradle wasn't working.
I'll see what I can do.

np: https://github.com/SleepyTrousers/EnderIO/blob/master/enderio-base/src/main/java/crazypants/enderio/api/IMC.java#L20

I'm trying to get the uploading to work, however I seem to be missing some keys or similar, as I get this error:
:mkKeyStore
Keytool-Fehler: java.lang.Exception: Schlüsselpaar wurde nicht generiert. Alias <signFiles> ist bereits vorhanden
:mkKeyStore FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':mkKeyStore'.
> Process 'command 'keytool'' finished with non-zero exit value 1

I'm not sure how to get the error in English, so I'll just roughly translate Schlüsselpaar wurde nicht generiert. Alias <signFiles> ist bereits : Key pair was not generated. Alias <signFiles> already exists
Is there a simple way to avoid this, or add dummy files? I'd love to get the publishing to work.

Either you have a global key with the alias "signFiles" (replace the two instances if "signFiles" in the build.gradle) or your build aborted leaving an 'eiostore.jks' behind (delete it).

@BrainStone is that publish task producing a functioning maven build? If so I will look into adding it

It does.

Are you able to post the output?

What outut do you mean? Of the script or the files?

@BrainStone I'm sure he meant the output you get from running the script you posted (what the gradlew outputs)

Well, since you changed the maven plugin, the call is now:
./gradlew :enderio-base:assemble --no-parallel
./gradlew :enderio-machines:assemble --no-parallel
./gradlew uploadArtifacts --no-parallel

(When setting a proper mavenDir, the files end up in the right dir. And only the main artifacts)
This is the output I got: https://gist.github.com/BrainStone/4f37bf79c9b4ed8ac0990beb94a6d235

Any update on this?


object/obs&tos : fix range get

fix obs & tos range get
check get response status code  ref https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range
improve objbench cmd

Codecov Report
Patch coverage: 12.35% and project coverage change: +0.07 :tada:

Comparison is base (bfcf95f) 55.35% compared to head (5ae0b8e) 55.42%.

:exclamation: Current head 5ae0b8e differs from pull request most recent head cbc645b. Consider uploading reports for the commit cbc645b to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3270      +/-   ##
==========================================
+ Coverage   55.35%   55.42%   +0.07%
==========================================
  Files         142      142
  Lines       33340    33740     +400
==========================================
+ Hits        18456    18702     +246
- Misses      12926    13056     +130
- Partials     1958     1982      +24

Impacted Files
Coverage Δ

pkg/object/cos.go
1.03% <0.00%> (-0.03%)
:arrow_down:

pkg/object/obs.go
0.68% <0.00%> (-0.06%)
:arrow_down:

pkg/object/prefix.go
80.76% <0.00%> (-2.40%)
:arrow_down:

pkg/object/qingstor.go
0.86% <0.00%> (-0.03%)
:arrow_down:

pkg/object/restful.go
18.51% <0.00%> (-0.59%)
:arrow_down:

pkg/object/tos.go
1.08% <0.00%> (-0.05%)
:arrow_down:

cmd/objbench.go
58.58% <32.35%> (-0.10%)
:arrow_down:

pkg/fuse/context.go
65.85% <0.00%> (-7.32%)
:arrow_down:

pkg/object/webdav.go
68.25% <0.00%> (-1.59%)
:arrow_down:

pkg/meta/sql.go
58.50% <0.00%> (-0.57%)
:arrow_down:

... and 13 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Including R

Thanks so much for providing the package, great help in everyday work!
Would you consider extending the language list with R? The two R script below are all that is needed:
https://github.com/yihui/formatR
https://code.google.com/archive/p/google-rlint/
This will make Atom much more popular among R users. Many thanks!

I would be happy to review and merge a Pull Request implement R support.
Documentation can be found at https://github.com/Glavin001/atom-beautify/blob/master/docs/add-languages-and-beautifiers.md
With many examples of languages and beautifiers found in https://github.com/Glavin001/atom-beautify/tree/master/src
Thanks.

Thanks for a quick reply. I am not a programming guy myself so not sure I would manage.
If anyone else needs R support and knows more about how to implement it in atom-beautify, the two links in the first post would be a great starting point.
In any case, thanks for your work!

@JLCCI could you provide an example of how formatR works? Specifically, say I have a file test.R and want to beautify it. What commands in your Terminal would be run to achieve this? For some reason, I did not seem to be able to extract this information from the documentation provided. Maybe I missed something. Thanks.

Unfortunately I am not sure if this can be directly run from the command line. Inside R, all you have to do  is:
library(formatR)
tidy_source(text = readLines("/path/test.R"))
This will print the reformatted text. I guess we could write a simple R script that takes the path name and name of the file as an input and overwrites the file with the new text?

I guess we could write a simple R script that takes the path name and name of the file as an input and overwrites the file with the new text?

I think you are right. Good plan.

atom_beautify_r.R
library(formatR)
file <- commandArgs(trailingOnly = TRUE)[1]
tidy_source(text = readLines(file))
Command line:
Rscript atom_beautify_r.R /path/test.R > /path/test.R
Hopefully this should do the trick!

I see that this is an old issue but I just want to say that I would be really happy if R code gets added to atom-beautify!

Pull Request welcome!

Hi again! I am no developer, but I have attempted to implement R. See the pull request.
I hope it works!


feat: add String_Split function if not exist

Create function Split_String if not exist.
Fix https://github.com/betr-io/terraform-provider-mssql/issues/7

I have tested on a base where it is not present and it is functional. I was careful not to affect other users.


Docs: multaddrs property has been replaced with getMultiaddrs

The docs are out of date, the new getter needs documenting: https://github.com/libp2p/js-libp2p/blob/master/doc/API.md#multiaddrs

@achingbrain are these docs updated manually?
I was poking around and generated this using Typedoc

Is this something you'd want added to js-libp2p?

Yes please, the typedoc story has always been a bit hit & miss with JSDoc-style typing but it’s much better with pure typescript.
Aegir has a docs command that generates typedocs and uploads them to gh-pages, that’s be the place to do it, then run that in each repo on release.

I created a Draft PR but it is currently blocked by an issue that I created on AEgir.


Question: how can I get a manual pairing code for the esp-box matter switch example (AEGHB-473)

Hi,
Can you advise on how I can get the manual pairing code for the matter switch example?
For example, when using the ESP32 examples from the matter (project chip repo) I can see the manual pairing code in the idf.py monitor logs like this
I (2535) chip[SVR]: SetupQRCode: [MT:Y.XXXXXXXXXXXXXXXXXXX]
I (2545) chip[SVR]: Copy/paste the below URL in a browser to see the QR Code:
I (2555) chip[SVR]: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3AY.K9042C00KA0648G00
I (2565) chip[SVR]: Manual pairing code: [3XXXXXXXXXX2]

When I idf.py monitor the esp-box matter switch example I cant see such a code? Is there some configuration settings that I need to set before compiling?

Temporarily closed due to the extended period of time with no response. Should you have additional questions or concerns, don't hesitate to reopen the issue.


Fixed typo in django/db/backends/sqlite3/base.py comment.

This fixes a typo in a code comment.
Also see: https://www.sqlite.org/lang_corefunc.html#random

The random() function returns a pseudo-random integer between -9223372036854775808 and +9223372036854775807.

@cjerdonek Thanks :+1:


ENABLE ORIGINAL FILE DUMP IN VERSION HDR FILE WRAPPER FOR BKWDCOMP

Summary of proposed changes:

Original Header File Dump enabled for version header file wrapper to support backward Compatibility for PT/TF
Depends on wrapper functions of rocm-cmake version https://github.com/RadeonOpenCompute/rocm-cmake/commit/d108dbf05e029996d5d7bcbe258abb1166547a30

@arvindcheru usually we merge cherry-pick patches into release/rocm-rel-5.2-staging, and merge into release/rocm-rel-5.2 only after the staging tests are passed.
However, in this special case staging tests will not show any differences. May I ask if this rocm-cmake change has passed CQE staging tests?

@arvindcheru I do not recommend using UPPERCASE names for PRs unless you really would like to emphasize the commit in the history.

@junliume I highly recommend merging this into release-staging first then regular promotion into release, otherwise release-staging branch would miss this commit. The latter could lead to problems if we decide release the next minor release, e.g. 5.3, because release branches are normally branched from release-staging.

@junliume, @atamazov Thanks for comments, if it recommended then we will move this to staging branch but could you pls check and confirm the staging branch (not able to fin release/rocm-rel-5.2-staging - is it release/rocm-rel-5.1-staging? to confirm since saw a difference in commits from the release/rocm-rel-5.2 (126 ahead,5 commit behind dev) where as the other (is 129 ahead,48 behind dev)  Please help Thanks!!

[Note] Typo in my previous comment: "if we decide to release the next minor release, e.g. 5.2.1 ~5.3~"Sorry for confusion.

@arvindcheru Hmm, indeed, there is none 5.2 release staging branch, let me check...

@arvindcheru Everything is simple. We didn't need a release staging branch for 5.2 yet, so it wasn't created. Please clone it directly from release/rocm-rel-5.2 (simplified: git checkout release/rocm-rel-5.2 && git checkout -b release/rocm-rel-5.2-staging && git push origin release/rocm-rel-5.2-staging).
Then rebase this PR to the newly created branch using github means.


Feature to Open RDS App from mobile browser

Implementation of opening RDS app from mobile browser.

Hi @shreya-mishra please assign this to me, ETA would be 24/09/2023

Please get it assigned via tejas or ankush!


10/30/2018 02:01 : Create Pull Request for branch prTesting_2018103001 -> master

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestCon.md
:white_check_mark:Succeeded

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


AppleHealthKit.initHealthKit's callback never executed on Xcode build

Describe the bug
As title states, the initHealthKit callback function is never executed resulting in requests to AHK failing with message:
{ code: 'ECOM.APPLE.HEALTHKIT5',
  message: 'Authorization not determined',
  domain: 'com.apple.healthkit',
  userInfo: { NSLocalizedDescription: 'Authorization not determined' },
  nativeStackIOS:
   [ '0   APPNAME                          0x00000001005f2004 RCTJSErrorFromCodeMessageAndNSError + 100',
     '1   APPNAME                           0x00000001005f1f64 RCTJSErrorFromNSError + 204',
     '2   APPNAME                           0x000000010050614c __67-[RCTAppleHealthKit(Methods_Sleep) sleep_getSleepSamples:callback:]_block_invoke + 160',
     '3   APPNAME                           0x000000010050f73c __85-[RCTAppleHealthKit(Queries) fetchSleepCategorySamplesForPredicate:limit:completion:]_block_invoke + 292',
     '4   libdispatch.dylib                   0x00000001814b5924 07C1CA26-9AB4-3FFA-A69E-F00308628A9C + 10532',
     '5   libdispatch.dylib                   0x00000001814b7670 07C1CA26-9AB4-3FFA-A69E-F00308628A9C + 18032',
     '6   libdispatch.dylib                   0x00000001814bedf4 07C1CA26-9AB4-3FFA-A69E-F00308628A9C + 48628',
     '7   libdispatch.dylib                   0x00000001814bf99c 07C1CA26-9AB4-3FFA-A69E-F00308628A9C + 51612',
     '8   libdispatch.dylib                   0x00000001814ca1b8 07C1CA26-9AB4-3FFA-A69E-F00308628A9C + 94648',
     '9   libsystem_pthread.dylib             0x00000001f265e0f4 _pthread_wqthread + 288',
     '10  libsystem_pthread.dylib             0x00000001f265de94 start_wqthread + 8' ]
 }

This, however, only seems to happen when the app is built with Xcode, and does not happen if I just run npm run iOS for example.
This has only recently started happening, but I have not change the version of react-native-health that I use. I do not recall if there has been an iOS update that may have caused this.
To Reproduce
Steps to reproduce the behavior:

Delete existing app on iPhone
Open an App project with Xcode
Verify that app has "HealthKit" capability
Clear the build (cmd + shift + k)
Change build configuration to production (Ccmd + shif + ,)
Run/Build
Check console logs

Expected behavior
I expect, given the code snippet below, that either the success or error console print statements are executed and that I am able to fetch data from AHK
Smartphone (please complete the following information):**

Device: iPhone 11 Pro
OS: 15

Additional context
I've tried moving where the init function is called and also tried removing and re-adding the Health kit capabilities via Xcode but it hasn't changed anything.
The following is a snippet of code used for the init. The messages that are printed/output are:
2021-11-15 12:50:36.492271-0500 APPNAME[4022:884309] [javascript] 'initAHK', { permissions:
   { read:
      [ 'HeartRate',
        'StepCount',
        'SleepAnalysis',
        'Weight',
        'RestingHeartRate',
        'Steps' ],
     write: [] } }
2021-11-15 12:50:36.492327-0500 APPNAME[4022:884309] [javascript] { [Function] type: 'async' }

Nothing inside the callback is printed out.

import AppleHealthKit, { HealthKitPermissions } from "react-native-health";

export const AHKPermissions = {
  permissions: {
    read: [
      AppleHealthKit.Constants.Permissions.HeartRate,
      AppleHealthKit.Constants.Permissions.StepCount,
      AppleHealthKit.Constants.Permissions.SleepAnalysis,
      AppleHealthKit.Constants.Permissions.Weight,
      AppleHealthKit.Constants.Permissions.RestingHeartRate,
      AppleHealthKit.Constants.Permissions.Steps,
    ],
    write: [],
  },
} as HealthKitPermissions;

export const initAHK = () => {
  console.log("initAHK", AHKPermissions);
  console.log(AppleHealthKit.initHealthKit); // Check if function is undefined.

  AppleHealthKit.initHealthKit(AHKPermissions, (error: string) => {
    /* Called after we receive a response from the system */
    if (error) {
      throw new Error("[ERROR] AHK cannot grant permissions!");
    }

    /* Can now read or write to HealthKit */
    console.log("initAHK success");
  });
};

@macelai Would you be able to take a look at this? Is there anything else I can provide to help debug this? Would you be able to give me advice on what other steps I can take to debug this?

@shmkane Hey, sorry but I don't have the skills to help you with that

@macelai Do you happen to know any collaborators on this project that would be able to assist with this? I'd greatly appreciate tagging them to this

@AugustoRamos94 do you think you can help here?


Unreproducible results with 6 references

Hi there,
thanks for your great work. I found that you provided the scores with 6 references on this issue #5. Even though I can reproduce the scores with single reference, the scores with 6 references are still unreproducible.
I simply used the provided code and hyperparameters and dropped the result file into evaluation tools. Then I got following scores:
./run.sh 1 "vggish i3d_flow" "vggish+i3d_flow"20 9660 0.2

1 reference:
Bleu_4: 0.129
METEOR: 0.162
ROUGE_L: 0.359
CIDEr: 1.243
6 references:
Bleu_4: 0.344
METEOR: 0.269
ROUGE_L: 0.555
CIDEr: 1.034
I especially found that you didn't manually seed for PyTorch.
https://github.com/henryhungle/MTN/blob/76491139e03ee4db18348a55c5e6b4136de90735/train.py#L108-L109
I'm not sure if this is the major factor. Could you share your hyperparameters or evaluation method?

Sorry for the late reply. The results I got was trained on a small version of the model (d=512) but with 16 heads. I also tried with a dropout rate of 0.5, larger warmup steps (e.g. 13k), and more training epochs (max 30 epochs).

Sorry for the late reply. The results I got was trained on a small version of the model (d=512) but with 16 heads. I also tried with a dropout rate of 0.5, larger warmup steps (e.g. 13k), and more training epochs (max 30 epochs).

Can you show the scores of 6 references with the above configure?

it was the one I reported in #5

Thank you so much ! @henryhungle


add support for firebase query

currently only:

orderByChild
limitToFirst
limitToLast

after investigating that i see that orderBy is only guaranteed when using forEach() to go over it (by firebase docs: https://www.firebase.com/docs/web/api/datasnapshot/foreach.html)
so order by will not work with this version only limits

i managed to fix orderBy by deliver the snapshot also with the data, i'll upload that tomorrow.

so i tested that now and its works :),
to work with that you'll need to :

get the firebase snapshot on connect by snapshotToJS.
loop over usersSnapshot.forEach and then use .val() to get the ordered value or .key() to get the key

I will test it and see how the listeners affect each other, have you tested that. For example have 2 components on the same page one watching for /data and the other watch for /data#orderBy=... both components should work then remove one of them and the remaining one should have the listeners working

@tiberiuc i'm trying to implement pagination now, do you have any experience with that stuff ?

@RahavLussato what do you mean by pagination ?


As a CIF administrator, I don't want to see the Total Eligible Expenses field on Advance Milestones, so that I am not entering erroneous data in this field

Description:
The "Total Eligible Expenses" field is not applicable to the Advance Milestone type.
It should be hidden.
Ticket split from #1480
Acceptance Criteria:
Given I am a CIF administrator
When I edit a milestone with the Advance Milestone type
Then I don't see the "Total Eligible Expenses" field
Development Checklist:

[ ] Investigate if we can make this part of the json schema logic. If this requires too complex of a logic, use some custom code logic in that form instead.
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

?Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:

Hey team! Please add your planning poker estimate with Zenhub @BCerki @dleard @gurjmatharu @mikevespi @sam-warren @Sepehr-Sobhani

@pbastia and @sam-warren - please add your estimate.

Hi @sam-warren please add your estimate

@pbastia Do we need to update the milestone commit handler to make total_eligible_expenses null if a milestone gets updated from General type to Advanced type?!

Thank you @Sepehr-Sobhani. Tested in dev and can confirm that when the 'advanced' milestone type is selected it is no longer displayed.
When advanced is selected:

When general is selected:


Disable all weekends

I want to disable all weekends on all my calendars (12 months displayed), so my employee's vacations only count business days . Is this possible ?
Thanks in advance!

Yes, you can use render event for this:
...
    render : function (date) {
        if (date.getDay() == 0 || date.getDay() == 6) {
            return {disabled : true};
        }
        return {};
    }
...

But this will only make them impossible to select, if you take date range - you'll need to remove weekends from total number of days in range manually.

I've already done this, thanks. And total number of days are total range selected days including weekends like you said, but doesn't matter. Cheers!


Added support for jsonl

Will be released in 0.29.1 in the next few minutes

And json line now works fine in Cursorless. Thank you!


Revert "M5_Finger"

Reverts arduino/library-registry#405

Hello @Tinyu-Zhao. Are you requesting that https://github.com/m5stack/M5_Finger be removed from the Arduino Library Manager index?


Develop API doc

Develop documentation in a folder for the documentation of the API. Comments explaining the API are at the start of each API function, so it should be a fairly straightforward fix

Hi,
I may be able to contribute to the documentation for this API. Can you please share the document, I'll have a look at it and share my insights for the documentation.
~Thanks

Great, thanks!
The code storing API information is stored in src/routes/api. This includes:

authentication.py
card_management.py
statistics.py

Each of the API routes require a URL being navigated to, and a request sent with json. There should be comments below each method to explain what json data needs to be sent.
If you could write the documentation in markdown files, in some sort of docs folder in the root repository of the project, or whatever location makes sense to you, that would be great.
Let me know if you need any more information

Hi,
I attempted to document the method for the first file authentication.py. Attached is the document in the section. Can you please take a look and let me know if this is correct?
The issue I faced am not able to test in POSTMAN since there is no URL given in the code.
~Thanks
Sample1.docx

Looks good, thanks! Would you mind writing it in markdown though, because I don't think .docx files can be rendered in github without being downloaded. (I could be wrong though).
In terms of the URL, I'm writing code to allow error checking for each method - it'll check if you've supplied the right json data. In addition, it'll check things like dates are in the right format. That should be ready and merged soon, and I'll let you know when it is. Once I've done that, I'll let you know the URL - I don't want to post it publicly yet because I need to add the error checking, so requests could probably mess the test data format I have stored so far. (Admittedly it is still avaliable on the Internet at the moment)

I've now added the API verification, earlier than expected. The URL is http://dolphinflashcards.com
All api requests have http://dolphinflashcards.com/api/something because the base API serves HTML pages for the front end UI.
In terms of the error checking, before each request, a json format is given which the code then checks against. This looks like the following:
    expected_format = {
            "userID": "",
            "cardStatus": CARD_STATUS,
            "cardStreak": NUMBER,
            "currentIndex": NUMBER,
            "lastReview": DATE_REGEX,
            "maxIndex": NUMBER,
            "reviewStatus": REVIEW_STATUS_REGEX
        }

The variables mentioned here are regex patterns from src/routes/api/regex_patterns.py. Each pattern has a comment explaining it, or you can use ChatGPT to learn more about it. (That's how I got the pattern in the first place). Each pattern is also tested in testing/test_regex.py, so that can give more information on example usage.
The code checks to see:

Exactly the right attributes are supplied in the json, in the right order
If the value for the attribute is not "", assume it is a regex pattern and compare the example request regex to the actual request

The example request and actual request are tested in the function check_request_json, which returns True if there is not error and an error message if there is one. If there is an error message, this json is returned to the user:
return jsonify(
    {"error": result + ". The request should be in the format: " + str(expected_format)}
), 400

Let me know if you have any questions

Thanks for the updates Jacob,
I'll convert the doc to markdown. I wanted to know whether I'm on the correct path.
With the above information, I'll proceed to document the other two files. I'll reach out in this section if I have any questions.
~Thanks
Rajesh

Hi,
I have kept the authentication api document in my repository [https://github.com/rajesh-aravind/API-Documentation.git]. Can you please link or copy it from there. I was not able to copy the file in your project repository.
Meanwhile when I tried access to the other two files [card_management.py) and [statistics.py) it gives me a 'File not found" error.

Ah sorry - I renamed the src folder. The following links should work

card_management.py
statistics.py

I'll add your authentication file in a bit

Thanks for your work on this, @kenudeh!
Just a few slight things:
First, even if data in the database should be a number, its stored as a string regardless. This is because I didn't  know if Google Firebase handled non-string values since I hadn't used it before. It probably does, and I should probably change it to have better datatype, but for now, every Type in the table Request Body Parameters should be a String.
For the example response in /calculate-card-stats, it looks like there's a " which isn't closed in the line:
"maxIndex": “integer,
Finally, for the request example in /calculate-streak, I don't think ?increase:true is correct syntax - I think it should be ?increase=true
Thanks again for your work on this! Once you've made those few tweaks, would it be easier if I added the file to the repository myself, mentioning you as the author, or would it be easier for you to fork the repo and make a new branch with the changes, then create a merge request?

@rajesh-aravind @kenudeh I've made some changes to make the project easier to contribute to without setting up a server and added CONTRIBUTING.md. The backend uses Python and Flask, and the front end uses React.js. If you wanna contribute, feel free to look at the existing issues or make your own!

And just a general note, documentation still needs to be written for https://github.com/jacob-macleod/Flashcard-App/blob/main/backend/routes/api/card_management.py

Alright, I'll start working on the card_management.py documentation this weekend. It should be ready by tomorrow.

Hi @jacob-macleod! Checking to see if there are documentation requirements at this time.

Ah thanks - yeah, the endpoints in goals.py need to be documented.
Note that instead of making a branch from the main branch, could you make it from development? (To solve merge conflicts  - when I merged the changes including goals.py they were on a long term feature branch which caused loads of conflicts)

Alright, I'll take note of that while making a branch for goals.py. It should be ready by Wednesday. Sorry for not getting back to you sooner; I had a busy weekend.

I'm closing this because it's included in the issue to convert documentation to mintlify


Clarify that on-the-wire communication with Simplenote is encrypted

See #207 and #412. Note that this makes the wording slightly clearer than PR #412 did.

Thanks!


Updating Safari's support of Ogg / Vorbis

This changes a few things:

Separates the note about macOS version support from Ogg/Vorbis support, so that the expiration of the macOS requirement can be probably noted.
Adds support for Vorbis to Safari 17.4 on iOS 17.4.

See release note: https://developer.apple.com/documentation/safari-release-notes/safari-17_4-release-notes

Added support for the Vorbis audio codec on iOS.
(Which applies to iPadOS and visionOS as well.)

Good changes and happy to see support increasing!
One questions though:
Is it possible to install some or all versions of Safari 16 on macOS Big Sur below version 11.3?
I don't know for certain, but I think it's likely possible, right?
If it is possible, I think all versions for which it's true, should keep note 1 (i.e. Safari 16.x).

Vorbis support arrived in Safari 14.1 with macOS Big Sur 11.3.
If a user decided to keep running macOS Big Sur 11.3 and never update — but they did know how to update Safari alone, yes, they could update to Safari 15 and Safari 16.
I'll update the PR.


[DOC] Dashboards Visualizing Webpage

Status: content planning and writing ongoing
TOC (working draft)* Visualizations
* Visualization panels
    * types of visualizations
* Create your first dashboards
* Analyze time series data
* Create panels with editors
* Make dashboards interactive
* Improve dashboard loading time

Query and transform data
Are you referring to Vega or TSVB or something else entirely?


[OwnCloud] live editing is not reflected for a read-only shared doc

Hi,
If a document is shared without edit/change flags then the live editing does not work on the read-only side - i.e. the user does not see live changes done by other user.
So need to close the doc and re-open it again to see the changes done.
Is it a known feature or a bug?
If a document is shared with edit/change flag then live editing works as expected  - both users can see the live changes.
Wanted to use the OnlyOffice plugin to share live doc editing to a third party who could only view the live editing without an option to edit the shared doc.
OnlyOffice 2.0.3
OwnCloud <IP_ADDRESS>
Thanks

Hello @ainars-sk
This behavior is not a bug. Changes added to the document will not be displayed in real-time in the viewer. However, you don't have to close the document and re-open it, refreshing the page is enough. We are working on new document sharing options, hope we will implement them in one of the future versions of ONLYOFFICE connector.

The live viewer feature is available starting from version 7.2 of the Document Server. It's enabled by default and allows users that open a document in viewing mode to see changes made by other users in real time. The feature can be disabled using the Advanced Settings -> Collaboration -> Show changes from other users option in the editor's interface.
Live viewer has a connections limit separate from editing connections. For example, the open source version of the Document Server has the limit of 20 editing connections and 20 live viewer connections.


Update jts-core to 1.18.1

Updates org.locationtech.jts:jts-core from 1.16.1 to 1.18.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.locationtech.jts", artifactId = "jts-core" } ]

labels: library-update, semver-minor

This update should be aligned with the GeoTools and GeoTrellis updates.
25-RC1 was released yesterday: https://github.com/geotools/geotools/blob/25-RC/pom.xml#L97
I guess that would be a manual update.


Now take subdirectory as bucket name when subdirectory is set only for the mongo document

Coverage decreased (-0.04%) to 90.654% when pulling fdda2e6e072027584bf503594401d83f51f1652c on sub-directory-bucket-name into f81b4f2cc94581c95284e1d010bbf5779b04c559 on next.


Tracking: Create a Debian Package

Motivation
We want to support the same options as zcashd for installing Zebra
Scope

[ ] #6422
[ ] Locate or create Debian packages for Zebra's required OS library dependencies
[ ] Choose the Packaging Tools for Zebra Debian Package

cargo-deb: A Rust crate that generates Debian packages from Cargo metadata.
dh-cargo: A helper tool to streamline packaging Rust programs/libraries with debhelper.

Build process

Define the build process in the rules file and use Cargo for compiling.

[ ] Create Debian packaging scripts in the Zebra repository

[ ] Decide on Binary and Library Paths for Zebra
[ ] Write control file for Zebra Debian package

Contains package metadata like dependencies, maintainer, description, etc.

[ ] Write changelog file for Zebra Debian package

Logs version numbers, changelists, and other details.

[ ] Write compat file for Zebra Debian package: Indicates debhelper compatibility level.
[ ] Create Zebra Debian package Release and InRelease files and signing packages.
[ ] Create Zebra Debian package signing key
[ ] Create Zebra Debian package  init scripts
[ ] Create Zebra Debian package systemd service files

Documentation

[ ] Write and generate a man page for zebrad
[ ] Include or link to any other available documentation

Deploy a Debian package server in our production server environment

[ ] Provision machine(s?)
[ ] Upload public Debian package keys on the server

Testing

[ ] Test the installation, removal, and any post-installation scripts on a clean Debian system.
[ ] Consider running crate tests during the packaging process (?)

Maintainer scripts

[ ] Decide if we need to write any scripts to run before/after installation and removal

Optional

I've started adding some possible tasks to this issue based on the comments in #6422, some of these may be redundant or overlap with other items in the list.
@gustavovalverde let's review and start breaking this down into a sequence of tasks during our next 1:1


feat(certs): add MRC methods to k8s client

Description:
Adds the configClient to the k8s client definition and adds methods to support getting, updating, and listing the MRC resource. These methods will be used to update the MRC during root certificate rotation.
Part of #5046

Testing done:

CI

Affected area:

Functional Area

Other
[x]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? No

Did you notify the maintainers and provide attribution?

Is this a breaking change? No

Has documentation corresponding to this change been updated in the osm-docs repo (if applicable)? No

Codecov Report

Merging #5127 (10edea7) into main (194856e) will decrease coverage by 0.26%.
The diff coverage is 21.87%.

@@            Coverage Diff             @@
##             main    #5127      +/-   ##
==========================================
- Coverage   69.36%   69.09%   -0.27%
==========================================
  Files         201      201
  Lines       15556    15650      +94
==========================================
+ Hits        10790    10814      +24
- Misses       4711     4781      +70
  Partials       55       55

Flag
Coverage Δ

unittests
69.09% <21.87%> (-0.27%)
:arrow_down:

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

Impacted Files
Coverage Δ

cmd/osm-controller/osm-controller.go
17.85% <0.00%> (ø)

pkg/catalog/mock_catalog_generated.go
0.00% <0.00%> (ø)

pkg/k8s/mock_controller_generated.go
4.73% <0.00%> (-1.07%)
:arrow_down:

pkg/k8s/types.go
100.00% <ø> (ø)

pkg/k8s/client.go
88.07% <84.00%> (-0.49%)
:arrow_down:

pkg/certificate/manager.go
78.41% <0.00%> (+0.35%)
:arrow_up:

pkg/messaging/workqueue.go
100.00% <0.00%> (+10.71%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.