bpf: Allow maps to be opened or created without warning for mismatches

Add a new function OpenOrCreateWithoutWarning() to allow map to be upgraded without logging a warning. This can safely be used in cases where the map is completely populated from the userspace.
Only the policymap uses this function for now, but other maps should start using this when they need to be upgraded and that can be done without upgrade or downgrade impact.
Note that for downgrade tests to succeed, the map needs to use OpenOrCreateWithoutWarning() also in the old version.

Are you sure the warning is the reason the upgrade test fails? We don't fail on warnings in general. Could it be failing because of the following?
https://github.com/cilium/cilium/blob/82242aac693cba336497dc3179dc95eff1503254/test/helpers/cons.go#L221

Are you sure the warning is the reason the upgrade test fails? We don't fail on warnings in general. Could it be failing because of the following?
https://github.com/cilium/cilium/blob/82242aac693cba336497dc3179dc95eff1503254/test/helpers/cons.go#L221

Thanks for this, I missed this looking for the longer string (Key-size mismatch for BPF map). It is indeed much easier to solve this on the test helper!


Extract vendor JS from build to optimize cache / reload during tests

Hot-reload handled well by Webpack, even with Google Chrome Dev Tools "Disable Cache: on" setting.


Lee County, FL Buildings overlay not displaying

Description
Lee County, FL Buildings overlay not displaying when editing ive added the layer even cleared the cookies but still not working
Version
2.0.3
What browser are you seeing the problem on? What version are you running?
Chrome v113.0
The OS you're using
win
Steps to reproduce
No response
The browser URL at the time you encountered the bug
https://rapideditor.org/edit#background=Bing&datasets=b2c4457aeadc44208685a1ed2dcc101a&disable_features=boundaries&map=18.48/26.69142/-81.75095
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36

Just double checked this exact area, looks like the buildings are indeed working. Transient error / service outage on Esri's part?


🐛 [firebase_ui_auth] invalid password error message is inadequate

Bug report
Using V1.2.1 latest from pub.dev - if you enter an incorrect password, the word "error" appears in red  - but it is very hard to notice.

It should say something like "The email address or password you entered is invalid" in bold red.
Tested using the example app in the repo.
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[√] Flutter (Channel stable, 3.7.7, on Microsoft Windows [Version 10.0.22621.1555], locale en-NZ)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.1)
[√] Android Studio (version 2022.1)
[√] VS Code (version 1.70.2)
[√] VS Code, 64-bit edition (version 1.77.1)
[√] Connected device (3 available)
[√] HTTP Host Availability

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.19.4
Flutter SDK 3.7.7
firebase_with_flutter 1.0.0+1

dependencies:
- cloud_firestore 4.5.1 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cupertino_icons 1.0.5
- email_validator 2.1.17
- firebase_auth 4.4.1 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_auth_platform_interface 6.13.0 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_core 2.9.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_core_platform_interface 4.6.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_dynamic_links 5.1.0 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface]
- firebase_ui_auth 1.2.1 [email_validator firebase_auth firebase_core firebase_dynamic_links firebase_ui_localizations firebase_ui_oauth firebase_ui_shared flutter flutter_localizations flutter_svg]
- firebase_ui_localizations 1.3.0 [flutter flutter_localizations intl path]
- firebase_ui_oauth 1.2.1 [desktop_webview_auth firebase_auth firebase_ui_auth firebase_ui_shared flutter_svg flutter]
- firebase_ui_oauth_apple 1.1.1 [firebase_auth firebase_ui_oauth flutter]
- firebase_ui_oauth_facebook 1.1.1 [firebase_auth firebase_ui_oauth flutter flutter_facebook_auth]
- firebase_ui_oauth_google 1.0.21 [firebase_auth firebase_ui_oauth flutter google_sign_in]
- firebase_ui_oauth_twitter 1.1.1 [flutter firebase_auth firebase_ui_oauth twitter_login]
- flutter 0.0.0 [characters collection js material_color_utilities meta vector_math sky_engine]
- flutter_localizations 0.0.0 [flutter intl characters clock collection js material_color_utilities meta path vector_math]
- flutter_svg 1.1.6 [flutter meta path_drawing vector_math xml]
- google_fonts 4.0.3 [flutter http path_provider crypto]

dev dependencies:
- drive 1.0.0-1.0.nullsafety.5 [test_api flutter_test flutter_driver stack_trace flutter]
- flutter_driver 0.0.0 [file flutter flutter_test fuchsia_remote_debug_protocol path meta vm_service webdriver archive async boolean_selector characters clock collection crypto js matcher material_color_utilities platform process source_span stack_trace stream_channel string_scanner sync_http term_glyph test_api typed_data vector_math]
- flutter_facebook_auth 4.4.1+1 [flutter flutter_facebook_auth_platform_interface flutter_facebook_auth_web]
- flutter_lints 2.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection js matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]
- google_sign_in 5.4.4 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web]
- http 0.13.5 [async http_parser meta path]
- integration_test 0.0.0 [flutter flutter_driver flutter_test path vm_service archive async boolean_selector characters clock collection crypto fake_async file js matcher material_color_utilities meta source_span stack_trace stream_channel string_scanner sync_http term_glyph test_api typed_data vector_math webdriver]
- mockito 5.4.0 [analyzer build code_builder collection dart_style matcher meta path source_gen test_api]
- test 1.22.0 [analyzer async boolean_selector collection coverage http_multi_server io js node_preamble package_config path pool shelf shelf_packages_handler shelf_static shelf_web_socket source_span stack_trace stream_channel typed_data web_socket_channel webkit_inspection_protocol yaml test_api test_core]
- twitter_login 4.3.2 [crypto flutter http]

transitive dependencies:
- _fe_analyzer_shared 58.0.0 [meta]
- _flutterfire_internals 1.1.0 [collection firebase_core firebase_core_platform_interface flutter meta]
- analyzer 5.10.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- archive 3.3.2 [crypto path]
- args 2.4.0
- async 2.10.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- build 2.3.1 [analyzer async convert crypto glob logging meta path]
- built_collection 5.1.1
- built_value 8.4.4 [built_collection collection fixnum meta]
- characters 1.2.1
- clock 1.1.1
- cloud_firestore_platform_interface 5.12.0 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 3.4.1 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.4.0 [built_collection built_value collection matcher meta]
- collection 1.17.0
- convert 3.1.1 [typed_data]
- coverage 1.6.3 [args logging package_config path source_maps stack_trace vm_service]
- crypto 3.0.2 [typed_data]
- dart_style 2.3.0 [analyzer args path pub_semver source_span]
- desktop_webview_auth 0.0.11 [crypto flutter http flutter_web_plugins plugin_platform_interface]
- fake_async 1.3.1 [clock collection]
- ffi 2.0.1
- file 6.1.4 [meta path]
- firebase_auth_web 5.3.1 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_web 2.3.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_dynamic_links_platform_interface 0.2.4 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_ui_shared 1.1.0 [flutter]
- fixnum 1.1.0
- flutter_facebook_auth_platform_interface 3.2.0 [flutter plugin_platform_interface]
- flutter_facebook_auth_web 3.2.0 [flutter flutter_web_plugins js flutter_facebook_auth_platform_interface]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- frontend_server_client 3.2.0 [async path]
- fuchsia_remote_debug_protocol 0.0.0 [process vm_service file meta path platform]
- glob 2.1.1 [async collection file path string_scanner]
- google_sign_in_android 6.1.9 [flutter google_sign_in_platform_interface]
- google_sign_in_ios 5.6.1 [flutter google_sign_in_platform_interface]
- google_sign_in_platform_interface 2.4.0 [flutter plugin_platform_interface quiver]
- google_sign_in_web 0.10.2+1 [flutter flutter_web_plugins google_sign_in_platform_interface js]
- http_multi_server 3.2.1 [async]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- intl 0.17.0 [clock path]
- io 1.0.4 [meta path string_scanner]
- js 0.6.5 [meta]
- lints 2.0.1
- logging 1.1.1
- matcher 0.12.13 [meta stack_trace]
- material_color_utilities 0.2.0
- meta 1.8.0
- mime 1.0.4
- node_preamble 2.0.2
- package_config 2.1.0 [path]
- path 1.8.2
- path_drawing 1.0.1 [vector_math meta path_parsing flutter]
- path_parsing 1.0.1 [vector_math meta]
- path_provider 2.0.14 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows]
- path_provider_android 2.0.25 [flutter path_provider_platform_interface]
- path_provider_foundation 2.2.2 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.10 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.0.6 [flutter platform plugin_platform_interface]
- path_provider_windows 2.1.5 [ffi flutter path path_provider_platform_interface win32]
- petitparser 5.1.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.4 [meta]
- pool 1.5.1 [async stack_trace]
- process 4.2.4 [file path platform]
- pub_semver 2.1.3 [collection meta]
- quiver 3.2.1 [matcher]
- shelf 1.4.0 [async collection http_parser path stack_trace stream_channel]
- shelf_packages_handler 3.0.1 [path shelf shelf_static]
- shelf_static 1.1.1 [convert http_parser mime path shelf]
- shelf_web_socket 1.0.3 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_gen 1.2.7 [analyzer async build dart_style glob path source_span yaml]
- source_map_stack_trace 2.1.1 [path source_maps stack_trace]
- source_maps 0.10.12 [source_span]
- source_span 1.9.1 [collection path term_glyph]
- stack_trace 1.11.0 [path]
- stream_channel 2.1.1 [async]
- string_scanner 1.2.0 [source_span]
- sync_http 0.3.1
- term_glyph 1.2.1
- test_api 0.4.16 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- test_core 0.4.20 [analyzer async args boolean_selector collection coverage frontend_server_client glob io meta package_config path pool source_map_stack_trace source_maps source_span stack_trace stream_channel vm_service yaml matcher test_api]
- typed_data 1.3.1 [collection]
- vector_math 2.1.4
- vm_service 9.4.0
- watcher 1.0.2 [async path]
- web_socket_channel 2.4.0 [async crypto stream_channel]
- webdriver 3.0.1 [archive matcher path stack_trace sync_http]
- webkit_inspection_protocol 1.2.0 [logging]
- win32 3.1.4 [ffi]
- xdg_directories 1.0.0 [meta path process]
- xml 6.2.2 [collection meta petitparser]
- yaml 3.1.1 [collection source_span string_scanner]

Duplicate of #45

This issue seems far from closed... I get 3 different, unhelpful error messages across iOS, Android and Web. Of these iOS is by far the worst and imo is an unacceptable UX, making the SignInScreen UI unusable:

The Android message is marginally better, simply showing the following in red tex:
'An internal error has occurred. [ INVALID_LOGIN_CREDENTIALS ]'
While Web simply provides the word 'Error' in red text, as noted at the start of this thread.

@Arik-AOS-dev I will investigate your findings, meanwhile you could use ErrorText.localizeError and ErrorText.localizePlatformError to provide your custom error message for specific firebase auth exceptions.

This is what I'm seeing on iOS.
@Arik-AOS-dev could you please make sure you are on the latest version of firebase_ui_auth and firebase_auth as well?

Thanks for the quick response. I was 1 version behind and have now upgraded to the latest firebase_ui_auth 1.10.0 (from 1.9.1) and firebase_auth 4.13.0 (from 4.12.0).  Unfortunately the issue remains unchanged for me.
I seem to recall I had the same issue when I went through the Firebase UI Auth codelab:
https://firebase.google.com/codelabs/firebase-auth-in-flutter-apps#0
I'll go back and investigate that.

