OOP School Library #2: Decoration

[x] Create a class Nameable.

Implement a method called correct_name that will raise a NotImplementedError.

[x] Turn your Person class to Nameable

Make sure that your Person class inherits from Nameable.
Make sure that this class has a method correct_name implemented.

[x] Prepare base Decorator

Make sure that it inherits from Nameable.
In the constructor assign a nameable object from params to an instance variable.
Implement the correct_name method that returns the result of the correct_name method of the @nameable.

[x] Prepare CapitalizeDecorator and TrimmerDecorator

For the CapitalizeDecorator:

Create a class that inherits from the base Decorator class.
Implement a method correct_name that capitalizes the output of @nameable.correct_name.

For the TrimmerDecorator:

Create a class that inherits from the base Decorator class.
Implement a method correct_name that makes sure that the output of @nameable.correct_name has a maximum of 10 characters. If it's longer it should trim the word.

Hi @miltonHenschel ,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉 🎉 🎉
This project was previously approved, the student is repeating the module
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


(chores) camel-kafka: fix flaky idempotent test

The failure is unrelated to the fixed flaky test, so merging.


style: use same response typing for batch processor response and process_partial_response

Issue number: https://github.com/aws-powertools/powertools-lambda-python/issues/3020
Summary
Changes

Use PartialItemFailureReponse as the typing returned by response() of BasePartialBatchProcessor

User experience
Users using process_partial_response() and response() from BasePartialBatchProcessor will find that the returned response is the same.
Checklist
If your change doesn't seem to apply, please leave them unchecked.

[x] Meet tenets criteria
[x] I have performed a self-review of this change
[ ] Changes have been tested
[ ] Changes are documented
[x] PR title follows conventional commit semantics

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

Codecov Report
Patch coverage: 100.00% and project coverage change: -0.03% :warning:

Comparison is base (a884d9f) 96.56% compared to head (aa87ea6) 96.53%.
Report is 2 commits behind head on develop.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3023      +/-   ##
===========================================
- Coverage    96.56%   96.53%   -0.03%
===========================================
  Files          175      175
  Lines         7825     7825
  Branches      1476      586     -890
===========================================
- Hits          7556     7554       -2
- Misses         217      218       +1
- Partials        52       53       +1

Files Changed
Coverage Δ

aws_lambda_powertools/utilities/batch/base.py
94.21% <100.00%> (ø)

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Release candidate of v0.16.0

We have a few more features and bugfixes so let's confirm release PRs:
Merged

https://github.com/ysugimoto/falco/pull/96
https://github.com/ysugimoto/falco/pull/93
https://github.com/ysugimoto/falco/pull/100
https://github.com/ysugimoto/falco/pull/101

Opens

https://github.com/ysugimoto/falco/pull/85
https://github.com/ysugimoto/falco/pull/102

We also can aggregate above PRs 🙂

Any thoughts on the PCRE PR?
The release steps are passing in #103 / https://github.com/ysugimoto/falco/actions/runs/3069169999/jobs/4957501750

Otherwise LGTM

The release steps are passing in https://github.com/ysugimoto/falco/pull/103 / https://github.com/ysugimoto/falco/actions/runs/3069169999/jobs/4957501750

Woooo that's so great!!
Although it's good for us, I think PCRE-related features should release with an individual version in order to revert easily for an unexpected issue that we don't notice 😅, so v0.17.0 will be fine.

v0.16.0 has been released 🎉


fix: dont clone tx in insert_tx

Subsequent PRs will add the nonce check.

This change is

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.12%. Comparing base (d9b06e3) to head (eda4e38).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #346      +/-   ##
==========================================
+ Coverage   82.11%   82.12%   +0.01%
==========================================
  Files          32       32
  Lines        1588     1589       +1
  Branches     1588     1589       +1
==========================================
+ Hits         1304     1305       +1
  Misses        219      219
  Partials       65       65

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Queue +toolbar + info key disappear on LG webOS browser tv

As in object on LG webOS tv browser the bottom toolbar , queue list and info key are not available
as a picture ( now and before )

I've seen your postings on LMS forums, never replied as there is not much I can do. Sorry, bu t I do not have access to such a device - and to be honest, large screen usage is not exactly a use-case I envisaged.
I leave this report open, as its valid, but as I said not much that I think I can do about this - I'm not a Javascript/web developer.

thanks for all you do, maybe in my opinion, one solution would be to go back to previous release, but i don't know if it can be done

Are you saying it worked in older releases? If so, if you can track down the last working release I can do a diff and try and determine what might have broken things. All releases are available on this github site. You just need to download the relevant lms-material-VERSION.zip file.

Yes it works properly and very saissfying  until a few days ago …

OK, so you need to determine which was the last useable build.

For sure 3.1.4

And 3.2.0?

Maybe , cos I rmb that 2 weeks ago everything was ok .

As stated, you need to determine the last one that was OK. I cannot do this for you. I need to know for definite which was the last version that worked.

Hmm... Looking at the diff between 3.2.0 and 3.2.1 the only change I can see which might affect this is that I use a replaceAll function. This was added in 2021 - but if your TV's browser is  really old, perhaps it does not support this.
I've added a work-around for 3.2.2, so will be wait to see if this is fixed then. Alternatively you could checkout the code from git and try.

I have the same issue with my iPad running iOS 12.5.7.
Version 3.2.0 (with "Application" visible in the Settings menu) worked fine, but after installing 3.2.1 the queue and the "playing" bar disappeared. They are visible only in the Expanded Now Playing view.

wait

Thx craig u are very kindly and available , I have not so big skill ti fix issue by code etc.
anyway , my tv is LG Oled C9 ( 2019 ) until 20 day ago it have zero problem with material skin , I give u this info only for help your great job.
it will mean that I will resign myself to using classic daphile on tv :)
looking for a new future release
:)

I have the same issue with my iPad running iOS 12.5.7.
Version 3.2.0 (with "Application" visible in the Settings menu) worked fine, but after installing 3.2.1 the queue and the "now playing" bar disappeared. "Now playing" is visible only in the Expanded Now Playing view.

I read on slimdevices forum that u can fix this issue on iPads simply deleting cache and deleting icon LMS on home board .

Unfortunately, deleting cache, etc., did not work for me. I can wait for 3.2.2 but also would like to downgrade to 3.2.0.

I will release 3.2.2 soon which should resolve this issue. When that is released, if you confirm the fix I will then close this.

Great, thanks!

Great Craig  …fixed
u are the best … i give u a gift soon pp:)
thx thx thx

Brilliant! Completely fixed. Thanks for all your fine work!

Works for me too! Who needs Roon when we have Material on top of LMS ;-))
Thanks!


Extended tests fail

I have run them to test the doc test container and it fails some extended tests. It can be reproduced by running perl6 xt/examples-compilation.t
Also some trailing-whitespace. I'll have a go at them.

[ ] examples-compilation
[x] trailing-whitespace

Actually most of the errors in examples-compilation were due to running an old version of perl6. However, running it with 2018.01 yields different errors. So I'll go at them...

There is this warning:
===WARNING: One or more tables evidence bad practice.
==          Set environment variable 'RAKUDO_POD_TABLE_DEBUG' for more details.

Just a warning, though...


Fleet Management UX

