[Bug] docker+lmdeploy deploys multimodal large model and reports an error：AssertionError: failed to match chat template, please explicit set chat_template_config（docker+lmdeploy部署多模态大模型）

Checklist

[X] 1. I have searched related issues but cannot get the expected help.
[X] 2. The bug has not been fixed in the latest version.
[X] 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.

Describe the bug
The deployment process is as follows：
pip install qwen_vl_utils
git clone https://github.com/InternLM/lmdeploy.git
cd lmdeploy
docker build --build-arg CUDA_VERSION=cu12 -t openmmlab/lmdeploy:qwen2vl . -f ./docker/Qwen2VL_Dockerfile
docker run --runtime nvidia --gpus all
-v ~/Qwen2-VL-7B-Instruct:/lmdeploy/models
-p 8000:8000
--ipc=host
openmmlab/lmdeploy:latest
lmdeploy serve api_server /lmdeploy/models
(base) root@lxing:~/lmdeploy# docker run --runtime nvidia --gpus all
-v ~/Qwen2-VL-7B-Instruct:/lmdeploy/models
-v ~/Qwen2-VL-7B-Instruct/chat_template.json:/opt/lmdeploy/config/chat_template.json
-p 8000:8000
--ipc=host
openmmlab/lmdeploy:qwen2vl-v0.5.1
lmdeploy serve api_server /lmdeploy/models
==========
== CUDA ==
CUDA Version 12.4.1
Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license
A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.
2024-11-25 03:36:47,633 - lmdeploy - WARNING - archs.py:53 - Fallback to pytorch engine because /lmdeploy/models not supported by turbomind engine.
Qwen2VLRotaryEmbedding can now be fully parameterized by passing the model config through the config argument. All other arguments will be removed in v4.46
Traceback (most recent call last):
File "/opt/py3/bin/lmdeploy", line 33, in
sys.exit(load_entry_point('lmdeploy', 'console_scripts', 'lmdeploy')())
File "/opt/lmdeploy/lmdeploy/cli/entrypoint.py", line 42, in run
args.run(args)
File "/opt/lmdeploy/lmdeploy/cli/serve.py", line 338, in api_server
run_api_server(args.model_path,
File "/opt/lmdeploy/lmdeploy/serve/openai/api_server.py", line 1073, in serve
VariableInterface.async_engine = pipeline_class(
File "/opt/lmdeploy/lmdeploy/serve/vl_async_engine.py", line 32, in init
self.vl_prompt_template = get_vl_prompt_template(
File "/opt/lmdeploy/lmdeploy/vl/templates.py", line 512, in get_vl_prompt_template
assert type(chat_template) != type(BaseModel()), 'failed to match '
AssertionError: failed to match chat template, please explicit set chat_template_config
Reproduction
pip install qwen_vl_utils
git clone https://github.com/InternLM/lmdeploy.git
cd lmdeploy
docker build --build-arg CUDA_VERSION=cu12 -t openmmlab/lmdeploy:qwen2vl . -f ./docker/Qwen2VL_Dockerfile
docker run --runtime nvidia --gpus all
-v ~/Qwen2-VL-7B-Instruct:/lmdeploy/models
-p 8000:8000
--ipc=host
openmmlab/lmdeploy:latest
lmdeploy serve api_server /lmdeploy/models
Environment
| NVIDIA-SMI 560.35.03              Driver Version: 560.35.03      CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4090        Off |   00000000:00:10.0 Off |                  Off |
| 47%   32C    P8             18W /  450W |   20412MiB /  24564MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   1  NVIDIA GeForce RTX 4090        Off |   00000000:00:11.0 Off |                  Off |
| 48%   32C    P8             22W /  450W |   20412MiB /  24564MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   2  NVIDIA GeForce RTX 4090        Off |   00000000:00:1B.0 Off |                  Off |
| 46%   33C    P8             13W /  450W |   20412MiB /  24564MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   3  NVIDIA GeForce RTX 4090        Off |   00000000:00:1C.0 Off |                  Off |
| 49%   33C    P8             18W /  450W |   20412MiB /  24564MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

Error traceback
No response

We match the chat_template based on folder name. You can either change the mapping folder ~/Qwen2-VL-7B-Instruct:/lmdeploy/models to ~/Qwen2-VL-7B-Instruct:/lmdeploy/models/Qwen2-VL-7B-Instruct or explicit specify the chat_template by --chat-template qwen我们根据文件夹名称匹配chat_template。您可以将映射文件夹 ~/Qwen2-VL-7B-Instruct:/lmdeploy/models 更改为 ~/Qwen2-VL-7B-Instruct:/lmdeploy/models/Qwen2-VL-7B-Instruct 或通过 --chat-template qwen 显式指定chat_template

Thank you very much. I will give it a try.

We match the chat_template based on folder name. You can either change the mapping folder ~/Qwen2-VL-7B-Instruct:/lmdeploy/models to ~/Qwen2-VL-7B-Instruct:/lmdeploy/models/Qwen2-VL-7B-Instruct or explicit specify the chat_template by --chat-template qwen我们根据文件夹名称匹配chat_template。您可以将映射文件夹 ~/Qwen2-VL-7B-Instruct:/lmdeploy/models 更改为 ~/Qwen2-VL-7B-Instruct:/lmdeploy/models/Qwen2-VL-7B-Instruct 或通过 --chat-template qwen 显式指定chat_template

Thank you very much. I will give it a try.

is the problem solved? I met the same error with InternVL2_8B_awq


There is no way to revoke someone's access to a board when they leave the team.

Bug report
Describe the bug
There is no way to revoke a user's access to an existing board if that user knows the board name and password.  There is also no feature that allows for the deletion of a board or ability to change the password of an existing board.
To Reproduce
N/A - functionality is not available.
Expected behavior
Built in functionality for the addition and removal of users on a retroquest board.
Screenshots
Functionality needs to be discussed and designed yet.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
We have had a long-term vision for RetroQuest auth to work similar to PeopleMover (minus the audit features).
There are inevitable consequences (pretty much all existing boards would have to get deleted or we'd have to build incredibly complex migration processes to the new login mechanisms), but it might be necessary to do something even if it impacts users.
This is not a "one story" thing, it's a pretty major re-architecting of the entirety of RetroQuest
There has been some domain rework done to be able to facilitate this kind of thing.

Keeping this as Epic. However Specific issues will be created to aide the transformation to access layers per board/team. 3Q22

The FordLabs RetroQuest 2022 team has addrressed this issue by adding the workflow to identify a "board owner" role and support the revision of passwords through this role.
RetroQuest shall remain an anonymous tool to capture team comments and improvement opportunities for future work.


Fix BoM Analytics Services dependency

Update the BoM Analytics Services dependency to 2024 R2, which is required because of https://github.com/ansys/grantami-bomanalytics/pull/465.
Also clarify the source of the dependency in the metapackage instructions, as being dependent on BAS, as opposed to Granta MI itself.
This fix should be cherry-picked onto the release/2.2 and release/2.1 branches following merge.

Should the run-time check version also be 24R2?

Addressed in #670


Make KDE bootstrap reproducible

This PR makes the KDE bootstrapping that we use to estimate MC errors on KDE'd histograms reproducible. Since the kde module didn't support setting seeds, I had to "in-source" the bootstrapping into the KDE stage itself to do this. I also added unit tests to ensure that the histograms with errors will give the same result with the same seed and different results with different seeds.

Only thing I would suggest to change, is not setting a default seed fixed to 0, but None such that by default it is random as expected. Only when you explicitly provide a seed it becomes fixed

Only thing I would suggest to change, is not setting a default seed fixed to 0, but None such that by default it is random as expected. Only when you explicitly provide a seed it becomes fixed

Okay, done! I also forgot that the numeric inputs that we get when parsing a pipeline config from a text file come in as strings that have to be converted to ints first.


chore: squash the last warning

Squash the last warnings.

#360  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @pepyakin and the rest of your teammates on  Graphite


(GH-121) Add Azure Arc support

Remaining Work

[ ] Unit Tests

[ ] Updated Documentation

Added new parameter to hiera lookup function and secret puppet lookup function

Optional[use_azure_arc_authentication] => Boolean.  this is optional and therefore not a breaking change

Closes #121

Hey @marcelmitto,
If you are able to verify/test the above that would be great.
Thanks for the help!


Having trouble with user impersonation on LDAP

Presto Version - 341
Configured with LDAP for authentication.
I have been using Hue & Superset which relies on SQLAlchemy to connect to Presto. However, both these tools fail to perform/adhere to user impersonation in Presto. I have added the needed settings for impersonation as mentioned in https://prestosql.io/docs/current/security/file-system-access-control.html#impersonation-rules
I didn't find a concrete solution for this problem but have been researching around this for a bit and found https://github.com/dropbox/PyHive/pull/309. It looks like some issue was addressed in the Starburst version of Presto which I couldn't find in the open-source version. Any leads here would be helpful.

found dropbox/PyHive#309. It looks like some issue was addressed in the Starburst version of Presto which I couldn't find in the open-source version

FWIW I am from Starburst and am unable to make a connection between Starburst and https://github.com/dropbox/PyHive/pull/309
If more changes is needed on PyHive side, this needs to be reported to https://github.com/dropbox/PyHive
If a change is needed on Presto side to make things work, we need to know what kind of changes are needed.
@DRavikanth can you perhaps engage with PyHive community to clarify what's needed?

https://github.com/apache/incubator-superset/pull/9422 works, been using that patch in prod for months

Thanks @tooptoop4 for the comment. I checked the code in the master branch and I didn't find the changes in there. Is this code merged to master or part of any release? I see master branch code still pointing to 0.4.0 version of PyHive. Any information would help. We are using docker image and managing Superset deployment on K8s.

it is not merged, u can do local patch

@DRavikanth  we are also facing a similar problem: https://github.com/apache/incubator-superset/issues/11359
Any help how you are doing user impersonation from superset to Presto ?

@tooptoop4  is your PR for the similar issue ?

@Asturias-sam https://github.com/apache/incubator-superset/pull/9422/files fixes it

@tooptoop4  is this require any changes from presto side as well i.e access-control impersonation-rules or just we need to check the user-impersonation checkbox from superset side?

@tooptoop4  how the password is set for the users i.e impersonating user ?

password does not need to be set for the user being impersonated :) u create a datasource with a super user (and its password), that acts as the principal, then users logging into superset get impersonated onto the connection (and authorization happens on their user privs, not the superuser). in access-control presto json u allow superuser to impersonate any user. of course, don't share the superuser paswword with any1, else they can impersonate as someone else

@tooptoop4  i have deployed your changes and i have done the following steps:

create a data source with admin and select impersonated user.
created a access-control presto json

"impersonation": [

        {
            "originalUser": "Admin",
            "newUser": ".*",
            "allow": false
        }
    ]

Login with non-admin user in superset, still not able to access the data source from presto logs it's says:
Password validation failed for user DN [nonadminuser]

Any help regarding this ?

what version of pyhive do u have on superset host?

also try to impersonate in just python using pyhive, without superset

pyhive version 0.6.2, @tooptoop4  have you done the same setup as mentioned above ?

@tooptoop4 directly from  pyhive how i can test user impersonate ?


[KK] VideoExport incompatibility with BepisPlugins r18.0

Newest BepisPlugins r18.0 breaks the UI of VideoExport. Rollback to previous version resolves this issue.

It seems to work fine, are you sure you have the latest version of VideoExport?

Testing with KK_HSPlugins_2022.03.01, VideoExport 1.2.4 and BepisPlugins r18.0

BepInEx log is getting filled with this error after I open VideoExport UI:
[Error  : Unity Log] ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
Stack trace:
IScreenshotPlugin System.Collections.Generic.List<VideoExport.ScreenshotPlugins.IScreenshotPlugin>.get_Item(int)
void VideoExport.VideoExport.Window(int)
void UnityEngine.GUI.CallWindowDelegate(WindowFunction, int, int, GUISkin, int, float, float, GUIStyle)

Try resetting settings of the plugin from plugin settings or by removing the cfg file.

Still nothing. Cfg file was created from scratch and didn't changed at all, except the first string with plugin version.
## Settings file was created by plugin VideoExport v1.2.4

KK_BepisPlugins_r18.0.1.zip
Does this fix the issue? Please check if recording normal/alpha still works.

Yup, now everything seems alright. Here's screenshots with transparency that captured with r18.0.1 screencap, rgAlpha on top.


Update copyright

This PR updates copyright.

Coverage remained the same at 100.0% when pulling 024d91ae9bddd29796d568d0c01f0808101941d0 on fisuda:hardening/update_copyright into aa8cfef204e0e6cb9a042e3a210528e5730324f9 on lets-fiware:main.


Sponsor and participate at EclipseCon 2019

Follow up of #55

#150
#151
#153
#154

We were sponsor for the PQD for €1,050 - https://www.eclipsecon.org/europe2019/prospectus
Which is ~150€ more than a usual attendee ticket: €895 + VAT


10.0.17763.1369 (Windows Server 2019)

Can u guys help me out on this?
Thank you.

10.0.17763.13369.txt
or
[10.0.17763.1369-SLInit]
bServerSku.x64 =ECAB8
lMaxUserSessions.x64 =ECABC
bAppServerAllowed.x64 =ECAC4
bInitialized.x64 =ECAB4
bRemoteConnAllowed.x64=ECAC8
bMultimonAllowed.x64 =ECACC
ulMaxDebugSessions.x64=ECAD0
bFUSEnabled.x64 =ECAD4
[10.0.17763.1369]
LocalOnlyPatch.x64 =1
LocalOnlyOffset.x64 =77AD1
LocalOnlyCode.x64 =jmpshort
SingleUserPatch.x64 =1
SingleUserOffset.x64=1339C
SingleUserCode.x64 =Zero
DefPolicyPatch.x64 =1
DefPolicyOffset.x64 =18025
DefPolicyCode.x64 =CDefPolicy_Query_eax_rcx
SLInitHook.x64 =1
SLInitOffset.x64 =1ACDC
SLInitFunc.x64 =New_CSLQuery_Initialize

Hi Stascorp/Rdpwrap,
Where should i copy and post this?
Thank u.
On Tue, Dec 1, 2020, 20:12 anup<EMAIL_ADDRESS>wrote:

10.0.17763.13369.txt
https://github.com/stascorp/rdpwrap/files/5622459/10.0.17763.13369.txt
or
[10.0.17763.1369-SLInit]
bServerSku.x64 =ECAB8
lMaxUserSessions.x64 =ECABC
bAppServerAllowed.x64 =ECAC4
bInitialized.x64 =ECAB4
bRemoteConnAllowed.x64=ECAC8
bMultimonAllowed.x64 =ECACC
ulMaxDebugSessions.x64=ECAD0
bFUSEnabled.x64 =ECAD4
[10.0.17763.1369]
LocalOnlyPatch.x64 =1
LocalOnlyOffset.x64 =77AD1
LocalOnlyCode.x64 =jmpshort
SingleUserPatch.x64 =1
SingleUserOffset.x64=1339C
SingleUserCode.x64 =Zero
DefPolicyPatch.x64 =1
DefPolicyOffset.x64 =18025
DefPolicyCode.x64 =CDefPolicy_Query_eax_rcx
SLInitHook.x64 =1
SLInitOffset.x64 =1ACDC
SLInitFunc.x64 =New_CSLQuery_Initialize
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stascorp/rdpwrap/issues/1221#issuecomment-736513344,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR6RP3ZYFYLYVRTUFUJDQELSSTMRTANCNFSM4UI27UZA
.

@budakgame

Go to C:\Program Files\RDP Wrapper
Stop terminal service
Open rdpwrap.ini by Botepad, Notepad++ or other text editor
Paste this to end of INI file (The last line of the file must be empty!)
Reboot

That version is supported by affinityv's file, and it should be supported
by the others, too:
https://github.com/affinityv/INI-RDPWRAP/blob/master/rdpwrap.ini
On Tue, 1 Dec 2020 at 20:43, budakgame<EMAIL_ADDRESS>wrote:

[image: image]
https://user-images.githubusercontent.com/75306991/100730338-e7e52600-3404-11eb-94a9-6c94954890ca.png
[image: image]
https://user-images.githubusercontent.com/75306991/100730451-0814e500-3405-11eb-93ab-3f247041f7ad.png
Can u guys help me out on this?
Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stascorp/rdpwrap/issues/1221, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMCGIRI7Z55PJM5OXOIR4DSSTCFRANCNFSM4UI27UZA
.

None of these answers worked for me. What worked was setting-up and using the rdpwrapper auto-updater mentioned in this answer.


[FEATURE REQ] Support extra header in OpenAI LLM sdk like Python openai sdk did

Library name
Azure.AI.OpenAI
Please describe the feature.
hi, OpenAI .Net sdk developper, we know that in python sdk openai, there is a way to add extra header directly in chat/completion api, but seems in Azure.AI.OpenAI .net sdk, there is no such feature support, is there any plan to support it?
below is the python invocation sample:
`import openai
openai.api_key = "your-api-key"
response = openai.Completion.create(
engine="text-davinci-002",
prompt="Translate the following English text to French: '{"role": "system", "content": "You are a helpful assistant."}'",
max_tokens=60,
headers={"Extra-Header": "Extra-Value"}
)`

Hi @zemaMSFT.  Thank you for reaching out and for your question.  Manipulating the raw HTTP request shape, including adding arbitrary headers, is done by interacting with the Azure.Core HttpPipeline in .NET.  An example of injecting a custom header using a pipeline policy can be found in the Implementing a synchronous policy sample.

thanks @jsquire !


Disable manual resizing of the dialog

Hi guys,
It would be great if we could disable the resizing of the dialog window, thus preventing the user from resizing it manually.
Something like:
tableau.extensions.ui.displayDialogAsync(popupUrl, data, {             height: 500,             width: 500,             resizable: false         })
Please let me know if there is any workaround for that today.
Thanks.

@melquic could you give more context here - is there a specific problem you're encountering when users resize manually?

@bcantoni the problem is not with the resize itself. The problem is that in Windows the dialog box is always showing a scrollbar, even without content to scroll, which ends up suggesting to the user to resize it. This does not happen on the Mac.

@bcantoni the problem is not with the resize itself. The problem is that in Windows the dialog box is always showing a scrollbar, even without content to scroll, which ends up suggesting to the user to resize it. This does not happen on the Mac.

@melquic - We are currently working on displayDialogAsync. We will respect the size passed in, and make it non-resizable.
Thanks.

@melquic - We are currently working on displayDialogAsync. We will respect the size passed in, and make it non-resizable.
Thanks.

See the new DialogStyle.Modal - https://tableau.github.io/extensions-api/docs/enums/tableau.dialogstyle.html#modal


Why tap is prevented on draggable item?

I use ng-sortable to sort some thumbnail images in one of my projects. I want to open a lightbox to show image bigger in mobile devices. Because of screen is very small, I don't want to use a seperate element for that(I have a "preview button" that shown in desktop screens). But you said "Tap is prevented on draggable item." in Readme file. Why did you need something like that? And can you suggest a workaround?

I just duplicated this issue in #296 but gave way more details

fastclick was my issue. I broke everything down and isolated my issue. Turns out once I stopped using the package FASTCLICK, everything start working.

I have forms that can appear inside draggable items. It used to be the user on a desktop PC could use a mouse to navigate those forms, but as of some recent update to ng-sortable they can no longer do that. They can no longer click on items in a form inside a draggable item. They have to tab into and around the form with the keyboard.
Is this the same issue as above?
Is this a feature or a bug?
If it's a deliberate new feature, is there a way to turn it off?

@dllabs you can wrap your form with no-drag attribute.

It has no-drag already.

the fact that some elements can still be clicked on, and some cannot, is strange, no? As soon as I take the as-sortable-item-handle off the parent div, all the elements can be clicked on.

If anyone is reading this and using ionic. Just easily add data-tap-disabled="true" to your data-as-sortable-item element in order to get ng-click working. Source: http://ionicframework.com/docs/api/page/tap/
Would be nice thought to add a Quirks topic in the documentation listing these common issues.

I use Ionic. Trying to transition from v1 to v2, right now. I hella appreciate your comment, fella. I have made a mental note for it. So far real good on drag/drop in Ionic using ng-sortable :)


DO NOT MERGE (yet): Changes file id to UUID versus just an int

This requires it's PR counterpart to be present.  We will talk about these in computer gardening on Jan 30th to plan.


mdc-textfield: Pass id attribute from scope onto root element

What vue-mdc-adapter Version are you using?

0.14.0

What are the steps to reproduce the bug?

Use mdc-textfield with an id attribute
Markup does not include the id attribute on the root element

What is the expected behavior?

Should pass the id to the root elemennt.

What is the actual behavior?
Scope attributes pass transparently to the underlying native element (eg. input).
Any other information you believe would be useful?
Transparently wrapping the scope elements onto the inner native control gives the best general behaviour for most users/use cases, but as they have auto generated ids it should be safe to put any user supplied id on the root element. In one issue, #280, there is a possible use case.

@pgbross
I can confirm that having the id attribute on the root element will solve all my problems.
Regarding the other "vuegg-specific" attributes that I'm using, I've decided to refactor my code (and take the correct approach), passing these through as data-* attrs.
BTW, I've noticed that also the select happen to have the same problem... I haven't look into it, but I would guess that the select component uses an input inside it?
Thanks for the support!


[FEAT]: Allow existing partner users to change their name

Is there an existing request for this feature?

[X] I have searched the existing issues

Is there a pain point in the app driving this feature request?
Currently, partners are given a default name of "CHANGEME" (soon to be "Name Not Provided") which they or the organization have no way of changing. There is currently no way for a partner user to change their name or an organization.
Desired Behavior
There should be a new page in a logged-in partner is able to access via a link labeled "My Profile":

The partner should be able to see their name and update it.
Criteria for Completion

[ ] There is a dropdown link from the email labeled "My Profile"
[ ] Clicking "My Profile" will take them to a page to view their profile data and be able to update it.

Anything else?
There should be another issue in which we allow partner users and users to set their name when accepting an invite.
Code of Conduct

[X] I've read the Code of Conduct and understand my responsibilities as a member of the Ruby for Good community

I can take a crack at this


Add vue-moveable to Miscellaneous

@probil Could you update this PR if it is relevant. In any case, let me know if something is necessary.

@Scrum done


make loss.backward() work

I was trying to use gumbel_intersection in my training code. However, when calling the loss.backward(), there would be an error message. Imgur which shows that there should not be an in-place operation with tunable parameter. After I made some changes in the intersection function, the code worked out.

Thanks for creating the PR. I am not entirely sure if this issue is coming up due to the box-embeddings library—we have been able to backprop successfully while using gumbel intersection. Would you be able to create a small test case that isolates this issue this issue?


Add @SerialName to all states to decrease states json length

There are a lot of symbols used on state package while it can be cut with @SerialName


Option to keep existing clonedir as is / git-pull --rebase

While you can use -e to edit build files, it does not seem to be possible to just keep existing ones.
There could be an option that would make DownloadPkgs keep existing clonedirs?
Additionally/alternatively I could imagine using git pull --rebase instead of the git reset --hard HEAD + git pull, which would take care of that automatically.

This seems to be related to your PR #495. I probably should clarify right now that pacaur has never been designed to handle modified PKGBUILDs, and this is still something I am unwilling to do. Stuff like customizepkg or personal modification that won't make it back to the upstream PKGBUILD should be handled manually with cower or other tools. Unless I get a steady flow of money to encourage me to maintain it on the long term, but I doubt that would ever happen.
If you really wish this feature, I'd suggest you to maintain your own fork here. For the same reason,  I believe your commit f8cad8667deaeb3280620fd811f823af7307507b in PR #495 is also out of scope of the initial objective of pacaur. Commit f8cad8667deaeb3280620fd811f823af7307507b seems valid though, and cleaner than the timestamp method.


Add support for external resources

Allow for excluded paths

This can be done by the particular user of the library. No need to implement it here.


fix: return correct sub index statistics

BREAKING CHANGE: IVF indices will instead have index_type field return IVF_FLAT_PQ or IVF_HNSW_SQ instead of just IVF.

Codecov Report
Attention: Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.

Project coverage is 79.64%. Comparing base (0dbfc7c) to head (58a1227).
Report is 1 commits behind head on main.

Files
Patch %
Lines

rust/lance-index/src/vector/hnsw/builder.rs
0.00%
8 Missing :warning:

rust/lance-index/src/vector/flat/index.rs
0.00%
5 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2532      +/-   ##
==========================================
- Coverage   79.66%   79.64%   -0.03%
==========================================
  Files         207      207
  Lines       59179    59187       +8
  Branches    59179    59187       +8
==========================================
- Hits        47147    47138       -9
- Misses       9256     9271      +15
- Partials     2776     2778       +2

Flag
Coverage Δ

unittests
79.64% <0.00%> (-0.03%)
:arrow_down:

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

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

Should this be flagged as a potential breaking change?

Agree that changing index_type output is a breaking change that users might be relying on.


Unable to change the Source for a Draw interaction

A quick glance at the code suggests it should be easy to make the Source that is the eventual feature destination of ol.interaction.Draw an editable property. We have some workflows where that can change, and updating the property is easier than unbinding and rebuilding the interaction.

Is there no solution right now than to rebuild the interaction? Looking at ol.interaction.Select there is an option to supply the layers property a filter function.

@ralphstodomingo just took another dive into the code, and no there isn't at this time.


[system][question] Issues with using useColorScheme with localstorage

Steps to reproduce
Link to live example: https://codesandbox.io/p/github/sawa-ko/nextjs-app-router-mui-bug/main
Steps:

Use nextjs v14 (app folder)
Install mui
Change theme

// change-theme.tsx

'use client';

import Button from "@mui/material/Button";
import { useColorScheme } from "@mui/material/styles";
import { useEffect, useState } from "react";

export default function ChangeTheme() {
  const { mode, setMode } = useColorScheme();
  const [isMounted, setIsMounted] = useState(false);

  useEffect(() => {
    setIsMounted(true);
  }, [mode, isMounted]);

  if (!isMounted) {
    return null;
  }

  return (
    <Button
      onClick={() => {
        setMode(mode === 'light' ? 'dark' : 'light');
      }}
    >
      {mode === 'light' ? 'Turn dark' : 'Turn light'}
    </Button>
  );
}

// layout.tsx

import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";

import { AppRouterCacheProvider } from '@mui/material-nextjs/v14-appRouter';
import {
  Experimental_CssVarsProvider as CssVarsProvider,
} from '@mui/material/styles';
import theme from "./theme";

import CssBaseline from '@mui/material/CssBaseline';

const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
  title: "Create Next App",
  description: "Generated by create next app",
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en" >
      <body className={inter.className}>
        <AppRouterCacheProvider options={{ enableCssLayer: true }}>
            <CssVarsProvider theme={theme}>
              <CssBaseline enableColorScheme={true}  />
              {children}
            </CssVarsProvider>
        </AppRouterCacheProvider>
        </body>
    </html>
  );
}

