Add SeeAlso component, define shape.

What does this do?
This adds a <SeeAlso> component that renders out entries of seeAlso as either an  <ol> or <ul>. The default as value is  li. Presentation 2 manifests not having a label will render the id as text content.
With this, the following Presentation 3.0 seeAlso would render as:

Bibliographic Description in XML
Bibliographic Description in XML (related)

[
  {
    id: "https://example.org/library/catalog/book1.xml",
    type: "Dataset",
    label: { en: ["Bibliographic Description in XML"] },
    format: "text/xml",
    profile: "https://example.org/profiles/bibliographic",
  },
  {
    id: "https://example.org/library/catalog/book2.xml",
    type: "Dataset",
    label: { en: ["Bibliographic Description in XML (related)"] },
    format: "text/xml",
    profile: "https://example.org/profiles/bibliographic",
  },
]

Review

npm run dev
View varying manifests with seeAlso from dev examples. Both version 2 and 3.0 manifests should render.

@markpbaggett Thanks for that. I've committed your suggestion. I think I was the tired one.


Provider must be set in rclone.conf

It seems that empty provider is not allowed in rclone.conf:
provider =

Throws an error in the rclone containers.
--> Update in helm chart

Fixed in #7


[Bug] Changing Fill color of multiple objects not working as expected

Version of Archi, Operating System
Version 4.2.0, Mac OS High Sierra (10.13.3)
Expected Behaviour
Changing the Fill color of more than one object at the same time should change the fill color of those objects selected.
Actual Behaviour
Only the first object has its fill color changed
Steps to Reproduce the Behaviour

Select more than one object
Select Appearance in the properties window
Change the Fill colour

If you choose the fill colour from the Edit menu you can change multiple instances.

Which I just did.

That indeed works, thanks for the great tip. I guess the Properties tab is always meant for just a single instance, and as such you could close this bug report.

Yep. The Properties window logic could be re-written to handle multiple selections, but it would take a bit of work to do that (hide features not relevant to objects in selection, etc.)

In fact, I've taken another look at this and, as a result, I'm now re-working the whole Archi Properties Window framework to allow for multiple selections. So re-opening this...so I can close it again when I've implemented it...

I like your way of working, good luck with the rework and thanks for this amazing product!

Closing this so I can track it in #358


SW-4521 When projects feature is on, add org name for non-project reports in report table. Show project name and org name in report table

SW-4521 When projects feature is on, add org name for non-project reports in report table. Show project name and org name in report table
Remove feature flag since this view is already gated

Current dependencies on/for this PR:

main

PR #2008   👈

This stack of pull requests is managed by Graphite.


DOC: update linux build instructions to mention C++

What does this implement/fix?
With the addition of pybind11 dependencies, it's now necessary to have a C++ compiler installed.
Additional information
I don't know the equivalent incantation for non-Ubuntu distros, so I haven't touched those parts of the doc.

With the addition of pybind11 dependencies, it's now necessary to have a C++ compiler installed.

That long predates pybind11-using code by the way, the sparse matrices have been C++ code for a decade, and we may have even older C++ code in other submodules.


[tests] add slow tests to GH workflow

This PR adds the workflow to run slow tests

Added the corresponding GCP machine to the list of hosted runners, I think we should be all good once we add the SLACK_API_TOKEN inside the repo's secret!

Thank you all for your comments!


Support when@test

Hello,
When we make tests, the "when@test" instruction is very usefull, in doctrine.yaml, to specify a different database when running tests :
when@test:
    doctrine:
        dbal:
            # "TEST_TOKEN" is typically set by ParaTest
            dbname_suffix: '_test%env(default::TEST_TOKEN)%'

It could be a good thing to make the same thing in this package like this in doctrine_mongodb.yaml :
when@test:
    doctrine_mongodb:
        document_managers:
            my_document_manager:
                database: '%env(resolve:URI_MONGO_DB)%_test'

What do you think about this feature ?
Thanks.

