TNS Error

Hello,
I have a question, could I actually pull an oracle query from Azure Data Studio or just explore the database itself. I installed the extension, setup the connection and able to see all the oracle tables. However, when I tried to pull a query, it gives me an error saying TNS is not registered. What is this error about? And how to troubleshoot it?
Thank you,
Yessie

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

ID: ad5899cc-4757-b131-c36e-a0243b5bad95
Version Independent ID: 8df879ca-e629-a313-6af9-8a6c3c04eefe
Content: Quickstart: Connect and explore Oracle databases - Azure Data Studio
Content Source: docs/azure-data-studio/quickstart-oracle.md
Product: azure-data-studio
Technology: azure-data-studio
GitHub Login: @nahk-ivanov
Microsoft Alias: alexiva

Is it a duplicate of https://github.com/microsoft/azuredatastudio/issues/18268 ? As stated in the README:
Current limitations
Not all Azure Data Studio features are currently supported when connecting to Oracle database. Below is the list of current limitations:

- Server management and dashboard are not supported
- Packaged objects are not supported
- Table data preview/editing is not supported
- Query execution is not supported

It is not. I did not see the limitation statements. That answers my question. Thank you!On Feb 12, 2022 10:54 AM, Alexander Ivanov @.***> wrote:
Is it a duplicate of microsoft/azuredatastudio#18268 ? As stated in the README:
Current limitations
Not all Azure Data Studio features are currently supported when connecting to Oracle database. Below is the list of current limitations:

Server management and dashboard are not supported
Packaged objects are not supported
Table data preview/editing is not supported
Query execution is not supported

—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>


Menu item can only be found after getting GetMainWindow again

Describe the bug
I have some code that finds a menu item from the current main window. I have observed the following:

When I remember the Window returned by GetMainWindow and call FindFirstDescendant on it, it returns null
When I call GetMainWindow again after the menu has been clicked and call FindFirstDescendant on that new Window instance returned, it returns the menu item

The element tree was as following:
Window > Menu Bar > Menu Item (clicked) > Menu > Menu Item (to be found and clicked)
Code snippets
This was discovered while working on a FlaUI WebDriver implementation. Here is the part that refreshes the Window all the time to work around this issue:
https://github.com/FlaUI/FlaUI/blob/b1f61c11489e8c3ea40be38628f4d15bcc1c7a1d/src/FlaUI.WebDriver/Session.cs#L49-L54
Additional context
Using UIA3.

This may be a bug in the Windows UIA3 implementation itself, so that it is impossible to fix in FlaUI. I found the same issue exists in WinAppDriver and the workaround is to re-retrieve the menu item after it has been clicked:
        await TestFixture.cam2DDriver.$(`[name="View"]`).click();
        // WinAppDriver doesn't find $(`[name="Toolbars"]`) straight away
        await TestFixture.cam2DDriver.$(`[name="View"]`).$(`[name="Toolbars"]`).click();
        // WinAppDriver doesn't find $(`[name="${toolbar_name}"]`) straight away
        await TestFixture.cam2DDriver.$(`[name="View"]`).$(`[name="Toolbars"]`).$(`[name="${toolbar_name}"]`).click();

I have experienced this issue using raw UIAv2 and UIAv3 outside of FlaUI, unfortunately. My guess is that this has something to do with claiming ownership of the windows that menus create but either way it can't be fixed in FlaUI directly.


UI: multi-select for input parameters

Summary
Multi-select in the UI for input parameters
Use Cases
Trigger workflow manually with multi-select input.
This is a reference to the old popular closed issue https://github.com/argoproj/argo-workflows/issues/6824
Thanks for considering this feature. Great OSS project!

Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

+1 for multiselects

This is a reference to the old popular closed issue #6824

To clarify, that issue asked for dropdowns and checkboxes in general, which already existed, but weren't well documented.
It did also ask for multi-selects (a type of dropdown), which seem to not currently be supported and so actually need a new feature in the UI.
I count at least 7 upvotes for multi-selects specifically in later comments, though some of the original upvotes may have also been for multi-selects.

+1 for multiselect

+1

+1


The header-check is failing in 2024

https://github.com/googleapis/google-cloud-java/pull/10133/checks?check_run_id=20098045951

and https://github.com/googleapis/google-cloud-java/pull/10120/

Maybe we'll disable this temporarily until all code generation starts to produce "2024" in the header.

Marked the header-check as not required temporarily.

@JoeWang1127 your PR fixed this right? Should this be closed?


Mariadb INSERT...RETURNING Support

Hi.
Okay, so I am not one to make issues, usually.
sqlc as a tool has really helped me enjoy writing database related code for quite a while now. I personally use postgres and that is great. However, for my work, we use mariadb, and every time I write an insert or update query without the RETURNING clause, it feels very wrong and inefficient.
Since mariadb 10.5, it has supported INSERT...RETURNING.
Anyway, I also want to thank everyone who contributed to this tool. There are not many tools I get excited for each new release.

Thanks for the feature request. I have never used MariaDB and was under the assumption it was the exact same as MySQL. It sounds like that used to be the case, but recent releases have added new features that MySQL doesn't have. The parser we use for MySQL (https://github.com/pingcap/parser) doesn't support RETURNING. I'll have to take a look at some of the other parsers out there to see what we can use.

The pingcap/parse project does seem to support mariadb specific features.
For example: https://github.com/pingcap/parser/pull/337
Not RETURNING though.

It doesn't seem like the pingcap parser is going to support RETURNING, so I'm going to close this as won't fix. Happy to support it once it's added there.


Fix/async wasi

9b5f399 for fix https://github.com/WasmEdge/wasmedge-rust-sdk/actions/runs/10147380837


Crash on booting Minecraft after October 6 update

Here's the log. Looks like the components pouch has something to do with it?

Duplicate of #317


Make all fields except for region effectively optional

People sometimes get annoyed when they're required to conform to an overly rigid data model, and requiring an OntologyTerm usage, along with phase etc seems to me like it would be that type of discouraging.

Hi Uri,
I think there is confusion about the purpose of the GA4GH web
APIs.  It needs to support the accurate exchange of information
that can be interpenetrated consistently by the receiver of the
data.
For better or worse, ontologies are the way this field agreed on
standard terms.  Annotating a CDS without specifying the
phase/frame is so sloppy as to indicate the data should not even
be trusted.
We need to provide software to ensure that accurate data can be
create easily.  If people want to just stick anything in data
structures, then the GA4GH APIs are the wrong tool for the job.
Mark
Uri Laserson<EMAIL_ADDRESS>writes:

People sometimes get annoyed when they're required to conform to an overly
rigid data model, and requiring an OntologyTerm usage, along with phase etc
seems to me like it would be that type of discouraging.
—
Reply to this email directly or view it on GitHub.*

For better or worse, ontologies are the way this field agreed on
standard terms.

I think ontologies are great.  But forcing people to use them is not great.  They should be using the schemas responsibly.

Annotating a CDS without specifying the
phase/frame is so sloppy as to indicate the data should not even
be trusted.

But sometimes, CDS is completely irrelevant to the data at hand.  I don't see why I should have to provide a CDS value at all for certain types of annotations.

If people want to just stick anything in data
structures, then the GA4GH APIs are the wrong tool for the job.

Your proposal already allows them to dump whatever they want into the SeqAnnRegion in the attributes map. If you're making a generic object for a sequence region annotation, I am just proposing to make it flexible, and only enforce the fields that really make sense.

Uri Laserson<EMAIL_ADDRESS>writes:

I think ontologies are great. But forcing people to use them is not great. They
should be using the schemas responsibly.

We are setting minimum requirements for exchanging data under
GA4GH, not creating a general programming model.  If people want
to exchange data, we do want to force them to rationalize it to
defined terms.  The field is creating a huge mess by it's lack
of such requirements.

But sometimes, CDS is completely irrelevant to the data at hand. I don't see
why I should have to provide a CDS value at all for certain types of
annotations.

This is another compromise due to lack of polymorphism support
and common use.  It should be default to -1.  But conceptually,
yes, it belongs on more specific type of record.  A lot of the
read stuff could be more generic but is compromising

If people want to just stick anything in data
structures, then the GA4GH APIs are the wrong tool for the job.

Your proposal already allows them to dump whatever they want into the
SeqAnnRegion in the attributes map. If you're making a generic object for a
sequence region annotation, I am just proposing to make it flexible, and only
enforce the fields that really make sense.

I think that is a good goal, but we don't want to reduce it to a
hash.  It's just frustrating that avro does't have support for
better ways to do this.

we have really reduced it down, although more than region is required, I think it's as generic as it can be with all featureType specific values in attributes.


Update nvimdev/lspsaga.nvim, nvimdev/zephyr-nvim, nvimdev/dashboard-nvim

Repo URL:
https://github.com/nvimdev/lspsaga.nvim
https://github.com/nvimdev/zephyr-nvim
https://github.com/nvimdev/dashboard-nvim
Checklist:

[x] The plugin is specifically built for Neovim, or if it's a colorscheme, it supports treesitter syntax.
[x] The lines end with a .. This is to conform to awesome-list linting and requirements.
[x] The title of the pull request is Add/Update/Remove `username/repo`  (notice the backticks around `username/repo`) when adding a new plugin.
[x] The description doesn't mention that it's a Neovim plugin, it's obvious from the rest of the document. No mentions of the word plugin unless it's related to something else.
[x] The description doesn't contain emojis.
[x] Neovim is spelled as Neovim (not nvim, NeoVim or neovim), Vim is spelled as Vim (capitalized), Lua is spelled as Lua (capitalized), Tree-sitter is spelled as Tree-sitter.
[x] Acronyms should be fully capitalized, for example LSP, TS, YAML, etc.