Feel free to submit a new issue with reproduction steps if you have a consistent way to reproduce this behavior.

Thanks @lesnitsky. I have spent some considerable time investigating and reproducing my issue above and have created a new Issue #186 to document my finding and hopefully offer some hints about where the issue lies.


[Event Change] codeunit 427 ICInboxOutboxMgt -OnBeforeCreatePurchDocument

Could you change the event OnBeforeCreatePurchDocument to not directly exit, that the event OnAfterCreatePurchDocument is always called?
And could you add therefore two new parameters to the event OnBeforeCreatePurchDocument?
procedure CreatePurchDocument(ICInboxPurchHeader: Record "IC Inbox Purchase Header"; ReplacePostingDate: Boolean; PostingDate: Date)
var
    ICInboxPurchLine: Record "IC Inbox Purchase Line";
    PurchHeader: Record "Purchase Header";
    ICDocDim: Record "IC Document Dimension";
    ICDocDim2: Record "IC Document Dimension";
    HandledICInboxPurchHeader: Record "Handled IC Inbox Purch. Header";
    HandledICInboxPurchLine: Record "Handled IC Inbox Purch. Line";
    DimensionSetIDArr: array[10] of Integer;
    IsHandled: Boolean;
begin
    IsHandled := false;
    //+REQUEST
    //-OnBeforeCreatePurchDocument(ICInboxPurchHeader, ReplacePostingDate, PostingDate, IsHandled);
    //-if IsHandled then
    //-    exit;
    OnBeforeCreatePurchDocument(ICInboxPurchHeader, ReplacePostingDate, PostingDate, IsHandled, PurchHeader, HandledICInboxPurchHeader);
    if not IsHandled then begin
    //-REQUEST
        with ICInboxPurchHeader do begin
            PurchHeader.Init();
            PurchHeader."No." := '';

        ....

    end; //REQUEST

    OnAfterCreatePurchDocument(PurchHeader, ICInboxPurchHeader, HandledICInboxPurchHeader);
end;

[IntegrationEvent(false, false)]
local procedure OnBeforeCreatePurchDocument(ICInboxPurchaseHeader: Record "IC Inbox Purchase Header"; ReplacePostingDate: Boolean; PostingDate: Date; var IsHandled: Boolean; var PurchaseHeader: Record "Purchase Header"; var HandledICInboxPurchHeader: Record "Handled IC Inbox Purch. Header")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Architectural changes

Hi abahgat,
I saw your skeleton code and thought there were a few things that could make it a little more out of the box friendly.  Most of these things are small but in the end are more modular and dynamic.  If for any reason you don't like the changes just reject the pull request.  But if you do, I didn't want to take your work without improving it.
change list

Create a base class module for the BaseHandler
Categorize handler functionality into modules
Combine all routes and app in one file so that uri_for will have scope
Add Jinja2 and uri_for to jinja2 globals
In BaseHandler add template_name and template values for use in render_template
Set self.template_name and self.template_values before calling self.render_template
Refactor all templates to use uri_for('route_name')
Move models.py to models.user.py

Any input on this pull request? Would be interesting to see your feedback

I'm not sure what to add to the message above.  Would you like to know anything in particular?

Hi, thanks for your comments,
my first thought seeing this is that it'd be easier to follow if the change were organized in different commits (each addressing one point).
The main reason is that this project serves mostly a didactic purpose, so smaller, focused, changes would be easier to follow for new users.
I will take a closer look later today and get back at you.
Alessandro

Thank you. I'm learning to make my first Python web app on google cloud and just wondering which would be a good starting point to learn and develop. I appreciate your time.

I finally had some time to look at this change again and I definitely appreciate parts of it while I am conflicted on others.
Specifically, I think breaking the application in a few smaller files would make it easier to work with (but possibly less effective as a companion to the original walkthrough post.
Similarly, using jinja and its uri_for is a good addition for a production application, but introduces a non-webapp2 dependency on a project that was 100% focused on a specific webapp2 feature.
Overall, I'd rather avoid merging in changes that mix moves/renames/refactors (e.g. splitting handlers in multiple files) with functionality changes (e.g. introducing jinja2 support) in a single pull request, but rather have separate commits that address one point each (ideally, each entry in the "change list" section above deserves its own commit, as I see it).
My gut feeling would be that there might be value in merging the refactor changes first and consider the jinja2 change separately, but I'm curious to hear your opinion as well.
I'll also post a couple more comments regarding code formatting and specific points inline.


[BUG-UI/UX] required/optional differentiation forFields are not represented in the dataset settings

Describe the bug

required/optional Fields are not represented in the dataset settings
To Reproduce
Steps to reproduce the behavior:

Go to the settings

Expected behavior

Screenshots

Environment (please complete the following information):

OS [e.g. iOS]:
Browser [e.g. chrome, safari]:
Argilla Version [e.g. 1.0.0]:
ElasticSearch Version [e.g. 7.10.2]:
Docker Image (optional) [e.g. argilla:v1.0.0]:

Additional context

@davidberenstein1957 I think this is a feature request rather than a bug.
The fix developed by @damianpumar looks good, but my feeling is it needs some more design from @Amelie-V or @leiyre. Right now the toggle is read-only although it looks exactly the same as other toggles, so the feeling is that something isn't working right as the toggle doesn't respond to my actions.
I would propose to wait for a design on how this information should be displayed to the user before merging. Any thoughts or ideas welcome 😄

@davidberenstein1957 I think this is a feature request rather than a bug. The fix developed by @damianpumar looks good, but my feeling is it needs some more design from @Amelie-V or @leiyre. Right now the toggle is read-only although it looks exactly the same as other toggles, so the feeling is that something isn't working right as the toggle doesn't respond to my actions. I would propose to wait for a design on how this information should be displayed to the user before merging. Any thoughts or ideas welcome 😄

Yes, after syncing with @damianpumar, I realized it was not a bug but something that had not been implemented on purpose. Let's wait for the 2.1.0 release and potentially review and tackle the solution along with https://github.com/argilla-io/argilla/issues/5393


feat(provisioning): remove provisioning service

CD-PR: 88
Refs: CPLP-2641

in veracode.yaml there are references to Provisioning.Service that also need to be removed.

@ntruchsess thanks for mentioning. removed it, found a few more. did a fulltext search on the project's filesystem


Custom line endings aren't working yet

I tried using the new cr/lf line ending as documented:
set_line_ending Fixy::Record::LINE_ENDING_CRLF
And.... no change to the line endings. Looking into the code a bit, the line ending seems to be held in an instance variable and accessed from a class method, which could explain the problem... and I'm not sure what the intention was, so I'm reporting it rather than trying to fix it. Thanks!

@stenzer Can you provide more context for the Record definitions you're using the line endings? Things seem to be working as expected in my uses.
Also if you generate a file (using Document#generate_to_file for example) and run file your_file.txt what're the line endings that are detected?


GtExternalProcessFailedToStart Error when creating or accessing a Python snippet on Windows

I am using GT v1.0.949 on Windows 11 machine. This is a screenshot of the error:

It happens when I try to create a new Python snippet or when I access an existent one in a saved Lepiter page.

I checked, and it also happens on Mac and Ubuntu.

There is a recent regression we’ve observed with this as well. The temporary solution is to install pyright-langserver manually(for instance by doing pip install pyright).
This is not the intended solution, but it fixed the immediate issue for me until a real fix is available.

pip install pyright doesn't work for me

Do you mean the command does not work or it doesn’t fix the bug for you?

the installation works (pip command) but still get the problem (I'm physically behind so I'll show it to you ^^)

It works here, guys! At least on my default Windows machine. Thanks a lot.

not on apple silicon for me.
It might by my mistake as I deleted a previous working image without closing properly the bridge.

Here is a fix: https://github.com/feenkcom/gt4lsp/commit/8bf63f71b8443bd2bf34cb085b69e531304814f1
Basically a new exception was introduced while the using code was resilient to failed process before, this fix restores the old behaviour.


Implementation of PasswordField custom widget

I know it is scheduled for 2.0 release, but since I needed this, I made the modification for the master code base.

👍


Download a profile picture asset

Download any picture from Bulka's Instagram and download it to use as a profile picture in the resume

Downloaded an asset: 3f44581a9eece0da1f825dfb244a1d0ed3204f64
Used the asset in index.html: 3f44581a9eece0da1f825dfb244a1d0ed3204f64


pytorch2caffe failed at add operation

I'm trying convert RefineDet to caffe model. RefineDet only contain regular CNN module(conv2d, convtranspose2d, maxpool, batchnorm).
https://github.com/luuuyi/RefineDet.PyTorch
However, pytorch2caffe failed at add operation as follow:

This add operation is from here
https://github.com/luuuyi/RefineDet.PyTorch/blob/0e4b24ce07245fcb8c48292326a731729cc5746a/layers/modules/l2norm.py#L20
Why pytorch2caffe failed at a simple operation?
Thanks for help!

I met same problem,did you solve it ?

met same problem, can you tell how to solve it, thank you


[mariner-baremetal] Add mariner-baremetal extension to index.json

This checklist is used to make sure that common guidelines for a pull request are followed.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

mariner-baremetal

@yonzhan @kairu-ms Hi, it's my first time publishing an extension. I am not sure how to figure out what exactly is making the Verify Extensions Index fail after looking at the pipeline error. The metadata I have in my commits to index.json seems to match against my published extension, but not sure why it is failing. Would appreciate some guidance, thank you.


fix:Typo in SeverJobException message

This patch fixes Typo in SeverJobException message
where one space was missing.
Signed-off-by: Vipin Anand<EMAIL_ADDRESS>

Thanks for this typo fix!  We do all PRs on top of the dev branch, not the master branch.  Can you please check out and up-to-date version of the dev branch and do a fresh PR with dev as the base?  I'm going to abandon this PR as I think it will be easier to just do a new one.


No such event: nerdtree syntax match hideBracketsInNerdTree

I setup vim-webdevicons last week on another machine and it is working ok. Today I setup my work machine and I cannot get it working. Both the same version of Fedora with latest patches  and I use the same vimrc on both. The only thing different is that I installed vim-webdevicons on different dates. I think maybe it is something to do with commit 203779db
Error detected while processing function <SNR>39_initialize..<SNR>39_setSyntax:
line    2:
E216: No such event: nerdtree syntax match hideBracketsInNerdTree "[\]|\[]*" contained conceal cchar=_ containedin=ALL
line    3:
E216: No such event: nerdtree set conceallevel=3
line    4:
E216: No such event: nerdtree set concealcursor=nvic
Press ENTER or type command to continue

Here is my vimrc.

    Plugin 'gmarik/Vundle.vim'

    Plugin 'bling/vim-airline'
    Plugin 'scrooloose/nerdtree'
    Plugin 'ryanoasis/vim-webdevicons'

call vundle#end()
filetype plugin indent on " Automatically detect file types. Required after bundles.
syntax on " enable syntax

autocmd! bufwritepost .vimrc source ~/.vimrc

All my plugins are up to date.
[hughest@argon: ~/.vim/bundle]$ for X in * ;do printf "$X\t"; (cd $X ; git rev-parse HEAD;); done
nerdtree	3b98a7fcae8f9fff356907171f0406ff8cd28921
vim-airline	f45ecdac15d99ed2354873a8b4d40432fd0a85a3
vim-webdevicons	5f4e194dc628f6bb16a23b64f595a42bf8bcad04
Vundle.vim	cfd3b2d388a8c2e9903d7a9d80a65539aabfe933

vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 13 2014 08:59:18)

If i set the following in my vimrc it works
let g:webdevicons_conceal_nerdtree_brackets = 0

Uh oh more conceal issues :disappointed:
Looks like you have a very similar version to me.
Can you check it was compiled with the conceal option?
vim --version | grep conceal

I will test out your config to see if I can replicate

I am on up to date Fedora 21
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 13 2014 08:59:18)
Included patches: 1-207, 209-475
Modified by<EMAIL_ADDRESS>Compiled by<EMAIL_ADDRESS>Huge version without GUI.  Features included (+) or not (-):
+acl             +farsi           +mouse_netterm   +syntax
+arabic          +file_in_path    +mouse_sgr       +tag_binary
+autocmd         +find_in_path    -mouse_sysmouse  +tag_old_static
-balloon_eval    +float           +mouse_urxvt     -tag_any_white
-browse          +folding         +mouse_xterm     -tcl
++builtin_terms  -footer          +multi_byte      +terminfo
+byte_offset     +fork()          +multi_lang      +termresponse
+cindent         +gettext         -mzscheme        +textobjects
-clientserver    -hangul_input    +netbeans_intg   +title
-clipboard       +iconv           +path_extra      -toolbar
+cmdline_compl   +insert_expand   +perl            +user_commands
+cmdline_hist    +jumplist        +persistent_undo +vertsplit
+cmdline_info    +keymap          +postscript      +virtualedit
+comments        +langmap         +printer         +visual
+conceal         +libcall         +profile         +visualextra
+cryptv          +linebreak       +python/dyn      +viminfo
+cscope          +lispindent      -python3         +vreplace
+cursorbind      +listcmds        +quickfix        +wildignore
+cursorshape     +localmap        +reltime         +wildmenu
+dialog_con      +lua/dyn         +rightleft       +windows
+diff            +menu            +ruby/dyn        +writebackup
+digraphs        +mksession       +scrollbind      -X11
-dnd             +modify_fname    +signs           -xfontset
-ebcdic          +mouse           +smartindent     -xim
+emacs_tags      -mouseshape      -sniff           -xsmp
+eval            +mouse_dec       +startuptime     -xterm_clipboard
+ex_extra        +mouse_gpm       +statusline      -xterm_save
+extra_search    -mouse_jsbterm   -sun_workshop    -xpm
   system vimrc file: "/etc/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/etc"
 f-b for $VIMRUNTIME: "/usr/share/vim/vim74"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -g -pipe -Wall -Werror=format-security -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--enable-new-dtags  -Wl,-z,relro  -L/usr/local/lib -Wl,--as-needed -o vim        -lm -lnsl  -lselinux  -lncurses -lacl -lattr -lgpm -ldl   -Wl,--enable-new-dtags  -fstack-protector  -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc

Thanks I will see if I can replicate and get back to you

This is weird. I did not patch the font but I am not getting the error messages you got.
This is my test in Fedora 21 (on VirtualBox):

Searching brought me to a possibly related issue: https://github.com/justinmk/vim-sneak/issues/36
Perhaps test with:
au filetype
vs
au FileType
to see if they give different output or if replacing the offending lines with the camelcase version has any effect.

I'm having exactly the same problem on Fedora 21 and latest Vim, on Neovim its working without issues

@timhughes can you try replacing filetype with FileType and see if that solves it for you? Or you can wait for https://github.com/ryanoasis/vim-webdevicons/milestones/v0.4.2
@nbicalcarata I will try to get #47 in soon thanks

Thanks , that fixed it for me too


Fix typo in 'Neue Funktionen' DE - Fehlerprotokoll

Description
Corrected articile -> ein Fehlerprotokoll

Same as #2604?

One gets merged in 2.2 and the other in 2.3

Unnecessary since new features from version 2.2 won't be shown in version 2.3?


Reversal algorithm for array rotation (GSSoC'21)

💥 Proposal
Reversal algorithm for array rotation
Let AB are the two parts of the input array where A = arr[0..d-1] and B = arr[d..n-1]. The idea of the algorithm is :
Reverse A to get ArB, where Ar is reverse of A.
Reverse B to get ArBr, where Br is reverse of B.
Reverse all to get (ArBr) r = BA.
Example :
Let the array be arr[] = [1, 2, 3, 4, 5, 6, 7], d =2 and n = 7
A = [1, 2] and B = [3, 4, 5, 6, 7]
Reverse A, we get ArB = [2, 1, 3, 4, 5, 6, 7]
Reverse B, we get ArBr = [2, 1, 7, 6, 5, 4, 3]
Reverse all, we get (ArBr)r = [3, 4, 5, 6, 7, 1,2]
Have you read the Contributing Guidelines on Pull Requests?
Yes

Hello, I am a GSSoC Participant and would like to work on this issue in C++.
Can you please assign this to me @C0DE-RUNNER @born-2learn ?

The cpp file is not getting uploaded ..SHould I just type the code here @HarshCasper?
(Sorry for being late, I am having exams right now)

@C0DE-RUNNER @HarshCasper in which folder should I add my cpp file?


Proposal: MRTK v2 Packaging Plan

The following images describe the proposed packaging plan for MRTK v2.
We would love to hear your feedback. Please feel free to post your comments!
Some key call outs:

Foundation packages

Maintained and supported by the Microsoft Mixed Reality Toolkit team.
Source will be checked in to this Mixed Reality Toolkit repository and will follow the contribution guidelines

Extension packages

Maintained and supported by their author(s)
Are made available to the Mixed Reality Toolkit packaging system via tags or similar discovery mechanism(s)
May, but need not, take a dependency on one or more Mixed Reality Toolkit components

Author(s) are responsible for declaring dependencies

Experimental packages

Support flighting prototype features, pre-release extensions, new ideas, etc. to the community

Love the categorization of packages!
Questions/thoughts
I think we should also provide some how to along with the design doc:

What's the guidance for building a package that's part of the foundation
How can a community member create an extension to MRTK? How to package, how to tag where should their code go?
How can Azure or other services integrate into MRTK?

Just so I am clear on the intent. Microsoft Mixed Reality team will own and manage the core of this repository. Non-team contributors will package thier code as Extenstions to the core/Foundation and will only be packaged as NuGet packages. Unity Package manager will not include Extensions.
Do you intend for the Extensions to be Assets in the Unity Asset Store?

Just so I am clear on the intent. Microsoft Mixed Reality team will own and manage the core of this repository. Non-team contributors will package thier code as Extenstions to the core/Foundation and will only be packaged as NuGet packages. Unity Package manager will not include Extensions.
Do you intend for the Extensions to be Assets in the Unity Asset Store?

@hridpath, Thanks for the questions!
The Microsoft Mixed Reality Toolkit team will be responsible for the support of the foundation packages built from this repository. Community members are welcome to contribute fixes / features for review and inclusion. Once accepted, the MRTK team will support the code / release updates.
Extensions can be packaged in any way that the author wishes. We are investigating NuGet as a system to help with discovery and dependency resolution. The Asset store remains a great distribution method, though automatic dependency resolution may be a more manual process for customers.
We also continue to investigate leveraging the Unity Package Manager and it's dependency resolution system.

I think we should also provide some how to along with the design doc:

@Yoyozilla, agreed! Additional guidance is forthcoming (how to, etc) as the plan solidifies.

This architecture is easy to understand!
If we want to develop the custom SDK for MRTK V2, we develop a Nuget package and distribute it?
Also, is there any reason to use both Nuget and Unity packages?
I think that "Nuget package" is easier to manage and develop the custom SDK :)

Simon brought up at shiproom that Nuget is sometimes restricted for universities or certain enterprises where they require the source. We need to investigate distributing the source as well.

Essentially, we should not restrict to one deployment / packaging plan, ensuring we have the most coverage to support all out target audiences:

NuGet for enterprise and switched on devs
Standalone asset package (download from GitHub) for newbies, indies, etc
Aim for Asset store (as another delivery option)
Source access from GitHub (and instructions for how to consume) for advanced devs.