@pcmanprogrammeur this is strictly a feature of symfony/config (and it's environment handling) and has little to do with Doctrine bundles.


Winget upgrade shows available upgrade search show as latest version

This is for the "Subtitle Edit" application.
Result for winget upgrade:
Name            Id                 Version      Available    Source
-------------------------------------------------------------------
Subtitle Edit   Nikse.SubtitleEdit <IP_ADDRESS>     <IP_ADDRESS>     winget

Then when running winget list Nikse.SubtitleEdit
Name          Id                 Version  Source
-------------------------------------------------
Subtitle Edit Nikse.SubtitleEdit <IP_ADDRESS> winget

This is a known issue with <IP_ADDRESS> version of SubtitleEdit where the installer doesn't write to the correct registry location which leads to two versions of the package installed side-by-side. You'll have to manually uninstall the older version from appwiz.cpl (you can learn more about the reason here https://github.com/microsoft/winget-pkgs/issues/95792#issuecomment-1485453790)

Thanks


Diego API documentation should be more easily discoverable

As a consumer of Diego, I care most about two things:

How to deploy it
Public interfaces

The README does mention use of CF, however Diego's API docs are buried in a docs directory in the Receptor repo (not even in the README for Receptor), to which there is no link on the diego-release README. I did eventually find a link to the API docs in the design notes repo.
The user experience would be improved if there were a link to the API docs on the README.

Hi, @shalako,
Thanks very much for your feedback. The diego-release README now links to the receptor API docs on GitHub, towards the top of the document. Is that sufficiently discoverable?
As you requested in #56, we'll shortly be improving the documentation for operators deploying a stable or metastable diego-release alongside a given CF version.
Thanks again,
Eric

Much better. Thank you.


[Joy][MenuList] tabindex isn't logical in a changing list

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/modest-gates-zwyhbd?file=/demo.tsx
This is the same example as #36799
Steps:

With the MenuList in focus navigate up and down the list, this will behave normally
Type a "H" in the search field and remove it again
Set focus back to the MenuList component and try navigating up and down the list again.

Current behavior 😯
Navigating up and down the list will now happen in a random order.
Expected behavior 🤔
The navigation happens predictably by going to the previous and next item instead of jumping up and down the list.
Context 🔦
No response
Your environment 🌎
No response

I will check this issue

'Menuitem' elements run registerItem() when mounted and unregisterItem() when unmounted.(useMenuItem.ts)
registerItem() and unregisterItem() run setMenuItems() to add and delete the data of the element to the 'menuitems' variable. (useMenu.ts)

Wherever 'MenuItem' element is added, the registerItem() function adds the element's data to the end of the 'menuitems' variable.
(The id value is generated by useId().)
The 'menuitems' variable is passed to 'options' variable,
The index of options is the order in which they are highlighted (defaultListboxReducer.ts)
A temporary option is to delete "key={item}".

step
"This is a text"
"More demo"
"Hello world"
"Menu focus issue"
"Autofocus should be optional"

1.id
R1nj9km /
R2nj9km /
R3nj9km
R4nj9km
R5nj9km

2.id

R3nj9km

3.id
r1
r3
R3nj9km
r5
r7

1.menuItems
R1nj9km
R2nj9km
R3nj9km
R4nj9km
R5nj9km

2.menuItems
R3nj9km

3.menuItems
R3nj9km
r1
r3
r5
r7

I hope someone can solve this problem

This problem is still exists @michaldudak

We have a similar problem with tabs. When a new tab is added somewhere in the middle or reordered by drag-and-drop, the tab/arrow order becomes inconsistent since new components will always be registered last and can't change their position. This appeared after https://github.com/mui/material-ui/pull/36400 was released in 5.12.1. I think this is related to this bug since they share the same internal hooks. I could also create a separate issue if preferred.


Suggestion: Create an "inclusive" filter for AD Groups Allowed to Change Password

Is your feature request related to a problem? Please describe.
No Problem - Just an idea
Describe the solution you'd like
This would be similar to the "CheckRestrictedAdGroups" functionality, but would only allow users who are members of the listed group(s) to change their password (instead of allowing EVERYONE to change passwords except the restricted groups).
Describe alternatives you've considered
This is doable with "CheckRestrictedAdGroups" but would be cumbersome to maintain.
Additional context
I think this would be useful for situations where a smaller group is a tenant in a given domain and the domain admins don't want to open the entire domain up to user password changes via this app.

@iamperson347 tomorrow we are going to publish the new version, you can now add allowed ad groups as a configuration on the appsettings.json file

Awesome! Thanks everyone - I look forward to trying it out.

Remember, please star this project if you find it useful! ⭐


Fix OHLC

@ssunkara1 the recent changes on NdArray broke OHLC. The default value for y should be 2-D. hence I picked [[]]. Besides the default for squeeze was True which was causing [[]] to be squeezed to [].

I think we want squeeze=True for Lines. I will check that and get back to you.

We could set it to True in Lines. I don't think that setting it to True by default is what a regular user would expect here.

@ssunkara1 I would like to push a release for today's build.

@SylvainCorlay  I think in OHLC we should make min_dim = 2 and set default_value = [[]]. Because if I pass a single dimensional array to OHLC it just shows up a blank chart.
Also, I think squeeze should be True by default. Because, without that, none of the Marks will plot arrays of shape (n, 1). It will either not show anything as in the case of Lines or throw a dimension mismatch in the case of Scatter etc. For OHLC, we would have to pass squeeze=False.
I mean, we have had squeeze = True from almost the start and I do not see many people complaining about it. I think not being able to plot arrays of shape (n, 1) will be a bigger concern as matplotlib etc handle it. And, about changing the thing they are passing, we also do it in the case they pass a list. We convert it to an numpy array. So in my opinion, we can live with it.

Did you see any issue in the example notebooks and other usages that we have in bqplot?
Regarding the squeeze attribute, squeeze = True results in a non trivial transformation that returns a new copy of the array... So this should be a conscious opt-in feature. If we are ever going to separate the traits from bqplot that is eventually going to be an issue.

The example notebooks do not have an issue.
But if you try to plot any array of shape (n, 1) it fails. I feel it is bad if we can't do that. And I do not think it is a non-trivial transformation. It is collapsing all dimensions of length 1. When I want to plot something of shape (n, 1) the transformation is exactly what I would expect. (n, 1) occurs a lot more frequently than we would like. Especially PandasDataFrame.values returns things of shape (n, 1) quite a lot.

grumbling

How about I set squeeze=True in most NdArray trait types?

We can ask what others feel about this. I don't want to impose anything. @dmadeka @rmenegaux @jasongrout @ChakriCherukuri what do you guys this?

I am good with setting squeeze=True for all NdArray traits apart from OHLC and BoxPlot.

@ssunkara1 @SylvainCorlay Im good with squeeze=True for most NdArray Traits as well. Lets do that and try to cut a release so we can test?

@ssunkara1 @SylvainCorlay I'm good with truing the squeezing as well

Pushed the squeeze=True everywhere in marks but boxplot's y.

@ssunkara1 merge?

Cool Thanks


Can't custom style of class chartNode

I try to handle custom chartNode class but can't edit it default style="min-width:9rem;"

Now It's work !
just use css like this
:deep(.chartNode){
max-width: fit-content !important;
}

I will look into this as soon as possible. Otherwise you can make a pull request.


Fix SQL dump used for database seeding

The current SQL dump used on bin/seed has a few problems that need to be addressed:

It was done with Postgres 9.5, wich is incompatible with our 9.2 version used on development
It contains structure creation, that is already done by rails migrate
The fields show_type and manga_type were renamed to subtype, and because of that Postgres can't figure out how to import data on those tables

After tinkering with the file trying to make it work, I've fixed it with the following command:
gzcat original-file.sql.gz | sed -e 's/SET row_security = off;//g' | sed -e 's/show_type/subtype/g'  | sed -e 's/manga_type/subtype/g' | sed 1,3970d | gzip > fixed-file.sql.gz

It's possible that this dump would also have some problems with the current data generated by rake db:seed, but I can confirm it right now, if someone could also check it would be nice :)

Postgres version doesn't affect SQL dumps I think
2/3. This was very much intentional: the dump contains the structure and all the migrations that had run at the time of dump, so you can migrate up to the latest. The tooling isn't quite fixed for it though

Version 9.5 generate a SET row_security = off; that 9.2 can't understand. Fortunately it's only this, could have been worse :P
And I have to disagree with the dump current intention. Rails already take care of all the migrations and database structure, having it on the dump is completely redundant, and with our current setup, it's only purpose is to overload stderr (i've saved the error log on a text file, is more than 110000 lines of error its generating)
Rails also has a seed feature, but since it's a lot of data, I agree that this external sql is a good thing, but it must be just it: data to feed a clean database already created by Rails.

Rails doesn't handle this. You can't say "rails make me the database as it was on January 20th when we dumped it"
If you have rails handle the initial schema the dump will break any time we remove a column.
If we handle the schema as part of the dump, a snapshot of the schema is stored and van be safely migrated to present structure.
The only time it'll overload stderr is when the schema doesn't match the data, literally the problem I solved by including the schema.
It should feed a clean database created by rails: no tables, nothing.

Of course Rails can't go back in time. The main point is that the dump must be regenerated within each migration. It must follow the schema.rb that rails generate each time a migration is run. It doesn't matter if it's a sql dump, a csv file or any other means to store data.
If you wan to keep storing schema on that dump, the whole workflow for working with the database must be changed to prevent Rails from creating tables and seeding. bin/build and bin/seed are two examples of that.
Also, the whole dump must be recreated, because it isn't destroying a table if already exists, so it won't work if rails already created the structure of if you messed something and want to rebuild everything from scratch.  And even this dump would be problematic, because a lot of "drop if exists" statements won't be supported on our current version of Postgres.

It doesn't need to be recreated with this dumping approach.  This approach provides a full snapshot in time of both schema and data (and the migrations which have been run on said schema and data), which can be used to create an exact replica of the production media database.
It can lag behind schema.rb because it includes the schema in it.  You just run rake db:migrate and it'll be migrated to match the schema.rb.  That means we can just take the dump weekly instead of after every migration, which is a hell of a lot easier.
Yes, the setup scripts need to be changed to match the new approach where we create an empty database without schema, load the data in, and then migrate.  I've been meaning to do that for a while but I wanna say @cybrox said he'd try and work on that(?)
We don't need to make it use "drop if exists" because it should only ever be run on an empty database.
Also we should definitely upgrade the postgres version in development to 9.4 (or is it 9.5?) to match production.  Dunno why it's on 9.2 still, that shit's old.

That's a lot of configuration over convention, but be it. I'll fix those scripts to work with that whole dump.

Rails doesn't really have a convention for this.  Believe me, if they did, I would use it.  But db:seed is just meant to prep all environments (production, development, staging, test) with data.  This data is just for one environment (development), so we're outside Rails conventions.


Remove Worker and persistentAccess option and other tidying

The "persistentAccess" option is removed, in favor of implicit query
Removed Worker support, since permission checks are bound to Windows
Remove unneeded async iterator anchor defs
Remove unneeded Map/record anchor defs
Fixed example with "select" option
Added transient activation check
Added policy check

Preview | Diff

I think the permission incantations have updated a bit, but I'll merge this and do a follow-up PR.


follow_redirects: Add :max_redirects option

Closes #64

I've force pushed because the retry options got conflicted with redirect options on the Req.request/1 docs

Thank you!


fix: Handle the case when staged-git-files errors properly

Since the implementation was already merged in #255, this PR only adds a test. It will trigger semantic-release to actually release the new version.
Closes #264

Do you know if there is a reliable way to get a temporary directory?
  it('should reject if staged-git-files returns an error', () => {
    expect.assertions(1)
    return runAll(packageJson, getConfig({ gitDir: os.tmpdir() })).catch(err => {
      expect(err.message).toMatch(/fatal: Not a git repository/)
    })
  })

I am using os.tmpdir() but would prefer to get a tmp directory for lint-staged itself. Having to mock sgf could prove a problem when we want to add tests for all scenarios.

I like your suggestion although I think we still will need to test for different scenarios and it is easier to do with the mock. Why do you think it's problematic?
BTW what about https://github.com/sindresorhus/os-tmpdir?

Why do you think it's problematic?

Take runScript for example. I don't like having to split my tests across files just for mocks. Not entirely sure if that will be relevant for this, just a little bit of intuition.

BTW what about https://github.com/sindresorhus/os-tmpdir?

This is deprecated, and a ponyfill for os.tmpdir()(what I am using already) which Sindre Sorhus recommends for node 4+.

Take runScript for example.
I don't like having to split my tests across files just for mocks.

Can you be more specific?

Not entirely sure if that will be relevant for this, just a little bit of intuition.

Since this is a bug fix for a blocker, I wouldn't spend much time here to make it right. We can always refactor later.

Can you be more specific?

We have 3 files for testing runScript:

runScript.spec.js
runScript-mock-findBin.spec.js
runScript-mock-pMap.spec.js

If jest.doMock was working as expected, we could have these in a single file. And as we observed with the blinking test, there are weird bugs which can be introduced by mocks. So I prefer to keep mocks as the last resort. But you are right of course, we can refactor later.


Investigate support for TR143

https://www.broadband-forum.org/technical/download/TR-143.pdf
https://www.qacafe.com/training/performance-monitoring-using-tr-143/
https://cwmp-data-models.broadband-forum.org/tr-143-1-1-0.html
mikrotik specific:
https://wiki.mikrotik.com/tr069ref/current.html#Device.

Summary. Its going to a tough job without someone who knows this diagnostics protocol intimately.

@kangdengfeng
We need to cover a minimal viable product, one use case to be precise. I have read the documents, but they are very technical and does not exactly show the xml payloads back and forth.
Whats the most common usage you can think of?
How is the use case initiated by the ACS or CPE?
What kind of RPC methods (soap) is involved?
Or, what parameters to set to initiate the diagnostics?
All in all, since I must rely on domain experts, I need to see examples on how the protocol looks like in xml payloads or similar pseudo payloads described with words.

@kangdengfeng
We need to cover a minimal viable product, one use case to be precise. I have read the documents, but they are very technical and does not exactly show the xml payloads back and forth.
Whats the most common usage you can think of?
How is the use case initiated by the ACS or CPE?
What kind of RPC methods (soap) is involved?
Or, what parameters to set to initiate the diagnostics?
All in all, since I must rely on domain experts, I need to see examples on how the protocol looks like in xml payloads or similar pseudo payloads described with words.

What is the most common use you can imagine?

We use to measure the speed or width of the CPE band to the Internet and be proactive before the client informs us of any slowness in their service.

How is the use case initiated by the ACS or CPE?

It is initiated by the ACS setting the parameters so that the CPE begins to perform the test. (attached image).

More Info: https://www.broadband-forum.org/technical/download/TR-143.pdf

What kind of RPC methods are involved?

First, identify the paremtros (RW) the requirements to set and maintain their values (eg, if the test is to download HTTP, the URL where the file is to be downloaded, etc ...)
We also have to enable the read parameters to wait for the results from the CPE.
Then it is to execute the kick to the CPE with the previously activated parameters and wait for the CPE to execute the test and return the results to FreeACS.

Or, what parameters to configure to start the diagnosis?
Or, what parameters to configure to start the diagnosis?

I confirm the parameters, tests with a team and I confirm you.
Or the other one here you can find the values that have to be sent to the CPE (RW) and the values that you will expect to read (R) when finished.
https://cwmp-data-models.broadband-forum.org/tr-143-1-1-0.html

And an apology had had me doing provisioning tests with the ACS and had not had an opportunity to enter the forum.


Fix URL Path for Pricing Section Navigation

Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #4339
Description
This pull request addresses an issue with the navigation from the About section to the Pricing section. The URL path has been corrected to ensure users are directed to the appropriate pricing page when accessing it from the About section.
Changes made:
Updated the URL path in the navigation links.
Verified that the new path correctly redirects to the Pricing section.
This enhancement improves user experience by ensuring seamless navigation between sections.
Type of PR

[x] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes. Make sure to attach before & after screenshots in your PR.]

Checklist:

[x] I have made this change from my own.
[x] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@abhi03ruchi , please add label !!

this is a v v minor change , u wont get any level for it .
https://github.com/GSSoC24/Contributor/tree/main/gssoc-guidelines
Please go tbrough these guidelines . chk point 6 .


replace deprecated LoadSyntax

Also make sub-tests for each reflectively-found resource type; it makes it easier to verify that we actually found types.
Standard checks

Unit tests: n/a
Docs: n/a
Backwards compatibility: no issues

closing in favor of #437


Filter sticky posts

Any idea on how to filter sticky posts? I have implemented sticky posts filter in WpGraphql in wordpress and it works with GraphqiQL in wordpress but not in gatsby.

Closing this as an upstream issue https://github.com/wp-graphql/wp-graphql/issues/1465.
Thanks for raising this!