// theme.tsx

'use client';
import { Roboto } from 'next/font/google';
import {
  experimental_extendTheme as extendTheme,
} from '@mui/material/styles';

import { blue } from '@mui/material/colors';
import { LinkBehavior } from '@/components/link';

const roboto = Roboto({
  weight: ['300', '400', '500', '700'],
  subsets: ['latin'],
  display: 'swap',
});

const theme = extendTheme({
  unstable_strictMode: true,
  colorSchemes: {
    dark: {
      palette: {
        primary: {
          ...blue,
          main: blue[300],
        },
      }
    }
  },
  typography: {
    fontFamily: roboto.style.fontFamily,
  },
  components: {
    MuiLink: {
      defaultProps: {
        component: LinkBehavior,
      },
    },
    MuiButtonBase: {
      defaultProps: {
        LinkComponent: LinkBehavior,
      },
    },
  },
});

export default theme;

Current behavior
Actually I want to change the theme of my application following the migration guide that mui has in its documentation, but something strange happens.
The hook changes the mui-mode property of the localstorage however there are 2 more properties that are also marked as a kind of setting for the color scheme.

The strange thing is that when the hook changes that property of the localstorage nothing happens, but if I change the mui-color-scheme-dark property to dark manually then the change happens, can someone explain me how these properties of the localstorage work?
It is necessary to emphasize that I have not created them, mui creates them automatically.
Expected behavior
That when the hook changes the color scheme is actually changed, and that there is an explanation of how these settings work in the documentation because I searched and found nothing.
Context
Change the color scheme.
Your environment

