Add SPARQL support

[ ] add a (set of) type(s) for representing a SPARQL abstract query
[ ] add a parser for building a SPARQL abstract query (see above) from a string in the SPARQL syntax
[ ] incrementally implement the SPARQL algebra (this item should probably be split into sub-items)

NB: since sophia uses a generalized RDF model (including variables), a Graph can also be used as a basic graph pattern. The query module contains a preliminary implementation of this idea.

For Oxigraph I built a SPARQL parser and a SPARQL algebra representation.
Algebra: https://github.com/Tpt/oxigraph/blob/master/lib/src/sparql/algebra.rs
Parser: https://github.com/Tpt/oxigraph/blob/master/lib/src/sparql/sparql_grammar.rustpeg
Parser invocation: https://github.com/Tpt/oxigraph/blob/master/lib/src/sparql/parser.rs
It might be interesting to build it as a separated crate and make Sophia and Oxigraph depend on it, just like Rio.
The parser is a bit slow at the moment, I am planning to rewrite it using a more efficient parsing library, probably nom. But I plan to make a working 0.1 release of Oxigraph first.

Thanks @Tpt for chiming in.

It might be interesting to build it as a separated crate and make Sophia and Oxigraph depend on it, just like Rio.

I have considered this. But as I mentioned above, in sophia it would be more natural to reuse the graph::Graph to represent basic graph patterns, so this might not be the smoother way to go... I'm still open to ideas, though. The more work we can mutualize, the better.

The more work we can mutualize, the better.

Huge +1. We could maybe have the parser in a separated crate with a fairly cheap algebra representation. Then Sophia could expose an easy to use algebra tree on top of it and Oxigraph could build from it its query plans.
An other way to go would be to have an "rdf-api" crate similar to what RDF/JS is doing for the RDF models and its commons extensions. And have Oxigraph and Sophia and hopefully the other RDF related libraries in Rust use it. But it might be hard to build a nice and efficient API without GAT.

An other way to go would be to have an "rdf-api" crate similar to what RDF/JS

This should probably be discussed in a separate thread. I created #23 for this. And yes, GAT would be a huge help in this direction.

Isaac Newton invented calculus while quarantined, so I guess I can write a SPARQL parser? I've used the oxigraph library quite a bit, and I like it, but the slowest part of it is its parser (acknowledged by @Tpt). I guess I can just start writing one and then ask for feedback? I'd like to to parse into a common AST. I guess using the oxigraph algebra is sufficient?

@dwhitney that would awesome...  :-)
Sophia has evolved quite a bit in the meantime, in order to be more usable as a common API for RDF in Rust. @Tpt and I have agreed (in a discussion offline) that a good way forward would be to extract oxigraph's SPARQL parser and AST into a separate crate, using sophia's Term type as a building block.
FYI, the Term type is currently being refactored (#47, #48, #49). Once this is finished (Literals still need to be done), I plan to extract it into a separate crate sophia_term, so that crates using it, such as this new SPARQL crate, would not end up importing the whole of sophia.

@dwhitney Great! Thank you! I have done some changes in the parser that have significantly improve the speed of the current parser (migration to peg 0.6 and avoiding duplicate parsing).

Haven't had as much time as I'd like to look at this (still working from home). I found this parser. Have either of you taken a look at it? https://github.com/mattsse/nom-sparql

@dwhitney I was not aware of this paper, thanks! There seems to be no code related to testing the parser against the W3C testsuite, I don't know how correct it is.

Yeah if your parser's performance has increased enough, perhaps there is no
need to invest the time in a new one, but before you made your
improvements, parsing was often the slowest part of the query by several
orders of magnitude.
On Sun, Mar 22, 2020, 2:22 PM Thomas Tanon<EMAIL_ADDRESS>wrote:

@dwhitney https://github.com/dwhitney I was not aware of this paper,
thanks! There seems to be no code related to testing the parser against the
W3C testsuite, I don't know how correct it is.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pchampin/sophia_rs/issues/19#issuecomment-602250770,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAIFIIH7HSAOK7GVOURAT3RIZJO3ANCNFSM4JY2PGVA
.

I was also thinking of implementing a SPARQL parser with nom before I found https://github.com/mattsse/nom-sparql which was mentioned by @dwhitney.
It says it's a WIP in the README and there was no development for more than a year. I wonder whether @mattsse would be willing to adapt it to fit into sophia, allowing it, via abstraction, to reuse some types and code. If he only meant it as a WIP which he doesn't want to maintain, maybe he'd be willing to have it adapted and included in sophia.

Hi there 👋
it's been a while since I've worked on it. It was a small side project I only hacked on for few weeks. Unfortunately I did not finish it so far that I was pleased with it and felt good about publishing it and moved on... 🙈
Currently I've got some time on my hands and if that crate could be useful for sophia I'd be willing to adapt/donate it. So long as nom as dependency is acceptable.

There seems to be no code related to testing the parser against the W3C testsuite

I wasn't aware that there is a test suite, If you can point me to where i can find it, I'd be happy to test against it @Tpt
fwiw the parser should be already feature complete(ish), so the most work would probably be

testing against the WC3 suite
impl Display for every type, so that a roundtrip (string -> sparql -> string) is supported
optional update to nom 0.6. (is still in alpha)

I'm not the owner of sophia so take this with a grain of salt.
The aim of sophia is to provide a common API for RDF in Rust (#23), therefore, it is not intended to include a parser in sophia (the current implementations are more or less artefacts from before the split into several crates). A more fitting approach would be to develop a SPARQL API for sophia, i.e. a bunch of traits, base types and core functionality. So that third party crates, like nom-sparql can implement a parser against this API. In the end this should allow users to pick a parser that fits their needs best. In addition, this means that an implementation of a SPARQL engine is not required to include a parser.

@yever, @mattsse Nice to see new people working on sophia and its ecosystem :+1:
@mattsse You can find out about the SPARQL test suite here: https://www.w3.org/2009/sparql/docs/tests/README.html

@mattsse The recent versions of the test suite are here: https://github.com/w3c/rdf-tests/tree/gh-pages/sparql11
I use this repository as a git submodule in Oxigraph in order to be able to get quick feedbacks (<1s for the full SPARQL test suite). Here is my testsuite evaluation code: https://github.com/oxigraph/oxigraph/blob/master/testsuite/src/sparql_evaluator.rs
It contains also support of query and update evaluation tests.
Oxigraph already has Display implementations: https://github.com/oxigraph/oxigraph/blob/master/lib/src/sparql/algebra.rs via the Sparql* structs (the default display prints the algebra notation). During testing I check that the -> serialized -> parser returns the same tree.

I have written a SPARQL parser with treesitter. Treesitter is very fast and has bindings for rust. Maybe this is of use.

I have a very early implementation of a SPARQL engine for Sophia: https://github.com/pchampin/sophia_sparql
It should be integrated in v0.9 (but it might not be fully compliant by that time).


Cost Reduction for create_sponsored_account_with_delegation

Context
Frequency has had two systems of preventing replay attacks on create_sponsored_account_with_delegation.

Keys could not be reused
Keys could be reused, but signatures could not be replayed using the pallet_msa signature registry

When #2 was instituted, the additional signup related calls of claim_handle and publishing a public key for DSNP Private Graph did not exist and were not considered in the load testing to determine the maximum amount of signups possible in a given time. Now that these other actions are normal, I think we should re-evaluate ways to reduce the weight of create_sponsored_account_with_delegation
For additional context and discussion see the Frequency Community Call on 2023-09-28: https://discord.com/channels/969001918460469250/969308206562164736/1157148627987333261
Goal
Lower the weight of create_sponsored_account_with_delegation by ~20%
Ideas
Use an account or key lock
Replace the use of the signature registry on create_sponsored_account_with_delegation by storing the expiration block from the signature with the MSA or key such that the key cannot be removed before that block number.

Pros

All integration and replay tests should work
No method signature change
No signature related changes
Removes at least two reads and two writes
Could also be applied to the add control key methods

Cons

Increases the long term state size of the chain (The registry has constant state size)
Removes the user's ability to act quickly when a mistake is made (as a new signature cannot update it)
Increases the number of ways that we are handling replay attack mitigation (We cannot remove the signature registry entirely as delegations MUST be able to be removed immediately)

Do Nothing: Aka wait for ParityDB Switch
The switch to ParityDB over RocksDB will reduce the cost of reads and writes by a lot. That switch will be at least a 20% decrease alone.
Something else?
Ideas are welcome.

Closing for now with https://github.com/LibertyDSNP/frequency/issues/1795


Third party libs

Not sure why this PR is including the sftp change which is already in master, but for now this is just to allow CTRE to test.

 Could you please rebase?

As noted in the commit comment, this was only PRed to allow CTRE to test it (because I didn't realize we weren't generating plugins from here with Jenkins). Given that PRs don't generate artifacts here, I'm closing this PR and will re-submit when the code is actually ready.


Made a simple benchmark to test against out of the box models.

I can make this a script if users aren't interested in notebooks

Looks good to me.  I don't personally use notebooks, but I know many users do.  One thing I will insist on is  no spaces in filenames.

It may be worth adding this as a script so it could be added as a part of a test suite.

Ok, I changed the filename to not have any spaces. I will commit this so we have it in the test suite


Replace "whitelist" with "allowlist" or "allow" throughout both code and UI

This replaces "whitelist" in the text of:

docs
CLI help text
CLI prompt and results text
tests

Since the shogun tests are mocked, I may need to leave the internal field names as-is. I'll re-open once I've done that.

@hunterloftis thanks for taking a look at this. The guidance we got last week was that we were going to take stock of the situation and then work to get all these done holistically as part of a coordinated effort since there are many places we are going to need to make changes. Is there something else driving this work for you or did you just notice the opportunity to make the changes here?

@Dhaulagiri I'm tracking several Dev Center updates, and some are blocked on product changes (like this one).
Most of those I can't do anything about, but I figured I could take 20 minutes to update the CLI output that we quote in the docs. Don't sweat it if you decide to go another way with the changes.


Menu header and footer section at fixed top/bottom position

Hello,
first of all, thanks for providing this great addon!
Question: Is it possible to customize the menu so that the header and footer sections of the menu are fixed at top and bottom respectively, so that only the section between them expands when the browser window height changes?
Thanks for your help,
Mark

Are we talking about the Vaadin 8 or the Vaadin Flow Version? They are pretty different in that perspective.

@MarkSSW Yes this is possible, but you will need to implement a interface to allow the contained Elements to still be highlighted and use some css flexbox magic.

@MarkSSW checkout the changes in #167 as soon as Version 2.0.1 is released


Complete port to manifest v3

All files have been updated to comply with the new manifest version 3.
Because chrome.webRequest.onBeforeRequest is not available anymore, it has been completely removed.
Otherwise there were some small changes to the manifest.json so that it represents a vaild v3 format.

Just a quick update, im still going to try to implement the new feature into the v3 port, time is just not there atm.

Alright, so after some investigation regarding manifest v3 and the change that introduced bangs anywhere in the search query I came to the following preliminary conclusion:
It looks like the change can't be brought to V3 because the part where it was implemented is not only deprecated but completely removed in V3. Implementing the change seems impossible.
The removed webrequest allowed to get the whole query. Now one can only read the address bar after the omnibox was triggered, that happens with the bang "!". So it seems that checking for a bang without a "!" at the front is not possible, which would make that change somewhat obsolete.

Merge conflict is marked as resolved because I resolved it as explained in the comment above


Please document how to use models created via tracing Rust-defined networks

Please document how to use models created via tracing Rust-defined networks.
An end-to-end example showing how to do everything in Rust would be very helpful!
I'm currently attempting to use a Rust-defined network that has been saved using CModule::save and loaded using TrainableCModule::load, and I'm seeing NaNs in my output that aren't there otherwise.
FYI, if you create a traced model using examples/jit-trace and then try to train it using examples/jit-train, you get the error:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Torch("element 0 of tensors does not require grad and does not have a grad_fn\nException raised from run_backward at /opt/conda/conda-bld/pytorch_1682343995026/work/torch/cs
rc/autograd/autograd.cpp:97 (most recent call first):\nframe #0: c10::Error::Error(c10::SourceLocation, std::string) + 0x57 (0x7f863938b4d7 in /home/ubuntu/anaconda3/lib/python3.10/site-packages/torch/lib/libc10.so)\nframe #1: c10::detail::torch
CheckFail(char const*, char const*, unsigned int, std::string const&) + 0x64 (0x7f863935536b in /home/ubuntu/anaconda3/lib/python3.10/site-packages/torch/lib/libc10.so)\nframe #2: <unknown function> + 0x46543b0 (0x7f863da413b0 in /home/ubuntu/an
aconda3/lib/python3.10/site-packages/torch/lib/libtorch_cpu.so)\nframe #3: torch::autograd::backward(std::vector<at::Tensor, std::allocator<at::Tensor> > const&, std::vector<at::Tensor, std::allocator<at::Tensor> > const&, c10::optional<bool>, b
ool, std::vector<at::Tensor, std::allocator<at::Tensor> > const&) + 0x5c (0x7f863da4342c in /home/ubuntu/anaconda3/lib/python3.10/site-packages/torch/lib/libtorch_cpu.so)\nframe #4: <unknown function> + 0x46aacae (0x7f863da97cae in /home/ubuntu/
anaconda3/lib/python3.10/site-packages/torch/lib/libtorch_cpu.so)\nframe #5: at::Tensor::_backward(c10::ArrayRef<at::Tensor>, c10::optional<at::Tensor> const&, c10::optional<bool>, bool) const + 0x48 (0x7f863ab20558 in /home/ubuntu/anaconda3/lib
/python3.10/site-packages/torch/lib/libtorch_cpu.so)\nframe #6: <unknown function> + 0x2c901 (0x558647e4e901 in ./target/release/examples/jit-train)\nframe #7: <unknown function> + 0x22677 (0x558647e44677 in ./target/release/examples/jit-train)\
nframe #8: <unknown function> + 0x159ee (0x558647e379ee in ./target/release/examples/jit-train)\nframe #9: <unknown function> + 0x16143 (0x558647e38143 in ./target/release/examples/jit-train)\nframe #10: <unknown function> + 0x16b0d (0x558647e38
b0d in ./target/release/examples/jit-train)\nframe #11: <unknown function> + 0x4a1ce (0x558647e6c1ce in ./target/release/examples/jit-train)\nframe #12: <unknown function> + 0x16135 (0x558647e38135 in ./target/release/examples/jit-train)\nframe
#13: <unknown function> + 0x29d90 (0x7f863902ad90 in /lib/x86_64-linux-gnu/libc.so.6)\nframe #14: __libc_start_main + 0x80 (0x7f863902ae40 in /lib/x86_64-linux-gnu/libc.so.6)\nframe #15: <unknown function> + 0x15365 (0x558647e37365 in ./target/r
elease/examples/jit-train)\n")', src/wrappers/tensor.rs:300:27