The original authors have moved their projects to the organization nvimdev.

Thanks for the PR!


Adds article about Mirage serializers

Motivation
Min did an extensive research on Mirage serializers
Approach
Min provided me with a draft, then I poked his brain for days until this piece finally its final, extensive, shape.
Rendered article

I found two small errors ☝.  Otherwise it looks great! 🙏

I love it! I have only two suggestions

we link to the simulation article at the end as "related", but I think we could make an actual hyperlink to it when we say "we prefer to think of this as simulation"
Can we give mirage graphql honorable mention at the end as something that let's you not have to worry about serializers ever?

Wow I didn't even know Mirage GraphQL existed... 🤯


[Bug]:  Failed to get encoding for cl100k_base when getting num_tokens_from_string

Describe the bug
INFO: Generating entity extraction prompt...
Failed to get encoding for cl100k_base when getting num_tokens_from_string. Fall back to default encoding cl100k_base
Steps to reproduce
python -m graphrag.prompt_tune --root . --domain "Chinese law and policy about Management Measures and Regulations" --language Chinese --chunk-size 300 --output prompt_zh
Expected Behavior
No response
GraphRAG Config Used
No response
Logs and screenshots
No response
Additional Information

GraphRAG Version:
Operating System:
Python Version:
Related Issues:

Routing to language support issue #696.
We also recently release 0.2.0 which enforces utf-8 encoding on input reads.


Typing text on mobile often hides the typed text below navbar

Some ideas how to solve it:

always scroll to input on focus
scroll to cursor when entering a newline
hide bottom navbar when typing (= focus on input)

Maybe it's a good idea to put the input field in a dialog on mobile. Seems a good solution as long as we have the bottom navbar.
But it doesn't solve the problem in more complex forms, then either the bottom navbar could be disabled in all form pages (complex) or all input fields go in a dialog (also complex).
How do other pages with a bottom navbar solve this?


Split _trm_data into four properties?

I was considering filling out the rest of the _trm_data property in pydrad.parse.  (Currently need enthalpy fluxes.)  It seems that it might make sense to split the property into one for each of the four equations being parsed.
It seems there might be a bit of awkward variable naming otherwise.  For example, there's a gravity term in both the momentum and hydrogen energy equations.  They could perhaps be named _trm_data.gravitational_momentum and _trm_data.gravitational_energy, but it might be more clear to have instead _momentum_trm_data.gravity and _H_energy_trm_data.gravity or similar.
Any thoughts?

I'm not a huge fan of the latter option mostly because it would be inconsistent to separate data from the same file into differently named properties, but I see what you mean about the naming convention being a bit awkward. You could separate out the namespace by equation, ie something like _trm.momentum.gravity. It would be easy enough to build some simple data classes that could be built for the trm data that would do just that.

That seems like a more reasonable solution than what I proposed.


SEO and social metadata templates aren't documented

After browsing the codebase of Hugo I rediscovered some internal templates for SEO and social metadata. But they are nowhere in the documentation.

This is where that left off https://discuss.gohugo.io/t/hugo-seo-social-partials/353/42?u=derekperkins

This issue has been automatically marked as stale because it has not been commented on for at least four months.
The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still valuable, please open a proposal at https://discuss.gohugo.io/.
This issue will automatically be closed in four months if no further activity occurs. Thank you for all your contributions.

Note/Update: This issue is marked as stale, and I may have said something earlier about "opening a thread on the discussion forum". Please don't.
If this is a bug and you can still reproduce this error on the latest release or the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.

I'd like to see this in Hugo; almost everyone's adding social-related tags so this could standarize some things.

Or at least, is there any way to use the existent templates?

@bep: how can one use the still undocumented templates?

I would also be interested in a built-in seo-friendly function that would output every important head data. Like the pretty good jekyll-seo-tag


default arguments for MTC filter

I think we should use a default argument for the MTF filter of 40% for both the genotype and the annotation filters.
This is because if we always show the argument, then we will tempt people to change it and try again, which will lead to lots of implicit multiple testing that will not get corrected for. We should run all of the cases in this first analysis just using the default settings. If there is a true reason for changing it, people can read about it in the documentation and will be educated on why it is bad to try things with many different settings!
For now I think that 40% is a good compromise overall.
@ielis Thoughts?

I concur on using the default value in our analyses and, therefore, simplifying the code, docs, and gpsea-cs notebooks.
I have no feelings about 40%, perhaps it sounds a bit stringent, but it is reasonable in the context of an ontology-driven analysis.


docs: polish README.md translation

Hey, I cooked up a Polish translation.
Feel free to @ me when the original is updated.

So I guess some phrases like "open source" don't have a Polish equivalent and the English is used and understood?

Short answer: Yup.
Long answer: They kinda have (otwartoźródłowy/otwarte źródło) (otwarty - open; źródło - source) but literally nobody says that. In many cases it's just better to say  (and easier to pronounce) certain words in their original languages. Especially words that are not super common.


Add report component

Description
Add a "Report" component to display hazard information according to the current design solution. The component includes hazard cards and address details with placeholder for future share functionality. Adjusted for responsive layouts and integrated mock data, with all unit tests passing.
#82
Type of changes

[ ] Bugfix
[ ] Chore
[x] New Feature

Testing

[ ] I added automated tests
[x] I think tests are unnecessary

https://github.com/user-attachments/assets/c9984f65-fb40-40bf-823d-540732f039f8

Looks great! Added a few comments. Will also test locally momentarily.

Looks great! Added a few comments. Will also test locally momentarily.

@mantuok found one blocker in page.tsx, but other than that, looks really nice!

Looks good! The page is a little different from the Figma design. I assume this is intentional?

Yes, this is the original design, Micah has recently changed it, but the changes are not confirmed yet, so we agreed to stick with the original for now :)


Typo in requests

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 26.898%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app.ts
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3668

Relevant Lines:
14375

💛  - Coveralls


[Bug or Question] foreground of regular expression not change in Semantic Highlight

As we could see, regular expression is colored rather than normal string. However, if we run command "Inspect Editor Token and Scopes" of VSCode(ctrl+shift+P), we could notice that the foreground is not changed for all chars.
Is this a bug? Or a limit of VSCode itself? It feels a bit of strange, for the color is indeed changed.
And if it is convenient for you, could you point out where the code that implements the logic(color the regular expression)? This is an awesome feature I think.

After digging into code, it feels like server only provide modifier and type.
Then why regular expression is colored?

Oh, it seems this feature is provided by Roslyn and there is extension to this ability in next C# version
https://github.com/dotnet/roslyn/issues/59163
But it is still a bit strange for me. How does it change the color?


added Cloud Native Aalborg Meetup 4

information from the fourth Cloud Native meetup in Aalborg added.

/LGTM


Format availability for the new style

Questions
Answers

Description?
Adapts the template to display availability in a new way. Simmilar to https://github.com/PrestaShop/hummingbird/pull/658. I had to style alert warning specifically for this purpose, because it's hacked up higher in the CSS and I did not want to rewrite X other things on a dead theme. Now it looks OK.

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?

Sponsor company

How to test?

Related core PRs

https://github.com/PrestaShop/PrestaShop/pull/37018 Moves "Available with different options" to a new array key.
https://github.com/PrestaShop/PrestaShop/pull/37013 Allows to distinguish between in stock and on backorder, so we can display it in green.

How it looks
In stock

Available on backorder

Not available (+ a new availability submessage)

Disabled (and product displayed)

@kpodemski Dude, please, check the code.


No module named cv2

I installed Kandinsky according to the instructions:
PS D:\> pip install "git+https://github.com/ai-forever/Kandinsky-2.0.git"
Collecting git+https://github.com/ai-forever/Kandinsky-2.0.git
  Cloning https://github.com/ai-forever/Kandinsky-2.0.git to c:\users\erel segal-halevi\appdata\local\temp\pip-req-build-o452dzak
  Running command git clone --filter=blob:none --quiet https://github.com/ai-forever/Kandinsky-2.0.git 'C:\Users\Erel Segal-Halevi\AppData\Local\Temp\pip-req-build-o452dzak'
  Resolved https://github.com/ai-forever/Kandinsky-2.0.git to commit 140d16db59d409f45f0e5ae755804ebe8f4b5a0a
  Preparing metadata (setup.py) ... done