add query scripts

Changes the patched_builds script to print out all patches into a html format. Also adds some documentation and more interestingly some xpath specifications to get some interesting data.

thanks Benjamin.


fatal error: 'answersolver.h' file not found

I am trying to integrate TurboModule in my android app. I am on this step https://github.com/react-native-community/RNNewArchitectureApp/commit/d8884c29c346ff73bae1918bc8270e3b494e30ba
Currently after completing all the changes of https://github.com/react-native-community/RNNewArchitectureApp/commit/d8884c29c346ff73bae1918bc8270e3b494e30ba, if i do a build i get following error
Build command failed.
Error while executing process /Users/transformhub/Library/Android/sdk/ndk/24.0.8215888/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/Users/transformhub/Desktop/NewArchitecture/firstapp/android/app/src/main/jni/Android.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 NDK_OUT=/Users/transformhub/Desktop/NewArchitecture/firstapp/android/app/build/intermediates/cxx/Debug/6i2b135i/obj NDK_LIBS_OUT=/Users/transformhub/Desktop/NewArchitecture/firstapp/android/app/build/intermediates/cxx/Debug/6i2b135i/lib APP_CFLAGS+=-Wall APP_CFLAGS+=-Werror APP_CFLAGS+=-fexceptions APP_CFLAGS+=-frtti APP_CFLAGS+=-DWITH_INSPECTOR=1 APP_CPPFLAGS+=-std=c++17 APP_PLATFORM=android-21 APP_STL=c++_shared NDK_TOOLCHAIN_VERSION=clang GENERATED_SRC_DIR=/Users/transformhub/Desktop/NewArchitecture/firstapp/android/app/build/generated/source PROJECT_BUILD_DIR=/Users/transformhub/Desktop/NewArchitecture/firstapp/android/app/build REACT_ANDROID_DIR=/Users/transformhub/Desktop/NewArchitecture/firstapp/android/../node_modules/react-native/ReactAndroid REACT_ANDROID_BUILD_DIR=/Users/transformhub/Desktop/NewArchitecture/firstapp/android/../node_modules/react-native/ReactAndroid/build firstapp_appmodules}
[armeabi-v7a] Compile++ thumb: firstapp_appmodules <= MainApplicationModuleProvider.cpp

/Users/transformhub/Desktop/NewArchitecture/firstapp/android/app/src/main/jni/MainApplicationModuleProvider.cpp:4:10: fatal error: 'answersolver.h' file not found
#include <answersolver.h>
         ^~~~~~~~~~~~~~~~
1 error generated.
make: *** [/Users/transformhub/Library/Android/sdk/ndk/24.0.8215888/build/core/build-binary.mk:424: /Users/transformhub/Desktop/NewArchitecture/firstapp/android/app/build/intermediates/cxx/Debug/6i2b135i/obj/local/armeabi-v7a/objs-debug/firstapp_appmodules//Users/transformhub/Desktop/NewArchitecture/firstapp/android/app/src/main/jni/MainApplicationModuleProvider.o] Error 1

I also get below error saying

Further debugging I found the build files were properly generated

More debugging I found that I Wass missing following line in Android.mk
react_codegen_answersolver
After adding the line I get below error

Hi @PritishSawant, thanks for opening the issue.
I'm not sure about your specific issue, but the migration you are following is a bit old, now: the commits you indicate refers to a branch of the 02/02/2022. The first suggestion is to try and follow a more recent migration: we have improved several of the steps.
Secondly, when it comes to the new pillars (TurboModules and Fabric Components), it is possible that you'll need to follow all the steps with a little faith: there are some manual steps required to actually integrate these components, which requires you to update the gradle file and the Android.mk file, to tell the app where to find the modules. With version 0.70, this will be improved as well.
I hope these suggestions help you integrating the TM into your app.

@cipolleschi  Thanks for the reply. Can you help me in understanding which branch is the most recent one? Is this the latest one https://github.com/react-native-community/RNNewArchitectureApp/tree/run/from-0.67-to-0.68 given that 0.69 is not stable yet.

After going through the repo I found that this is not the latest one. It just helps on how to migrate from 67 to 68. Does not include on how to implement Turbo Modules or Fabric.

@PritishSawant If I open the readme I can see in the Table of Content:

TurboModule Setup
Fabric Setup

And then down, in the Pillars section:

TurboModule
Fabric

If you click on the title of each section, it will bring you to the related commit.
Let me know if this helps you navigate the branch.

@cipolleschi  Thanks alot. I will check in some time and if it solves my issue i will close this


From Read / To Write

I can't use Read/Write even with the use-std feature flag. Please implement this if possible.

Suggestion: Support a custom read/write trait so it can work on no_std since Read/Write is not in core. It would be possible to simply use a crate like embedded-io or roll your own.

I didn't get to this in the 1.0 release unfortunately, I am however open to PRs, or happy to discuss this/mentor anyone interested in implementing it.
I'd be fine with having embedded-io (or self-rolled) traits behind a separate non-default feature flag as well, in addition to the std traits behind the use-std flag.


Only show the back button if it needed.

Need review.
Everything works well, except a small issue described here.
Address issue 421

@zulipbot label "needs review"

@abhigyank you need to used did-navigate-in-page event of web-view to track of the state, to know weather its time to update the button or not checking it on first time does work.

Merged. Thanks, @abhigyank.


Made UserIntent enum objc accessbile

This fixes #339.
I've tested it inside my own project to make sure it is accessible to Objective-C code. Wasn't sure how to write a test in that since this project is just Swift.

@ryanjm - thanks for this!
Yeah, no need to write any tests.


Implicit declaration of function

Current master branch (578293e17509410c0024356f431d03009032c813) is broken.
$ make clean && make
....
gcc -Werror -Wcast-qual -Wcast-align -Wwrite-strings -Wall -Wno-unused-parameter -fno-common -g -DDEBUG -fpic -DICARUS -Wstrict-prototypes -Waggregate-return -DICARUS -c -I/home/ademski/Documents/satellogic/hdlteam/cocotb/cocotb/share/include -I/usr/include/python3.7m  -o /home/ademski/Documents/satellogic/hdlteam/common-cores/test/fifo_sbi_tb/build/obj/x86_64/cocotb_utils.o cocotb_utils.c
cocotb_utils.c: In function ‘to_python’:
cocotb_utils.c:45:9: error: implicit declaration of function ‘exit’ [-Werror=implicit-function-declaration]
         exit(1);
         ^~~~
cocotb_utils.c:45:9: error: incompatible implicit declaration of built-in function ‘exit’ [-Werror]
cocotb_utils.c:45:9: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
cocotb_utils.c:35:1:
+#include <stdlib.h>
 #else
cocotb_utils.c:45:9:
         exit(1);
         ^~~~
cocotb_utils.c: In function ‘to_simulator’:
cocotb_utils.c:54:9: error: incompatible implicit declaration of built-in function ‘exit’ [-Werror]
         exit(1);
         ^~~~
cocotb_utils.c:54:9: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
cc1: all warnings being treated as errors

Introduced in #954, looks like it was merged without CI passing

That was my fault, we recently had half-failing tests and I didn't double-check that the symptom is the same. It's now reverted.


Windows support

Any chance someone would be willing to include Windows support for igraph?

I would like to support it, but it is not clear how to do that from the igraph documentation for graph 0.7.x series.

Windows support is provided for version 0.8.0 in PR #15


3.1.3 question

Please note that this is NOT a demand for a new version or a complaint about this project's efforts.  It is only a discussion.
Some time ago, I saw the 3.1.3 announce on the openssl mailing list.  Usually this project publishes an update within a few days of announcement by the openssl project.  I didn't see one here, and basically forgot about it until now.
Then I saw the 3.2 alpha announcement, and thought for sure a 3.1.3 release of quictls would have happened by now, but it's still not here.
So I went looking at the openssl changelog ... and found that 3.1.3 mentioned one change ... which appears to only apply to Windows.
Maybe the Windows issue is not something this project really cares about.  Which is a little odd given that the main README says quictls is an effort driven by Akamai and Microsoft.  Can someone shed some light on this?  I'm thinking because I use quictls on Linux that 3.1.3 would not offer me any benefit compared to 3.1.2.

Hi, my paying job no longer directly involves OpenSSL... So, I've been a bit lax here. I just pushed 3.0.11+quic. I will be rebasing onto 3.1.3 today and pushing a PR, likely today.

Hi, my paying job no longer directly involves OpenSSL... So, I've been a bit lax here. I just pushed 3.0.11+quic. I will be rebasing onto 3.1.3 today and pushing a PR, likely today.

Thanks for the info!  I think you should take as much time as you need.


Accessing task using named() instead of withType()

If I want to configure the task reports using tasks.named(...) instead of tasks.withType(LintTask), since I want to split my gradle files into several smaller one. I've hit a couple of issues.

What is the name the tasks use? lintKotlin?
I've tried lintKotlin but gradle kept complaining that it doesn't have reports
A bit OOTP, but gradle also complaint that it can't resolve import org.jmailen.gradle.kotlinter.tasks.LintTask. The build is fine though, so I guess it's false positive on their side, maybe.

If I want to configure the task reports using tasks.named(...) instead of tasks.withType(LintTask), since I want to split my gradle files into several smaller one.

I'm not sure if I got the reasoning between configuring withType() vs named() 🤔 withType allows you to configure all tasks with a given type for a given project. named allows you to alter configuration for a specific task.
This plugin registers one LintTask per each source set in your project. So there might be lintKotlinMain, lintKotlinIosMain, lintKotlinTest, lintKotlinTestFixtures, lintKotlinDebug, depending on which plugins you apply to your project. (Readme).
Can you elaborate on what's wrong with tasks.withType(LintTask)? How does this prevent you from splitting your configuration into smaller chunks? And what is your end goal? What's your use case for configuring tasks directly?
As I didn't fully get what you're asking about, I'll try to answer your points directly

What is the name the tasks use? lintKotlin?

lintKotlin is a lifecycle task that groups all source-set specific tasks. You can run ./gradlew :projectName:lintKotlin -m to view all source-set tasks for a given project

I've tried lintKotlin but gradle kept complaining that it doesn't have reports

lintKotlin is only a lifecycle task, it doesn't perform any action. You have to configure specific LintTasks which has report property, as shown in projects Readme

but gradle also complaint that it can't resolve import org.jmailen.gradle.kotlinter.tasks.LintTask. The build is fine though, so I guess it's false positive on their side, maybe.

That sounds like an IDE issue - have you tried re-syncing it? If the issue persists, but the project compiles fine - please do report that issue to IDE maintainers.

Actually I just want to split my build.gradle into smaller files with specific settings block (detekt, ktlint, linter, android, etc). Basically kind of like convention plugin but without actually making a plugin. Unfortunately import and plugins block cannot be used in separate gradle file, so referencing the Task Class using generic like withType() is not supported (CMIIW). In detekt case, fortunately I can modify the report path using tasks.named() instead of using type resolution way (tasks.withType()). So I figure, why not using the same approach for kotlinter.
Thank you for your response, I will try it again, but this isn't urgent or anything, just curious.
As for question no. 3. Yes, by "their" side, I mean the IDE. I've resync it, but haven't tried invalidating it. Maybe that will solve it, who knows :).