npx @mui/envinfo
$ pnpx @mui/envinfo

  System:
    OS: Windows 11 10.0.22631
  Binaries:
    Node: 20.12.2 - C:\Program Files\nodejs\node.EXE
    npm: 10.5.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.0.6 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Chromium (124.0.2478.51)
  npmPackages:
    @emotion/react: ^11.11.4 => 11.11.4
    @emotion/styled: ^11.11.5 => 11.11.5
    @mui/material: ^5.15.16 => 5.15.16
    @mui/material-nextjs: ^5.15.11 => 5.15.11
    @types/react: ^18 => 18.3.1
    react: ^18 => 18.3.1
    react-dom: ^18 => 18.3.1
    typescript: ^5 => 5.4.5

I am using microsoft edge in its version: 124.0.2478.80
Search keywords: useColorScheme, mui-color-scheme-dark, mui-color-scheme-light, mui-mode, localstorage scheme, localstorage mui mode

Can you link a working demo (a Github repo or a Codesandbox/Stackblitz link) ? It'll be easier to debug.

@siriwatknp This might be your area of expertise. Seems related to @mui/material-nextjs.

@sawa-ko The mui-color-scheme-light and mui-color-scheme-dark keys are for picking the color schemes from the theme. So the logic is like this:
mui-mode (dark) => mui-color-scheme-dark (dark) => dark palettes