In the context of Cluster Import, but also in general we want to re-evaluate what a focus on Fleet Management means for our UI. Currently, fleet management is mainly covered by GitOps and our tooling and templates as well as best-practices around that. Our UI, however, does not reflect that.
After some discovery and use case gathering we want to choose a use case (or a few) that we will then implement to improve the user experience of our Fleet Management offering.
### Tasks
- [ ] Gather Fleet Management use cases
- [ ] Group and prioritize use cases
- [ ] Choose implementation (i.e. backstage vs Happa)
- [ ] Implement first use case(s

cc @marians

We had a conversation about use cases in SIG UX last week. I have tried to prevent any questioning of the term/concept "fleet", and just wanted us to collect examples for "things I want to do for multiple clusters at once".
It turns out that it's not easy to avoid any assumptions regarding what makes up a fleet. Here is a collection of the assumptions that leaked into the use cases we collected, plus some other definition I just com up with for the sake of argument.

a fleet is defined by some common selection criteria, e. g. all clusters that match a label or a combination of labels
a fleet defines an environment stage, e. g. "development" vs. "production"
a fleet is a group of clusters I someone created and put a name/identifier on
a fleet is all the clusters owned by a certain group
a fleet is all the clusters we have / all the cluster I can see
a fleet is just several clusters which I select ad-hoc, item by item, for a certain task

I'm certain that it will be beneficial to narrow down the fleet concept we aim for.

Forgot to summarise what we talked about.
The general Fleet Management story and its understanding of "fleet" is about the whole fleet of clusters a customer owns. This can be multi-provider and multi-region. There's use cases of governance (mainly overviews) that are on that level, e.g. getting an overview over all your clusters and the version they are on, as well as if there's updates for them.
However, in many actions / active use cases, the user might rather want to work with sub-groups of such a fleet, e.g. upgrades of clusters will usually be rolled out in stages, so to a stage-related group.
Defining such groups can only be flexible as it will be very different per customer, but even different between use cases of a single customer.
That said, in an ideal solution for some use cases (not all of them) the two levels could be inter-connected, e.g. define a staged rollout that automatically rolls through the stages until the whole company-wide fleet is upgraded.

For reference: The SIG UX user story gathering notes are in this Miro board

Hmm, I think we need to consider this when thinking about replacing current Happa functionality with Backstage things. Our new UI should be more focused on Fleet management than single-cluster or single-app focused.

The title change for this issue to "Platform Portal" puzzles me

My first intention was to rewrite this issue to roll out backstage. But there is already another issue: https://github.com/giantswarm/giantswarm/issues/31704

@weatherhog we still have this in our backlog in planeteers. Question came up if you already have issues in honey badger that would replace this issue?

we have this https://github.com/giantswarm/roadmap/issues/3519 umbrella issue for cluster creation in Backstage but nothin more at the moment. We could expand cluster creation to cluster management.

@weatherhog yes I think the goal here was more to think about what would make it easier to manage more than one cluster not just a plain CRUD for clusters.

@marians lets take this tour our next Backstage sync

For the headlamp spikes - a list of hopefully useful links:

https://headlamp.dev/
https://artifacthub.io/packages/helm/headlamp/headlamp
https://github.com/headlamp-k8s/plugins?tab=readme-ov-file#current-plugins
https://github.com/headlamp-k8s/plugins/tree/main/flux#installing-the-flux-headlamp-plugin-in-a-headlamp-deployment
https://github.com/headlamp-k8s/backstage-plugin

Yesterday in a discussion, some relevant use cases came up:

As a cluster admin, I want to apply some re-usable configuration module (a GitOps base) to one ore several workload clusters.
As a cluster admin, I want to have an overview which workload clusters make use of which bases

Probably, removing a base from a cluster's config would also be a valid thing to do. WDYT @mproffitt ?

That's actually an interesting question - Removing the base wasn't something I'd considered but I think having the capability of removing a given resource from one or more clusters as a single PR would be ideal.
I'd be hesitant to target the base directly unless you could be absolutely sure that base was unused across the fleet as this would result in broken deployments, however it brings to mind another feature of a potentially listing available GitOps bases, and maybe having a usage count for each base. Bases could then be removable if and only if the usage count is 0.

I would move this into Q1 for now, depending also on what we discuss wrt roadmap on today's call cc @teemow


Practitioner can have multiple name.

What does this PR do?
Tests practitioner to have multiple names.
Related JIRA tickets:
UPMCFHIR-144
How should this be manually tested?
Run the new test, confirm it works.
Background/Context:
Code actually worked fine, just added a test; this was the only change for practitioner.
New JIRA tickets for clinical review required?
None.

Ticket says Practitioner.nam test tests Organization. Wrong ticker maybe?
Can we have file/class names capitalized? That is java convention I remember and all the other classes are such.

The organization tests in there are from the last PR, just the practitioner test is new; I was putting all of the FHIR entities into one file to test. Will update the naming convention thing.


PSA test suites: Incorrect output buffer offset in AEAD multipart

The bug can be found in test_suite_psa_crypto.function : aead_multipart_internal_func()
When using this function with an algorithm that works on blocks, the output_part_length can be 0 for input lengths smaller than the block size(consider PSA_AEAD_UPDATE_OUTPUT_SIZE for further details, delayed output). Considering this case, the current position in the output buffer should be computed based on output_length instead of part_offset.
https://github.com/ARMmbed/mbedtls/blob/260f5d9413a7c8fe7e5e62a64b2fa65212dfeeeb/tests/suites/test_suite_psa_crypto.function#L509
memcpy( ( output_data + output_length), part_data, output_part_length );
This change will not impact the cases where the output can be processed without delay.

Hi!
Again, do feel free to submit a PR for this, it would be more than welcomed.


add support for bucket quota

Resolve https://github.com/ceph/go-ceph/issues/931

But why make a separate function if it will make a request to the same rgw api method? The request will differ only in the data inside that the function takes as an argument... You will get two methods that do the same thing

Even though it differs only in the quota-type argument, GetUserQuota() and SetUserQuota() were specifically created to literally indicate the quota-type in API name itself. Therefore I suggest we add GetBucketQuota() and SetBucketQuota() separately within rgw/admin/bucket_quota.go and corresponding tests within rgw/admin/bucket_quota_test.go.

Hello. Done, added GetBucketQuota() and SetBucketQuota()

I think I need to add new methods to docs/api-status.json. Should they be reflected somewhere else?

I think I need to add new methods to docs/api-status.json. Should they be reflected somewhere else?

Contributors can make api-update to record new APIs. It's noted in the pull request template and in the dev doc. This command should automatically update the JSON and human-readable markdown file.
But in order for that to work correctly you need to put your new APIs into a separate file and add the ceph_preview build tag. Again, please refer to the linked doc.

I think I need to add new methods to docs/api-status.json. Should they be reflected somewhere else?

Sorry, I forgot to indicate the need for adding new APIs and corresponding tests into separate files as mentioned by @phlogistonjohn in the above comment. Therefore our next step would be to create(and add) new APIs and test in separate files like user_bucket_quota.go and user_bucket_quota_test.go. This will help us in completing the CI runs by successfully running Check API Versions and Aging check.
I would also suggest to squash your intermediate changes like fix fmt, move bucket quota to diffferent methods into main commit to maintain better git history.


Add ModelicaWarning

I'd like to update ModelicaUtilities.h for the new ModelicaWarning functions of Modelica v3.4 already now. How to do it in backwards-compatible way?
#if defined(MODELICA_UTILITIES_VER) && MODELICA_UTILITIES_VER > 0x030400
void ModelicaWarning(const char* msg);
#endif

@HansOlsson @sjoelund Please give feedback.

ModelicaUtilities.h is part of the Modelica specification; it should not be part of the MSL sources except perhaps in documentation.

Neither is true currently. ModelicaUtilities.h is part of the MSL and not part of the MLS.

I agree that FMI might have a better solution, and we should have thought more about this.
On one hand ModelicaUtilities.h shouldn't have been part of MSL; since the implementation is provided by the tools.
But if we want to compile the library sources (for MSL and also for user models) in a tool-independent way - then we need ModelicaUtilities.h, and finally if a tool has their own implementation and want to rebuild the ".lib" files in MSL it makes sense to use their own ModelicaUtilities.h.
The solution seems to be that MSL contains a default ModelicaUtilities.h (in a separate directory - that we standardize the name of) - and it is documented to change that IncludeDirectory to something else. If a tool wants to use ModelicaUtilities.h from MSL they just add e.g. "modelica://Modelica/Resources/Standard" as IncludeDirectory.

For the actual question: as far as I recall about C-linking as long as ModelicaWarning isn't called it doesn't matter if it is declared; so the change above seems to work.


Feat/copy class

Proposed changes
Introduces the test_tools utility function copy class. This is useful for testing different setup configurations of classes, as for example in the test_test_contracts. Several such scenarios are presenting themselves in open-autonomy as well
Fixes
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to agents-aea?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply.

[ ] I have read the CONTRIBUTING doc
[ ] I am making a pull request against the develop branch (left side). Also you should start your branch off our develop.
[ ] Lint and unit tests pass locally with my changes and CI passes too
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that code coverage does not decrease.
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

failures

ubuntu 3.9, 3.10 & macos 3.7, 3.10FAILED tests/test_helpers/test_exec_timeout.py::test_supervisor_not_started

#408
windows 3.7 - ???tests/test_test_tools/test_test_cases.py::TestTeardownClassTimeout::test_teardown_class_timeout ERROR: InvocationError for command 'D:\a\open-aea\open-aea\.tox\py3.7\Scripts\pytest.EXE' -rfE --doctest-modules aea tests/ --cov=aea --cov-report=html --cov-report=xml --cov-report=term --cov-report=term-missing --cov-config=.coveragerc --cov-append -m 'not integration and not unstable and not profiling' (exited with code<PHONE_NUMBER>)

https://github.com/moby/moby/issues/40328
https://stackoverflow.com/questions/63091240/npm-run-watch-exit-status-3221226505

Codecov Report
Base: 96.34% // Head: 96.34% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (c04a65a) compared to base (486c01b).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #410   +/-   ##
=======================================
  Coverage   96.34%   96.34%
=======================================
  Files         204      204
  Lines       18664    18666    +2
=======================================
+ Hits        17981    17983    +2
  Misses        683      683

Flag
Coverage Δ

unittests
96.34% <100.00%> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

aea/test_tools/utils.py
100.00% <100.00%> (ø)

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

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


📃:  Youtube clone in Typescript with React

:red_circle: Title :
:red_circle: Aim :
:red_circle: Tech Stack Used :
Screenshots 📷

:white_check_mark: To be Mentioned while taking the issue :

Full name : Utsav Ladia
What is your participant role? Gssoc

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Please fill this survey form: https://forms.gle/Wvsp9N8TDF1WPStq9


Server settings do not get applied to sumneko_lua when using the bootstrap snippet provided

Problem description
I am attempting to use this plugin to not just install plugins, which works perfectly, but also apply server settings without needing an extra setup call. The documentation says this is possible with an settings table. The following is the fennel then the compiled lua code:
(def servers [
              :clangd
              :sumneko_lua
              ])
(def lsp_installer (require :nvim-lsp-installer.servers))

(local runtime-path (vim.split package.path ";"))
(table.insert runtime-path :lua/?.lua)
(table.insert runtime-path :lua/?/init.lua)
(defn install_servers []
  (each [_ lsp (pairs servers)]
    (local (server_is_found server) (lsp_installer.get_server lsp))
    (when server_is_found
      (server:on_ready (fn []
                         (let [opts {:on_attach on-attach ; on-attach is just my keymaps
                                     :flags {:debounce_text_changes 150}}]
                           (when (= server.name :sumneko_lua)
                             (set opts.settings {:Lua {:runtime {:version :LuaJIT
                                                                 :path runtime-path}
                                                       :workspace {:library (vim.api.nvim_get_runtime_file "" true)}
                                                       :diagnostics {:globals {1 :vim}}}}))
                         (server:setup_lsp opts)))))
  (when (not (server:is_installed))
    (vim.notify (.. "Installing " lsp) vim.log.levels.INFO)
    (server:install))))

(install_servers)

local servers = {"clangd", "sumneko_lua"}
local lsp_installer = require("nvim-lsp-installer.servers")
local runtime_path = vim.split(package.path, ";")
table.insert(runtime_path, "lua/?.lua")
table.insert(runtime_path, "lua/?/init.lua")
local function install_servers()
  for _, lsp in pairs(servers) do
    local server_is_found, server = lsp_installer.get_server(lsp)
    if server_is_found then
      local function _1_()
        local opts = {on_attach = on-attach, flags = {debounce_text_changes = 150}}
        if (server.name == "sumneko_lua") then
          opts.settings = {Lua = {runtime = {version = "LuaJIT", path = runtime_path}, workspace = {library = vim.api.nvim_get_runtime_file("", true)}, diagnostics = {globals = {"vim"}}}}
        else
        end
        return server:setup_lsp(opts)
      end
      server:on_ready(_1_)
    else
    end
    if not server:is_installed() then
      vim.notify(("Installing " .. lsp), vim.log.levels.INFO)
      server:install()
    else
    end
  end
  return nil
end
return install_servers()

While the settings table does get inserted to opts just fine, regardless if i use the setup or setup_lsp method for each server the opts table doesn't actually apply to the server. This is simply checked because "vim" is considered an unknown global still when editing a lua file
Neovim version (>= 0.6)
NVIM v0.6.1
Build type: Release
LuaJIT 2.0.5
Operating system/version
Linux Kat-Arch 5.16.5-arch1-1 #1 SMP PREEMPT Tue, 01 Feb 2022 21:42:50 +0000 x86_64 GNU/Linux
I've recently downloaded the latest plugin version of both nvim-lsp-installer and nvim-lspconfig

[X] Yes

Affected language servers
all
Actual behavior
Settings are not applied to servers when using a bootstrap
Expected behavior
Settings should apply
Healthcheck output
nvim-lsp-installer: require("nvim-lsp-installer.health").check()
========================================================================
## nvim-lsp-installer report
  - OK: neovim version >= 0.6.0
  - WARNING: **Composer**: not available
  - WARNING: **javac**: not available
  - WARNING: **julia**: not available
  - OK: **gzip**: `gzip 1.11`
  - OK: **curl**: `curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/1.1.1m zlib/1.2.11 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.46.0`
  - OK: **wget**: `GNU Wget 1.21.2 built on linux-gnu.`
  - OK: **python3**: `Python 3.10.2`
  - OK: **Ruby**: `ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-linux]`
  - OK: **bash**: `GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)`
  - OK: **sh**: `Ok`
  - OK: **tar**: `tar (GNU tar) 1.34`
  - OK: **RubyGem**: `3.3.5`
  - OK: **Go**: `go version go1.17.6 linux/amd64`
  - OK: **PHP**: `PHP 8.1.2 (cli) (built: Jan 19 2022 17:12:32) (NTS)`
  - OK: **node**: `v17.3.0`
  - OK: **java**: `Ok`
  - OK: **npm**: `8.4.0`
  - OK: **pip3**: `pip 20.3.4 from /usr/lib/python3.10/site-packages/pip (python 3.10)`

Screenshots
No response

Hello! Hmm, this looks correct to me. I tried using your transpiled Lua code and it works for me - vim is recognised as a global and definitions are successfully located.
Have you tried debugging this to make sure that this code even ends up executing? Especially the opts.settings assignment?

opts when printed has all of the settings I set with said set opts.settings right before the servers:setup call. But when I go and load a file with the server, none of the settings I picked load. I'm not sure what's happening, everything seems fine on my end as well. I have also deleted the local server, and don't have a global one installed as well

Hmm are your full dotfiles available somewhere? Here's a recording of me using your provided snippet:
https://asciinema.org/a/jVckV0pyhY2fcF72smhnyBEq3

https://github.com/katawful/dotfiles/tree/master/.config/nvim

Do you keep the compiled Lua code outside of version control, or how does it work?

They get compiled on runtime, so I don't need to keep them versioned

I see. I'm unable to repro this using the transpiled Lua snipped you provided, so I'm a bit at a loss atm. Just 10 minutes ago I added a new issue template for server issues, if you believe this is an issue with nvim-lsp-installer could you please file an issue using that template instead (it makes it so much easier for me to reproduce and isolate the issue) 🙏


Implement features around abilites

Added particles and stun effects
Added fireball ability

Revolves around #5, by completing:

[x]  Create Fireball Spitting Power-Up
[x] Create Visual effects to indicate state change


Failed to start Flutter renderer: No available configurations for the given pixel format

After creating a Flutter application using flutter create test_app, I am encountering an issue when trying to run the application on a Linux environment. The build process completes without errors, but when I attempt to execute the application, I'm presented with a blank white window.
Steps To Reproduce
Steps to reproduce the behavior:

Create a new Flutter application using flutter create test_app.
Build the application using flutter build linux.
Attempt to run the application.

Expected behavior
I expected the Flutter application to run and display its content properly without any blank white windows.
Screenshots
[user@system:~]$ flutter run --device-id linux --hot --debug
Launching lib/main.dart on Linux in debug mode...
Building Linux application...

(test_app:994249): Gtk-WARNING **: 08:24:02.827: Locale not supported by C library.
        Using the fallback 'C' locale.

** (test_app:994249): WARNING **: 08:24:02.927: Failed to start Flutter renderer: No available configurations for the given pixel format

flutter doctor
[user@system:~]$ flutter doctor -v
[✓] Flutter (Channel stable, 3.10.0, on KDE neon 5.27 5.19.0-50-generic, locale en_GB.UTF-8)
    • Flutter version 3.10.0 on channel stable at /nix/store/hiv01fa79zv9l0d11wamybvcy1spkh1p-flutter-3.10.0-unwrapped
    • Upstream repository git@github.com:flutter/flutter.git
    • Framework revision 84a1e904f4 (3 months ago), 2023-05-09 07:41:44 -0700
    • Engine revision d44b5a94c9
    • Dart version 3.0.0
    • DevTools version 2.23.1

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /nix/store/g77m6fyxiy5lp4y32pjkxmk8vcivjv6y-androidsdk/libexec/android-sdk
    • Platform android-31, build-tools 30.0.3
    • ANDROID_SDK_ROOT = /nix/store/g77m6fyxiy5lp4y32pjkxmk8vcivjv6y-androidsdk/libexec/android-sdk
    • Java binary at: /nix/store/93yiy362lv5nr7mjy9xq2z0q40sgl0s0-openjdk-11.0.18+10/lib/openjdk/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.18+0-adhoc..source)
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /nix/store/i9phijagi620vjdxscjwscw90g5hvka5-chromium-113.0.5672.126/bin/chromium