@mateuszkwiecinski Just wanted to let you know, using "lintKotlinMain" (one of the many lintKotlin task), works. Thank you.


Incorrect theme for code blocks in light mode

I followed the steps:
npx @docusaurus/init@latest init docs classic
cd docs
npm docusaurus start

Then I realized that the code blocks had a dark theme, unlike the rest of the project. If I switch to dark mode everything will change, except for the code blocks that remain the same.

My project in light mode: https://i.imgur.com/ayshMzw.png
My project in dark mode: https://i.imgur.com/Dz474na.png

I would like the theme to be the same as that shown on the official website in which the code blocks respect the light theme.

Docusaurus website in light mode: https://i.imgur.com/YVUn2G5.png
Docusaurus website in dark mode: https://i.imgur.com/aTvQXkn.png

Looks like a similar issue: https://github.com/facebook/docusaurus/issues/4788
  themeConfig: {
    prism: {
      theme: require('prism-react-renderer/themes/github'),
      darkTheme: require('prism-react-renderer/themes/dracula'),
    },
  },

How can we document this better? Where did you expect to find such information?

That worked, but it didn't fix the whole problem. The highlighted lines are still being shown with the wrong colors.

My project: https://i.imgur.com/yk23EmX.png
Docusaurus website: https://i.imgur.com/XgsGAkq.png

How can we document this better? Where did you expect to find such information?

Perhaps in Docs > Guides> Styling and Layout?

I believe this is documented: https://docusaurus.io/docs/markdown-features/code-blocks#line-highlighting
You have to use custom CSS and define your own highlighting color.

Thank you! And sorry for not seen that ...

That happens :)
Please submit a doc PR if you feel we could make it more obvious

@slorber Should we document it in the documentation or should we rather just modify the init template? Most users will be satisfied with a default code block style resembling the Docusaurus website.

We could do both, do you want to open a PR?


feat: Global hooks

#295 is about hooking into the life cycle of each release in helmfile.yaml. #325 is about making the per-release hook reusable across releases.
In contract, the purpose of this feature is hooking into the life cycles of the helmfile command and each helmfile.yaml. So let's say you wanted to run some command before each helmfile run, a onHelmfileStar hook would make sense.
I don't have specific use-case(s) requires this feature, but as this concept has been seen in a few times in this project, I'd like to use this issue for aggregating more like that.
Relevant issues and comments:

https://github.com/roboll/helmfile/issues/295#issuecomment-419859615

I am currently running my own scripts that do a "pre-" and "post-" helm apply which you can see at those links.
I would like to use glob patterns so that an simply run a bunch of helmfiles within subfolders without my own custom script. I cannot do that until there are some lifecycle hooks mentioned in this ticket where I can run my pre- and post- helm apply scripts.
The two use cases I currently have for these hooks are:

running our own secret decryption tooling
managing tags within an openshift container registry

another use case that just popped up is to have a "post helmfile hook" script that sends out a notification that a particular microservice has been updated (e.g., post an message into a slack channel)

We have to run a couple of commands to authenticate to aws and set the kubeconfig; this global hook would be perfect for that.

Now we have a helmfile that releases many secrets (shared by many apps) and we have to run a post script to ensure apps pick up the changes after all the secrets are refreshed.
At the moment we always wrap running helmfile in a script that looks for pre- and post- global hooks.

we have moved half our apps onto helmfile in production. we use a subfolder per application with a separate helmfile. we run pre- and post- helmfile hooks. we also run a post everything hook
these do things like check for whether any secrets have changed requiring us to bounce deployments. they also do chatroom announcements. to tells us the status of deployments when we have changed or environments config repos and we are running helmfile apply across the whole repo to sync any changes.
currently we have to use a custom script for this as helmfile doesn't have the hooks we need as per this ticket. we run these hooks starting at this line which is quite a lot of boilerplate code. we would rather simply everthing by using helmfile.d and define additional hooks, ones that run before and after each helmfile, and ones that run before and after starting to process the folder.
if we got more hooks we could remove our boiler plate script that allows us to manage multiple apps in multiple environments all driven by git webhooks and helmfile.


change splash color according to theme

you can use VxSwiper

you can use VxSwiper

Sorry, I didn't explained the issue. For this issue we couldn't use VxSwiper as it is completely different widget than a Rive animation.

Sorry, I didn't explained the issue. For this issue we couldn't use VxSwiper as it is completely different widget than a Rive animation.


virtualenv package name

The name of the dpkg package is python-virtualenv.

Current coverage is 62.02%

Merging #93 into develop will not affect coverage as of 63b100b

@@            develop     #93   diff @@
=======================================
  Files            14      14
  Stmts          2212    2212
  Branches          0       0
  Methods           0       0
=======================================
  Hit            1372    1372
  Partial           0       0
  Missed          840     840

Review entire Coverage Diff as of 63b100b

Powered by Codecov. Updated on successful CI builds.

I added python-dev to the package list as well.


Use InfrastructureApplication

These paths don't exist in this repo.

Sorry, I mixed up the repos. Comment is updated.

I don't know how important it is to replace these strings with their respective constants everywhere, so merge at will.

SystemApplication.java is fixed in this PR.
The other files are tests, and I think it's OK for them to actually verify everything resolves to e.g. zone-config-servers.


[Output Error] Pokemon fled and then caught

Expected Behaviour
EITHER:

When a Pokemon flees, to continue to other tasks.
When a ball fails, Pokemon either flees or stays to allow another ball to be thrown

