Examples.py giving error!

Habitat-Lab and Habitat-Sim versions
Habitat-Lab: master
Habitat-Sim: master
Habitat is under active development, and we advise users to restrict themselves to stable releases of Habitat-Lab and Habitat-Sim. The bug you are about to report may already be fixed in the latest version.
Master branch contains 'bleeding edge' code, but we do appreciate bug reports for it!
🐛 Bug
I am running the code on my Ubuntu 22.04.4 workstation with Nvidia A5000 GPU with 24GB VRAM.
I am trying to replicate the steps in the readme of habitat lab website but when I try to execute the command "python examples/example.py" given in the "Non-interactive testing" part, it is throwing some error stating the following:
Kindly solve my issue @fmeier  @mosra  @kalakris  @msavva
Steps to Reproduce
Steps to reproduce the behavior:
╭─    ~/habitat-lab   #v0.3.1 ?2 ▓▒░·······························································································································································································░▒▓ ✔  4s     habitat   14:23:27 
╰─ python examples/example.py
pybullet build time: Sep  2 2024 10:44:21
2024-09-02 14:23:40,719 Initializing dataset RearrangeDataset-v0
2024-09-02 14:23:53,859 initializing sim RearrangeSim-v0
[14:23:53:873274]:[Warning]:[Metadata] AttributesManagerBase.h(457)::buildAttrSrcPathsFromJSONAndLoad : <Articulated Object> : No Glob path result found for `data/hab_fetch_1.0/robots/fetch_no_base.urdf` so unable to load templates from that path.
[14:23:53:908563]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_00.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908597]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_01.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908615]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_02.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908630]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_03.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908645]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_04.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908660]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_05.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908677]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_06.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908693]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_07.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908711]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_08.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908725]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_09.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908743]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_10.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908760]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_11.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908776]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_12.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908792]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_13.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908807]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_14.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908822]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_15.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908836]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_16.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908853]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_17.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908867]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_18.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908882]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_19.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[14:23:53:908897]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_20.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
Renderer: NVIDIA RTX A5000/PCIe/SSE2 by NVIDIA Corporation
OpenGL version: 4.6.0 NVIDIA 535.183.01
Using optional features:
    GL_ARB_vertex_array_object
    GL_ARB_separate_shader_objects
    GL_ARB_robustness
    GL_ARB_texture_storage
    GL_ARB_texture_view
    GL_ARB_framebuffer_no_attachments
    GL_ARB_invalidate_subdata
    GL_ARB_texture_storage_multisample
    GL_ARB_multi_bind
    GL_ARB_direct_state_access
    GL_ARB_get_texture_sub_image
    GL_ARB_texture_filter_anisotropic
    GL_KHR_debug
    GL_KHR_parallel_shader_compile
    GL_NV_depth_buffer_float
Using driver workarounds:
    no-forward-compatible-core-context
    nv-egl-incorrect-gl11-function-pointers
    no-layout-qualifiers-on-old-glsl
    nv-zero-context-profile-mask
    nv-implementation-color-read-format-dsa-broken
    nv-cubemap-inconsistent-compressed-image-size
    nv-cubemap-broken-full-compressed-image-query
    nv-compressed-block-size-in-bits
MeshTools::compile(): ignoring Trade::MeshAttribute::TextureCoordinates 1 as its binding slot is already occupied by Trade::MeshAttribute::TextureCoordinates 0
MeshTools::compile(): ignoring Trade::MeshAttribute::TextureCoordinates 1 as its binding slot is already occupied by Trade::MeshAttribute::TextureCoordinates 0
MeshTools::compile(): ignoring Trade::MeshAttribute::TextureCoordinates 1 as its binding slot is already occupied by Trade::MeshAttribute::TextureCoordinates 0
MeshTools::compile(): ignoring Trade::MeshAttribute::TextureCoordinates 1 as its binding slot is already occupied by Trade::MeshAttribute::TextureCoordinates 0
[14:23:54:452079]:[Warning]:[Sim] Simulator.cpp(594)::instanceStageForSceneAttributes : The active scene does not contain semantic annotations : activeSemanticSceneID_ = 0
2024-09-02 14:23:56,539 Initializing task RearrangePickTask-v0
/home/administrator/miniconda3/envs/habitat/lib/python3.9/site-packages/gym/spaces/box.py:84: UserWarning: WARN: Box bound precision lowered by casting to float32
  logger.warn(f"Box bound precision lowered by casting to {self.dtype}")
Environment creation successful
b3Warning[examples/Importers/ImportURDFDemo/BulletUrdfImporter.cpp,467]:
Bad inertia tensor properties, setting inertia to zero for link: r_gripper_finger_link
b3Warning[examples/Importers/ImportURDFDemo/BulletUrdfImporter.cpp,467]:
Bad inertia tensor properties, setting inertia to zero for link: l_gripper_finger_link
b3Warning[examples/Importers/ImportURDFDemo/BulletUrdfImporter.cpp,467]:
Bad inertia tensor properties, setting inertia to zero for link: r_gripper_finger_link
b3Warning[examples/Importers/ImportURDFDemo/BulletUrdfImporter.cpp,467]:
Bad inertia tensor properties, setting inertia to zero for link: l_gripper_finger_link
Agent acting inside environment.
Episode finished after 27 steps.

Expected behavior
It should've run the example.

I got a similar error, it is looking for sc4 files but I don't have them
    apple-buffer-texture-unbind-on-buffer-modify
[07:01:29:166727]:[Metadata] MetadataMediator.cpp(297)::getSceneInstanceAttributesByName : Dataset : data/replica_cad/replicaCAD.scene_dataset_config.json has no preloaded SceneInstanceAttributes or StageAttributes named : data/replica_cad/configs/scenes/v3_sc4_staging_16.scene_instance.json so loading/creating a new StageAttributes with this name, and then creating a SceneInstanceAttributes with the same name that references this stage.
[07:01:29:166751]:[Metadata] AttributesManagerBase.h(352)::createFromJsonOrDefaultInternal : <Stage Template>: Proposing JSON name : data/replica_cad/configs/scenes/v3_sc4_staging_16.scene_instance.stage_config.json from original name : data/replica_cad/configs/scenes/v3_sc4_staging_16.scene_instance.json| This file does not exist.
[07:01:29:166843]:[Metadata] StageAttributesManager.cpp(86)::registerObjectFinalize : Render asset template handle : data/replica_cad/configs/scenes/v3_sc4_staging_16.scene_instance.json specified in stage template with handle : data/replica_cad/configs/scenes/v3_sc4_staging_16.scene_instance.json does not correspond to any existing file or primitive render asset.  Aborting.
[07:01:29:168581]:[Scene] SceneManager.h(25)::~SceneManager : Deconstructing SceneManager
[07:01:29:168609]:[Gfx] Renderer.cpp(72)::~Impl : Deconstructing Renderer
[07:01:29:168614]:[Gfx] WindowlessContext.h(17)::~WindowlessContext : Deconstructing WindowlessContext
Traceback (most recent call last):
  File "/Users/jacobclaessens/Desktop/code/habitat-2022/habitat-lab/dev/run.py", line 72, in <module>
    main()
  File "/Users/jacobclaessens/Desktop/code/habitat-2022/habitat-lab/dev/run.py", line 44, in main
    observations = env.reset()  # noqa: F841
  File "/Users/jacobclaessens/Desktop/code/habitat-2022/habitat-lab/habitat/core/env.py", line 253, in reset
    self.reconfigure(self._config)
  File "/Users/jacobclaessens/Desktop/code/habitat-2022/habitat-lab/habitat/core/env.py", line 339, in reconfigure
    self._sim.reconfigure(self._config.SIMULATOR)
  File "/Users/jacobclaessens/Desktop/code/habitat-2022/habitat-lab/habitat/tasks/rearrange/rearrange_sim.py", line 158, in reconfigure
    super().reconfigure(config)
  File "/Users/jacobclaessens/Desktop/code/habitat-2022/habitat-lab/habitat/sims/habitat_simulator/habitat_simulator.py", line 426, in reconfigure
    super().reconfigure(self.sim_config)
  File "/opt/anaconda3/envs/hab_v1/lib/python3.9/site-packages/habitat_sim-0.2.1-py3.9-macosx-11.0-arm64.egg/habitat_sim/simulator.py", line 256, in reconfigure
    self.__set_from_config(config)
  File "/opt/anaconda3/envs/hab_v1/lib/python3.9/site-packages/habitat_sim-0.2.1-py3.9-macosx-11.0-arm64.egg/habitat_sim/simulator.py", line 260, in __set_from_config
    self._config_backend(config)
  File "/opt/anaconda3/envs/hab_v1/lib/python3.9/site-packages/habitat_sim-0.2.1-py3.9-macosx-11.0-arm64.egg/habitat_sim/simulator.py", line 207, in _config_backend
    super().reconfigure(config.sim_cfg)
AssertionError: ESP_CHECK failed: Missing (at least) one of scene dataset attributes, stage attributes, or dataset scene attributes for scene 'data/replica_cad/configs/scenes/v3_sc4_staging_16.scene_instance.json'.  Likely an invalid scene name.
[07:01:29:401065]:[Sim] Simulator.cpp(65)::~Simulator : Deconstructing Simulator

Hey @Claessens14 and @MeltedHyperion07
The sc4 files are unreleased "test" split scenes. You should not expect them to exist for this use case.
If you want to run the example.py code directly on ReplicaCAD, you can remove those sc4 scene line entries from the *.scene_dataset_config.json file and they won't be looked for any more.


Changed Tesla url to Forbes Url

Description
Updated Docs example and readme file only.
Fixes #612
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (does not change functionality, e.g. code style improvements, linting)
[x] Documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Please delete options that are not relevant.

[ ] Unit Test
[ ] Test Script (please provide)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

Maintainer Checklist