I agree with @SimonDarksideJ with one caveat. It will be challenging for customers to manage the dependency graph if using multiple packaging systems. We will need to document the recommendation that you select one path for acquiring packages.
I plan on releasing both the core-only and complete foundation "starter" packages on both GitHub and the Unity Asset store (and package manager when available) and fully expect some extensions may only be released via the Asset store (depending on the author's preferences).
Please continue to comment here and help us evolve the MRTK packaging plan and implementation!

@TakahiroMiyaura,

This architecture is easy to understand!

Thank you!

If we want to develop the custom SDK for MRTK V2, we develop a Nuget package and distribute it?

If you package your extension vial NuGet, there will be a mechanism for tagging it so that the MRTK automatically detects and offers it via the package management UI that will be written.

Also, is there any reason to use both Nuget and Unity packages?

The Unity Package Manager is a great new feature of Unity that we anticipate many customers utilizing.  We will likely start with NuGet (plus the other mechanisms @SimonDarksideJ mentioned above) and as the team learns more, branch out to other systems as requested by customers.
As always, feedback and contributions are very welcome!

I love the idea of using NuGet to handle package dependency, the only word of caution I have is to consider the NuGet version/ dev environments that don't automatically/silently install the dependencies (looking at you VS for Mac).

Thank you for the info @LanceMcCarthy! We will keep an eye out for that.

We have approved this proposal. Thanks for all of your feedback. Feel free to keep the feedback coming.

Is the path for NuGet mainly for native UWP developers using Visual Studio or do you foresee that being used by Unity developers as well?  I didn't know of any nuget integrations into Unity and just would use nuget to download the dll and drop it into the project, but looks like there is a nuget plugin for Unity now so perhaps it is even easier?
I think the easiest path for plug-in play within Unity would be the asset store but the most flexible path for those who like to extend the source (and contribute to it) would be Unity's package manager using local packages.  I don't think it is officially supported yet but I saw a video on how to do this in 2018.3 and it could be a simple way for github users to pull in specific folders they needed. You'd have a central checkout of the github project and you'd be able to pull in folders from MRTK into your various projects using the Package Manager. It is very similar to the symlink setup.   I was actually expecting/hoping for this route when I checked out MRTK today, but I didn't realize local packages weren't officially released yet.  Ref: https://forum.unity.com/threads/local-packages.637630/   Perhaps something to keep in mind for the roadmap?

Unity Package support can be as simple as adding a package.json to the file directly you would like to allow users to import into their project.  I just added that to MixedRealityToolkit.Exensions/Webrtc and was able to bring in that folder and its sub directories source files into my project using Unity 2018.3 and Unity 2019.1.  Details here:
http://blog.ickydime.com/2019/03/custom-local-packages-unity-package.html
It would be great if its eventually hosted somewhere and versions are maintained but for external contributors or those who just want to pull in the latest source code then this simple solution could be a great way to allow users to import code.


Sharing PCIe Wi-Fi Adapter with WSL2

Feature Request: Sharing PCIe Wi-Fi Adapter with WSL2
Is your feature request related to a problem? Please describe.
Yes. Currently, WSL2 relies on Hyper-V virtual switches, which only support USB network adapters. This prevents users from directly sharing a PCIe Wi-Fi adapter with WSL2, limiting flexibility and potentially hindering performance compared to USB alternatives.
Describe the solution you'd like
We propose enabling the ability to share a PCIe Wi-Fi adapter directly with the WSL2 virtual machine. This would grant users access to the adapter's features within WSL2 and potentially improve network performance.
Describe alternatives you've considered
The current workaround involves configuring the Hyper-V virtual switch to utilize an external USB Wi-Fi adapter. However, this method requires manual configuration and might need to be repeated frequently.
Additional context

Sharing PCIe Wi-Fi adapters would benefit users by:

Offering access to features potentially unavailable on USB adapters (e.g., Wi-Fi 6).
Providing potentially improved performance compared to USB adapters.
Simplifying the setup process compared to using external USB adapters.

We encourage exploring two possible solutions:

Kernel-level passthrough of PCIe Wi-Fi adapters to the WSL2 virtual machine.
User-space tunneling solutions to bridge the network connection between Windows and WSL2.

This feature request aims to bring attention to this limitation and explore potential solutions for future development.

/feature

/feature


Next Release

These PRs are currently pending on being released:

#17
#19

Lets update this when PRs get merged in.

@spencerwmiles When you do make the next version, use this (and any other PRs you merged in) as a reference to update the changelog. Also, be sure to update the CHANGELOG.md file too, as that's out of date.

Sorry I dropped the ball a bit with the PRs and merges. Everything should be included in V1.1.0


failover bug

when I set the failover is true,I shutdown down the server,then the other server can't execute the failover's item.I found someone also find this problem in 2.1.5 version,  this is the url  https://blog.csdn.net/adi851270440/article/details/80498882   ,someone find the sourcecode bug,please check it;

两台机器调试了下，确实是bug

我也遇到了这个问题，现在解决了吗

Duplicated to #669


Webhooks setup and server

Description
Add the resources and logic to set up a webhook server running alongside the controller, as well as the reconciliation of the webhook configuration
Verification steps
In order to verify these changes, the controller must run in-cluster and be exposed via an Ingress.

Run the local-setupmake local-setup

Build the controller image# Build the image
make docker-build
# Load it into the cluster
kind load docker-image controller:latest --name mctc-control-plane  --nodes mctc-control-plane-control-plane

Deploy the controller. Prior to that, ensure that the manager includes the required environment variables to runmake deploy

Deploy the secret with the kubeconfig for the control cluster
Verify the controller Ingress is createdkubectl get ingress mctc-ingress-mctc -n multi-cluster-traffic-controller-system

kind: Ingress
apiVersion: networking.k8s.io/v1
metadata:
  name: mctc-ingress-mctc
  namespace: multi-cluster-traffic-controller-system
  annotations:
    mctc-component: webhook
spec:
  ingressClassName: nginx
  tls:
    - hosts:
        - cwxkxzmah79fqyecvplwzf.sf.hcpapps.net
      secretName: cwxkxzmah79fqyecvplwzf.sf.hcpapps.net
  rules:
    - host: host.whatever.com
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: mctc-mctc-webhooks
                port:
                  number: 8082
    - host: cwxkxzmah79fqyecvplwzf.sf.hcpapps.net
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: mctc-mctc-webhooks
                port:
                  number: 8082
status:
  loadBalancer:
    ingress:
      - ip: <IP_ADDRESS>

Verify that the webhook configuration is reconciled kubectl get mutatingwebhookconfiguration mctc -o yaml

Ensure it references the webhook server and the caClient field is set// ...
clientConfig:
  caBundle: ...
  url: https://cwxkxzmah79fqyecvplwzf.sf.hcpapps.net/ingress
// ...

Verify that the webhook handler is reached successfully by making a change in the webhook ingress. For example, adding an annotationkubectl edit ingress mctc-ingress-mctc -n multi-cluster-traffic-controller-system

The Pod logs should append level=info msg="WEBHOOK HANDLER", and the update should be performed correctly
In order to verify independently that the webhook creates successfully the new DNSRecord and Certificate, disable the traffic controller

Comment out the code that starts up the controller at main.go
Follow step 2 to build the image
Delete the controller Pod so that a new Pod with the new image is created

Create the sample service so that the creation of the Ingress triggers the webhookkubectl apply -f samples/echo-service/echo.yaml -n default

Verify that the DNSRecord and the Certificate are createdkubectl get dnsrecords s6yxqyfx3awf53iasbk7a6.sf.hcpapps.net -n argocd
NAME                                    AGE
s6yxqyfx3awf53iasbk7a6.sf.hcpapps.net   117m

kubectl get certificate s6yxqyfx3awf53iasbk7a6.sf.hcpapps.net -n argocd
NAME                                    READY   SECRET                                  AGE
s6yxqyfx3awf53iasbk7a6.sf.hcpapps.net   True    s6yxqyfx3awf53iasbk7a6.sf.hcpapps.net   118m

Verify that the Ingress is mutatedkubectl get ingress echo -n default -o yaml

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    kuadrant.io/managed-hosts: s6yxqyfx3awf53iasbk7a6.sf.hcpapps.net
  creationTimestamp: "2023-01-25T10:07:15Z"
  generation: 1
  name: echo
  namespace: default
  resourceVersion: "8576"
  uid: caee7c05-cefe-43d6-bd67-6cd56a3033cd
spec:
  ingressClassName: nginx
  rules:
  - http:
      paths:
      - backend:
          service:
            name: echo
            port:
              number: 80
        path: /
        pathType: Prefix
  - host: s6yxqyfx3awf53iasbk7a6.sf.hcpapps.net
    http:
      paths:
      - backend:
          service:
            name: echo
            port:
              number: 80
        path: /
        pathType: Prefix
  tls:
  - hosts:
    - s6yxqyfx3awf53iasbk7a6.sf.hcpapps.net
    secretName: s6yxqyfx3awf53iasbk7a6.sf.hcpapps.net
status:
  loadBalancer:
    ingress:
    - ip: <IP_ADDRESS>

Some cmds I used to get the controller running locally:
# Patch imagepullpolicy
kubectl -n multi-cluster-traffic-controller-system patch deployment mctc-controller-manager -p '{"spec": {"template": {"spec":{"containers":[{"name":"manager","imagePullPolicy":"Never"}]}}}}' -n multi-cluster-traffic-controller-system

# Create Configmap from file
kubectl -n multi-cluster-traffic-controller-system create configmap controller-config $(for envvar in $(cat controller-config.env); do echo -n "--from-literal=$envvar ";done)

# Create Secret from file
kubectl -n multi-cluster-traffic-controller-system create secret generic aws-credentials $(for envvar in $(cat aws-credentials.env); do echo -n "--from-literal=$envvar ";done)

@sergioifg94 I'm getting an admission error when trying to create an ingress
admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: host "_" and path "/" is already defined in ingress multi-cluster-traffic-controller-system/mctc-ingress-mctc

The ingress yaml:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  labels:
    argocd.argoproj.io/instance: mctc-control-plane-echo-app
  name: echo
  namespace: echo-app
spec:
  rules:
    - host: ''
      http:
        paths:
          - backend:
              service:
                name: echo
                port:
                  number: 80
            path: /
            pathType: Prefix

@david-martin That's right, I forgot to update the verification steps after a recent change. The reason for that is that I initially didn't use the empty host for the webhooks ingress, and the Nginx webhook validates that the empty host can only be used once. I think for now you can use any different host name for the echo ingress

@philbrookes @maleck13 I think we can land this now, if you can ack again.
@sergioifg94 Have you captured all followups?
I'm thinking:

webhook creation for each new cluster
what's the extent of potential problems with ingress admission hooks preventing creation e.g. wildcards not allowed by nginx

@david-martin Thank you, I pushed as a new commit the changes for the webhook creation for each new cluster. I think it all makes more sense now.
I also created that separate issue to investigate the conflict around the wildcards (#25), and I'll create a separate one to investigate potential conflicts with other traffic controllers


MPL drawer to match IQX with IBM design colors

Summary
Current implementation:

Details and comments

@jaygambetta @mtreinish please take a look when you have the chance.  The style is as close to the IQX as I can get, and the color scheme is the suggested one using the "Light UI Palette" 7 color from the IBM colors.  The IQX people have yet to adopt this color scheme.

Ok, let me check a custom multiqubit gate.
Also,  I can also change the test to fail in isx only. However, if there are issues on other platforms, I cant easily fix it.
I agree the image tests are more pain than anything else. For some time now we were using images that had barrier bugs in them but since they were the reference images we never knew. So what is the point?

Ok, let me check a custom multiqubit gate.
Also, I can also change the test to fail in isx only. However, if there are issues on other platforms, I cant easily fix it.

Let's just change the skip message to say it's unreliable on different systems and leave it as an unconditional skip. I'll work on a PR to remove them and maybe try to come up with an alternative later (but probably just remove them).

Ok, custom multi-q gates, and unitaries are now colored the same as other non-grouped gates (e.g. swap, cu3 etc).


cannot require "github.com/celestiaorg/celestia-node v0.13.4" in go project

Celestia Node version
v0.13.4
OS
osx
Install tools
go mod
Others
No response
Steps to reproduce it

add "github.com/celestiaorg/celestia-node v0.13.4" to go.mod

use "go mod tidy"

the error below will show

go: code.****.io/****/commands imports
	github.com/celestiaorg/celestia-node/api/rpc/client imports
	github.com/celestiaorg/celestia-node/nodebuilder/blob imports
	github.com/celestiaorg/celestia-node/blob imports
	github.com/tendermint/tendermint/proto/tendermint/types: reading github.com/tendermint/tendermint/go.mod at revision v0.34.29: unknown revision v0.34.29

Expected result
no error with "go mod tidy"
Actual result
go: code..io//commands imports
github.com/celestiaorg/celestia-node/api/rpc/client imports
github.com/celestiaorg/celestia-node/nodebuilder/blob imports
github.com/celestiaorg/celestia-node/blob imports
github.com/tendermint/tendermint/proto/tendermint/types: reading github.com/tendermint/tendermint/go.mod at revision v0.34.29: unknown revision v0.34.29
Relevant log output
go: code.****.io/****/commands imports
	github.com/celestiaorg/celestia-node/api/rpc/client imports
	github.com/celestiaorg/celestia-node/nodebuilder/blob imports
	github.com/celestiaorg/celestia-node/blob imports
	github.com/tendermint/tendermint/proto/tendermint/types: reading github.com/tendermint/tendermint/go.mod at revision v0.34.29: unknown revision v0.34.29

Notes
When I review "https://pkg.go.dev/github.com/tendermint/tendermint?tab=versions", I fount there are no version "v0.34.29"

hi @phpxin
i know it's less than ideal, but you need set up some replaces in your go.mod to import client directly easily, see https://github.com/celestiaorg/celestia-node/blob/main/go.mod#L343
Or for an example of using client directly https://github.com/ramin/celestia-rpc-base

@phpxin let me know if you have further issues i can help you get set up


[Feature Request] Ability to tie images to graph x-axis

Description
Currently the slider for images is decoupled from the x-axis for graphs.
It would be great to just slide over the graphs and get the corresponding images to update as well.

That's a great suggestion, I'll take a look if this is possible.


[PDB-1427] Default date formats in dashboard and PIR are not same

added date format with and HH:mm:ss.S
added method which return all available date formats
removed some dublicate date format

@tkafalas, @rmansoor, @akhayrutdinov  Could you review it?


How to create own App folder like WhatsApp and store files in it.

I have gone through the demo app code, all works nicely, but how to create own App folder in internal storage like WhatsApp does to store app files like local DB backup, for Android 11?
Tried storing files there but it is getting saved in Downloads folder. Using Intent it only opens Downloads.

this is my problem too


Required and optional flow definition inputs

Can the flow definition include whether a particular input is required or optional. This is useful in UIs for whether particular inputs need to be set or not.

PR #442  addresses this issue - inputs and outputs can now be marked as optional in the defined_xxx() methods. To test if an optional input is supplied, use ctx.has_dataset(my_dataset). If an optional output is not required, the model doesn't need to output it. After a model completes, the runtime checks all the non-optional outputs have been provided, but it is fine if optional ones are missing.
Optional inputs and outputs can also be used in flows, either as flow inputs / outputs or to pass between models in the flow.

Merged PR #442


Finish "Getting set-up" in  guide-es.md

Translate "What are Haskell, GHC and Cabal" and "Getting set-up" to Spanish,
Finish "Getting set-up"
Improve and fix some words, expressions, commas and accents.

@oscarfelipe this has merge conflicts, once the conflicts are cleared up is it fair to say this is good to go?

@bitemyapp that is right Chris

@bitemyapp wait a second, I better send you a version that includes the last changes


ERR_UNSUPPORTED_ESM_URL_SCHEME on Windows when running migration

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.
When trying to run a migration on Windows, I encountered the problem, that the path to the migrationfolder, which worked on Linux before, was not convertet properly. This results in the error 'ERR_UNSUPPORTED_ESM_URL_SCHEME'.
Here is the diff that solved my problem:
diff --git a/node_modules/kysely/dist/esm/migration/file-migration-provider.js b/node_modules/kysely/dist/esm/migration/file-migration-provider.js
index 1b1fb9f..ea7da02 100644
--- a/node_modules/kysely/dist/esm/migration/file-migration-provider.js
+++ b/node_modules/kysely/dist/esm/migration/file-migration-provider.js
@@ -30,7 +30,7 @@ export class FileMigrationProvider {
                 fileName.endsWith('.mjs') ||
                 (fileName.endsWith('.mts') && !fileName.endsWith('.d.mts'))) {
                 const migration = await import(
-                /* webpackIgnore: true */ this.#props.path.join(this.#props.migrationFolder, fileName));
+                    /* webpackIgnore: true */ new URL("file://" + this.#props.path.join(this.#props.migrationFolder, fileName)));
                 const migrationKey = fileName.substring(0, fileName.lastIndexOf('.'));
                 // Handle esModuleInterop export's `default` prop...
                 if (isMigration(migration?.default)) {

This issue body was partially generated by patch-package.

This doesn't work on macos or linux. Unfortunately the FileMigrationProvider doesn't work on windows. It's only about 20 lines of code though, so my suggestion is that you create your own MigrationProvider for the time being.


failing url check. Need

According to https://github.com/buildtesters/buildtest/runs/6903580431?check_suite_focus=true i am getting failure on this url https://www.hpcwire.com/2019/01/17/pfizer-hpc-engineer-aims-to-automate-software-stack-testing/
It would be nice if there was extra output to explain why these url are breaking. I know this urlchecker does work on most part and i can ignore this from list.

I don't want to use force_pass : true though i do want the action to pass.
I have not tried verbose: true but does this provide the detail for debugging.

@shahzebsiddiqui I think we could add the exception type - for the mean time what I usually do:
import requests
requests.get("https://www.hpcwire.com/2019/01/17/pfizer-hpc-engineer-aims-to-automate-software-stack-testing/")
<Response [403]>

403 is Forbidden, so I'm guessing they forbid automated scraping not from a browser. In the library here we attempt to add a non obvious user agent, but if it failed still I'd ping someone there to ask, and see if there is a way we can get around it. But actually just manually testing, this works:
 [7]: headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like G
   ...: ecko) Chrome/39.0.2171.95 Safari/537.36'}
   ...:

In [8]: r=requests.get('https://www.hpcwire.com/2019/01/17/pfizer-hpc-engineer-aims-to-automate-software-stack-test
   ...: ing/', headers=headers)

In [9]: r
Out[9]: <Response [200]>

so I'm going to label this as a bug.


Disallow parse_ini_file parsing so that the config doesn't get overwritt...

This will not convert the config values and take them as is.
By default the parse_ini_file reads the configuration and parse them using the defined variables.

Thank you for reaching out to us.
I have examined your request very closely, and I realized that If you define a constant as an ini value before running parse_ini_file(), it will be integrated into the results.
Only ini values are evaluated. This is standard behavior of the parse_ini_file(). You can view an example for the same at : http://php.net/manual/en/function.parse-ini-file.php
While I agree with your example, the SDK has been available with this standard behavior from the beginning and other merchants may have used this behavior to their advantage or coded around it at their convenience.
At the same time the SDK is open source and you can modify it for your convenience, but I am afraid we cannot go ahead and merge this into our SDK code.
If you have any further questions please reach out to us.


Change current filename code for S3

The current code uses only millisecond timestamps to name file. So, if any two users finishes the survey at the same time their file will be overwritten. Create a one-way hash from username and add it to filename.

Liying, try to see if you can solve this.


What happened to the project?

I see it is not actively maintained. Did ClickHouse meet any limitations?

In short:

the latency for queries like "show me the PMM home dashboard"  was too high;
we looked into adding our own caching layer or using something like  Trickster;
in the process, we discovered VictoriaMetrics and liked it;
and PMM migrated to use it.

VM does not support downsampling yet, but that's planned.
That repository probably should be archived. /cc @atymchuk @shoffman-percona


Don't fail setting errors if response.headers is not set

Coverage remained the same at 93.746% when pulling 0094a40c911d57efa0eda490b1fd38ffbbb32407 on eatonphil:catch-errors-conservatively into b27cf2f68d428c78b6f1a76f1a135eb00396f924 on linode:master.

thanks!


Avoid allocations for Unicode data tries

What does the pull request do?
This PR completely avoids allocations for Unicode data tries on .NET 7+, removing 195 kB of always allocated managed memory.
How was the solution implemented (if it's not obvious)?
The trie's data is now a property returning ReadOnlySpan<uint> instead of ReadOnlySpan<byte>, that's used directly instead of copying the bytes to a runtime uint[].
Starting with .NET 7 and Roslyn 17.5, this syntax makes the compiler use RuntimeHelpers.CreateSpan, which references the data embedded inside the assembly directly on little-endian systems, without having to allocate or copy anything!
(For .NET Standard, the compiler falls back to an array.)
Performance
I expected better memory usage, but it turns out we also get some performance improvement. With these changes, the JIT is able to inline some constants from the Unicode data directly, generating better code.
Before:

Method
CodepointValue
Mean
Error
StdDev
Allocated

GetGeneralCategory
65
0.4334 ns
0.0118 ns
0.0110 ns
-

GetGeneralCategory
4660
0.4076 ns
0.0215 ns
0.0201 ns
-

After:

Method
CodepointValue
Mean
Error
StdDev
Allocated

GetGeneralCategory
65
0.2274 ns
0.0101 ns
0.0089 ns
-

GetGeneralCategory
4660
0.2292 ns
0.0056 ns
0.0050 ns
-

Starting with .NET 7 and Roslyn 17.5, this syntax makes the compiler use RuntimeHelpers.CreateSpan, which references the data embedded inside the assembly directly on little-endian systems, without having to allocate or copy anything!

I am pretty sure we expected old code to work exactly in this way, i.e. returning reference to the data inside of the assembly. I.e. for .NET 6 as well.
But I guess it was wrong.

I am pretty sure we expected old code to work exactly in this way, i.e. returning reference to the data inside of the assembly. I.e. for .NET 6 as well.
But I guess it was wrong.

You were right, it's been working for a while with ReadOnlySpan<byte>, but the old code then copied that to a runtime uint[], so we still had allocations.
Supporting other primitive types than byte with RuntimeHelpers.CreateSpan is much more recent: https://github.com/dotnet/roslyn/pull/61414


HTTP redirects are broken

:follow_redirects will not be picked up from process_options/1 or the default option from the application env.
Also the semantics of HTTP redirects are not followed, e.g. 303 should be a GET redirect, HTTPotion uses the same HTTP method.

Please make a pull request that changes options[:follow_redirects] to args[:follow_redirects] and adds the missing semantics :)

I don't use this library anymore. It's up to you if you want to fix the issue or leave it as is.

The first part has been fixed in #101.

Hi, how is this going?
do you need any help this this Issue?
can you guide me to fix it?

@arturictus you can add the 303 semantics to the if response_ok(response) && is_redirect(response) && args[:follow_redirects] block :)
also look into making redirects work with async


Add a DB::execute($query) to execute unprepared queries

In some DMBS DDL statements (like CREATE TRIGGER in MySQL) needs to be run unprepared, as shown in issue https://github.com/laravel/framework/issues/53.

Very helpful here!


Initial commit for lib_enum (WIP)

Work-in-progress enumerable library leveraging delegates, which are upcoming in later versions of kOS.
PR may need docs revision once the feature is actually released, but wanted to throw it up here for review. Don't merge! :)

Wrote docs, pasted here since it's a bit of a PITA to review in the PR interface.
// This file is distributed under the terms of the MIT license, (c) the KSLib team
lib_enum
lib_enum.ks provides a set of functions for manipulating lists using the new delegates syntax introduced in kOS version 0.18.3. It allows you to transform and execute on lists by passing in a delegate function, and is designed to contain all the core components of an enumerable library.

function
arguments
return type
description

enum_all
elements, match_fn@
bool
Check if all elements return true when passed to the delegate function

enum_any
elements, match_fn@
bool
Check if any elements return true when passed to the delegate function

enum_count
elements, match_fn@
integer
Count how many elements return true when passed to the delegate function

enum_each
elements, operation_fn@

Call the delegate function with each element of the list as an argument

enum_each_slice
elements, size, operation_fn@

Call the delegate function with fixed-size chunks of the list passed as an argument

enum_each_with_index
elements, operation_fn@

Call the delegate function with each element and its index passed as arguments

enum_find
elements, match_fn@
element
Return the first item in the list for which the delegate returns true

enum_find_index
elements, match_fn@
integer
Return the index of the first item in the list for which the delegate returns true

enum_group_by
elements, transform_fn@
Lexicon
Return a lexicon that maps the return values of the delegate to each element in the list

enum_map
elements, transform_fn@
List
Return a new list with the return values of the delegate called with each element

enum_map_with_index
elements, transform_fn@
List
Return a new list with the return values of the delegate called with each element and index

enum_max
elements
element
Return the largest value in the list

enum_min
elements
element
Return the smallest value in the list

enum_partition
elements, match_fn@
List(List, List)
Return a list of lists, splitting the original list by the delegate's true/false result

enum_reduce
elements, value, reduce_fn@
final value
Combine all the values of a list via binary operations, seeded with the starting value

enum_reject
elements, match_fn@
List
Return a new list with all items for which the delegate returns false

enum_reverse
elements
List
Return a copy of the list with elements reversed

enum_select
elements, match_fn@
List
Return a new list with all items for which the delegate returns true

enum_sort
elements, compare_fn@
List
Return a new list with the original elements sorted by the delegate

enum_all
Parameters:

elements (list) -- the elements you wish to check
match_fn@ (delegate function) -- a function accepting a single element

Return Type:

bool

Returns true if the match_fn returns true for every element in the list. Otherwise, returns false.
Example:
function is_even { parameter n. return mod(n,2) = 0. }
enum_all(list(2,4,5), is_even@) => false
enum_all(list(2,4,6), is_even@) => true

enum_any
Parameters:

elements (list) -- the elements you wish to check
match_fn@ (delegate function) -- a function accepting a single element

Return Type:

bool

Returns true if the match_fn returns true for any element in the list. Otherwise, returns false.
Example:
function is_even { parameter n. return mod(n,2) = 0. }
enum_any(list(1,3,5), is_even@) => false
enum_any(list(1,3,6), is_even@) => true

enum_count
Parameters:

elements (list) -- the elements you wish to check
match_fn@ (delegate function) -- a function accepting a single element

Return Type:

integer

Calls the match_fn with each element in the list, and returns the number of times the result was true.
Example:
function is_even { parameter n. return mod(n,2) = 0. }
enum_count(list(1,2,3,4,5), is_even@) => 2

enum_each
Parameters:

elements (list) -- the elements you wish to enumerate over
operation_fn@ (delegate function) -- a function accepting a single element

Calls the operation_fn for every element in the elements list.
Example:
function notify { parameter n. print n. }
enum_each(list(1,2,3), notify@)
=> 1
=> 2
=> 3

enum_each_slice
Parameters:

elements (list) -- the elements you wish to enumerate over
size (integer) -- the size of list "chunks" to be passed to the operation_fn
operation_fn@ (delegate function) -- a function accepting a list of elements

Calls the operation_fn with chunks of the element list, based on the size parameter. When the elements list does not divide neatly, a smaller chunk will be used at the end. For example, if the elements list is list(1,2,3), and the size is 2, enum_each_slice will call operation_fn with list(1,2), and then with list(3).
Example:
function notify { parameter n. print n. }
enum_each_slice(list(1,2,3,4,5), 2, notify@)
=> list(1,2)
=> list(3,4)
=> list(5)

enum_each_with_index
Parameters:

elements (list) -- the elements you wish to enumerate over
operation_fn@ (delegate function) -- a function accepting an element, and an index

Calls the operation_fn for every element in the elements list, passing in the element's index in the list as a second argument. Note: The index passed in to the operation_fn begins at 1
Example:
function notify { parameter s, i. print i + ": " + s. }
enum_each_with_index(list("foo","bar","baz"), notify@)
=> 1: foo
=> 2: bar
=> 3: baz

enum_find
Parameters:

elements (list) -- the elements you wish to search
match_fn@ (delegate function) -- a function accepting a single element

Return Type:

element

Returns the first element in the list for which match_fn returns true.
Example:
function is_even { parameter n. return mod(n,2) = 0. }
enum_find(list(1,2,3,4,5), is_even@) => 2

enum_find_index
Parameters:

elements (list) -- the elements you wish to search
match_fn@ (delegate function) -- a function accepting a single element

Return Type:

integer

Returns the index of the first element in the list for which match_fn returns true. If no element matches, this function returns -1.
Example:
function is_even { parameter n. return mod(n,2) = 0. }
enum_find_index(list(1,2,3,4,5), is_even@) => 1

enum_group_by
Parameters:

elements (list) -- the elements you wish to group
transform_fn@ (delegate function) -- a function accepting a single element

Return Type:

Lexicon

Returns a Lexicon with keys matching the return values of the transform_fn, with the lexicon values being a list of all elements that returned that value. This allows you to group the original elements list by arbitrary results of the transform function.
Example:
function even_or_odd { parameter n. if mod(n,2) = 0 return "even". return "odd". }
enum_group_by(list(1,2,3,4,5), even_or_odd@) => lexicon("odd" => list(1,3,5), "even" => list(2,4))

enum_map
Parameters:

elements (list) -- the elements you wish to transform
transform_fn@ (delegate function) -- a function accepting a single element

Return Type:

List

Returns a new list containing the results of applying the transform_fn to every element in the original list.
Example:
function even_or_odd { parameter n. if mod(n,2) = 0 return "even". return "odd". }
enum_map(list(1,2,3,4,5), even_or_odd@) => list("odd","even","odd","even","odd")

enum_map_with_index
Parameters:

elements (list) -- the elements you wish to transform
transform_fn@ (delegate function) -- a function accepting a single element

Return Type:

List

Returns a new list containing the results of applying the transform_fn to every element in the original list, with the index of each element passed as a second argument to the transform function.
Example:
function enumerate { parameter element, index. return index + ": " + element. }
enum_map_with_index(list("foo","bar","baz"), enumerate@). => list("1: foo", "2: bar", "3: baz")

enum_max
Parameters:

elements (list) -- the elements for which you want to find the largest value

Return Type:

element

Returns the largest value in the list of elements.
Example:
enum_max(list(3,7,2)) => 7

enum_min
Parameters:

elements (list) -- the elements for which you want to find the smallest value

Return Type:

element

Returns the smallest value in the list of elements.
Example:
enum_min(list(3,7,2)) => 2

enum_partition
Parameters:

elements (list) -- the elements you wish to partition
match_fn@ (delegate function) -- a function accepting a single element

Return Type:

List(List, List)

Returns a new list containing a list of elements for which the match_fn returned true, and a list of elements for which the match_fn returned false.
Example:
function is_even { parameter n. return mod(n,2) = 0. }
enum_partition(list(1,2,3,4,5), is_even@) => list(list(2,4), list(1,3,5))

enum_reduce
Parameters:

elements (list) -- the elements you wish to reduce
value (any) -- the starting value with which to reduce the list
reduce_fn@ (delegate function) -- a function accepting a reduction value and a list element

Return Type:

value

Allows you to combine a list of elements by calling the reduce_fn on each element, with the first argument to the reduce function being the current reduction value. On the first call to the reduce function, the starting value will be the second argument passed to enum_reduce.
Example:
function concat { parameter memo, string. return memo + string. }
enum_reduce(list("foo",'bar","baz"), "", concat@) => "foobarbaz"

function multiply { parameter memo, n. return memo * n. }
enum_reduce(list(1,2,3,4,5), 1, multiply@) => 120

enum_reject
Parameters:

elements (list) -- the elements you wish to match
match_fn@ (delegate function) -- a function accepting a single element

Return Type:

List

Returns a new list containing only the elements for which match_fn did not return true.
Example:
function is_even { parameter n. return mod(n,2) = 0. }
enum_reject(list(1,2,3,4,5), is_even@) => list(1,3,5)

enum_reverse
Parameters:

elements (list) -- the elements you wish to reverse

Return Type:

List

Returns a new list containing all the elements in reverse order.
Example:
enum_reverse(list(1,2,3,4,5)) => list(5,4,3,2,1)

enum_select
Parameters:

elements (list) -- the elements you wish to match
match_fn@ (delegate function) -- a function accepting a single element

Return Type:

List

Returns a new list containing only the elements for which match_fn did return true.
Example:
function is_even { parameter n. return mod(n,2) = 0. }
enum_select(list(1,2,3,4,5), is_even@) => list(2,4)

enum_sort
Parameters:

elements (list) -- the elements you wish to sort
compare_fn@ (delegate function) -- a function accepting two elements

Return Type:

List

Returns a new list containing the elements sorted according to the compare_fn. The compare_fn should accept two elements. If the first element belongs earlier in the list, the compare_fn should return a negative number. If the second element belongs earlier in the list, the value should be positive. If the values are equivalent, the compare_fn should return 0.
Note: enum_sort uses the quicksort algorithm to handle the actual sorting, relying on the Hoare partition scheme.
Example:
function compare_string_descending {
  parameter a, b. return b:length - a:length.
}
enum_sort(list("foo","foobarbaz", "foobar"), compare_string_descending@) => list("foobarbaz","foobar","foo")

introduced in kOS version 0.18.3

According to erendrake, the new version will be numbered 0.19.0, not 0.18.3

Whoops, missed that. Fixed :)

Per discussion, the library has been revised to support lists, stacks, and queues, and will return back a collection type that matches the input where appropriate.

Note: Needs to be revised pending KSP-KOS/KOS#1408 to leverage ISTYPE to distinguish Lists, Queues, Stacks.

Note: needs to be tested once KSP-KOS/KOS#1417 is merged. Last commit is anticipatory (using new lexicon syntax), but untested.

Fixed and working with current develop + KSP-KOS/KOS#1414 (for type check syntax). Once that's merged in, I'll run the test suite again, but I don't anticipate any further changes to the PR. :)


Docker Cluster on single server

Hi,
I'm traying to deploy A cluster with docker-compose and arangod.cfg files with 2 agency, 2 coordinator and  3 DB nodes.
I managed to deploy it with 1 agency and without SSL and authentication.
My issue is when I add the second agency the cluster is not working.
What am I missing the the configuration?
When I'm enable root password I get failed to login any ideas?
Also how can I enable TLS between the whole cluster?
I'm attaching my docker-compose file and example for arangod.cfg
version: '3.7'
services:
  agency1:
    image: arangodb:3.9
    hostname: 'arangodb-agency1'
    container_name: 'arangodb-agency1'
    networks:
      - arango_net
    environment:
      - ARANGO_NO_AUTH=1
    ports: ['5001:8529']
    volumes:
      - /home/ubuntu/docker_arangodb/config/arangod_agency1.conf:/etc/arangodb3/arangod.conf
      - /home/ubuntu/docker_arangodb/data/agency1:/var/lib/arangodb3
      - /home/ubuntu/docker_arangodb/data_app/agency1:/var/lib/arangodb3-apps
      - /home/ubuntu/docker_arangodb/certs:/etc/certs

  agency2:
    image: arangodb/arangodb
    hostname: 'arangodb-agency2'
    container_name: 'arangodb-agency2'
    networks:
      - arango_net
    environment:
        - ARANGO_NO_AUTH=1
    ports: ['5002:8529']
    volumes:
       - /home/ubuntu/docker_arangodb/config/arangod_agency2.conf:/etc/arangodb3/arangod.conf
       - /home/ubuntu/docker_arangodb/data/agency2:/var/lib/arangodb3
       - /home/ubuntu/docker_arangodb/data_app/agency2:/var/lib/arangodb3-apps
       - /home/ubuntu/docker_arangodb/certs:/etc/certs

  coordinator:
    image: arangodb:3.9
    hostname: 'arangodb-coordinator1'
    container_name: 'arangodb-coordinator1'
    networks:
      - arango_net
    environment:
      - ARANGO_NO_AUTH=1
    ports: ['7001:8529']
    volumes:
      - /home/ubuntu/docker_arangodb/config/arangod_coordinator1.conf:/etc/arangodb3/arangod.conf
      - /home/ubuntu/docker_arangodb/data/coordinator:/var/lib/arangodb3
      - /home/ubuntu/docker_arangodb/data_app/coordinator:/var/lib/arangodb3-apps
      - /home/ubuntu/docker_arangodb/certs:/etc/certs

  coordinator2:
    image: arangodb:3.9
    hostname: 'arangodb-coordinator2'
    container_name: 'arangodb-coordinator2'
    networks:
      - arango_net
    environment:
      - ARANGO_NO_AUTH=1
    ports: ['7002:8529']
    volumes:
      - /home/ubuntu/docker_arangodb/config/arangod_coordinator2.conf:/etc/arangodb3/arangod.conf
      - /home/ubuntu/docker_arangodb/data/coordinator2:/var/lib/arangodb3
      - /home/ubuntu/docker_arangodb/data_app/coordinator2:/var/lib/arangodb3-apps
      - /home/ubuntu/docker_arangodb/certs:/etc/certs

  db1:
    image: arangodb:3.9
    hostname: 'arangodb-db1'
    container_name: 'arangodb-db1'
    networks:
      - arango_net
    environment:
      - ARANGO_NO_AUTH=1
    ports: ['6001:8529']
    volumes:
      - /home/ubuntu/docker_arangodb/config/arangod_db.conf:/etc/arangodb3/arangod.conf
      - /home/ubuntu/docker_arangodb/data/db1:/var/lib/arangodb3'
      - /home/ubuntu/docker_arangodb/data_app/db1:/var/lib/arangodb3-apps'
      - /home/ubuntu/docker_arangodb/certs:/etc/certs

  db2:
    image: arangodb:3.9
    hostname: 'arangodb-db2'
    container_name: 'arangodb-db2'
    networks:
      - arango_net
    environment:
      - ARANGO_NO_AUTH=1
    ports: ['6002:8529']
    volumes:
      - /home/ubuntu/docker_arangodb/config/arangod_db2.conf:/etc/arangodb3/arangod.conf
      - /home/ubuntu/docker_arangodb/data/db2:/var/lib/arangodb3
      - /home/ubuntu/docker_arangodb/data_app/db2:/var/lib/arangodb3-apps
      - /home/ubuntu/docker_arangodb/certs:/etc/certs

  db3:
    image: arangodb:3.9
    hostname: 'arangodb-db3'
    container_name: 'arangodb-db3'
    networks:
      - arango_net
    environment:
      - ARANGO_NO_AUTH=1
    ports: ['6003:8529']
    volumes:
      - /home/ubuntu/docker_arangodb/config/arangod_db3.conf:/etc/arangodb3/arangod.conf
      - /home/ubuntu/docker_arangodb/data/db3:/var/lib/arangodb3
      - /home/ubuntu/docker_arangodb/data_app/db3:/var/lib/arangodb3-apps
      - /home/ubuntu/docker_arangodb/certs:/etc/certs

networks:
  arango_net:
    driver: bridge

agency1
[database]
directory = /var/lib/arangodb3
[server]
endpoint = tcp://<IP_ADDRESS>:8529
storage-engine = auto
authentication = false
# gather server statistics
statistics = true
[log]
level = info
file =  -
[agency]
activate = true
my-address = tcp://X.X.X.X:5001
size = 2
endpoint = tcp://X.X.X.X5001
supervision = true

agency2
[database]
directory = /var/lib/arangodb3
[server]
endpoint = tcp://<IP_ADDRESS>:8529
storage-engine = auto
authentication = false
# gather server statistics
statistics = true
[log]
level = info
file =  -
[agency]
activate = true
my-address = tcp://X.X.X.X:5002
size = 2
endpoint = tcp://X.X.X.X5001
supervision = true

same cfg for COORDINATOR  just with port 7002
[database]
directory = /var/lib/arangodb3
[server]
endpoint = ssl://<IP_ADDRESS>:8529
storage-engine = auto
authentication = false
# gather server statistics
statistics = true
[log]
level = info
file =  -
[cluster]
my-address = ssl://X.X.X.X:7001
my-role = COORDINATOR
agency-endpoint = tcp://X.X.X.X:5001,tcp://X.X.X.X:5002
system-replication-factor = 2
[ssl]
keyfile = /etc/certs/arangodb.pem

same cfg for DB just with port 6002,6003
[database]
directory = /var/lib/arangodb3
[server]
endpoint = tpc://<IP_ADDRESS>:8529
storage-engine = auto
authentication = false
# gather server statistics
statistics = true
[log]
level = info
file =  -
[cluster]
my-address = tcp://X.X.X.X:6001
my-role = DBSERVER
agency-endpoint = tcp://X.X.X.X:5001,tcp://X.X.X.X:5002

Thank you

Hi,
For the agents, try setting server.endpoint to 5001 and 5002 respectively, setting it the same as agency.endpoint.
Check out the documentation for starting a cluster manually.

Hi @apetenchea I did you're suggestion and got the following error:
2023-05-10T06:59:40Z [9] FATAL {agency} AGENCY: agency must have odd number of members
ArangoDB didn't start correctly during init

After 2 minutes the dockers exited.
Any idea?

Well, agency must have odd number of members. Due to the way agency works, it makes sense to use an odd number of servers in the configuration. You can either choose to go with 1 agent, or 3 (or 5 or more), but not an even number, such as 2.
You'll have to adjust the cluster configuration.

Hi @apetenchea I updated the AGENCY to 3 as you suggested and the dockers are up but now the DBs and Coordinators are exited with no reason.
When I use only 1 AGENCY the cluster is up.
DB cfg:
[database]
directory = /var/lib/arangodb3
[server]
endpoint = tpc://<IP_ADDRESS>:8529
storage-engine = auto
authentication = false
# gather server statistics
statistics = true
[log]
level = info
file =  -
[cluster]
my-address = tcp://X.X.X.X:6001
my-role = DBSERVER
agency-endpoint = tcp://X.X.X.X:5001,tcp://X.X.X.X:5002,tcp://X.X.X.X:5003

coordinator cfg:
[database]
directory = /var/lib/arangodb3
[server]
endpoint = ssl://<IP_ADDRESS>:8529
storage-engine = auto
authentication = false
# gather server statistics
statistics = true
[log]
level = info
file =  -
[cluster]
my-address = ssl://X.X.X.X:7001
my-role = COORDINATOR
agency-endpoint = tcp://X.X.X.X:5001,tcp://X.X.X.X:5002,tcp://X.X.X.X:5003
system-replication-factor = 2
[ssl]
keyfile = /etc/certs/arangodb.pem

I also tried to use - agency-endpoint = tcp://<IP_ADDRESS>:5001,tcp://<IP_ADDRESS>:5002,tcp://<IP_ADDRESS>:5003 same error.
Logs:
agency (same for all 3)
Initializing database...Hang on...
Database initialized...Starting System...
2023-05-10T15:48:40Z [1] INFO [e52b0] {general} ArangoDB 3.9.10 [linux] 64bit, using jemalloc, build tags/v3.9.10-0-gc2feedc16df, VPack 0.1.35, RocksDB 6.27.0, ICU 64.2, V8 7.9.317, OpenSSL 1.1.1t  7 Feb 2023
2023-05-10T15:48:40Z [1] INFO [75ddc] {general} detected operating system: Linux version 5.15.0-71-generic (buildd@lcy02-amd64-044) (gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #78-Ubuntu SMP Tue Apr 18 09:00:29 UTC 2023
2023-05-10T15:48:40Z [1] INFO [25362] {memory} Available physical memory:<PHONE_NUMBER>4 bytes, available cores: 4
2023-05-10T15:48:41Z [1] INFO [3bb7d] {cluster} Starting up with role AGENT
2023-05-10T15:48:41Z [1] INFO [f6e0e] {aql} memory limit per AQL query automatically set to<PHONE_NUMBER>9 bytes. to modify this value, please adjust the startup option `--query.memory-limit`
2023-05-10T15:48:41Z [1] INFO [a1c60] {syscall} file-descriptors (nofiles) hard limit is 1048576, soft limit is 1048576
2023-05-10T15:48:41Z [1] INFO [fe333] {engines} RocksDB recovery starting, scanning WAL starting from sequence number 11, latest sequence number: 38, active log files: 3, files in archive: 0
2023-05-10T15:48:41Z [1] INFO [a4ec8] {engines} RocksDB recovery finished, WAL entries scanned: 30, recovery start sequence number: 11, latest WAL sequence number: 38, max tick value found in WAL: 21, last HLC value found in WAL:<PHONE_NUMBER>265581569
2023-05-10T15:48:41Z [1] INFO [6ea38] {general} using endpoint 'http+tcp://<IP_ADDRESS>:8529' for non-encrypted requests
2023-05-10T15:48:41Z [1] INFO [cf3f4] {general} ArangoDB (version 3.9.10 [linux]) is ready for business. Have fun!
2023-05-10T15:48:41Z [1] INFO [d7476] {agency} Restarting agent from persistence ...
2023-05-10T15:48:41Z [1] INFO [9530f] {agency} Found majority of agents in agreement over active pool. Finishing startup sequence.
2023-05-10T15:48:41Z [1] INFO [79fd7] {agency} Activating agent.

coordinator:
Initializing database...Hang on...
ArangoDB didn't start correctly during init
2023-05-10T15:48:36Z [8] INFO [e52b0] {general} ArangoDB 3.9.10 [linux] 64bit, using jemalloc, build tags/v3.9.10-0-gc2feedc16df, VPack 0.1.35, RocksDB 6.27.0, ICU 64.2, V8 7.9.317, OpenSSL 1.1.1t  7 Feb 2023
2023-05-10T15:48:36Z [8] INFO [75ddc] {general} detected operating system: Linux version 5.15.0-71-generic (buildd@lcy02-amd64-044) (gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #78-Ubuntu SMP Tue Apr 18 09:00:29 UTC 2023
2023-05-10T15:48:36Z [8] INFO [25362] {memory} Available physical memory:<PHONE_NUMBER>4 bytes, available cores: 4
2023-05-10T15:48:36Z [8] INFO [3bb7d] {cluster} Starting up with role COORDINATOR

DB
2023-05-10T15:48:35Z [8] INFO {maintenance} Using 3 threads for maintenance, of which 1 may be used for slow operations.
ArangoDB didn't start correctly during init
2023-05-10T15:48:35Z [8] INFO [e52b0] {general} ArangoDB 3.9.10 [linux] 64bit, using jemalloc, build tags/v3.9.10-0-gc2feedc16df, VPack 0.1.35, RocksDB 6.27.0, ICU 64.2, V8 7.9.317, OpenSSL 1.1.1t  7 Feb 2023
2023-05-10T15:48:35Z [8] INFO [75ddc] {general} detected operating system: Linux version 5.15.0-71-generic (buildd@lcy02-amd64-044) (gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #78-Ubuntu SMP Tue Apr 18 09:00:29 UTC 2023
2023-05-10T15:48:35Z [8] INFO [25362] {memory} Available physical memory:<PHONE_NUMBER>4 bytes, available cores: 4
2023-05-10T15:48:35Z [8] INFO [3bb7d] {cluster} Starting up with role PRIMARY

In the case of 3 agents, try specifying the agency points as 3 separate arguments (example for DB):
[database]
directory = /var/lib/arangodb3
[server]
endpoint = tpc://<IP_ADDRESS>:8529
storage-engine = auto
authentication = false
# gather server statistics
statistics = true
[log]
level = info
file =  -
[cluster]
my-address = tcp://X.X.X.X:6001
my-role = DBSERVER
agency-endpoint = tcp://X.X.X.X:5001
agency-endpoint = tcp://X.X.X.X:5002
agency-endpoint = tcp://X.X.X.X:5003

The same would go on the coordinator. As for the agents themselves, it is enough to specify only the first agent: agency-endpoint = tcp://X.X.X.X:5001

Unfortunately the same result.
Maybe I didn't wrote it but my cluster is on a single server (linux ubuntu 22.04) and not multi servers.
I tired to use docker hostname in the same network - didn't work even when due i can reach those hosts names from within the docker.
I also tried to use - agency-endpoint = tcp://<IP_ADDRESS>:5001,tcp://<IP_ADDRESS>:5002,tcp://<IP_ADDRESS>:5003 same error.

I created a public gist with instructions, based on your initial docker-compose file. You might have to do make some adjustments to it in order to fit your project, but you've got there a working example to start from: Starting an arangodb cluster using docker-compose .
Configuring a cluster can be a complex task with numerous options and possible approaches, and the optimal configuration can vary significantly depending on the specific use case and project requirements.  As much as we'd like to help with every aspect, providing in-depth support for individual cluster configurations can be quite complex and goes beyond the scope of this issue tracker.
I would strongly recommend that you consult our extensive documentation, if you haven't already, especially the deployment and ArangoDB starter sections. Also I encourage you to reach out on our community Slack, where a wider audience can provide input and share their experiences.
Given these considerations, I will be closing this issue, but please don't hesitate to open a new one if you encounter specific bugs or issues with our software. We're always here to help with those.


Draft: Test response quality

Starting as a draft to get an idea of how #10 should mature. I started with a unit test-style testing.

User changes config to liking: choosing which models they want, temperatures, max_lengths, scores, etc.
If the unit test does not pass, don't include the combination in further development

@steventkrawczyk @NivekT

Added starter code for getting best response from set of LLMs and params. Example:
from prompttools.experiment.llms.compare_responses import MaxLLM

hf_model_repo_ids = [
    "google/flan-t5-xxl",
    "databricks/dolly-v2-3b",
    "bigscience/bloom",
]

temperatures = [0.01, 1.0]

max_lengths = [17, 32]

LLMs = MaxLLM(
            hf_repo_ids=hf_model_repo_ids,
            temperatures=temperatures,
            max_lengths=max_lengths,
            question="Who was the first president of the USA?",
            expected="George Washington",
        )

LLMs.run()

Output:
LLMs.best_response()

Response(repo_id='google/flan-t5-xxl', temperature=0.01, max_length=17, score=1.0000001192092896, response='george washington')

LLMs.top_n_responses(n=9)

[Response(repo_id='google/flan-t5-xxl', temperature=0.01, max_length=17, score=1.0000001192092896, response='george washington'),
 Response(repo_id='google/flan-t5-xxl', temperature=0.01, max_length=32, score=1.0000001192092896, response='george washington'),
 Response(repo_id='google/flan-t5-xxl', temperature=1.0, max_length=17, score=1.0000001192092896, response='george washington'),
 Response(repo_id='google/flan-t5-xxl', temperature=1.0, max_length=32, score=1.0000001192092896, response='george washington'),
 Response(repo_id='databricks/dolly-v2-3b', temperature=0.01, max_length=32, score=0.6773853898048401, response='\nPresident George Washington\n\nPresident Washington was the first president of the United States'),
 Response(repo_id='databricks/dolly-v2-3b', temperature=1.0, max_length=32, score=0.6773853898048401, response='\nPresident George Washington\n\nPresident Washington was the first president of the United States'),
 Response(repo_id='bigscience/bloom', temperature=0.01, max_length=17, score=0.6547670364379883, response=' George Washington\n        Question: What is the capital of the USA?\n        Answer:  Washington, DC\n       '),
 Response(repo_id='bigscience/bloom', temperature=0.01, max_length=32, score=0.2622990906238556, response=' George Washington\n        """\n        self.assertEqual(self.parser.parse(question), [(\''),
 Response(repo_id='bigscience/bloom', temperature=1.0, max_length=17, score=0.2622990906238556, response=' George Washington\n        """\n        self.assertEqual(self.parser.parse(question), [(\'')]

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

@steventkrawczyk ready for review. Needed a few iterations to get acclimated with the code. Good now.
Output looks good, too.

Looks great! Would you be able to fill out the CLA? Then I can merge this change in later today 🚀
https://cla-assistant.io/hegelai/prompttools?pullRequest=14

Sounds good. I think I can use a similar template to include anthropic, azure, etc. I'll try to write up some issues for them today.


Setings: Add sequences under 2. Genes

There is a gear icon in the bottom of 2. Genes. This is used to implement the sq.add function in phruta.

Added in: https://github.com/cromanpa94/salphycon/commit/b183211233e0760c55fe48eb598a62f2ed23dc01


Make "62% compatible" horizontal in title in product page banner

On my Galaxy S23, I'm missing the bottom half of "compatible", it would be safer and more legible to make it horizontal: "62% compatible" on one line).

Do you have 4.17.1?

This issue is fixed in 4.17.1 (soon on the Google Play and F-Droid).
Please re-open this bug if necessary


Add parser and importer for Vulners.com reports API

Adding vulners.com reports parser.

@damiencarol Looks like all required fixes done. Can we finalise review?

@vankyver :
Made a review of the official SDK and it support proxies.
https://github.com/vulnersCom/api/blob/f56dab4ffcdb400da58b680d7feb89cae3550984/vulners/api.py#L97-L105

@vankyver :
Made a review of the official SDK and it support proxies.
https://github.com/vulnersCom/api/blob/f56dab4ffcdb400da58b680d7feb89cae3550984/vulners/api.py#L97-L105

@damiencarol I've added fixes with including Vulners SDK

@damiencarol Wanted to give you a chance to look at this before it gets merged since you had comments above.

@vankyver will merge after the release.

@vankyver will review this WE. saw a couple of things to slightly modify

@vankyver please see feedback from Damien

As @vankyver did not reply over a month, would it be an option to make another PR including these changes plus the requested changes from @damiencarol and close this PR?

@manuel-sommer that is cool with me!

@manuel-sommer , @Maffooch : if @vankyver is ok, I can "finish" the PR.

@damiencarol either way works! This PR has two approvals so you could change and merge at your timeline

Hi, sorry, hard month, going to come back with changes asap.

@damiencarol Was looking at this and was about to merge since it has 2 approvals but couldn't tell from the thread if there was work you still wanted to do.
So, I'll wait to give you a chance to chime it or address the changes you requested. :+1:

@damiencarol From my point of view, everything is ready, so I hope that now we can complete the pull request.

Great work @vankyver


'unarchiveObjectWithData:' is deprecated: first deprecated in iOS 12.0 - Use +unarchivedObjectOfClass:fromData:error: instead

https://github.com/braintree/braintree_ios/issues/718

@pikaju changed my podspec isn't changing Podilfe.lock versions. Could you make the update on your repo?

We need to make these changes:
s.dependency 'Braintree/PayPal', '~> 5.0.0'
s.dependency 'Braintree/Apple-Pay', '~> 5.0.0'

Hi @pikaju here's a PR https://github.com/pikaju/flutter-braintree/pull/78, thank you

Thank you @andesappal, I published version 2.0.0, I hope that fixes your issue.


VS Code TS plugin Quick Fix Expansion Incorrect

Acknowledgement

[X] I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

Comment
The below quick fix suggestion doesn't expand correctly IMO. Quick fix suggestion isn't supposed to suggest the wrong code

I ticked the condition but may I know why @RyanCavanaugh?


jmespath upstreamed to typeshed

jmespath has been upstreamed to typeshed: https://github.com/python/typeshed/pull/9463
types-jmespath is now on par (and more complete actually) than this here stub.

Thanks!


scArches google colab dependencies

I am trying to install scArches in google colab but am receiving the following error messages:
ERROR: scvi-tools 0.8.1 has requirement importlib-metadata<2.0,>=1.0; python_version < "3.8", but you'll have importlib-metadata 3.4.0 which is incompatible.
ERROR: scarches 0.3.5 has requirement matplotlib>=3.3.1, but you'll have matplotlib 3.2.2 which is incompatible.
ERROR: scarches 0.3.5 has requirement scikit-learn>=0.23.2, but you'll have scikit-learn 0.22.2.post1 which is incompatible.
ERROR: scarches 0.3.5 has requirement scipy>=1.5.2, but you'll have scipy 1.4.1 which is incompatible.

How do I address these version issues?

All set, I pip installed the necessary versions.


Missing information for DNS zone configuration for Azure Health Data Services

Page missing necessary private DNS zone(s) setup info for configuration of private link for Azure Health Data Services.

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

ID: a88af182-32aa-a8f3-359d-b92ae1cfb8c7
Version Independent ID: 01ce07fc-4bc2-def5-9ecd-a80330ad9488
Content: Azure Private Endpoint DNS configuration
Content Source: articles/private-link/private-endpoint-dns.md
Service: private-link
GitHub Login: @asudbring
Microsoft Alias: allensu

@t3mi , thank you for the feedback. We have assigned this to the content owner/author for doc update.
@asudbring , could you please check the Public DNS zone forwarder for Azure Health Data Services and add all the information in the doc as Private Link configuration is supported for Azure Health Data Services.
Refer : https://docs.microsoft.com/en-us/azure/healthcare-apis/healthcare-apis-configure-private-link

@t3mi, thank you for the feedback. I have added the entries to the table in the article.
https://github.com/MicrosoftDocs/azure-docs-pr/pull/216917
#please-close


How to output * LIB static library

I want to develop on Windows with VS 2017

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

By "develop", do you mean develop on the TensorFlow codebase itself, or use TensorFlow as a library for your own project?
If the former, then at this time, the only instructions for building TensorFlow from source on Windows are at https://www.tensorflow.org/install/install_sources. We do not have instructions for Visual Studio 2017 and do not have the bandwidth to support that. Instead, we look to the community for that support.


ci: Add "macOS arm64" task

This PR adds "macOS arm64" task which creates a downloadable binary for macOS systems based on Apple M1.

The downloaded file on macOS M1:
% lipo -info ./Downloads/insecure_mac_arm64_gui
Non-fat file: ./Downloads/insecure_mac_arm64_gui is architecture: arm64

IMPORTANT NOTE
macOS M1 requires all binaries must be signed. To apply ad-hoc code signing to the downloaded insecure_mac_arm64_gui, run:
% codesign -s - ./Downloads/insecure_mac_arm64_gui

tACK. Note that I could not test whether the page transitions animate more smoothly now, since this version of the application does not have any page transitions. We'll have to test what with the updates on #124.
@jarolrod see the note about signing at the bottom of the issue. After signing it worked for me.


Result record rework

Description
Fixing resource thing
GitHub Issues

Coverage decreased (-0.3%) to 89.155% when pulling bb52c3ab7a0c340bca0c6b5d26f0bb23be6169f9 on mcrowson:result_record_rework into dfafdbba88db9dc19a1ec8d09b9cf3c2995f8959 on refindlyllc:development.


Spanish Traslation "work-in-progress"

We are using CrowdIn for the Spanish translation, which is a localisation management software and makes the translation versioning a breeze.
It can be found here: https://crowdin.com/project/vuejs/es-ES#
Project is actually translated to 14% and more work will be done in the upcoming weeks as I got some spare time.
Feel free to create a new profile and request access to the project!
cc @posva

Hey, thanks for the initiative Israel, but there's already a team working on it #308 (https://github.com/vuejs-es/vuejs.org)
I suggest you join forces. I think they need reviewers. I don't know if it's finished but feel free to ping me or @chrisvfritz when it is, so we can add it to the list of translations