Actual Behaviour
When ball fails due to low chance rate, Pokemon fled is output. However, another ball is then thrown, and Captured Pokemon! is output.
Steps to Reproduce
See output below:
[PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Spearow appeared! [CP 247] [Potential 0.4] [S/A/D 8/6/4]
[PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 38.66 (24 left)
[PokemonCatchWorker] [INFO] [pokemon_fled] Spearow fled.
[PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 38.66 (23 left)
[PokemonCatchWorker] [INFO] [pokemon_caught] Captured Spearow! [CP 247] [Potential 0.4] [8/6/4] [+420 exp]

Other Information
OS: OSX El Capitan
Git Commit: 5b3fe3d187b6b5fdfdede00f064bf7bcbd5a484d
Python Version: Python 2.7.12

Fled doesn't mean Vanished, but just that the pokemon escaped the ball

By fled it means broke free. I don't understand this update. it's confusing

This has already been fixed:
https://github.com/PokemonGoF/PokemonGo-Bot/pull/3129

Update: By escaped it means broke free. I don't understand this update either. It's still confusing.

Closing. #3129 does indeed fix the wording issue.


TypeError: The view function did not return a valid response. The function either returned None or ended without a return statement.

Environment:

Python version: 3.8.6
Flask version: 1.1.2

There's nothing wrong with my app.py file.

Answer Needed
It needs an answer.

Never mind.

Please use Stack Overflow for questions about your own code. This tracker is for issues related to the project itself. Be sure to include a minimal, complete, and verifiable example.


api modification

half modification of fluid/io/layers according to 1.3->develop Report

存在一个conflict，请修复


MongoDB: = null matches missing field when compiled to a selector

Depending on how a query is compiled, a missing value may or may not be considered equal to null. Specifically, when compiled to a selector, comparison with null does match a missing value, but otherwise it does not.
For example:
💪 $ select * from zips where foo = null
Query time: 0.0s
 city          | loc[0]      | loc[1]     | pop    | state |
---------------|-------------|------------|--------|-------|
 AGAWAM        |  -72.622739 |  42.070206 |  15338 | MA    |
 CUSHMAN       |   -72.51565 |  42.377017 |  36963 | MA    |
 BARRE         |  -72.108354 |  42.409698 |   4546 | MA    |
 BELCHERTOWN   |  -72.410953 |  42.275103 |  10579 | MA    |
 BLANDFORD     |  -72.936114 |  42.182949 |   1240 | MA    |
 BRIMFIELD     |  -72.188455 |  42.116543 |   3706 | MA    |
 CHESTER       |  -72.988761 |  42.279421 |   1688 | MA    |
 CHESTERFIELD  |  -72.833309 |   42.38167 |    177 | MA    |
 CHICOPEE      |  -72.607962 |  42.162046 |  23396 | MA    |
 CHICOPEE      |  -72.576142 |  42.176443 |  31495 | MA    |
...
💪 $ select * from zips where foo = null and pop + 1 > 0
Query time: 0.1s
No results found
💪 $

But the result should be the same (no results). The second query forces the condition to be evaluated in $project (i.e. { "$eq": ["$foo", { "$literal": null }] }, which is always false), while the first compiles to a selector that seems like it should equivalent ({ "foo": null }), but that matches when foo isn't present.
NB: x is null and s = null both compile to the same LogicalPlan: Eq(x, Constant(null).
Also: the new query operator in MongoDB 3.0, $eq, seems to behave the same as the old syntax with no operator.

This case should be added to StdLibSpec, which should be implemented for the Selector translation.


Error using lxd copy

Required information
Source Server

Distribution: Ubuntu
Distribution version: 18.04
The output of "lxc info" or if that fails:

Kernel version: 4.15.0-36-generic
LXC version: 3.0.2
LXD version: 3.0.1
Storage backend in use: zfs

Target Server - - -

Distribution: Ubuntu
Distribution version: 18.04
The output of "lxc info" or if that fails:

Kernel version: 4.15.0-43-generic
LXC version: 3.0.3
LXD version: 3.0.3
Storage backend in use: zfs

Issue description
I want to make a copy of a container from one server (Soucer server) to another (Target server), I'm using the command:
"lxc copy containerA/snap0 target:containerA --verbose"
And I get the following error: "Error: Failed container creation: Create LXC container: Initialize LXC: no such file or directory"
The Target server is newly installed and uses as storage a device block /dev/sda4
Note
I have already used the lxc copy command and I did not receive this error.
Source
comand lxc storage list
+------+-------------+--------+----------------------------+---------+
| NAME | DESCRIPTION | DRIVER |           SOURCE           | USED BY |
+------+-------------+--------+----------------------------+---------+
| lxd  |             | zfs    | /var/lib/lxd/disks/lxd.img | 25      |
+------+-------------+--------+----------------------------+---------+
Target
command lxc storage list
+------+-------------+--------+--------+---------+
| NAME | DESCRIPTION | DRIVER | SOURCE | USED BY |
+------+-------------+--------+--------+---------+
| lxd  |             | zfs    | lxd    | 4       |
+------+-------------+--------+--------+---------+
lxc monitor from the Target Server
metadata:
context: {}
level: dbug
message: 'New event listener: f5ca206a-8514-43c2-ad84-3769782f7b65'
timestamp: "2018-12-29T13:54:14.487895427Z"
type: logging
metadata:
context:
k: "0"
level: dbug
message: Found cert
timestamp: "2018-12-29T13:54:22.160725442Z"
type: logging
metadata:
context:
ip: x
method: GET
url: /1.0
level: dbug
message: handling
timestamp: "2018-12-29T13:54:22.160806939Z"
type: logging
metadata:
context:
k: "0"
level: dbug
message: Found cert
timestamp: "2018-12-29T13:54:22.161695303Z"
type: logging
metadata:
context: {}
level: dbug
message: 'New event listener: 640c12c6-160b-40a5-8243-8635bd1e99a4'
timestamp: "2018-12-29T13:54:22.473872329Z"
type: logging
metadata:
context:
k: "0"
level: dbug
message: Found cert
timestamp: "2018-12-29T13:54:22.473718584Z"
type: logging
metadata:
context:
ip: x
method: GET
url: /1.0/events
level: dbug
message: handling
timestamp: "2018-12-29T13:54:22.473764255Z"
type: logging
metadata:
context: {}
level: dbug
message: Responding to container create
timestamp: "2018-12-29T13:54:22.559460908Z"
type: logging
metadata:
context:
k: "0"
level: dbug
message: Found cert
timestamp: "2018-12-29T13:54:22.559356146Z"
type: logging
metadata:
context:
ip: x
method: POST
url: /1.0/containers
level: dbug
message: handling
timestamp: "2018-12-29T13:54:22.559431416Z"
type: logging
metadata:
context: {}
level: dbug
message: No valid storage pool in the container's local root disk device and profiles
found
timestamp: "2018-12-29T13:54:22.562457973Z"
type: logging
metadata:
context: {}
level: dbug
message: 'Database error: &errors.errorString{s:"sql: no rows in result set"}'
timestamp: "2018-12-29T13:54:22.562895801Z"
type: logging
metadata:
context: {}
level: dbug
message: 'Database error: &errors.errorString{s:"sql: no rows in result set"}'
timestamp: "2018-12-29T13:54:22.56394832Z"
type: logging
metadata:
context:
ephemeral: "false"
name: containerA
level: info
message: Creating container
timestamp: "2018-12-29T13:54:22.572457423Z"
type: logging
metadata:
context: {}
level: dbug
message: Mounting ZFS storage volume for container "containerA" on storage pool "lxd"
timestamp: "2018-12-29T13:54:22.582283133Z"
type: logging
metadata:
context: {}
level: eror
message: Failed to mount ZFS dataset "lxd/containers/containerA" onto "/var/lib/lxd/storage-pools/lxd/containers/containerA"
timestamp: "2018-12-29T13:54:32.59276082Z"
type: logging
metadata:
context: {}
level: dbug
message: Mounting ZFS storage volume for container "containerA" on storage pool "lxd"
timestamp: "2018-12-29T13:54:32.593649161Z"
type: logging
metadata:
context: {}
level: eror
message: Failed to mount ZFS dataset "lxd/containers/containerA" onto "/var/lib/lxd/storage-pools/lxd/containers/containerA"
timestamp: "2018-12-29T13:54:42.603878924Z"
type: logging
metadata:
context: {}
level: dbug
message: 'Scheduler: container containerA changed: re-balancing'
timestamp: "2018-12-29T13:54:42.604126046Z"
type: logging
metadata:
context:
created: 2018-12-29 13:54:22 +0000 UTC
ephemeral: "false"
name: containerA
used: 1970-01-01 00:00:00 +0000 UTC
level: info
message: Deleting container
timestamp: "2018-12-29T13:54:42.604047988Z"
type: logging
metadata:
context: {}
level: dbug
message: Deleting ZFS storage volume for container "containerA" on storage pool "lxd"
timestamp: "2018-12-29T13:54:42.613792259Z"
type: logging
metadata:
context: {}
level: dbug
message: Deleted ZFS storage volume for container "containerA" on storage pool "lxd"
timestamp: "2018-12-29T13:54:42.620999746Z"
type: logging
metadata:
action: container-deleted
source: /1.0/containers/containerA
timestamp: "2018-12-29T13:54:43.275845473Z"
type: lifecycle
metadata:
context:
created: 2018-12-29 13:54:22 +0000 UTC
ephemeral: "false"
name: containerA
used: 1970-01-01 00:00:00 +0000 UTC
level: info
message: Deleted container
timestamp: "2018-12-29T13:54:43.275755388Z"
type: logging
metadata:
context:
ephemeral: "false"
name: containerA
level: eror
message: Failed creating container
timestamp: "2018-12-29T13:54:43.275954669Z"
type: logging
metadata:
context: {}
level: dbug
message: 'Database error: &errors.errorString{s:"sql: no rows in result set"}'
timestamp: "2018-12-29T13:54:43.276358727Z"
type: logging

No valid storage pool in the container's local root disk device and profiles

looks pretty suspect could it be that the default profile doesn't exist contain profile disk information E.G my profile looks like;
config: {}
description: Default LXD profile
devices:
  eth0:
    name: eth0
    nictype: bridged
    parent: br0
    type: nic
  root:
    path: /
    pool: default
    type: disk
name: default

What does yours look like ? Prephaps you could try lxc copy containerA/snap0 target:containerA -p default --verbose (notice I added the default profile)
I'm no expert so thats about all I can suggest

No valid storage pool in the container's local root disk device and profiles

looks pretty suspect could it be that the default profile doesn't exist contain profile disk information E.G my profile looks like;
config: {}
description: Default LXD profile
devices:
  eth0:
    name: eth0
    nictype: bridged
    parent: br0
    type: nic
  root:
    path: /
    pool: default
    type: disk
name: default

What does yours look like ? Prephaps you could try lxc copy containerA/snap0 target:containerA -p default --verbose (notice I added the default profile)
I'm no expert so thats about all I can suggest

It's the same in the both servers
Source server
lxc profile show default
config: {}
description: Default LXD profile
devices:
  eth0:
    name: eth0
    nictype: bridged
    parent: lxdbr0
    type: nic
  root:
    path: /
    pool: lxd
    type: disk
name: default

Target Server
lxc profile show default
config: {}
description: Default LXD profile
devices:
  eth0:
    name: eth0
    nictype: bridged
    parent: lxdbr0
    type: nic
  root:
    path: /
    pool: lxd
    type: disk
name: default

The result for the command  lxc copy containerA/snap0 target:containerA -p default --verbose is:
Error: Failed container creation: Duplicate profile found in request

Hmm then im lost apologies!

message: Failed to mount ZFS dataset "lxd/containers/containerA" onto "/var/lib/lxd/storage-pools/lxd/containers/containerA"

Does that mount path exist? I wonder if something made it so that this is somehow missing.

message: Failed to mount ZFS dataset "lxd/containers/containerA" onto "/var/lib/lxd/storage-pools/lxd/containers/containerA"

Does that mount path exist? I wonder if something made it so that this is somehow missing.

Tell me how can I verify this?

Check that /var/lib/lxd/storage-pools/lxd/containers exists with sudo ls -lh /var/lib/lxd/storage-pools/lxd/containers

The error is caused by the following parameters within the configuration file lxc config edit containerA
root:
    limits.read: 60iops
    limits.write: 60iops
    path: /
    pool: lxd
    size: 100GB
    type: disk

it should not be the correct path. I deleted those parameters and I could start the copy.


fix copying up initial contents of the mount point directory

copying up initial contents of the mount point directory when using -v flag
fixing https://github.com/containerd/nerdctl/issues/262
Signed-off-by: fahed dorgaa<EMAIL_ADDRESS>

Thanks, can we have tests?


Get-MsmqQueue doesn't work for remote queues, incorrect usage of -Recoverable

I could not get any output on Get-MsmqQueue -Name except for local queues that can be filtered. Get-MsmqQueue doesn't work for remote queues.
Also, the sample shows incorrect usage of -Recoverable. Transactional messages are by design recoverable as the recoverable flag only affects non-transactional messages. Using -Recoverable on non-transactional messages ensure they are written to disk.

Docs Build status updates of commit 5063a6e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012-ps/msmq/Send-MsmqQueue.md
:white_check_mark:Succeeded

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

@dariomws @get-itips @tseward
Peer review needed for this PR. Thanks.

The Parameter Set names need to be altered; they are currently "UNNAMED_PARAMETER_SET_N".

@tseward Is that related to my change as I haven't made any changes on the parameter doco.

Docs Build status updates of commit 9cd655e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012-ps/msmq/Send-MsmqQueue.md
:white_check_mark:Succeeded

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


feat: add error callback for queries and mutations

This PR adds global onError callbacks to QueryCache and MutationCache.
const queryCache = new QueryCache({
  onError: error => {
    console.log(error)
  },
})

const mutationCache = new MutationCache({
  onError: error => {
    console.log(error)
  },
})

While it is possible to set onError in defaultOptions, it will not be called when a hook defines its own onError.

:tada: This PR is included in version 3.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Error running FOM colab, animated.py

2023-10-17 10:57:05,909 [nnabla][INFO]: Initializing CPU extension...
usage: animate.py [-h] [--config CONFIG] [--params PARAMS] [--source SOURCE] [--driving DRIVING]
[--out-dir OUT_DIR] [--context {cudnn,cpu}] [--output-png] [--fps FPS]
[--only-generated] [--detailed] [--full] [--adapt-movement-scale]
[--unuse-relative-movement] [--unuse-relative-jacobian]
animate.py: error: unrecognized arguments: \

NameError                                 Traceback (most recent call last)
 in <cell line: 2>()
1 get_ipython().system('python animate.py --source imgs/sample_src.png  --driving imgs/sample_drv.mp4  --adapt-movement-scale --fps 24 \')
----> 2 --detailed --full
NameError: name 'detailed' is not defined

Also, how can it be used to generate with ted384 model and yaml? Thanks

Thank you for creating issue, we will check it soon.

Sorry, I didn't reproduce your issue.
Did you click the "RESTART RUNTIME" button after executing first paragraph? or change something?
2023-10-18 02:45:04,035 [nnabla][INFO]: Initializing CPU extension...
2023-10-18 02:45:06,077 [nnabla][INFO]: Initializing CUDA extension...
2023-10-18 02:45:06,227 [nnabla][INFO]: Initializing cuDNN extension...
voxceleb_trained_info.yaml: 100% 1.71k/1.71k [00:00<00:00, 7.05MB/s]
pretrained_fomm_params.h5: 100% 228M/228M [00:22<00:00, 10.7MB/s]
Loading pretrained_fomm_params.h5 for image animation...
100% 125/125 [00:05<00:00, 24.78it/s]

Hi, thanks for trying our demo. Regarding the 2nd question,

Also, how can it be used to generate with ted384 model and yaml? Thanks

I suppose that you mean this model (or, pretrained weights and config file, to be precise).
Though it depends on the internal neural network architecture and parameters' name, I don't think ted384 model can not be applied to our model as is.
The best way would be , git clone our source code and modify that to be able to load their model.

Hi, thanks for trying our demo. Regarding the 2nd question,

Also, how can it be used to generate with ted384 model and yaml? Thanks

I suppose that you mean this model (or, pretrained weights and config file, to be precise). Though it depends on the internal neural network architecture and parameters' name, I don't think ted384 model can not be applied to our model as is.
The best way would be , git clone our source code and modify that to be able to load their model.

Hi, thanks for quick reply, the modifications are what I would like to know, it seems most of the code is almsot identical to articulated-animation so I assume there would not be much to modify to get the 384 model to run?


refactor(refunds): rename metadata to udf

Type of Change

[ ] Bugfix
[ ] New feature
[ ] Enhancement
[x] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

Rename metadata to udf Because user defined fields make sense and metadata is going to be added as a typed object in future.
Additional Changes

[x] This PR modifies the API contract
[x] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Compiles
Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

Closing because as per latest discussions we are going to have metadata field in Refunds and it accepts custom inputs from merchant.


How to log to file?#Question

How to log to local file path?
Please forgive me that this maybe a dumb question.
Thanks:)

Currently HeliumLogger only logs to stdout.  You can redirect stdout to a file using your shell.

Thanks @ianpartridge , case close 👍

Yeah, logging to stdout is very convenient for making them show up in the Cloud Foundry logs.


Feature: calculate business days from datetime interval

Arrow is a great library, would be even better if it included the calculation of business days
http://nazarii.com/blog/2013/06/29/calculating-working-days-with-python/

I think the logic for this is outside the scope of the project. I don't think we'll be developing it.


Disabled style not working on IE11 and works weird on Edge

Description
When using IE 11, the disabled style doesn't work at all. It looks exactly the same as when it is not disabled.
When using Edge browser, the disabled style works. But if you have child nodes, the node icons are not visible.

(They get visible if you open the developer console -> inspect element -> hover on the blank space where the icon should be)
Additional info
version: 3.3.7
Possible error location:
.jstree-default .jstree-disabled > .jstree-icon {
    opacity: 0.8;
    filter: url(data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='jstree-grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#jstree-grayscale);
    filter: gray;
    -webkit-filter: grayscale(100%);
}

IE 11 doesn't support -webkit-filter so this might be the cause of the issue

Here is a demo:
http://jsfiddle.net/vakata/2kwkh2uL/20342/
It seems to work fine in Edge, and the icon is not gray in IE as it does not support filter, the icon will be gray only where there is support:
https://caniuse.com/#search=filter
If I misunderstood - please clarify and I will reopen.

Hi @vakata ,
Thank you for your response.
Your demo works when trying it out on Chrome with jQuery(edge) extension.
Here are some screenshots I took from the result of your demo using an actual edge browser (still using the jQuery(edge) extension)
First result

Second result

Third result

Fourth result

Sometimes the disabled folder gets displayed as expected but then multiple toggles on the RootNode will lead to the second, third or fourth result again.

I could not reproduce the problem using:
Microsoft Edge 44.17763.1.0
Microsoft EdgeHTML 18.17763
Check if your version is the same. Anyway - this is in no way a jstree bug, so there is nothing I can do - this is something that should be brought to the attention of MS devs, as there seems to be (or was) a problem with using filter on Edge.
You can disable the filter in your code using #your-tree-id .jstree-disabled > .jstree-icon { filter: none; } - that will probably resolve the issue.


chap 3 : Swagger V3 doesn't work

In chap3: I make two collection one with Swagger V3 and another with V2.
the Swagger v2 work properly but not with the v3 (Status: 404 not Found) .
I thought because there is no pet with id 1, so even with the Post Add a new  pet I received error with status 404.

Hi Mohamed, thanks for reaching out about this. There were some changes made on the Postman side after the book was published. If you check out the Errata notes on the main page (https://github.com/PacktPublishing/API-Testing-and-Development-with-Postman) you should see some tweaks to pages 54 and 55 which should make this run more smoothly.
I hope they help!


Language=NULL after import, causing AdminUI crash

Hi Valdis,
Using DbLocalizatoinProvider 5.7.5.
Yesterday we got a problem in production that after a JSON import of only a few updated entries there appeared many entries in LocalizationResourceTranslation table with Language NULL (and not for the updated entries, it is very strange). Myself I have only seen the output, so I cannot describe the steps to reproduce.
The Language=NULL entries then caused an exception in AdminUI (see at the end), so that stopped working.
Fixed it with correcting the database (in this case the entries with Language=NULL were unwanted updates, translations were there even in the fallback language). I could not reproduce the issue on my developer machine even with the same import file (but different database sadly). There were no nulls in the json import file, looked correct. So no clue how this could happen, but maybe you want to take a look at this in the code what could cause this.
With our architect we were wondering why is actually the Language column nullable, then we went through the schema and identified some suspicious marks in the database - you might want to consider to change some in a next version, so database integrity will be ensured and the database cannot get corrupted. Take this as a friendly review of the database, feel free to pick up any elemnts or ignore completely :-)
Please note that we do not know your code, it is all based only on looking at the schema alone, we might be completely off.
Table LocalizationResources:
1. IsModified column: this could be NOT NULL, it seems NULL has no special meaning here
2. IsHidden: this could be NOT NULL as well, I noticed that after JSON import it gets a NULL value, but I am not sure if that has any different to false
Table LocalizationResourceTranslations:
3. ResourceId: this column could have a foreign key to LocalizationResources.Id
4. LocalizationResource_Id: I am not sure what this column is, in our database it is always NULL, maybe it could be removed?
5. Adding a unique constraint on ResourceId, Language to ensure that there are no duplicates getting into the database (every now and then, duplicates get in the database for us)
6. Language: this should be definitely NOT NULL, see above :-)
7. ModifiedDate column would be useful, similar to LocalizationResources for analysis
I think implementing these changes would also help to fight against possible issues corrupting the database.
I also understand changing some columns might break compatibility.
I also noticed that if the JSON import updates resources where FromCode was 1, after the import it is 0. But does not seem to cause any problem, I mention it because it might not be the intention.
Sorry for the huge list, please understand I just want to make the project better, this is just a collection of suggestions. Keep up the good work!
Exception in AdminUI if Language is NULL:
 2020-04-21 15:35:27,799;[436];ERROR;EPiServer.Global;Unhandled exception in ASP.NET System.ArgumentNullException: String reference not set to an instance of a String. Parameter name: name    at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)    at DbLocalizationProvider.AdminUI.LocalizationResourcesController.<>c__DisplayClass20_0.<GetAllResources>b__1(LocalizationResourceTranslation t)    at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)    at DbLocalizationProvider.AdminUI.LocalizationResourcesController.GetAllResources()    at DbLocalizationProvider.AdminUI.LocalizationResourcesController.PrepareViewModel(Boolean showMenu)    at DbLocalizationProvider.AdminUI.LocalizationResourcesController.Main()    at lambda_method(Closure , ControllerBase , Object[] )    at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)    at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters)    at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass24_0.<InvokeActionMethodWithFilters>b__0()    at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass24_1.b__2()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation)    at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass24_1.<InvokeActionMethodWithFilters>b__2()    at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass24_1.b__2()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList1 filters, ActionDescriptor actionDescriptor, IDictionary2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