More to the point, is it possible to train models defined in Rust, saved, and then re-loaded?
I've found training to be very slow in Rust with a Rust-defined model, and I was hoping I could trace the Rust-defined model to TorchScript to speed it up.


Removing the required mark from field

I found this example somewhere in comments on your website and I tried editing it accordingly to #206 but required mark stays.
frist try
second try
Is there any way how to deal with this?

The "marker" mentioned in #206 is a w2tag with the content "Required field" that you can see if you click the Save button in this demo
I am assuming you want to get rid of the asterisk ( * ) , which you can not do this way.

Oh yes I am sorry. Yes I want to get rid of asterisk. So is there anyway how to do it without refreshing the whole form?

You could handle the adding / removing of the w2ui-required CSS class yourself.
See $(field.el).parent().parent().addClass('w2ui-required'); in the JS file. I'm not sure which element you need in the JQuery selector.

Yes that worked. Thanks. Would be cool if there would be some "cleaner way" via w2ui though.


When using alt+up/down arrow to move code, indentation does not apply

before:

After doing alt+up:

As I recall, it was changing its indentation according to the parent loop, but now it's not functioning as intended.

/assign -rebornix +aiday-mar


check all subscriptions

Description
example to check all azure subscriptions on tenant.
https://governance.rightscale.com/org/6/projects/7954/applied-policies/5de6a89bdb0b640001be491b
Issues Resolved
[List any existing issues this PR resolves]
Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] New functionality has been documented in CHANGELOG.MD

          1 Error

:no_entry_sign:
Please add a CHANGELOG.md file

          1 Warning

:warning:
Should this include readme changes

  Generated by :no_entry_sign: Danger


No helm chart for Benthos

Hi, could you update the link for the helm chart, cuz it could not be found
`Error: looks like "https://benthosdev.github.io/benthos-helm-chart/" is not a valid chart repository or cannot be reached: failed to fetch https://benthosdev.github.io/benthos-helm-chart/index.yaml : 404 Not Found``

Hey @Demmyart, sorry, it looks like the old pages deployment broke in the process of migrating to the Redpanda org. If you use the new chart repository, it will work as usual! https://benthosdev.github.io/charts/

oh, yes, it works, thank you!


Recipe Template

It would be nice to add a recipe template so there is a nice base to copy/paste when adding something new.

https://github.com/Mikesnorth/Recipes/pull/8


 Must be some bug in Kubernetes 1.22...

Created a clean EKS cluster, re-tested and the problem still persisted.
There's no EKS 1.23.x at the moment so need to wait for them to release.

I'm seeing the same error on EKS 1.22

Kubernetes 1.22 becomes EOL Today. Above we have reports that this could not be reproduceable on k8s 1.23 and 1.24, so I will leave this marked as "bug" until we confirm that this can't be reproduced on 1.25 as well.


Navigation Performance

I have a pretty huge site, where I have some performance issues with the call for initialData. I reduced the "level" of the typoscript default from headless, which improves that a lot already. But the question which come up, why we not use just the home page for that and determine if the page is active in another way? Like updating the store for navigation on route change.
Explaination: I have a site with overall around 30-40.000 pages, and every page has its own call for navigation. If we could concentrate that to one call the caching would be way more effective. The downside is, that we need to evaluate the active page in the frontend. But I think we would more benefit in larger applications when there is one api endpoint for the navigation per page. (I have 50 pages)
So basically the possibility to hit a non cached navigation link is pretty high.

*edit: As far as I can see, the application is already able to handle that like I was thinking about.
I also patched the api via nuxt plugin to make it work for me now:
import url from "url";

// eslint-disable-next-line no-unused-vars
export default ({ app, $router }, inject) => {
	app.$typo3.api.getInitialData = function (
		params = {
			path: "",
		}
	) {
		const urlObj = url.parse(params.path);
		const regex = new RegExp("^(/)?([^/]+).*");
		params.path = urlObj.pathname.replace(regex, "$2/");
		const URI = encodeURI(`${params.path}${app.$typo3.options.api.endpoints.initialData}`);
		const logLabel = `TYPO3 Initial Request - ${JSON.stringify(params)} - ${Date.now()}`;
		console.time(logLabel);
		return app.$typo3.api.$http
			.get(URI)
			.then((res) => {
				console.timeEnd(logLabel);
				return res;
			})
			.catch((error) => {
				console.warn(`Can't get the initial config of ${app.$typo3.options.baseURL}`);
				console.error(new Error(error));
				throw error;
			});
	};
};

@MichaelNussbaumerGOWEST sometimes you may to want to have different navigation and initialData for specific pages, for example for customer page, catalog page etc.
At the moment we get initialData once - during SSR - and after that when route is changing (on client side) we don't wan't to refresh initialData on each route change (unless you refresh it by $typo3.api.getInitialData) . For the current navigation state we use https://nuxtjs.org/examples/routing/active-link-classes/
If I understand you correctly - your issue is about calling initialData during SSR for each page, not for route change on client side ?

Exactly, I have a page with around 36k pages, so it has a huge impact on initial load on a lot of pages even though I have the same navigation everywhere.
But you are right, there might be different navigations in other cases, but in my case it is a huge disadvantage. So might be worth to have this behaviour configurable?


Using API V1, get all findings of an engagement using the engagement's ID.

Bug description
Trying to get all findings of an engagement using the engagement's ID but I end up having all findings.
Steps to reproduce the behavior:

Use this GET request <  {URL}/api/v1/findings/?test__engagement=1  > to access to all the findings that are under engagement 1
The API returns all findings (must have more than one engagement to notice that).

The expected behavior is retreiving the findings that are only under the engagement that has an id=1

Greetings marc-199.
What version of DefectDojo do you use?

Hi, I'm using the following branch : https://github.com/DefectDojo/django-DefectDojo/pull/1540
I'm trying to export the data via the API requesting all findings for an engagement but I end up getting all the findings. To avoid getting all the findings, I'm using a filter on the engagement string value to verify that it ends with the desired ID but the operation will become very heavy when the number of finding becomes really high. Thank you !

I was checked on DefectDojo v1.5.4 and work fine. It is possible what you make mistake on request (you can miss "_" then it will return all list of findings)

I'm pretty sure about the bug, please find in attachement the response of the application in .json format for the following GET request using Postman : {url}/api/v1/findings/?limit=1000&?offeset=0&?test__engagement=1&?active=1&?false_p=0&?verified=1
I changed the extension to .txt so the file can be uploaded.
Thank you.
getEngagementById.json.txt

May I ask you try API v2, /api/v2/doc/
API v1 will be no supported in the future.
Best regards.