[✓] Linux toolchain - develop for Linux desktop
    • clang version 11.1.0
    • cmake version 3.25.3
    • ninja version 1.11.1
    • pkg-config version 0.29.2

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] VS Code (version 1.81.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.70.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • KDE neon 5.27 5.19.0-50-generic
    • Chrome (web)    • chrome • web-javascript • Chromium 113.0.5672.126

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

My flake.nix file inspired by https://nixos.wiki/wiki/Flutter:
{
  description = "Test App";
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/23.05";
    flake-utils.url = "github:numtide/flake-utils";
  };
  outputs = { self, nixpkgs, flake-utils }:
    flake-utils.lib.eachDefaultSystem (system:
      let
        pkgs = import nixpkgs {
          inherit system;
          config = {
            android_sdk.accept_license = true;
            allowUnfree = true;
          };
        };
        buildToolsVersion = "30.0.3";
        androidComposition = pkgs.androidenv.composeAndroidPackages {
          buildToolsVersions = [ buildToolsVersion "28.0.3" ];
          platformVersions = [ "31" "28" ];
          abiVersions = [ "armeabi-v7a" "arm64-v8a" ];
        };
        androidSdk = androidComposition.androidsdk;
      in
      {
        devShell =
          with pkgs; mkShell rec {
            buildInputs = [
              gtk3
              flutter
              androidSdk
              jdk11
              cmake
              ninja
              clangStdenv
              chromium
              libsForQt5.kde-gtk-config
            ];
            shellHook = ''
              # Flutter
              export LD_LIBRARY_PATH=${gtk3}/lib:$LD_LIBRARY_PATH
              export LD_LIBRARY_PATH=${libsForQt5.kde-gtk-config}/lib/gtk-3.0/modules:$LD_LIBRARY_PATH

              flutter --disable-telemetry > /dev/null
              dart --disable-analytics > /dev/null
            '';
            ANDROID_SDK_ROOT = "${androidSdk}/libexec/android-sdk";
            CHROME_EXECUTABLE = "${chromium}/bin/chromium";
            FLUTTER_SDK_PATH = "${flutter}";
          };
      });
}

Additional context
This issue occurs specifically when I install Flutter using Nix. However, when I use Snap to install Flutter, the application runs correctly.
I found a related issue #36759 on the Flutter GitHub repository, but there haven't been any responses or solutions provided yet.
Notify maintainers
@colinramsay Please could you have a look?
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):
  /nix/store/sr8iirgqnzi8z88lzdy22cm0c28vxjif-nix-info
copying path '/nix/store/sr8iirgqnzi8z88lzdy22cm0c28vxjif-nix-info' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 5.19.0-50-generic, KDE neon, 5.27, nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.15.0`
 - nixpkgs: `/nix/store/qx67jipw01zps1rqgmmpl7as1irff275-source`

Did you manage to solve the problem?

Did you manage to solve the problem?

@novikov1337danil, no, I always have the problem

I have a slightly different error with your config.
flutter run --device-id linux --hot --debug
Launching lib/main.dart on Linux in debug mode...
Building Linux application...
Gtk-Message: 09:24:42.794: Failed to load module "colorreload-gtk-module"
Gtk-Message: 09:24:42.794: Failed to load module "window-decorations-gtk-module"

** (reproducible_app:78829): WARNING **: 09:24:42.841: Failed to start Flutter renderer: No GL implementation is available

nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.9, NixOS, 23.11 (Tapir), 23.11.20231102.fa804ed`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

I have a slightly different error with your config.
flutter run --device-id linux --hot --debug
Launching lib/main.dart on Linux in debug mode...
Building Linux application...
Gtk-Message: 09:24:42.794: Failed to load module "colorreload-gtk-module"
Gtk-Message: 09:24:42.794: Failed to load module "window-decorations-gtk-module"

** (reproducible_app:78829): WARNING **: 09:24:42.841: Failed to start Flutter renderer: No GL implementation is available

nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.9, NixOS, 23.11 (Tapir), 23.11.20231102.fa804ed`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

I have same issue on ubuntu
 - system: `"x86_64-linux"`
 - host os: `Linux 6.2.0-36-generic, Ubuntu, 23.04 (Lunar Lobster), nobuild`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.0`
 - nixpkgs: `not found`