[ ] closes #612
[ ] Made sure Checks passed

thanks for the fix @subhadip001


Loading...

While the bundle is being downloaded, the screen is white and no style is applied. It would be much better if there was a "loading" screen

1b0c09c


Remove version from docker-compose related docs

We can remove version from docker-compose.yml since it is obsolete now.
Source:

https://docs.docker.com/compose/compose-file/04-version-and-name/#version-top-level-element-optional
https://forums.docker.com/t/docker-compose-yml-version-is-obsolete/141313
https://github.com/docker/compose/issues/11628

Closed by https://github.com/memgraph/documentation/pull/826


[第4組]Refactor naming convetions to improve code readability

Purpose
This pull request aims to improve the overall readability of the project by enhancing variable and function names, modularizing some functions, and ensuring that the code follows clean code principles.
Changes

local variables

l, a → removed: The intermediate variables l and a were removed, and the data is now directly appended to all_news_data using extend, simplifying the logic.
p → page: Renamed in pagination logic to clarify that it refers to the page number.
p2 → request_params: Renamed p2 to request_params for clearer understanding of the variable’s purpose, improving code readability.
ai → ai_response: Makes it clear that the variable holds the response from the AI model.
title → article_title or detailed_title: Clarifying the variable’s content.
result → summary_result: Describes that the result is a summary.
n → username: Updated to a more meaningful variable name to clarify that the function parameter is the user’s username, adhering to clean code principles.
OuO → user: In the check_user_password_is_correct function, to clarify that this refers to a User object.
n → article: Renamed in local variable to indicates the item in each iteration.
cnt → upvoted_count, id → article_id: Standardized for clarity in upvote and news article-related functions.
m → relevance_check_prompt, summary_prompt, summary_generation_prompt: Consolidated renaming of the prompt variable used for chat interactions with GPT, based on its role in relevance checking and summary generation.
p2 → request_params: Changed in the function where API request parameters are built for fetching news data.

global variables

Replaced hard-coded magic numbers like 50, 200 with clearly defined constants (MaxUsernameSize, MaxPasswordSize) for better maintainability.
bgs → scheduler: Renamed the background scheduler for better readability and clarity of its purpose.

params

u → user: Used in the functions where user information is being passed, such as in read_user_news, upvote_article, news_summary.
id → article_id: Updated to indicate that the variable holds the ID of a news article, used in query parameters for links.
id2 → article_id: Replaced with article_id to maintain consistency and clarity in identifying that the variable represents the article’s ID in functions like news_exists.
p1 → plain_password, p2 → hashed_password: Clarified the parameter in the password verification function to specify that it refers to the plain-text password and hashed_password.
n_id, u_id → article_id, user_id: Standardized the use of article_id, user_id for consistency in function like toggle_upvote.

functions

get_new_info → fetch_news_articles_by_keyword: Changed to clarify that the function fetches news articles based on a search term.
get_new → fetch_and_process_news: Modified to better describe that the function fetches and processes the news articles.
add_new → add_news_article: Clarified the purpose of adding a new news article to the database.
toggle_upvote → toggle_article_upvote: Updated to make it clear that the function specifically handles the upvote status for a news article.
read_news, read_user_news → fetch_news_with_upvote_details, get_user_specific_news: These two functions were renamed because their purposes were too similar, violating clean code principles. By renaming them, it clarifies that one function fetches general news with upvote details, while the other focuses on user-specific news, making their roles distinct.
verify → verify_password: Renamed the function for clarity, making it more descriptive, ensures the function name clearly conveys its purpose.
check_user_password_is_correct → validate_user_credentials: Renamed the function to better reflect its purpose of both querying the user from the database and validating the user’s credentials (username and password), which aligns more closely with clean code principles.

The comment on the PR is excellent, well-organized, and thoroughly categorized.

Your variables' names are refactored in a good way, and makes me understand the meaning of them easily. The comment on the PR is also excellent. But some "db" have not been renamed.

function跟variable都名稱都命名的很清楚，有明確的表達意義且不會過於冗長，也有把magic number提取出來，讓程式整體的可讀性提高了很多

命名都讓我可以很好的理解而且也都寫得很清楚

Evaluation:

High degree of variable refactoring
Variable renaming is good
Code layout is particularly tidy
Commits are good
Clarity of the PR is high

Additional Evaluation:

The handling of magic numbers on lines 37–38 is very good; it is one of the few instances where this has been addressed!

Suggestions:

There are still magic numbers that can be addressed; for example, the value 1892dhianiandowqd0n on line 290 could be passed in a better way.
Line 52 has excessive whitespace, which causes Git to consider it a change.
The variable expires_delta on line 295 is not easily understandable and should be changed.

Hello,

依照 PEP 8 Style Guideline，想建議 MaxUsernameSize、MaxPasswordSize 等固定不變的常數應以 UPPER_CASE 的形式命名，如 MAX_USERNAME_SIZE、MAX_PASSWORD_SIZE，另外值得討論的是此處是否有提取 magic number 的必要：

提取 magic number 能提供更詳細的上下文以幫助其他工程師了解該數值的意義，然而 String 初始化函式已經表明該參數代表欄位的長度上限，結合該屬性名稱 username，我們能一眼看出這是一個代表「使用者名稱」、「長度上限為 50 字元的字串欄位」，再加上目前僅有一處使用此數值，或許可以不必修改。

Line 52 行尾意外新增多餘的空白，建議移除。
schedulers 存放的是單個 BackgroundScheduler 物件，建議以單數命名即可，可修改為 scheduler。
建議命名時若有更好的選擇，最好盡量避免 data/info/result 等形式，否則以旁人的角度較不容易立刻理解 news_article、news_article_data、all_news_data、result等的意義／差別，畢竟變數本身即資料，_data 等後綴對於理解其意義的幫助有限。
部分程式在處理新聞資料時會用 news/article/news_article 命名，建議統一個名稱以維持一致性。
delete_stmt、insert_stmt 可以考慮改成 delete_statement、insert_statement 使人們討論此程式時便於發音，較利於溝通。


angular2-select not completely works on ie9 and ie10

Hi,
I have just tried the example application provided here: https://github.com/basvandenberg/angular2-select-demo.
It seems that the component doesn't work well on ie9 and ie10. There are some problems here and there, I think the most annoying are:

In the multiple choice select it's not possible to delete an element by click on the "x" button.
Selecting options by using arrows keyboard doesn't work well.
Sometimes the component has an unexpected behavior (I think it's related to the previous bugs).

Have you planned to solve these problems?

Jquery select2 works in IE9 and IE10 based on the official demo: https://select2.github.io/examples.html
But it looks like you are not using the library and code it from scratch.

Indeed, as the readme states "A native select component for angular 2, based on the select2 JQuery plugin".
So written from scratch, and quick and dirty, to have a quick native angular2 component that is similar to the select2 plugin. This also means that many select2 features are not yet supported.
I do not have Window's running on any of my computers, so currently I can't test this...

Thanks for your reply Bastiaan.
I'm not interested in having a quick fix, I just want to know if you have planned to support ie9 and ie10 in the future since they are supported by angular 2.
I tested your demo with a virtual machine, if you want to to give it a try you can legally download the images from this link: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/.

I plan to support the same as angular 2 supports, so also ie9 and ie10. But there is no time schedule for this (I develop when I have time and I do not know beforehand how much time I can spend on this little project).
Don't forget to check out the material2 select component, that might have better ie9 and ie10 support sooner.

I completely understand, Bastiaan. That makes sense. As I already told you I'm not interested in a quick fix, I'm willing to wait. I can help you testing your fix when you have time to develop it, just let me know.

I had time so i debugged it with the demo code :)
Looks like IE doesnt support event.target.dataset.
I found this polyfill: https://github.com/remy/polyfills/blob/master/dataset.js
Works but still gives me an error when initializing in the console but everything seems to work.
Do you accept PR ? We just need to replace dataset in 3 lines :)

Yes, a PR is fine.
In the upcoming beta release I am not using the dataset property anymore, so there it anyway shouldn't be an issue.

Ok. ill wait for the beta :) The above workaround is good enough for me and no need to duplicate work.

Hi Bastiaan,
I have been using your beta version for a while and it seems that everything is working properly now.
There is a little graphical issue but I will open a separate ticket for that one.
Thanks for your work!


The XYZ_1.exe doesn't run

Hi,
We have tried the XYZ_1.exe with MATALB R2022a, runtime ver9.12 and tookboxes installed, but it just shows the initial screen and a few seconds later, closed. We have four independent software consults tried and all got the same results.
Would you please give some advices?
Thanks.
PJ

Same issue.
Has tried another way through MATLAB directly, but always stopping in line 19.

Hi,
We have tried the XYZ_1.exe with MATALB R2022a, runtime ver9.12 and tookboxes installed, but it just shows the initial screen and a few seconds later, closed. We have four independent software consults tried and all got the same results.
Would you please give some advices?
Thanks. PJ

Hi @Pjcaogthb and @CMBTL,
The "XYZ_1pager.exe" needs to run in the command mode with two parameters. Please try the following:
•	Enter DOS command mode
•	\cd \Users\xxx\Downloads\cpr\one_pager
•	XYZ_1pager.exe XYZ_Reference.csv XYZ_Subject.csv
Specify the working directory on your computer. Replace <XYZ_Reference.csv> and <XYZ_Subject.csv> with your own testing data.  Besides the Matlab Runtime, Matlab basic and the toolboxes are not required to run this app. Please let us know if you have additional questions and suggestions.
Thanks,
WC

Thank you so much for the reply. I works and generated the output figure: One_pager.png.
The converted CIELab is graphically displayed in the figure. Is it possible to get the CIELab values?
Thanks.

@Pjcaogthb:
The current version does not save the numerical CIELAB data. It's a good idea and should be implemented in the next version. Thanks.
WC