at System.Web.Mvc.Controller.ExecuteCore()
at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
at System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext)
at EPiServer.Shell.Web.Mvc.ModuleMvcHandler.ProcessController(IController controller)
at EPiServer.Shell.Web.Mvc.ModuleMvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state)
at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
System.ArgumentNullException: String reference not set to an instance of a String.
Parameter name: name
at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
at DbLocalizationProvider.AdminUI.LocalizationResourcesController.<>c__DisplayClass20_0.b__1(LocalizationResourceTranslation t)
at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext()    at System.Collections.Generic.List1..ctor(IEnumerable1 collection)    at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at DbLocalizationProvider.AdminUI.LocalizationResourcesController.GetAllResources()
at DbLocalizationProvider.AdminUI.LocalizationResourcesController.PrepareViewModel(Boolean showMenu)
at DbLocalizationProvider.AdminUI.LocalizationResourcesController.Main()
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters)    at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass24_0.b__0()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation)    at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass24_1.<InvokeActionMethodWithFilters>b__2()    at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass24_1.b__2()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation)    at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass24_1.<InvokeActionMethodWithFilters>b__2()    at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList1 filters, ActionDescriptor actionDescriptor, IDictionary2 parameters)    at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)    at System.Web.Mvc.Controller.ExecuteCore()    at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)    at System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext)    at EPiServer.Shell.Web.Mvc.ModuleMvcHandler.ProcessController(IController controller)    at EPiServer.Shell.Web.Mvc.ModuleMvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)    at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state)    at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Regards,
Zsolt

Thanks for detailed description. I'll take a look at this within v6.1 dev (which is happening now)