nixpkgs in flake: github:NixOS/nixpkgs/3ba7bebb0e27379eeeaef0a5c871bc560684e966
Flutter 3.10.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 796c8ef792 (5 months ago) • 2023-06-13 15:51:02 -0700
Engine • revision 45f6e00911
Tools • Dart 3.0.5 • DevTools 2.23.1

I had this issue with yubioath-flutter-6.2.0 after upgrading from NixOS 23.05 to 23.11. Actually, uninstalling it from the profile (nix-env) and re-installing it resolved the problem.


Fixed the Footer

PR Description 📜
I have fixed the footer which was showing the socials in a gap between wave and the footer.
Preview

Fixes #2788

Mark the task you have completed ✅

[X] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[X] I have performed a self-review of my own code or work.
[] I have commented my code, particularly in hard-to-understand areas.
[X] My changes generates no new warnings.
[ ] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[ ] I have added screenshot for website preview in assets/images
[ ] I have added entries for my game in main README.md
[ ] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[X] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸
See Above

Thank you soo much for contributing to our repository 💗

Thank you @5h0ov ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Don't you think this gap created by you only & now removing the gap as bug in the sake of points this is not a open source contribution, you are just wasting your time doin this
what you think you get from top 100 ranking

[X] Swags
[X] Certificates
[] Internships I don't think so

Thank you  @5h0ov , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀

Don't you think this gap created by you only & now removing the gap as bug in the sake of points this is not a open source contribution, you are just wasting your time doin this
what you think you get from top 100 ranking

[X] Swags
[X] Certificates
[] Internships I don't think so

but i dont remember making that gap? lemme check once

Don't you think this gap created by you only & now removing the gap as bug in the sake of points this is not a open source contribution, you are just wasting your time doin this what you think you get from top 100 ranking

[x]  Swags
[x]  Certificates
[] Internships I don't think so

I removed those lines to fix the gap and those lines weren't add by me as shown in the picture! :(

Thank you  @5h0ov , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


onbeforeunload not supported in iOS

Hello,
I have tested to send a time to database with AJAX script with the event onbeforeunload and it seems to not working.
Someone has the same issue ?
I tried with onunload and it seems to work, any problem to use this function instead onbeforeunload ?
Regards

Hi!  Thanks for the comment.  There are timing issues with onbeforeunload, especially when trying to send a synchronous HTTP request as my documentation suggests to do.  I'm not surprised to hear that iOS is not supporting this.
I'll update documentation to find another suggestion, but it may involve websockets or some other pinging mechanism.

I've been play with TimeMe and Ratchet and have it all working nicely, except iOS. Is this due to the sendCurrentTime call that should be triggered by an onbeforeunload that never runs on iOS?

This is what I use for iPhone iPad and iPod. It seems to work if someone wants to test and give me feedback (and maybe update documentation)
<script type="text/javascript">
    TimeMe.setIdleDurationInSeconds(30);
    TimeMe.setCurrentPageName("NAME_OF_THE_PAGE");
    TimeMe.initialize();
    var isOnIOS = navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i);
    var eventName = isOnIOS ? "pagehide" : "beforeunload";

    window.addEventListener(eventName, function (event) {
        xmlhttp = new XMLHttpRequest();
        xmlhttp.open("POST", 'URL', false);
        xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
        var timeSpentOnPage = TimeMe.getTimeOnCurrentPageInSeconds();
        xmlhttp.send("timeSpent=" + timeSpentOnPage);
    });

</script>


Fix: Responsiveness of buttons in Order Cards

Describe the bug
The buttons in the order cards are not responsive.
To Reproduce
Steps to reproduce the behavior:

Click on Orders in navbar
Reduce the screen size and see the responsiveness of buttons in each card.

Expected behavior
The buttons should be responsive as we reduce the screen size.
Screenshots

Additional context
I can fix this. It would be great if you assign this to me.

I will also add the margin at the bottom of text to add space between the text and the button.

The buttons also exhibit color issues upon the initial opening of the website.

Thank you @Varad0014


update to master

(this should shorten build times since we can get cached oleans again)

bors r+

bors r+

bors r+


Wagtail admin round page, review form links have wrong path

Duplicate https://github.com/OpenTechFund/opentech.fund/issues/1448


error when launching dev tools from project config "Any CPU"

System.Windows.Markup.XamlParseException: ''The invocation of the constructor on type 'CadDevTools.MainWindow' that matches the specified binding constraints threw an exception.' Line number '6' and line position '9'.'
Could not load file or assembly 'cadwiki.NetUtils, Version=<IP_ADDRESS>7, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

solution is to launch from "x64" platform config instead of "Any CPU"


Content > Designer > Styles tab not displayed

In section "Design your content": the "Content > Designer > Styles tab" seems to be not abvailable anymore.

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

ID: 41377fde-d690-254b-a2c6-bde18d853765
Version Independent ID: 28b95ab7-190f-580e-7e58-476460f89148
Content: Design, check, and publish marketing pages (Dynamics 365 Marketing)
Content Source: ce/marketing/create-deploy-marketing-pages.md
Service: dynamics-365-marketing
GitHub Login: @alfergus
Microsoft Alias: alfergus

Thank you for raising this issue -- I will update the docs. In the meantime, to style the overall page with basic fonts, colors, and background, select anywhere in the background of your marketing page in the designer. After you select the background, the Properties tab will display General layout options.


Consider pinning files to the sidebar

Is your feature request related to a problem? Please describe.
I wonder for a long time now why file explorer is not able to pin files to the sidebar.
Sometimes this could be a valuable feature having one or a few files just very good available in the left navigation bar.
Describe the solution you'd like
Maybe you could add the option to pin also files to the sidebar and not just folders? I think this is really handy in some situations.
Describe alternatives you've considered
When clicking on the files in the sidebar they should of course get opened.
Additional context
Currently in Windows 10 you also cannot pin files to the taskbar, and also not to the startmenu, you are just able to send a link to the deskop)

How would we differentiate between files and folders? Users expect the sidebar to be a spot to navigate to directories. This will obviously only happen if the users actually pins the file but I am not sure if the option to do that should even be there.
I would like some input on this feature request from the community and how they feel about this. I am pinning this issue to increase discoverability.

One possibility would be to have a section labeled Files that would be where pinned files would go but it would need to remove the label that says "Files" when there is nothing pinned.

One possibility would be to have a section labeled Files that would be where pinned files would go but it would need to remove the label that says "Files" when there is nothing pinned.

That sounds like a good idea and compromise for me and additionally would remain the current UX-concept (of only accessing folders in the navigation bar).

I thought about this proposal, and pinning individual files to the sidebar isn't useful to enough users. Regardless, the sidebar is intended to get users to their destination, rather than be the destination. This is why that idea conflicts with the design metaphor. However, we're investigating ways to better enhance discoverability of relevant items using the home page.

I personally have some files I frequently open, for example the sln for Files UWP, having these pinned to a quick access section at the top of the sidebar would be helpful. I don't necessarily want to navigate to the directory and find the correct file there in order to open it.
I can see that some users won't want this but making it optional can solve that concern.

So reopen?

I'll re-open this, but we should still consider changes to the new tab page to improve discoverability.

After discussing this issue we have come to the conclusion that the sidebar should be limited to bringing users a location, and that opening files shouldn't be included. The replacement for this would be including a widget on the home page where users can pin files for ease of access,. Merging with #366.


Docs: state.State.includes description wrong

This is a:

[x] Bug Report
[ ] Feature Request
[ ] General Query

My version of UI-Router is: 1.0.0-rc.1
Bug Report
Current Behavior:
I was wondering what the docs say about the shape and behaviour of state.State.includes. I found this:

An array of strings of the parent States' names

Actually it is not an array, but an object, containing the parent States' names. The TypeScript definition is { [name: string] : boolean }.
Expected Behavior:
The docs should fit to the actual implementation (of course). Furthermore I expected the docs to tell me that the boolean value is always true for any key in the object. I did not go through the code to verify that, but I could not imagine a case where it should not be true.
To sum up, I'd expect to read something like this in the docs:

An object, containing the parent States' names as keys and true as their values

If you are okay with this, I could open up a PR. Just let me know.
I also don't want to miss the opportunity to thank you for this amazing lib! My employer is using UI Router 1.0.0-rc.1 for AngularJS in several production applications. We did not have any problems with it. The new version is a great improvement and helps a lot in building component based apps!

I would appreciate that PR!
You could also add an example, such as:
(to: StateDeclaration) => to.$$state().includes['parent']

Closed by https://github.com/ui-router/core/pull/48


How to expand nam_dict.txt to add new names?

I need to add some other names but there are no instructions on how to edit nam_dict.txt, is the file generated by a program or is there a way to directly edit this file?

Hello.
This is the original file by Jörg Michael and should not really be edited directly.
What you should do is to create your own dictionary file of the same format with the names you need and add it to the detector.
$genderDetector->addDictionaryFile('custom_file_path/another_dict.txt');


WIP: Generate new OLM bundles and document testing.

Updates operator bundle generation script, document how to use it,
generate a bundle and CSV, build an OLM registry image, and then install
everything in a 4.0 cluster.

@jmelis @ecordell here's what I ended up with. Using this code, and the bundle I've committed here, I was able to deploy hive and have almost everything come up running properly.
I think the only thing left is a small fix we'll need for the hiveadmission daemonset when run on 3.11, the master node labels are different. Will get this in monday morning.
The bundle is committed here, I will remove it before this goes to master, I just want @jmelis  to be able to see and possibly use it.

/lgtm


ENHANCEMENT: SPEAKER icon should reflect AUDIO available

Original ticket:
https://sourceforge.net/p/djv/bugs/96/

Fixed.


Can't use powershell to run config with my own code

Describe the issue:
I can use the source code to run nni on my computer,but when I was trying to modify the code to meet my needs,it occurred some mistakes. I referred some examples to modify my code(like regression/classification of sklearn,mnist-keras)，because the framework is different,when I first try to modify my code and use powershell to run it,it occurred a lot mistakes.
Today I modified my code once again,it could run successfully in pycharm,but it failed in powershell.
crying,I think I need some help.
Environment:

NNI version:2.5
Training service (local|remote|pai|aml|etc):local
Client OS:Windows 10
Server OS (for remote mode only):None
Python version:3.6
PyTorch/TensorFlow version:1.10.1/2.6.2
Is conda/virtualenv/venv used?:conda
Is running in Docker?:no

code
LOG = logging.getLogger('ANN Example')

def load_data(train_path='./data/data712pc_train.csv', test_path='./data/data712pc_test.csv'):
    InputIndex = ['X1', 'X2', 'X3', 'X4', 'X5', 'X6', 'X7', 'X8', 'X9', 'X10',
                  'X11', 'X12', 'X13', 'X14', 'X15']
    OutputIndex = ['Y']
    data_train = pd.read_csv(train_path)
    train_X = data_train[InputIndex]
    train_Y = data_train[OutputIndex]
    data_test = pd.read_csv(test_path)
    test_X = data_test[InputIndex]
    test_Y = data_test[OutputIndex]
    minmax = MinMaxScaler(feature_range=(0, 1))
    X_train = minmax.fit_transform(train_X)
    X_test = minmax.transform(test_X)
    Y_train = minmax.fit_transform(train_Y)
    Y_test = minmax.transform(test_Y)
    return X_train, X_test, Y_train, Y_test

def default_params():
    params = {
        'activation': 'relu',
        'optimizer': 'Adam',
        'learning_rate': 0.001,
        'momentum': 0.9
    }
    return params

def create_model(PARAMS):
    layers = [
        Dense(8, activation=PARAMS.get('activation')),
        Dense(4, activation=PARAMS.get('activation')),
        Dense(1, activation=PARAMS.get('activation'))
    ]
    model = Sequential(layers)

    if PARAMS.get('optimizer') == 'Adam':
        optimizer = Adam(lr = PARAMS.get('learning_rate'))
    elif PARAMS.get('optimizer') == 'SGD':
        optimizer = SGD(lr = PARAMS.get('learning_rate'), momentum = PARAMS.get('momentum'))
    else:
        optimizer = RMSprop(lr = PARAMS.get('learning_rate'), momentum = PARAMS.get('momentum'))

    model.compile(loss=keras.losses.mean_squared_error, optimizer=optimizer)

    return model

def run(X_train, X_test, Y_train, Y_test, model):
    model.fit(X_train, Y_train, batch_size=64, epochs=100, verbose=1)
    loss = model.evaluate(X_test, Y_test, verbose=0)
    y_pred = model.predict(X_test)
    rmse = mean_squared_error(Y_test, y_pred) ** 0.5
    print('The rmse of prediction is:', rmse)
    nni.report_final_result(rmse)

if __name__ == '__main__':
    X_train, X_test, Y_train, Y_test = load_data()

    try:
        # get parameters from tuner
        RECEIVED_PARAMS = nni.get_next_parameter()
        LOG.debug(RECEIVED_PARAMS)
        PARAMS = default_params()
        PARAMS.update(RECEIVED_PARAMS)
        LOG.debug(PARAMS)
        model = create_model(PARAMS)
        run(X_train, X_test, Y_train, Y_test, model)
    except Exception as exception:
        LOG.exception(exception)
        raise

search space

config

some files

error

NNI uses PyYAML to parse config files which... unfortunately has some strange limitations. We are fixing this for next release. For now you can replace tabs in your search space file with spaces and it should work.

Does it mean that I need to replace "sigmoid" or others with space?
or replace "momentum" (and others) with space?

I mean, seems the search space file is using tabs as indent. You can try to indent with spaces.

I mean, seems the search space file is using tabs as indent. You can try to indent with spaces.

I am sorry to reply you now  and misunderstand the meanning of your words. But the example ran successfully by your method.
To tell you the truth,I didn't understand your meaning at first（I modified the search space file by copying the source code,so I don't think the search space file has mistake.but.... it has...）
Like this（the file was opened by text,because I ran the example on the other computer）:
yesterday's search space file

after modifing

and the result

Thanks for your reply!!!!


How to change the height and width of the inserted Imgur?

Hi kaivalyar,
Hope you can see this issue. I wonder whether we have a way to change the height and width of the inserted Imgur.
Thanks!