Requirement already satisfied: Pillow in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from kandinsky2==0.0.0) (9.4.0)
Requirement already satisfied: attrs in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from kandinsky2==0.0.0) (22.2.0)
Requirement already satisfied: torch in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from kandinsky2==0.0.0) (1.13.1)
Requirement already satisfied: filelock in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from kandinsky2==0.0.0) (3.9.0)
Requirement already satisfied: requests in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from kandinsky2==0.0.0) (2.28.2)
Requirement already satisfied: tqdm in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from kandinsky2==0.0.0) (4.64.1)
Requirement already satisfied: ftfy in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from kandinsky2==0.0.0) (6.1.1)
Requirement already satisfied: regex in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from kandinsky2==0.0.0) (2022.10.31)
Requirement already satisfied: numpy in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from kandinsky2==0.0.0) (1.24.2)
Requirement already satisfied: blobfile in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from kandinsky2==0.0.0) (2.0.1)
Requirement already satisfied: transformers==4.23.1 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from kandinsky2==0.0.0) (4.23.1)
Requirement already satisfied: torchvision in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from kandinsky2==0.0.0) (0.14.1)
Requirement already satisfied: omegaconf in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from kandinsky2==0.0.0) (2.3.0)
Requirement already satisfied: pytorch_lightning in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from kandinsky2==0.0.0) (1.9.3)
Requirement already satisfied: einops in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from kandinsky2==0.0.0) (0.6.0)
Requirement already satisfied: sentencepiece in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from kandinsky2==0.0.0) (0.1.97)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from transformers==4.23.1->kandinsky2==0.0.0) (0.13.2)
Requirement already satisfied: huggingface-hub<1.0,>=0.10.0 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from transformers==4.23.1->kandinsky2==0.0.0) (0.12.1)
Requirement already satisfied: packaging>=20.0 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from transformers==4.23.1->kandinsky2==0.0.0) (23.0)
Requirement already satisfied: pyyaml>=5.1 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from transformers==4.23.1->kandinsky2==0.0.0) (6.0)
Requirement already satisfied: colorama in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tqdm->kandinsky2==0.0.0) (0.4.6)
Requirement already satisfied: lxml~=4.9 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from blobfile->kandinsky2==0.0.0) (4.9.2)
Requirement already satisfied: pycryptodomex~=3.8 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from blobfile->kandinsky2==0.0.0) (3.17)
Requirement already satisfied: urllib3<3,>=1.25.3 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from blobfile->kandinsky2==0.0.0) (1.26.14)
Requirement already satisfied: wcwidth>=0.2.5 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from ftfy->kandinsky2==0.0.0) (0.2.6)
Requirement already satisfied: antlr4-python3-runtime==4.9.* in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from omegaconf->kandinsky2==0.0.0) (4.9.3)
Requirement already satisfied: torchmetrics>=0.7.0 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from pytorch_lightning->kandinsky2==0.0.0) (0.11.3)
Requirement already satisfied: fsspec[http]>2021.06.0 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from pytorch_lightning->kandinsky2==0.0.0) (2023.1.0)
Requirement already satisfied: lightning-utilities>=0.6.0.post0 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from pytorch_lightning->kandinsky2==0.0.0) (0.7.1)
Requirement already satisfied: typing-extensions>=4.0.0 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from pytorch_lightning->kandinsky2==0.0.0) (4.5.0)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from requests->kandinsky2==0.0.0) (2022.12.7)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from requests->kandinsky2==0.0.0) (3.0.1)
Requirement already satisfied: idna<4,>=2.5 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from requests->kandinsky2==0.0.0) (3.4)
Requirement already satisfied: aiohttp!=4.0.0a0,!=4.0.0a1 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from fsspec[http]>2021.06.0->pytorch_lightning->kandinsky2==0.0.0) (3.8.4)
Requirement already satisfied: aiosignal>=1.1.2 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch_lightning->kandinsky2==0.0.0) (1.3.1)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch_lightning->kandinsky2==0.0.0) (4.0.2)
Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch_lightning->kandinsky2==0.0.0) (1.8.2)
Requirement already satisfied: frozenlist>=1.1.1 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch_lightning->kandinsky2==0.0.0) (1.3.3)
Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\erel segal-halevi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch_lightning->kandinsky2==0.0.0) (6.0.4)

Then I tried to import it in Python but got an error:
PS D:\> python
Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb  7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from kandinsky2 import get_kandinsky2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Erel Segal-Halevi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\kandinsky2\__init__.py", line 2, in <module>
    from .kandinsky2_model import Kandinsky2
  File "C:\Users\Erel Segal-Halevi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\kandinsky2\kandinsky2_model.py", line 4, in <module>
    import cv2
ModuleNotFoundError: No module named 'cv2'

I did pip install opencv-python and now the error message is gone, though I have other problems. I do not know if this is the correct solution. If it is, then I suggest to add opencv-python to requirements.txt.

@erelsgl thanks for the pointer. I added it to the requirements. https://github.com/ai-forever/Kandinsky-2/pull/101


Mymemory auto detection doesn't work

deep_translator version: 1.1.0
Python version: 3.8
Operating System: OSX

Description
Auto language detection of the MyMemoryTranslator is not working.

issue solved -> release 1.1.2


[CS2103-W15- 3] TAble

Under 3.5, in the UML diagram for AddTutorialCommand, the lifeline should end.
The design consideration for prefixes in 3.3.2 is trivial, can consider comparing in terms of design principles discussed in class (such as efficiency, storage space etc).


Develop pre wire

This is everything from develop up to the upgrade to the new go-wire.
I also cherry-picked VersionedTree.SaveVersion() succeeds on idempontent since I wasn't sure if it was critical.
And then I used Alex's commit and another one to update to latest tmlibs.
Maybe we can merge this to master to help clarify where things are. And then rebase the more recent develop commits on top ? Not sure ...

Ok, master has been merged back into develop :)
https://github.com/tendermint/iavl/commit/e9403f2bcd63ceda552aa7c6ca7ab8e6b314e368


IaaS Active Directory Domain Controllers Example

Description
This is an example to deploy IaaS Active Directory Domain Controllers in the MLZ Identity tier, which a lot of our federal customers do.
Issue reference
The issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR out of the following list:

[X] All acceptance criteria in the backlog item are met
[X] The documentation is updated to cover any new or changed features
[X] Manual tests have passed
[ ] Relevant issues are linked to this PR

@microsoft-github-policy-service agree company="Microsoft"

@microsoft-github-policy-service agree company="Microsoft"


Update link in Machine Learning section

What does this PR do?
Improve Repo
For resources
Description
Fixes a link for Learning Deep Architectures for AI
Why is this valuable (or not)
Fixes a link
For book lists, is it a book?
N/A
Checklist:

[ x] Not a duplicate
[ x] Included author(s) if appropriate
[ x] Lists are in alphabetical order
[ x] Needed indications added (PDF, access notes, under construction)

looks good.


Inverted frames

Large inverted frames appearing when loading PDF from URL.

are you use night mode?

@AndreDrummer
please look to this issue
https://github.com/endigo/flutter_pdfview/issues/123

I'm not using night mode. I've already updated minSdkVersion to 28 but nothing solved.
I downloaded the package and I'm trying to fix the problem.
BUT THERE IS ONE IMPORTANT THING:
The error only happens on device Redmi Note 8 PRO. In any other device works perfectly. But even so, I need to solve it because is an enterprise app.

Why this was closed if is not solved?

I met this issue too on device Xiaomi Redmi product while on other devices like Samsung worked perfectly.


chore(ssa refactor): Add constant folding pass

Description

Problem*
Normally constant folding is performed automatically when instructions are inserted via Instruction::simplify. A manual pass can, however, become necessary after DataFlowGraph::set_value or DataFlowGraph::set_value_from_id are called and enable an instruction dependent on the updated value to be simplified.
This pass is added since it was used in a test case for the immutable arrays PR.
Summary*

This PR sets out to
Example

Before:

After:

Documentation

[ ] This PR requires documentation updates when merged.

[ ] I will submit a noir-lang/docs PR.

[ ] I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

[ ] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt on default settings.

I guess we're going to want to add a simplification for truncate, else constant folding will cease propagating constants whenever it encounters a truncate (often).

Opened an issue for it: https://github.com/noir-lang/noir/issues/1588


pass options into loaderForModel

when we use findById with paranoid option,  the paranoid wasn't passed into the loaderForModel function

Please also add a regression test

think I'm suffering from this right now. Passing paranoid.false and it's not getting included when dataloader batches the results. Found this fix but it looks like the code has changed quite a bit since

@intellix Hmm yeah, findByPk variants basically ignore options and just use the loader: https://github.com/mickhansen/dataloader-sequelize/blob/master/src/index.js#L172


Open Collective Roadmap February - April 2020

Overview
The goal of this roadmap is to provide clarity for the core team and our community about our priorities for the next 3 months. While these are the projects we'll be working on, life happens and iterations might take place.
Below the roadmap projects, we list additional projects we'd like to carry out this quarter but are not top priorities. Below that, a list of projects we want to tackle in May-July period. These don't have owners yet but we want to provide a 6month visibility so you know (what can be coming up). Please take this as an opportunity to signal preference, suggestions, etc.
Top level priority for the team is:
Being sustainable in the next 12 months while supporting our mission and our community in a way aligned with our values.
Roadmap Priorities are aligned with this goal and our prioritization framework.
Prioritization Framework (updated)
We are a small team and hence we need to work hard to be focused and aligned. When we decide which project / feature to prioritize we judge them against the following questions:

Does this serve our mission? (We are on a mission to help collaborative groups collect and spend money transparently)
Will this make us financially sustainable within a year?
Will this bring us more Collectives, hosts and financial contributors?
Is it feasible to build and maintain with our team and runway?
Can this make us move faster?
Does this increase quality and not technical debt?
Is this already solved elsewhere or is it our unique contribution?
Can we measure the success of  this?

Create Collective Flow Implementation
Aligning the create collective flow with the new business model for Fiscal Hosts.. We want to make it easier for collectives to find the right path for them.
Project Issue: #2366 (design) & #2872 (implementation)
Status: Designed - Awaiting implementation
Owner: @piamancini
Technical Owners: @znarf @sbinlondon
Soft Delivery Date: March 31, 2020
Metrics:

More self-hosted  Collectives created
Increase per-Collective revenue

Expense Flow Redesign
Issue: #2394
Owner: @alanna (and @piamancini)
Technical Owner: @Betree
Status: Implementation
Soft Launch Date:
Full MVP soft delivery date: End of Februrary
Metrics:

More expenses filed
Less support requests
Less host admin time spent
Way fewer issues with invoices (fewer expense comments)
Use of the new features (ex batch expenses)

Transferwise
Host admins only option to automatically sync payouts via open collective is using paypal. We want to upgrade their experience enabling them to also use transferwise. This will also enable contributors to submit expenses in their own currency and support hosts management of multi-currency payments. This feature will be available to hosts on a plan.
Project Issues:  https://github.com/opencollective/opencollective/issues/2836
Owner: @kewitz
Soft Delivery Date: TBC
Metrics