@Pjcaogthb:
If you have Matlab Image Processing Toolbox, you can use the xyz2lab() function to convert CIEXYZ to CIELAB:
xyz2lab(XYZ,'WhitePoint',XYZ_white)
WC

Thanks a lot. We have the Toolbox.
PJ

Hi WC,
I noticed the Line 25 in your input file is the same data as No. 19 color patch.
I also like to use No. 19 as the reference white instead of using another separated one.
Is it a common practice to use No. 19 as the reference white?
Thank you so much if you can provide advice.
Thanks.
PJ

Hi @Pjcaogthb,
The following is a technical comment rather than regulatory advice.
Notice that the supplied input files are for testing purposes only. They do not indicate sufficient device performance nor adequacy of the testing data.
You are correct. In these input files, patch #19 is re-used as the reference white. Choosing an adequate reference white really depends on the set-up, output media, measurement method, etc.
Nevertheless, using the white patch #19 in the scene as the reference white for obtaining the ground truth seems to be valid.
WC

Thanks!
PJ

Hi WC,
Could you share the equation to calculate Delta E? I used the Matlab function deltaE(I1,I2,'isInputLab',true), didn't get the same results as your application.
Thanks.
PJ

@Pjcaogthb:
Please create another issue because it is irrelevant to the title of the current issue.
Thanks,
WC


Use concurrency only in Pull Request events

Another approach to https://github.com/rubocop/rubocop/pull/11414 .
The following are included as keys to the group.
${{ github.head_ref || github.run_id }}
This allows concurrency to work only with Push to PullRequest, and cancels all but the most recent push for successive pushes; for merge commits, in other words push events, ${{ github.run_id }} is used, so The cancellation is not enforced because it is always a unique group.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[-] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[-] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[-] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

I'm going close this PR because I'll check #11414 and update directly.


Questions about submitting kitti official website

I'm working on my master's paper of Mono3d.
I'd like to know if you use all the trainval datasets when you submit to the kitti official website?
Then how do you determine which ckpt is the best one?

You are right. When evaluating on KITTI website, you should use the trainval set, and you can use the final ckpt or build a small validation set (e.g., 100 samples) for selecting the best one.  Good Luck.

@SPengLiang
Ok, thanks.

@SPengLiang
Sorry to disturb you again.
I want to know how 16.29mAP is trained?
In your paper, it seems that you only report car category performance in KITTI-test.
Because it's my first time to submit to kitti official, I guess you only trained the Car when using trainval dataset, so that the test output only include car class.
Can you give some suggestion, because I use three class to train and submit results to kitti, I got 15.65mAP

You are right, we only trained the Car when using trainval dataset (we do not use "class_merging" and "use_dontcare" to train final model). In our experiments, this manner obtains better performance on Car on KITTI test set. Additionally, we submitted our results two times on KITTI test set, reporting the better one. We find that results on KITTI test set are not very stable, even though we trained the same model twice. Please note that there is a submission limitation on KITTI (3 times in 30 days). Please feel free to contact me if you have further questions.

@SPengLiang
Thanks for your reply!
I modify the following code so that I can train only car class, can you help me to check it, thanks very much!!

I have the impression that you only need to modify the "writelist" in "config/kitti.yaml", from "['Car','Pedestrian','Cyclist']" to "['Car']", others keep the same to original codes.

@SPengLiang
Got it, I will try it.
you are welcome and thank you again!!!


Fix timezone issue (#15)

Fix issue #15 (invalid default timezone)

Looks like you have not followed the guide on contributions.
The change is based on master branch rather than on one of 1.0 or 2.0.
For now I will accept this change (will apply it myself to 1.0 and 2.0 branches), but will have to reject your PR though.

My bad, I was not sure to which branch the fix applies to. Thanks for accepting it 😃

@edno I hope you are aware that you can set the timezone from config.
See example below.
modules:
        Codeception\Extension\MultiDb:
            timezone: "+00:00"
            connectors:
                Primary:
                    dsn: "mysql:host=primary.db.example.com;port=3306;dbname=DemoConfig"
                    user: 'demo'
                    password: 'notsecure'
                    dump: 'tests/_data/primary.sql'
                    populate: true
                    cleanup: true
                Secondary:
                    dsn: "mysql:host=secondary.db.example.com;port=3306;dbname=DemoWarehouse"
                    user: 'demo'
                    password: 'notsecure'
                    dump: 'tests/_data/secondary.sql'
                    populate: true
                    cleanup: true

IMO, that is sufficient; we could do without this PR.

Yep. My current configuration use the parameter timezone as a workaround. But from compatibility point of view, I think that would be better to use standard value for the default timezone.


[Bug?] Fresh installs (develop branch as of today) keep missing packages/ folder

I've installed several develop pulls for c5 in the last few days, and each one complains the "packages/" folder doesn't exist at the root of the web folder. This of course stops being a problem when I make the folder and give it the right permissions.
When I first saw this error, it took me FOREVER to identify how simple the fix was.
I imagine for someone who hasn't use c5 as much as me, this would be even more confusing.
Can we get the initial setup to just make the packages folder by default already? This is kinda silly.

Yeah I've made multiple installs since this. NON-ISSUE.

Thanks for taking the time to respond back and close the issue! It is appreciated.

Thanks for taking the time to respond back and close the issue! It is appreciated.

Yeah man I can dig it! Many hands make light work :)


Fix Markdown styling of --http-redirect option in README

Adds missing tick marks around the --http-redirect option in the Laravel Octane section of README.md.

Haha, and I put a typo in the commit message ;)

Thank you!

 Caddy/FrankenPHP is awesome - thank you!


Update model.ipynb

Fixes
Proposed Changes

Hi @ratnasankeerthanreddy
I don't see any changes? Is that what you were trying to do?


'data' is inaccessible due to 'internal' protection level

I am getting error following error in Xcode 8.2
'data' is inaccessible due to 'internal' protection level
Is there any fix for this?

Update your Alamofire pod to the latest version, since 4.2.0 this property became accessible publicly.


Add a screen session to automated_install.sh to watch the serial console output

This is a crude shell script addition to watch the serial console output while we PXE boot the VM's. It seems people often get hung up here and have to figure out what's going on. This gives them some infrastructure to interact with their VM's if they are broken. Also the virtualbox_serial_console.sh script can be run by hand if one needs too.

I have verified automated_install.sh happily runs through a successful build and further one can run cd tests; ./virtualbox_serial_console.sh <vm name> by hand.

I have tested this and this looks good to me.

@cbaenziger can you please rebase your PR to get rid of an additional commit?

Fixed commit history; thanks!

LGTM


init_session() needs to be called no matter if the connection object …

…is given to the factory or if it is created there.
Otherwise something like this fails:
from pynYNAB.ClientFactory import nYnabClientFactory
from pynYNAB.connection import nYnabConnection
from  pynYNAB.schema.budget import Payee
class Arg(object): pass
args = Arg()
args.budgetname = 'a'
args.email = 'b'
args.password = 'c'
import logging
logging.basicConfig(level='DEBUG')
log = logging.getLogger(__name__)

connection = nYnabConnection(args.email, args.password)
client = nYnabClientFactory().create_client(budgetname=args.budgetname,
                                                      nynabconnection=connection,
                                                      sync=True,
                                                      logger=log)

Coverage increased (+0.07%) to 83.371% when pulling 89d08f93678205e719b1ca1b9bb94d1de18b7062 on chbndrhnns:master into 072110a59ff468b5c30c92b99549c4f2c7d59cb3 on rienafairefr:master.

I see the problem. I think I delegated that responsibility to the caller. Presumably, if you're passing a connection object you know you should initialize it at some point. Otherwise, just omit te connection object, pass email and password and the connection will be created and initialized for you inside the nYnabClientFactory.
If you're taking responsibility for creating the connection, you're taking the responsibility for initializing it, I think that's alright  ? init_session starts the session with nynab server, with a certain expiration period for the tokens etc. the caller (your code or whatever) should decide when to init I think, not me.
A middle ground would be to fail gracefully in case the connection has not been initialized before trying to sync or whatever

Failing gracefully is ok for me. I just tried https://github.com/scottrobertson/fintech-to-ynab and noticed the init did not take place there which is why it failed starting up.

Does logging an error and raising a nYnabConnectionError exception count as failing gracefully for your use case ? at least it's a bit more verbose than just "unknown api error invalid_token" :-)

Definitely!


[HUDI-2206] Fix checkpoint blocked because getLastPendingInstant() ac…

…tion after than restoreWriteMetadata() action
Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contributing.html before opening a pull request.

What is the purpose of the pull request
Fix checkpoint blocked because getLastPendingInstant() action after than restoreWriteMetadata() action which will cause a deadlock during checkpoint.
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Wait for the CI passed.


DROOLS-828 - Agenda group clear command doesn't work

Test case for bug DROOLS-828.

Test case incorporated by https://github.com/droolsjbpm/drools/commit/66b87a112


color output

On my Windows 10 machine, cargo web lacks the nicely colored output of cargo build and cargo run.