I'm not sure how much styling imgur allows in their embedded iframes, if you wish to include a single image in your page the perhaps this shortcode is not really the right tool to use. The styling of imgure inserted iframes would probably require some more work, but an easy way to get some control might be to modify the ID wou're passing by appending a s for a small image, ss for extra small, etc. Alternatively, if you wish to control styles of the container div (I do not think this will change the size of the image rendered though, you're free to add styling information to the imgur-image class.


Do not require Eclipse to build

[@FroMage] There's got to be a way to generate the OSGi metadata without Eclipse.
[Migrated from ceylon/ceylon-dist#45]

@davidfestal @FroMage is this still an issue, or has it been fixed?

Yes


[Desktop App] Problems with safe update

This tickets is related to #412
Tested with a 1.0.0 Safe: 0x55C1a91291956Eab87227d4184A26e6F80A771d5
I tried to add a new owner but instead of a Tx to add a new owner, a Tx to upgrade the safe showed up instead.
Safe address: 0x55C1a91291956Eab87227d4184A26e6F80A771d5
Note: I waited but the Tx remains in pending for ever. Is not part of this ticket to make the upgrade possible, but is good to point out that the upgrade seems not to be working in the desktop app.

I tried to reproduce the issue in the current version of the desktop app and it didn't happen anymore.
Safe: 0x5931897fe4196e0A1Ab741C437297382391fA02C
I'm closing this tikcet


FR: local calendars

It would be nice to be able to add a local calendar as a file in a vault or as a directory with ics files (vdir format).
Currently, I can't set local file/directory as calendar URL because Obsidian's request don't understand this.
Ok, I can get all ics files of one of my calendars like const icsFiles = app.vault.getFiles().filter(f => f.extension == "ics" && f.path.startsWith("journals/calendars/personal"));. But I can't reuse getEvents because it wants to pull remote calendar. And, alternatively, I can't use parseIcs, extractMeetingInfo, filterMatchingEvents because they are out of default plugin class.
Thanks for the plugin!

@knopki , interesting, I hadn't heard of vdir. I read the info at the link, and I am not clear on the interface because I don't know how to use it:

Should the plugin read all the files and simply add each as a calendar, using the displayname as the calendar name? Or maybe a new "Add vdir" dialog that allows the same options as the current "Add remote ics" dialog?
Alternatively, I can expose more of the methods and make them usable from templater/other code.
What's the easiest way to try out adding a vdir myself to experiment?

Working on a local env, a la https://github.com/pimutils/vdirsyncer/issues/202#issuecomment-100211119

Got local calendars working using a vsync of my google calendars using the private ical feeds. I see the structure is one folder per calendar and an ics file per VEVENT.
Will give this a whirl now.

@muness for me, exposing the methods is enough.
I think it would be possible, in the add calendar dialog, to offer to specify not the URL, but the path in the repository to the file or directory.
If URL is selected, then the behavior is as it is now.
If a file is selected, then just try to parse that file as a calendar feed.
If a directory is selected, then read all *.ics, parse them one by one, add events to the common pile, and then filter by date.
I.e. everything like now, but different functions to access the calendar feed.
Another simple solution. Change only the getEvent method: allow passing there an async function that will receive ICSSettings calendar as an argument and then return calendar feed.

I see the structure is one folder per calendar and an ics file per VEVENT.

Yes. And vdirsyncer doesn't recourse to the nested directories.

Will give this a whirl now.

Thank you!

@knopki , can you give this a try: https://github.com/muness/obsidian-ics/releases/tag/1.5.0

@muness I'm testing 1.5.0b
Close button overflow:

[x] add vdir calendar
[x] insert from vdir calendar
[x] use from dataviewjs

Differences with vdirsyncer:

Recursion into directories. Thus, files in subdirectories are also loaded. It's ok.
You can merge all files into one big feed with multiple VEVENTs (cat *.ics > big.ics). Or you can download some public feed with all holidays or something like this. It's not ok, it's great.

Also, main-debug.js is a nice addition.
To summarize, this release is wonderful. Thank you very much! I'm heading out to tell everyone about this plugin in the local community.

Thanks so much for the review!


Updated for BigQuery and Snowflake

Added the Open source Analytics toolbox for BigQuery and Snowflake with the Open Source CARTO Analytics Toolbox.

Coverage remained the same at 98.66% when pulling e42570ef8ceb8a00d1f9065204f6bd4173f136fa on jatorre:patch-2 into b5349bcade4752e4789341c026a5e6cd65a2ddbf on uber:master.


Add Malayalam translations for command descriptions

This issue is to add Malayalam translations for the existing commands found in https://github.com/devadvance/terminalcheatsheet/tree/staging/_data/commands
Use ml (the locale code for Malayalam) as the key for the strings.
Please comment on this issue before starting work so people are informed that you are working on it.

Can you assign this task to me? I can work on it. Thanks in advance.

I am interested in solving this issue


setup kokoro for smoke tests

At some point we appear to have broken kokoro support on this repo, see:
https://github.com/googleapis/google-cloud-node/pull/2949
We should get it working again, and add some smoke tests, e.g., around link generation.

obsolete.


TokenLock failing when the Initiative counter is empty.

The TokenLock script immediately crashes if a token is moved and the turnorder window is empty. (both versions, 0.2.3 and 0.2.4).
The problem is on line 204:
&& ( !state.TokenLock.config.allowMoveOnTurn || (( (JSON.parse(Campaign().get('turnorder'))||[{id:false}])[0].id) !== obj.id) )
JSON.parse(Campaign().get('turnorder'))||[{id:false}] will never return [{id:false}], so a "TypeError: Cannot read property 'id' of undefined" is thrown every time a token is moved when the turnorder window is empty.

Updated TokenLock to v0.2.5
Just sent a pull request to fix this. Thanks!


⚠ SkipTheCommericals has degraded performance

In 1964c1f, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 2709 ms

Resolved: SkipTheCommericals performance has improved in f8e8bb7.


[Bug] Test code exists some inaccuracies

Hi, when I use test code I find that unable to run. Can you check the problem?

Thanks for your comments, I will fix the code.


Diff and Details not showing

I recently found your plugin and found it very useful but I have some bug related to code action menu here is the screenshot of the menu

I have set vim.g.code_action_menu_show_details to true and vim.g.code_action_menu_show_diff to true but they are not showing to me
Configuration
https://github.com/Iamafnan/my-nvimrc
Neovim Version
NVIM 0.7.0-dev

Update: Now it is showing details
Screenshot

Okay. So is this still an issue? Can it be closed? 😆

It is not showing diff

That must not be wrong. Though it looks like it could have one.
We have two options to figure this out.
In case you want to inspect it yourself, please to the same location and execute :lua print(vim.inspect(vim.lsp.buf_request_sync(0, 'textDocument/codeAction', vim.lsp.util.make_range_params()))). Please post the output here in a comment.

This is the output

My Neovim Config
Language server: tsserver
Neovim Version: 0.7.0-dev
Language server version: 0.6.3

same error for diff section here

I'm also not seeing a diff here! Happy to help troubleshoot. FWIW, the code action (adding the missing import) does apply correctly when selected.

Note that the details do show up fine; I just have them disabled in my config.
Language server: tsserver 0.9.3
Neovim version: 0.6.1
{ {
    result = {}
  },
  [3] = {
    error = {
      code = -32603,
      message = "Request textDocument/codeAction failed with message: Cannot read properties of undefined (reading 'diagnostics')",
      <metatable> = {
        __tostring = <function 1>
      }
    }
  },
  [4] = {
    error = {
      code = -32603,
      message = "Request textDocument/codeAction failed with message: Cannot read properties of undefined (reading 'only')",
      <metatable> = {
        __tostring = <function 1>
      }
    }
  }
}

I meet the same problem. Can't show the diff window.
Here is my log of execing :lua print(vim.inspect(vim.lsp.buf_request_sync(0, 'textDocument/codeAction', vim.lsp.util.make_range_params())))
{ {
    error = {
      code = -32602,
      message = "failed to decode textDocument/codeAction request: missing valu
e at (root).context",
      <metatable> = {
        __tostring = <function 1>
      }
    }
  } }

Do you have resolved the problem? Thank you.

I too am seeing a similar case where the diff isn't shown, though all the rest works perfectly (actions are being applied, context is fully displayed): in particular this happens with the gopls language server.

For use with tsserver and null-ls
  [3] = {
    error = {
      code = -32603,
      message = "Request textDocument/codeAction failed with message: Cannot read properties of undefined (reading 'only')",
      <metatable> = {
        __tostring = <function 1>
      }
    }
  }

Details
NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3


OAuth2 Password Grant: refresh access token from secondly interval

Fixes #831
The main problem is that setTimeout is paused when a tab is asleep. This pr switches to using setInterval instead of setTimeout to reverify every "alive" second if the token needs to be refreshed.

@marcoow do you have time to have a look at this soon? That would be greatly appreciated. 🙂
Let me know if you need any further explanation or discussion on this!

Not yet - sorry. I'll try to get to it this week 😞


New Speakers Card

Design a new Speakers Card.
This card will have picture.
Map the card component to appropriate event data set, and use the appropriate objects keys accordingly, such as dates, link , , description of speaker, his profiles, etc. Use social media icons in SVG format.
Delete the previous Speakers Card and replace it with yours.
Submit SS/Video of the component in working condition.
Use good naming convention for CSS classes.
Avoid usage of any external library.
The card should symbolise our theme of Halloween. Idea - Stick spiderwebs in top corners of a pumpkin near the bottom , maybe a picture of a small graveyard tablet. Use the smallest size assets available for this, preferred SVG.

I would like to work on this issue.

PR: Update Speaker Cards #50


NameError: name 'wget' is not defined

When downloading the model I get this error message: NameError: name 'wget' is not defined

That means you skipped the dependencies cell


fixes some html5 erros

just in case for html5 porters

it might be needed

I dunno

yeah, it might just be a joke Nebula added

maybe but ill see if they do

it don't do shit, it's just a joke

i think its good

lol

DIDNT MEAN TO

source/Main.hx:78: characters 61-65 : Float should be Int
source/Main.hx:78: characters 61-65 : ... For optional function argument 'updateFramerate'
source/Main.hx:78: characters 61-65 : ... For function argument 'child'
source/PlayState.hx:5703: characters 24-28 : Warning : This pattern is unused
source/PlayState.hx:5870: lines 5870-5873 : Warning : This case is unused
idk if i did something wrong or if there's a problem with the source code but when i tried doing the lime test i got this

use fixeil ( cant spell rn. dealing with uhm personal issues ) 4.11.0

flixel*

flixel*

C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:94: characters 7-25 : flixel.FlxType should be flixel.util.FlxAxes
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:142: characters 7-25 : flixel.FlxType should be flixel.util.FlxAxes
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:150: characters 18-19 : flixel.util.FlxAxes has no field x
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:151: characters 18-19 : flixel.util.FlxAxes has no field y
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:413: characters 7-25 : flixel.FlxType should be flixel.util.FlxAxes
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:419: characters 21-22 : flixel.util.FlxAxes has no field x
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:420: characters 21-22 : flixel.util.FlxAxes has no field y
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:423: characters 21-22 : flixel.util.FlxAxes has no field x
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:424: characters 21-22 : flixel.util.FlxAxes has no field y
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:426: characters 21-22 : flixel.util.FlxAxes has no field x
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:427: characters 21-22 : flixel.util.FlxAxes has no field y
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:429: characters 21-22 : flixel.util.FlxAxes has no field x
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:429: characters 44-45 : flixel.util.FlxAxes has no field x
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:430: characters 21-22 : flixel.util.FlxAxes has no field y
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:430: characters 44-45 : flixel.util.FlxAxes has no field y
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:450: characters 20-21 : flixel.util.FlxAxes has no field x
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:456: characters 20-21 : flixel.util.FlxAxes has no field y
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:493: characters 30-31 : flixel.util.FlxAxes has no field x
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:494: characters 30-31 : flixel.util.FlxAxes has no field y
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:191: characters 7-25 : flixel.FlxType should be flixel.util.FlxAxes
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:209: characters 7-25 : flixel.FlxType should be flixel.util.FlxAxes
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:212: characters 19-20 : flixel.util.FlxAxes has no field x
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:221: characters 19-20 : flixel.util.FlxAxes has no field y
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:262: characters 7-25 : flixel.FlxType should be flixel.util.FlxAxes
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:312: characters 7-25 : flixel.FlxType should be flixel.util.FlxAxes
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:316: characters 19-20 : flixel.util.FlxAxes has no field x
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:325: characters 19-20 : flixel.util.FlxAxes has no field y
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxBackdrop.hx:182: characters 7-25 : flixel.FlxType should be flixel.util.FlxAxes
i did it and now i get this instead lol

did you use "Haxelib set flixel 4.11.0"?

i think so yeah

when i compiled it worked

i did "Haxelib set flixel 4.11.0" in the control panel, is that right?

yup

im not sure what im doing wrong then

hm what are you compiling for?

pretty much its because of the ghost player mechanic that's in the mod and i want it in mine SO bad, I've searched everywhere i could and found nothing until i replied to a tweet of a mod that had it and then i got a reply from nebula and says and i quote "im open sourcing illegal instruction to spite you" and they did actually do it and i got so happy thinking i did it but then i remembered i don't know shit about coding and source codes and stuff so yeah i gave up but I'm trying again but may give up again because this time i cant even compile the game. since i have the opputunity ill just ask could you possibly make a script i can use for it? if not its completely ok i just thought id give it a shot.
also excuse the fucking story i just wrote lmao

if it helps i have like £7 in my bank account rn i could give you that for it lol

if it helps i have like £7 in my bank account rn i could give you that for it lol

3 things, 1. you didn't answer his question 2. he lives in the US, that means nothing to him 3. don't ask people to code for you

if it helps i have like £7 in my bank account rn i could give you that for it lol

3 things, 1. you didn't answer his question 2. he lives in the US, that means nothing to him 3. don't ask people to code for you

i did answer the question i’m not sure why you said i didn’t and i only asked as an offer he doesn’t have to say yes i just thought i’d try it, but i mean if it upset you or him i apologise.

he means like, are you compiling for windows or something?

he means like, are you compiling for windows or something? and no you didn't upset me, I was just saying, it's fine lol

yeah i’m compiling for windows

cool, so you gotta use flixel 4.11.0 via haxelib install flixel 4.11.0 and flixel addons 2 instead of 3 via haxelib install flixel-addons 2.11.0

wtf did i miss

yeah, it might just be a joke Nebula added

avery added it, not me

yeah, it might just be a joke Nebula added

avery added it, not me

real

yeah, it might just be a joke Nebula added

avery added it, not me

hi nebula 👋🏻


Secret masking in output_schema feature is added

With this implementation, action responses marked as secret in output schema are masked in CLI and UI.

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

@m4dcoder I have moved the logic for masking secret parameters in output schema from https://github.com/StackStorm/st2/blob/master/st2common/st2common/models/api/execution.py to https://github.com/StackStorm/st2/blob/master/st2common/st2common/models/db/execution.py. Also added a test case in https://github.com/orchestral-st2/st2/blob/master/st2common/tests/unit/test_db_execution.py. Please review the added code. Thanks.

Hi @m4dcoder, thanks for the comments. With newly pushed code, KeyError with result["result"] issue has been resolved. Also, http-runner test has passed. mask_secret_output block has been shifted to output_schema.py. Added new test cases for the same. Please review the changes.

@m4dcoder I have put several if conditions before using output_key because some runners don't have output_key. I have to mention orquesta runner_type also in condition because it was masking secret parameters in output of the task in workflow. Please review the changes.

I have to mention orquesta runner_type also in condition because it was masking secret parameters in output of the task in workflow.

What do you mean? Can you share an example of what was getting masked when masking the output of an orquesta workflow?

What do you mean? Can you share an example of what was getting masked when masking the output of an orquesta workflow?

@cognifloyd Thank you for the comments and inputs. Previous my changes without if condition to orquesta runner were causing masking the secret parameter in workflow task output but @m4dcoder had improved that piece of code and now it is working fine.

@m4dcoder, @cognifloyd Hi, I am pushing code of unit test to show in workflow secret parameters in output_schema in action should not be masked in task output. I need help as unit test is failing at the task which contain python action.
Unit test is in https://github.com/StackStorm/st2/blob/master/contrib/runners/orquesta_runner/tests/unit/test_data_flow.py. Test is failing at L262 as tk3_ac_ex_db object having result with error named unrecognized arguments and status as failed. Thanks.


Vtk camera fix

I have fixed the bug that specifying the camera requires you to interact with the window before it displays, and added features that allow you to specify cameras from quaterion orientations and neuroglancer state dictionaries.

Codecov Report

Merging #19 into master will decrease coverage by 0.23%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
- Coverage   14.76%   14.52%   -0.24%
==========================================
  Files           8        8
  Lines        1531     1556      +25
==========================================
  Hits          226      226
- Misses       1305     1330      +25

Impacted Files
Coverage Δ

meshparty/trimesh_vtk.py
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4117bc3...fa9d1ce. Read the comment docs.


Does ATC work with tabular data?

I've been playing around with it a bit, and it seems to get to 100 accuracy pretty quickly and so doesn't provide a great signal.
fwiw, I've  found this code snippet below seems to provide better results (measured as correlation against ground truth scores) for ood tabular data that I've been looking at.  It also has an advantage of not requiring the model output for the holdout/validation data (just the unlabeled preds are needed), so that could be kept out (both input data and labels) if so required.
The code for non binary classification is a bit more complicated.
def get_ssl_metric(probas):
    #Now we're going to distill knowledge from the unlabeled test set
    model_eval = lightgbm.LGBMRegressor()
    #We use the SSL pseudolabels to train with and fit on unlabeled ood data
    model_eval.fit(X_test_unlabeled, probas)
    #Loop multiple times on unlabeled test data for enhanced knowledge density
    for j in range(5):
        print(".", end="")
        model_eval1 = lightgbm.LGBMRegressor()
        model_eval1.fit(X_test_unlabeled,model_eval.predict(X_test_unlabeled))
        model_eval = lightgbm.LGBMRegressor()
        model_eval.fit(X_test_unlabeled,model_eval1.predict(X_test_unlabeled))
    v = sklearn.metrics.roc_auc_score(y_holdout, model_eval.predict(X_holdout))
    return v

Thanks for your interest. Can you elaborate more about the tabular setup where you are observing 100% (predicted) accuracy? What is the true accuracy on the source and target dataset? What is the size of the labeled source holdout set and target unlabeled set?
In our paper, we observe that our method ATC tends to perform well on natural distribution shift benchmarks. However, in general, the problem of estimating accuracy is underspecified (Section 3 of the paper https://arxiv.org/abs/2201.04234).

Would it make sense to evaluate this on non stationary time series tabular data?  eg:  https://www.kaggle.com/competitions/playground-series-s3e4/discussion/381415#2116636
The dataset is 314715 transactions, half for train.  The original dataset is available for testing with ATC.


[ES/PT DateTimeV2] Weekday + date + time not resolved correctly

"friday the 23rd at 4" returns a datetime in EN but a reverse date-time range in ES and PT, based on interpreting day of month as an hour:
EN: friday the 23rd at 4  Returns XXXX-WXX-5T04
PT: sexta-feira 23 às 4  Returns (XXXX-WXX-5T23,XXXX-WXX-5T04,PT5H)
ES: viernes 23 a las 4  Returns (XXXX-WXX-5T23,XXXX-WXX-5T04,PT5H)

looking into this one


finished 4.1.1 and 4.1.2

this pr includes proofs of 4.1.1 and 4.1.2.
it changes the requirements for DoublingMeasure, making the constant NNReal-valued.
this pr does not include changes to the blueprint. guidance on how to appropriately change it is welcome.
this pr also adds some auxilary lemmas about DoublingMeasure.

Could you merge master and resolve the merge conflicts?

Hi @edegeltje, I have partially reviewed this PR just to practice reviewing PRs.
Feel free to ignore my comments and suggestions.


Moving pull request #5822 to the 3.x branch

The pull request #5822 is moved to the 3.x branch.
Changes within the pull request are:

addition of PyQt5 as a hard dependency
some minor alphabetical code sorting

Hello @JakobJakobson! Thanks for submitting the PR.

In the file setup.py, following are the PEP8 issues :

Line 249:80: E501 line too long (80 > 79 characters)

Thanks for your contributiobn @JakobJakobson! I'll take a look at Travis to see why it's failing, then I'll merge.

@JakobJakobson, thanks for your contribution! I'm going to ask you to revert all alphabetical reorderings you did because they can easily generate conflicts with other pull requests and they are not really necessary.
Thanks!

Superseded by #5862. (Sorry for all the inconvenience but I'm new to git and still figuring out.)

Don't worry about, thanks for wanting to help us!


[Newsroom] Overview page links missing chevron right icon

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #514
Cleanup existing styles:

Footer
News

Not touched styles:
Header / Company Links, because the icons are not embedded in a link
Test URLs:

Before: https://main--moleculardevices--hlxsites.hlx.page/newsroom

After: https://newsroom-icons--moleculardevices--hlxsites.hlx.page/newsroom

Before: https://main--moleculardevices--hlxsites.hlx.page/newsroom/news/hub-organoids-to-advance-automated-intestinal-organoid-screening-technology

After: https://newsroom-icons--moleculardevices--hlxsites.hlx.page/newsroom/news/hub-organoids-to-advance-automated-intestinal-organoid-screening-technology

@duynguyen cleaned up existing styles for Footer and News
Didn't touch the styles for Header / Company Links, because the icons are not embedded in a link
Did I miss a style?

@lydiapuric I think let's merge this. I will remove styles in other blocks (products, applications, etc.)


Release/0.4.0

Hey @alexanderdean this PR adds support for --constraint="host,{{some_host}}"
At the moment if a host-value set is found we go ahead and attempt to assert this fact.  If this fails for whatever reason we exit with return code 3 and print the error message.
Please let me know if you would like to see any different behaviour in this.

Thanks @jbeemster - I wasn't clear from your comment or a quick scan of the code what happens if the constraint is not matched - not talking about a failure, but rather the no-op where the constraint is not matched...

If the constraint is set and it then does not match it prints an error message and exits with code 3.  Sounds like this needs to be exit code 0 for a noop!

Yes - this needs to be exit code 0 or else every cron that doesn't match the constraint is going to generate an error email...

hey @jbeemster ! I tried to compile this and got the following error:
$ cargo test
    Updating registry `https://github.com/rust-lang/crates.io-index`
error: failed to select a version for `libc` (required by `factotum`):
all possible versions conflict with previously selected versions of `libc`
  version 0.2.16 in use by libc v0.2.16
  possible versions to select: 0.2.18, 0.2.17

Do you know what it means?

Hey @jbeemster - I had some feedback as it relates to the release blog post:
However, if I change these to non-valid values:

$ ./factotum run echo.factfile --constraint "host,hostname"
$ Error: the specifed host constraint "hostname" is invalid. Reason: found external IP(s) but failed to list IP(s) for hostname

What this error means is that we were able to list probable IPs for this host but that the hostname provided - when we attempted to get an IP for it - did not match the found list. So it fails to resolve and thus will not run.

If I were to disconnect my WiFi network interface:

$ ./factotum run echo.factfile --constraint "host,<IP_ADDRESS>"
$ Error: the specifed host constraint "<IP_ADDRESS>" is invalid. Reason: did not find matching IP for hostname

This error means that we could not find a hostname associated with the IP provided.

My thoughts:

I don't think we should use the log level of Error:  given we are returning 0 exit code and we expect constraints to not match as part of regular operation
With the specifed host constraint "hostname" is invalid. Reason: found external IP(s) but failed to list IP(s) for hostname, I don't understand this message. What is invalid about the constraint? If the constraint does not match because we are not on a box called hostname, then this is fine - the constraint did not match. There's nothing invalid about the constraint or indeed the hostname
With the specifed host constraint "<IP_ADDRESS>" is invalid. Reason: did not find matching IP for hostname, again we are talking about a constraint not passing, nothing is invalid. I also don't understand why the "error" message structure differs from 2. above - why is this message not found external IP(s) but none of them match "<IP_ADDRESS>"

Other things in Factotum might have a use for a Warn message in yellow if you want to add that. It's also important to mention clearly that no tasks have been executed (if they haven't been) imo.

Yes I think Warn could be good... Agree we should explain nothing has run...


feat: add registerMemberFromMembershipKey

Hum, not sure why this is needed. Maybe @richard-ramos would be a better reviewer?


Added rust example

some simple plugin made with Rust

https://github.com/NinjasCL/dome-rust-plugin-example


Explainer / model decoupling

Today, the explainers expect a predict_fn at the build step, which provides explainers with access to the black-box model for generating explanations. However, this introduces a dependency between the explainer and the black-box model which could produce difficulties in deploying explainer artifacts into some productive space.
We should come up with an option that allows users to properly decouple the explainer artifact and the predict_fn to enable different kinds of deployment strategies. Inspiration comes from https://github.com/SeldonIO/seldon-core, which allows production-level deployment of ML models (kudos to @vishalmour and @sinhadebarchan for the share).

@vishalmour @sinhadebarchan @manduripramodh let's use this issue as a place to further discussion and development of a decoupling strategy.

Hey @vishalmour (hello from Japan!), any updates on this?

hello @seansaito, sorry for late response on this.. Currently we are trying a POC to check if we can make a reference to predict function (part of deployed model) n the runtime, and package a dummy one. If this works we can possibly remove the dependency between model and the explainer for LIME and SHAP Kernel. But since optimized SHAP explainers such as Tree explainer etc. need Model as part of explainer generation, the above approach will not work... @manduripramodh @sinhadebarchan please add if I missed something


Need Not operator for enableCondition in property view descriptor JSON

Description:
The enableCondition argument in the property view descriptor JSON used in the connector development does not support Not expressions. It only supports 'And', 'Or' expressions.
In a scenario where we need to show a field if a text box value is not empty, we can implement that using 'And' and 'Or' operators. There should be 'Not' operator for that,
eg:
  "enableCondition": [
    "NOT",
    {
      "orderByColumn": ""
    }
  ]

Fixed with the pull request https://github.com/wso2/devstudio-tooling-esb/pull/1345
enableCondition in property view descriptor JSON supports NOT operations,
 "enableCondition": ["NOT", {"foo":"bar"}]


Install Zipline with pip/Pycharm

Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment

Operating System: Windows 10

Python Version: 3.7 ( I have installed 3.5 but i don't know if I have to do something more )

How did you install Zipline: That's my issue :)

Python packages:

Description of Issue
Tried to install zipline using pip, failed with this error:

Tried using Pycharm and failed too with this error:

I am really bad at installing things ( consider myself as a newbie), I have tried conda aswell it failed too.
Thank you very much for people taking time for this
Sincerely,

Hey @swardsam thanks opening the issue. Based off your errors above, it looks like you're installing Zipline with Python 3.7, which we don't build packages for or test.
I would recommend you read about virtualenv, which you can use to install an isolated set of packages, and run Python 3.5.
Once you've installed virtualenv, the set of commands you'd run in the Command Prompt are:
$ cd your_algorithm_project
$ pip install virtualenv

Within your project:
$ virtualenv zip35 -p path/to/your/Python35-installation

Activate your virtualenv; on Windows, virtualenv creates a batch file
\zip35\Scripts\activate.bat

To activate virtualenv on Windows, the activate script is in the Scripts folder:
# Example:
$ C:\Users\'Username'\zip35\Scripts\activate.bat

Let me know if any of that is unclear or if I can help you further.

Thanks a lot for your answer, I understand virtualenv now but I am facing another error:

if it can help:

I have tried to upgrade my setuptools but I does not help:

python packages:

Sincerely,

I think I have made it ! ( i used conda )

Thank you very much for your help  💯


(2.3) Include chart name in automation

Automation fix copied from https://github.com/open-cluster-management/multiclusterhub-repo/pull/443 for the 2.3 branch
Should also resolve vulnerability issue https://github.com/open-cluster-management/backlog/issues/15248
Signed-off-by: Jakob Gray<EMAIL_ADDRESS>

/lgtm


Collaborate!

@therealprof @jamwaffles
At leas the three of us have some code lying around trying to accomplish different things with this little display. This repository was offered up as a forum for putting together an SSD1306 driver we can all work with at rust-lang-nursery/embedded-wg#39.
I think we should lay down what our various goals are and decide the best path forward here.

It seems like the biggest bit of what I've worked on that seems to be useful here is the command interface. One route we may want to take, and I think it's a good idea, is to pull that bit out into an ssd1306-cmd crate so that if someone doesn't like the abstraction we end up adding, they don't have to start from scratch.
It could include I2C and SPI implementations of an ssd1306-cmd::{Write, Read} traits (read isn't useful for i2c, but it is for spi) on the embedded-hal, or just the enum and conversions to bytes to be sent.

I'd say let's keep it all in one piece, I'm not a big fan of splitting up things that really belong together into too many pieces...
From where I'm standing I can see the following layers:

Generic communication layer (I2C and SPI, maybe parallel too at some point)
Commands
Setup
Output (Direct drawing @scowcron, Framebuffer Iterator @jamwaffles, Direct character output @therealprof)

In the end I would expect that an application can set up the communication channel, consume it into a SSD1306 communication layer, do some application specific setup (i.e. set up orientation, size, charge pump), and consume it into an output channel and use the display.

Oh hello!
I agree. I don't think we need to split the command interface out right now, although exposing a configuration interface to the user to perform common commands would be useful. Things like "set rotation to Xº" as opposed to "send some hex down the wire". If it could be reused by the Builder interface that would be a bonus.
I'm going to open issues for the ideas, features and fixes I have in my head. I'd welcome you all to do the same to get a more granular picture of what people want.
How do we want to handle contributions? I think we should stick to PRs for now for visibility on changes, but I'm certainly not opposed to adding contributors to this project.

@scowcron

It seems like the biggest bit of what I've worked on that seems to be useful here is the command interface.

It is, and thank you for doing the legwork getting it working.

That's why I published it :)

So I was just looking into how to get the Builder interface to work with different drawing interfaces and I'm not quite sure how to build that into the builder interface. Ideally each drawing interface should have their own type so the interfaces are truly separate but once the connect_xxx() has been called the boat has pretty much sailed.

So thinking a bit more about this. I think we can introduce display modes by separating the current buffer initialisation from the interface initialisation. Then we could use different types for the different modes and into_...() functions to turn the initialised display interface into a specific output interface.
I'd have called @jamwaffles egfx, mine char and @scowcron pixbuf.
Comments?

Moved to #25


RDeque Or RPriorityDeque Lost data

version: redisson-3.13.2
add code:

consumer code:

add success, but Occasionally, data is not consumed .
There is no recurrence problem in the local stress test, but it occurs occasionally in the production environment

RPriorityDeque isn't compatible with RBlockingDeque object.


Incorrect Interface typed used in code generation

Hi,
I have generated TS types for my smart contracts , however there are TS errors in the types generated. I have debugged the issue and found that if I change the generated code from:
interface AirnodeRrpInterface extends ethers.utils.Interface {
...
}

to
import { Interface } from "@ethersproject/abi";

interface AirnodeRrpInterface extends Interface {
...
}

there are no more type errors.
I am using:

TS verson 4.1.2
"@typechain/ethers-v5": "^6.0.5"
"typechain": "^4.0.3"

And I am executing this command: yarn typechain --target ethers-v5 --outDir ./src/types './artifacts/contracts/**/!(*.dbg).json' (the contracts in the path are autogenerated).
P.S. Thanks for this library :)

Thanks for this issue. Clearly seems like a bug on our part. I will try to get it fixed this week.

I am having problems trying to reproduce it. Can you create a repository with minimal reproducible example?

Hi, you can find it (not) working in our project: https://github.com/api3dao/airnode/tree/master/packages/protocol
Files generated by typechain are gitignored and I am using grep to correct the imports https://github.com/api3dao/airnode/blob/master/packages/protocol/package.json#L10
Maybe the problem is on my end, but not sure where.

Experiencing the same bug.
{
  "@typechain/ethers-v5": "^7.0.0",
  "typechain": "^5.0.0",
  "typescript": "^4.1.5"
}

Can you prepare minimal reproducible example @davidtperk? (repo or something?)
It really takes me a lot of time to dive into a big project and try to realize what's triggering a bug. Thanks!

@krzkaczor it looks like my yarn.lock fell out of sync with package.json, creating some dependency conflicts. Deleted it, re-ran yarn, and working smoothly now. Thanks.

I am gonna close it for now. Please reopen with minimal repro.


Implement

Introduce a new element in TexureJATS <pub-loc> being a super element for <fpage>, <lpage>, <page-range>, and <elocation-id>
<pub-loc> has an attribute type='print|electronic'
UI should

provide a means to switch between the two types
show a form with either fpage, lpage, and page-range, or elocation-id depending on the type

Converter should

wrap original elements into a <pub-loc> detecting the type during import
map back to the original JATS elements, dropping unnecessary fields, depending on the type

@oliver---- @michael can I just confirm my understanding that texture will provide both the TextureJATS model and a UI?
If my understanding is correct, is it possible to separate these out? My use-case is that the model will be used in CLI node tools for normalising and validating JATS documents, while the UI will be used in electron apps.

@blahah The goal is to define JATS4R as being JATS without ambiguities. There is some effort necessary to transform all JATS dialects into JATS4R. How we want to maintain this is not yet clear, would be good to have this in Texture, too.
Texture itself takes JATS4R, transforming it into TextureJATS, which is actually not JATS anymore, but should be transformed 100% loss-free in both directions.
Texture comes with validators for JATS, JATS4R, particularly the latter being the precondition for being editable within Texture UI.
So I think this should be what you need, but there is some work to be done in the JATS -> JATS4R layer.

@oliver---- sorry, I commented here then moved my comment to a new issue to avoid overlapping concerns - but failed as our comments crossed on the wire!
OK, so am I correct in understanding that once the primary goal is achieved, that will be the time to raise issues of how the architecture can be useful in secondary use-cases?

I think so. With Texture we do not want to promote TextureJATS as exchange model. Maybe in the far future, but it is not realistic to propose a schema that is incompatible with JATS. We called it TextureJATS, to reduce fear ;) and also because it is JATS + some minor extension.
Instead we want to propose JATS4R as the JATS interchange format, so that other people know how to adapt their JATS toolchains to be compatible with output from Texture.
We should probably write a technical blog soon, explaining the whole picture including some use-cases.

Thanks for explaining - I will await more details + release before asking more questions. If you have any questions RE my use-case, you know where to find me in the meantime :)

Done.


Use refresh_from_db() instead of self implemented reload() methods

(This is neither a bug nor a feature request, therefore I didn't know how to classify it.)
Django, since at least version 1.8, offers a method to reload / refresh an object from the database.
For better readability and code cleanness, Django-CMS should use that method instead of re-implementing this functionality itself.
Occurrences found here:
https://github.com/divio/django-cms/blob/develop/cms/models/pagemodel.py#L116
https://github.com/divio/django-cms/blob/develop/cms/models/pagemodel.py#L1559
https://github.com/divio/django-cms/blob/develop/cms/models/pluginmodel.py#L269
I assume that in earlier versions of django-CMS Model.refresh_from_db(using=None, fields=None, **kwargs)
didn't exist yet, therefore these methods were implemented at the time.
Shall I create a pull request?

@victor-yunenko or @Aiky30 feedback welcome :)

@jrief Sounds sane to me, I would say that if tests don't exist for the refresh feature we should implement them. The original _reload and reload methods can be kept as it looks like whoever built them new that the Django change was coming, it also provides an api for third parties to hook into forcing a reload.

@jrief sounds reasonable to me. I labelled this as "needs contribution".

I feel like this got done but I may be wrong

I tried to do this, but it doesn't work, as the reload method returns a new object from the database and the refresh_from_db returns the same object, which means a lot of the tests are failing.