The reason to have mui-color-scheme-dark is to support more palette than light and dark in the future. There is no documentation yet since it's suppose to be internal logic.


100% CPU usage

Output from top:
7208 michael   20   0 1440952  22184   7740 S 100.5  0.1   2:13.05 serialport-serv
Any way to fix this? Does the design involve an endless loop?

I was having the same issue, I wasn't exactly sure what was causing it so I rewrote the tool in golang. Since you can compile it, it runs infinitely bettter.


Feature Request: POST GIF per URL

It would be nice to be able to upload a GIF via a URL.
That means: I enter a URL, the API downloads the image and forwards it to the Pixoo.

Hmmm... nice idea.
However, I'd like to keep the implementation/features of the REST-API as simple as possible.
Having to deal with the actual "download handling" (timeouts, caching, errors, etc.) would add additional complexity.
Also, the pixoo-rest app would need to have internet access for this... which might not be a use case for everyone.
So... I'm closing this for now.
Maybe more people will show interest for this in the future.
Thanks.


Problem accurred "flutter_keyboard_visibility"  No signature of method  issue comes after flutter upgrade 3.7.12 to 3.10.0

FAILURE: Build failed with an exception.

Where:
Build file 'C:\Users\laptop\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_keyboard_visibility-5.4.2\android\build.gradle' line: 24

What went wrong:
A problem occurred evaluating project ':flutter_keyboard_visibility'.

No signature of method: build_2lhbhim0jxkma38rf9d3xuzsq.android() is applicable for argument types: (build_2lhbhim0jxkma38rf9d3xuzsq$run_closure2) values: [build_2lhbhim0jxkma38rf9d3xuzsq$
run_closure2@6c8f0022]

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 5s
Running Gradle task 'assembleDebug'...                              7.0s
Exception: Gradle task assembleDebug failed with exit code 1

Issues with third-party packages need to be reported to the package authors, rather than the Flutter project.

are you find any solution?!


Migrate to Flutter 2

Opening this for discussion.

Is there anything to discuss?

Is there anything to discuss?

Dependencies ¯_(ツ)_/¯
Idk just figured we should log a bug for it so it's on the agenda.


add MySQL DB credentials to Key.js for prod + local

@mikeroelens lets do this tomorrow so we don't have to keep updating database.js


Bump SingleStoreDB Version to 8.1.19

SingleStoreDB version number: 8.1.19-a02d6edb4f
Internal Freya Release URL: https://freya.internal.memcompute.com/release/?releaseID=4fec812e-0c59-4f1b-8a76-1bb50ca81f68

Cleaning up old issues.


[FLINK-29851] Correctly depend on flink-kubernetes-standalone shaded classifier

What is the purpose of the change
Fix the flink-kubernetes-standalone dependency in the flink-kubernetes-operator submodule to actually use the shaded classifier which is required to avoid fabric8 conflicts when running from IntelliJ (and it's also the actual dependency we use at runtime also)
Brief change log
This change is already covered by existing e2e tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): yes
The public API, i.e., is any changes to the CustomResourceDescriptors: no
Core observer or reconciler logic that is regularly executed: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? docs

cc @morhidi

+1 LGTM. If you feel so you can add a third option to the docs too that ignores the standalone module's pom.xml:
Preferences > Build, Execution,Deployment > Build Tooles > Maven > Ignored Files


Develop: new features

New features

Can change default configuration name to avoid conflict.
Can decided whether or not to use item-scoped variables.

Refactor

Optimize code quality for future reference such as GTM JSON template tags, triggers, variables and related interfaces.
Bootstrapping using standalone app.
Re-organize files for clarity.
Optimize UI/UX and fix known bugs.

SEO (previous performance score was: 66)

Performance doesn't improve.


estimote-sticker not sending rssi in latest npm build

payload is like this:
{
  "id": "9ca626b86a3a5c26",
  "uuid": "d0d3fa86ca7645ec9bd96af49ca626b86a3a5c26",
  "type": "SB0",
  "firmware": "unknown",
  "bootloader": "SB1.0.0",
  "temperature": 23.8125,
  "moving": false,
  "batteryLevel": "unknown",
  "acceleration": {
    "x": -15.625,
    "y": 46.875,
    "z": -1000
  },
  "currentMotionStateDuration": 1560,
  "previousMotionStateDuration": 0,
  "power": 7,
  "firmwareState": "app"
}

Based on the docs (and the purpose of beacons), we're expecting to receive the rssi so we can calculate approximate distance. I'll PR a patch for this soon.
The problem is that rssi is not added to the sticker object in estimote-sticker.js in the version of the library that is on npm, even though the code in the repo is correct. Can you publish a patch to npm?

Can you publish a patch to npm?

Done, v0.5.0 published to npm.


fix: update readme packages, formatting

Fixes #3649

Pull Request Test Coverage Report for Build 811188837

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage remained the same at 85.437%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build 808301438:
0.0%

Covered Lines:
19217

Relevant Lines:
21393

💛  - Coveralls


REP migration update

https://www.figma.com/file/bZh7tOiLm6Ls9Hl4RL6qMC5X/Augur-Redesign?node-id=14936%3A224
IF user has V1 REP in GS, THEN show option 1
IF user has V1 REP in wallet, THEN show option 2
IF user has V1 REP in GS AND WALLET, THEN show option 1, when complete, THEN show option 2

Spotted an issue that's confusing.
When you have v1 rep in your GS, the tooltip says:
"You have V1 REP in your wallet. Migrate it to V2 REP to use it in Augur V2."
You don't, it's in your 'augur account address' etc.
We can reduce the confusion here by having two versions of this:
1: IF user has v1 rep in their GS (or IF user has v1 rep in both GS and wallet)
"You have V1 REP in your Augur account address. Migrate it to V2 REP to use it in Augur V2."
2: IF user has v1 rep in their wallet
"You have V1 REP in your wallet. Migrate it to V2 REP to use it in Augur V2."

@andrewdamelio is there any way i can test the modal with legacy v1 rep in my MM wallet? Not sure how i can send legacy rep from GS to my wallet?

Confirmation state of button is broken:

Typo in the version of the modal when v1 rep is in wallet:
first word of second paragraph "then" -> "When"

Failed state of button is broken:

Confirm state of button is still broken in chrome.
and
It disappears too quickly. The confirmed state should show for 3 seconds before being removed.

All issues above are fixed.
I spotted an issue that's impacting the whole page at ipad resolution (between 768 to ~800).
Open the page at 768px width, when the migrate REP button appears it breaks the layout, see the left side of the page flowing outside of the browser window:

for the comment mentioned above by Chwy, I would think the best way to handle this is to reduce the space to the left of the migrate button. the fillSpace LI should most likely be refactored/removed and instead we can apply a margin-right: auto to the 3rd LI (portfolio) so that we have a bit more flexibility here. I would also look at why we have such strict left/right padding on each LI so as to crunch up things like account summary and create market when ideally they don't break into 2 lines if there is still space to be used.

@andrewdamelio  see John's comment.


Error callback is not defined EHOSTUNREACH

Hello, I have an error which I cannot solve, indeed, I have an arduino with module ip on which is connected a led and a sensor of temperature. If I put only the led or only the sensor of temperature in the configuration file of homebridge everything works perfectly, but if I puts both in the configuration file, as soon as I throw homebridge on my iPhone, that this crash and shows an error message.
Is it a problem of compatibility in the http plugin homebridge and the plugin homebridge-http-temperature?
How to solve the problem?

Hello,
After several hours of intensive research and testing, the only solution I found for this to work is not to specify a status_url in the configuration file.
However, this solution presents a major disadvantage, I no longer have the information of whether the lamp is switched on or off.
I hope someone will find a solution to solve this problem and have the lamp state.
cordially


Update Custom Hostnames API + add to CLI

[x] Update Custom Hostnames API to support pagination, List vs. Filter.
[ ] Add full support for Custom Hostnames ("SSL for SaaS") to flarectl (CLI)

(Work in progress)

@elithrar when do you expect to complete and merge this?

I no longer work at Cloudflare, and thus won't be completing it (as I don't
use Cloudflare for my day job either).
On Tue, Jun 4, 2019 at 9:46 AM Elvin Efendi<EMAIL_ADDRESS>wrote:

@elithrar https://github.com/elithrar when do you expect to complete
and merge this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cloudflare/cloudflare-go/pull/159?email_source=notifications&email_token=AAAEQ4ELNEYMVKCXYI46JUTPY2L6VA5CNFSM4EIKXD6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW5FV5Y#issuecomment-498752247,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAEQ4F7UWKH3YG7WPQHE5TPY2L6VANCNFSM4EIKXD6A
.


Made changing transform/rotation/scale in editor update transform

Made changing transform/rotation/scale of a Spatial in editor update transform, changing transform already updated those properties, now the reverse is true as well.
This fixes #10574

I am in the process of changing entirely how this system works, more in favor of a constant check and refresh system (which is now possible in new inspector). Closing this as it will no longer make sense by then.


Add unintended_html_in_doc_comment lint and fixes.