The number of hosts connecting to TransferWise.
The number of expenses being paid with TransferWise.
The volume of money being paid with TransferWise.
Qualitative/Subjective: overall time spent by Hosts on paying out expenses.

Host Dashboard Re-design
The goal is to improve the host admins experience on open collective to manage their funds on the platform.
Owner: @piamancini
Design Owner: @Memo-Es
Project Issue: TBD
Github Sponsors Collaboration
We are helping collectives receive funds as an organization from Github users / orgs. Alpha integration is manual but we will work on an automated way of crediting those donations.
Owner: @piamancini
Technical Owner: @znarf
Secondary Priorities on current Roadmap:

Update subscriptions management page: @piamancini and @Memo-Es
Re-design content of on-boarding emails and look into steps to help hosts upgrade: @piamancini
Credit card failure alert (letting backers know when their subscription is about to expire @sbinlondon
SEPA Payments (in & out via Stripe) @kewitz
Event Issues and revamp @sbinlondon
Moderation project @Betree #2741

May - July Roadmap Ideas (emphasis on ideas)

Email Templates for Hosts (allowing hosts to edit the automated emails they send to their community)
Email redesign (updating the look & content across platform's emails)
Email service (solution for collectives to have a collective email address they can use)
Upgrade PayPal payouts API (this will save fees for the collectives)
New Expense Flow iteration and testing
2FA
Expenses in local currency
PayPal for every host

Looks good!
A few questions....

If possible I'd like to have input on the specs for the host dashboard project before I go on leave. Should we have a call about it? Not to get super detailed but just make sure the important stuff is covered and understood.

Can we add Bitcoin payments to the secondary priorities? If the OpenNode trial goes well we may want to integrate it into the checkout process. (I think it will follow a similar pattern to processing payments for Github Sponsors so it might piggyback on that work).

Should we assume that Back Your Stack dev will need to be funded by OSC and we'll need to hire an outside developer? Or is OC Inc planning to continue contributing some capacity?

If possible I'd like to have input on the specs for the host dashboard project before I go on leave. Should we have a call about it? Not to get super detailed but just make sure the important stuff is covered and understood.

Can we add Bitcoin payments to the secondary priorities? If the OpenNode trial goes well we may want to integrate it into the checkout process. (I think it will follow a similar pattern to processing payments for Github Sponsors so it might piggyback on that work)

We can, but with you on leave for the whole roadmap and Github Sponsors still in manual mode, it's unlikely I'll be able to manage it. Depends on the volume.

Should we assume that Back Your Stack dev will need to be funded by OSC and we'll need to hire an outside developer? Or is OC Inc planning to continue contributing some capacity?

Yes. OC's commitment is to do maintenance 1 day a month and stay involved to answer questions and review stuff as needed. There's no plan for the team to do any additional development.

@znarf As a collective, we want to extend our Open Collective services to Github users, through the Github Sponsors program for organizations. Currently, our fiscal host would manually have to input all Github Sponsors stripe transactions into Open Collective manually, which would be too much work for them.
I've checked existing issues and projects to see if there has been progress on the "Github Sponsors Collaboration" task, but couldn't find any information. What's the status of this?
Depending on (time) complexity of the task, I might be able to help out if this brings automated integration of Github Sponsors to all collectives/fiscal hosts :)

bring automated integration of Github Sponsors to all collectives/fiscal hosts

That's definitely the outcome we'd like to see @Wodann! But we haven't had the dev capacity yet.
We are still manually crediting Github Sponsors funds to Collectives ourselves. I would love to automate it, and to make that available to all hosts. I think to achieve that, we'll need work on both the Open Collective and Github sides. We have a good relationship with Github but they have other priorities also, so progress can be slow sometimes.
I'm under the impression that this project would be significantly complex, and have been thinking we'll need to seek funding for the dev capacity we'll need. It would be really helpful to get approximate scoping and a better understanding of what would be needed from @znarf . Open Source Collective wants to invest in this project but we don't have a fully fledged plan yet.
Thank you for offering to help! I am interested to hear what @znarf thinks about it.

Thank you for your detailed response. I'll wait and see if I can contribute :)

@Wodann @alanna It's impossible to move this project forward without better data exports from GitHub. As of today, we don't get any useful information about who contributed on GitHub sponsors and this is blocking the work on automation.
As soon as we get the email or GitHub handle of the donators, we can start integrating the data in a better way on Open Collective.
@Wodann Not sure what kind of export you're able to generate on your side, feel free to contact me on our Slack for details.

Q1 Review & Priorities Call
Check-in - what worked / what didn’t
François:
++ Good quarter / great retreat in January retreats / on track to execute what we wanted / Focused
-- Personally: messy since COVID-19 / lost track of things in bounty programme / Adapt to pandemic
Ben:
++ Expense flow went well, a bit off schedule but iterating based on feedback.
++ keep the boat floating despite the coronavirus. We were able to adapt. We were able to react quickly
++ Improving design / engineering process
++ Leo / Kate: more power
-- Better scoped some features (ie submit expense as collectives)
-- Still unclear where OC Community is going. We’ll have to meet them somewhere.
Kate:
++ Able to deliver the CCF project on time - Feels really good.
++ Team - how cohesive we feel a lot of the time. Even if it’s remote - I feel I’m more integrated with this time.
-- Personally: survival mode. Deliver and learn codebase. Want to be more of a well - rounded OC dev.
Leo:
++ How everyone worked normal / Shipped things / Work well together
-- Defined better MVPs for projects. Otherwise they increase in size. Lots of unknowns. Reevaluating MVPs.
-- lower productivity during pandemic. Affected the roadmap.
Memo:
++ Team can adapt to new situations. We are resilient. Ability to react. Quick response.
++ Improving productivity in calls. Better use of online time. Engineering / Design biweekly calls. Design System updates.
-- Latency of QA process. We don’t preview changes and see them late in the process. Trade-off between host dashboard and expense flow.
Cuiki
++ Engineering + Design relationship has improved.
-- Still need to work on catching issues before. Tighten up decision-making framework and how to handle feedback process.
Pia:
++ We are on track to ship on time.
++ We reacted well to covid - proud of that
++ Saw an opportunity and reacted quickly - took action
++ Feedback loops and iteration processes have been good (especially compared to what it was)
-- Still late with deliveries, things that we could have shipped before
-- Metrics - still not tracking and sharing things properly
Learnings:
Incremental parts a clear path to ship one bit at a time.
ship in phases,
better design MVPs,
build in iterative parts.
Keep (also maybe Improve) project ownership template.
Projects Review
Create Collective Flow Implementation
Project owner: @piamancini
Technical Owner: @sbinlondon
Design owner: @Memo-Es
🚀🚀Shipped. Live in opencollective.com/create
Expense Flow Redesign & Implementation
Project Owner: @alanna @piamancini
Technical Owner: @Betree
Design Owner: @raulgrafico
🚀🚀Shipping today (5/12) - Live in opencollective.com/engineering/expenses/new
Review & Learnings:

Improvement: We could have launched earlier. Replacing bits and pieces before.
Goals to release: making sure we didn’t break anything. We had to fix the Christmas Tree before.
Christmas tree fix was late to be delivered. Tags redesign was shipped before and it was less important. Design was seeing the tip of the iceberg only - they didn’t realise the impact the change would have had.
-- We are not assigning priorities to issues for design.  We need to improve how we communicate critical issues / importance to design.  Feedback loop translated into more quality.
++ Adding features that align with our values. Values are included in the design.

Transferwise
Project & Technical owner:  @kewitz
🚀🚀 MVP: shipped. Team is happy.
Review & Learnings

Unknowns: Transferwise limitations: ie GBP->GBP
Follow-on issues: more features to add in the host dashboard.
Enforce limitations in expense-side. Display the fees beforehand.
Final Shipping when we ship expense flow.
Some potentially harmful unexpected bugs after deploy.

Host Dashboard Re-design
Project owner: @piamancini
Design Owner: @Memo-Es
Status: Wireframes: shipped, UI design: in process.
Review & Learnings
Starting Design - late with delivery but good process.
++ Involving people in reviews early
++ Well scoped
@cuiki: taking over design of the dashboard. Break it up in small pieces and deliver in parts.
Q2 Timeframe:
Shell / general logic of dashboard: 2 weeks prod ready.
Github Sponsors Collaboration
Owner: @piamancini
Technical Owner: @znarf
Review & learnings
Happening in a manual way. Github is slow in growing this program. Bugs.
@alanna is going to take over. Include it in the homepage?
Data export: still no info about the person who donated.
Secondary Priorities on  Roadmap:
🚀🚀[DONE] Update subscriptions management page: @piamancini and @Memo-Es
🚀🚀[DONE] Re-design content of on-boarding emails and look into steps to help hosts upgrade: @piamancini
🚀🚀[DONE] Credit card failure alert (letting backers know when their subscription is about to expire @sbinlondon
SEPA Payments (in & out via Stripe) @kewitz
Event Issues and revamp @sbinlondon
🚀[DONE] Revamped events settings
🚀🚀[DONE] Tiers & Tickets separated.
🚀🚀[DONE] Hosts out of sync fixes
🚀🚀[DONE] Moderation project @Betree #2741


View for Presenter is not found if they are in different modules

The case is: there are 2 app modules for Tablets and Phone, which contains Fragments that implements Views, and another one module with shared code, in which I wanted to put Presenters. In this case I got compile time error:
Error:Moxy compilation failed; see the compiler error output for details (java.lang.IllegalArgumentException: View "com.example.shared.Contract$View" for com.example.shared.Presenter cannot be found)

Resolved in Moxy 1.5.3


TwitchIO sounds extension doesn't recognize ffmpeg on Linux

I've been trying to get things working for sounds on Linux, but have not been successful. Despite there being a check for ffmpeg being installed (https://github.com/TwitchIO/TwitchIO/blob/a9e157bad5eac1e7148e6d76f291fd2e4c19a047/twitchio/ext/sounds/init.py#L48), on import this fails to recognize it.
When hardcding this value to True then attempts to launch ffmpeg.exe (https://github.com/TwitchIO/TwitchIO/blob/a9e157bad5eac1e7148e6d76f291fd2e4c19a047/twitchio/ext/sounds/init.py#L142), so I imagine this extension is only Windows-supported at the moment. Would it be possible to make a mention in the docs that this is the case? (Changing this value to ffmpeg raises a bunch of alsalib issues, so I imagine there are still more than a few outstanding issues that are beyond the scope of TwitchIO, which is fine).

@NordsofMorrow I already write a pull request to try to solve this issue. #327

This should be solved in the merged PR #327


Travis is not running the majority of the tests

See: https://travis-ci.org/tebeka/selenium/jobs/432753519
It seems as though vendor/init.go is downloading the latest version of the drivers while the test files have older versions of the drivers hard coded in them. As a result, the tests are not finding the drivers and then are skipping those tests.

If you look at the travis's output (https://travis-ci.org/tebeka/selenium/builds/433028280?utm_source=github_status&utm_medium=notification), the test coverage is now 53.8%.


Arduino UNO R4 WiFi support

Hi all I was wondering whether the Arduino UNO R4 WiFi will be supported in future updates?

I was refered to the SDK repository by a member of the thingsboard forum kindly see the link for previous discussions :

What exactly is the issue with WiFiS3?
Are you sure you can't simply use one of the premade examples for ESP32 on Arduino and then switch the WiFi include to WiFiS3 and change the WiFi initalization.

Hi Matthew, I face similar issues such as the following forum post: Post

Are you facing similair issues or the exact same?
If it is this exact issue then please install this library. If this doesn't help then please post the exact issue messages you encountered, without them it is not possible to help further.

I added the library and also made changes to the WifiS3.h but I still run into errors, Please see my code and errors below installed Librarties are Thingsboard 0.14.0 and TBsub 2.10.0: `#include <ThingsBoard.h>
#include <WiFiS3.h>
#include <ArduinoMqttClient.h>
constexpr char CURRENT_FIRMWARE_TITLE[] = "TEST";
constexpr char CURRENT_FIRMWARE_VERSION[] = "1.0.1";
constexpr uint8_t FIRMWARE_FAILURE_RETRIES = 12U;
constexpr uint16_t FIRMWARE_PACKET_SIZE = 512U; // Reduced size
constexpr char WIFI_SSID[] = "xxxxx";
constexpr char WIFI_PASSWORD[] = "password";
constexpr char TOKEN[] = "nr51mxxxxxtvamz7dq7j07";
constexpr char THINGSBOARD_SERVER[] = "xx.xx.xx.xx";
constexpr uint16_t THINGSBOARD_PORT = 1883U;
constexpr uint16_t MAX_MESSAGE_SIZE = 522U;
constexpr uint32_t SERIAL_DEBUG_BAUD = 115200U;
WiFiClient wifiClient;
MqttClient mqttClient(wifiClient);
ThingsBoard tb(mqttClient, MAX_MESSAGE_SIZE);
void InitWiFi() {
Serial.println("Connecting to AP ...");
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("Connected to AP");
}
bool reconnect() {
if (WiFi.status() == WL_CONNECTED) {
return true;
}
InitWiFi();
return true;
}
void setup() {
Serial.begin(SERIAL_DEBUG_BAUD);
delay(1000);
InitWiFi();
}
void loop() {
delay(1000);
if (!reconnect()) {
return;
}
if (!tb.connected()) {
if (!tb.connect(THINGSBOARD_SERVER, TOKEN, THINGSBOARD_PORT)) {
Serial.println("Failed to connect");
return;
}
}
tb.loop();
}`
Error: `/Users/nieljoubert/Desktop/Work/new/bare_bone_OTA_TB/bare_bone_OTA_TB.ino:20:44: error: no matching function for call to 'ThingsBoardSized<>::ThingsBoardSized(MqttClient&, const uint16_t&)'
ThingsBoard tb(mqttClient, MAX_MESSAGE_SIZE);
^
In file included from /Users/nieljoubert/Desktop/Work/new/bare_bone_OTA_TB/bare_bone_OTA_TB.ino:1:0:
/Users/nieljoubert/Documents/Arduino/libraries/ThingsBoard/src/ThingsBoard.h:113:5: note: candidate: template<class ... Args> ThingsBoardSized<MaxResponse, MaxEndpointsAmount, Logger>::ThingsBoardSized(IMQTT_Client&, uint16_t, const size_t&, const Args& ...)
ThingsBoardSized(IMQTT_Client & client, uint16_t buffer_size = Default_Payload_Size, size_t const & max_stack_size = Default_Max_Stack_Size, Args const &... args)
^~~~~~~~~~~~~~~~
/Users/nieljoubert/Documents/Arduino/libraries/ThingsBoard/src/ThingsBoard.h:113:5: note:   template argument deduction/substitution failed:
/Users/nieljoubert/Desktop/Work/new/bare_bone_OTA_TB/bare_bone_OTA_TB.ino:20:44: note:   cannot convert 'mqttClient' (type 'MqttClient') to type 'IMQTT_Client&'
ThingsBoard tb(mqttClient, MAX_MESSAGE_SIZE);
^
In file included from /Users/nieljoubert/Desktop/Work/new/bare_bone_OTA_TB/bare_bone_OTA_TB.ino:1:0:
/Users/nieljoubert/Documents/Arduino/libraries/ThingsBoard/src/ThingsBoard.h:64:7: note: candidate: constexpr ThingsBoardSized<>::ThingsBoardSized(const ThingsBoardSized<>&)
class ThingsBoardSized {
^~~~~~~~~~~~~~~~
/Users/nieljoubert/Documents/Arduino/libraries/ThingsBoard/src/ThingsBoard.h:64:7: note:   candidate expects 1 argument, 2 provided
/Users/nieljoubert/Documents/Arduino/libraries/ThingsBoard/src/ThingsBoard.h:64:7: note: candidate: constexpr ThingsBoardSized<>::ThingsBoardSized(ThingsBoardSized<>&&)
/Users/nieljoubert/Documents/Arduino/libraries/ThingsBoard/src/ThingsBoard.h:64:7: note:   candidate expects 1 argument, 2 provided
Multiple libraries were found for "PubSubClient.h"
Used: /Users/nieljoubert/Documents/Arduino/libraries/PubSubClient
Not used: /Users/nieljoubert/Documents/Arduino/libraries/TBPubSubClient
exit status 1
Compilation error: no matching function for call to 'ThingsBoardSized<>::ThingsBoardSized(MqttClient&, const uint16_t&)'`

Please don't close it as yet since I still want to see if I can proper modify one of your full examples to work with Arduino UNO Wifi R4 , I can then post the code here and you can maybe add it to the examples folder of Thingsboard Library for future Arduino UNO R4 Wifi users. or you can add it? Please let me know
Kind regards

Just for other people struggling with the same I am going to add the code used, it is a bare minimum code unencrypted :

From what I can see this si exactly the same as all examples in the library made for ESP32 or ESP8266 on Arduino, besides that the WiFi include is now WiFiS3.

Hi, yes, although there is some changes like : ```
WiFiClient wifiClient;
Arduino_MQTT_Client mqttClient(wifiClient);
ThingsBoard tb(mqttClient);

The main thing is to be able to receive OTA to arduino UNO, that is what I am struggling with currently, any suggestions?

Here is the example from Arduino library, how would one intergate this to work with TB: /*
  OTA

  This sketch demonstrates how to make an OTA Update on the UNO R4 WiFi.

*/
#include "WiFiS3.h"
#include "OTAUpdate.h"
#include "root_ca.h"
#include "arduino_secrets.h"
char ssid[] = SECRET_SSID;    // your network SSID (name)
char pass[] = SECRET_PASS;    // your network password (use for WPA, or use as key for WEP)
int status = WL_IDLE_STATUS;
OTAUpdate ota;
static char const OTA_FILE_LOCATION[] = "https://downloads.arduino.cc/ota/UNOR4WIFI_Animation.ota";
/* -------------------------------------------------------------------------- /
void setup() {
/ -------------------------------------------------------------------------- */
//Initialize serial and wait for port to open:
Serial.begin(115200);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}
// check for the Wi-Fi module:
if (WiFi.status() == WL_NO_MODULE) {
Serial.println("Communication with Wi-Fi module failed!");
// don't continue
while (true);
}
String fv = WiFi.firmwareVersion();
if (fv < WIFI_FIRMWARE_LATEST_VERSION) {
Serial.println("Please upgrade the firmware");
}
// attempt to connect to Wi-Fi network:
while (status != WL_CONNECTED) {
Serial.print("Attempting to connect to SSID: ");
Serial.println(ssid);
// Connect to WPA/WPA2 network. Change this line if using open or WEP network:
status = WiFi.begin(ssid, pass);
// wait 1 seconds for connection:
delay(1000);

}
printWiFiStatus();
int ret = ota.begin("/update.bin");
if(ret != OTAUpdate::OTA_ERROR_NONE) {
Serial.println("ota.begin() error: ");
Serial.println((int)ret);
return;
}
ret = ota.setCACert(root_ca);
if(ret != OTAUpdate::OTA_ERROR_NONE) {
Serial.println("ota.setCACert() error: ");
Serial.println((int)ret);
return;
}
int ota_size = ota.download(OTA_FILE_LOCATION, "/update.bin");
if(ota_size <= 0) {
Serial.println("ota.download() error: ");
Serial.println(ota_size);
return;
}
ret = ota.verify();
if(ret != OTAUpdate::OTA_ERROR_NONE) {
Serial.println("ota.verify() error: ");
Serial.println((int)ret);
return;
}
ret = ota.update("/update.bin");
if(ret != OTAUpdate::OTA_ERROR_NONE) {
Serial.println("ota.update() error: ");
Serial.println((int)ret);
return;
}
}
/* -------------------------------------------------------------------------- /
void loop() {
/ -------------------------------------------------------------------------- */
delay(1000);
}
/* -------------------------------------------------------------------------- /
void printWiFiStatus() {
/ -------------------------------------------------------------------------- */
// print the SSID of the network you're attached to:
Serial.print("SSID: ");
Serial.println(WiFi.SSID());
// print your board's IP address:
IPAddress ip = WiFi.localIP();
Serial.print("IP Address: ");
Serial.println(ip);
// print the received signal strength:
long rssi = WiFi.RSSI();
Serial.print("signal strength (RSSI):");
Serial.print(rssi);
Serial.println(" dBm");
}

From the code you showed me I don't know the exact methods the from Arduino implemented OTAUpdate provides and I don't know what these methods do.
But you would need to write your own IUpdater Implementation, which has the required interface calls and maps them to the OTAUpdate, which it would probably hold as a member variable. (Adapter Pattern)
Once that is done simply create an instance of it and pass that to the OTA_Callback.

To help you further I would need the link to the GitHub, where the OTAUpdate you are using is implemented, so I can look at the implementation myself and use it to adjust your calls.
Additionally it looks to me like this is simply a HTTP OTA Update which will not work with ThingsBoard, because you can't simply fetch the binary file with a GET call.
If the binary is contained on an SD card you can simply use the SD_Card_Updater already contained in the class.

I also had to add #define THINGSBOARD_ENABLE_OTA 0 to Configuration.h as the Post suggested to make it work.

To help you further I would need the link to the GitHub, where the OTAUpdate you are using is implemented, so I can look at the implementation myself and use it to adjust your calls.

There was no special library installed this was part of the examples of the Arduino UNO R4 Wifi (only installed board on board manager)
Thanks for opening feature request .

To help you further I would need the link to the GitHub, where the OTAUpdate you are using is implemented, so I can look at the implementation myself and use it to adjust your calls.

There was no special library installed this was part of the examples of the Arduino UNO R4 Wifi (only installed board on board manager)

What I meant is the Source Code to the OTAUpdate file, but I found it myself.
But as the board simply uses an ESP32 as the actual chip, I assume you could simply use any of the 2 ESP32 Updater Implementations. So either Arduino or Espressif Updater. And I'm realtively sure they should simply work.

But as the board simply uses an ESP32 as the actual chip, I assume you could simply use any of the 2 ESP32 Updater Implementations. So either Arduino or Espressif Updater. And I'm realtively sure they should simply work.
And how to use those implementation can be seen in the OTA Update examples for ESP32 in the examples folder of this library.

The Arduino UNO R4 WiFi has an ESP32 chip onboard that is correct, but it also has a RA4M1 microprocessor from Renesas which actually handles all your code and then just speaks to the ESP32 via the WifiS3 library. Quoted from website "The Arduino UNO R4 WiFi merges the RA4M1 microprocessor from Renesas with the ESP32-S3 from Espressif"
Therefore one cannot use simply the OTA code from TB written purely for the ESP32 ... there is however examples that shows how to do OTA on these boards.

Yeah not 100% sure either but the code can be seen in the link I've commented above and it seems it is using the modem. In the end it is pretty simply, if you want to get OTA updates working you need to somehow write the binary data of the RA4M1.
Not sure how that works, but once you know how to do that you can implment your own IUpdater implementation, the interface and methods are in the README.md documentation. Once that is done simply pass it into the OTA_Update_Callback instance and it should work, as long as the Updater is implemented correctly.


Set More than Two custom environment variables for our application based on NODE_ENV in NEXT_JS

following https://github.com/zeit/next.js/tree/v3-beta/examples/with-universal-configuration
i can do something like this only
const prod = 'production' === process.env.NODE_ENV

module.exports = {
    'process.env.API_URL': prod ? 'http://api.server.com' : 'http://api.local.com/web',
}

This solve only cases for production and development .
What if i want more custom production mode env!?
just eg(QATEST) . custom development mode
For this how to write config for this?
I followed this : https://gist.github.com/ledfusion/7854fdc440300d162f7759a5a5c1e04a
(Example of a dev/production/env config system for NodeJS)
and run : npm run dev
then i got same error like :
property of MemberExpression expected node to be of a type ["Identifier"] but instead got "StringLiteral"
My main concern is how to handle more than two(dev n production) custom environment variables for our application based on NODE_ENV in NEXTJS...

If I'm following you correctly, it sounds like you want to set process.env.NODE_ENV to something other than "development" or "production"?

@eezing  yes i want to setup different env for testing purpose before productions.

You can just read different env vars you set yourself. the prod check is just an example.


[css] support nth-child-of

Type: Bug

Enter the following valid style definition in a CSS file. The CSS parsing validator will fail on the "of" keyword and show the file as containing errors.

tr:nth-child(3n+3 of :not(.hidden)) {
  background-color: lightgrey;
}

Editor appears like this:

And the file tree appears like this:

However, when replacing the number with the "even" or "odd" keyword, parsing works correctly:

This is valid CSS according to this Chrome Developer article: https://developer.chrome.com/articles/css-nth-child-of-s/
VS Code version: Code 1.77.3 (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:16:02.548Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
31.79GB (4.95GB free)

Process Argv
--crash-reporter-id 1d9325a9-6575-4e45-8014-8aa12809d09c

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

aws-toolkit-vscode
ama
1.71.0

gitlens
eam
13.5.0

copilot
Git
1.84.51

todo-tree
Gru
0.0.226

vscode-cfml
Kam
0.5.4

vscode-docker
ms-
1.25.0

remote-containers
ms-
0.288.1

vscode-yaml
red
1.12.2

markdown-preview-enhanced
shd
0.6.8

vscode-todo-highlight
way
1.0.5

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
nodejswelcome1cf:30587006
282f8724:30602487
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
2i9eh265:30646982
6233i204:30672705
vsccsb:30705552
azdwalk:30721579
pythonms35:30701012
pythonfmttext:30716742
pythonclientmvcf:30725893

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.78.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

@VSCodeTriageBot - I updated and the issue persists.

Nte that 'n-th child of' is part of a the selectors level 4 draft and not yet finalised.
https://caniuse.com/css-nth-child-of

In my testing, the following syntax does indeed work in Chrome, Firefox, Edge, and Safari. Seems to me that https://caniuse.com/css-nth-child-of is out of sync with reality.
tr:nth-child(3n+3 of :not(.hidden)) {
  background-color: lightgrey;
}

I think this needs to be fixed, even though it may not be widely used. And it appears that it does partially work if you get rid of the math and use even or odd keywords instead. This should be a straightforward fix.

this problem seems to also exist for scss 🙃
my Version:
Version: 1.79.2 (user setup)
Commit: 695af097c7bd098fbf017ce3ac85e09bbc5dda06
Datum: 2023-06-14T08:57:04.379Z
Electron: 22.5.7
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
Betriebssystem: Windows_NT x64 10.0.22621

Yes, same issue for SCSS. And, as also noted above, the issue is the same for :nth-last-child(...) in addition to :nth-child(...)

+1 for SCSS with 1 of ...

Still persists on version 1.81.0

Any extensions to install to bypass it?


Link es6 template in examples

I have recently discovered that there is not a proper ES6 enabled botbuilder template. So I created one myself and added features like autorestarts of the server when the file changes etc.
It would be great if you could link this in your examples because a lot of people don't want to mess with the configuration but would still like to write ES6.
The template repo is brene/botbuilder-es6-template

I added a link to the technical faq:
https://docs.botframework.com/en-us/technical-faq/#what-are-some-community-authored-templates
@brene thank you for sharing.
I'm going to close this issue for now - feel free to open a new issue for further discussion.


Javascript is not enabled error

Hi,
When I try to open the app recently, Google says my account is signed out, so I click on it and I receive an error saying that JavaScript is not enabled for this browser and I am unable to login:

Version: 1.5.10
OS: Ubuntu 20.04
Arch: x86_64

I'm having the same problem - recently changed my Google login and receiving the same screen.
Version 1.5.11
OS macOS 10.15.7

I'm having the same problem - recently changed my Google login and receiving the same screen.
Version 1.5.11
OS macOS 10.15.7

Ditto.
Version 1.5.11
macOS 10.15.6 x64

Ditto.
Version 1.5.11
macOS 10.15.6 x64

https://github.com/yakyak/yakyak/issues/1262
@partlyhuman found the solution of deleting %APPDATA%\yakyak (or ~/.config/yakyak on *nix)

https://github.com/yakyak/yakyak/issues/1262
@partlyhuman found the solution of deleting %APPDATA%\yakyak (or ~/.config/yakyak on *nix)


Remove local DMFiles and Checkpoints on failure

What problem does this PR solve?
Issue Number: close #7265
What is changed and how it works?

DMFile
a. If exception happened when creating or uploading DMFiles, catch the exception and remove DMFiles.
b. If in disagg-mode, removing all local DMFiles when restarting.
Checkpoint file
a. Removing local checkpoint files when upload-checkpoint procedure finished whether successful or unsuccessful.
b. Removing local checkpoint files when restarting.

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/merge

/run-unit-test


Damage drag icon when destroyed

This fixes the drag icon not disappearing when releasing the
pointer button.
Reproduction steps:

Open gedit
Drag some text around
Release the pointer button

Thanks!


Update sitl_gazebo

Describe problem solved by this pull request
This updates sitl_gazebo to the latest master
This makes the mavsdk tests failing much more less likely
Describe your solution
The relevant change is that the iris motor constant has been decreased in https://github.com/PX4/sitl_gazebo/pull/575
Also, SITL testing have been added to sitl_gazebo to prevent sitl_gazebo breaking the firmware on a update
Additional Context
Replaces https://github.com/PX4/Firmware/pull/15574

@jkflying Interesting that it only fails the mission tests because it is too slow for only one SITL test...


where the method addTemplatedParam in SpringMvcContract?

spring-cloud-starter-openfeign 2.0.2.RELEASE
io.github.openfeign 10.1.0
springboot 2.1.0
Feign Client
@FeignClient(name = "manager-service",url = "${spring.api.application.url}")
public interface ILoanApplicationRemoteService {
@PostMapping(value = "/autoReject/v1",produces = "application/json")
ManagerResponse reject(@RequestHeader(name = "X-Auth-Token") String token);

@PostMapping(value = "/autoApprove/v1",produces = "application/json")
ManagerResponse approve(@RequestHeader(name = "X-Auth-Token") String token);

}
has RequestHeader ,start springboot has an Error
Description:
An attempt was made to call the method org.springframework.cloud.openfeign.support.SpringMvcContract.addTemplatedParam(Ljava/util/Collection;Ljava/lang/String;)Ljava/util/Collection; but it does not exist. Its class, org.springframework.cloud.openfeign.support.SpringMvcContract, is available from the following locations:
jar:file:/C:/Users/Administrator/.m2/repository/org/springframework/cloud/spring-cloud-openfeign-core/2.0.2.RELEASE/spring-cloud-openfeign-core-2.0.2.RELEASE.jar!/org/springframework/cloud/openfeign/support/SpringMvcContract.class

It was loaded from the following location:
file:/C:/Users/Administrator/.m2/repository/org/springframework/cloud/spring-cloud-openfeign-core/2.0.2.RELEASE/spring-cloud-openfeign-core-2.0.2.RELEASE.jar

Action:
Correct the classpath of your application so that it contains a single, compatible version of org.springframework.cloud.openfeign.support.SpringMvcContract

Spring Cloud Finchley is not compatible with Boot 2.1.0.  If you want to use Boot 2.1.0 you need to use Greenwich.M3.

Spring Cloud Finchley is not compatible with Boot 2.1.0. If you want to use Boot 2.1.0 you need to use Greenwich.M3.

thinks~ bug i fixed this error like this

Same issue for version 2.0.1.RELEASE
java.lang.NoSuchMethodError: org.springframework.cloud.openfeign.support.SpringMvcContract.addTemplatedParam(Ljava/util/Collection;Ljava/lang/String;)Ljava/util/Collection;

Hello @farsunset  @Ravis22 . The OpenFeign 10.1.0 support was introduced in spring-cloud-openfeign 2.1.0. Will not work with 2.0.x. You should use Greenwich with boot 2.1.0 to use OF 10.1.0.


[Bug] New overlay mode doesn't respect nixpkgs' config

What happens?
After https://github.com/chaotic-cx/nyx/pull/138, having allowUnfree no longer affects unfree packages in this repository (like linuxPackages_cachyos.nvidia_*).
Reverting the behavior through the chaotic.nyx.overlay.onTopOf = "user-pkgs" solves it, but reduces the chances of cache hits.
What is expected to happen?
allowUnfree should affect it all, and cache should always hit.

Seems this issue is back. Tried to use cachyos kernel with NVIDIA and failed to build, same for NordVPN.
building the system configuration...
error:
       … while calling the 'head' builtin

         at /nix/store/35dcag44a0ymww0vy0s4jjgxwpv9g62d-source/lib/attrsets.nix:850:11:

          849|         || pred here (elemAt values 1) (head values) then
          850|           head values
             |           ^
          851|         else

       … while evaluating the attribute 'value'

         at /nix/store/35dcag44a0ymww0vy0s4jjgxwpv9g62d-source/lib/modules.nix:807:9:

          806|     in warnDeprecation opt //
          807|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          808|         inherit (res.defsFinal') highestPrio;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: Package ‘nvidia-persistenced-545.23.06’ in /nix/store/35dcag44a0ymww0vy0s4jjgxwpv9g62d-source/pkgs/os-specific/linux/nvidia-x11/persistenced.nix:43 has an u
nfree license (‘unfreeRedistributable’), refusing to evaluate.

       a) To temporarily allow unfree packages, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_UNFREE=1

        Note: For `nix shell`, `nix build`, `nix develop` or any other Nix 2.4+
        (Flake) command, `--impure` must be passed in order to read this
        environment variable.

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowUnfree = true; }
       in configuration.nix to override this.

       Alternatively you can configure a predicate to allow specific packages:
         { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
             "nvidia-persistenced"
           ];
         }

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnfree = true; }
       to ~/.config/nixpkgs/config.nix.
error: Recipe `dry` failed on line 24 with exit code 1


VK9 Now Uses VulkanMemoryAllocator

As of today VK9 uses the VulkanMemoryAllocator. I wasn't sure if you preferred issues or PRs for new items on the list of projects that use the allocator.
https://github.com/disks86/VK9

Formally it is not required to notify us about usage of this library, but I appreciate such notification. I added VK9 to the list of usages in README.md. Thanks a lot!


Question: Can we generate xbps-src template with this?

The tool is really cool, does everything in one go, but writing a xbps-src file is better to maintain it for later version and revisions of an application, it also automates the task to download the archive.
Any guess how can we collect the taken steps (something like with option --dry-run) instead of really packing a deb file into xbps.

Oops, not a bug/help-wanted, its a question, sorry for wrong issue type.

A dry-run functionality wouldn't be of much use as one can just read the source-code (Commands do not vary).
As for creating template files, it should be an easy modification:
https://github.com/toluschr/xdeb/blob/master/xdeb#L222-L243

A dry-run functionality wouldn't be of much use as one can just read the source-code (Commands do not vary). As for creating template files, it should be an easy modification: https://github.com/toluschr/xdeb/blob/master/xdeb#L222-L243

could you add an option to the script for it?


Graphics.js:45 Uncaught TypeError: cb is not a function

Flowing the readme.md,but can't run.There is a error in console:

Same here! :/
Can't make it work :/

20 line in example.js
this._Graphics.initialize("../build/", () =>
fix to
this._Graphics.initialize(() =>
.......
ready();

}, "../build/");
cb is not a function..
The parameter order is incorrect.
sorry. English is too difficult

good job.It worked well@DesignerSin

Thank you so much, @DesignerSin!

Superb! Thank you 👌👌


[RPD-214] Update documentation for remote state storage ticket

This PR updates the documentation on mentioning we are creating new resources (mainly remote state management) and updating Azure Cost diagram as well.
What's new:

Updated cost diagram.
getting-started.md briefly mentioned remote state manager.
inside-matcha.md explained that there will be a matcha.config.json file generated when provision is finished that will require user to upload to their github repo.
Fix minor typo in inside-matcha.md.

After a discussion, @archena has suggested to break down this ticket such that the matcha-under-the-hood diagram will be updated in the next ticket [RPD-222 Update matcha under the hood diagram].
Checklist
Please ensure you have done the following:

[x] I have read the CONTRIBUTING guide.
[x] I have updated the documentation if required.
[ ] I have added tests which cover my changes.

Type of change
Tick all those that apply:

[ ] Bug Fix (non-breaking change, fixing an issue)
[ ] New feature (non-breaking change to add functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Other (add details above)

Yeah, I am thinking about that too, I original mentioned that the force-unlock command should be documented in this PR. What's the status of that PR, we can either create another ticket to document force-unlock, doing it in [RPD-222 Update matcha under the hood diagram] or wait for that ticket to finish and document it in this PR. What do you think?


Help needed to encode parameters to measure flux linkage.

I'm encountering difficulties with encoding parameters for the flux linkage measurement, and would appreciate some guidance.
The issue is that unlike other measurement done with this library the flux linkage (COMM_DETECT_MOTOR_FLUX_LINKAGE) needs parameters to perform the test (current, min_rpm, duty and internal resistance) (as seen in the firmware source code)
Now my question is how is it intended to encode input parameters for the measurement using the VESCMessage?
If I try to do this the usual style, recommended by the docs, I don't know how to add the parameters:
class GetFluxMeasurement(metaclass=pyvesc.VESCMessage):
    id = VedderCmd.COMM_DETECT_MOTOR_FLUX_LINKAGE
    fields = [("foc_motor_flux_linkage", "i", 1)]

fluxRequest = pyvesc.encode_request(GetFluxMeasurment)
fluxResponse = self.writeRead(fluxRequest) # self.writeRead is a function that sends the request and listens to the result

This doesn't perform the measurement, since the parameters are not encoded.
Here's what I have tried instead:
class GetFluxMeasurement(metaclass=pyvesc.VESCMessage):
    id = VedderCmd.COMM_DETECT_MOTOR_FLUX_LINKAGE
    fields = [
        ("current", "i", 1),
        ("min_rpm", "i", 1),
        ("duty", "i", 1),
        ("resistance", "i", 1),
        ("inductance", "i", 1),
    ]

    def setParameters(self, current, minRpm, duty, resistance, inductance):
        self.current = current
        self.min_rpm = minRpm
        self.duty = duty
        self.resistance = resistance
        self.inductance = inductance

fluxMeasurement = GetFluxMeasurement()
fluxMeasurement.setParameters(
    current=20000,
    minRpm=2000000,
    duty=300,
    resistance=int(self.VESCData["foc_motor_r"] * 1e3), # internal resistance from previous measurement.
    inductance=int(self.VESCData["foc_motor_l"] * 1e2), # internal inductance from previous measurement.
)
fluxRequest = pyvesc.encode_request(fluxMeasurement, header_only=False)
fluxResponse = self.writeRead(fluxRequest, timeout=15)

Note: I changed the encode_request() (here)  so it would allow for header_only=False.
This code encodes the data into the following request: \x02\x15\x1a\x00\x00\x4e\x20\x00\x1e\x84\x80\x00\x00\x01\x2c\x00\x00\x77\x7f\x00\x00\x0b\x21\x0c\x0d\x03
compared to the request that gets sent using the vesc tool (recorded with wireshark): \x02\x15\x39\x00\x00\x4e\x20\x00\x1e\x84\x80\x00\x00\x01\x2c\x00\x00\x78\xe6\x00\x00\x0b\x2f\xc5\xb6\x03
Analysis:

\x02: Start of message (same for both)
\x15: Length of message (same for both)
\x1a vs. \x39: This one I don't really know how it gets defined.
\x00\x00\x4e\x20: Current parameter (20A) (same for both)
\x00\x1e\x84\x80: Min rpm parameter (2000ERPM/s) (same for both)
\x00\x00\x01\x2c: Duty parameter (0.3) (same for both)
\x00\x00\x77\x7f: Resistance parameter (30.59mΩ) (slightly different but that's expected)
\x00\x00\x0b\x21: Inductance parameter (28.49µH) (slightly different but that's expected), This parameter I'm not sure if I need to encode since the firmware source code doesn't seem to read it. But the request sent out by the vesc tool included those bytes and they match perfectly with the measured inductance value, so I assumed it's that.
\x0c\0d vs. \xc5\xb6: checksum created here, I assume this work correctly
\x03: End of message (same for both)

My request makes the motor spin (rather fast, and not accelerating smoothly as it does with the vesc tool), and then the response gives an error while decoding: Decoding error: unpack_from requires a buffer of at least 21 bytes for unpacking 20 bytes at offset 1 (actual buffer size is 5). I think this is because the vesc returns some flux linkage measurement (1 result) while the VESCMessage expects 5 results, since I defined 5 parameters in fields.
Any suggestions or guidance on how to properly encode parameters for the flux linkage measurement, and what might be causing the discrepancies in the encoded request, would be greatly appreciated!

I found a fix for the problem. It's definitely not the way it was intended to work but it works for me. The questions still stands on how to properly encode input parameters.
What I did is I made some variations in how the data is encoded and decoded:
def encodeFluxRequest(self, data):
    payload = pyvesc.protocol.base.VESCMessage.pack(data, header_only=False)
    payloadArray = bytearray(payload)
    payloadArray[0] = 0x39
    payload = bytes(payloadArray)
    packet = pyvesc.protocol.packet.codec.frame(payload)
    return packet

def decodeFluxResponse(self, response):
    try:
        fluxBytes = response[3:7]
        fluxValue = int.from_bytes(fluxBytes, byteorder="big", signed=False) * 1e-4
        return type("FluxResponse", (object,), {"foc_motor_flux_linkage": fluxValue}), 4

    except Exception as e:
        MessageHandler().columnPrint(f"Error decoding flux response: {e}")
        return None


(my packages) don't put runtime deps into buildInputs

Motivation for this change
getting rid of unnecessary dependencies. https://github.com/NixOS/nixpkgs/pull/117249#issuecomment-804827933
Things done

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

[ ] NixOS
[ ] macOS
[X] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)

[ ] rpm2targz
[X] zs-wait4host
[ ] zstxtns-utils

[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 117348 at bfa344e2 run on x86_64-linux 1

3 packages built successfully:

rpm2targz
zs-wait4host
zstxtns-utils


Different AdminCompliance workflows in Dataverse and Dataverse for Teams

We installed the core components on a Datavease for Teams environment and noticed that the Admincompliance functionality is different. In Teams no notifications or status updates seem to be automated.
When checking the solutions we see that there are less workflows in the Teams core components so I am seeknig conformation this is by desirg (or not) and what the suggested workaround would be

.

@JonTaylor5
Sorry you're experiencing this issue. Please contact support: https://powerapps.microsoft.com/support/

Hi Jim,
Thank you for your help.
Kind regards,
Jon
From: Jim Holtzman @.>
Sent: 12 January 2022 20:53
To: MicrosoftDocs/power-platform @.>
Cc: Jon Taylor @.>; Mention @.>
Subject: Re: [MicrosoftDocs/power-platform] Different AdminCompliance workflows in Dataverse and Dataverse for Teams (Issue #1066)
[CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don't click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.]
@JonTaylor5https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJonTaylor5&data=04|01|jon.taylor%40hcl.com|4a92ceb4e1534fa23c3a08d9d60d9229|189de737c93a4f5a8b686f4ca9941912|0|0|637776176052580480|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=bW4nqcdiQIk0cb2k3GK65iGo0vWFZxHfndx9%2F4Ibqvo%3D&reserved=0
Sorry you're experiencing this issue. Please contact support: https://powerapps.microsoft.com/support/https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpowerapps.microsoft.com%2Fsupport%2F&data=04|01|jon.taylor%40hcl.com|4a92ceb4e1534fa23c3a08d9d60d9229|189de737c93a4f5a8b686f4ca9941912|0|0|637776176052580480|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=dD%2Fw6ZFrcxr7cxIMK1phY0W3bilPM1GIzMP4utJ0TAA%3D&reserved=0

Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fpower-platform%2Fissues%2F1066%23issuecomment-1011442190&data=04|01|jon.taylor%40hcl.com|4a92ceb4e1534fa23c3a08d9d60d9229|189de737c93a4f5a8b686f4ca9941912|0|0|637776176052580480|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=Y0i30DZynCMlnLjy2pwjNyGxiGXOvDG9Cmcn3ECGUe4%3D&reserved=0, or unsubscribehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAXIB4HDYLBCRZRWV4OG2U6LUVXS37ANCNFSM5LWJT56A&data=04|01|jon.taylor%40hcl.com|4a92ceb4e1534fa23c3a08d9d60d9229|189de737c93a4f5a8b686f4ca9941912|0|0|637776176052736705|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=sFW7LW8PWuE3N9inflGSfcgYbqTupqwckRub044QV9s%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|jon.taylor%40hcl.com|4a92ceb4e1534fa23c3a08d9d60d9229|189de737c93a4f5a8b686f4ca9941912|0|0|637776176052736705|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=Y7WZy4ho6LAHtttEBGVRKq2YzEm4Exj%2BaiR8ynWaxxs%3D&reserved=0 or Androidhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|jon.taylor%40hcl.com|4a92ceb4e1534fa23c3a08d9d60d9229|189de737c93a4f5a8b686f4ca9941912|0|0|637776176052736705|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=feBtlaGSWRAsbueFxGEuyYtA%2BY%2BMR58%2B02bVargUPEw%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>::DISCLAIMER::

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.


Website content

Awecode Website

Philosophies

[ ] Rapid Application Development
[ ] KISS, YAGNI, SOLID
[ ] Lean
[ ] Free and Open Source

Pages

About Awecode

[ ] History
[ ] Team
[ ] Link to Other Pages

[ ] Case Studies
[ ] Testimonials
[ ] Mobile Applications
[ ] Values, Objectives, Mission
[ ] CSR

[ ] Triple Bottom Line

[ ] Tools of the trade

Expertises

[ ] Nuxt

[ ] Development in Nepal

[ ] Flutter
[ ] Vue
[ ] Quasar
[ ] Python
[ ] Django

Services

[ ] Web Development

[ ] PWA
[ ] SPA
[ ] SSR

[ ] Mobile Application Development
[ ] Enterprise Application Development
[ ] Code Quality Audit
[ ] Software Project Valuation
[ ] Digital Management
[ ] Software Architecture Consulting
[ ] Information System and Automation Consulting

Projects

[ ] Edusanjal
[ ] Awecountant
[ ] Thuprai
[ ] Ticketing at Lumbini DT
[ ] Ticketing in Events
[ ] CMAT
[ ] Digital Audition Apps for Himalayan TV

Products

[ ] E-commerce System
[ ] Accounting System
[ ] Inventory Management System
[ ] CRM

[ ] Colleges

[ ] Content Management System
[ ] Ticketing System
[ ] E-learning System
[ ] Contract Management System
[ ] Robotic Process Automation

Philosophies

[ x ] Rapid Application Development
[ x ] KISS, YAGNI, SOLID
[ x ] Lean
[ x ] Free and Open Source


LESS plus selector

Hi!
I use the plus (+) selector as see as below:
div {
 a,b {
   &+&{margin-top:0;}
 }
}

...and I get this:
div a + div a,
div a + div b,
div b + div a,
div b + div b {
  margin-top: 0;
}

but the property (working) code would be:
div a + a,
div a + b,
div b + a,
div b + b {
  margin-top: 0;
}

King regards

According to less.js, it is working as expected

but the property (working) code would be:

Nope. See the documentation:

Note that & represents all parent selectors (not just the nearest ancestor)

(you can test your code with the reference compiler at less2cs.org).

Thanks for all answers!


refactor: [M3-6958] - MUI v5 Migration - Form / Input Related Components

Description 📝

Component migration for

FormControl
FormGroup
FormHelperText
FormLabel
Input
InputLabel

Major Changes 🔄

Added Storybook stories 📄
Moved components out of core 🗂
Removed RenderGuard from FormControl 🗑
Removed FForm component 🗑

Preview 📷

How to test 🧪

Verify that forms in Cloud Manager are unaffected by these changes

Great question @coliu-akamai. The RenderGuard is a high order component we have that can wrap a component and add a updateFor prop to allow you to finely control which props can cause the component to re-render. The idea is that it should result in performance benefits but we've found that is mostly just causes extra confusion and bugs in the long run so we have been slowly removing instances of it when we encounter it.