dev branch configuration seems wrong

Describe the bug
I am getting these errors:
cache_1            | 1:S 18 Mar 2023 20:07:02.150 * Connecting to MASTER <IP_ADDRESS>:8886
cache_1            | 1:S 18 Mar 2023 20:07:02.150 * MASTER <-> REPLICA sync started
cache_1            | 1:S 18 Mar 2023 20:07:02.206 # Error condition on socket for SYNC: Connection refused
query-worker_1     | [2023-03-18 20:07:02,647: CRITICAL/MainProcess] Unrecoverable error: ReadOnlyError("You can't write against a read only replica.")
query-worker_1     | Traceback (most recent call last):
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/celery/worker/worker.py", line 203, in start
query-worker_1     |     self.blueprint.start(self)
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/celery/bootsteps.py", line 116, in start
query-worker_1     |     step.start(parent)
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/celery/bootsteps.py", line 365, in start
query-worker_1     |     return self.obj.start()
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/celery/worker/consumer/consumer.py", line 332, in start
query-worker_1     |     blueprint.start(self)
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/celery/bootsteps.py", line 116, in start
query-worker_1     |     step.start(parent)
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/celery/worker/consumer/connection.py", line 21, in start
query-worker_1     |     c.connection = c.connect()
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/celery/worker/consumer/consumer.py", line 430, in connect
query-worker_1     |     conn.transport.register_with_event_loop(conn.connection, self.hub)
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/kombu/transport/redis.py", line 1292, in register_with_event_loop
query-worker_1     |     cycle.on_poll_init(loop.poller)
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/kombu/transport/redis.py", line 539, in on_poll_init
query-worker_1     |     return channel.qos.restore_visible(
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/kombu/transport/redis.py", line 403, in restore_visible
query-worker_1     |     with Mutex(client, self.unacked_mutex_key,
query-worker_1     |   File "/usr/lib64/python3.9/contextlib.py", line 119, in __enter__
query-worker_1     |     return next(self.gen)
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/kombu/transport/redis.py", line 163, in Mutex
query-worker_1     |     lock_acquired = lock.acquire(blocking=False)
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/redis/lock.py", line 207, in acquire
query-worker_1     |     if self.do_acquire(token):
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/redis/lock.py", line 223, in do_acquire
query-worker_1     |     if self.redis.set(self.name, token, nx=True, px=timeout):
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/redis/commands/core.py", line 2220, in set
query-worker_1     |     return self.execute_command("SET", *pieces, **options)
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/redis/client.py", line 1238, in execute_command
query-worker_1     |     return conn.retry.call_with_retry(
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/redis/retry.py", line 46, in call_with_retry
query-worker_1     |     return do()
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/redis/client.py", line 1239, in <lambda>
query-worker_1     |     lambda: self._send_command_parse_response(
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/redis/client.py", line 1215, in _send_command_parse_response
query-worker_1     |     return self.parse_response(conn, command_name, **options)
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/redis/client.py", line 1254, in parse_response
query-worker_1     |     response = connection.read_response()
query-worker_1     |   File "/opt/app-root/lib64/python3.9/site-packages/redis/connection.py", line 839, in read_response
query-worker_1     |     raise response
query-worker_1     | redis.exceptions.ReadOnlyError: You can't write against a read only replica.
8knot_callback-worker_1 exited with code 0
cache_1            | 1:S 18 Mar 2023 20:07:03.155 * Connecting to MASTER <IP_ADDRESS>:8886
cache_1            | 1:S 18 Mar 2023 20:07:03.155 * MASTER <-> REPLICA sync started
cache_1            | 1:S 18 Mar 2023 20:07:03.235 # Error condition on socket for SYNC: Connection refused
cache_1            | 1:S 18 Mar 2023 20:07:04.159 * Connecting to MASTER <IP_ADDRESS>:8886
cache_1            | 1:S 18 Mar 2023 20:07:04.159 * MASTER <-> REPLICA sync started
8knot_query-worker_1 exited with code 0
cache_1            | 1:S 18 Mar 2023 20:07:05.235 # Error condition on socket for SYNC: Connection refused
cache_1            | 1:S 18 Mar 2023 20:07:06.166 * Connecting to MASTER <IP_ADDRESS>:8886
cache_1            | 1:S 18 Mar 2023 20:07:06.166 * MASTER <-> REPLICA sync started
cache_1            | 1:S 18 Mar 2023 20:07:06.244 # Error condition on socket for SYNC: Connection refused
cache_1            | 1:S 18 Mar 2023 20:07:07.171 * Connecting to MASTER <IP_ADDRESS>:8886
cache_1            | 1:S 18 Mar 2023 20:07:07.171 * MASTER <-> REPLICA sync started
cache_1            | 1:S 18 Mar 2023 20:07:07.215 # Error condition on socket for SYNC: Connection refused
cache_1            | 1:S 18 Mar 2023 20:07:08.174 * Connecting to MASTER <IP_ADDRESS>:8886

To Reproduce
Steps to reproduce the behavior:

Clone repository on an EC2 instance
sudo docker-compose up --build
Wait

Expected behavior
I would not expect these errors
Additional context
OS: Ubuntu 22.x on an ec2 instance.

The latest dev version is working.


Update Project.toml to tag new release

Purpose
Update the Project.toml for the new release v0.2.2
To-do

[x] I have read and checked the items on the review checklist.

bors r+

bors r+


feat: x/blocksdk

This PR adds the x/blocksdk module.
This PR does not add the integration into the lane-setting code of the SDK.  That work will be done in a follow up PR while this is finalized.

Note: files modifed in abci, adapters, and block are just from running the formatter.


Make back button a link

If possible I'd recommend using real paths and not JavaScript history API, depending on how a user enters one of these pages they may go back to the wrong page.

@mmholland88 has requested we merge this ahead of lab research happening tomorrow.
(cc @thomasleese)


Project Proposal -  eGutka Sahib

ਗੁਰਬਾਣੀਗਾਵਹਭਾਈ॥
Sing the Word of the Guru's Bani, O Siblings of Destiny.
ਓਹਸਫਲਸਦਾਸੁਖਦਾਈ॥
That is always rewarding and peace-giving.
Waheguru Ji Ka Khalsa
Waheguru Ji Ki Fateh ji
The purpose of this project is to provide a kindle like e-ink eGutka Sahib with large battery life (~30 days), with features of a modern Gurbani App like STTM

need to create a Kickstarter project soon
alongside software development


Chained field ignores "selected" attribute.

Hi. I am using the dependent fields functionality and I am trying to preselect the options instead of returning the filtered queryset. I have a custom ajax view which returns the correct data according to my needs in the following format defined by select2 API:
{
    "more": false,
    "results": [
        {
            "text": "Option 1",
            "selected": false,
            "id": 5
        },
        {
            "text": "Option 2",
            "selected": true,
            "id": 6
        }
    ]
}

My code:
class AutoSelectedResponseView(AutoResponseView):
    def get_queryset(self):
        """Override queryset to return all results, not only dependent"""
        whole_qs = self.widget.filter_queryset(self.term, self.queryset)
        return whole_qs

    def get(self, request, *args, **kwargs):
        """
        Return a :class:`.django.http.JsonResponse`.

        Example::

            {
                'results': [
                    {
                        'text': "foo",
                        'id': 123,
                        'selected': false
                    }
                ],
                'more': true
            }

        """

        self.widget = self.get_widget_or_404()
        self.term = kwargs.get('term', request.GET.get('term', ''))
        self.object_list = self.get_queryset()
        context = self.get_context_data()

        # dependent/filtered results
        dependent_qs = super(AutoSelectedResponseView, self).get_queryset()

        return JsonResponse({
            'results': [
                {
                    'text': self.widget.label_from_instance(obj),
                    'id': obj.pk,
                    'selected': obj in dependent_qs  # selected if object is dependent
                }
                for obj in context['object_list']
                ],
            'more': context['page_obj'].has_next()
        })

Unfortunately, the value is never pre-selected. Any ideas why? Thank you.

Hi @eriktelepovsky I don't know about any selected attribute in the default API parser. You should really take this to the select2 repo, I believe they might be able to help you. Sorry that I can't :/

Hi @codingjoe and thank you for your answer. Please look into select2 API:
https://select2.org/data-sources/formats#selected-and-disabled-options
There already is the "selected" attribute and it works fine. I am just not able to get it work with your django-select2 library. Can you collaborate, please? Thank you in advance.

Ok, my best guess is, that it doesn't work, because the API call is only made if you actually search for something. When the page is rendered no AJAX call is made. Why don't you want all the selected choices to be rendered using Django's template engine anyways? Can you elaborate more on the use case?

Thank you for your reply. Let me clarify it a little bit more. Let's use a code in your "testapp". There are the Country and City models. Imagine, there are thousands of cities saved in the database and mapped to the countries they belong to, so I can't use the native select widget. I need ajax solution to speed it up. I want to show two selects in my form: one for a country and one for a city. The city dropdown should be dependent on the country of course. I am trying to show cities which belong to chosen country (already possible) and pre-select the capital city. What do you think?

@eriktelepovsky oh, ok, that is a tricky one. I believe that exceeds the possibilities of this package. I would recommend to build a more specific javascript interface for that use case and probably separate REST endpoints.

I don't think it is a very tricky. I already have a custom AutoResponseView with custom API endpoint:
urls.py:
url(r"^fields/auto-selected.json$", AutoSelectedResponseView.as_view(), name="django_select2-json-selected"),

views.py
class AutoSelectedResponseView(AutoResponseView):
    def get_queryset(self):
        """Get full QuerySet from cached widget."""
        whole_qs = self.widget.filter_queryset(self.term, self.queryset)
        return whole_qs

    def get(self, request, *args, **kwargs):
        """
        Return a :class:`.django.http.JsonResponse`.

        Example::

            {
                'results': [
                    {
                        'text': "foo",
                        'id': 123,
                        'selected': false
                    }
                ],
                'more': true
            }

        """

        self.widget = self.get_widget_or_404()
        self.term = kwargs.get('term', request.GET.get('term', ''))
        self.object_list = self.get_queryset()
        context = self.get_context_data()

        # dependent/filtered results
        dependent_qs = super(AutoSelectedResponseView, self).get_queryset()

        return JsonResponse({
            'results': [
                {
                    'text': self.widget.label_from_instance(obj),
                    'id': obj.pk,
                    'selected': obj in dependent_qs  # selected if object is dependent
                }
                for obj in context['object_list']
                ],
            'more': context['page_obj'].has_next()
        })

and it already returns the data in a correct format defined by select2 API:
{
    "more": false,
    "results": [
        {
            "text": "Option 1",
            "selected": false,
            "id": 5
        },
        {
            "text": "Option 2",
            "selected": true,
            "id": 6
        }
    ]
}

forms.py:
my_field = forms.ModelChoiceField(
        queryset=MyModel.objects.all(),
        widget=ModelSelect2Widget(
            model=MyModel,
            dependent_fields={'parent': 'parents'},
            data_view='django_select2-json-selected',
            max_results=MyModel.objects.all().count()
        )
    )

I just don't understand, why the "selected" attribute is ignored by the dropdown and the options are not pre-selected? JavaScript select2 library already supports this. I can see the items in response array with "selected": true in Google Chrome Console as well.
Can you help a little bit more, please? You would know the best as the author of this library. Thank you.

@eriktelepovsky as I mentioned before, they are not selected because the the JSON is not loaded. You will need to tell the second select 2 widget to load the selected choices. Otherwise selected choices will only be loaded if you use the search.

Hi @codingjoe I'd like to ask you: do you know if there is a way to retrieve the select2 data/options when "open" event is triggered, please?
My idea is to listen on "change" event of the parent field and then open the child select. I am trying to avoid calling ajax call programatically as I know it is called when select is opened, right?
I was looking in the https://select2.org/programmatic-control/events, but couldn't find anything useful, so I was asking myself you can maybe help.
Thank you.

Hi @eriktelepovsky I don't know any solution from the top of my head. I believe the guys at select2 might be able to help you. Best Joe


feat: added error 404 page

Title and Issue number
Title :Addition of 404 page
Issue No. : #609
Code Stack : HTML
Close #609
Description
Added a animation and a home button
Video/Screenshots (mandatory)
https://github.com/apu52/Travel_Website/assets/119691733/ac28f9de-6478-44df-bc66-b3b5f7974d41
Type of PR

[x] Feature enhancement

Checklist:

[x] I have performed a self-review of my code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have gone through the  contributing.md file before contributing

##Are you contributing under any Open-source programme?
GSSoC'24

@apu52 Please review this PR


Gateway retrydiscovery

Feature #1747: Improve connections in TorQ Gateway

Could you remove .servers.retrydiscovery[] from the sleep logic - that should already be called in .servers.startup[]


Go to definition is not available in new Analysis engine

With Jedi:

With new analysis engine:

@MikhailArkhipov cc

This is probably also why symbol navigation lists nothing ATM.


does not seem to work for serial ports in Windows 10

This doesn't seem to work for serial ports in Windows 10?
rundll32.exe devmgr.dll,DeviceProperties_RunDLL /MachineID "" /DeviceID "ACPI\VEN_PNP&DEV_0501"

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

ID: 496b0399-54a7-d7df-2905-f727e32ea3c1
Version Independent ID: d8d259f2-27f7-2b08-83ff-5750ed0db982
Content: Invoking a Device Properties Dialog Box from Command-line Prompt - Windows drivers
Content Source: windows-driver-docs-pr/install/invoking-a-device-properties-dialog-box-from-a-command-line-prompt.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @tedhudek
Microsoft Alias: tedhudek

Duplicate of #2104


I'm not a bot

I was listed on this list (oozebrood) however I'm not a bot. Please update.

hmmm.... you were seen in 166 different channels within 24 hours
ok sure

Twitch Username
Last Seen In x Live Channels
Last Seen At

oozebrood
166
Fri, 11 Mar 2022 02:02:27 GMT

oozebrood
{
"data": [
{
"id": "254169644",
"login": "oozebrood",
"display_name": "oozebrood",
"type": "",
"broadcaster_type": "affiliate",
"description": "Variety outdoor IRL streamer who's passion in live is fish sandwiches. Come along for the adventure and see what we find next!",
"profile_image_url": "",
"offline_image_url": "offline_image-1920x1080.png",
"view_count": 119119,
"created_at": "2018-09-02T01:20:17Z"
}
]
}
checked your clips and highlights
sorry, i do a lot of automated based on this list:
https://twitchinsights.net/bots


Optimizing Runge-Kutta4 algorithm

vec3 rk4 = (k1 + 2.0 * k2 + 2.0 * k3 + k4) / 6.0;
-> vec3 rk4 =k1 + (k1 + 2.0 * k2 + 2.0 * k3 + k4) / 6.0;

I think maybe it is better to remove the Runge-Kutta4 rather than "optimize" them.
Here is the experiment result I get with RK4 removed.

Is this what you want, or at least better than the previous one?

remove the Runge-Kutta4   it is better.


Don't jump back

Proposal:
Proposal written by Wandi#9576
What is the title of your proposal?: Don't jump back
Is it a suggestion for the website or for the bot?: Website
Explain your proposal more accurately (It's best to give as much information as possible, so that we can implement the proposal better): If you go to an option in the dashboard (Utility, Fun, Administration etc.) you can enable or disable modules. My proposal now is, if you enable (or disable) a module, you won't jump back to the top of the site.
Why we should add this feature?: I think it is more pleasant to operate with
ReportID: 45

➤ LenoxBot commented:
https://youtu.be/B-xVP1qriQM
Dadi#7808

➤ LenoxBot commented:
Approve:
Good proposal
KeinEmxl#3887

➤ LenoxBot commented:
Approve:
good proposal
Dadi#7808

➤ Monkeyyy11 commented:
we want to implent ajax so there's no reload of the site anymore when submitting something

➤ LenoxBot commented:
Approve:
I agree with Dadi and Emxl.
JUV#4292

We need to introduce superagent (same as AJAX) for this feature
Same as #45


[Enhancement] Two-handed sword spin attacks

This establishes parity with the magic spin attack for the Fierce Deity sword and the Great Fairy's Sword. Do note that I had to do some refactoring in z_player.c to make the GFS work, as there are various points where only the B button was checked for input, while the GFS is a C-button item.
https://github.com/HarbourMasters/2ship2harkinian/assets/7004497/cc63727c-38cd-4009-9a71-52045088b3d2

Build Artifacts

2ship-linux.zip
2ship-windows.zip
2ship-mac.zip

this is godlike! this was one of my big asks! have fd link be able to use the spin attack!

I addressed the feedback. For players, the main change of note is that the new two-handed sword magic charge visual effect will only display when this enhancement is enabled.


feat: Date Field add data-placeholder attribute and delete improv

Changes
Currently i am porting Origin UI to Svelte (See). As i was trying to port the Components over i saw that you are handling the placeholder styles with:
<component class="aria-[valuetext=Empty]:something"></component>

The React Aria Datepicker changes the aria-valuetextbased on the locale. So the styling would only work if the locale isen. If you decide to implement translation based on the locale in the future, the current implementation would break styling.
On top of that, as i was writing the tests for that i saw that a CTRL + A + BACKSPACE / DELETE deletion was not reliably possible. I don't really know if you want to change that. Again, the React Aria implementation doesn't have that. You can't even CTRL + A a Segment (which i find weird). 🤷♂
1. TLDR: Improved placeholder handling

Added data-placeholder="true" attribute to empty date/time segments
Replaced the previous aria-[valuetext=Empty]:text-muted-foreground styling approach
This change makes the placeholder styling more robust and locale-independent

Previous implementation relied on valuetext which varies based on locale
Example: styling would only work if you decide to never implement i18n
New approach works consistently, even if changes are happening in the future

2. TLDR: Enhanced deletion behavior

Added proper support for clearing date/time segments when fully selected
Now supports both:

CTRL + A + Backspace
CTRL + A + Delete

Test Coverage
Added two tests:

Verification of clearing date segments when fully selected:

//date-field.test.ts
  it("should clear date segments when fully selected and backspace is pressed", async () => {
    // Tests CTRL + A + Backspace functionality across all segments
  });

Verification of data-placeholder attribute behavior:

//date-field.test.ts
it("should apply data-placeholder attribute to empty segments", async () => {
// Tests initial state, filling, clearing, and partial input scenarios
});

Visual Changes
Empty date/time segments now use data-placeholder attribute for styling
Visual appearance remains the same, but implementation is more robust
Testing Instructions
Open the DateField component (or based on that)
Try selecting all text in any segment (CTRL + A)
Verify deletion works with both:

Backspace key
Delete key

Verify placeholder styling appears correctly when segments are empty

Wow, thanks for this! I will give it a look very soon!

https://github.com/user-attachments/assets/4219af3a-cef0-4b03-9b34-a93112d1e4ed
Here's some interesting behavior that we should perhaps account for. Should we deselect the text once it is complete?

Interesting, is something like the that desirable?
https://github.com/user-attachments/assets/a463db2a-3753-4490-805d-66d867692a5e

If the whole block is highlighted, my instinct says the next number I type should replace the entirety of the highlighted block, similar to how it would work if you highlighted editable text and started typing, right?

I am totally on your side, but with your current implementation you aren't able to input a single value / replace the entirety, because you prepend the value with zeros. Therefor (bc of consistency) my implementation is "more" correct i think.
In the Svelte 4 Version of bits or in React Aria that isn't the case. Here you can input "5" for example and the value would stay that way (which i prefer). If you want to change that behavior your idea would be more correct.


Is there no way to have these models run on different WebUis?

Apple users are limited to some of these Ui that dont have enough functionality..? no way to make the model into a safetensor that could be loaded into Auto111 or ComfyUi? but still keep the benefits?

I think you need to ask Auto1111 or ComfyUI to beef up their support for a native Apple pipeline.  It isn't really anything that this repo can change with just a model.

I believe the issue could be tracked here.

I believe the issue could be tracked here, also Jonathan made a script which streamlines the installation process.


Start JWST MIRI implementation

Placeholder issue for initial implementation of JWST MIRI support. Many details TBD.

@alexbidot has started this


Using "long way" deployment doesn't create ACS resource

Is this a request for help?:
yes
Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE
What version of acs-engine?:
0.7.0
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
kubernetes 1.7.2
What happened:
Using "long way" descibred here https://github.com/Azure/acs-engine/blob/master/docs/kubernetes/deploy.md
The command result is "succeed" but when I run az acs ls I got an empty list.
In azure portal I can see the resource group with all expected elements
What you expected to happen:
az acs ls must show created cluster
How to reproduce it (as minimally and precisely as possible):
just follow the link in previous secion
Anything else we need to know:

Pretty sure you need to use az acs (and not acs-engine itself) to create the cluster if you need to interact with the cluster using az acs afterwards.

it does makes sense, but is quite misleading as mostly documentation mixes both concepts.
It also will make sense if acs-engine is seens as a custom ACS in azure, so some acs commands can be used


Kia Australia - Cannot login - logs say Kia is not supported in Australia yet

Please check Services, Known Bug / Issues and Troubleshooting over here first: https://github.com/fuatakgun/kia_uvo/blob/master/README.md
Region and Brand of car
Australia (Perth) - Kia EV9
Version of the integration
v2.20.2
Describe the bug
When entering the required details (Username, Password & Pin) and selecting the Region of Australia and the Brand of Kia, an Unexpected error occurs
The logs show that Kia is not supported in Australia yet, I'd be happy to volunteer to be a test user and contribute to the development/expansion of the integration.
Debug logs if an error occurred
2024-02-12 16:38:58.509 ERROR (MainThread) [custom_components.kia_uvo.config_flow] Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/kia_uvo/config_flow.py", line 159, in async_step_user
await validate_input(self.hass, user_input)
File "/config/custom_components/kia_uvo/config_flow.py", line 58, in validate_input
api = VehicleManager.get_implementation_by_region_brand(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 257, in get_implementation_by_region_brand
return KiaUvoApiAU(region, brand, language)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 106, in init
raise APIError("Kia is not supported in Australia yet")
hyundai_kia_connect_api.exceptions.APIError: Kia is not supported in Australia yet
To Reproduce
Login with valid credentials and choose Region of Australia, Brand of Kia
Expected behavior
Able to login and see EV9 device and entities
Screenshots

Additional context

I am also in Australia and seeing the same error as above. I have a Kia Niro GT-Line. Happy to assist with testing where possible.

Could you try master branch?

Working for me now in v2.22.0. Thank you!


fzf: 0.39.0 -> 0.40.0

Diff: https://github.com/junegunn/fzf/compare/0.39.0...0.40.0
Changelog: https://github.com/junegunn/fzf/blob/0.40.0/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Confirming this PR also builds and runs on aarch64-darwin 🙂

37 packages built:
adl ani-cli arsenal arsenal.dist felix-fm fishPlugins.fzf-fish fontpreview fzf fzf-git-sh fzf-zsh fzf.man kakounePlugins.fzf-kak license-cli navi python310Packages.pyfzf python310Packages.pyfzf.dist python311Packages.pyfzf python311Packages.pyfzf.dist spacevim sway-launcher-desktop sysz tmuxPlugins.extrakto tmuxPlugins.fuzzback tmuxPlugins.tmux-fzf unipicker vimPlugins.fzf-hoogle-vim vimPlugins.fzf-lua vimPlugins.fzf-vim vimPlugins.fzfWrapper vimPlugins.telescope-zoxide vimPlugins.vim-fzf-coauthorship vimPlugins.vim-zettel vimPlugins.zoxide-vim xmloscopy ytfzf zoxide zsh-forgit

Result of nixpkgs-review pr 229195 run on x86_64-linux 1

37 packages built:

adl
ani-cli
arsenal
arsenal.dist
felix-fm
fishPlugins.fzf-fish
fontpreview
fzf
fzf-git-sh
fzf-zsh
fzf.man
kakounePlugins.fzf-kak
license-cli
navi
python310Packages.pyfzf
python310Packages.pyfzf.dist
python311Packages.pyfzf
python311Packages.pyfzf.dist
spacevim
sway-launcher-desktop
sysz
tmuxPlugins.extrakto
tmuxPlugins.fuzzback
tmuxPlugins.tmux-fzf
unipicker
vimPlugins.fzf-hoogle-vim
vimPlugins.fzf-lua
vimPlugins.fzf-vim
vimPlugins.fzfWrapper
vimPlugins.telescope-zoxide
vimPlugins.vim-fzf-coauthorship
vimPlugins.vim-zettel
vimPlugins.zoxide-vim
xmloscopy
ytfzf
zoxide
zsh-forgit


[Bug report] Fails to update site after config file is added or updated

Bug report
Description
Pages are not updated to reflect addition of or changes in .vuepress/config.js.
I am looking at the page title and description in the Hero Page elements
Steps to reproduce

Run the dev server on a virgin repo.
Add a config.js file.

Nothing happens

Close the dev server and restart it.

Configuration updates

Change a field like title in 'config.js'.

Dev server restarts (or at least message to that effect), but page does not update. I have refreshed the browser and opened the page in a different browser. The page is not updated irrespective.

Cut the server and restart.

Text is updated.
Expected behavior
The addition and/or update of config file should cause an update to the pages.
Environment info

Browser: Brave, Firefox
Output of vuepress info:

  System:
    OS: Windows 10 10.0.19042
    CPU: (4) x64 Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
    Memory: 1.30 GB / 7.91 GB
  Binaries:
    Node: 14.17.5 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 6.14.14 - C:\Program Files\nodejs\npm.CMD
  Utilities:
    Git: 2.30.1. - /mingw64/bin/git
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.19041.1266.0), Chromium (96.0.1054.62)
  npmPackages:
    @vuepress/bundler-vite:  2.0.0-beta.32
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli:  2.0.0-beta.32
    @vuepress/client:  2.0.0-beta.32
    @vuepress/core:  2.0.0-beta.32
    @vuepress/markdown:  2.0.0-beta.32
    @vuepress/plugin-active-header-links:  2.0.0-beta.32
    @vuepress/plugin-back-to-top:  2.0.0-beta.32
    @vuepress/plugin-container:  2.0.0-beta.32
    @vuepress/plugin-debug: Not Found
    @vuepress/plugin-docsearch: Not Found
    @vuepress/plugin-external-link-icon:  2.0.0-beta.32
    @vuepress/plugin-git:  2.0.0-beta.32
    @vuepress/plugin-google-analytics: Not Found
    @vuepress/plugin-medium-zoom:  2.0.0-beta.32
    @vuepress/plugin-nprogress:  2.0.0-beta.32
    @vuepress/plugin-palette:  2.0.0-beta.32
    @vuepress/plugin-prismjs:  2.0.0-beta.32
    @vuepress/plugin-pwa: Not Found
    @vuepress/plugin-pwa-popup: Not Found
    @vuepress/plugin-register-components: Not Found
    @vuepress/plugin-search: Not Found
    @vuepress/plugin-shiki: Not Found
    @vuepress/plugin-theme-data:  2.0.0-beta.32
    @vuepress/plugin-toc: Not Found
    @vuepress/shared:  2.0.0-beta.32
    @vuepress/theme-default:  2.0.0-beta.32
    @vuepress/utils:  2.0.0-beta.32
    vue:  3.2.26
    vue-loader: Not Found
    vue-router:  4.0.12
    vuepress: ^2.0.0-beta.32 => 2.0.0-beta.32
    vuepress-vite:  2.0.0-beta.32
    vuepress-webpack: Not Found

I have this same issue.
Modifications to .vuepress/config.js gets highlighted in the terminal but doesn't reflect in browser except I manually restart server
Browser: Chrome

Duplicate of #611. #611 pointed out the root cause of the bug, so I'll close this one. Thanks for reporting anyway.


Lines of examples can also start with ... instead of >>>

Is your feature request related to a problem?
I've overlooked that lines containing example code can also start with ... instead of >>>. Example from TabularDataset:
Examples
--------
>>> from safeds.data.labeled.containers import TabularDataset
>>> dataset = TabularDataset(
...     {"id": [1, 2, 3], "feature": [4, 5, 6], "target": [1, 2, 3]},
...     target_name="target",
...     extra_names=["id"]
... )

Desired solution
Treat lines starting with ... the same as lines starting with >>> when creating examples in the stubs.
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response

:tada: This issue has been resolved in version 0.3.0 :tada:
The release is available on:

v0.3.0
GitHub release

Your semantic-release bot :package::rocket:


[MRG] Update pymatreader to version 0.0.19.

This PR updates pymatreader to the latest version. The only (but important) change is that the uint64 datatype of matlab used to be handled as a character. This created problems when reading some FieldTrip structures.

no idea why codecov complains. i never touched the lines it reports...

Don’t bother. Good to go from your end ?

Thanks @thht


Which version should I place?

I have a server in 1.16, and I want to use the proxy, but I don't know how to configure it with that version thing to get players from 1.16 in, put it in version '1. 16' but it doesn't work. Any solution or someone to instruct me how to put everything?

Hey,
you do not need to change the Version anywhere. Just download the newest jar file, linked in the News Channel of our Discord Server, and you should be set, as long as your Serversoftware (PocketMine, Nukkit..) already supports 1.16.

Okay, I'm already getting the MOTD, but now when I try to get in it tells me "outdated server", but the pocketmine is the latest version (1.16)

Download from this link.
https://jenkins.mizerak.eu/view/Alemiz-Jobs/job/WaterDog/job/alemiz-zlib/4/

Oh man thanks


Install path on Windows

I was just looking for where Atom installed itself and I saw that it's a user-context installation. Unfortunately it's not in the correct path for user-context installations.
If you have a look at the Windows Dev Center page for Installation Context you'll see that user-context installations go to %LocalAppData%\Programs, but Atom installed itself to just %LocalAppData%. It would be great if this could be changed to adhere to Windows standards.

Or how about being able to choose the install path? Like every other installer instead of this silent installer

@RichardMisencik There has already been an issue about that and it has been closed for good reason.
This issue is about just the user-context installation path not adhering to Windows standards.

Hmm.  I have a bunch of stuff under %localappdata%, but only a single Python folder under %localappdata%\Programs.
/cc @paulcbetts

@50Wliu, same here... But based on the article referenced by @xelra I think this is the result of the fact that older versions of Windows (apparently) did not have a dedicated folder for Per-User Installations, and so programmers decided to just put Per-User Installations in %LocalAppData% (but this is pure speculation).

Windows Server 2008 and earlier, and Windows Vista and earlier:  No per-user capable folder is available. The path is the same as for the per-machine context (for example, %ProgramFiles% or %ProgramFiles(x86)%.) Files in this folder can be accessed by all users.

Given this context, I see no reason not to install Atom in %LocalAppData%\Programs if that is the official/intended way to install Per-User Installations by Windows.

I just installed Atom today for the first time and got surprised that it did not asked for an install folder.
Googled and found a few threads about it, including a thread with some project contributors arguing that "asking for an install folder is a dumb question that shouldn't be asked".
https://github.com/atom/atom/issues/7095
This was one of the stupidest things I've ever read in my entire life. I'm very disappointed, because I thought Atom was an interesting idea and a possibly good editor, but if that is the type of position the team behind it upholds, I can already see it is completely opposite to mine (I believe users should have control and options, always).
Yes, I could create a syslink. Or the developers could not be lazy and actually make an installer that works like every single other decent windows installer.

@EllyeFS Please do not hijack my issue for another issue ("Customizability of the install path in the installer on Windows").
Personally I completely agree with the current stance of non-customizability. On every OS other than Windows it is common place not to get asked about where software gets installed. There are pre-defined paths that get chosen based on the installation context.
On Windows it's actually no different. Microsoft tells developers exactly (see my link) where software should be installed. Choosing custom install paths actually has implications for security and inter-operability. Only because the common Windows installers chose to ignore this for 30 years, doesn't make it a good choice, it just creates a generation of miseducated users.
Even on Windows this is changing though. With package managers like Chocolatey or the Windows App Store taking over, there won't be any custom installations anymore.
Just think about it, have you ever chosen an install path on Android? Linux? OSX? iOS? Even on Linux you only get to choose the prefix if you compile yourself. And everyone who does so, educates themselves about where software goes for his specific distro.
Installers that are not unattended are a thing of the past and it's a good thing they're dying out.

I'm open to considering %localappdata%\programs as it shouldn't have all the limitations and restrictions around permissions and updates that %programfiles% (c:\program files) has.
One thing to consider however ist that this does add another 9 characters to the path length. That doesn't sound much but given the 255 character limit on Windows and some of the npm node_modules that aren't flattened some users - especially those with long usernames - could break again.
Changing the install path is not as simple as it sounds as the installer Squirrel is opinionated as to what paths to use. There are a many number of other applications using Squirrel and changing it there would likely upset and break other packages.  It would need to be configurable there.

The npm character limit should be gone with the latest version, though - or am I misremembering when the update was supposed to happen?

npm 3 flattens the folders out to a single hierarchy for packages where there are no version conflicts. Conflicted versions still get nested and tend to have conflicted sub-dependencies of their own.

@xelra Just wanted to let you know the reason why other OS' (at least Linux) don't ask for your file path is because of how the system is structured. Linux uses the /home directory for all personal files and everything else is stored in the other file locations. Don't think most people will be able to tell you why the program doesn't install in the programs file.


Annotation prometheus.io/port should be a string (instead of integer) in pod annotations

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What version of the Traefik's Helm Chart are you using?
10.1.0
What version of Traefik are you using?
2.4.8
What did you do?
$ helm repo update
# Copy 'metrics:' config from sample values.yaml to my values.yaml
$ helm upgrade traefik traefik/traefik -f ./values.yaml --dry-run --debug

What did you see instead?
history.go:56: [debug] getting history for release traefik
upgrade.go:123: [debug] preparing upgrade for traefik
Error: UPGRADE FAILED: unable to decode "": resource.metadataOnlyObject.ObjectMeta: v1.ObjectMeta.Annotations: ReadString: expects " or n, but found 9, error found in #10 byte of ...|io/port":9100,"prome|..., bigger context ...|metheus.io/path":"/metrics","prometheus.io/port":9100,"prometheus.io/scrape":"true"},"labels":{"app.|...
helm.go:81: [debug] unable to decode "": resource.metadataOnlyObject.ObjectMeta: v1.ObjectMeta.Annotations: ReadString: expects " or n, but found 9, error found in #10 byte of ...|io/port":9100,"prome|..., bigger context ...|metheus.io/path":"/metrics","prometheus.io/port":9100,"prometheus.io/scrape":"true"},"labels":{"app.|...
UPGRADE FAILED
main.newUpgradeCmd.func2
        helm.sh/helm/v3/cmd/helm/upgrade.go:157
github.com/spf13/cobra.(*Command).execute
        github.com/spf13/cobra@v1.1.3/command.go:852
github.com/spf13/cobra.(*Command).ExecuteC
        github.com/spf13/cobra@v1.1.3/command.go:960
github.com/spf13/cobra.(*Command).Execute
        github.com/spf13/cobra@v1.1.3/command.go:897
main.main
        helm.sh/helm/v3/cmd/helm/helm.go:80
runtime.main
        runtime/proc.go:225
runtime.goexit
        runtime/asm_amd64.s:1371

What is your environment & configuration?
K8s v1.20.4
helm v3.6.2
Additional Information
The value of pod annotation prometheus.io/port should be string, but I noticed that, in this test case, a number is given:
https://github.com/traefik/traefik-helm-chart/commit/a3620f69afc59d01bc82eb52b85439f8e1344c11#diff-329428d075f4a89ca94227f2684715a85c62a935058dd0a9dd1f48bc8bde8f0aR56
Not sure if this is a bug or my own environment-related problem.

Hello,
Not sure it's an environment-related problem, I have the same problem on my  environment and I was also able to reproduce it on a new Minikube environment without any values.yaml.
Look like the problem is coming from the chart v10.1.0.
For a quick fix, reverting to the  precedent version of the chart helm (v10.0.2) worked for me.
helm upgrade traefik -n traefik traefik/traefik --version v10.0.2

I believe that this is the issue of helm chart v10.1.0 when they configure prometheus annotation, could you please help to fix the helm chart

I'm willing to, but I can't. I'm not familiar with this chart template language....

Fixed thanks to @jakubhajek


Confusing examples: MultiIntent* examples define unused Parser and EntityTagger

Problem
See the following excerpts of multi_intent_parser.py and multi_domain_intent_parser.py:
https://github.com/MycroftAI/adapt/blob/7c1e444cfbe1581ff97d4ef80752f8257a95f64c/examples/multi_intent_parser.py#L20-L25
https://github.com/MycroftAI/adapt/blob/7c1e444cfbe1581ff97d4ef80752f8257a95f64c/examples/multi_domain_intent_parser.py#L20-L25
In both cases, an EnglishTokenizer is imported, then used to create an EntityTagger and a Parser. But these two objects are not passed to the IntentDeterminationEngine, which actually only accepts a Tokenizer and Trie and always recreates its EntityTagger and Parser internally.
https://github.com/MycroftAI/adapt/blob/7c1e444cfbe1581ff97d4ef80752f8257a95f64c/adapt/engine.py#L39-L53
This makes understanding the different components of the Mycroft architecture more complicated that it should be.
Proposal
To clarify these examples, I believe they should only define objects that are useful to demonstrating what they achieve. Thus, I believe we should:

Remove the Parser and EntityTagger defined in both classes, as they cannot be passed to the IntentDeterminationEngine's constructor.
Use the Tokenizer and Trie defined above to construct the IntentDeterminationEngine.

Alternatively, if there is a case for injecting an EntityTagger and a Parser when constructing the Engine, I believe that class should be refactored to allow using the objects currently defined but unused in these examples.
Discussion
Looking forward to hearing your take on this; should you agree with either proposal, happy to send a PR addressing this issue :smile:

Hey @PLNech , thanks for your issue! You're right, it would appear that when I last updated the examples (around the same time much of the logic was encapsulated in IntentDeterminationEngine), I forgot to remove these instantiations from the class. You can see in this change where I updated the simpler samples correctly, but missed the multi-intent examples.I'll go back and clean those up, and tag you in the PR. Thanks again!

Fix merged in #110. Closing


Draft: Make uninitialized constructor constexpr

Hi,
until now the "uninitialized constructor" could not be executed in const expressions.
This MR does change this (and yes uninitialized construction is an odd edge case in strong_type anyways ;) ).
Sorry, I am not familiar with your coding convention. Did I format the code correctly? Please change at will.
Best regards,
sparkles

The code is fine. Thanks. However, it'd be great if you could also add a test, to ensure that the construction will not accidentally cease to be constexpr in the future.

 Per standard constexpr expects every variable to be properly initialized. So the normal constructors have to be used (which are constexpr).
I rest my case.
Closing this nonsense 😅


Self-hosted public projects has unlimited parallel jobs

I created a new Azure DevOps organization and in the Parallel Jobs tab it says that I have unlimited parallel jobs for self-hosted agents.

@gmsantos : Thanks for your contribution! The author, @andyjlewis, has been notified to review your proposed change.

@gmsantos Thank you for your contribution, we have made this change already (I seem to recall from another customer PR), so I'm closing this PR. Thank you again for your contribution.


added how-to-handle-file-upload-in-flask folder

Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[ ] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[ ] Have you checked your article for readability? - Tool: Hemmingway
[ ] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines

Good afternoon and thank you for submitting your article for publishing.
Your article has been entered into our queue and should be reviewed (and published pending any changes) as soon as a peer reviewer is finished with the ones in the queue before it. :rocket:
Thank you. @wobin1

@jerimkaura will review this PR.

All corrections are added.

All corrections are added.
Kindly double check I think you must have missed some suggestions.

Double checked and affected corrections

@wobin1 Amazing  :rocket: . Now there are just two more things you need to fix then the article will be ready for final review.

When we use render_template in Flask we create a folder called templates where we store the HTML files. You did not mention that. I had problems figuring what the error was. Add that.
Provide a valid link to the GitHub repo, the one you gave redirects to a different webpage.

Cc: @ahmadmardeni1

@ahmadmardeni,  Could you please add the front matter and peer reviewer's line then the article will be ready for final review after the plagiarism check.

Sure thing, let's wait till we do the plagiarism check. @jerimkaura

this fixes #2664

plagiarism check done

over all nice work gents - made some edits during my final review - please be sure to go over to see how we can improve future articles @wobin1
cc @jerimkaura

@hectorkambow, sure! Thanks. 🚀


SDL_MaximizeWindow() internal bug?

hi!
I dunno but i'm started thinking that I'm only one who faced with this bug(
better than thousand words - video
https://youtu.be/5ivJosYVz4s
using: last master, win10, vs2071

Since assertion triggers it seems like execution never reaches initialized_ = true;. Could you look into it some more? Sure there isnt some odd memory corruption thing happening? There literally is no way that this call would prevent engine from initializing. Tell us more about any modifications you may have done or anything else that comes to mind. Try placing a breakpoint on graphics->Maximize(); and stepping until end of function, see if execution reaches that. Try to put memory breakpoint on initialized_ and see what changes it.

ok I made a new one more detailed video, here is https://youtu.be/g7saf638Gu8
it's lastest master, I'm do not do anything with it.
exept one, I've added MyProject into C:\rbfx\Source\Tools\MyProject dir, but it's not related to editor, that's all. it's just easiest way to create game project

That is very odd. Could you please place a breakpoing on assert(initialized_); in RunFrame() and show me callstack when breakpoint hits?

yes of course

Thanks. That is enough info, I will look into it.


delay

Since, from experience, some of those settings (in particular app permission policy settings) might take quite a while to propagate, It might be worth to mention it as some new users might expect this to be effective immediately. Some other pages on the docs have a banner (such as the invite guest to teams page) indicating that changes might take a few hours before being active. I suggest this banner should be added on this page.

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

ID: 143108bb-d6e6-48a8-a7cb-d11b89ebeaab
Version Independent ID: 145773e2-149e-1c1c-5797-433c13f13b22
Content: Admin settings for apps in Microsoft Teams - Microsoft Teams
Content Source: Teams/admin-settings.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

also (nitpicking here) the link in the third paragraph is to the admin portal (https://admin.microsoft.com/) instead of the teams admin site (https://admin.teams.microsoft.com/)

@AmahaShadow Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@AmahaShadow thank you for pointing that out and helping improve MS Docs. I'll have a look and have the article updated. It will take a few days for the change to reflect. Thanks again.

@AmahaShadow Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Author image from sidebar is taken as display image, while sharing posts in Facebook.

[x] This is a question about using the theme.
[ ] This is a feature request.
[x] I have updated all gems with bundle update.
[x] I have tested locally with bundle exec jekyll build.
[ ] I believe this to be a bug with the theme --- not Jekyll, GitHub Pages or one of the bundled plugins.

Environment informations

**Minimal Mistakes version: latest **
github-pages or jekyll gem version:
Operating system: Windows/Mac

Expected behavior
While clicking on the Facebook share button in the end of each post, in the facebook share utility that pops up, it loads the main author_image from the sidebar. Instad, it shall show one of the images included in the post. It might be more relevant.
Steps to reproduce the behavior

Click on the Facebook Share button.
In the Facebook share utility, check the image thats loaded.

I guess the following code has got the change associated with it.

But my folder structure is that I have written all posts under _posts directory. So can you kindly suggest a way to pick image from the posts than choosing the default author image ?
Thanks in advance.
#Excuse the beginner question.

You have 3 options:

Add a header image to the post which will then be used for og:image. You can do that this way.
Define a site-wide image for og:image to use in your _config.yml:
og_image: path-to-image.jpg
If you don't want a page header image but still want to specify what is used for og:image you'll need to modify _includes/seo.html. You could add another condition to use something like og_image: path-to-image.jpg in your post's YAML Front Matter:

  {% if page.header.image %}
    <meta property="og:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | absolute_url }}{% endif %}">
  {% elsif page.header.overlay_image %}
    <meta property="og:image" content="{% if page.header.overlay_image contains "://" %}{{ page.header.overlay_image }}{% else %}{{ page.header.overlay_image | absolute_url }}{% endif %}">
  {% elsif page.header.teaser %}
    <meta property="og:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}">
+ {% elsif page.og_image %}
+   <meta property="og:image" content="{% if page.og_image contains "://" %}{{ page.og_image }}{% else %}{{ page.og_image | absolute_url }}{% endif %}">
  {% elsif site.og_image %}
    <meta property="og:image" content="{% if site.og_image contains "://" %}{{ site.og_image }}{% else %}{{ site.og_image | absolute_url }}{% endif %}">
  {% endif %}

This issue has been marked as stale. Please feel free to reopen if:

This is a bug and you can still reproduce using the latest version of the theme. Please reply with any additional information you have to keep the issue open.

This is a feature request and can elaborate on why you feel more than 80% of users would find it beneficial.

Thanks for your contribution :smile:.

I tried option 3 but still when I share a post I see nothing.


TableCell lost v-html in 1.4

Hello again,
sorry for annoying you. I use the formatter function to build links in my table like

results in:

It's possible to bring back the old v-html behaviour that will not escape raw html?
Thanks in advance!
budy

Gonna look into reimplementing this in 1.4 next week.
In the mean time, the recommended way to do this is now a custom column template.
https://github.com/spatie/vue-table-component/blob/01c938cc159ebd54b8a176fea9f432bb8e942ba8/docs/index.html#L149

I really like the custom column template, easier than the formatter. So there is is no longer an issue for me :-)

In case anyone still needs it, html formatters are re-enabled.


WIP UP-4830:  Decompose sources in uportal-war into Gradle-based submodules

https://issues.jasig.org/browse/UP-4830
Checklist

[x] the individual contributor license agreement is signed
[x] commit message follows commit guidelines

Description of change

This is continuing work on UP-4830 (Gradle-based rework).
This effort is picking up steam;  it's likely I can make it all the way through in the next several days.
https://wiki.jasig.org/display/UPC/uPortal+5+Project+Overhaul

Coverage increased (+0.6%) to 23.519% when pulling 09a82a7a359e6847cd144a999871261bcf1adad3 on drewwills:UP-4830 into ce925e5ed28f05585fa3287b869f18bae151c405 on Jasig:master.

Coverage increased (+1.3%) to 24.208% when pulling 4179d5b14936b41688201aa99c979c9eaa0ead6a on drewwills:UP-4830 into ce925e5ed28f05585fa3287b869f18bae151c405 on Jasig:master.

I found this post of StackOverflow that seems to match the CI issues we're seeing...

http://stackoverflow.com/questions/41998178/gradle-compilejpamodelgenjava-failed

Coverage increased (+1.3%) to 24.195% when pulling 8b27c15351d90c61fcaaa609563bd659d88697f4 on drewwills:UP-4830 into ce925e5ed28f05585fa3287b869f18bae151c405 on Jasig:master.

Coverage increased (+1.3%) to 24.199% when pulling 3f9993de19e68ec1e69d7f7094c33b3137713d3b on drewwills:UP-4830 into ce925e5ed28f05585fa3287b869f18bae151c405 on Jasig:master.

@ChristianMurphy, @apetro, @bjagg, et al. -- This is a good/clean break point.  I'll be looking to merge this work ASAP (later today... certainly after the tests finish).
I'll start a new PR for the next round of these updates.  This next one may be the last -- only 1298 files remain in uportal-war/src/main/java/.  (The more we move, the easier it gets.)
Between this & that, I'll be looking to process as many of the other PRs as possible.

Coverage increased (+0.8%) to 23.673% when pulling 7715317c947e01ef86f1d8de82b0aaf8a6767a50 on drewwills:UP-4830 into ce925e5ed28f05585fa3287b869f18bae151c405 on Jasig:master.

Folks,
The CI is complaining of this...
':uPortal-concurrency:verifyGoogleJavaFormat'

I would greatly prefer it if that would be a warning, rather than red ink.

Coverage increased (+0.8%) to 23.669% when pulling 3ce4936bd854d7714f5f59cc609df7d004fa910f on drewwills:UP-4830 into bd6bf3976b2ab32302779cea174b5a53d51e0926 on Jasig:master.

@drewwills two reasons:

the files were added to the gradle build which is checked
the code was checked with Google Java Formatter 1.3, while the project was previously formatted with version 1.2

the code was checked with Google Java Formatter 1.3, while the project was previously formatted with version 1.2

So we bump the version of a dependency and invalidate all our sources?
Are we really expecting that -- going forward -- the sources will essentially always be formatted by an algorithm?  Do we think that makes sense?  (I don't.)

So we bump the version of a dependency and invalidate all our sources?

Not really we just need to re-run the autofixer, and everything is good.

Are we really expecting that -- going forward -- the sources will essentially always be formatted by an algorithm?

Sure, why manually fight with a code style if you can automatically join the club?
Let the creativity be in the solution not in the code style. :smile:

I get the need for consistency, but I have to admit, I'm nervous about the specter of massive diffs every time that code formatting tool changes.   :(    I'd almost say pick a version and stick with it forever -- or at least until it no longer works for us.   I don't think we want to arbitrarily reformat a bunch of code again just because some tool changed.

@jhelmer-unicon's point is a good one -- if we adopt practices that produce loads of extra deltas, those deltas will come back to haunt adopters when they merge.

As someone who is looking down the barrel of a merge to uPortal 5 in the future....   Please don't make my life any harder than it is already going to be...   :(
BTW:  I'd personally prefer to see checkstyle used to ensure coding standards.   I don't like how inflexible this tool seems to be.      The idea is to promote readability.   As a project, we should have the flexibility to choose to deviate from the google style in minor ways if we find the google style to be less readable.  I don't understand what the upside to the javadoc changes that were made here is.    Checkstyle at least allows you to demote some of this stuff to a warning vs. blowing up the build.

I think @jhelmer-unicon summed up my feelings on this topic pretty well.  :+1:

Styling wars, yeah! I'll start by saying I am not an Alphabet fan. Nuf said on that, I guess.
Great that we can use their tool to automate this. Maybe post-decompose, someone can go through and fix the source with it, but it certainly should NOT add to the work for this effort today.
When a release is cut, license headers, NOTICE file and JavaDocs are checked and addressed. This can be onerous, but it alleviates that effort from contributors. JavaDocs checking is the worst part of this effort since it requires changing source by hand as opposed to automatic tooling for the other efforts.
We can go all the way and have stylechecker and licensing run on every build. My IDE does some of this. It's the main reason I use it before pushing PRs. Otherwise, I could return to Vim almost exclusively.
My main concern is the timing and lack of discussion on this change with the community ... or did I miss it? This is not something to be decided in PR comments.

@bjagg There has been ongoing discussion in https://groups.google.com/a/apereo.org/d/topic/uportal-dev/FYiSDvmum1I/discussion
The original Checkstyle + Google code style was merged in https://github.com/Jasig/uPortal/pull/733 the transition to use the Google Java formatter was made in https://github.com/Jasig/uPortal/pull/887.

Oh I missed that thread, lol!
So the move of source files from Maven managed directories to Gradle ones is what triggered the check ... as you've mentioned to me before, @ChristianMurphy


Native AOT build support

ulox should be able to function with https://docs.microsoft.com/en-us/dotnet/core/deploying/native-aot
This work would lead to the ability to deploy ulox as a single executable for cli which might be fun

https://www.nuget.org/packages/PublishAotCompressed this might be fun to try out here too


New setting debug.onTaskErrors values are missing descriptions

debug.onTaskErrors has values: "debugAnyway", "prompt", and "showErrors".
There are no descriptions for the three possible values so nothing is displayed in the Settings editor enum dropdown nor IntelliSense in the JSON editor.

@gregvanl Great catch. Adding bug label so we verify this.

Verified that the description shows up, but should the description be unique to each value? That's how our other settings work.

Actually, re-opening as it appears the commit has a description for each value but only one is ever shown:

@misolori the description is only shown in the Settings UX.  Verified out of master that this is fixed in both:

Oh I was not aware that we even show it in settings json - sweet.


Use image build time label if present

To work around situations like the one in #1797, and mitigate things like #746 and #891, we could prefer the image build time label, if present, rather than looking at the created time.

Standard (community) labels:
http://label-schema.org/rc1/#build-time-labels
https://github.com/opencontainers/image-spec/blob/master/annotations.md#pre-defined-annotation-keys


Confusing filter on type behavior in SCM when using tree view

Testing #99019
Repo

In the VS Code repo
modify extensions/markdown-language-features/src/slugify.ts plus another file in the markdown language features extension
Open SCM view and enable filter on type. Make sure you have tree view enabled for scm
Type slug

Bug
Both files are still shown

If you switch back to the list view, you can see that this happens because the path matches s l u g

There is no highlight in the tree scm view however which makes this look like a bug

Thinking about this a little more, it does not make sense to filter based on the path when in Tree mode. I have pushed an update so that when in Tree mode we only match on the file name since the parent folder(s) of the matches will be displayed automatically. In the case above, when using Tree mode, the markdownExtensions.ts file will not be matched. In List mode we will continue to match both on the file and folder names.

Verification steps:

Open the vscode repository
Make changes to the following files:

extensions/markdown-language-features/src/slugify.ts
extensions/markdown-language-features/src/markdownExtensions.ts

Switch to the SCM viewlet
Make sure that 'List' mode is enabled
Type slug and validate that both items contain matches
Switch to Tree mode
Validate that only the extensions/markdown-language-features/src folder, and the slugify.ts file contain matches


A tiny typo in react hooks API reference

https://github.com/reactjs/reactjs.org/edit/master/content/docs/hooks-reference.md
54 line
I guess setState should be useState

I got it wrong..lol


New builds for Windows?

I tried to go through the build process, but BUILDING.md is incomplete to say the least. Will there be prebuilt packages out for Windows at some point? I see that other platforms are already past 55...

See #235.

@matthewd673 In addition, BUILDING.md states that Windows instructions are out-of-date. Currently, no one is working on re-adding support (but there is a small chance I might re-add it).
@garoto I'm having the same issue with #215 here too; consistently getting error 500. I just sent a support request to GitHub.

https://github.com/Eloston/ungoogled-chromium/issues/215 is working for me.

@ribatamu Yep, working here too.


Fix the cursor blink VT sequence being ignored

Ensure that the cursor blink VT sequence gets flushed to terminal when conhost is attached to a pty
Closes #10543

Maybe there should be a warning like https://unix.stackexchange.com/a/3769/277889.


Read line multibyte char

I found some bug. When get multibyte input, it dese not work well.
I think problem is Reader#read_line get char as byte
For example
"한글".bytes # Korean
# => [237, 140, 140, 235, 166, 172]

line = ''
[237, 140, 140, 235, 166, 172] .each { |b| line << b }
#=> "í\u0095\u009Cê¸\u0080"

Solution I think about,
"한글".bytes.pack("C*").force_encoding("utf-8")

# or

line.codepoints.to_a.pack("C*").force_encoding("utf-8")

I suggested #28, but need more graceful way to fix it.
How should I work for this problem?

Thank you for submitting this issue.
I would suggest as a first step to write test cases for all the Reader calls to show failures. We need to demonstrate any bugs before we get to fix them. Therefore, if you could write a single test for each of these read_keypress_spec, read_line and read_multiline_spec that would be really helpful. Please submit PR just to show failures?

Nicely done! As expected the problem affects all the reading calls. I would prefer smaller pull requests as they are easier to review and merge. Therefore, as a next step we could tackle only the read_keypress call, which means fixing the read_char call it relies on. Would you mind fixing this as a first step and submitting PR?

@piotrmurach Ok, I will

@keepcosmos Any progress?

I have no idea how to change while CSI.start_with?(chars) || chars.start_with?(CSI) && !(64..126).include?(chars.each_codepoint.to_a.last) in #read_char. any idea?

Atm I'm recovering from illness but once feeling better I will look into this.

@piotrmurach Thanks. Take care yourself. 👍

Released v0.9.0 with the fix. I'm super excited by your jira cli tool and thanks for using tty-prompt!

@piotrmurach Thanks! tty series are super super helpful for making Terjira :)


One maintainer of ApiGen/ApiGen here: Is this still a thing?

@mmeyer2k If this has a clear aim to become a docs generation CI, we might add it to apigen org to support and develop besides PHP 7.1 support as a new feature.
@TomasVotruba What do you think?

Yes. If anyone wants to keep this alive I would support that. I had this running but then I had issues with my hosting and I just let it die. Have been too busy with work to give it any attention. But if there is real interest in it I would try to find some time to get it running again.

I was just curious cause I also had this type of idea some time ago.
Maybe this would be a new entry point for probably ApiGen 5 usage.

Yeah it was a pretty useful tool, I just never really tried to get the word out about it. It was a side project and not very polished.
I'm open for anything. I can see the benefit of putting this project under the umbrella of apigen.
I also have the domain apigen.ci =D

Yep. Very nice. I will deploy this for myself to evaluate tomorrow.
I may suggest an update to Laravel 5.4.
Therefor: It would be nice to have the composer.json updated so Laravel components will be installed.
If @TomasVotruba and @kukulich agree on moving this to the organization it could be moved and would be a good additional feature of apigen.

I coded it as a laravel package so I could deploy it easily in my infrastructure. But, yes, if it becomes a standalone package it should be restructured and updated to the latest version.
I can get you the DB schema too. Let me know if you need any help!


Work 5200 (druid:zd394zj9776) failed to submit to SDR on v2

This item was versioned in H2 in order to add a PDF file to be published, but looking at the object in Argo, the PDF never made it.
The object's content type had been changed in Argo (to "book") before the versioning attempt in H2, so perhaps this introduced the issue which prevented the versioning from being successful?
There is also an error on PURL referring to iiif manifest (residual of the "book" content type changed made in Argo's v3).
The goal is to replace the jpg deposited in v1 with the pdf uploaded in H2's v2, then have the object set to "document" content type and then never touch it again.

@hannahfrost I see that the item has a PDF and content_type is "document" in Argo: https://argo.stanford.edu/view/druid:zd394zj9776
However, I do still see the iiif error. Does it look like argo is now correct? Wondering if I just need to try re-publishing or something first. Thanks for any pointers :-)

The issue here is that there is no PDF in SDR for this item. The file in Argo is a JPG and there's no sign that the PDF was ever deposited.

@andrewjbtw I see a PDF listed now: https://sdr.stanford.edu/works/520 but not in argo.

And I resubmitted from H2, but the deposit is spinning there, and the object has not been opened, looking at Argo.

I see the issue: https://app.honeybadger.io/projects/67994/faults/83912195
We haven't resolved the problem of H2 version numbers differing from actual SDR version numbers. I'm surprised this isn't happening more often, to be honest. I thought H2 would simply increment the SDR version by one.

I think this is working as designed. We don't want h2 to overwrite changes made in Argo without finding out about them first.

I thought we did want that because that's parity with how Hydrus did things even though it's less than ideal. If this was by design, we should have designed user-facing feedback giving some indication of what happened.

So, we will have to fix the object in SDR proper? In this case, I could also just make a new object via H2 and we could kill this bad one.

I was able to get the version and PDF aligned in argo: https://argo.stanford.edu/view/druid:yr405yf9710

I just noticed there was a typo in the issue title. This is work 5200 not 520. https://sdr.stanford.edu/works/5200

oh, my bad!

Aaron updated work 5200 and I went to Argo to change the content type. With the PDF, the page looks correct now in the document/PDF viewer.

Looks good to me. Thanks, @aaron-collier and @andrewjbtw

https://sdr.stanford.edu/works/520

I have made a note in my backlog of the need for some alert when this happens.

I thought we did want that because that's parity with how Hydrus did things even though it's less than ideal. If this was by design, we should have designed user-facing feedback giving some indication of what happened.

I have made a note in my backlog that we need an alert when this situation arises -- both for users and for admins.


Flower of paradise lost effect wont apply

i tried to optimize my artifact for kuki which uses FOPL, but the problem is that what ever i do in the setting, the optimizer just refuses to use the FOPL set.
currently i am using a FOPL set which has higher hyperbloom damage compared to all possible combination of my artifact (across all set)

idk if there is anything i missed, or it is a mistake, but would be glad if i have an answer for it, thank you.

Have you enabled the set effect for FOPL?

Since your optimized build is losing damage, sounds like your set effects are on. Other things it could be:

You disabled fopl 4p in set config
You disabled one of the main stats you were using for fopl
You limited artifact level which is now excluding one of the fopl pieces
One or many of the fopl pieces are excluded in the optimizer

Upload your database for further assistance (can just rename the .json to .txt and GitHub will accept it as an attachment)

Closing due to staleness. Let us know if you are still facing this isssue


路由与导航章节一些还没翻译

https://angular.cn/docs/ts/latest/guide/router.html
这部分还没翻译：

Technically, pathMatch = 'full' results in a route hit when the remaining, unmatched segments of the URL match ''. In our example, the redirect is at the top level of the route configuration tree so the remaining URL and the entire URL are the same thing.
The other possible pathMatch value is 'prefix' which tells the router to match the redirect route when the remaining URL begins with the redirect route's prefix path.
That's not what we want to do here. If the pathMatch value were 'prefix', every URL would match ''. We could never navigate to /crisis-center/1 because the redirect route would match first and send us to the CrisisListComponent.
We should redirect to the CrisisListComponent only when the entire (remaining) url is ''.
Learn more in Victor Savkin's blog post on redirects.

已解决


Ravi Day 2 Activity

what

why

references

Thank you for the PR though! Looking forward to more of your contributions


Tests for input and output

String and array columns.

String and array columns.

We still need to agree on what the behavior should be before I can write tests. Since I don't use this myself, you need to tell me what behavior you're expecting.

It should be able to input and output hours and minutes in 24H time. So 00:00-24:00. See https://www.postgresql.org/docs/current/datatype-datetime.html for time of day (no date) without time zone.
Example:
Model #1 with attribute opening_hours that is a time type in Postgresql.
Model #2 with attribute opening_hours that is an array of time type in Postgresql.
Should be able to do this:
obj = Model1.create(opening_hours: '10:30')
assert_equal obj.opening_hours, '10:30'

obj2 = Model2.create(opening_hours: ['09:45', '12:00', '13:30', '24:00'])
assert_equal obj2.opening_hours[0], '09:45'
assert_equal obj2.opening_hours[1], '12:00'
assert_equal obj2.opening_hours[2], '13:30'
assert_equal obj2.opening_hours[3], '24:00'

This should work from any input and output, console, forms and json. There should be tests for this as well as an working example with a Rails6 project.

I added the tests in this branch. It includes a dummy Rails 6 application with forms and support for JSON responses. All the tests pass, I just need to merge the branch.


EISDIR error after

After adding an SSL Cert to Synology I decided to add SSL options in config.json for Homebridge, they didn’t work so I changed them back.  Not I get the following EISDIR error everytime I try to loads Homebridge.
https://hastebin.com/kawuwikoyu.js

After some testing discovered the contents of the persist folder contained something that homebridge didn't like. Working again now 👍🏼


CB-9436 Refactor browserify to get rid of require-tr transform

This PR removes excess require-tr browserify transform and makes resultant bundle compatible with mobilespec and probably most of plugins.
NOTE: This PR depends on https://github.com/apache/cordova-lib/pull/275

Merge away! Thanks again. Love the refactor. Way simpler to read and follow.


[FR] Can you provide a release based on the scratch/igc branch?

Combining mps with igc can achieve better performance. Providing releases from the igc branch allows more people to use the igc branch so that maintainers can receive feedback.

I think the -mps release is what you want. It's based on the scratch/igc branch, and includes some fixes necessary for Windows builds.

I think the -mps release is what you want. It's based on the scratch/igc branch, and includes some fixes necessary for Windows builds.

no, -mps release is based on HEAD(https://github.com/kiennq/emacs.git)

I think the -mps release is what you want. It's based on the scratch/igc branch, and includes some fixes necessary for Windows builds.

oh, you mean https://github.com/kiennq/emacs.git is a fork of igc branch?

I think the -mps release is what you want. It's based on the scratch/igc branch, and includes some fixes necessary for Windows builds.

Thanks for your help


Add Live API support?

Hi All,
I wanted to add a vote for including the LiveAPI (including the JavaScript API) in the open source FW for the Launchpad Pro.
I've programmed Max for Live devices for other Launchpad models and found the API really useful--but it seems like the Pro supports a different and, in some ways, feature-reduced interface.
I can't observe button presses or light buttons via the send_value functions (or at least I am clueless about how to fully explore and understand the LP Pro interface).
I would be willing to implement this myself if it were made available in the FW here.
Thanks,
Jonathan

I just opened an issue related to real-time streaming, is this Live API you're talking about related to it somehow? I'm very interested on the subject.

Check out the amazing https://github.com/mat1jaczyyy/lpp-performance-cfw by @mat1jaczyyy


Disable all reports

What does it take to disable any/all reports for this plugin?
I had it configured in  the build section, but it popped up in site generation.
So I tried adding configuration
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>versions-maven-plugin</artifactId>
        <version>2.16.2</version>
        <configuration>
          <reportMode>false</reportMode>
          <skip>true</skip>
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
    </plugins>
  </reporting>

But still the plugins leaps into action
[INFO] org.apache.maven.plugins.site.render.SiteMojo - Generating "Dependency Updates Report" report --- versions-maven-plugin:2.16.2:dependency-updates-report
[INFO] org.apache.maven.plugins.site.render.SiteMojo - Generating "Plugin Updates Report" report --- versions-maven-plugin:2.16.2:plugin-updates-report
[INFO] org.apache.maven.plugins.site.render.SiteMojo - Generating "Property Updates Report" report --- versions-maven-plugin:2.16.2:property-updates-report

Hi. I see that (in your output), there is output from the Site plugin (org.apache.maven.plugins.site.render.SiteMojo), but no output from Versions Maven Plugin. Should you perhaps file a bug with the Site plugin instead?

I wasn´t able to reproduce the issue.
Also, the messages that you see come from the Site plugin, not from the Versions plugin.


Make some ticket commands global

All these commands need to work regardless of if the user is in lobby.
/ticket list - Sent by the refresh button
/ticket submit - Sent by the ticket form
/ticket close - Can be sent from the ticket list

Just make /ticket as a whole global...

"!ticket": true, doesn't seem to work when I tested, or did you mean make all the commands individually global?

You're right, it doesn't. Weird. :/


[EMB-562] Add editable license field

Purpose
Add editable license field
Summary of Changes

Rename registry-provider to registration-provider
Add <RegistriesLicensePicker> component
Update mirage setup
Fix <LicenseText> component to display to wrap text correctly.

Side Effects
Feature Flags
ember_registries_detail_page
QA Notes
Ticket
[EMB-562]
Reviewer Checklist

[ ] meets requirements
[ ] easy to understand
[ ] DRY
[ ] testable and includes test(s)
[ ] changes described in CHANGELOG.md

Pull Request Test Coverage Report for Build 2720

38 of 62 (61.29%)  changed or added relevant lines in 4 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.09%) to 71.089%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/registries/addon/components/registries-license-picker/component.ts
28
52
53.85%

Files with Coverage Reduction
New Missed Lines
%

lib/osf-components/addon/components/validated-input/power-select/component.ts
1
80.85%

Totals

Change from base Build 2714:
-0.09%

Covered Lines:
5891

Relevant Lines:
7454

💛  - Coveralls

@aaxelb fixed!


Get a child element as table column

Model:
class Parent(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    child = db.relationship('Key', backref='parent')

class Child(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    parent_id = db.Column(db.Integer, db.ForeignKey('parent.id'))
	price = db.Column(db.Integer)

columns = [
	ColumnDT(Parent.id, mData='1'),
	ColumnDT(func.count(Parent.child), mData='2', global_search=False), # it's works
	ColumnDT(Parent.child[0].id, mData='3'), # get id 1st child, does not work
	ColumnDT(Parent.child[1].id, mData='4'), # get id 2nd child, does not work

]

query = db.session.query().select_from(Parent).join(Child).group_by(Parent.id)

Example:
Parent_1.id - Parent_1.countChild - Parent_1.Child_1.id - Parent_1.Child_2.id
Parent_2.id - Parent_2.countChild - Parent_2.Child_1.id - Parent_2.Child_2.id
Parent_3.id - Parent_3.countChild - Parent_3.Child_1.id - Parent_3.Child_2.id

The queries you are righting are evaluated as sql code, not as python objects. Therefore you can't use the python backrefs to make one-to-many links. The way to deal with this is to construct a query with sqlalchemy that returns what you want, and then pass that query to that datatable. I think you should be able to do this with joining a subquery where you filter for rank = 1 and rank =2, but this quickly gets ugly. See here: https://github.com/Pegase745/sqlalchemy-datatables/issues/83


CU-21prurv - Add default combining operator to Solr calls

This is the AND-by-default change. Dead simple.

Task linked: CU-21prurv Search terms to use intersections (AND) by default

Changes + combination to AND combination. Looks good 👍
Change will have to be made in the query box component in #25


Riverpod generator doesn't reflect namespaced packages

I'm using riverpod with Supabase. When using
@Riverpod(keepAlive: true)
SupabaseClient supabase(SupabaseRef ref) {
  return Supabase.instance.client;
}

I had an issue with the generated file because Supabase has it's own Provider object which clashes with riverpod. So, I tried
@Riverpod(keepAlive: true)
sb.SupabaseClient supabase(SupabaseRef ref) {
  return sb.Supabase.instance.client;
}

And unfortunately that doesn't work either because the generated code does not use the namespace.

My expectation would be that riverpod generator namespaces the modules.
In my specific case, I've been able to fix it by using ref.keepAlive() instead of @Riverpod(keepAlive: true) but that won't apple to everyone experiencing this issue.

This is a known issue, but won't be supported until we have static metaprogramming.
The maintenance cost would otherwise be too high


Autocomplete control suggestion popup refresh

Let's say I use the following IAutocompleteSource implementation :
    public class TestClass : IAutocompleteSource
    {
        public ObservableCollection<Image> ItemsLst { get; set; }
        public IEnumerable Search(string searchTerm)
        {
            searchTerm = searchTerm ?? string.Empty;
            searchTerm = searchTerm.ToLower();

            return ItemsLst.Where(item => item.imgName.ToLower().Contains(searchTerm));
        }
    }

If later on, ItemLst content changes, it will not get reflected directly in the Autocomplete suggestion popup until something new is typed (which triggers the Search() method, I imagine, and refresh the IEnumerable).

Been trying to implement this but triggering OnAutocompleteSourceItemsChanged() does nothing on my side (until I type something again), do you have any sample code to share ?
public class ImagesAutocomplete : AutocompleteSourceChangingItems<MyType>
{
    private ObservableCollection<MyType> _itemsLst { get; set; }

    public ImagesAutocomplete(ObservableCollection<MyType> ItemsLst)
    {
        _itemsLst = ItemsLstSrc;
        OnAutocompleteSourceItemsChanged(); //Refresh
    }

    public override IEnumerable<MyType> Search(string searchTerm)
    {
        searchTerm = searchTerm ?? string.Empty;
        searchTerm = searchTerm.ToLower();

        return _itemsLst.Where(item => item.imgName.ToLower().Contains(searchTerm));
    }
}

@Coloris Sorry for the late answer.
It is important that your implementation of IAutocompleteSourceChangingItems raises the AutocompleteSourceItemsChanged event after every change. The Autocomplete handles the event and starts a new search. This time the source searches on the new list.
In your code example, you call OnAutocompleteSourceItemsChanged() in the constructor. It will not be called again on the instance. Do you change your ItemsLst from some code outside? If so, you will need to handle the CollectionChanged event of the ObservableCollection. Add this line to your constructor instead:
_itemsLst.CollectionChanged += (sender, args) => OnAutocompleteSourceItemsChanged();

@spiegelp , I tried that but despite the fact that the event fired correctly, the list is still not refreshed until I type something or clear the box.

@Coloris Are you expecting that the list will update although the control is not focused?
The event handler method checks for m_searchTextBox != null && m_searchTextBox.IsKeyboardFocused before triggering a search. This should prevent unnecessary searches if the control is not focused. I did that because searches might be very CPU or I/O heavy. Maybe I will add a boolean property to toggle this behavior.

@spiegelp Even when I get the focus on it the list is still not updated, I have to type something inside of it to see a change.

@spiegelp I've been trying to fix this issue again a few days ago and it's still present for me.
I've made a little app to demonstrate the problem.
Here a little GIF to illustrates the issue : https://gfycat.com/unsightlyfamousdore
Here you can download a copy of the demo app : https://drive.google.com/open?id=1zIsDVz8TS9yN6kzPPjmc8IA6JKahWI-y
If I select an item from the list and then use the clear button, it works as expected.
If I search for something, then switch the source, the popup still displays the old content and it's still possible to select something from the previous list. The only way to get a refreshed content in the popup list is to type something.
Also, the OnAutocompleteSourceItemsChanged() is never raised.

@Coloris Hello buddy,
did you find any solution for this?
I am having same issue where i am changing the suggestion source based on selection and the suggestions are not refreshing.
I tried above method mentioned by @spiegelp but it is still not working.
@spiegelp @Coloris Please assist me on this as its very helpful control with this tiny bug.

@Coloris
Anyways I just tricked it by changing the selected text to some random value and again making it blank by design it did refreshed the suggestions. I am using Background worker to bring the suggestions to did it in RunWorkerCompleted.

Same situation also for me.
I tried the AutocompleteSourceItemsChanged but it doesn't work.
The @infirazor 's trick works but it is a little "dirty"...


Rectangle correction for analog sticks (simulate DualShock diagonal analog range)

Some PC games expect analog stick ranges to be more square than circular (unlike modern Xbox controllers). Prince of Persia: The Sands of Time wants diagonals saturated to nearly the full extent. Without rect correction, you won't run on diagonals. XInputPlus has this feature, and the amount of correction is adjustable. I feel like it'd be another useful tool in Xidi's arsenal.

I agree, this would be useful to add to Xidi. Thank you for suggesting it.

This will be part of an upcoming release. The math is implemented in 46ebe5032fc7e31ca8b6efd45f455dfa5174fbbb, but it still needs to be hooked up to a configuration file setting.

Fully implemented as of 28b2167fb9435d89a443f74af963f7ee6ca791f0.


Error while authenticating. Extended authentication handler is not yet supported, with Azure Event Grid MQTT Broker

Verification
Describe the bug
We're facing this error:
Error while authenticating. Extended authentication handler is not yet supported. with the Latest MQTT net release and Azure Event Grid MQTT Broker.
We have already tried the solution mentioned to recreate the certificate/user for the Broker, but this issue is frequent on two days basis on One particular Broker out of 3 setups.
Everything is consistent across deployment but the issue is faced with one broker only.
Which component is your bug related to?

Client
Server

To Reproduce
Steps to reproduce the behavior:

Using this version of MQTTnet '...'.
<IP_ADDRESS>1, <IP_ADDRESS>7
Run this code '....'.

mqttClientOptions = new MqttClientOptionsBuilder()
                    .WithClientId(MqttPublisherConstant.userId)
                    .WithTcpServer(MqttPublisherConstant.connectHost, MqttPublisherConstant.port)
                    .WithTls(new MqttClientOptionsBuilderTlsParameters
                    {
                        UseTls = true,
                        Certificates = certs
                    })
                    .WithCredentials(MqttPublisherConstant.userName)

Expected behavior
Should connect without any issues.
Screenshots

ExtendedAuthentication is supported with MQTT5, and usually used with OAUTH tokens, not sure what's the use case to use ExtendedAuth with certificates.
There is a sample to connect to EventGrid with JWT tokens
note how ExtendedAuth is used in the  WithJWT extension method

What is the change required here for the use of certificate @rido-min. We have been running same for past 1 year, this error started coming now. We have not mentioned protocol, hence it's using default which should be v3.1.

@pre-subham  It seems that this feature is broken (regardless of certificates or other variant). There is a handler for that but not used when connecting.
I will add it and let you know when a test version is available.

@chkr1011 What can we do in the meantime, the broker is disconnecting every day

Hi @chkr1011 , do you have any version where this feature will work or any step for keeping it from disconnecting until new version is available?


doc(Quickstart): Implementing Suggestions - DoAll and Reduction

#179

My solution for the Geometric Decomposition pattern is wrong and still needs fixing!

[ ] Correct the loop boundary issues!
[ ] combine both loops? (in this case it is possible. I think there should be cases when it is not possible. If I am wrong and it is always possible then we should do it, too!)
[ ] Check formatting of the generated documentation


Mindstorm on usage of "-" for debit transactions

What about having two fields (debit/credit) on modals instead of asking the user to type a "-" for debit transactions?
Ideas below.

Display a switch button to change from debit to credit (that will only append magically a "-" if needed).


STX transfer not possible from test app

Using Debugger -> Stx transfer on https://pr-725.testnet-demo.stacks.engineering/ results in an empty screen on the hosted web version.
I am using ubuntu and firefox or chrome
Firefox:

Google Chrome:

I just tried this and it worked for me fine: https://testnet-explorer.blockstack.org/txid/0xf1dc3c196b178de20277ea2ef054e043f2a6b0cf4ee43a66415de350338017d6?chain=testnet

I'm on MacOS in Chrome.
@friedger What happens if you visit https://pr-725.app.stacks.engineering/? Does it recognize that you're signed in? The error in your screenshot suggests that there's no session with the hosted wallet.

I just tried this and it worked for me fine: https://testnet-explorer.blockstack.org/txid/0xf1dc3c196b178de20277ea2ef054e043f2a6b0cf4ee43a66415de350338017d6?chain=testnet

I'm on MacOS in Chrome.
@friedger What happens if you visit https://pr-725.app.stacks.engineering/? Does it recognize that you're signed in? The error in your screenshot suggests that there's no session with the hosted wallet.

I'm getting transaction rejected and NotEnoughFunds errors with OpenSTXTransfer from Boom.  My sending account has enough ... confirmed on https://pr-725.app.stacks.engineering/ see screenshots and walkthrough.

https://drive.google.com/file/d/17Td9wufzb_l59EPspvIn4UFXmJXiQBin/edit

I'm getting transaction rejected and NotEnoughFunds errors with OpenSTXTransfer from Boom.  My sending account has enough ... confirmed on https://pr-725.app.stacks.engineering/ see screenshots and walkthrough.

https://drive.google.com/file/d/17Td9wufzb_l59EPspvIn4UFXmJXiQBin/edit

@hstove any ideas about the above?

@hstove any ideas about the above?

These appear to be using a non-first identity.  Calls directly to the stacks api or getAccountBalance in the SDK will return a balance, but submitting a transaction fails with Not Enough Funds error ... submitting transactions appears to be using only the 1st identity in your identity wallet. Discussion in discord had options, but commonly expected behavior is that when you log in with an ID, all of your transactions should be submitted with that same ID.

These appear to be using a non-first identity.  Calls directly to the stacks api or getAccountBalance in the SDK will return a balance, but submitting a transaction fails with Not Enough Funds error ... submitting transactions appears to be using only the 1st identity in your identity wallet. Discussion in discord had options, but commonly expected behavior is that when you log in with an ID, all of your transactions should be submitted with that same ID.

when you log in with an ID, all of your transactions should be submitted with that same ID -> that's been my expectation as well. @hstove are you approaching this differently?

when you log in with an ID, all of your transactions should be submitted with that same ID -> that's been my expectation as well. @hstove are you approaching this differently?

I encountered a infinite spinner when using firefox, it works well in chrome for me but I have had problems with transaction signing in FF https://github.com/blockstack/ux/issues/776
@dantrevino what browser are you using?

I encountered a infinite spinner when using firefox, it works well in chrome for me but I have had problems with transaction signing in FF https://github.com/blockstack/ux/issues/776
@dantrevino what browser are you using?

Using chrome 86.0.4240.199 (64 bit) on ChromeOS

Using chrome 86.0.4240.199 (64 bit) on ChromeOS

I've made changes here to at least show your current account and balance on the TX signing page. We also now show an error if you are trying to STX transfer with not enough funds, before you send it. I have not been able to reproduce any errors that aren't relating to this kind of thing, though.

I've made changes here to at least show your current account and balance on the TX signing page. We also now show an error if you are trying to STX transfer with not enough funds, before you send it. I have not been able to reproduce any errors that aren't relating to this kind of thing, though.

@hstove Should @dantrevino and @timstackblock retest this with a particular PR?

@hstove Should @dantrevino and @timstackblock retest this with a particular PR?

If you use the test app via https://pr-761.testnet-demo.stacks.engineering/, it'll direct you to the install page on hiro.so. That's the best way to install the extension at the moment. But yes, we should always refer to #761 as the latest right now, where this should definitely be fixed.

If you use the test app via https://pr-761.testnet-demo.stacks.engineering/, it'll direct you to the install page on hiro.so. That's the best way to install the extension at the moment. But yes, we should always refer to #761 as the latest right now, where this should definitely be fixed.

I am still seeing the same issue as @dantrevino

I am still seeing the same issue as @dantrevino

I'm confused about what the issue is. I understand that we could show the error before you send, but it appears that you don't have enough STX. Is that not true? Or are you saying that the popup doesn't open to the same address you logged into the app with? That should have been fixed on Friday, but if it's not, LMK.

I'm confused about what the issue is. I understand that we could show the error before you send, but it appears that you don't have enough STX. Is that not true? Or are you saying that the popup doesn't open to the same address you logged into the app with? That should have been fixed on Friday, but if it's not, LMK.

This works please see the video of me doing a STX transfer with the extension on the test app
VIDEO: http://somup.com/crVObVogGn

This works please see the video of me doing a STX transfer with the extension on the test app
VIDEO: http://somup.com/crVObVogGn


 The cluster only sees itself.
PR NEEDED
EVIDENCE SHOWED BELOW
Based on: 11twWa8oid2mCg9wYUgiPA3infmGchsMQXdHLWxXysaXCyJ97vx

the h3dex bug need to be patched sooner than later.