All makes sense. Think this is good timing when in v6.x EF has been dropped - I can control schema more easily and will add proper scripts to make sure schema is correct.

https://github.com/valdisiljuconoks/LocalizationProvider/issues/182

https://github.com/valdisiljuconoks/LocalizationProvider/issues/183

Regarding FromCode set to 0 - could not repro in 6.x version

Excellent, thanks for the quick response!


Add header & footer separately

Purpose

The purpose of this PR is to fix #136
Goals

Link header & footer externally to the web pages.

Approach

Create separate files for header and footer.
Add Jquery function and Google CDN script.

Preview Link
https://kumuditha-udayanga.github.io/sack-site/
Checklist

[x] This PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.
[x] I have read and understood the development best practices guidelines
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

All changes have been done, please review @jayasanka-sack @Piumal1999


install  momentjs error

i get the error
npm ERR! Unexpected end of input at 1:7953
npm ERR! li":"latest","benchmark":"latest","grunt-contrib-clean":"latest","gru
npm ERR!                                                                      ^
npm ERR!      C:\Users\动岚未来科技02\AppData\Roaming\npm-cache_logs\2018-06-15T01_43_00_784Z-debug.log
when i want to install momentjs
npm install moment --save

Try this command: npm cache clean --force

@alvin198761 I hope @liyuhang1997 comment helped you. Next time try to include more relevant information to your submission.


Type support for latest MicroPython functions

After trying to use https://github.com/bbcmicrobit/micropython/issues/466
display.read_light_level() Pycharm complained the function didn't exist.
Is it possible to update the type checking to support these functions?

Try to add your own stub to your project


Generating mapper fails when creating nested object from multiple parameters

I have a strange issue where it fails to generate a mapper. I'm trying to create nested objects from multiple parameters which works fine as long as I don't user multiple parameters for a nested object.
See example UserMapper.kt:37
The first 4 mappings are generated without problems but the 5th does somehow not work.
The same works fine in Java see UserMapper.java:22

After changing the java objects to immutable objects it doesn't work anymore with java either. So I think it's a mapstuct bug and not related to your extension.
I have opened a ticket in the mapstruct repo. https://github.com/mapstruct/mapstruct/issues/2053


Documentation functionality

I believe TypL could benefit from implementing documentation functionality.
Types are useful for documentation but they're only a partial strategy. If a developer were to use TypL for a project and also wanted documentation they'd likely reach for JSDoc and omit type information. JSDoc is widespread but it's an old, inactive project with clunky, generally disliked syntax (I only have anecdotal evidence for this claim).
I propose TypL could enter this field to 1) give developers a modern documentation system and 2) enhance TypL itself with more detailed runtime error descriptions. This would both bring more attention to TypL itself and increase the value of and use cases for TypL.
Nice IDE integration for JSDoc-like tooltips would be a big bonus too.
Usage example with rough API:
function getCommaSeparatedNumberStringPair (aBool = bool, aNumber = number, aString = string) {
  return aBool ? string`${aNumber}, ${aString}` : string`No bueno.`
}
documentation (getCommaSeparatedNumberStringPair, {
  description: 'This function joins a number and string together to create a new string.',
  parameters: {
    aBool: 'some description of aBool',
    aNumber: 'some description of aNumber',
    aString: 'some description of aString',
  },
  returns: 'aNumber comma separated from aString if aBool is true, otherwise a default message.',
})

getCommaSeparatedNumberStringPair(anArbitraryBool, anArbitraryString)

Resulting runtime error:
TypL Error:
  Invalid types for getCommaSeparatedNumberStringPair.
  Received Arguments:
     1. VALID: a boolean value
     4. INVALID: a string value
     5. INVALID: no value given
  Function Parameters:
     1. aBool: boolean - some description of aBool
     2. aNumber: number - some description of aNumber
     3. aString: string - some description of aString
  Suggestion:
    Fix Received Argument types for #2 and #3 to match Function Parameters.

"Function Parameters" above is where we see the mixture of TypL's type information and the user-generated documentation. I'm sure we could come up with other benefits of mixing type information and documentation as well.
documentation could be configurable to spit out more or less information. For example: a developer could configure the output to include description and returns, unlike what you see above.
Benefits of a function-based API (as opposed to JSDoc style comments):

Modularity
Composability
Flexibility
Ergonomic
Smaller learning curve, no special syntax
Automatic IDE support for syntax

Basically, it's JS, do what you want to.
Simple example showing how an application could have a common dictionary of terms to be used around the codebase
// commonDictionary.docs.js
export const organizationId = string`the id for an organization`
export const organizations = string`a list of organizations`

// myModule.js
import { organizationId, organizations } from './commonDictionary.docs.js'

const deleteOrganization = (organizationId = string, organizations = array) => {
  return organizations.filter (organization => organization.id !== organizationId)
}
documentation (deleteOrganization, {
  description: 'This function removes an organization',
  parameters: {
    organizationId,
    organizations,
  },
  returns: 'the updated organizations',
})

const updateOrganization = (organizationId = string, organizations = array, updateProperties = object) => {
  return organizations.map (organization => {
    return organization.id === organizationId
      ? { organization, ...updateProperties }
      : organization
  })
}
documentation (updateOrganization, {
  description: 'This function updates an organization',
  parameters: {
    organizationId,
    organizations,
    updateProperties: 'the properties to update an organization with',
  },
  returns: 'the updated organizations',
})

Since TypL already uses `template literals` to embed custom syntax, I am wondering/hoping maybe we could figure out a way to piggyback additional comments directly in the type annotations.
For example:
isChecked = bool`${obj.someFlag} | a comment about this variable`;

// or...

isChecked = bool`${obj.someFlag}${{
   description: "a comment about this variable"
}}`

@getify
Pros

Developers don't have to import documentation function
Better for quick documentation
Clearly a TypL enhancement

Cons

I worry that would get a bit unwieldy when used around the app
How would it work with documenting function parameters without default values?
Documentation is fragmented. To get the full idea of the function documentation you'd have a scan a few different places and put it all together in your head.
Limits spinning off documentation as a standalone project

I think having both APIs: function-based and inline would be great. It makes "two ways to do something" but the two different ways are different enough to not cause much confusion I think.
@jzombie
I actually had the same idea! I can see myself enjoying this but I think it's "weird" so it might hurt developer adoption if this was the only way. And I imagine it'd be hard to "strip" the documentation stuff out when minifying a project. I figure it'd be easier to just get rid of documentation calls vs separating it out. But maybe @getify actually knows how difficult that would be.

Another option that would make exporting/importing documention pretty easy. We could curry the documentation function if the function isn't supplied:

// commonDictionary.docs.js
export const organizationId = string`the id for an organization`
export const organizations = string`a list of organizations`

// organizations.docs.js
import { organizationId, organizations } from './commonDictionary.docs.js'

const deleteOrganization = documentation ({
  description: 'This function removes an organization',
  parameters: {
    organizationId,
    organizations,
  },
  returns: 'the updated organizations',
})

const updateOrganization = documentation ({
  description: 'This function updates an organization',
  parameters: {
    organizationId,
    organizations,
    updateProperties: 'the properties to update an organization with',
  },
  returns: 'the updated organizations',
})

export default {
  deleteOrganization,
  updateOrganization,
}

// organization.js
import organizationDocs from './organizations.docs.js'

const deleteOrganization = (organizationId = string, organizations = array) => {
  return organizations.filter (organization => organization.id !== organizationId)
}
organizationDocs.deleteOrganization(deleteOrganization)

const updateOrganization = (organizationId = string, organizations = array, updateProperties = object) => {
  return organizations.map (organization => {
    return organization.id === organizationId
      ? { organization, ...updateProperties }
      : organization
  })
}
organizationDocs.updateOrganization(updateOrganization)

The above idea also makes sharing definitions really easy:
// organizations.docs.js
const manageOrganizations = documentation ({
  parameters: {
    organizationId,
    organizations,
  },
  returns: 'the updated organization',
})

export default {
  manageOrganizations,
}

// organization.js
import { manageOrganizations } from './organizations.docs.js'

const deleteOrganization = (organizationId = string, organizations = array) => {
  return organizations.filter (organization => organization.id !== organizationId)
}
manageOrganizations(deleteOrganization, {
  description: 'This function removes an organization',
})

const updateOrganization = (organizationId = string, organizations = array, updateProperties = object) => {
  return organizations.map (organization => {
    return organization.id === organizationId
      ? { organization, ...updateProperties }
      : organization
  })
}
manageOrganizations(updateOrganization, {
  parameters: {
    updateProperties: 'the properties to update an organization with', // adds to parameters, doesn't overwrite
  },
  description: 'This function updates an organization',
})

@kee-oth  I have limited exposure to the inner-workings of the ASTs and whatnot during the compilation process, but I'd think a rudimentary compilation step could be replacing the function documentor directly with the return function possibly without even currying it.


: inserted as list separator if list is >= 4 items long

Hello! We are on hiera version v0.2.0.
We are parsing a fact into a JSON output format and noticed a parsing error.
When parsing a yaml list like
myList:
  - typeA: a
  - typeB: b
  - typeC: c
  - tupeD: d

hiera will parse it as
[{"typeA":"a"},{"typeB":"b"},{"typeC":"c"}:{"tupeD":"d"}]

Note that what should have been a comma delimiter is now a :!
We have the go code to parse from the yaml file:
	var variables []string
	for _, fact := range facts {
		variables = append(variables, fact.String())
	}

	cmdOpts.Merge = "deep"
	cmdOpts.Variables = variables
	cmdOpts.RenderAs = formatToFormatString(format)

	configOptions := map[string]px.Value{
		provider.LookupKeyFunctions: types.WrapRuntime([]hieraapi.LookupKey{provider.ConfigLookupKey, provider.Environment})}
	configOptions[hieraapi.HieraConfig] = types.WrapString(path.Join(directory, "hierav5.yaml"))

	dest := bytes.NewBuffer(nil)
	err := hiera.TryWithParent(context.TODO(), provider.MuxLookupKey, configOptions, func(c px.Context) error {
		hiera.LookupAndRender(c, &cmdOpts, []string{key}, dest)
		return nil
	})

Would it be possible for you to try the tip of the v1.0.x branch and check if the problem is still there?

I added the following test to v1.0.x:
func TestLookup_fourElementSlice(t *testing.T) {
	inTestdata(func() {
		result, err := cli.ExecuteLookup(`--config`, `hiera.yaml`, `--render-as`, `json`, `myList`)
		require.NoError(t, err)
		require.Equal(t, `[{"typeA":"a"},{"typeB":"b"},{"typeC":"c"},{"tupeD":"d"}]`, strings.TrimSpace(string(result)))
	})
}