Quickly trying to reproduce, I can't.
I am simply using my instance's https://defectdojo.xxx.com/api/v1/doc/#!/findings/findings_list swagger, passing an engagement ID. That engagement has 56 findings in it as show in the UI.
Call:
https://defectdojo.cloudbees.com/api/v1/findings/?test__engagement=2
The API call returns (truncated, but glanced at entire json)
{"meta": {"limit": 20, "next": "/api/v1/findings/?test__engagement=2&offset=20&_=1572294219136&limit=20", "offset": 0, "previous": null, "total_count": 56}, "objects": [{ ..... ]}

Looking at the json produced:
$ cat test.json |jq '.objects[].engagement' |sort |uniq
"/api/v1/engagements/2/"


Support Poison 3.0

Support Poison 3.0 too like Phoenix 1.3.
Also, Poison 4.0 seems to be on the verge of release (see devinus/poison#134).

Looks good to me, thanks


Update sbt-bintray to 0.5.5

Updates org.foundweekends:sbt-bintray from 0.5.4 to 0.5.5.
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 @scala-steward in the comments below.
Have a nice day!

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

https://github.com/sbt/sbt-bintray/releases/tag/v0.5.5


Allow dbt description to overwrite descriptions from the UI

Is your feature request related to a problem? Please describe.
At Clicampo we prefer to maintain our tables' descriptions up to date in our source code instead of the OpenMetadata UI, for us it should only show the latest description from the dbt manifest/catalog files.
Describe the solution you'd like
To have an option the DBT Source config where we can specify if we prefer to overwrite the descriptions or not
Describe alternatives you've considered
None so far
Additional context
Slack thread: https://openmetadata.slack.com/archives/C02B6955S4S/p1660227141692939

https://github.com/open-metadata/OpenMetadata/issues/6767

@OnkarVO7 Let's add a parameter in the DBT ingestion config to specify if we want descriptions to be updated from DBT or not (False by default).
Then we can use the patch_mixin from the ometa_api to handle this behavior directly

depends on https://github.com/open-metadata/OpenMetadata/issues/6844

@pmbrull did we handle this?

will be part of 0.12.1

closed in https://github.com/open-metadata/OpenMetadata/pull/7653


STM32F0 nucleo PWM output not working

Use basic sample blinky_led to verify stm32f0 nucleo pwm output. Enable timer2 and pwm nodes in devicetree. Despite of that fact there  is no pwm output on any pin. I think that pinmux is maybe wrong but cannot see even pinmux defines for timer. Does anyone try to run pwm on stm32f0 nucleo board to share? Thanks.

@nandra, there are 3 STM32F0 based nucleo boards ported in Zephyr, can you specify the one you're using ?
(Support is faster when we have precise information on the issue.)
Can you try to adapt this for your board and have a new try: https://github.com/zephyrproject-rtos/zephyr/pull/22277 ?

@erwango I'm using nucleo_f091rc board. I have adaptions done and driver is working just I think no signal is muxed properly thus  I don't have any output. Thanks.

for example
TIM2 CH2 output is available on PA1 (alternate 2)
TIM2 CH2 output is available on PB3 (alternate 2)
but the STM32F0 pinmux.c does not reference any pin for TMR 2
Both Pins are available on the nucleo board ARDuino connectors

@FRASTM ok thanks I'll add it to pinmux and retest. Thanks.

@nandra please get back to us when you have new results

This is my changes:
diff --git a/boards/arm/nucleo_f091rc/nucleo_f091rc.dts b/boards/arm/nucleo_f091rc/nucleo_f091rc.dts
index 124b3b1..4b37e06 100644
--- a/boards/arm/nucleo_f091rc/nucleo_f091rc.dts
+++ b/boards/arm/nucleo_f091rc/nucleo_f091rc.dts
@@ -93,3 +93,14 @@
 &adc1 {
 	status = "okay";
 };
+
+&timers2 {
+	status = "okay";
+};
+
+&pwm {
+	status = "okay";
+};
+
+
+
diff --git a/boards/arm/nucleo_f091rc/pinmux.c b/boards/arm/nucleo_f091rc/pinmux.c
index 3cdc008..b1eb632 100644
--- a/boards/arm/nucleo_f091rc/pinmux.c
+++ b/boards/arm/nucleo_f091rc/pinmux.c
@@ -43,6 +43,10 @@ static const struct pin_config pinconf[] = {
 #ifdef CONFIG_ADC_1
 	{STM32_PIN_PA0, STM32F0_PINMUX_FUNC_PA0_ADC_IN0},
 #endif /* CONFIG_ADC_1 */
+
+
+{STM32_PIN_PA1, STM32_PINMUX_ALT_FUNC_2}
+
 };

 static int pinmux_stm32_init(struct device *port)
diff --git a/dts/arm/st/f0/stm32f091.dtsi b/dts/arm/st/f0/stm32f091.dtsi
index 919f861..14215e6 100644
--- a/dts/arm/st/f0/stm32f091.dtsi
+++ b/dts/arm/st/f0/stm32f091.dtsi
@@ -21,7 +21,7 @@
 			status = "disabled";
 			label = "TIMERS_2";

-			pwm {
+			pwm: pwm_2 {
 				compatible = "st,stm32-pwm";
 				status = "disabled";
 				st,prescaler = <0>;
diff --git a/samples/basic/fade_led/src/main.c b/samples/basic/fade_led/src/main.c
index df14b62..d1def19 100644
--- a/samples/basic/fade_led/src/main.c
+++ b/samples/basic/fade_led/src/main.c
@@ -14,9 +14,9 @@
 #include <sys/printk.h>
 #include <device.h>
 #include <drivers/pwm.h>
-
+/*
 #if defined(DT_ALIAS_PWM_LED0_PWMS_CONTROLLER) && defined(DT_ALIAS_PWM_LED0_PWMS_CHANNEL)
-/* get the defines from dt (based on alias 'pwm-led0') */
+get the defines from dt (based on alias 'pwm-led0')
 #define PWM_DRIVER	DT_ALIAS_PWM_LED0_PWMS_CONTROLLER
 #define PWM_CHANNEL	DT_ALIAS_PWM_LED0_PWMS_CHANNEL
 #ifdef DT_ALIAS_PWM_LED0_PWMS_FLAGS
@@ -27,7 +27,7 @@
 #else
 #error "Choose supported PWM driver"
 #endif
-
+*/
 /*
  * 50 is flicker fusion threshold. Modulated light will be perceived
  * as steady by our eyes when blinking rate is at least 50.
@@ -35,7 +35,7 @@
 #define PERIOD (USEC_PER_SEC / 50U)

 /* in micro second */
-#define FADESTEP	2000
+#define FADESTEP	2500

 void main(void)
 {
@@ -45,21 +45,22 @@ void main(void)

 	printk("PWM demo app-fade LED\n");

-	pwm_dev = device_get_binding(PWM_DRIVER);
+	pwm_dev = device_get_binding("PWM_2");
 	if (!pwm_dev) {
-		printk("Cannot find %s!\n", PWM_DRIVER);
+		printk("Cannot find %s!\n", "PWM_2");
 		return;
 	}

+int err;
 	while (1) {
-		if (pwm_pin_set_usec(pwm_dev, PWM_CHANNEL,
-					PERIOD, pulse_width, PWM_FLAGS)) {
-			printk("pwm pin set fails\n");
+		if (err = pwm_pin_set_usec(pwm_dev, 1,
+					PERIOD, pulse_width, 0)) {
+			printk("pwm pin set fails, %x\n", err);
 			return;
 		}
-
 		if (dir) {
 			if (pulse_width < FADESTEP) {
+		                printk("stop %x \t", pulse_width);
 				dir = 0U;
 				pulse_width = 0U;
 			} else {
@@ -69,11 +70,13 @@ void main(void)
 			pulse_width += FADESTEP;

 			if (pulse_width >= PERIOD) {
+		                printk("stopF %d \t", pulse_width);
 				dir = 1U;
 				pulse_width = PERIOD;
 			}
 		}

 		k_sleep(K_SECONDS(1));
+		printk("pulse_width:  %d \n", pulse_width);
 	}
 }

but unfortunately cannot get output on any of above mentioned pins. Am I missing still something? Thanks.

what is the PA1 for TIM2_ CH2 configuration :
Pull up or Pull down ?
and its speed : STM32_OSPEEDR_HIGH_SPEED  or STM32_OSPEEDR_VERY_HIGH_SPEED

I just set: +{STM32_PIN_PA1, STM32_PINMUX_ALT_FUNC_2} alternate function 2. Do you suggest to use pullup + high speed options? Thanks.

yes, if you could  try a combination of STM32_PUSHPULL_PULLUP |  STM32_OSPEEDR_HIGH_SPEED
or STM32_PUSHPULL_PULL_DOWN |  STM32_OSPEEDR_HIGH_SPEED

@FRASTM I've tried:
{STM32_PIN_PB3, STM32_PINMUX_ALT_FUNC_2 | STM32_PUSHPULL_PULLUP | STM32_OSPEEDR_HIGH_SPEED},

but unfortunately still nothing.

why not PA1
{STM32_PIN_PA1, STM32_PINMUX_ALT_FUNC_2| STM32_PUSHPULL_PULLUP | STM32_OSPEEDR_HIGH_SPEED | }

OK this seems to do the trick. Can I create pull request with related changes to have PWM working on F0 nucleo? Thanks.

OK this seems to do the trick. Can I create pull request with related changes to have PWM working on F0 nucleo? Thanks.

Sure, go ahead!

@nandra if you're satisfied with the proposal can you close the point

Closing the issue, as last feedback was positive and no update since then


examples/dsptest: fix nxstyle issues

I forgot to mention that this PR depends on https://github.com/apache/incubator-nuttx/pull/713 to build correctly


BUG 4.6.8

4.6.7 OK
After 4.6.8 All images cannot show.
// folder/test.md
![](/static/1.png)
=>
<img src="/folder/static/1.png" />

Duplicate of #415


CAS operation on configs

From @jml on January 24, 2017 18:30
Would be good to have a compare-and-swap operation on configs to enable reliable tools for automatically updating them.
@tomwilkie I recall you mentioning this in the context of a particular use-case. Can you remember what it is?
Copied from original issue: weaveworks/service#1084

From @tomwilkie on January 24, 2017 18:34
We were discussing dashboards / notebooks - we could use the config server to serve them, and if we do we should ensure its hard to accidentally overwrite a concurrent edit.

Closed in #649


Add Weapon RAW Damage Value

So that it is easier to compare weapon power between the weapon classes.

I plan on requesting a pull and fiddling with the database to see if I can add a weapon's true RAW and get it to show up in the UI of the app. I have almost zero experience with any part of this but if I manage to get it working I'll certainly let you know.

Sorry to close and reopen this. Didn't know that button would close the issue, thought it would close the window and return me to the app page. XD


feat: add motion animations to whole page

I will add motion animations to the whole homepage.
This will enhance the UI drastically.
Deps using -
Framer motion.
Assign me this under hacktoberfest and gssoc-ext, i expect a level 3 for this.
@Suraj-kumar00 assign me this issue asap.

Hi @AE-Hertz it's yours, you have 3 days to complete this issue.
If you like the project do consider to give the repo a star :star2:


AEUX plugin doesn't connect with AE on Figma

Describe the bug
Hello, been trying to connect AEUX but doesn't work even with very simple shapes. I'm using the latest version of the plugin on a chip M1. I have the previous version on another laptop and works perfectly, this is very frustrating.
Does anyone solve this?
thanks in advance!
Screenshots

Thanks for the recording.
Double check that you have the Ae panel installed, then do a system restart. That can clear up the connections sometimes.
Any luck?

Thanks @adamplouff just did that but still doesn't work :/

Same problem here, today its not working at all. :/

I'm having the same issue.

I am also having the same issue.


Challenge 33: Typo

The second sentence of the Intro reads:
"These are called lifecycle methods and allow us to catch componets are certain points in time,..."
There are 2 typos:

components (second 'n' is missing)
should say "at certain points in time" (not "are certain points in time")

There should be a comma after "for instance":
"These are called lifecycle methods and allow us to catch components are certain points in time, for instance before they are rendered, "

In the Instructions, second sentence:
"We've provided a simple component with that renders a <div/>..."
The word 'with' should be erased.

ok, got it! Thank you!


Improve the text at the top of the home page

Received the latest home page text from the product team.

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


[Question] How to add personalisation vector to nxalg.pagerank

Hello,
I'm attempting to write a query that also calculates personalized pagerank. However, I can't figure out how to add the personalisation vector to the call. The issue is that in nxalg, it is not clear how the personalisation vector is supposed to be represented. Here: https://github.com/memgraph/mage/blob/main/python/nxalg.py#L489 personalisation is supposed to be a string, which is then converted to a dictionary (as far as I understand). Are there any examples of how the string should look? Is it a string representation of a dictionary? if so, what should the keys be: nodes, or node ids?
Thank you in advance

Having examined the code, the personalization vector is taken from the graph stored in Memgraph as follows:

Each node must have a property that represents the node’s personalization value (same property for all nodes)
You pass the property name to nxalg.pagerank

The rationale behind this is that, if you have a large graph, calling nxalg.pagerank this way is much more convenient than passing a dictionary with one item per each node.

Thanks for the answer! I'll close this.


GGplot2 in Galaxy

Implement a fully customisable GGPlot2 tool in Galaxy.
Galaxy XML is fully functional as seen here:

https://github.com/galaxyproject/tools-iuc/pull/2484

The backend needs work.
This could be a good student project for someone who wants to get familiar with R and ggplot.

Sure! But also please note that there are now a few ggplot2 based tools in IUC. I think people decided to make one tool per plot ... violine etc ...

Ah I see. I guess it would also be impossible to cater for every possible ggplot use case, so it makes sense that people roll their own tools for specific plots.
Shall I close this, then?

If you are missing plots, this is probably a good idea. If you don't need it, please feel free to close it.


Music Title + Author[request]

PROBLEM
If i use this mod, and music is printed is printed as location in system
SOLUTION
Just do something like vanilla when jukebox starts playing.
If you do you can do this option turn on by default.

That's a good idea, I'll see if it's possible. For music discs, we already know it is but the other ones may not be named sadly. I'll check that

but the other ones may not be named sadly

Then let it show the filename, or as now, the path.

Another request: Add option to print song name in toast and chat

What's wrong with the current print system? And I'm sorry but what is "in toast"?

advensments and recipes are show in "Toasts" a little box appear in up right corner.
and is nothing wrong with current print system, but option to have it on chat or in toasts is a good bonus ;)

Oh okay I see. Well I guess you're right, more options can be good =)

If you're crazy enough, you could find the title of every music in Minecraft and tell it to me so that I can add it to the lang file of the mod. But if not it's okay, I may do it myself one day when I have free time =D
Because yes, I'm sad to tell you that Minecraft songs' title are not stored anywhere (except for discs)


Table cell should allowed copy of data

Is your feature request related to a problem? Please describe.
Table row doesnt allow selecting content and copy.
It would very using if we can do so.
Describe the solution you'd like
Render a tabld and try select content of one cell using cursor.
Describe alternatives you've considered
Tried row selection, but it does the purpose of copying one cell content.
Screenshots or Videos
No response

Is there a workaround for this? I tried using user-select: text on the cells, rows, and the entire table and can't make it work. I also inspected the page trying to find what's disabling the user selection but I can't find anything

Hey guys 👋🏼, thank you for reporting it, I just sent a PR with the solution https://github.com/nextui-org/nextui/pull/716, however, it will work only for non-selectable tables because as the react-aria team has mentioned here things start to get tricky when you introduce drag/drop, selection, virtualizers, non-text components inside cells.
The PR will be available in the next version v11, in the meantime you can use this example to make it work


Finetuning bug

Hello, I really appreciate your work as it got such a surprising performance in zero-shot setting. But I‘ve gotten a problem while fine-tuning using your command 'python -m cli.finetune run_name=example_run model=moirai_1.0_R_small data=etth1 val_data=etth1'.
The specific bug is 'UserWarning: resource_tracker: There appear to be 12 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ''.
Although I tried so many methods provided by the internet, this issue still can't be addressed. Could you give some advice?

I think you can ignore this, seems like some issue with the dataloading.


Recommendations for saving Snakefile and config/cluster files do they don't get overwritten with pulls

Config files need not be hard coded into the Snakefile. They can be specified on the commandline with --configfile, see https://snakemake.readthedocs.io/en/stable/snakefiles/configuration.html. So, everybody can make their specific config files and leave them untracked.
Happy to add this to the readme.

Also, I think it would be good to have the tsinfer params in a config file rather than in a script file. I just opened #68 about this.

Added recommendations to README.md in PR #69 . Everyone can set up their own config file and specify on the command line via --configfile myFile.yaml. beetest.yaml can be used as a template.


Mixed reality fix

Docs Build status updates of commit 6288b5c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/overview/azure/mixed-reality.md
:white_check_mark:Succeeded
View

docs-ref-toc/top_level_toc.yml
: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.


spec: add ability for ADD to return arbitrary k/v data

Current design requires the same set of args/data to be passed to both the ADD and DEL commands. This is slightly tricky b/c the net conf (JSON) is often stored on disk. In that case, the container runtime needs to save a copy of it in case it gets changed by the user prior to DEL command execution.
Since the runtime must be saving data to disk, we can clean the API a bit by having the ADD command return a dictionary with arbitrary key/values for the runtime to persist. It would then pipe it back to DEL command. It is more general b/c it allows the plugin to not have to serialize state to disk itself (at least for a subset of cases).
Example ADD:
$plugin_type < /etc/cni/mynet.conf
{
    "ip": "<IP_ADDRESS>/24",
    "data": {
        "masqChain": "xyz123",
        "bridgeName": "abc"
    }
}

Followed by DEL:
$plugin_type <<EOF
{
    "masqChain": "xyz123",
    "bridgeName": "abc"
}
EOF

It is a good idea to pass this state out to the caller, but I would like to keep it optional/configurable.
This might be related to #116, because if we allow every plugin to have a state we should at minimum offer to take care of the state as we already do with the host-local allocator. It looks like this is developing to be a generic pattern so that every plugin can use a store backend to serialize state to. If the intention is to pass the state back to the caller, a store plugin possibly called stdout would just write it to stdout, a plugin possibly called embed would embed it in the plugin's result. The file backend we have so far would be an option too of course.
If this sounds reasonable not only to me I'll prepare a PR.
RFC @squaremo @thockin @jonboulle @zachgersh @jonboulle

@zachgersh @squaremo @jonboulle @philips
awaiting your feedback

FWIW, I like the idea of this as an optional CNI feature, but I'd suggest that when the k/v's are passed back to the plugin on DEL, that they also be nested underneath a data field.  Otherwise I'd be concerned contaminating the top-level namespace.

This might be related to #116, because if we allow every plugin to have a state we should at minimum offer to take care of the state as we already do with the host-local allocator

I don't see this as the same situation -- so I don't think that just because host-local happens to put its state on disk, it should be a general mechanism.
I'm not sure I see the need for making this an item of configuration -- is it really up to the operator to decide what kind of backend store is used? Or is it up to the client application?
Usually I'd expect the client to have its own idea of where state goes, but we can certainly make it easier by providing lowest-common-denominator procedures in libCNI.


add grid view for channels

when the window is wide, space is wasted by channels being in list view, please add a grid view / multi column list view for them.

thanks!!

No problem, released now with a fix in v1.6.1


Add support for the Orange Pi Prime

This PR sorts the image alphabetically, and adds support for the Orange Pi Prime.

Hi @deece,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!


SmartSurveyTask example

Hi, Is there an example of how to use SmartSurveyTask to create a survey with different paths? just like on iOS researchKit and the ORKResultPredicate or ORKDirectStepNavigationRule or ORKPredicateStepNavigationRule.
Thanks

In skin, the your_asthma survey does this for the flushot step.
https://github.com/ResearchStack/SampleApp/blob/master/app/src/main/assets/json/survey/your_asthma.json


feat: vary blame modes depending on enableExtensionsDecorationsColumnView experimental feature

First iteration on https://github.com/sourcegraph/sourcegraph/issues/17434
Depends on https://github.com/sourcegraph/sourcegraph/pull/36007

Turns off "blame for selected lines" mode if the client application is Sourcegraph and https://github.com/sourcegraph/sourcegraph/pull/36007 experimental feature is enabled.
Updates blame decoration text according to design.

Test plan

sideload extension
ensure that new decoration text formatting is applied
enable experimental feature and ensure that "blame for selected lines" is not available in Sourcegraph web app
ensure browser extension still has "blame for selected lines" mode

@tjkandala, do we need to take any action for the updated extension code to be available on Sourcegraph instances?


Disable Changelog

Is there a way to disable the generation of the Changelog file altogether?

Hey @aaaaahaaaaa :wave: I don't think an explicit option exists, but try setting changelog_file="/dev/null" in your configuration - that should be a workaround for Unix, at least


Add a maybe button to the feedback component

We have a problem where bots are filling in the feedback component and skewing the results. The theory here is that they are clicking on the first link, so we're introducing a new hidden first link called 'Maybe'.
I haven't added support for JavaScript so if a user were to click it, it would always make a normal browser request. I figure this is fine since we're targeting bots.
Component guide for this PR:
https://govuk-publishing-compon-pr-608.herokuapp.com/component-guide/
Trello Card

Suggest adding
          'aria-controls': 'page-is-useful',
          'aria-expanded': false,
          'role': 'button'

to the js-page-is-useful class of the Feedback component. @bevanloon noticed it was missing! Probably worth adding 'role': 'button' to the Maybe option too.

@stevenjmesser @bevanloon I've pushed up a commit to add those suggestions, not sure how to solve the Windows Narrator and NVDA problem (I'm surprised NVDA read it out).

@bevanloon If you can that would be great, @stevenjmesser suggested that we just go ahead and merge this and fix the accessibility issues later though.

The accessibility issues are surplus to the original card, imo, and the changes will allow the data scientists to continue with their experiment. It's possible that fixing the accessibility issues may change their results later though!

I've tested this again - JAWS and NVDA were ok. Windows Narrator was the same as before. There is an accessibility issue though.

Looks like we don't need aria-controls because the Yes/Maybe buttons don't reference a related element, in this case the form for more information.


table-space-db-insight

Hello,
The "table-space-db-insight" widget do not display graph when used on a case sensitive database.
Reproducible : yes, steps:

Add widget "table-space-db-insight" to "dashboard.database.widgets" in settings;
Right-click/Manage any DB with a CS collation;

Expected result: a graph
Actual result : Error: Query has no results to return
Cause: the script used by the widget use Pascal casing for tables in FROM clauses.
Correction: change script "/extensions/insights-default/sql/tablespace.sql", update FROM clauses to use full lowercase table names (sys.tables, sys.indexes, sys.partitions and sys.allocation_units).

SQL Operations Studio Version: sqlops 0.23.6 (8a3011756318a2ded1e6e84332230a2b2bf9c544, 2017-11-06T21:51:43.232Z)
OS Version: Windows_NT x64 10.0.16299

@TheEres @kevcunnane I confirmed it as an issue for both released public preview and internal build.

@TheEres Can you please check the following query works in your environment?

SELECT Top 5 TABL.name AS table_name,
SUM(PART.rows) AS rows_count,
SUM(ALOC.total_pages) AS total_pages,
SUM(ALOC.used_pages) AS used_pages,
SUM(ALOC.data_pages) AS data_pages,
(SUM(ALOC.total_pages)*8/1024) AS total_space_MB,
(SUM(ALOC.used_pages)*8/1024) AS used_space_MB,
(SUM(ALOC.data_pages)*8/1024) AS data_space_MB
FROM sys.tables AS TABL
INNER JOIN sys.indexes AS INDX
ON TABL.object_id = INDX.object_id
INNER JOIN sys.partitions AS PART
ON INDX.object_id = PART.object_id
AND INDX.index_id = PART.index_id
INNER JOIN sys.allocation_units AS ALOC
ON PART.partition_id = ALOC.container_id
WHERE
INDX.object_id > 255
AND INDX.index_id <= 1
GROUP BY TABL.name,
INDX.object_id,
INDX.index_id,
INDX.name
ORDER BY
(SUM(ALOC.total_pages)*8/1024) DESC

@erickangMSFT I double-checked and the casing was fixed internally 2 weeks ago. We need to test this against a case-sensitive server/DB such as @TheEres has to see what's going wrong.

Yes, this query works, and when changing tablespace.sql, the insight is ok (chart displayed correctly).

@erickangMSFT - are you definitely seeing this fail on our internal builds? This should be fixed based on @TheEres answer. Separately I've fixed the matching code snippet which still had this issue in it.

From the comments it sounds like this is fixed.  Please reactive if this is still a problem.


Static setup + custom field + dev mode = runtime error

Description
If I have a custom field definition (using React) in my defineStaticConfig  and start the "dev" process, the admin page is blank and have a Uncaught ReferenceError: module is not defined in the browser console.
I believe it's because the config is imported into the generated out.js from a separate URL that has no access to the compiled React, and React imported from the config cannot handle module imports.
I also tried to import react/cjs/react.development.js but then the two separate React engines were the problem, and of course that would not be a real solution anyway.
Steps to reproduce
Import React either directly into config.js or through another file defining the custom component.
Run "tinacms dev".
Expected result
The admin page to work.
Actual result
The admin page is blank.
Tinacms Package Versions
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>
Tools

Thanks @newash - can you try this again with the latest version of Tina?

Now that's weird. During compilation:
Error: Parse error @:32:18
    at parse$b (file:///........./node_modules/vite/dist/node/chunks/dep-4da11a5e.js:33682:355)
    at Object.transform (file:///........./node_modules/vite/dist/node/chunks/dep-4da11a5e.js:42891:27) {
  idx: 1180,
  pos: 1180,
  loc: {
    column: 17,
    file: '/........./.tina/config.js',
    line: 32
  },
  frame: '30:           <option key={d} value={d} />\n' +
    '31:         ))}\n' +
    '32:       </datalist>\n' +
    '                     ^\n' +
    '33:     </React.Fragment>\n' +
    '34:   );',
  id: '/........./.tina/config.js',
  hook: 'transform',
  code: 'PLUGIN_ERROR',
  plugin: 'vite:build-import-analysis',
  watchFiles: [ '/........./.tina/config.js' ]
}

Node.js v18.10.0

Tried to change the component JSX structure, removed the block it was complaining about, but then the same error was created for another line. This very same code was compiled without problems before.
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>

@newash I am not able to reproduce this? do you mind posting a snippet of your schema so that I can try and reproduce.
Also, can you check that at the top of your config.tsx (Needs to be .tsx or .js if you want to use jsx) you must add import React from 'react'

Good news: I got a hunch this morning, if renaming my config.js to config.jsx would make a difference, and it did.
With the jsx extension now it compiles. 🎉
Since in theory (== under regular circumstances) React JavaScript should also work from .js files, you might want to make a note in the docs...
And then the second good news: with the latest packeges
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>
the compiled config.js imports React from /admin/node_modules/.vite/deps/react.js?v=17f9416c and the admin page works.
Thanks for your effort guys!

@newash Thanks! a docs update seems like a great idea. Thanks for your help.

@logan-anderson @jeffsee55 Do you think we could potentially catch this and show a better error for non jsx/tsx files using React?


Pylance not provding all it's features

Intellisense not working for numpy and seen from other issues stated it's not working for externally installed libraries
The features like function description and auto-importing could not be seen in action.
The intellisence that I get do not show the information in the way it states it would, I guess it works according to Visual Studio IntelliCode

auto import not working for me as well.

Could you please file distinct issues following our bug template for each? This isn't enough information about each of these to properly investigate.
Numpy is mostly compiled, so we are missing information there until they publish a version with their stubs included.
There are a few open issues about auto-imports, do any of those cover your issue?
I'm not sure what "it states it would" means in the context of intellisense.

So when I installed numpy, intellisence wasn't working for it, auto-imports were not working in the sense if that's what the feature means is when you write math in the code it interprets it and adds the required import statement automatically.
While about other issues I did not go through them completely so can't say, but more importantly the intellisence one is more bothering. Also a detailed intellisense view is not shown for in built functions. Have attached an image for reference

Since this issue is about numpy, I will close it in favor of #150 which covers numpy support.


Toast take all height availlable on Edge Browser

I noticed that the toast take all height availlable on Edge Browser
Microsoft Edge 41.16299.371.0
Microsoft EdgeHTML 16.16299

Can't you give me the steps to reproduce?


Install Java during tarball-based installs

The RPM handles installing Java during installs for the normal code path. For the under-dev tarball install method, we'll have to do it manually.

daa7486b487455523a605c72dab00fd060c2877e implemented this and the associated RSpec tests.


Update farmbot-arduino-firmware

Pulls in the latest changes for the express board

Coverage decreased (-0.09%) to 29.394% when pulling 99b8b3089a4b512e60665765e0f07515a5610798 on fw-update into e21f082ed9886fc391f4ab914a9e201728be52a6 on next.


[ADD] Airdrop UI

Reason: To have the user get to the airdrop registration we need to implement the UI on mobile.
Instructions:

[ ] Add new collum Register your vault according to figma

[ ] When selecting this collum open new screen

[ ] Have Vault QR code icon in top right to directly access QR code

[ ] have Vultisig Web linking to https://web.vultisig.com/ when selected

@Rockindash I updated the view like we discussed:

fixed in #1311

@Rockindash could you add the Save button as in figma. like we discussed already?

QA will be done with merging #1326. cc @Rockindash

QA done.


Fix line with length greater than 120

This PR reference issue #1041 . Updates line having length greater than 120 characters.

Automated message from Dropbox CLA bot
@TroJan, it looks like you've already signed the Dropbox CLA. Thanks!

@timabbott : this can be reviewed now.

@timabbott : ready to be reviewed now.

Merged!  I also fixed a couple more issues and then moved the enforcement limit down to 140 characters (from the original 180).
I added support for marking a line with #ignorelongline if it's too long for good reason (used so far in the case of a super long URL in a comment in zephyr_mirror_backend.py).
$ ./tools/lint-all
Line too long (132) at tools/deprecated/review line 60: %%prog -r <reviewer> [-r <another-reviewer>] [-T  <alt tmp dir>] [-s <summary>] [-m <message>] [options] {<since>|<revision-range>}
Line too long (131) at zerver/decorator.py line 62:     #   (Callable[[HttpRequest, base.BaseHandler, Sequence[Any], Dict[str, Any]], Union[HttpResponse, _RespondAsynchronously]]) ->
Line too long (128) at zerver/forms.py line 29:                     u"<a href=\"https://blogs.dropbox.com/tech/2015/09/open-sourcing-zulip-a-dropbox-hack-week-project/\">" + \
Line too long (131) at zerver/lib/export.py line 1155:         actual_query = user_message_query.select_related("message", "message__sending_client").filter(id__gt=min_id)[0:chunk_size]
Line too long (134) at zerver/management/commands/import.py line 27: Usage: python2.7 manage.py import [--destroy-rebuild-database] [--import-into-nonempty] <export path name> [<export path name>...]"""
Line too long (131) at zerver/management/commands/realm_filters.py line 23: Example: python manage.py realm_filters --realm=zulip.com --op=add '#(?P<id>[0-9]{2,8})' 'https://trac.humbughq.com/ticket/%(id)s'


Public key authentication

@oggy I'm using your branch to test a SFTP connection.  I'm getting close, but having problems with ssh_key_cmp always returning 1.  I'm passing in authorized_keys in as an Array, it's getting parsed correctly AFAIK. Not sure what else to try.  Do you have  sample project or could you write a test to show how it works?

My apologies for the extended silence on this pull request.


Parameter Passing

[x]  Find a way for voice instances to access real-time parameter values
[x] Support for changing parameters mid-note
[x]  Make parameters maintain state after closing and reopening the synthesizer

branch: master`

finished in commit 6cdc8beaa2161d0a013d401383b540cbfb140c2a


Royal TSX not recognized as REMOTEDESKTOPCONNECTION

Hi!
The remote desktop client Royal TSX is not listed as one f the apps specified as REMOTEDESKTOPCONNECTION. Can you please add it? App id: com.lemonmojo.RoyalTSX.App
Link: https://www.royalapplications.com/ts/osx/features

I've added Royal TSX support at v10.18.70.
Please upgrade Karabiner to the latest beta version.
How to upgrade to the latest beta version:
https://pqrs.org/osx/karabiner/document.html#check-for-updates

This was working at some point but some how doesn't seem to be now.  Any way to figure out what's wrong?
I only have

Ignore Apps & Devices - Disable all settings when using RDC
Use PC Style Home/End #.2
enabled.

Karabiner v10.21.10
OSX v10.10.5
RoyalTSX v2.2.5
9/1/16 11:32:11.000 AM kernel[0]: org.pqrs.Karabiner --Debug-- KeyboardEventCallback [sending]: eventType 11, flags 0x00000000, key 0x0024, kbdType  40, repeat = 0
9/1/16 11:32:35.000 AM kernel[0]: org.pqrs.Karabiner --Debug-- KeyboardEventCallback [ caught]: eventType 10, flags 0x80000000, key 0x0077, kbdType  40, repeat = 0
9/1/16 11:32:35.000 AM kernel[0]: org.pqrs.Karabiner --Debug-- KeyboardEventCallback [sending]: eventType 12, flags 0x00100008, key 0x0037, kbdType  40, repeat = 0
9/1/16 11:32:35.000 AM kernel[0]: org.pqrs.Karabiner --Debug-- UpdateEventFlagsCallback [sending]: flags 0x00300008
9/1/16 11:32:35.000 AM kernel[0]: org.pqrs.Karabiner --Debug-- KeyboardEventCallback [sending]: eventType 10, flags 0x00300008, key 0x007c, kbdType  40, repeat = 0
9/1/16 11:32:35.000 AM kernel[0]: org.pqrs.Karabiner --Debug-- KeyboardEventCallback [ caught]: eventType 11, flags 0x80000000, key 0x0077, kbdType  40, repeat = 0
9/1/16 11:32:35.000 AM kernel[0]: org.pqrs.Karabiner --Debug-- KeyboardEventCallback [sending]: eventType 11, flags 0x00300008, key 0x007c, kbdType  40, repeat = 0
9/1/16 11:32:35.000 AM kernel[0]: org.pqrs.Karabiner --Debug-- UpdateEventFlagsCallback [sending]: flags 0x00100008
9/1/16 11:32:35.000 AM kernel[0]: org.pqrs.Karabiner --Debug-- KeyboardEventCallback [sending]: eventType 12, flags 0x00000000, key 0x0037, kbdType  40, repeat = 0


Add Spoken Language Identification

Thanks for making an Awesome list! 🙌
It looks like you didn't read the guidelines closely enough. I noticed multiple things that are not followed. Try going through the list point for point to ensure you follow it. I spent a lot of time creating the guidelines so I wouldn't have to comment on common mistakes, and rather spend my time improving Awesome.

Apologies, new to Awesome lists. Currently, this list particular list does not conform to several of the Awesome list requirements, and these need to be addressed first. For this reason, closing this PR for now.


django-extensions on production?

The django-extensions package is currently only available locally. It's obviously a bad idea to run runserver_plus on production, but e.g. the shell management command is pretty neat.
Any other reasons why this is restricted to the development environment?

It's extremely intentional on my part to limit django-extensions to non-production environments. Why?  The biggie is runserver_plus, which runs werkzueg, which was the gateway used in the Flask-powered Patreon hack. In theory, that shouldn't have happened, but as shown from Patreon, accidents do happen. That's the incident we know about, but I would be very surprised if it hasn't happened several or many times in the past to Django and Flask powered projects.
That feature of django-extensions has always scared me, hence the exclusion of that package from our production environment.
Heck, I don't even like django-extensions. Why not? Well - it does too much:

runserver_plus
shell_plus
graphing of models
model extensions
sqldiff
template stuff
much, much more!

The volume of things it does isn't a feature IMO, it's a flaw. Furthermore, it incapsulates all that stuff in sophisticated... cough... spaghetti code. When code gets that sophisticated for no good reason, what other security holes can/does it open?
Periodically I look for something like shell_plus outside of django-extensions.
So let me finish this diatribe by saying that if there exists a port of shell_plus from django-extensions to an independent/focused package, I would love to include it in cookiecutter-django.

Periodically I look for something like shell_plus outside of django-extensions.


Allow both dualstack and accelerate

cc @kyleknap @jamesls

Current coverage is 97.61% (diff: 100%)

Merging #1048 into develop will increase coverage by <.01%

@@            develop      #1048   diff @@
==========================================
  Files            44         44
  Lines          6898       6909    +11
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6733       6744    +11
  Misses          165        165
  Partials          0          0

Powered by Codecov. Last update 4c14728...4d3dbb0

Capturing some offline discussion:
It would be great if we could make this more generic such that adding new url-based features is painless. This is vastly more complicated than it should be because we actually modify the provided endpoint url and force path style addressing if it looks like an accelerate url. However, there is little reason for us modify the url and we should be able to force path style separately. The next step forward should be to not modify a given endpoint url.

Alright it should be good to look at again. There was some major refactoring on how we set the addressing style that went into this.

@jamesls Would you be supportive of moving them to ClientArgsCreator? That's where I initially had them.


Fix 301 redirected links

Update Links to reduce 301 redirections for faster URL resolution.

Great idea! Thanks for the fix.


Any instructions for running the code?

Hi Mengjie,  thanks for sharing this project. Would you mind providing additional instructions or guidance in README so that we can re-run your code?

hi @lixin4ever, thanks for your interest! i've pushed some scripts, pls c.f. https://github.com/mprompting/xlmrprompt/commit/28e4b38d3caf766633954636190e3a05767b285e
there might be a few adjustments need to be adapted, e.g., pointing to the few-shot dataset directory :)


MINOR: Split lines not aligned horizontally in the CMS

Affects master branch.
Jira: https://silverstripe.atlassian.net/browse/OSS-1731

Has been fixed now


Support input broadcasting

Please add the ability to broadcast input to all splits.

https://github.com/ghostty-org/ghostty/discussions/3227


[build] Disentangle r2*.c++, memory-cache.c++ from io target

Mark tools:dump_api_ast as no-downstream – this target is expensive and serves no purpose for the downstream build.
Disable default dependencies for tracing to drop superfluous crate and match downstream

[ ] add downstream PR to update bazel deps there as needed


Encyption and decryption of string using python

Proposed title of article
Encryption and decryption of string using python
Proposed article introduction
in this article, I will discuss the concept of encryption and decryption of string in python and execute it. Whereby there will be conversion of text to ciphertext through the process called encryption and decoding the encoded data which is converting back ciphertext to plain text through the process called decryption.
Key takeaways
-introduction to encryption and decryption.
-symmetric key encryption
-steps to be followed for symmetric key encryption
-Asymmetric key encryption
-steps to be followed for Asymmetric key encryption
-conclusion
Article quality
-I will use simple language for easy understanding
-It will contain detailed information.
-it will be direct to the point for easy understanding
References
N/A

Thank you for your response and we thank you for submitting your topic. After some careful consideration it struck us that this topic may be a bit over saturated throughout other blog sites and official documentations. Feel free to submit another topic. Thanks
https://www.google.com/search?q=Encyption+and+decryption+of+string+using+python&oq=Encyption+and+decryption+of+string+using+python&aqs=chrome..69i57j69i61.243j0j9&sourceid=chrome&ie=UTF-8


Drag display component error

when drag a display component to botton position (from other component) in perspective editor, the app redirets to "www.example.com"

I'm no longer able to reproduce this. It was probably fixed in the Uberfire perspective editor. @dgutierr I believe you can close this one.


GitLab: use Version field to choose one environment or another.

Goal: implement something for #1460 that works
Way to do it:

Use the ref.Version field to select what environment to use for a variable.

Help needed:

Write tests for it that mock it.

Signed-off-by: Matcha @sennder<EMAIL_ADDRESS>

Hey, i would prefer to have this variable filter on the store spec. It looks very odd to use the version field for that IMO.
Would that work for you, too? What do you think?

Hey.
We would also love support for the environment_scope filter. So a strong +1 from my side.
@moolen As for the question: Since there is no concept of version in context of CI/CD Variables in gitlab (as of yet), I would think @matchaxnb suggestion would be a good fit - as version would otherwise be unused. If not by (ab-)using the "version" field, how could someone make a switch to a different "environment_scope"? Using multiple store configuration does sound quite restrictive.

as version would otherwise be unused.

What happens if gitlab starts supporting versioning on variables? Will this provider not be compatible with this feature at all, since it is used for other feature? Plus, from an user perspective, we need to have the same feature matching across providers. It would be hard for a developer using AWSSM/Hashivault wanting to start to use Gitlab provider to figure out what are the differences.
I agree with @moolen and rather have it as a specific field with the provider.

@gusfcarvalho Thanks for the thorough response. Your feedback absolutely makes sense.
Since those changes sound a bit more involved compared to this...Do you happen to know whether this feature is planned already or would you rather wait for a PR from the community?

Hi @all,
this PR is bases on the idea to "(mis)use the version" field. @gusfcarvalho and @moolen recommend to use "environment" field on "(Cluster)SecretStore".
Shouldn't we rather close this PR, as the concept decision is more-or-less already taken and start a new PR from scratch?

Yeah, i guess that makes sense to have that separate :+1:!


(Suggestion) Filter all photos from a subreddit

Meaning remove them. I hate seeing all the I bought a new iPhone posts

Closing since you appear to have gotten an answer on the subreddit. For future visitors: you can do this by pressing the "..." button and tapping "Filter content". This lets you filter out images, albums, gifs, videos, links, selftext posts, and nsfw posts.


deno check docs are just a copy of deno cache?

https://docs.deno.com/runtime/manual/tools/check/ right now is pretty much identical to deno check?

I don't think im seeing what you're seeing. These two?
https://docs.deno.com/runtime/manual/tools/check/
https://docs.deno.com/runtime/manual/tools/cache/

I started fixing it in https://github.com/denoland/deno-docs/commit/3114421eac584a21ab974e10728b0b131b498e5e (see how it was prior). But the option section is still identical. We should also link to the "TypeScript in Deno" section from the subcommand docs.
Main thing that is missing docs is --all flag

Now fixed


normalise versions for target == this comparison

For the node-gyp rebuild case, everything is calculated fine for configure but then when it gets to install it's passing in an argv[0] with the version number and the v is stripped from that version but we are comparing with process.version which has a v so the naive comparison says it's not the same version and therefore we are not targetting the "default".
The solution here is to simply normalise process.version and match it to the already normalised target version so the comparison is fair.
Reported here for 4.0.0-rc.4

thanks @targos, fixed

landing to get this into 4.0.0-rc.5


chore: improve type for mount with TS v4.8

I'm not 100% sure why we need these with TS v4.8, probably a change needed by https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/#improved-intersection-reduction-union-compatibility-and-narrowing
TS compiler is happy with these changes

Merging this to unblock the bump to TS v4.8


Plot surface in right order

The build fails because of the missing changes in #132.

from the changelog
The strict keyword argument to makedocs has been removed and replaced with warnonly. makedocs now fails builds by default if any of the document checks fails (previously it only issued warnings by default). (https://github.com/JuliaDocs/Documenter.jl/issues/2051, https://github.com/JuliaDocs/Documenter.jl/issues/2194)

For upgrading: If you are running with strict = true, you can just drop the strict option. If you are currently being strict about specific error classes, you can invert the list of error classes with Documenter.except.

I know, I already fixed that in #132. So I removed your commit again :)

Aah, sorry I misread the message as this PR was supposed to fix the docs build.


FileNotFoundError: [Errno 2] No such file or directory: '/opt/carla-simulator/PythonAPI/examples/tensorflow_yolov3/carla/data\classes\coco.names'

HI,
I got this error when trying to run yolov3_object_detection.py . It said file not found, but the file exist in the directory.
Regards,
Amer

same error as below. Did you fix it? Thanks
File "C:\CARLA_0.9.11\WindowsNoEditor\PythonAPI\examples\tensorflow_yolov3\carla\utils.py", line 26, in read_class_names
with open(class_file_name, 'r') as data:
FileNotFoundError: [Errno 2] No such file or directory: './data/classes/coco.names'

no, I didn't. I just use other model. this repo has insufficient guide.

Do you have the file yolov3_coco.pb. I have the file of coco.names


Group child player limiting bounds should match the parent player's limiting bounds.

Group child player limiting bounds should match the parent player's limiting bounds.
Animation groups that are fill: none should clip the inner child player fill regions. We currently don't support this behaviour.

2cryptic4me.
There's clearly a bug here (the animation is:
   var sequenceEffect = new SequenceEffect([
      new SequenceEffect([
        this.staticEffect(this.target, '1px', {duration: 2, endDelay: 2}),
        this.staticEffect(this.target, '4px', {duration: 1, endDelay: 1}),
      ], {endDelay: -6}),
      new SequenceEffect([
        this.staticEffect(this.target, '0px', {duration: 1, endDelay: 1}),
        this.staticEffect(this.target, '3px', {duration: 2, endDelay: -2}),
        this.staticEffect(this.target, '2px', {duration: 1, endDelay: 2}),
      ]),
    ]);

which should provide:
|  1 |------
            |4|---
|0|---
      |  3 |
      |2|------

But at t=4 the value is currently 3px, not 4px.
I can't see how this is related to group fill clipping, though. Both groups are in their active regions and not clipping, right?


Window overflow to adjacent monitor when movefocus

I have a three-monitors setup, and the window will overflow to the adjacent monitor when I movefocus.
To reproduce, I set my column width to one half, and opens three window in a row, so it will take 1.5 of my screen width. So whenever I switch focus between these three windows, the one that is leaving my screen will show on the adjacent screen for a second and then disappear. Below is the recording of my secondary monitor, the window in the main monitor moved to this monitor when I was doing movefocus.
https://github.com/user-attachments/assets/8ae6d2dd-25af-4370-a288-52e4123eb078
Another thing might be related, the window remains when I switch to a new workspace. In the recording below, I switched to workspace 2, but the rightmost workspace is still there during the animation.
https://github.com/user-attachments/assets/42e4cf2f-bb34-4f2c-b355-9e23a1bf5a55
Is there anyway to only display windows in their current workspace?

Yes,, windows "stay there" for a short period in the adjacent monitor. This is a known issue that started after Hyprland v0.35, as explained here.
There is basically nothing I can do. Let me know if that is exactly what you mean, or there is something else I am not understanding. Otherwise I will have to close the issue, as there is nothing I can do in the plugin to change that behavior.

Yes,, windows "stay there" for a short period in the adjacent monitor. This is a known issue that started after Hyprland v0.35, as explained here.
There is basically nothing I can do. Let me know if that is exactly what you mean, or there is something else I am not understanding. Otherwise I will have to close the issue, as there is nothing I can do in the plugin to change that behavior.

Thanks for your reply. Sorry for making a redundant issue. I really enjoy this plugin, too bad it cannot work perfectly with my setup. I will close this issue due to repeated topic.

Yes, I share your feelings, I also have a multi-monitor setup and see the issue. After almost six months, I am used to it, but it used to be a bit frustrating.

For reference https://github.com/hyprwm/Hyprland/issues/8349


rust-clippy job

Please, check feature/github_actions for progress on this task. I've created a very basic dummy libnpi_c.so for building + running clippy. However, executing some tests  require either more logic into the dummy libnpi_c.so or having vcs installed somewhere (remote node?).


block-indent is wrongly affecting closing brace

Given this CSS:
.first-property {
  position: fixed;
  top: 0;
}

.second-property { position: fixed; }

If the only CSSComb option we have is "block-indent": 2, the result will be:
.first-property {
  position: fixed;
  top: 0;
  }

.second-property { position: fixed; }

Suffice it to say, this is wrong. } should have been left alone, just like .first-property { was. After all, it is not part of the block itself.
“Why not just set "space-before-closing-brace": "\n" as well, then?” Because that will give us:
.first-property {
  position: fixed;
  top: 0;
}

.second-property { position: fixed;
}

And that is wrong as well. The goal here is to arrive at the first code example. From their names, block-indent is the misbehaving property.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26702296-block-indent-is-wrongly-affecting-closing-brace?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github).

+1

+1

+1. In my case, setting "space-before-closing-brace": "\n" still produces the undesired result of leaving the last closing brace indented.Would love to at least have an option for this added.

What about the following configuration?
{
  "space-after-opening-brace": "\n",
  "space-before-closing-brace": "\n",
  "block-indent": 2
}

The result is:
.first-property {
  position: fixed;
  top: 0;
}

.second-property {
  position: fixed;
}

Is that acceptable?
I do agree with you that the block-indent option is misbehaving. But from @tonyganch's test files, I think that's exactly what he intends this rule to do… Changing that behavior would result in a breaking change for users.
Personally I'd like to do that in the v4 release (which won't come too soon…).
@tonyganch, what do you think?

@sodatea In what concerns my original post, that wouldn’t be acceptable. The goal was to arrive at the first code block (i.e. It would remain unchanged). Three lines for something that I’ve specifically set as one is also an issue.
Having said that, I have since stopped using CSSComb, so I don’t really care either way. I keep the issue open simply because other people also expressed desire for the feature, so the desired outcome should be shifted for what they envision, not necessarily my top post.

@sodatea Your fix works great for me.  Thanks.
With that being said, I do feel that the current behavior should be a bug rather than a feature.  Thanks again!

@sodatea - That did the job beautifully for me..
.second-property {
  position: fixed;
}

just looks nicer to me than:
.second-property { position: fixed; }


The new note is not automatically showed up after click the add button

After added a new page note, the note will not auto shown up. And since there is no refresh button, user needs to close the SaltyNode page and reopen it to see the latest added note.

First insight: this can be fixed with event bus.
We can use event bus to emit an event, then inside event listener, we can attach the new note to the side bar list..
It will also be good to add a refresh button somewhere in the UI.

Sorry, the event bus solution does not work out for this. We need to fetch all notes from server again for that page. As the note ID is generated in server side.

fixed

fixed


many function should check parameter

i find lru/cache.go does't check parameter.if user use negative number,it may be unusable.

if let me rewirte the code,it would be hounorable to me.

I don't think this is a common enough problem to worry about.
If users want to shoot themselves in the foot, feel free. In fact, this package isn't supposed to be public. It's an internal detail but predates Go's internal package mechanism.


Selected filters on search result page reset after selecting a page form the pagination

Environment Details

Spartacus:  0.1.0-alpha.6
Browser: Chrome / v74
OS: Windows 10
Device: Laptop
Other environment details: Angular CLI 7.3.9, Angular 7.2.15, Node 10.16.0, yarn 1.16.0

Steps to Reproduce

Enter "power" into the search bar
Go to the search result page
Select the filters Stores:Chiba and Stores:Choshi
Select page 2 at the pagination

Observed Results
The second page of the search results will be shown, but the filters have been reset and the shown number of results is the number of results before I selected a filter.
Expected Results
The second page of the search results should be shown with the selected filters and the shown number of search results also should not change.
Repository Used

Release 0.1.0-alpha.6
Branch "develop" / commit: 154e6bcc52b682bdebdf37cc18a14093aded1d17

Offer to Fix
No (Angular knowledge not good enough yet)
Additional Information

this was fixed before, but it's back (GC also saw this)

Selected facets no longer disabled during pagination. 🆗
Same amount of search results is kept throughout pagination process. 🆗


support for gguf embedding models

Hi, really appreciate the work on this project (the llama-cpp-rs crates are not great).
I would like to load a text embedding model such as: https://huggingface.co/nomic-ai/nomic-embed-text-v1.5-GGUF
I am open to other types of embedding models if nomic is not the right one.
Also willing to investigate how to add this myself if I can get some pointers.

Hi @ericcarmi! Adding embedding models would be great - it just has not been a priority yet! I would be happy to give you some pointers.
For you to add a new model, I'd follow the below steps:
First steps

Write the model code (probably in mistralrs-core/src/models) - don't worry about interfacing with AnyMoE or the NormalModel system or PagedAttention. Just add the code to load the model from a VarBuilder and config, and then do a forward pass
Open a PR - so that I can review the code and provide better help

Making it fit with mistral.rs
3) Update the model loading to match mistral.rs (I haven't looked into Nomic yet so this may be different): use (self attention) ScaledDotProductAttention, (kv cache) Cache, (efficient RoPE) RotaryEmbedding.
4) Update the model forward pass to match mistral.rsBecause this embedding model produces embeddings, not tokens, we should update theSequence` struct to handle embedding vectors
Add APIs
5) Add support for OpenAI server requests (mistralrs-server/src/openai.rs and mistralrs-core/src/request.rs) and responses (mistralrs-core/src/response.rs). By doing this, you will automatically add support to the Rust API.
6) Add support to the Python API
As you can see, we kind of work outwards from the models to the APIs. I'm happy to help you with this, please feel free to ask me any questions along the way.


Folder icons in tabs are not showing up

Description
The icon of folders in the tab area is not showing up
Steps To Reproduce
No response
Expected behavior
Folder icons should appear
Files Version
Version: <IP_ADDRESS>
Windows Version
10.0.22622.586
Relevant Assets/Logs

Thank you for the bug report, v2.3.12 is not an available release and was removed shortly after being published. We recommend downloading the latest preview build in around 30 minutes that reverts back to the previous version (it'll have a higher version number but it's essentially the same version)


Begin dropping support for Python 2.7

Fixes #1276
Description of the changes being introduced by the pull request:
This is a first pass at removing Python 2.7 from the codebase, focused on ensuring our next release does not claim to support Python 2.7 when we have no intention of doing so.
There are many more improvements that can be made in future, including (I think) to cleanups to the GitHub Actions Workflow file.
Please verify and check that the pull request fulfills the following
requirements:

[ ] The code follows the Code Style Guidelines
[ ] Tests have been added for the bug fix or new feature
[ ] Docs have been added for the bug fix or new feature

Do we plan to remove the python2 test files in this pr?
It seems like a logical thing to do given that you are removing python2 as a test environment for tox.
From the top of my head the python2 tests we should remove are:

test_proxy_use.py
proxy_server.py
a unit  test in test.utils.py testing startup of proxy_server.py

Thanks for taking a look at the PR Martin!
I hadn't removed the Python2 specific test files in this PR because I was aiming for the low hanging fruit that would prevent folks concluding that we continue to support Python2. However, now that you have pointed them out I will be happy to update the PR to also remove them.

Thanks for taking a look at the PR Martin!
I hadn't removed the Python2 specific test files in this PR because I was aiming for the low hanging fruit that would prevent folks concluding that we continue to support Python2. However, now that you have pointed them out I will be happy to update the PR to also remove them.

Glad to hear that!
If you want, another check you can remove is IS_PY_VERSION_SUPPORTED in test_api.py.

Thank you for the review @jku. I've filed issues for six (#1296) and from __future__ (#1297) and rebased the branch on develop. Once CI is happy, I will merge.


Can you share the Cropped-PlantDoc dataset as well?

I see that you achieved higher accuracy with cropped datsset. Can share that dataset as well?

We have provided the images and the bounding boxes here: https://github.com/pratikkayal/PlantDoc-Object-Detection-Dataset
The cropped dataset can be obtained from this.

We have provided the images and the bounding boxes here: https://github.com/pratikkayal/PlantDoc-Object-Detection-Dataset
The cropped dataset can be obtained from this.

ok thanks.


Does Azure AD for SharePoint Server Authentication work with Cloud Hybrid Search?

Cloud Hybrid Search ( https://docs.microsoft.com/en-us/sharepoint/hybrid/configure-cloud-hybrid-searchroadmap ) is a great feature. Does Azure AD for SharePoint Server Authentication work with it? TY.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f079fa08-284c-3f14-be4a-1f32d5b0e7b9
Version Independent ID: 707cbeee-d311-d430-6119-e9ae8b8aeae5
Content: Using Azure AD for SharePoint Server Authentication
Content Source: Enterprise/using-azure-ad-for-sharepoint-server-authentication.md
Service: o365-solutions
GitHub Login: @MSFTTracyP
Microsoft Alias: tracyp

@sngoz - As of right now, cloud hybrid search does not support SAML claims providers, it requires NTLM or Windows claims.

@kaevans - Thank you.
Can SharePoint Online be crawled by an on-premise Search Service Application and search work with security trimming, when Azure AD for SharePoint Server Authentication is used?
Also are there plans to include support for SAML claims providers in cloud hybrid search in the roadmap?

No it cannot be used to search and provide security trimming out of box. You could look into on-premises search extensibility to see if this can be built.
To provide feedback on this scenario, post to Uservoice. https://office365.uservoice.com/


Add function to blog of web portal.

Is there a way to add the ability to copy text from a word/wordpad etc document and paste to the
blog text editor window please ?
On updating portal to latest version using ./install.sh, all previous station blogs are deleted.
It would be useful to have the blog of your choice held as a word processing document for easy transfer via paste after upgrading the station web portal to the latest version.

I use TinyMCE for the blog post contents and if I am not mistaken there is Word converter already in place. Not sure but I think it is just a matter of adding an additional tool bar button. I will look into adding the option if in fact it is available.
I have been focusing on upgradability in the next release. That being said you will have to suffer through the "reset" just one more time. Until then backup the file /var/www/html/blogPosts.xml and restore it afterwards. This is actually already an open issue located at  https://github.com/jprochazka/adsb-receiver/issues/98

I use TinyMCE for the blog post contents and if I am not mistaken there is Word converter already in place. Not sure but I think it is just a matter of adding an additional tool bar button. I will look into adding the option if in fact it is available.
I have been focusing on upgradability in the next release. That being said you will have to suffer through the "reset" just one more time. Until then backup the file /var/www/html/blogPosts.xml and restore it afterwards. This is actually already an open issue located at  https://github.com/jprochazka/adsb-receiver/issues/98

I use TinyMCE for the blog post contents and if I am not mistaken there is Word converter already in place. Not sure but I think it is just a matter of adding an additional tool bar button. I will look into adding the option if in fact it is available.
I have been focusing on upgradability in the next release. That being said you will have to suffer through the "reset" just one more time. Until then backup the file /var/www/html/blogPosts.xml and restore it afterwards. This is actually already an open issue located at  https://github.com/jprochazka/adsb-receiver/issues/98

Hi jrochazka,
Looked in the suggested location to find file to backup but I cannot locate blogposts.xml


ambient peer discovery in the browser

Version<EMAIL_ADDRESS>

Platform: Linux joemama 5.19.0-45-generic # 46~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 7 15:06:04 UTC 20 x86_64 x86_64 x86_64 GNU/Linux
Browser: Brave (Chromium)

Subsystem: Relay, Pubsub

Severity: High

Description:
Clients are not discovering each other passively. After connecting them manually and subscribing to the same pubsub topic; peers become pubsub peers but never add each other to the topic mesh.

Steps to reproduce the error:
https://github.com/tabcat/libp2p-pubsub

Getting an error when calling pubsub.publish
Uncaught TypeError: Cannot read properties of undefined (reading 'Message')
    at buildRawMessage (buildRawMessage.ts:43:1)
    at GossipSub.publish (index.ts:2050:1)
    at <anonymous>:1:30

Looks like RPC is undefined.
https://github.com/ChainSafe/js-libp2p-gossipsub/blob/89c82f6c06ee29e0b7c84ef4165ba38ff672394c/src/utils/buildRawMessage.ts#L40
Probably due to bundler?

I was trying to get browser peers to discover eachother for a really long time during the last hackFS, never was successful. Seeing this issue pop up makes me feel less like I was shooting myself in the foot, so thank you.
I forked your repro and added some simple GUI:  https://github.com/bradwbradw/libp2p-pubsub
In my repro, I have two client instances in the same browser window. Each shows two lists: 1) The peers in the peerStore (libp2p.getPeers()) and 2) A list that's appended whenever peer:discovery occurs. Each client instance also waits for self:peer:update and updates the "self" label accordingly.
There was inconsistent behaviour in between refreshes of the browse window. Sometimes, I see scenario A, and sometimes (much less frequently) I see scenario B. Now lately since writing this, I see scenario C.
Scenario A: Nothing under "self" (no self:peer:update is observed). The relay node is the only peer in the peerStore list. In the discovered peers list, there is a single ID (it's not the relay node)

Scenario B: Self shows an ID, that's also seen in the other peer's lists. It would appear like discovery is behaving as expected in this scenario. But I have no idea why there are so many peers

Whenever Scenario B happens, after about 10 seconds, there is a bunch of instances of an uncaught runtime error:

Scenario C: nothing in Self, nothing in peerStore, only one discovered peer.
Since writing this, I turned off React Strict mode, and this has led to more consistently C all the time.
What I would expect is to see 3 peers in both the peersStore list and Discovered peers list. one for the blue-bordered client, one for the green-bordered client, and one for the relay node.

Working fine for me now, must have been doing something wrong.

Thanks for following up @tabcat :)
@bradwbradw I took a look at your peer discovery config and I noted that you're using gossipsub but with no configuration, to avoid going into the complexities of gossipsub, have you tried seeing if you are able to discover peers using a bootstrap node and then connect that way? You can take a look at this example as a starting point, but I think the issue @tabcat raised is unrelated to what you are trying to solve.
If you are still having problems after trying that, feel free to open an new issue using our issue template

@tabcat are you able to share what you were doing wrong or what you discovered?
Thanks @maschad I will take another look and open a new issue if need be

The advertise option seemed to help @bradwbradw
    circuitRelayServer: circuitRelayServer({
      advertise: { bootDelay: 10 }
    })

@bradwbradw turning on debug logs for circuit-relay helped


Save in chunks (to allow for bigger files)

[ ] Query storage available
[ ] React accordingly
Source


feat: port/CategoryTheory.Category.Cat

[x] depends on: #2326

This PR/issue depends on:

leanprover-community/mathlib4#2326
By Dependent Issues (🤖). Happy coding!

This PR/issue depends on:

leanprover-community/mathlib4#2326
By Dependent Issues (🤖). Happy coding!

There is an extra file (Mathlib.lean.orig) being added by mistake here.

There are two extra files (Mathlib.lean.orig and another .orig file) being added by mistake here.

Thanks. They are gone now.


Update to use .NET Async/Await

Update all core HTTP communication to use async / await features of .NET

Included in v0.3.3

Implementation complete.


feat(notifications): add notifications destinations

Add notifications destinations API calls: create, delete, get all, and get destination.
Jira ticket - NR-10850.

Awesome contribution, thanks! 🎉


Cache uncompressed data section as well

We spend ~half of our time decompressing the data section on rebuilds. This cuts that out when we have a cache hit, but this is also faster on a cache miss because we already have to decompress when we verify file checksums.

Measured go1.20 (unplugged, over wifi, YMMV):
Cold
Before
apko publish --arch amd64 --keyring-append  --repository-append     15.62s user 3.49s system 162% cpu 11.775 total

After
apko publish --arch amd64 --keyring-append  --repository-append     12.55s user 3.42s system 176% cpu 9.037 total

(11.775 -> 9.037 seconds)
Hot
Before
apko publish --arch amd64 --keyring-append  --repository-append     11.14s user 1.90s system 208% cpu 6.270 total

After
apko publish --arch amd64 --keyring-append  --repository-append     8.12s user 1.78s system 310% cpu 3.185 total

(6.270 -> 3.185 seconds)


[Core] Jinja context variables versus dbt Jinja functions

Link to the page(s) on docs.getdbt.com requiring updates
This page is a mix of documentation for functions and variables:
https://docs.getdbt.com/reference/dbt-jinja-functions
But the page title only mentions "dbt Jinja functions" and does not include  "Jinja context variables".
Also, the base URL includes /dbt-jinja-functions/ which feels odd for a page like the schemas context variable (which is not a function):
https://docs.getdbt.com/reference/dbt-jinja-functions/schemas
Tell us more about this update
See above.
Reviewers/Stakeholders/SMEs
😎
Related GitHub issues
Here's two other docs issues that are tangentially related:

https://github.com/dbt-labs/docs.getdbt.com/issues/5117
https://github.com/dbt-labs/docs.getdbt.com/issues/5118

Additional information
No response

Hiya @dbeatty10
Happy Tuesday, I hope you're well.
Can you kindly let me know what you'd like updating please?
Kind Regards
Natalie

The big idea is delineating the Jinja functions from the Jinja context variables. Right now, the context variables are all just lumped in with the functions (but they aren't functions!).
We've got a couple main options:

Leave them all together, but update the page title and URL to include both "functions" and "variables"
Create a new page and move the context variables to that page

If we choose option 1, the most simple approach would to be rename the title of the page from "dbt Jinja functions" to "dbt Jinja functions and context variables".


OpenAPI Spec for new API

While we are still building the API, it would pay off to go ahead and build an OpenAPI Spec to allow for 3rd party client generation.
I wonder if there's any static analysis library to build this automatically as part of the CI?

This is done: https://github.com/epinio/epinio/blob/main/docs/references/api/swagger.json


readme: fix workflow badge

Fix workflow badge, upstream changed the url pattern.
See: https://github.com/badges/shields/issues/8671
Signed-off-by: Moritz Röhrich<EMAIL_ADDRESS>
[x] I have performed a self-review of my code.
[x] If it is a core feature, I have added thorough tests.
[x] CHANGELOG.md has been updated should there be relevant changes in this PR.

obsoleted by: https://github.com/aquarist-labs/s3gw-charts/commit/b031380490d7b65f31e17436c0b5a959011cef78


Added stack.h for using stack in c

This is stack data structure for C, implemented using linked list

Royal eagel, [04.10.21 06:49]
Hi Dear preritvishal
Show your support on my youtube channel web Pixar(The institute of coding)
like , share , subscribe
telegram - https://t.me/Royaleagle11
Royal eagel, [04.10.21 06:49]
youtube - https://youtu.be/5qnQjgdpFPg


Error during the make command

During the 1% stage of the make command, I am getting the following errors:

CMake Error at ExternalICU-stamp/download-ExternalICU.cmake:27 (message):
error: downloading
'http://download.icu-project.org/files/icu4c/58.2/icu4c-58_2-src.tgz'
failed
.......
CMakeFiles/ExternalICU.dir/build.make:89: recipe for target 'deps/icu-58.2/src/ExternalICU-stamp/ExternalICU-download' failed
make[2]: *** [deps/icu-58.2/src/ExternalICU-stamp/ExternalICU-download] Error 1
CMakeFiles/Makefile2:131: recipe for target 'CMakeFiles/ExternalICU.dir/all' failed
make[1]: *** [CMakeFiles/ExternalICU.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

I am using Ubuntu 16.04.

I facing the same error. Have you figured out how to resolve the issue?