This change adds the unintended_html_in_doc_comment lint. Proposal: https://github.com/dart-lang/linter/issues/4793.
This will replace the typeAsHtml Dartdoc warning, which is being deprecated and eventually removed.
I changed the unintended html tags in a couple ways:

If it's a private method or field, I didn't bother using < or > since it will be ignored by Dartdoc anyways. If it isn't meant to be code, I just added a lint ignore to maintain the readability of the comment.
If it looks like it should be a code block or code span, I added those around the tag.
If it's none of the above, I used < or > to make sure the angle brackets still appear as we wanted.

Examples of some API docs changed:

https://api.flutter.dev/flutter/services/DefaultProcessTextService-class.html which had some funky code blocks have been cleaned up.
https://api.flutter.dev/flutter/semantics/SemanticsProperties/onSetText.html "Voice access users can trigger this handler by speaking "type <text>" to their Android devices." The <text> tag is no longer absorbed.
https://api.flutter.dev/flutter/services/DeferredComponent/installDeferredComponent.html "This method returns a Future<void>..." where Future<void> is no longer absorbed.

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Examples of some API docs changed:

Nice fixes!
Could you also update/remove this here: https://github.com/flutter/flutter/blob/a557f0439c5ab68388b66243a4e19b8ded27b86f/dartdoc_options.yaml#L41

We decided to close this for now as it is currently blocked on https://github.com/dart-lang/sdk/issues/55458.


wordwrap broken?

Hi Guys,
I just updated my pixi files on my apps and now the wordwrap is not working anymore.
http://jsfiddle.net/MbU3Z/
Can you please fix it? ;)
Also, could you add an option to simply cut the text if it exceeds the wrapwidth?
I'm currently doing this:
text.setText(text.wordWrap(text.text).split('\n')[0]);
text.updateText();
But that way I would do the wordwrap twice. Since pixi is doing the wordwrap anyway, maybe add a parameter like "cut" which is 0 (false) by default, and you can set the number of max lines that you want to actually display. Maybe optional with "..." at the end ;)

Pretty sure this is fixed in latest dev.


Not allowed to load local resource:

Describe the issue / bug.
When running in a production environment, I get the error "Not allowed to load local resource:" followed by a path to a file that definitely does exist.
I've attempted to turn off WebSecurity in the BrowserWindow preferences, and this removes the error from the devtools console, but the issue still remains that nothing is rendered. The codebase works perfectly using yarn run dev
I've attempted to set the __dirname and __filename to false inside of the webpack config, though I don't really understand webpack.
I've included in the package.json > build > files array dist/**/* to include all files from this directory, I'm not sure if this helps or hinders this.
Using asar, with nsis installer.
Vue 2.2.3, Vue Electron 1.0.6, Vue Router 2.5.3
How can I reproduce this problem?
I am unsure. I haven't tried migrating this to a newly init'ed project because that's quite a task for what seems to be a working codebase.
If visual, provide a screenshot.
Image
Tell me about your development environment.

Node version: 10.8.0 32 bit
NPM version: 6.2.0
vue-cli version: (if necessary)
Operating System: Win 10 Pro 64bit

Bump, kinda need this resolved

I've managed to solve this myself, I'm not sure how, but it now works.


Binder: Error loading mariobuikhuizen/ipyvuetify/master

Hello!
The binder does not seem to work for the example: https://mybinder.org/v2/gh/mariobuikhuizen/ipyvuetify/master?filepath=examples%2FExamples template.ipynb
Waiting for build to start...
Picked Git content provider.
Cloning into '/tmp/repo2dockeris7dzx48'...
HEAD is now at 0b74c45 chore: cleanup and format setup.py
Building conda environment for python=3.7
Using PythonBuildPack builder
Building conda environment for python=3.7
Building conda environment for python=3.7
Step 1/51 : FROM buildpack-deps:bionic
 ---> 8ec5bb581fc6
Step 2/51 : ENV DEBIAN_FRONTEND=noninteractive
 ---> Using cache
 ---> 43d60e6382e7
Step 3/51 : RUN apt-get -qq update &&     apt-get -qq install --yes --no-install-recommends locales > /dev/null &&     apt-get -qq purge &&     apt-get -qq clean &&     rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> d3cb8332e47e
Step 4/51 : RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen &&     locale-gen
 ---> Using cache
 ---> 200451a06b29
Step 5/51 : ENV LC_ALL=en_US.UTF-8     LANG=en_US.UTF-8     LANGUAGE=en_US.UTF-8
 ---> Using cache
 ---> 41d517ca8ade
Step 6/51 : ENV SHELL=/bin/bash
 ---> Using cache
 ---> 509fa4b3dbce
Step 7/51 : ARG NB_USER
 ---> Using cache
 ---> e3a63a1fdc8c
Step 8/51 : ARG NB_UID
 ---> Using cache
 ---> 094b036510a7
Step 9/51 : ENV USER=${NB_USER}     HOME=/home/${NB_USER}
 ---> Using cache
 ---> 35eda80fff44
Step 10/51 : RUN groupadd         --gid ${NB_UID}         ${NB_USER} &&     useradd         --comment "Default user"         --create-home         --gid ${NB_UID}         --no-log-init         --shell /bin/bash         --uid ${NB_UID}         ${NB_USER}
 ---> Using cache
 ---> 4c065dd4d3d0
Step 11/51 : RUN apt-get -qq update &&     apt-get -qq install --yes --no-install-recommends        less        unzip        > /dev/null &&     apt-get -qq purge &&     apt-get -qq clean &&     rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> ed575c1e9bef
Step 12/51 : EXPOSE 8888
 ---> Using cache
 ---> ac44bcf947c8
Step 13/51 : ENV APP_BASE=/srv
 ---> Using cache
 ---> 547d1219975f
Step 14/51 : ENV CONDA_DIR=${APP_BASE}/conda
 ---> Using cache
 ---> edf689e92cf2
Step 15/51 : ENV NB_PYTHON_PREFIX=${CONDA_DIR}/envs/notebook
 ---> Using cache
 ---> e28ca7bbc29c
Step 16/51 : ENV NPM_DIR=${APP_BASE}/npm
 ---> Using cache
 ---> 47f6626c6c90
Step 17/51 : ENV NPM_CONFIG_GLOBALCONFIG=${NPM_DIR}/npmrc
 ---> Using cache
 ---> 32287cd4b3ad
Step 18/51 : ENV NB_ENVIRONMENT_FILE=/tmp/env/environment.lock
 ---> Using cache
 ---> b07dbf8ac51e
Step 19/51 : ENV MAMBA_ROOT_PREFIX=${CONDA_DIR}
 ---> Using cache
 ---> ea878ccb1008
Step 20/51 : ENV MAMBA_EXE=${CONDA_DIR}/bin/mamba
 ---> Using cache
 ---> 7d6601cd6ce4
Step 21/51 : ENV CONDA_PLATFORM=linux-64
 ---> Using cache
 ---> f40d8315142d
Step 22/51 : ENV KERNEL_PYTHON_PREFIX=${NB_PYTHON_PREFIX}
 ---> Using cache
 ---> a1805333a060
Step 23/51 : ENV PATH=${NB_PYTHON_PREFIX}/bin:${CONDA_DIR}/bin:${NPM_DIR}/bin:${PATH}
 ---> Using cache
 ---> 2262e70c16c2
Step 24/51 : COPY --chown=1000:1000 build_script_files/-2fusr-2flib-2fpython3-2e10-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2factivate-2dconda-2esh-44e764 /etc/profile.d/activate-conda.sh
 ---> Using cache
 ---> 3e9f20028ad4
Step 25/51 : COPY --chown=1000:1000 build_script_files/-2fusr-2flib-2fpython3-2e10-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2fenvironment-2epy-2d3-2e7-2dlinux-2d64-2elock-27f2b2 /tmp/env/environment.lock
 ---> Using cache
 ---> ae2607b85cc0
Step 26/51 : COPY --chown=1000:1000 build_script_files/-2fusr-2flib-2fpython3-2e10-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2finstall-2dbase-2denv-2ebash-e5509f /tmp/install-base-env.bash
 ---> Using cache
 ---> b5774dd2b742
Step 27/51 : RUN TIMEFORMAT='time: %3R' bash -c 'time /tmp/install-base-env.bash' && rm -rf /tmp/install-base-env.bash /tmp/env
 ---> Using cache
 ---> 2cb05899bfe8
Step 28/51 : RUN mkdir -p ${NPM_DIR} && chown -R ${NB_USER}:${NB_USER} ${NPM_DIR}
 ---> Using cache
 ---> 7c06f07fd02a
Step 29/51 : USER root
 ---> Using cache
 ---> f7fa0a6e882b
Step 30/51 : ARG REPO_DIR=${HOME}
 ---> Using cache
 ---> b5b14538fc97
Step 31/51 : ENV REPO_DIR=${REPO_DIR}
 ---> Using cache
 ---> 1057cb3fe4e9
Step 32/51 : RUN if [ ! -d "${REPO_DIR}" ]; then         /usr/bin/install -o ${NB_USER} -g ${NB_USER} -d "${REPO_DIR}";     fi
 ---> Using cache
 ---> 0a139ab4848c
Step 33/51 : WORKDIR ${REPO_DIR}
 ---> Using cache
 ---> 05117f89bd43
Step 34/51 : RUN chown ${NB_USER}:${NB_USER} ${REPO_DIR}
 ---> Using cache
 ---> 515d98f4d929
Step 35/51 : ENV PATH=${HOME}/.local/bin:${REPO_DIR}/.local/bin:${PATH}
 ---> Using cache
 ---> 3e9481ee9243
Step 36/51 : ENV CONDA_DEFAULT_ENV=${KERNEL_PYTHON_PREFIX}
 ---> Using cache
 ---> 6a5822c66418