Unfortunately full color support is very tricky to support due to the fact that cargo/rust's output lacks the color information when it's told to output JSON. (See these issues for more information: https://github.com/koute/cargo-web/issues/79, https://github.com/rust-lang/rust/issues/48792) Once that's fixed I'd be happy to make sure that color also works properly under Windows.

The rust issue was closed: https://github.com/rust-lang/rust/issues/48792#issuecomment-538651489


Svg not visibe

Hi There,
First of all, thanks for creating the library, eager to use it as my main option for rendering svgs using reason react.
Do you want to request a feature, report a bug or ask a question?
Ask a question/report a bug
What is the current behavior?
Svg not rendering. The path gets rendered in the browser but the svg is not visible at all.
What is the expected behavior?
Svg should be rendering. Full source code here.
If this is a feature request, what is motivation or use case for changing the behavior?
Please tell us about your environment:

Node.js version: v12.1.0
webpack version: v4.0.1
svg-sprite-loader version: v4.1.6
OS type & version: OSX 10.14.3

Stackoverflow.
Also could be relevant to note I'm using ReasonML to render the svg.

@Pet3ris hi! did you solve this problem? i've got the same issue, invisible icons, and warnings in console while i use option "extract: true"

For me it was an issue of not using the right sprite name. I found that by using an example project and then changing things one by one into my set up.


fix: Don't handle the same job output error twice when --keep-going is set

Description
Hoping I understand Snakemake's scheduler loop logic correctly. This should fix #1244.
QC

[ ] The PR contains a test case for the changes or the changes are already covered by an existing test case.
[ ] The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

++ support to adopting this fix ASAP.  I am going to pull it and give it a whirl right now b/c the seriousness of the impact on operations  has reached a point workarounds are failing adI was exploring next options when happily noted this in my inbox.  For more words, see here.   Will report back- i can test BIG jobs running via qsub and drmaaa on uge.

I seem to have the same issue as @iamh2o - would be great if this PR could find it's way into a Release ASAP!

So far so good with snakemake v7.0.1 -- 5K jobs and no crashes.  I'll force the failure condition when I have some down time and that will be a best test I have (it just takes a fair amount of prep as a ton of jobs need to be in flight.


How to update bn parameters?

I wonder how to update bn parameters during the adaptation stage, since the batchsize is 1.

The DispNet that was used for the tests do not have batch norms. In general during adaptation you can keep the mean and variance freezed or accumulate statistics over multiple frames and then update means and vars.

I see. Original Dispnet doesn't has batchnorm layer. Sorry for this mistake. As for your suggested update manner, I have some questions. If I accumulate the gradient, it sounds that the adaptation is changed to be an offline process?

You would not accumulate the gradients but rather the statistics (mean and variance) used by the batch norm layers to normalize the inputs.
Once you have processed enough samples and the statistics have "converged" you can replace them to the one learned on the training set. Some works also had more success using instance norm rather than batch norm since they will not suffer from this problem from the very beginning.

I see... thanks for your support!


Enforce using types field naming in package.json

Instead of typings. For consistency. They are synonymous.
See: https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html

Done 👌! Good idea.


move managed_vms -> flexible

Nice.

Yea - but I need to fix the master pom.xml

Probably will need to update the root pom.xml.


Start up steps are broken

The latest version of rancher server and agent do now match
docker run --rm -it --privileged -v /var/run/docker.sock:/var/run/docker.sock rancher/agent http://localhost:8080
time="2015-02-05T19:12:52Z" level="fatal" msg="Error response from daemon: client and server don't have same version (client : 1.16, server: 1.15)"

Hi, that message is coming from Docker, and is typically caused by a mismatch in versions between the container and the host. The rancher/agent container has docker version 1.4.1, and needs to run on a host with a 1.4.x binary. To resolve the host Docker needs to be upgraded.

We used to have a nice message for this.  @cloudnatique, I wonder if I broke this in v0.3.2 of the agent container.

Had the same issue, @cloudnautique is correct
The coreos ami ships with docker 1.3.3
Looks like I need to switch to beta: https://coreos.com/releases/

Yeah that was it, Thx


Version and network display in settings and logs

resolves #521

@holzeis if you find the time feel free to action the comments, I basically agree with all changes, happy to use TtoRow instead as well.
Otherwise I'll fix this up tomorrow morning.

bors r+


connecttion refused:Bad username or password

when i connect on the first time ，it often occur “connecttion refused:Bad username or password” ，
After a while it connect success

i use emqtt_mysql

my config:
%% select password only
{authquery, "select password from mqtt_user where username = '%u' limit 1"},
%% hash algorithm: plain, md5, sha, sha256, pbkdf2?
{password_hash, sha256},

%% select password with salt
%% {authquery, "select password, salt from mqtt_user where username = '%u'"},

%% sha256 with salt prefix
%% {password_hash, {salt, sha256}},

%% sha256 with salt suffix
%% {password_hash, {sha256, salt}},

%% comment this query, the acl will be disabled
{aclquery, "select allow, ipaddr, username, clientid, access, topic from mqtt_acl where ipaddr = '%a' or username = '%u' or username = '$all' or clientid = '%c'"},

%% If no rules matched, return...
{acl_nomatch, deny}

Hi @amazg,  root cause of this issue: https://github.com/mysql-otp/mysql-otp/issues/33
You could configure a 'keep_alive' option for a quick fix:
   {mysql_pool, [
        ...
        {auto_reconnect, 1},

        %% mysql options
        ...
        {keep_alive, 60000}
    ]},


Importing LDTK info on post import script

I would like to be able to get info, like in grid names. Let's say I have an int grid layer

In the generated tileset8x8.res I can see this

I would like to be able to map these names to the atlas source id. Why? Let's say I collide with a tile and I want to know which sound to emit based on the material, that I mapped in ldtk to a int in the intgrid layer. But I can't get any of that info using the post import scripts.
Would it be possible to get more info in the level or tileset post import?

Apologies for the delay - I have been away on holidays.
This is a good question. It's difficult to map the entirety of where data can be stuffed in LDTK into Godot's native Tileset resources, especially when LDTK IntGrids have a different schema to LDTK Tilesets.
I could use the (currently unused) "Custom Data Layer 0" for IntGrid Tilesets to include the intGridValue ("1") OR Identifier ("Grass"). Though I should point out that IntGrid tilesets are always one dimensional, so you can just use the x-coordinate of the tile to get a value (this is assuming you haven't reordered the intGridValues, otherwise that gets annoying).
It's probably also a good idea for me to refactor Tileset Post-Import scripts to make it easier to deal with IntGrids. Not sure how to best deal with it but I will think on it for a bit.

Don't worry for the delay, this is an open source project, no pressures, hope you had great holidays!
Now, Both options sound good! And I'm aware I can do that, I could also use your utils to parse the ingrid directly myself but it's not convenient. I'm thinking also on creating many scripts automated with enums that represent the intgrid values per layer. But I'm still nore sure about that approach. I do have to think about it too

After rewriting Tilesets for v2.0.1 and looking back at this issue, I think it would actually be entirely possible for the importer to add this info automatically to generated IntGrid tilesets.
I will probably implement this in the next minor update.


Feature/scss lint

On top of the sync (which you might want to PR separately) I have also added linting to sass.
I have also set outputs to the dist directory rather than creating in the source dir to prevent confusion between the separate files. Not sure if that will cause any other issues. Let me know if so and I can at update accordingly.

Took a quick look at this. Seems to work fine. Quick question, how is the TypeScript compiler able to access .css files in the dist directory?
Also this PR requires ruby and sccs_lint, so README.md needs to be updated.

Ah, it thing I figured it out. It seems that the TypeScript compiler does not need to read the css file. All we need to do is to make sure that the css file is available in the same folder as the compiled js file.

Do you guys get multiple "reloading browser"s with these changes?

Thanks, Ben. Merged.
@taijuten - can you please clarify your question? What do you mean by multiple "reloading browsers"?

@asgarddesigns, this PR has caused a break in the prod build. There are two issues, I fixed one, but haven't looked into the second one yet.
The first issue was that the component .ts files need to inline the .css files in the tmp directory. So I had to output them in the tmp instead of dist/prod.
The second issue is that all style sheets that are not part of components need to be concatenated and output in dist/prod/css/all.css. See the build process in the original angular2-seed project. That process also adds the following lines to index.html which picks up the concatenated css file:
  <!-- inject:css -->
  <link rel="stylesheet" href="/css/all.css?1459289107856">
  <!-- endinject -->

Could you please take a look at this issue?

Yep, can do. May be over the weekend, see how I go for time!

Ok, thanks.


Use LF as record separator in bench.csv

Do we want this to change depending on system? Windows or not? or can we assume everyone is using POSIX?

Let's assume that everyone is using POSIX. And even if people want to do some development on Windows, they'll most likely
use WSL.

I guess it's safe until someone insane enough to have nix up in Windows. :rofl:


use version in server

Pull Request type
Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

Current dependencies on/for this PR:

main

PR #698

PR #699

PR #700

PR #701

PR #702

PR #703   👈

This comment was auto-generated by Graphite.


fix snapshot FST_ERR_VALIDATION

@kibertoad

is it not relevant anymore? I can review

I think it is not relevant anymore. I think a fastify version was breaking something here. but it was fixed sometime ago.


Allow major version upgrades on Dask and Distributed because they user CalVer

Codecov Report

Merging #164 (058df03) into main (3995fc2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #164   +/-   ##
=======================================
  Coverage   81.71%   81.71%
=======================================
  Files          43       43
  Lines        1652     1652
  Branches      179      179
=======================================
  Hits         1350     1350
  Misses        265      265
  Partials       37       37

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


Feature request: rename "Brewfile.lock.json" to something else

From https://github.com/Homebrew/homebrew-bundle/pull/552 , it seems that the lock file, by design, doesn't work like a lock file in other dependency management tools where it helps lock installed versions for other machines, but rather just holds "logs" of which versions were installed successfully.
While I understand the good intentions behind it (to not lock some dependency to some version forever) and the technical limitations, I think it still causes lots of confusions for new comers.
As said, should we rename it to something else other than "Brewfile.lock.json" to avoid confusion? Something like "Brewfile.logs.json".
PS. I'm new here and not sure if there's some feature request format here. Let me know and I can update.

thanks for the suggestion however, this is a type of lock file so I wouldn't want to change it solely based on that. I think the mistake people are making is assuming all lock files are the same and dictate the restraints of an installed package (as you outlined) whereas there other types that exist too.
I could entertain renaming this functionality to be a "state" file instead but I don't feel strongly enough about this.
@colindean @MikeMcQuaid thoughts?

Interesting. I'd be interested in learning more on the history of lock files haha.

As said, should we rename it to something else other than "Brewfile.lock.json" to avoid confusion? Something like "Brewfile.logs.json".

Sorry, no, don't want to break backwards compatibility here.

@MikeMcQuaid It doesn't have to break backward compatibility. The program can look for "Brewfile.logs.json" first and fall back to "Brewfile.lock.json".
@jacobbednarz I'm curious. is there any other tools that treat lock file like in homebrew? I only work with Gemfile.lock and Podfile.lock and they seems to help restraint versions.

@MikeMcQuaid It doesn't have to break backward compatibility. The program can look for "Brewfile.logs.json" first and fall back to "Brewfile.lock.json".

Sure, it could, I just don't see the benefits being compelling enough to warrant it.

I only work with Gemfile.lock and Podfile.lock and they seems to help restraint versions.

These tools work completely differently to Homebrew to the extent that they are not worth comparing in this way.

These tools work completely differently to Homebrew to the extent that they are not worth comparing in this way.

What other tools work similar to homebrew then?

What other tools work similar to homebrew then?

@hlung Nothing that also has something like brew bundle.


libmpd v0.10

Hi!
I've bunched up all the breaking changes I want to make in the foreseeable future (and a few nonbreaking ones). I've added migration instructions in the changlog and the changes are all easy fixes. Details below:
Require MPD 0.19
MPD 0.19 came out like 7 years ago, and from repology it looks like the operating systems that have versions older than that are either incredibly niche or very old LTS systems, which will probably not be installing up to date haskell packages anyway.
The practical reasons for doing this are because the change to list in the next section requires it, and also it is easier to locally recompile newer versions of MPD for testing purposes.
list now takes a general Query
This reflects the behaviour changes in the MPD "list" command in 0.19, and makes the command much more powerful. Wanting to have this in my client kind of instigated this whole version bump.
(Position,Position) has been replaces with Range
The Range datatype is defined as such:
-- | A range of songs in a playlist.
--
-- @since <IP_ADDRESS>
data Range
  = Range Position Position -- ^ Start and end of the range, not including the end position.
  | Start Position -- ^ From the given position until the end of the playlist.
  deriving (Eq, Show)

This adds support for partial ranges (things like "3:" in the MPD protocol).
Missing constructors
I have added the following:
- Metadata constructors: AlbumSort, OriginalDate, Conductor, Work, Grouping, Label, MUSICBRAINZ_WORKID.
- Subsystem constructors: PartitionS, NeighborS, MountS.
- ReplayGainMode constructor: AutoMode .
I've also fixed the idle command to recognize all subsystems, it was missing a few.
Promote toggle to a protocol implementation.
The MPD command "pause" has toggled the playback state since basically forever, but has been deprecated for reasons that have been lost to time. I brought this up with MPD's maintainer a while back and he undeprecated it. Personally I wanted to change the type of pause from Bool -> m () to Maybe Bool -> m () to reflect the fact that the MPD command can get "pause", "pause 0", and "pause 1", but I tried to limit breaking compatibility to what's absolutely necessary, so I moved toggle from the Extensions module to the PlaybackControl module.
Remove deprecated functions
I've Removed (<&>), updateId, addList, and playlistAddList.
Move CI to github actions
Recently travis CI has been taking a very long time to actually run, so I moved the CI over to github actions.
I also updated the tested GHC to 8.10.3 and the stack resolver to 16.
Edit: originally I also removed the travis CI, but that caused it not to run on this PR, so I added it back for now.
Don't fail if single is set to oneshot
This is kind of an odd feature of the MPD protocol, and given the fact that it seems to not really be used anywhere (ncmpcpp and mpc don't support it), and that representing it as a type is a pretty ugly, the parser now interprets "single: oneshot" as stSingle = True instead of erroring out.

I also added the date on the changelog, assuming this is good to go

I also added the date on the changelog, assuming this is good to go

Thank you!

Thank you!

@psibi Thanks! Can you make the release on hackage as well please?

@psibi Thanks! Can you make the release on hackage as well please?

@iyefrat Done!

@iyefrat Done!


Problems with Google Maps Javascript API?

Hi,
I'm developing a new website using cookies-enabler and it work pretty well, as usual for youtube iframes, Google analytics and Google recaptcha scripts.
But in the contact page of this website I need to use the Google Javascript API to create a map with two marker and other personalizations and it won't work with cookies-enabler.
I've also tried to use postscribe as described in the documentation, but nothig, it won't works.
This is the code I'm using:
`

|
  |
  |
  |
  |
  |
  |
`
The chrome console says:

Uncaught ReferenceError: google is not defined at initialize (contatti.php:352)

Row 352 is

var latlngSede = new google.maps.LatLng(43.75666,11.24955);

Anyone has any suggestion to fix this problem, please?

Try adding type="text/plain" to your script tag. Without it the script
would be executed on the initial DOM load
Il giorno mer 18 mar 2020 alle 10:50 beke64<EMAIL_ADDRESS>ha
scritto:

Hi,
I'm developing a new website using cookies-enabler and it work pretty
well, as usual for youtube iframes, Google analytics and Google recaptcha
scripts.
But in the contact page of this website I need to use the Google
Javascript API to create a map with two marker and other personalizations
and it won't work with cookies-enabler.
I've also tried to use postscribe as described in the documentation, but
nothig, it won't works.
This is the code I'm using:
`
|
|
|
|
|
|
|
`
The chrome console says:
Uncaught ReferenceError: google is not defined at initialize
(contatti.php:352)
Row 352 is
var latlngSede = new google.maps.LatLng(43.75666,11.24955);
Anyone has any suggestion to fix this problem, please?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nicholasruggeri/cookies-enabler/issues/52, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOGUHG4LIUGRDTBRMJ7AKTRICKN3ANCNFSM4LONFL5Q
.

--
Gianmarco Simone
⚛http://www.actreact.io  http://www.actreact.io

Thanks for the answer Gianmarco.
I have done it, but nothing changes...

Please try to share a live environment or a complete reproduction.

Sure, here it is: http://www.influsso.it/googlemap/
The upper grey box is a youtube iframe embedded, perfectly working, and the bottom grey box is the googlemap

I see you are using a module version of postscribe ( notice the import statements in the postscribe.js file ). You should use a browser build like this one https://github.com/krux/postscribe#browser

Thanks Gianmarco, now it works!!!
The map doesn't reload automatically like the iframe, althought, do you think this can be fixed?


Together: Added Chat Model Support for TogetherAI

Description: Added the "chat" model support for TogetherAI
Twitter Handle: @dev_yashmathur

@baskaryan @efriis
Sorry for the late reply, did not have time during the week to check this out.
So, while what you told about it being a drop in for open-ai made sense, here are the 2 main reasons why i felt the necessity of this PR:

for anyone wanting to use Together in their workflow, they would be required to install the together_openai package as well, which seems counterintuitive considering the seperate version management for all parter libraries.

With the adding parameters on openai, such as tools, functions and even vision; which are not supported by together, it may lead to a potential confusion (Will be mitigated by the users seeing the documentation of the base URL they provide, but still seems a little complex)

Would love to hear your feedback on these points.

i agree with @dev-yashmathur.


Update pip to 23.1.2 and setuptools to 67.7.2

Updates pip from 23.0.1 to 23.1.2
Updates setuptools from 67.6.1 to 67.7.2

See:
https://pip.pypa.io/en/stable/news/#v23-1-2
https://setuptools.pypa.io/en/stable/history.html#v67-7-2
The new pip version now outputs the origin of each requirement (eg the requirements file path which listed it). As such, the pip install invocations have also been adjusted to use a relative path to the app's requirements file, so that the log output doesn't end up including the full tmp directory path (eg (/tmp/build_d73c77c7/requirements.txt), which would make the logs more cluttered and harder to diff between builds.
Lastly, since #1442 has now landed, we no longer need to upload the new pip wheel version to S3, and so this pip upgrade just works as is.
GUS-W-12345615.
GUS-W-13108504.

https://devcenter.heroku.com/changelog-items/2579


Making scriptlet quote marks consistent

For this rule
webhostingpost.com#%#//scriptlet('adjust-setInterval', ',dataType:_', '1000', "0.02")

CoreLibs gives this error
13:45:56.705 [DefaultDispatcher-worker-8] WARN  Native.jsfilter - scriptlets_parse_rule(): different kinds of quotes are not allowed in one rule ("0.02")) - expected '
13:45:56.705 [DefaultDispatcher-worker-8] WARN  Native.jsfilter - jsfilter_addrule(): scriptlet rule (webhostingpost.com#%#//scriptlet('adjust-setInterval', ',dataType:_', '1000', "0.02")) is invalid, returning with error
13:45:56.705 [DefaultDispatcher-worker-8] WARN  Native.AGProxyFilter - Rule isn't added: webhostingpost.com#%#//scriptlet('adjust-setInterval', ',dataType:_', '1000', "0.02")

and doesn't applies the rule.
So the fix in the adg-scriptlet-quotes linter rule needs to be improved to make quote marks guaranteed to be the same:
https://github.com/AdguardTeam/AGLint/blob/master/src/linter/rules/adg-scriptlet-quotes.ts#L159
Reported by @Alex-302

Since the related linter rule has been temporarily removed, I am closing this issue


Change the logic of upload-sheet-data functions

In sourceItems we describe all of table headers and by interface SourceItem
interface SourceItem {   metric?: Metric;   time?: TimeType;   ignore?: boolean;   convertFn?: (arg: number) => number; }
here we provide next data

metric - column name via we save data
ignore - if we don't need to save data
convertFn - provide function for converting value if it is needed
time - mark specific column for timestamp can be "Timestamp" - if one column date, "Time" and "Date" - if 2 columns date

Here we need discribe all interesting us data in 1 place - sourceItems object

Great start. I'll do a more thorough review tomorrow. But let's implement actual tests by uploading a few sample files and adding a test script that processes them


bundle exec temporarily allows access to gems outside of bundle

Short version: Given an installed gem foo, running bundle exec ruby -rfoo -e 'puts "hello"' will load foo even if it's not part of the bundle.
Concretely, I'm encountering issues with this when

I have json 2.0.1 installed
I have simplecov and json 1.8 in the bundle
I have the option -rsimplecov in my rspec task
I run bundle exec rake
The result seems to be that simplecov is loaded before the bundle is activated on the nested execution of ruby, and I get the error:
You have already activated json 2.0.1, but your Gemfile requires json 1.8.3. Prepending bundle exec to your command may solve this. (Gem::LoadError)

Steps to reproduce the problem:

Install json 2.0.1
In an empty directory, create a Gemfile with the following contents:

source 'https://rubygems.org'

gem 'rake',  '~> 11.1'
gem 'rspec', '~> 3.0'
gem 'json',  '~> 1.8'

Also, create a Rakefile with the following contents:

require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new('spec') do |t|
  t.ruby_opts = ['-rjson -Ilib -w']
end

task default: :spec

Run bundle exec rake

What I expect to happen
RSpec runs and succeeds with 0 examples run.
What actually happens
I get the following output:
/home/matijs/.rbenv/versions/2.3.1/bin/ruby -rjson -Ilib -w -I/home/matijs/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib:/home/matijs/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-support-3.4.1/lib /home/matijs/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.4.4/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
/home/matijs/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:35:in `block in setup': You have already activated json 2.0.1, but your Gemfile requires json 1.8.3. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
	from /home/matijs/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:20:in `map'
	from /home/matijs/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:20:in `setup'
	from /home/matijs/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler.rb:95:in `setup'
	from /home/matijs/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/setup.rb:9:in `<top (required)>'
	from /home/matijs/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /home/matijs/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/home/matijs/.rbenv/versions/2.3.1/bin/ruby -rjson -Ilib -w -I/home/matijs/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib:/home/matijs/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-support-3.4.1/lib /home/matijs/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.4.4/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed

@mvz I think (although I am not sure) that this is because RSpec's rake task also execs out to another Ruby process, temporarily freeing Ruby from Bundler long enough for it to load the wrong JSON version. Can you try running bundle exec ruby -rjson -Ilib -w -S rspec and show us the results?

@indirect that shouldn't happen, since we ensure that the -rbundler/setup is the first thing in RUBYOPT, so unless the rake task is prepending to RUBYOPT after we've setup the bundler env, this could be a bug on our end

@indirect yes, bundle exec ruby -rjson -Ilib -w -S rspec gives the same error:
[matijs@bean] bundle exec ruby -rjson -Ilib -w -S rspec
/home/matijs/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:35:in `block in setup': You have already activated json 2.0.1, but your Gemfile requires json 1.8.3. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
	from /home/matijs/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:20:in `map'
	from /home/matijs/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:20:in `setup'
	from /home/matijs/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler.rb:95:in `setup'
	from /home/matijs/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/setup.rb:9:in `<top (required)>'
	from /home/matijs/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /home/matijs/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'

@mvz @segiddins I don't think this is a bug of Bundler. This is because ruby load libraries given through -r command line option before -r libs in RUBYOPT.
https://bugs.ruby-lang.org/issues/5445
Adding explicitly -rbundler/setup in command line seems reasonable workaround for this to me.

What @soutaro posted above agrees 100% with my assessment of the issue as well


Add Crossfeed entries

Adds manually-created Crossfeed entries for prod and staging instances to Terraform.
🗣 Description

💭 Motivation and Context

Simplifies change management.
Closes https://github.com/cisagov/cool-dns-cyber.dhs.gov/issues/17.

🧪 Testing

Both terraform validate and pre-commit pass.
📷 Screenshots (if appropriate)
🚥 Types of Changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (causes existing functionality to change)

✅ Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

At first blush, these records appear correct to me.  Have you tried terraform importing the records you created manually and verifying that terraform apply (or terraform plan) doesn't want to make changes?  I can walk you through that for one or two of the records this afternoon if you want.


feat: add batch mode

This is experimental and still a work in progress. Would be interested in thoughts folks have on this - esp things like HTTP.toEvent(): CloudEvent | CloudEvent[]. The modifications were pretty simple in order to support batch mode, in my opinion. But it might have made some usage clunky, such as that. Marked as a WiP so I can add more tests and the overall design/direction can be hashed out first (if this doesn't look quite right).
/cc @cloudevents/sdk-javascript-maintainers
Fixes: https://github.com/cloudevents/sdk-javascript/issues/440 (eventually)
Signed-off-by: Lance Ball<EMAIL_ADDRESS>

@grant thanks for the earlier review. I have made a few modifications since then, so if you don't mind a second look I would appreciate it. @lholmquist if you've got feedback on this I would welcome it as well. Thanks!


Hello, I need your help with something.

I have an opel corsa, I inserted the radio of the peugeot 301. I can operate the radio via CAN with the vehicle chassis number.
byte data1[8] = { 0x2B, 0x3A, 0x56, 0x83, 0x31, 0x55, 0x28, 0x30 }; // 0x2B6 VIN for Radio
byte sndStat = CAN0.sendMsgBuf(0x2B6, 0, 8, data1);
I made a clock circuit with DS1302 externally. I want to send the time information to the screen, but I could not do it. Can you help with this code? How can I send?
The date and time address is as follows, but I could not combine the time information.
t.hr, t.min, t.sec

Connect to the BSI and filter the 276 message and reverse engeneer the data you don't have. I have a few samples but I blacklisted every messages that made noise...


config.vm.synced_folder doesn't seem up to date

I think we should disable the default /vagrant synced folder. The getting started directory is not needed inside VMs, tdp collections already upload needed files from the host to VMs.

I agree with you


SOAP integration - assistance and feedback

Hi,
Thank you very much for setting up the integration; I've tried to use it but I am a bit at a loss with creating a SOAP request.
https://github.com/Budibase/budibase/discussions/7807#discussioncomment-4119093
In any case, regarding your question for either using fields with a path or a JSON output, I would tend to say JSON would be more flexible to use but I can't say for sure.
I've tried using the integration with a SOAP API (with which I don't have prior experience), can you hint on how to do this with the integration? This API assumes you need to authenticate with an API_KEY first.  An example:
Binding: KI_API3Binding
Endpoint: https://login.soapapiservice.com:443/API3_ws.php
SoapAction: urn:KI_API3#listClients
Style: rpc
Input:
  use: encoded
  namespace: urn:KI_API3
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: listClientsRequest
  parts:
    sid: xsd:string
    offset: xsd:string
Output:
  use: encoded
  namespace: urn:KI_API3
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: listClientsResponse
  parts:
    return: tns:PersonResponse
Namespace: urn:KI_API3
Transport: http://schemas.xmlsoap.org/soap/http
Documentation: Gest a list of (25) clients, starting with position indicated in «offset».

Thank you

Hey @acseven
I've pushed some updates to the connector and added an example to the README of the repo.
Could you try that and see if it works for you!

Hi, thank you, I will try it out!
I've tried to update it using the github url, or even uploading the tgz file directly but all failed (even after deleting the first release):

Also, I tried installing another of your plugins with the github repo URL and that worked fine; this one isn't installing unfortunately!

Hey @acseven What version of Budibase are you running?

@melohagan My apologies, it was on 2.1.23. I updated to 2.1.28 and it's now installed.

Hi @melohagan,
The specific SOAP API I'm trying to use is even weirder than expected. In essence, it requires authentication which is not processed with a headers or URI parameter, but with a SOAP method/action which returns a session ID for the next 3600 seconds:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <authenticateRequest>
      <apikey>string</apikey>
    </authenticateRequest>
  </soap:Body>
</soap:Envelope>

Is there any viable way of using this on your extension?

Here's an example response:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
    <SOAP-ENV:Body>
        <ns1:authenticateResponse xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/">
            <return xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[2]">
                <item xsi:type="xsd:string">1</item>
                <item xsi:type="xsd:string">eff9974d33c7----redacted---d9172d8b</item>
            </return>
        </ns1:authenticateResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Hey @acseven
You could do this through the app itself. So you would have one request that does the authentication and gets the key.
Then when that's done, you could possibly store that in App State, and pass it through as a binding to your other query that requires authentication.
https://docs.budibase.com/docs/custom-queries

Thanks for the pointer; I think the query below is correct, at least it is working on postman:

Postman:

Ah it's because your response is returning SOAP-ENV:Body instead of soap:Body. Let me get a patch out for that

@acseven Could you try version 1.1.1 please?

Excellent, that worked. Now to try and create that custom query you've suggested.

Dear Melohagan,
i had the same challenge as @acseven however my responses return S:Envelope and S:Body instead of soap:Body. I tried forking and using my code instead - and failed miserably :D until i found out that i need to build the plugin first - and I don't have access to the CLI on my budibase instance. Could you incorporate the S:Envelope and S:Body return in your official plugin as well? Thanks so much!

Hey @SufiSR
I won't likely get around to this anytime soon!
You can use this commit as an idea of what you'll need to do: https://github.com/melohagan/budibase-datasource-soap/commit/7a24072e7365403325d051a7afc16bddf3aee5e3
Basically it's an extra if statement to check for S:Envelope

Hope i did it correctly :)

Hope i did it correctly :)

Code looks good, thanks! As mentioned, just need the version number to be incremented in the package.json file as well


Add generic function and multi-tuple

The syntax of generic function is array{Int}() where array is a function. It is pretty useful when we construct an empty array.
Multi-tuple is supported now. We can create a multiple elements tuple by var t = (a, b, c) and index it by (t).2.
Also, some bugs are fixed and useful built-in functions are added in this PR.

All of this looks perfect; thanks! I'll merge it now and add documentation.


[ansible/postgresql] method key for postgres_allowed_hosts doesn't work

Is this a request for help?: No

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

Which installer: N/A
Which product and version (eg: ansible & collection version - 7.24.2): Ansible - 2.14.3,  jfrog.platform       10.19.4
Which operating system and version(eg: ubuntu & version - 20.4): Debian 12
Which product license (Enterprise/Pro): Pro
JFrog support reference (if already raised with support team):
What happened:
Variable postgres_allowed_hosts.method doesn't work.
By looking at code it seems that there is a typo in template.
Method is not using host iterator, but item and also looking for auth key instead of method
What you expected to happen:
Method should be appropriately populated during pg_hba.conf template generation
How to reproduce it (as minimally and precisely as possible):
Execute postgresql role with variable like this
postgres_allowed_hosts:
  - {
      type: "host",
      database: "all",
      user: "all",
      address: "<IP_ADDRESS>/0",
      method: "md5",
    }

Method will be trust instead of expected md5
Anything else we need to know:

https://github.com/jfrog/JFrog-Cloud-Installers/pull/428 is already raised , Fixed internally , waiting for publi release


Documentation - Update Screenshots in User Guide

Changes
This PR fixed some outdated screenshots in the user guide as alluded to by #325.
Related Issues

Partially Solves #325

Codecov Report

Merging #326 (ca3a5b0) into master (298e06d) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #326   +/-   ##
=========================================
  Coverage     72.40%   72.40%
  Complexity     1256     1256
=========================================
  Files           160      160
  Lines          3860     3860
  Branches        452      452
=========================================
  Hits           2795     2795
  Misses          985      985
  Partials         80       80

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 298e06d...ca3a5b0. Read the comment docs.

The main one on the front page and other stuff we change in a separate PR? in the quick start part of the app, the app front page, and the readme


Recommend nvm instead of weird Ubuntu 14.04 setup

Read up on nvm and replace the apt-get install node-legacy stuff from the Readme with nvm install 4 && nvm use 4

I'm aware of nvm.  We recommend installing node-legacy because most people expect the Node.js binary to be named node instead of nodejs, which is the default in Debian to avoid a naming conflict.


Bug: ColorSpectrum off-by-1 Rendering?

Describe the bug
It appears the ColorSpectrum has an off-by-1 bug when rendering the Ring (Box looks OK). The off-by-1 is on the bottom and potentially the right as well.
Expected behavior
The bottom and Right of the Ring should not have the last pixel clipped.
Screenshots

Version Info
Microsoft.UI.Xaml 2.4.x

Windows app type:

UWP
Win32

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop

Xbox

Surface Hub

IoT

Additional context

ah so that is a second color spectrum, got it.

I would like to look into this issue.


Demo version for CityLAB exhibition

Should

[x] Mock auth0
[x] mock the post api calls
[x] Allow to see the ui elements for logged in users
[x] run it on a subdomain https://demo.giessdenkiez.de
[ ] remove ui Elements
[x] have ssl cert for it

Some problems I have here are:

Why do some request get past the MSW module feels random
Seems like it works better with open developer console


Vpn Start Failure on maccatalyst

Describe the issue
I've already follow the tips from https://github.com/Jigsaw-Code/outline-client/tree/master/src/cordova/apple#debug-vpnstartfailure, but still not working, sometimes it connect on but will disconnect then reconnect in short seconds for several times. To the end, although the connection time is running, but actually it still not connect to server.
Environment

OS: macOS Sonoma 14.2.1
NPM version 10.2.3
Node.js version 18.19

We don't fully support maccatalyst yet, for this exact reason. This happens only on M1 machines as far as we have been able to see. Can you confirm you are on a Silicone M1 machine?
This issue is blocking our migration from macos->maccatalyst to resolve #1727, but we don't have a specific issue for this bug so thank you for starting one.

We don't fully support maccatalyst yet, for this exact reason. This happens only on M1 machines as far as we have been able to see. Can you confirm you are on a Silicone M1 machine?
This issue is blocking our migration from macos->maccatalyst to resolve #1727, but we don't have a specific issue for this bug so thank you for starting one.

Yes, I'm on a Silicone M1 machine, so that's the problem ! OK, thank you very much.


Error: "Add Profile" Button in Header Not Working

Describe the Error
The "Add Profile" button in the header of the RecodeHive Awesome GitHub Profiles website is not functioning. When clicking on the "Add Profile" button, nothing happens, and no action is triggered.

Expected behavior
When clicking on the "Add Profile" button in the header, I expect it to either redirect to a new page where users can submit their profiles or open a form or modal to add a profile.

Additional context

The issue occurs on the homepage as well as other pages of the website.
I have tried accessing the website on different browsers and devices, and the issue persists.
Link to the website: RecodeHive Awesome GitHub Profiles

https://github.com/recodehive/awesome-github-profiles/issues/new?assignees=&labels=➕+profile&projects=&template=add_profile.md&title=Add+Profile%3A+
can you link to the above link.

@HimanshuGitCode @sanjay-kv Actually I have already raised an issue regarding this #195 and will be raising a PR for it shortly


Install issue requires 3.8.10

Within the local repo ran:
 python3 -m pip install .
Output:
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
    Preparing wheel metadata ... done
    ERROR: Package 'forum-dl-0.3.0' requires a different Python: 3.8.10 not in '>=3.10.11'

resolved


CSS valuespace prose dfn: stick to the core definition

CSS valuespaces defined in <dd> are typically defined using prose. The crawler was taking the whole block as definition, converting it to raw text. This worked well in most cases, but this block sometimes contain additional information that cannot easily be converted to raw text and that goes too much into details for the purpose at hand, namely:

notes
links to tests
child <dl> lists that details possible values

This update excludes these bits from the extracted prose.
Fixes #598

I added a couple of tests using markup from existing CSS specs.
The whole area would benefit from more tests, for sure...


Remove spaces in bash env variable definitions?

In CLI commands in this section, might be better to remove spaces below if this is bash?
Instead of this:
readOnlyRoleDefinitionId = '<roleDefinitionId>'
principalId = '<aadPrincipalId>'

Should be:
readOnlyRoleDefinitionId='<roleDefinitionId>'
principalId='<aadPrincipalId>'

Copy/paste error copying from powershell to cli commands?

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

ID: aba612b3-f404-11b2-45d9-6e10f1fbf11d
Version Independent ID: 86ccb46e-5ebd-50a4-a911-2ac83c8a41f4
Content: Configure role-based access control with Azure AD - Azure Cosmos Db
Content Source: articles/cosmos-db/how-to-setup-rbac.md
Service: cosmos-db
GitHub Login: @seesharprun
Microsoft Alias: sidandrews

@vmagelo, the spaces are very odd. We have a change pending to remove those spaces. Once it's merged in, this issue will auto-close.


Skip failed GP fits in MultiOutputGP class

Users tend to fit large numbers of models when using the MultiOutputGP, to the point that (1) computational time is quite high, and (2) human review is not feasible. In many cases, a few GPs fail, which causes the entire run to fail.
Proposed solution is to skip emulators that fail, and reset the failed ones to have parameters of None. Provide information on those that failed so that they can be inspected, as well as an option to re-fit only those that failed. Requires having some methods to examine the internal list of emulators for those with parameter values of None and extract them to pass to the fitting algorithms, plus some flags in the fitting function to control how this behavior occurs.

Fixed in #178, closing.


[SPARK-10704] Consolidate HashShuffleReader and ShuffleReader; refactor ShuffleManager.getReader()

The current shuffle code has an interface named ShuffleReader with only one implementation, HashShuffleReader. This naming is confusing, since the same read path code is used for both sort- and hash-based shuffle. This patch consolidates these into a single class named ShuffleReader.
In addition, there are aspects of ShuffleManager.getReader()'s API which don't make a lot of sense: it exposes the ability to request a contiguous range of shuffle partitions, but this feature isn't supported by any ShuffleReader implementations and isn't used anywhere in the existing code. If we do want to implement support for fetching multiple partitions then we'll likely want to support the ability to fetch sets of partitions with non-contiguous ids, which this interface doesn't support. As a result, this patch also changes this API to accept a single partition id.

Merged build triggered.

Merged build started.

Test build #42680 has started for   PR 8825 at commit a0e7fc6.

Test build #42680 has finished for   PR 8825 at commit a0e7fc6.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42680/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #42682 has started for   PR 8825 at commit 36b25e3.

Merged build triggered.

Merged build started.

Test build #42691 has started for   PR 8825 at commit 43eb0cf.

Test build #42682 has finished for   PR 8825 at commit 36b25e3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42682/
Test PASSed.

Test build #42691 has finished for   PR 8825 at commit 43eb0cf.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42691/
Test FAILed.

Merged build finished. Test FAILed.

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Test build #42701 has started for   PR 8825 at commit 43eb0cf.

It might make sense to not remove the start/end partitions. I think @mateiz and @yhuai was thinking about using that for adaptive query processing.

Actually LGTM - since we can add this later, and existing implementation doesn't support it anyway.

I already have a patch for the range of partitions, so please leave that in. https://github.com/mateiz/spark/tree/spark-9852

By the way, the reason it took contiguous partition IDs was to make them cheap to read from disk in one read. So I'd like to try keeping it like that before we decide that we really need arbitrary sets of partitions.

BTW another thing you should consider is just renaming HashShuffleReader to BlockStoreShuffleReader and still leaving in the abstract interface. The interface was there in case we want to do things like push-based shuffle in the future, and I don't think it's a hard interface to understand. But the name Hash is indeed confusing.

Good points. I'm going to re-scope this change to only perform the renaming.

Merged build triggered.

Merged build started.

Test build #42776 has started for   PR 8825 at commit cf0c4c2.

Test build #42776 has finished for   PR 8825 at commit cf0c4c2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42776/
Test PASSed.

LGTM. merging in master.


feat: Added white borders to Stacked Avatars Component

What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[X] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Description

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings

Added tests?

[ ] 👍 yes
[X] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[X] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?
🤗🤗🎉🎉

This Pull Request closes #286

This Pull Request closes https://github.com/open-sauced/hot/issues/286
Thanks for opening. Note, I update the description in respect to the template.


One-word journal names not wrapped in braces on BibTeX export

[x] I have verified in the Zotero addons screen that I have the latest release of BBT (https://github.com/retorquere/zotero-better-bibtex/releases/latest) and Zotero installed
[x] I am posting a single question, bug or feature request
[x] I have included a descriptive subject of the problem
[x] I am available for follow-up questions and testing
[x] If I am posting an export-related bug report, I have included an error-report by right-clicking the problematic reference and submitting an BBT error report

When exporting to BibTeX, it seems that one-word journal names are not wrapped in braces. (I understand that either braces or quotation marks are required by the BibTeX format.) When I use natbib to generate a bibliography, this means that the journal name is not displayed in the references list. Error report ID: 8PCS9882. I've attached a minimum working example: LaTeX code and PDF output. Possibly related to this previously fixed issue?
Thanks so much for making zotero-better-bibtex - it's extremely useful!
Andrew

You have this setting on.

I've turned that setting off and it's working perfectly now. Thanks very much!

Only I can close issues on this repo.
The setting is off by default BTW, so at one point you must have used this for something. But it's an export setting for people with very specific needs (external @string vars).


gauge's title resize abnormal

when I resize the window, gauge's title become small.

but I can't reappear this in your MultiGaugeDemo, it only happens in my application.
Can you give some suggest to find the reason?

Please close the issue. I don't know how to do it and I find the reason.
I add font-family to the root.
scene.getStylesheets().add("style.css");
style.css:
.root{
-fx-font-family: 'Microsoft YaHei';
}


Basic auth exists

Thank you!

This has been released as part of 3.7.0 now!
https://javalin.io/news/2020/01/01/javalin-3.7.0-released.html


SDKs should send ip_address = {{auto}} by default and not guarded by sendDefaultPii

Description
Relates to https://github.com/getsentry/team-mobile/issues/144

This was addressed by #1665 and will be part of the 8.0.0 release.


Scripthookdotnet Problem

hello i need help because i dont use script mods all my mod cant use maybe coming new version scripthookdotnet ? i have latest scripthookv version and i use 2.10.10 scripthookdotnet

It does not seem like there is enough information here to make a valid bug report.
Please check your GTA folder for relevant .log files.


Manipulate Interceptors on a Call?

We were looking at some Wire stuff, and Wire operates on a Call.Factory so it cannot introduce new interceptors to an existing Call.
It’d be interesting/powerful to be able to add interceptors directly on a Call instance.

application or network interceptors? both?

Both

This is a weird mixing of layers, but I can see why it's powerful.  Particularly if we increasingly support Call.Factory as API and also as implementation.
But in that regard it's why it's mixing the layers.  Call.Factory and dependencies are fairly tight.  It would pull in Interceptor, and transitively Chain, Connection.
I guess we could ignore this except on jvm.
What is the contract, that you can add final application or network interceptors?  Any need to be in other positions?

This seems doable, but Call is a pretty central public API that is actively implemented.  So wondering what the APIs are like, going to throw in EventListeners here also.
Can't work out how to do this nicely with a clone, since RealCall is heavyweight.
  interface Call {
    fun clone(xxx): Call
  }

So maybe
  interface Call {
    fun addEventListener(eventListener: EventListener)
    fun addInterceptor(interceptor: Interceptor)
    fun addNetworkInterceptor(interceptor: Interceptor)
  }

Or
  interface Call {
    // must be called before execution
    fun reconfigure(fn: CallOptions.() -> Unit)
  }

  interface CallOptions {
    fun addEventListener(eventListener: EventListener)
    var interceptors: List<Interceptor>
    var networkInterceptors: List<Interceptor>
  }

Or interface ConfigurableCall: Call


Document key-auth TTL parameter

Summary
Document ttl parameter when creating a key with the key-auth plugin.
Reason
This feature is not documented

@Kong/team-core can someone please confirm the technical accuracy of this doc contribution?

https://deploy-preview-2873--kongdocs.netlify.app/hub/kong-inc/key-auth/#create-a-key

I just rebased the branch, squashed the commits and improve de the wording, let me know for anything.

And I also edited Key-Auth Enc plugin


llvm: make sure https://reviews.llvm.org/D131230 "[RISCV] Allow mismatched SmallDataLimit and use Min for conflicting values" gets merged

already too late for our january llvm update, but it would be nice to have https://reviews.llvm.org/D131230 "[RISCV] Allow mismatched SmallDataLimit and use Min for conflicting values" merged upstream in time for our next llvm update...

Merged

https://reviews.llvm.org/rGaf128791464810123bcd60a6d9d0902b5c550aef

We still need to cherry-pick this to llvm-android


Declare the paused state of the OCOC

Add a statement to the README to alert people of the paused status of the project.

:+1:

:+1:

:+1:
:laughing:

:+1:

+1

We should merge this ASAP, is there somebody who can merge?

I'm going to go ahead and close this, it seems this will be on hold for quite a while, and the maintainers seem to be busy.


"Algebraic types" in Flow don't look nice

I guess this isn't very common code, but these type definitions in Flow don't look too nice - the line bginning with mode: 'moving' should probably be indented further.

(v. 0.15.0)

Good call, we should indent them a bit more :)


Option to not query for translation when using Text-to-Speech

Hello, @soimort!
If I just want to listen to the pronunciation of some word or sentence, I know I can use the option -speak (-sp), but before speaking the text, translate-shell queries for a translation of the text, which causes a noticeable delay.
What I would like is an option to skip the translation (eg. -no-translate) and just call the text-to-speech function, that would speed things up for me when I just want to hear the correct pronunciation of a text, which I do very often!
Thank you for your attention!

I think it's a good idea :+1:

This is awesome! Thank you!


Translation project

I'm Doing a Spanish translation for this mod. I already translated the config menu, but I would like to know where are the professions names and the "name string structure".
It would for personal use only, but I'll be happy to provide the files if you want to add them to your mod.

Right now the profession names are hardcoded to be english. For a fix to this the best thing might be for you to provide those workstation files and I could add a way for it to choose based on what language the user has selected

Is there any update to this?  It would help a lot if the professions would show up in their native language.


Help Text

The help text for "az network express-route circuit -h" should say "Create or update an ExpressRoute circuit" instead of "create or update a virtual machine"

Looks like our swagger docs wrapping the arm templates have copy/paste description errors for the operations....


New shape properties added to layer.properties?

🐛 Bug
I am trying to use napari as a basic ROI management tool to view and edit ROIs on an image. However, the expected behavior of the layer.properties attributes when new shapes are added to an existing shape layer is unclear to me. When no properties are passed to viewer.add_layer() then no properties are added when new shapes are added. If there is a dictionary of properties, then a new shape adds not 1 but 4 entries into the the dict value list in the properties dict, where all four entries are copies of the last entry in the list.
To Reproduce
Steps to reproduce the behavior:
test_shapes = [np.array([[100,200],[200,300]]), np.array([[300,400], [400, 500]])]
test_properties = {'index': [1,2]}

with napari.gui_qt():
    viewer = napari.view_image(test_img)
    layer = viewer.add_shapes(test_shapes, properties=test_properties)

I then add a new shape to the shapes layer in the napari gui and then check the layer object:
layer.data

[array([[100., 200.],
        [200., 200.],
        [200., 300.],
        [100., 300.]]),
 array([[300., 400.],
        [400., 400.],
        [400., 500.],
        [300., 500.]]),
 array([[613.323895  ,<PHONE_NUMBER>2],
        [707.00687235,<PHONE_NUMBER>2],
        [707.00687235,<PHONE_NUMBER>8],
        [613.323895  ,<PHONE_NUMBER>8]])]

layer.properties

{'index': array([1, 2, 2, 2, 2, 2])}

Expected behavior
I understand that it is hard to add reasonable values to an arbitrary properties list which could be anything basically, and I'm not completely sure what to suggest here. But at the very least adding one shape should add one property, not four, and if the property is a list of ints autoincrementation could be a possibility?
Environment
napari: 0.3.5
Platform: Windows-10-10.0.19041-SP0
Python: 3.7.6 | packaged by conda-forge | (default, Jun 1 2020, 18:11:50) [MSC v.1916 64 bit (AMD64)]
Qt: 5.12.5
PyQt5: 5.12.3
NumPy: 1.17.0
SciPy: 1.5.0
Dask: 2.19.0
VisPy: 0.6.4
GL version: 4.6.0 NVIDIA 391.25
MAX_TEXTURE_SIZE: 16384
Plugins:

napari-plugin-engine: 0.1.6
svg: 0.1.3

Hello @KaSaBe ! Thank you for reporting this bug! This is certainly not the intended behavior. As you guessed, only one property should be added for each new shape. The intention was that it would be the value of the last selected shape unless otherwise specified. I will be spending a good chunk of time on napari this weekend for the scipy sprints and I will look at this again. Thanks again for the report and sorry for the inconvenience.


DEVELOP :: Fixing bug error web config

#18

I TRIED TO DEBUG YOUR LAST UPDATE, ITS NOT WORKIG:
Error message :

Task :app:compileDebugKotlin FAILED
e: file:///C:/Users/Azz/Desktop/PULL%20MERGED%20UPDATE%20WEBVIEW/PULLMERGED/app/src/main/java/com/frogobox/webview/common/core/BaseActivity.kt:85:23 Object is not abstract and does not implement abstract member public abstract fun onNotUsingAdConsent(): Unit defined in com.frogobox.admob.core.IFrogoAdConsent