with this data in hiera/common.yaml
myList:
  - typeA: a
  - typeB: b
  - typeC: c
  - tupeD: d

and the test passes.

I'm trying the tip of v1.0.x but am running into a number of breaking changes (quite a bit has changed between v0.2.0 and now!)--any advice on how to deal with those is appreciated. I seem to be struggling the most with migration from the old px.Context to the new Session interface; any suggestions or pointers to a migration guide would be greatly appreciated!


add linter

I think we should make sure that GitHub Actions runs the Swiftlinter. This might mean installing Swiftlint in one step and then check whether the default build ommand is enough or wee need to run Swiftlint separately


dont push this. just testing pr build

@maxandersen can we Close this PR, since it should not be merged?

yes, sorry for not doing sooner. closing.


Provide this integration in HACS

At the moment this integration is only available if you add it a custom repo in HACS.
It would be nice if HACS know it without custom repo.

Documentation how to add to HACS is here: https://hacs.xyz/docs/publisher/
I created a PR to add the 2 needed workflow actions.
The workflow action still shows some things that must be resolved.

HACS validation passes.
With hassfest, biggest problem seems to be "Error: R] [MANIFEST] Domain does not match dir name"
This is about integration name "luxtronik" versus dirname "luxronik2" ...

There are several problems with the translation keys, e.g. :
Invalid translation key 'heatpump running', need to be [a-z0-9-_]+ and cannot start or end with a hyphen or underscore. for dictionary value @ data['entity']['sensor']['status_line_1']['state']. Got {'heatpump running': 'The heatpump runs', 'heatpump idle': 'The heatpump is idle', 'heatpump coming': 'The heatpump is coming', 'heatpump shutdown': 'The heatpump is shuting down', 'errorcode slot': 'Heatpump error code in slot 0', 'pump forerun': 'Pump forerun', 'defrost': 'Defrost', 'writing on LIN connection': 'Writing on LIN connection', 'compressor heating up': 'The Compressor is heating up', 'compressor heater': 'Compressor heater'}
So spaces are not allowed. Anything against changing all spaces in the keys (e.g. in class LuxOperationMode(StrEnum) ) to underscores?

But wait... Bounis Luxtronik is available in HACS. How does he fullfil the requirements?

He does not use translations, so no issue with the translation keys.

There are several problems with the translation keys

Where can I see the log for the problems?

There are several problems with the translation keys

Where can I see the log for the problems?

Just go to the 'Actions' tab in the repository. (It's to the right of the 'Pull requests' tab).

Reading the translations documentation, isn't it as simple as adding a translation_key to the entity definitions?
I see several enityties with "a translation_key_name" property instead of a "translation_key" property.
And several entities lack a translation_key property.
I'll s have a look if I can fix the translation errors in this way.

This message is wrong:

extra keys not allowed @ data['entity']['sensor']['error_reason']['cause']. Got {'name': 'Cause'}

Does the script not allow the new translation keys for attributes?

With PR #171 the translation key errors are fixed.
The following 2 hassfest errors still need a fix:
Error: R] [MANIFEST] Invalid manifest: extra keys not allowed @ data['homeassistant']. Got '2023.1.0'
Error: R] [MANIFEST] Domain does not match dir name

I also fixed the

Error: R] [MANIFEST] Invalid manifest: extra keys not allowed @ data['homeassistant']. Got '2023.1.0'
error in #171 .

Only the

Error: R] [MANIFEST] Domain does not match dir name
remains.

I suspect this one may have a relation with the existing (Bouni) luxtronik integration in HACS?
@BenPru : What is the plan/approach to fix this one?

With PR #171 the translation key errors are fixed.
The following 2 hassfest errors still need a fix: Error: R] [MANIFEST] Invalid manifest: extra keys not allowed @ data['homeassistant']. Got '2023.1.0' Error: R] [MANIFEST] Domain does not match dir name

Did you test it? There are many places with checks value == enum.value.
With changing the enum to valid hass texts all those checks fails. I think we have to wait for the new pypi python-luxtronik version to get the raw value and change the enums to IDs. Alternative copy the python-luxtronik code after asking Bouni.
See
https://github.com/Bouni/python-luxtronik/blob/653f8a575ec57703155999d49007c4e506a27d33/luxtronik/datatypes.py#L50
https://github.com/Bouni/python-luxtronik/issues/136

With PR #171 the translation key errors are fixed.
The following 2 hassfest errors still need a fix: Error: R] [MANIFEST] Invalid manifest: extra keys not allowed @ data['homeassistant']. Got '2023.1.0' Error: R] [MANIFEST] Domain does not match dir name

Did you test it? There are many places with checks value == enum.value. With changing the enum to valid hass texts all those checks fails. I think we have to wait for the new pypi python-luxtronik version to get the raw value and change the enums to IDs. Alternative copy the python-luxtronik code after asking Bouni. See https://github.com/Bouni/python-luxtronik/blob/653f8a575ec57703155999d49007c4e506a27d33/luxtronik/datatypes.py#L50 Bouni/python-luxtronik#136

Yes, I have tested it.
The Heatpump Status, Status1 and Status3 get the correct text values.
And when the Heatpump is on, the climate entity shows that it is Heating.
I achieved this by modifying the Status, Status1 and Status3 values when they are read. See the modified
correct_key_value() function in common.py :
def correct_key_value(
    value: Any,
    sensors: LuxtronikCoordinatorData | None,
    sensor_id: str | LP | LC | LV,
) -> Any:
    """Handle special value corrections."""
    if (
        sensor_id in [
        LC.C0080_STATUS,
        LC.C0117_STATUS_LINE_1,
        LC.C0119_STATUS_LINE_3,
        ]
    ):
        value = value.replace(' ','_').replace('/','_').lower()
.....

A more general question about this issue "Provide this integration in HACS":
Does opening this issue mean that you have abandoned the approach to get this integration integrated in HA Core (for the near future) ?

Does opening this mean that you have abandoned the approach to get this integration integrated in HA Core (for the near future) ?

No. It's still my plan.
But...
It doesn't work without a new python-luxtronik version or copying Bouni's source code and fixing #108.
And unfortunately there was not enough support for the HA Core PR review. I don't know if it will be better next time.
Furthermore, you have to submit multiple PRs because only a limited number of domains are allowed each time. This means that the project has to be divided up in a complex way and each part has to be tested!
So unfortunately it’s a longer, more complex process.
So I find HACS to be an interim solution and, as you can see, a good interim step to improve the code.
Thank you for your great support.

@rhammen
Sorry for the delay. I have created a new branch luxtronik_by_ids.
I change the key management to simplify the enums. No double string and int enum. Just 3 IntEnums for Params, Calcs and Visis.
It is not running and I'm still working on it.


Improve Performance by Refactoring Kotlin BookmarkScreen's ViewModel binding codes

The current implementation of the onClickBookmarkIcon in Kotlin is onClickBookmarkIcon = { viewModel.updateBookmark(it) }. To improve performance, let's refactor it to onClickBookmarkIcon = viewModel::updateBookmark.
https://github.com/DroidKaigi/conference-app-2023/blob/4b3e70dc82e7604ea7ec68f0ebcbb207201d1c3d/feature/sessions/src/main/java/io/github/droidkaigi/confsched2023/sessions/BookmarkScreen.kt#L55-L59

@mtnmr It's been three weeks. Please let me unassign this for other contributors 🙇

🙋

Thanks! Assigned!


give more than 127 blocks in one command (use multiple stacks?)

What you were trying to do:
Give myself more than 99 blocks with the giveBlock command with a single command.
What actually happened
The sound of collecting items played, no error was returned and the 999 blocks I asked for were nowhere in sight.
How to reproduce:

Open console and type "give stone 999"
Observe no stone has been given.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Interesting! Apparently 128 is the magical number (and a familiar one at that) where it no longer works. give stone 127 not only works but gives you a single stack of 127 stone despite the max size being 99. Or at least that's the size at which we'd split into a second stack.
Probably this has something to do with BlockItemFactory line 71 where the quantity is cast to a byte (which is what stackCount is on the BlockItemComponent). Instead we should likely have a case within the give command or the giveBlock method that truncates the quantity to 99 and lets the user know that happened.

I was thinking the latter would be the more efficient case, having the command also look through the inventory to check if there are free spaces to put blocks (which I think it already does). Filling the inventory with blocks doesn't sounds like a bad idea (especially if we use it like in minecraft to give 46 :> )


Typos in Enabling or Disabling additional cipher suites section

The path to the registry entry is incorrect, it should be HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Cryptography\Configuration\Local\SSL\00010002
This sentence is also incorrect: "To enable a cipher suite, at it's string value to the Functions multi-string value key." It should be "To enable a cipher suite, add its string value to the Functions multi-string value key."

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

ID: 7ae56e74-1346-a822-2800-70db6d365376
Version Independent ID: ccf848e1-5276-1f3f-73e8-036dba9c66a7
Content: Managing SSL/TLS Protocols and Cipher Suites for AD FS
Content Source: WindowsServerDocs/identity/ad-fs/operations/Manage-SSL-Protocols-in-AD-FS.md
Product: windows-server-threshold
GitHub Login: @billmath
Microsoft Alias: billmath

which registry value is incorrect - there are a lot of registry addresses in this article.

I think the PR #2150 resolves these two issues. Good catch.

I think this can probably be closed.
As an aside, why so many issues being closed then reopened today? :-)

@doctordns : Thank you for following up on this ticket. I may not know the exact answer to your question about the closing & reopening of lots of tickets, but I think it could be an attempt to have the ticket author re-check their tickets to see if they can be closed, or at least reactivate the "Unread" state of the ticket for other users involved.
Anyway, thank you for your PR contribution too. I will ask for this ticket to be closed.
#please-close

@doctordns : Thank you for following up on this ticket. I may not know the exact answer to your question about the closing & reopening of lots of tickets, but I think it could be an attempt to have the ticket author re-check their tickets to see if they can be closed, or at least reactivate the "Unread" state of the ticket for other users involved.
Anyway, thank you for your PR contribution too. I will ask for this ticket to be closed.
#please-close

Thanks for the explanation.  I still have a lot to learn about how to best use Github. :-)

Thanks for the explanation.  I still have a lot to learn about how to best use Github. :-)