Step 37/51 : COPY --chown=1000:1000 src/requirements.txt ${REPO_DIR}/requirements.txt
 ---> 806f3b827db6
Step 38/51 : USER root
 ---> Running in 0b5faf95b735
Removing intermediate container 0b5faf95b735
 ---> 45e899c113f8
Step 39/51 : COPY --chown=1000:1000 src/ ${REPO_DIR}/
 ---> 1c1873d978b7
Step 40/51 : USER ${NB_USER}
 ---> Running in ee6ada009daa
Removing intermediate container ee6ada009daa
 ---> 5236cbd749c4
Step 41/51 : RUN ${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir -r "requirements.txt"
 ---> Running in d75488d503d8
Collecting pandas
  Downloading pandas-1.3.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 43.4 MB/s eta 0:00:00
Collecting numpy>=1.17.3
  Downloading numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.7/15.7 MB 131.1 MB/s eta 0:00:00
Requirement already satisfied: python-dateutil>=2.7.3 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from pandas->-r requirements.txt (line 1)) (2.8.2)
Requirement already satisfied: pytz>=2017.3 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from pandas->-r requirements.txt (line 1)) (2022.7.1)
Requirement already satisfied: six>=1.5 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from python-dateutil>=2.7.3->pandas->-r requirements.txt (line 1)) (1.16.0)
Installing collected packages: numpy, pandas
Successfully installed numpy-1.21.6 pandas-1.3.5
Removing intermediate container d75488d503d8
 ---> cae84abb785d
Step 42/51 : RUN ${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir .
 ---> Running in 8d47db52d6e0
Processing /home/jovyan
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): still running...
  Preparing metadata (setup.py): finished with status 'error'
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [144 lines of output]
      running egg_info
      running generate_source
      npm WARN old lockfile
      npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      npm WARN old lockfile
      npm WARN old lockfile This is a one-time fix-up, please be patient...
      npm WARN old lockfile
      npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
      npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-url#deprecated
      npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated
      npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
      npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies

      added 161 packages, and audited 162 packages in 38s

      10 vulnerabilities (1 low, 7 high, 2 critical)

      To address all issues, run:
        npm audit fix

      Run `npm audit` for details.
      npm notice
      npm notice New major version of npm available! 8.19.2 -> 9.5.1
      npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.5.1>
      npm notice Run `npm install -g<EMAIL_ADDRESS>to update!
      npm notice
      running jsdeps
      8.19.2
      8.19.2
      Installing build dependencies with npm.  This may take a while...
      npm WARN old lockfile
      npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      npm WARN old lockfile
      npm WARN old lockfile This is a one-time fix-up, please be patient...
      npm WARN old lockfile
      npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
      npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
      npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-url#deprecated
      npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
      npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated
      npm WARN deprecated<EMAIL_ADDRESS>Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
      npm WARN deprecated<EMAIL_ADDRESS>The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
      npm WARN deprecated<EMAIL_ADDRESS>Please update to ini >=1.3.6 to avoid a prototype pollution issue
      npm WARN deprecated<EMAIL_ADDRESS>You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
      npm WARN deprecated<EMAIL_ADDRESS>This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
      npm WARN deprecated<EMAIL_ADDRESS>This is probably built in to whatever tool you're using. If you still need it... idk
      npm WARN deprecated<EMAIL_ADDRESS>This version of 'buffer' is out-of-date. You must update to v4.9.2 or newer
      npm WARN deprecated<EMAIL_ADDRESS>This functionality has been moved to @npmcli/fs
      npm WARN deprecated<EMAIL_ADDRESS>Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
      npm WARN deprecated<EMAIL_ADDRESS>Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
      npm WARN deprecated<EMAIL_ADDRESS>Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
      npm WARN deprecated<EMAIL_ADDRESS>Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
      npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js-pure.
      npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

      ><EMAIL_ADDRESS>prepare
      > run-s build:*

      ><EMAIL_ADDRESS>build:babel
      > babel src --out-dir lib --copy-files

      Browserslist: caniuse-lite is outdated. Please run next command `npm update`
      Successfully compiled 178 files with Babel.

      ><EMAIL_ADDRESS>build:labextension
      > jupyter labextension build .

      Building extension in .
      Browserslist: caniuse-lite is outdated. Please run:
      npx browserslist@latest --update-db

      Why you should do it regularly:
      https://github.com/browserslist/browserslist#browsers-data-updating

      Compilation starting…

      node:internal/crypto/hash:71
        this[kHandle] = new _Hash(algorithm, xofLen);
                        ^

      Error: error:0308010C:digital envelope routines::unsupported
          at new Hash (node:internal/crypto/hash:71:19)
          at Object.createHash (node:crypto:133:10)
          at BulkUpdateDecorator.hashFactory (/home/jovyan/js/node_modules/@jupyterlab/builder/node_modules/webpack/lib/util/createHash.js:138:18)
          at BulkUpdateDecorator.update (/home/jovyan/js/node_modules/@jupyterlab/builder/node_modules/webpack/lib/util/createHash.js:44:50)
          at RawSource.updateHash (/home/jovyan/js/node_modules/@jupyterlab/builder/node_modules/webpack/node_modules/webpack-sources/lib/RawSource.js:64:8)
          at NormalModule._initBuildHash (/home/jovyan/js/node_modules/@jupyterlab/builder/node_modules/webpack/lib/NormalModule.js:737:17)
          at handleParseResult (/home/jovyan/js/node_modules/@jupyterlab/builder/node_modules/webpack/lib/NormalModule.js:801:10)
          at /home/jovyan/js/node_modules/@jupyterlab/builder/node_modules/webpack/lib/NormalModule.js:854:4
          at processResult (/home/jovyan/js/node_modules/@jupyterlab/builder/node_modules/webpack/lib/NormalModule.js:625:11)
          at /home/jovyan/js/node_modules/@jupyterlab/builder/node_modules/webpack/lib/NormalModule.js:676:5 {
        opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
        library: 'digital envelope routines',
        reason: 'unsupported',
        code: 'ERR_OSSL_EVP_UNSUPPORTED'
      }

      Node.js v18.12.1
      An error occurred.
      subprocess.CalledProcessError: Command '['node'<EMAIL_ADDRESS>'--core-path', '/srv/conda/envs/notebook/lib/python3.7/site-packages/jupyterlab/staging', '/home/jovyan/js']' returned non-zero exit status 1.
      See the log file for details:  /tmp/jupyterlab-debug-ioeuadjp.log
      ERROR: "build:labextension" exited with 1.
      npm ERR! code 1
      npm ERR! path /home/jovyan/js
      npm ERR! command failed
      npm ERR! command sh -c -- run-s build:*

      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/jovyan/.npm/_logs/2023-02-28T08_01_19_742Z-debug-0.log
      rebuilding js and css failed
      missing files: ['/home/jovyan/ipyvuetify/nbextension/extension.js', '/home/jovyan/ipyvuetify/nbextension/index.js']
      Traceback (most recent call last):
        File "<string>", line 36, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/home/jovyan/setup.py", line 211, in <module>
          "Programming Language :: Python :: 3.10",
        File "/srv/conda/envs/notebook/lib/python3.7/site-packages/setuptools/__init__.py", line 108, in setup
          return distutils.core.setup(**attrs)
        File "/srv/conda/envs/notebook/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
        File "/srv/conda/envs/notebook/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/srv/conda/envs/notebook/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/srv/conda/envs/notebook/lib/python3.7/site-packages/setuptools/dist.py", line 1213, in run_command
          super().run_command(command)
        File "/srv/conda/envs/notebook/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/jovyan/setup.py", line 50, in run
          raise e
        File "/home/jovyan/setup.py", line 43, in run
          self.distribution.run_command("jsdeps")
        File "/srv/conda/envs/notebook/lib/python3.7/site-packages/setuptools/dist.py", line 1213, in run_command
          super().run_command(command)
        File "/srv/conda/envs/notebook/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/jovyan/setup.py", line 124, in run
          stderr=sys.stderr,
        File "/srv/conda/envs/notebook/lib/python3.7/subprocess.py", line 363, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['npm', 'install']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Removing intermediate container 8d47db52d6e0
The command '/bin/sh -c ${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir .' returned a non-zero code: 1

just to add to this issue, it would be nice if binder sepcific requirements were moved from the lonely requirements.txt to an extra-requirements in the pyproject.toml

I can't find in the docs that binder supports this. Can you point me to the docs?


[Preview Panes] Ability to select text in any text type file on preview

Summary of the new feature/enhancement
I would like to have the ability to select the text on the selected file in the preview.
I can do the same feature using the keyboard with  SHIFT+ Arrow Keys, but to improve the UX it would be nice to also be able to do the same with mouse (and maybe touch?)
Here is a gif of what currently happens when I try to select the text in the preview

Proposed technical implementation details (optional)
I would like to be able to select previewed text of selected file, if the file is text-typed (txt,csv...)

Looks like it depends on the file type.  a txt file won't but an HTML file will allow you to


Handle ms key prefix

When using inline-style-prefixer ms keys are returned with a leading lowercase ms. The current kebab casing doesn't handle this.

Thanks!


auctions - update to flatlist

What would you like to be added:
We need to optimize the display on main auctions page. We can first update to flatlist and create a new array to combine all batches into a single list so we don't loop twice.
Why is this needed:

Acceptance Criteria:  Verify the performance while the user is placing a bid
Android:

[ ] Auctions > Place Bid > Verify app doesn't hang / navigation within the flow is smooth enough
[ ] Loans > Add Collateral > Borrow Loan token > Auctions > Place Bid > Verify app doesn't hang / navigation within the flow is smooth enough

iOS:

[ ] Auctions > Place Bid > Verify app doesn't hang / navigation within the flow is smooth enough
[ ] Loans > Add Collateral > Borrow Loan token > Auctions > Place Bid > Verify app doesn't hang / navigation within the flow is smooth enough


GRU example

First, hats off for this great library, its so much better designed than Encog or Accord.Net ... and DotnetCore support jay !!
On to my question:
You recently added GRU support to the library, and i was wondering how to use it to do time series prediction ( I now the theory behind it etc, i am just wondering about how to use descriptors and generally the library to achieve this. )
Lets assume we have these classes ( i am using a simple, artifical example here, i know that this is not a good model, but it shows the principle )
class SensorReading
{
DateTime TimeStamp;
double Temperature
}
Let assume we have those readings in 1 minute intervals.
So we get lets say a List[SensorReading] with 1.000.000 entries.
Now usually i would apply a sliding window to this input so i get the following timeseries entities out of it: (
class SensorTimeSeries
{
IList[SensorReading] Input;
SensorReading Output;
}
So i get a List[SensorTimeSeries] out of the List[SensorReading] with lets say 5 Input data points and the corresponding output ( the 6th reading ) to predict and a total of 1.000.000 - 6 entries.
My question is now, how do i create a GRU model for this ? How to train and evaluate this lateron ?
To reiterate my training data would be List[SensorTimeSeries] with 999.994 entries each containing 5 readings as input and one as the to predicted label...

Thanks @BernhardGlueck and apologies for the delay.
The GRU model is still being refined and further developed, so hold off using it for now.  When ready, it'll have the same usage as the other models in the library - which is describing the data and fitting a model to it.  The sliding window is automagically handled by the internal state representation of the GRU thus predicting on a new sample acts as a sliding window and updates the state for future predictions.
A GRU representation could look like this (untested):
public class SensorReading
{
public DateTime Date { get; set; }
public double Value { get; set; }

public SensorReading Next(IModel timeseriesModel)
{
	return timeseriesModel.Predict(this);
}
}

public void Main()
{
DateTime now = DateTime.Now;
var dataset = new {
	new SensorReading { Date = now, Value = 1 },
	new SensorReading { Date = now.AddMinutes(1), Value = 2 },
	new SensorReading { Date = now.AddMinutes(2), Value = 3 },
	new SensorReading { Date = now.AddMinutes(3), Value = 4 },
};

var descriptor = Descriptor.For<SensorReading>()
			   .WithDateTime(i => i.Date, DatePortion.Time)
			   .Learn(i => i.Value);

IModel timeseries = new GatedRecurrentGenerator()
                                     .Generate(descriptor, dataset);

SensorReading current = dataset.First();
while (true)
{
	current = current.Next(timeseries);
	Console.WriteLine($"{current.Date}\t={current.Value}");
}
}

I'll post an update here when it's ready.

No apologies neccessary. Thank you for your detailed explanation


How can I have my reducer react to a common action?

Let's say I have an action called clear that should reset reducers to their initialState (e.g. after user logs out). Before autodux I would do it like this (Example is in TypeScipt, which our team abandoned after reading your TypeScript Tax article, which was aligned with our experiences):
export const byId = (state = initialState, action: RestaurantAction) => {
  switch (action.type) {
    case getType(restaurants.add):
      return { ...state, ...action.payload };
    case getType(restaurants.addMenus):
      return {
        ...state,
        [action.payload.restaurantSlug]: {
          ...state[action.payload.restaurantSlug],
          menus: action.payload.menus
        }
      };
    case getType(generics.clear):
      return initialState;
    default:
      return state;
  }
};

const initialLoadingState: boolean = false;

export const loaded = (state = initialLoadingState, action: RestaurantAction) => {
  switch (action.type) {
    case getType(restaurants.loading):
      return false;
    case getType(restaurants.loaded):
      return true;
    case getType(generics.clear):
      return initialLoadingState;
    default:
      return state;
  }
};

How would one do that with autodux? Can you have reducers react to a common action? Or would I have to write a clear action for each reducer like this:
import autodux from 'autodux';

const initial = {};

export const {
	reducer: byId,
	actions: { setRestaurants, clear },
	selectors,
} = autodux({
	slice: 'restaurants',
	initial,
	actions: { clear: () => initial },
});

import them all in one file and write a wrapper that batch dispatches all clear functions?

You could create a separate clear action for each slice, but those would be different actions (restaurants/clear, anotherSliceName/clear, etc.)
In case you strongly need to reach every slice dispatching a single action, I would suggest to use the following approach:
// ./redux/common.js

export const CLEAR_ACTION_TYPE = 'robot/clear';

export const clearAction = {
  type: CLEAR_ACTION_TYPE
};

export const clearActionCreator = () => clearAction;

// ./redux/slices/user.js

import autodux from 'autodux';

const initial = {
  name: '',
  surname: '',
  age: 0
};

const {
  actions: { setUser, setName, setSurname, setAge },
  reducer: r,
  selectors
} = autodux({
  slice: 'user',
  initial: {
    name: '',
    surname: '',
    age: 0
  }
});

const reducer = (state, action) => {
  if (action.type === CLEAR_ACTION_TYPE) {
    return initial;
  }

  return r(state, action);
};

export { setUser, setName, setSurname, setAge, reducer, selectors };

// ./redux/slices/robot.js

import autodux from 'autodux';

const initial = {
  code: 'XXX'
};

const {
  actions: { setRobot, setCode },
  reducer: r,
  selectors
} = autodux({
  slice: 'robot',
  initial
});

const reducer = (state, action) => {
  if (action.type === CLEAR_ACTION_TYPE) {
    return initial;
  }

  return r(state, action);
};

export { setRobot, setCode, reducer, selectors };

Autodux is a helper for Redux that suggests reasonable defaults, but you can still apply the approach Redux suggests if you really need it.

Or, that common action could be handled in Redux middleware (like Redux saga), and dispatch actions for each reducer. Maybe the signal is common, but the action-handling reducers are custom to each reducer. Why not treat them that way?

@ericelliott @grushetsky Thank you both 😊


Convert search-admin app to using components

This is quite a big change - I recommend reviewing commit by commit to break it up into smaller chunks.
Visual Changes
Queries list view - before and after

Query view and add bests - before and after

New query form - before and after

External links list view - before and after

New external link form - before and after

Search results - before and after

Similar search results - before and after

Trello ticket

🌮 🎉


Ensure service is fastboot compatible. Specifically with using `scrol…

…lElement`

@snewcomer shouldn't we also be checking for fastboot in this file https://github.com/dollarshaveclub/ember-router-scroll/blob/master/addon/index.js? There are a few document and window usages in there. FWIW, I have never encountered a fastboot error using this addon, but I guess most of my usages were after the browser took over.

@rwwagner90 I think that is covered here, so prevents that code from ever running.
I wanted to use scrollElement (figured out I need #99), but still got an error on fastboot with scrollElement.
I think I should add some tests around that service as well for scrollElement

Ah, I see. Tests would be great!

Thanks!


Historical not working

Hi,
In below code I am requesting data from 18th july but in API it's giving data from 29th july. Why it is giving like that?
from coinpaprika import client as Coinpaprika
client = Coinpaprika.Client()
range_between_ticker_data = client.historical('cope-cope',start='2021-07-18T21:32:00Z',end='2021-08-05T09:14:56Z',interval='30m')
print(range_between_ticker_data)

Hi SudheendraSoftionik, it is likely because coinpaprika does not have the historical data before July 29th. Coinpaprika Team is probably scraping data from other sources or have not yet filled the historical data for this coin. Please understand that coinpaprika-api-python-client is only a wrapper to interact with coinpaprika API. Thanks!


feat(api-powered-grid): refactor code for small authoring change

Fix MWPW-113213
Test URLs:

Before: https://main--express-website--webistry-development.hlx.page/drafts/qiyundai/templates/flyer-templates-api- powered?lighthouse=on
After: https://mwpw-113213--express-website--webistry-development.hlx.page/drafts/qiyundai/templates/flyer-templates-api-powered?lighthouse=on
Missing rows: https://mwpw-113213--express-website--webistry-development.hlx.page/drafts/qiyundai/templates/flyer-templates-api-powered-miss-rows?lighthouse=on
Missing type value: https://mwpw-113213--express-website--webistry-development.hlx.page/drafts/qiyundai/templates/flyer-templates-api-powered-miss-type-value?lighthouse=on

@qiyundai Why the asterisk?

Not required as per discussion in sync call.


Trackers

Describe your changes

Updated conversion process to convert DDB exp and HP to the first and second trackers on the created character
Updated types, tests, and removed deprecated fields

A few months ago, I implemented HP and XP trackers on the Alchemy side of the import process, but in fixing a bug this week related to importing from JSON, I realized that it would be advantageous for this conversion to happen within ddb2alchemy instead. There are a few benefits:

Simpler import process on the Alchemy side since we don't need a separate code path to handle trackers for JSON imports vs. DDB imports.
More flexible ddb2alchemy API for future trackers (things like temp HP, inspiration, ki points, sorcery points, etc.).

Demo
I pointed my local build of the Alchemy app to this branch to test the import process with the below D&D Beyond character link.
https://github.com/alchemyrpg/ddb2alchemy/assets/1653961/170fd6c2-9b75-46a4-8636-3b997f880708
D&D Beyond character link
https://www.dndbeyond.com/characters/22233192/BKPCYD
Pre-review checklist

[x] I have added a description of my changes
[x] I have formatted my code with yarn format
[x] I have added a link to a D&D Beyond character that can be used to test these changes
[x] I have read the contributing guidelines
[x] I agree to the code of conduct

Whoops, I just spotted an error, fixing...

Okay, now it's working correctly and in a way that mirrors what you see in D&D Beyond pretty closely. The only thing that's a little weird is that the tracker bar doesn't show relative % towards the next level, but I don't think there's much we can do about that right now without adjusting the value/max for the relative distance to the next level, which would look a bit odd numerically.
https://github.com/alchemyrpg/ddb2alchemy/assets/1653961/3d8ede37-6b6a-4c0c-8de0-fb685c346278

Alchemy is on this version now, as of about 2 minutes ago. 🚀


Fix response metadata

Close #34
The issue seems to be the 1 FalseAlarms_tooquick which is not filtered out from the events_response array.
This is the response types you have in this file:
Counter({'CorrectRejections-standard': 288, 'Hits': 35, 'CorrectRejections-novel': 34, 'FalseAlarms-novel': 2, 'FalseAlarms_tooquick': 1})

And the events_reponse array is filtered here: https://github.com/mscheltienne/eeg-flow/blob/37f3e597c1f6511e7ccb9c17b63de0a6089fe8e6/eeg_flow/tasks/epochs_evoked.py#L207-L209
Which looks for response events following a target event. The "too quick" condition is missing here.
That PR adds another clause to the filtering of the response events.

@ArthurNguyen Have a look, if it makes sense to you, I'll merge.

looks good to me thanks!
I've changed the names of the derivatives to separate stimlocked and responselocked

What is the difference between 8 and 9?

argh, great point I will remove 9


Fixed autopatch-elf errors on recent nixpkgs versions

Description
This PR simply updates rust-overlay in the Nix flake so that eww can continue being used in newer versions of nixpkgs.
Usage
N/A
Showcase
N/A
Additional Notes
Did some light testing - Just ran the flake on my machine - Everything compiles fine for me.
Checklist
Please make sure you can check all the boxes that apply to this PR.

[x] All widgets I've added are correctly documented.
[x] I added my changes to CHANGELOG.md, if appropriate.
[x] The documentation in the docs/content/main directory has been adjusted to reflect my changes.
[x] I used cargo fmt to automatically format all code before committing

This is no longer an issue, this pr can now be closed if I'm not mistaken

I'll close for now, if the issue still comes up feel free to re-open! Thanks a lot though, and sorry for the delay!


 Not full test coverage but this is a good start:
ok      beatit  0.005s  coverage: 22.2% of statements
ok      fullerite       0.005s  coverage: 18.7% of statements
ok      fullerite/config        0.005s  coverage: 86.7% of statements
ok      fullerite/metric        0.005s  coverage: 100.0% of statements
ok      fullerite/handler       0.007s  coverage: 13.5% of statements
ok      fullerite/collector     1.007s  coverage: 91.3% of statements


Contributing

Hm, I messed up with my branches... 8285989 should not be included here. Let me know if it's a problem (should not be...). Sorry for that

Current coverage is 75.04% (diff: 50.00%)

Merging #918 into master will decrease coverage by 0.01%

@@             master       #918   diff @@
==========================================
  Files           131        131
  Lines          6961       6965     +4
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           5225       5227     +2
- Misses         1736       1738     +2
  Partials          0          0

Powered by Codecov. Last update 0df7587...3cd3860

All good


Add an integration test that runs on JDK-8

Description
Add an integration test that runs on JDK-8
Issues Resolved
Closes https://github.com/opensearch-project/opensearch-java/issues/778
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Perfect, nice and clean!

As always, Windows have troubles with env variables that have dots


Suppress CVE-2023-20860

Suppress CVE-2023-20860. It doesn't apply to Fahrschein, which is using spring-web as client library.
See https://nvd.nist.gov/vuln/detail/CVE-2023-20860

👍

Codecov Report
Patch and project coverage have no change.

Comparison is base (5e9da24) 67.53% compared to head (7b34833) 67.53%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff            @@
##               main     #394   +/-   ##
=========================================
  Coverage     67.53%   67.53%
  Complexity      431      431
=========================================
  Files            77       77
  Lines          1805     1805
  Branches        150      150
=========================================
  Hits           1219     1219
  Misses          484      484
  Partials        102      102

Flag
Coverage Δ

unittests
67.53% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

👍

👍


Command artisan view:cache - error

Hi,
command php artisan view:cache returns error: The "/var/www/___path____/releases/17/vendor/brackets/craftable-pro/src/../resources/views/console" directory does not exist.
CraftableProServiceProvider@configurePackage  - $this->loadViewsFrom(__DIR__ . '/../resources/views/console', 'brackets/craftable-pro/console');
Thanks

Resolved in PR: Fix/view-cache-error

This was fixed in v1.1.21


YAML spec: single vs double quote and escape

YAML makes a difference between single and double quotes with respect to escaping characters: https://stackoverflow.com/questions/19109912/yaml-do-i-need-quotes-for-strings-in-yaml
"Single quotes let you put almost any character in your string, and won't try to parse escape codes. '\n' would be returned as the string \n . Double quotes parse escape codes. "\n" would be returned as a line feed character."
We need to account for both possibilities, otherwise we end up "double escaping" when writing files.

Closed by 198876c


Change client_load_report_timer_pending var name

.. so that all the bools used to check whether the associated timer is on can have the same name format.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

I agree that we should be consistent about naming.  However, let's make the names we use be descriptive of what these variables are actually used for, which is to indicate that the timer has been started but the callback has not yet been called.  Instead of having the common suffix be _active, how about using _callback_pending?

That's more descriptive. I have changed the names that way and modified the logging in maybe_restart_lb_call().

****************************************************************

libgrpc.so

     VM SIZE              FILE SIZE
 ++++++++++++++ GROWIN ++++++++++++++
  [ = ]       0 [None]     +24  +0.0%

  [ = ]       0 TOTAL      +24  +0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences


Suggestion/App Idea: Camera app which lets you take pictures of yourself inside the browser

would be kind of useless but still cool and it would take advantage of the camera feature in browsers

Thanks for the suggestion! I hadn't thought of that one yet tbh.


Update webSocket BBEs

Purpose
$Subject
Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #21787 into stage will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##            stage   #21787      +/-   ##
==========================================
- Coverage   14.72%   14.67%   -0.06%
==========================================
  Files          51       51
  Lines        1399     1404       +5
  Branches      214      216       +2
==========================================
  Hits          206      206
- Misses       1177     1182       +5
  Partials       16       16

Impacted Files
Coverage Δ

tool-plugins/vscode/src/core/extension.ts
28.11% <0%> (-0.27%)
:arrow_down:

tool-plugins/vscode/src/extension.ts
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


The code is too good

I'm heavily tilted by the quality of your code. Mine is much worse...

thanks <3


How to increase Strict-Transport-Security max-age

I'd like to increase the Strict-Transport-Security max-age set by using MDRequireHttps permanent. I can't find anything in the readme that shows how to do this. I can only find it saying it sets it to about half a year by default.
Is this possible, or should I not use MDRequireHttps and set my own header?
I have set my own header manually (whilst still using MDRequireHttps), but then it sends multiple HSTS headers instead of just the one I've defined (I don't know if there is a way to overwrite headers in apache so that it doesn't sent two, but doing that doesn't seem right to me anyways. Maybe I should do this?).

MDRequireHttps is just an easy options for setting headers and redirecting which is possible with other apache directives as well. If you have specific requirements as to the HSTS header content, you should not use it and configure it yourself, as you wrote.
I'd like to keep it simple and easy to use. What could be enhanced is that it does not add a second header, if one is already present. But for that to work, I need to check the order in which these are added.


QnAMakerResults.ServiceCfg suggestion and QnAMakerDialog bug

I think that making QnAMakerResults.ServiceCfg publicly readable would allow us to customize QnAMakerDialog by overriding it instead of copying its code.
And I think that the same is true forQnAMakerService.qnaInfo. If it's publicly accessible we could add more info (by subclassing QnAMakerAttribute) about the service (e.g. its language).
There is a bug in var maxValue = tasks.Max(x => x.Result.Answers[0].Score); (at line 99) which would lead to ArgumentOutOfRangeException if we're querying more than one service and one of them returns no answers.

P.S.
If you don't mind I could make a pull request for these small tweaks.

@mitkodi, if you're up for a PR, I think that would be great. Thanks!
I'm hesitant on making the classes public, as it increases our overall surface area. This has implications for docs, samples, and other languages (C#, etc).  Certainly a PR for the bug fix seems like the right choice.

@mitkodi, to go a bit futher, if you're using the C# V4 SDK, this entire repo is pretty much obsolete. The QnA Maker classes have been brought directly into the relevant C#/JS BotBuilder repos.

Thank you for opening an issue against the Bot Framework Cognitive Services repo. As part of the Bot Framework v4 release, we’ve moved all the Luis and QnA work to platform SDK repo. We will continue to support and offer maintenance updates via this repo.
From now on, https://github.com/Microsoft/botframework-sdk repo will be used as hub, with pointers to all the different SDK languages, tools and samples repos.
As part of this restructuring, we are closing all tickets in this repo.
For defects or feature requests, please create a new issue in the Bot Framework repo found here:
https://github.com/Microsoft/botframework-sdk/issues
For product behavior, how-to, or general understanding questions, please use Stackoverflow.
https://stackoverflow.com/search?q=bot+framework
Thank you.
The Bot Framework Team


Mention lunr-languages in README and docs

It looks like lunr-languages is the way to index non-Engish content witn Lunr.js.
Unfortunately it was not easy to figure it out. And there are distractions: lunr.ru.js repo, #16, #42.
It would be very helpful if the README file and documentation would mention and recommend lunr-languages for non-English search.
(By the way, is there a source code for the documentation on lunrjs.com website?)

Good point, I've been meaning to do this for a while now, just haven't got round to it.
I've put together a PR with a guide on using lunr-languages, please check it out and let me know if there is anything else that would be useful to have.

@olivernn thank you! I've made a couple of comments to the PR.

Deployed, it might take a few hours for the changes to propagate.


Bug make forbiddenMVRewrite work on InlineViewRef

Proposed changes
make forbiddenMVRewrite work on InlineViewRef
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

add testcase