Pool wallet

I don't know why, but I am not able to setup pool wallet and / rewardRecipients.
Money are sent every time to random wallet without any sense.
        // Address to where block rewards are given (pool wallet)
        "address": "1GTkfNkkg9dg5rUGgevSjy6t9BaAxxxxxxx",
        // Block rewards go to the configured pool wallet address to later be paid out
        // to miners, except for a percentage that can go to, for examples,
        // pool operator(s) as pool fees or or to donations address. Addresses or hashed
        // public keys can be used. Here is an example of rewards going to the main pool
        // "op"
        "rewardRecipients": [
            {
                // Pool wallet
                "address": "1NphKu9PUGnyyM3ax9pu9LwgGTTpxxxxxxx",
                "percentage": 0.5
            }
        ],

Hi, which coin? Usually, for a bitcoin fork, you need to use a legacy address for rewards.

Radiant, how can recognize that ?

You need to create the wallet using "legacy", I think something like coin-cli getnewaddress "label" "address_type"
In the case of Radiant I think should be: radiant-cli getnewaddress "walletname" "legacy"

ah found these coins via getwalletinfo ( it is on principal wallet), is there anyway how to sent them out via cli command?


JsDependency report sample. Triggered by GitHub Actions

Changed

spec/fixtures/index_creator/self_call/src/components/sub/Title.vue
spec/fixtures/index_creator/self_call/src/components/New.vue

Codecov Report

Merging #31 (999fe7b) into main (5386ceb) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #31   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           17        17
  Lines          544       544
=========================================
  Hits           544       544

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

https://github.com/junara/js_dependency/blob/main/.github/workflows/pr_report_sample.yml
name: Add js_dependency analysis report in pull request comment
on:
  pull_request:

jobs:
  js_dependency:
    name: Export Mermaid by js_dependency
    runs-on: ubuntu-latest
    env:
      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    steps:
      - uses: actions/checkout@v3
      - uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
        with:
          ruby-version: '3.1'
      - run: gem install js_dependency
      - uses: technote-space/get-diff-action@c747e3f4e5fe6ab4870031a8e33721e61914140c
      - run: echo ${{ env.GIT_DIFF }}
      - name: Create report
        env:
          SRC_PATH: spec/fixtures/index_creator/self_call/src
          CHILD_ANALYZE_LEVEL: 2
          PARENT_ANALYZE_LEVEL: 2
          NAME_LEVEL: 2
          ALIAS_PATHS: "@:./pages"
          IDENTIFIER: js_dependency_pull_request_comments_${{ github.ref }}
          EXCLUDE_OUTPUT_NAMES: "pages"
        run: |
          cat << EOF > ${{ github.sha }}_comment
          `js_dependency export_markdown_report -s ${SRC_PATH} -t ${{ env.GIT_DIFF }} -a ${ALIAS_PATHS} -c ${CHILD_ANALYZE_LEVEL} -p ${PARENT_ANALYZE_LEVEL} --identifier ${IDENTIFIER} --exclude-output-names ${EXCLUDE_OUTPUT_NAMES}`

          ### Analyzed commit
          ${{ github.sha }}
          EOF
        if: env.GIT_DIFF
      - id: get-comment-body
        run: |
          body="$(cat ${{ github.sha }}_comment)"
          body="${body//'%'/'%25'}"
          body="${body//$'\n'/'%0A'}"
          body="${body//$'\r'/'%0D'}"
          echo "::set-output name=body::$body"
        if: env.GIT_DIFF
      - name: Upsert JsDependency PR comment
        uses: thollander/actions-comment-pull-request@686ab1cab89e0f715a44a0d04b9fdfdd4f33d751
        with:
          message: ${{ steps.get-comment-body.outputs.body }}
          comment_includes: "<!-- js_dependency_pull_request_comments_${{ github.ref }} -->"
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        if: env.GIT_DIFF


Problem fuzzing Apache

Hi,
I followed the example that explains how to fuzz Apache and I think I have done all correctly. Unfortunately when I try to effectively fuzz it I have the following error:
[F][25041] fuzz_prepareFileDynamically():76 The dynamic file corpus is empty. Apparently, the initial fuzzing of the provided file corpus (-f) has not produced any follow-up files with positive coverage and/or CPU counters

The command I used was:
/honggfuzz -z -P -f ./examples/apache/corpus_http2 -w ./examples/apache/httpd.wordlist -- /home/fra/Desktop/fuzzing/apache/dist/bin/httpd -X -f ../apache/dist/conf/httpd.conf.h2

The same happend with corpus_http1
Anyone able to help?
Thanks

Your httpd seems to be compiled w/o coverage? I guess you used hfuzz-clang as CC, and you have a fairly new version of clang (>=4.0)?
Feel free to try with newer compilation script from this patch: https://github.com/google/honggfuzz/blob/master/examples/apache/httpd-master.honggfuzz.patch
PS: @icing has created a more streamlined compilation setup for Apache (mainly HTTP/2 but should be easily convertible to HTTP1 by changing config and corpus paths) here: https://github.com/icing/h2fuzz

One of the test you could try is to change CC from hfuzz-clang to hfuzz-gcc and see whether it has any effect


Can't run url with GET method query

I just miss your comment so I open new topic:
Example: https://1stkissmanga.love/manga/bring-the-love/

I tried to get LATEST MANGA RELEASES page by ajax request ( please F12 to check )
then link run is domain.com:3000/?url=https://1stkissmanga.io/wp-admin/admin-ajax.php?action=manga_views&manga=71144

Result only : {"success":false} , not showing html/text like picture below

Other example: https://1stkissmanga.love/manga/?m_orderby=latest

I tried to get Load More page by ajax request ( please click Load More then F12 to check )
then link run is domain.com:3000/?url=https://1stkissmanga.io/wp-admin/admin-ajax.php?action=madara_load_more&page=1&template=madara-core%2Fcontent%2Fcontent-archive&vars[paged]=1&vars[orderby]=meta_value_num&vars[template]=archive&vars[sidebar]=right&vars[post_type]=wp-manga&vars[post_status]=publish&vars[meta_key]=_latest_update&vars[order]=desc&vars[meta_query][relation]=OR&vars[manga_archives_item_layout]=default

Result: blank - not show anything, must be showing html/text like picture below

@unixfox can you check bro ?


git

Checklist

[X] I have verified that this is the correct repository, and the package is maintained by the chocolatey-community user.
[X] I have verified that this is happening in the latest available version of the package.

Chocolatey Version
2.3.0
Chocolatey License
None
Package Version
2.47.0
Current Behaviour
There is a bug in upstream, breaking fetch on some repositories. See issue at github.
So: Please retract the 2.47.0 release (2.46.2 works fine)
Expected Behaviour
See upstream issue.
Steps To Reproduce
N/A
Environment
N/A

Chocolatey Log
N/A

Anything else?
No response

Thank you for reporting this. We've added a comment to the Disqus comments on the page. As upstream has not pulled the release, we are unlikely to unlist it. Typically we would only unlist a package if the upstream package was also unlisted or removed for some reason.
Since the upstream is still available, I'm going to close this issue. We can reopen it should the upstream situation change.


Configuring micro-ROS firmware

Hi Pablo and team,

Would you sharing a bit what this, "Configuring micro-ROS firmware" is about, and how would it impact the execution when the CAN-bus transport is ready.?

If one did not run this, the configuring command, can he still run the corresponding application at later stage? and change one to the other?

When the CAN-bus transport is ready, How would the command be effected? I presume, it will not change anything for me, as I am  interpreting udp as CAN-bus. In the case I need udp, I can use ip and port to differentiate upd from CAN-bus.

The line "--dev or -d: agent string descriptor in a serial-like transport", is this only for serial-like transport?

When compiling the uros firmware for Olimex stm32-e407, I was assuming, the transport is udp, and the ips must of netmask <IP_ADDRESS>, correct?

Hi @vibnwis

Would you sharing a bit what this, "Configuring micro-ROS firmware" is about, and how would it impact the execution when the CAN-bus transport is ready.?

Configuring the micro-ROS firmware does basically 2 things:

Selects the app that is going to be built. Remember that each app has a colcon.meta that allows a fine-grain configuration for each layer, we usually are specially interested in RMW and middleware where it is possible to tune the memory usage of the micro-ROS build. Check this.
Selects the transport that is going to be use and the parameters: serial port and the serial device or UDP and agent IP/port.

This can be modified by changing these scripts, that basically are modifying the global colcon.meta

If one did not run this, the configuring command, can he still run the corresponding application at later stage? and change one to the other?

If you don't run the configuration command the system won't know which app it should build. Please note that in the case of micro-ROS for Linux you don't select any app because all examples are being built and the transport will be always UDP.

When the CAN-bus transport is ready, How would the command be effected? I presume, it will not change anything for me, as I am interpreting udp as CAN-bus. In the case I need udp, I can use ip and port to differentiate upd from CAN-bus.

IMO, the best solution is to add in your configure script an option for CAN and inside it, you will copy your transports, similar to what is done here
Some questions:

Which is your hardware board?
Which RTOS are you going to use? I guess that FreeRTOS right?
Which parameters do you need in order to init the CAN bus? You will need an address? Ports? Maybe we need to update something in the RMW if you need multiple parameters, but don't mind, we can update it quickly.

The line "--dev or -d: agent string descriptor in a serial-like transport", is this only for serial-like transport?

Yes, when using serial-like transports, the middleware will be inited with the framing module enabled and it will pass this -d parameter to your init function.
When using udp-like transports, the middleware will suppose that you are able to send whole messages and the parameters passed with -i and -p will be passed to your init function as strings. The inside your init function you can handle them as you want.

When compiling the uros firmware for Olimex stm32-e407, I was assuming, the transport is udp, and the ips must of netmask <IP_ADDRESS>, correct?

Olimex STM32-E407 can be build for Nuttx, FreeRTOS and Zephyr. Each one supports different transports, check this table. In the case of FreeRTOS, you can use UART or UDP as transports.
In the case of UDP, if I'm not wrong it will try to retrieve an IP using DHCP, check init task for this port

The answers to the questions:
Which is your hardware board?
Olimex STM32-E407.
Which RTOS are you going to use? I guess that FreeRTOS right?
Yes, it is FreeRTOS.
Which parameters do you need in order to init the CAN bus? You will need an
address? Ports? Maybe we need to update something in the RMW if you need
multiple parameters, but don't mind, we can update it quickly.
CAN-bus frames are identified by its frame-ID which also acts the frame's
priority levels. At the moment, the sender sets the frame-ID as part of the
frame, and receiver sets the hardware filters for the frame-ID and receives
the intended frames. As I don't know how the future applications would end
up, I don't know which parameters I will use for now. You can interpret it
as, there aren't any parameters needed for the moment.
The template's IP and Port are not usable for the time being.
Appreciate your assistance in willing to update the RMW. It is my pleasure
to do that when the time comes.
Very grateful for all the assistance you and your team provided, i.e., your
answers and the info in web-pages.
On Wed, 14 Oct 2020 at 02:29, Pablo Garrido<EMAIL_ADDRESS>wrote:

Hi @vibnwis https://github.com/vibnwis
Would you sharing a bit what this, "Configuring micro-ROS firmware" is
about, and how would it impact the execution when the CAN-bus transport is
ready.?
Configuring the micro-ROS firmware does basically 2 things:

Selects the app that is going to be built. Remember that each app
has a colcon.meta that allows a fine-grain configuration for each
layer, we usually are specially interested in RMW and middleware where it
is possible to tune the memory usage of the micro-ROS build. Check this
https://micro-ros.github.io/docs/tutorials/core/microxrcedds_rmw_configuration/
.
Selects the transport that is going to be use and the parameters:
serial port and the serial device or UDP and agent IP/port.

This can be modified by changing these scripts
https://github.com/micro-ROS/micro_ros_setup/blob/foxy/config/freertos/olimex-stm32-e407/configure.sh,
that basically are modifying the global colcon.meta
If one did not run this, the configuring command, can he still run the
corresponding application at later stage? and change one to the other?
If you don't run the configuration command the system won't know which app
it should build. Please note that in the case of micro-ROS for Linux
https://micro-ros.github.io/docs/tutorials/core/first_application_linux/
you don't select any app because all examples
https://github.com/micro-ROS/micro-ROS-demos are being built and the
transport will be always UDP.
When the CAN-bus transport is ready, How would the command be effected? I
presume, it will not change anything for me, as I am interpreting udp as
CAN-bus. In the case I need udp, I can use ip and port to differentiate upd
from CAN-bus.
IMO, the best solution is to add in your configure script
https://github.com/micro-ROS/micro_ros_setup/blob/foxy/config/freertos/olimex-stm32-e407/configure.sh
an option for CAN and inside it, you will copy your transports, similar to
what is done here
https://github.com/micro-ROS/micro_ros_setup/blob/2f59d8704ff1ecec2f53d6e4aa514766d6b26773/config/freertos/olimex-stm32-e407/configure.sh#L35
Some questions:

Which is your hardware board?
Which RTOS are you going to use? I guess that FreeRTOS right?
Which parameters do you need in order to init the CAN bus? You will
need an address? Ports? Maybe we need to update something in the RMW if you
need multiple parameters, but don't mind, we can update it quickly.

The line "--dev or -d: agent string descriptor in a serial-like
transport", is this only for serial-like transport?
Yes, when using serial-like transports, the middleware will be inited with
the framing module enabled and it will pass this -d parameter to your
init function.
When using udp-like transports, the middleware will suppose that you are
able to send whole messages and the parameters passed with -i and -p will
be passed to your init function as strings. The inside your init function
you can handle them as you want.
When compiling the uros firmware for Olimex stm32-e407, I was assuming,
the transport is udp, and the ips must of netmask <IP_ADDRESS>, correct?
Olimex STM32-E407 can be build for Nuttx, FreeRTOS and Zephyr. Each one
supports different transports, check this table
https://github.com/micro-ROS/micro_ros_setup#configuring-micro-ros-firmware.
In the case of FreeRTOS, you can use UART or UDP as transports.
In the case of UDP, if I'm not wrong it will try to retrieve an IP using
DHCP, check init task for this port
https://github.com/micro-ROS/freertos_apps/blob/34656bb8e1b5f80a2ef4f05e26da371f7538da55/microros_olimex_e407_extensions/Src/main.c#L417
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/micro-ROS/micro_ros_setup/issues/216#issuecomment-707738331,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCYQVWKJ32BL22ODJ2RVJTSKRI2BANCNFSM4SO2YNEA
.

Nice @vibnwis you are really welcome.
I'm closing this. Don't hesitate to reopen if you have more questions!
Let me know when you start integration the CAN integration, so I can give you support.


Wrong virtual column number after Ambiguous utf-8 character using conceal

my custom syntax file:
syntax match myConcealabbr "each"  containedin=ALL  conceal cchar=∀
syntax match myConcealabbr "[gG]ood"  containedin=ALL  conceal cchar=👍

here 👍 is an ambiguous utf8 character
my conceal settings
concealcursor=n
conceallevel=2

the bug is:
i'm in norm mode, my cursor is on "l" in the text this is a 👍line (raw: this is a goodline)
when i press i, the cursor move to "i" (in the word "line")
when i press cw, the line become this is a goodl
but i want it to be this is a good
i find that the cursor will move N characters (N is the number of Ambiguous utf8 characters in the left of the cursor)
for example, cursor is on "b" in the word "baaaa":
a 👍word in ∀line and another 👍Word baaaa
(raw: a goodword in eachline and another GoodWord blabla)
when i press cw, it become a goodword in eachline and another GoodWord bl
and when the line is a 👍word in ∀line and another 👍Word, the cursor can only move to "o" in the word "Word" in the norm mode (it take the "o" as end of the line)
the cursor work correctly before the  ambiguous utf8 character and in conceals of non-ambiguous utf8 characters like i do this for ∀line (raw: i do this for eachline)
my compile options
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug  9 2016 01:27:59)
MacOS X (unix) version
Included patches: 1-2181
Compiled by ****************************
Huge version without GUI.  Features included (+) or not (-):
+acl             +file_in_path    +mouse_sgr       +tag_old_static
+arabic          +find_in_path    -mouse_sysmouse  -tag_any_white
+autocmd         +float           +mouse_urxvt     -tcl
-balloon_eval    +folding         +mouse_xterm     +termguicolors
-browse          -footer          +multi_byte      +terminfo
++builtin_terms  +fork()          +multi_lang      +termresponse
+byte_offset     -gettext         -mzscheme        +textobjects
+channel         -hangul_input    +netbeans_intg   +timers
+cindent         +iconv           +num64           +title
-clientserver    +insert_expand   +packages        -toolbar
+clipboard       +job             +path_extra      +user_commands
+cmdline_compl   +jumplist        +perl            +vertsplit
+cmdline_hist    +keymap          +persistent_undo +virtualedit
+cmdline_info    +lambda          +postscript      +visual
+comments        +langmap         +printer         +visualextra
+conceal         +libcall         +profile         +viminfo
+cryptv          +linebreak       +python          +vreplace
-cscope          +lispindent      -python3         +wildignore
+cursorbind      +listcmds        +quickfix        +wildmenu
+cursorshape     +localmap        +reltime         +windows
+dialog_con      -lua             +rightleft       +writebackup
+diff            +menu            +ruby            -X11
+digraphs        +mksession       +scrollbind      -xfontset
-dnd             +modify_fname    +signs           -xim
-ebcdic          +mouse           +smartindent     -xsmp
+emacs_tags      -mouseshape      +startuptime     -xterm_clipboard
+eval            +mouse_dec       +statusline      -xterm_save
+ex_extra        -mouse_gpm       -sun_workshop    -xpm
+extra_search    -mouse_jsbterm   +syntax
+farsi           +mouse_netterm   +tag_binary
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X_UNIX  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L. -L/usr/local/lib  -L/usr/local/lib -o vim        -lm -lncurses  -liconv -framework Cocoa   -fstack-protector  -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl -F/usr/local/Cellar/python/2.7.10_2/Frameworks -framework Python   -lruby.2.0.0 -lobjc

I write some maps to make the cursor work correctly if i press "i", "v" and "c", which i use most,
but this can NOT fully solve this problem.
let g:ambUTF8="\\v\zsaux\ze[^:alpha:]\?|\zstemp\ze[^:alpha:]\?|[wW]arning|[eE]rror|[fF]lag|[gG]ood|[bB]ad|[kK]ey|[mM]utex|[Ii]ndex|[mM]essage|[uU]nknown|[fF]older|[^p]\zs[Dd]ate\ze|[tT]ime"
nmap <silent> i :call MoveBeforeLeaveN()<CR>:startinsert<CR>
nnoremap <silent> c :call MoveBeforeLeaveN()<CR>c
nnoremap <silent> v :call MoveBeforeLeaveN()<CR>v
function! IsAmbUTF8()
    let thisLine=getline(".")
    let thisIndex=byteidx(thisLine, virtcol("."))
    "echo thisLine[:thisIndex]
    "echo split(thisLine[:thisIndex], g:ambUTF8, 1)
    return len(split(thisLine[:thisIndex], g:ambUTF8, 1)) - 1
endfunction
function! MoveBeforeLeaveN()
    let offset = IsAmbUTF8()
    "echom "move ".offset
    if offset
        execute "normal! ".offset."h"
    endif
endfunction


Transmit JSON-payloads

Hi!
Just to make sure, that I am not missing something here... But does your wrapper provide a way to transmit JSON-payloads to the APIs endpoints?
One example is for example the v2.shop.cars, which expects a requestbody like this:
{
    "OTA_VehAvailRateRQ": {
      "VehAvailRQCore": {
        "QueryType": "Shop",
        "VehRentalCore": {
          "PickUpDateTime": "07-08T09:00",
          "ReturnDateTime": "07-09T11:00",
          "PickUpLocation": {
            "LocationCode": "DFW"
          }
        }
      }
    }
}

Some time has passed since I touched this, but looks like I'm not handling this. Should be trivial to add this feature, I'm not sure how. Probably I should create a new method in the API dictionary, currently it has POST and GET, I'm thinking about a JSON method that would receive a dictionary and post it as JSON in the body of the request.

Hi!
Just to make sure, that I am not missing something here... But does your wrapper provide a way to transmit JSON-payloads to the APIs endpoints?
One example is for example the v2.shop.cars, which expects a requestbody like this:
{
    "OTA_VehAvailRateRQ": {
      "VehAvailRQCore": {
        "QueryType": "Shop",
        "VehRentalCore": {
          "PickUpDateTime": "07-08T09:00",
          "ReturnDateTime": "07-09T11:00",
          "PickUpLocation": {
            "LocationCode": "DFW"
          }
        }
      }
    }
}

Hi, I am currently working on a similar project. Did you find any solution to the above question?
Any help will be appreciated.
Thank you in advance


Unresponsive without internet connection

When SIPA loses its Internet access, it becomes unresponsive.
Maybe because it tries to fetch other services, such as the Pycroft backend or PBX?

I think I have a hunch going through the logs: They are full of:
Sun Jan 24 20:54:35 2021 - *** uWSGI listen queue of socket "<IP_ADDRESS>:5000" (fd: 3) full !!! (101/100) ***
Sun Jan 24 20:54:36 2021 - *** uWSGI listen queue of socket "<IP_ADDRESS>:5000" (fd: 3) full !!! (101/100) ***
Sun Jan 24 20:54:37 2021 - *** uWSGI listen queue of socket "<IP_ADDRESS>:5000" (fd: 3) full !!! (101/100) ***

Now add the following to the mix:
WSGI app 0 (mountpoint='/sipa') ready in 134 seconds on interpreter 0x55ebba9f86b0 pid: 95268 (default app)

This together with Git fetch failed suggests to me that on startup, SIPA waits for the fetch until it times out. In thea meantime, a lot of requests (even if it's just HEAD / from a proxy) build up and flood the listen queue so the worker commits HARAKIRI.
There are multiple options for this:

Quickfix: Figure out whether we can decrease the timeout for the git fetch and increase the listen queue capacity
Proper fix: Establish some kind of „health check“ either before all of the start startup, or before trying to fetch the git repo. This may e.g. just be a ping to the git server.

I think I have a hunch going through the logs: They are full of:
Sun Jan 24 20:54:35 2021 - *** uWSGI listen queue of socket "<IP_ADDRESS>:5000" (fd: 3) full !!! (101/100) ***
Sun Jan 24 20:54:36 2021 - *** uWSGI listen queue of socket "<IP_ADDRESS>:5000" (fd: 3) full !!! (101/100) ***
Sun Jan 24 20:54:37 2021 - *** uWSGI listen queue of socket "<IP_ADDRESS>:5000" (fd: 3) full !!! (101/100) ***

Now add the following to the mix:
WSGI app 0 (mountpoint='/sipa') ready in 134 seconds on interpreter 0x55ebba9f86b0 pid: 95268 (default app)

This together with Git fetch failed suggests to me that on startup, SIPA waits for the fetch until it times out. In thea meantime, a lot of requests (even if it's just HEAD / from a proxy) build up and flood the listen queue so the worker commits HARAKIRI.
There are multiple options for this:

Quickfix: Figure out whether we can decrease the timeout for the git fetch and increase the listen queue capacity
Proper fix: Establish some kind of „health check“ either before all of the start startup, or before trying to fetch the git repo. This may e.g. just be a ping to the git server.


fix: add Wasiq Amjad Bhamla

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

@syedsohan , changes made as per review comments.


Add Transparency to placeholder

is your feature request related to a problem?
no
Describe the solution you'd like
Take into account the alpha property of the resources used for shading  the placeholders.
Describe alternatives you've considered
None
Additional context
None

Currently when you are placing a placeholder on a map it is temporary and have alpha hard coded in editor plugin. Then when placeholder is added editor plugin set alpha back to one. I think the simplest thing we can do is simply multiply the current hard coded alpha values set in editor plugin with placeholder type alpha.


Disabling TargetMemoryUtilizationPercentage does not disable memory based autoscaling

Checklist:

[x] I've searched in the docs and FAQ for my answer
[x] I've included steps to reproduce the bug.

Describe the bug
We tried to disable memory based autoscaling on some of our apps, but even after disabling TargetMemoryUtilizationPercentage in Deployment Template, pods are still autoscaling based on memory utilization.
To Reproduce

Initial state:

kubectl -n alpha get hpa notification-service-alpha-hpa
NAME                             REFERENCE                            TARGETS             MINPODS   MAXPODS   REPLICAS   AGE
notification-service-alpha-hpa   Rollout/notification-service-alpha   291%/80%, 30%/90%   1         2         2          28d

Then I disabled it and deployed the disabled config, then deleted the HPA from kubectl. The state at this time was:

kubectl -n alpha get hpa notification-service-alpha-hpa
Error from server (NotFound): horizontalpodautoscalers.autoscaling "notification-service-alpha-hpa" not found

The pod count went down to 1 (which is = replicaCount: 1 ).

Then I enabled it from deployment template and redeployed it. Now the state is:

kubectl -n alpha get hpa notification-service-alpha-hpa
NAME                             REFERENCE                            TARGETS             MINPODS   MAXPODS   REPLICAS   AGE
notification-service-alpha-hpa   Rollout/notification-service-alpha   245%/80%, 30%/90%   1         2         2          3m56s

At the present moment, there are still 2 running pods (HPA still using memory metrics).
Expected behavior
When TargetMemoryUtilizationPercentage is disabled, it should disable autoscaling based on memory.
Screenshots

Removing TargetMemoryUtilizationPercentage from the deployment-template won't disable it, it will take the default values from values.yaml, to disable it completely, give "" or "0"


Script entities stopped working in Google Assistant component

Home Assistant release with the issue: 0.80.0 (and 0.80.2)
Last working Home Assistant release: 0.79.3
Operating environment (Hass.io/Docker/Windows/etc.): Ubuntu 16.04 / Docker
Component/platform: Google Assistant (not cloud)
Description of problem:
I've recently uppdated HA to from 0.79.3 to 0.80.0.
Notice: Google Home also had a major update around this time. I have no idea if the scripts stopped working after HA update or Google Home update
Google Assistant Auth method was changed according to the docs (0.80.0 breaking change)
I had 2 scripts exposed to Google Assistant prior to the update, both worked fine.
After the update, the scripts no longer visible in Google Home app and I can't turn them on by voice.
I've tried exposing the scripts both by domain (script) and individually.
I have 2 thermostats and several switches configured the exact same way as the scripts and they DO work with the assistant.
I've triggered the google_assistant.request_sync service, and asked the assistant to 'sync my devices', still no scripts.
configuration.yaml:
google_assistant:
  project_id: !secret google_assistant_project_id
  expose_by_default: false
  api_key: !secret google_assistant_api_key
  entity_config:
    script.leaving_home:
      expose: true
      name: Leaving home

OR
google_assistant:
  project_id: !secret google_assistant_project_id
  expose_by_default: false
  api_key: !secret google_assistant_api_key
  exposed_domains:
    - script

@sagilo google had moved scenes scripts to other locations.  I tested this morning and my scripts work just fine.  In the home app go to your profile (4th icon bottom row), then select settings, then assistant tab, then select home control and you will see your scripts there.

Ohh I see that now. Not only did they moved it, they removed the aliases, so I called it by an unknown name.
Thank you

This is not an HA issue I think, Google Home just updated their GUI and scenes/scripts just don’t appear on the fron screen anymore.
Scripts aren’t missing though, they are just not shown as switches anymore. They are listed as scenes though. Go to your routines in Google Home (can now be found under settings), add/change a routine and then select that you want to change a scene (click on the configure icon next to it) - there you can selecht your HA scripts that you want to enable when calling this routine.

This is not an HA issue I think, Google Home just updated their GUI and scenes/scripts just don’t appear on the fron screen anymore.
Scripts aren’t missing though, they are just not shown as switches anymore. They are listed as scenes though. Go to your routines in Google Home (can now be found under settings), add/change a routine and then select that you want to change a scene (click on the configure icon next to it) - there you can selecht your HA scripts that you want to enable when calling this routine.

I agree. this is why this issue is closed...

Is there any way to expose scripts as switches?
Because my Google Home app doesn't have routine function and there is not assistant tab inside the setting page.
I think the reason is my region doesn't support Google Assistant yet...


Updated text and removed reference as "ASA"

Removed reference as ASA - this can be interpreted as Azure Synapse Analytics/Streaming Analytics if used without the right context

@raunakjhawar : Thanks for your contribution! The author(s) have been notified to review your proposed change. @hferrone


[BUG] Cannot create tls connector: invalid peer certificate: BadEncoding

Describe the bug
While executing wstunnel a BadEncoding error appears while parsing certificates
To Reproduce
I dont know how to reproduce it at this exact moment
Expected behavior
Should create a tunnel with any address given to it as a client
Screenshots

Desktop (please complete the following information):

OS: Windows 11
Browser Firefox v123
Version

Additional context
It never works, my language and region is Spanish/Spain and I've recompiled with different certificates encoding and I could not make it work

Would you mind sharing the certificate of the server ?

@erebe One of my "clients" has the exact same error occurring on his PC. But I can't reproduce it myself on Windows or Linux, and none of my other clients report the same issue.
I can provide a backtrace if needed but here is the reply of openssl s_client -connect ${WSTUNNEL_SERVER_IP}:${PORT} -showcerts
openssl.log
If anything else is required please do ask

Woud you mind trying this pre-release https://github.com/erebe/wstunnel/releases/tag/v9.2.4 and let me know if it fix your issue.
My guess is that there is an invalid certificate in the system store of the host/machine.

Should that be used on the client too? Hosting the server with that didn't fix the client's error.

it should be used client side yes, sorry. On the server it will not change anything

Would you mind sharing the certificate of the server ?

I don't know why this would be useful, as this happens with either the server active or not.
I tried the prerelease you mentioned and the tunnel now seems to work, the error is still there but it wont keep wstunnel from running
And yeah, your theory is correct as it seems, my windows, somehow, has an invalid certificate in the system store

Would you mind sharing the certificate of the server ?

I don't know why this would be useful, as this happens with either the server active or not.

I read too quickly the issue :see_no_evil:
The fix is released in version 9.2.4 https://github.com/erebe/wstunnel/releases/tag/v9.2.4


Fix a typo in test script

Fix the variable log_count

I hope this will fix the exit code 22 error in Github Action


Pre commit hooks

Set up various pre-commit hooks.
Each developer will need to run pip install -r requirements/local.txt followed by pre-commit install to get the benefit of the hooks.
If it turns out any hooks are unhelpful, we can remove them!

I'm going to merge this and try it out myself for a few days, and then we can decide whether we should encourage everyone (ie @sebbacon) to use it too.


Export named flags property with GDScript

The Texture resource has a "Flags" property in which you can select multiple elements in a list. There's no current way to export such a property via GDScript.

I suggest to expand in the current flags property format:
# This is the current format for flags, like the CanvasItem's Light Mask property:
export(int, FLAGS) var current_flags

# Suggested format for named flags:
export(int, FLAGS, "Name 1", "Name 2", "And so on") var named_flags

It should be relatively easy to add this, just a careful change in the GDScript parser to accept PROPERTY_HINT_FLAGS near the place where it parses the PROPERTY_HINT_ALL_FLAGS.

should be relatively easy to add this

:smiley:

change in the GDScript parser

:sob:
Can lend from _ENUM code to implement this, but before that:
Should any other currently unavailable hints be exposed to GDScript?
from source:

PROPERTY_HINT_NONE, ///< no hint provided.
PROPERTY_HINT_RANGE, ///< hint_text = "min,max,step,slider; //slider is optional"
PROPERTY_HINT_EXP_RANGE, ///< hint_text = "min,max,step", exponential edit
PROPERTY_HINT_ENUM, ///< hint_text= "val1,val2,val3,etc"
PROPERTY_HINT_EXP_EASING, /// exponential easing funciton (Math::ease)
PROPERTY_HINT_LENGTH, ///< hint_text= "length" (as integer)
PROPERTY_HINT_SPRITE_FRAME,
PROPERTY_HINT_KEY_ACCEL, ///< hint_text= "length" (as integer)
PROPERTY_HINT_FLAGS, ///< hint_text= "flag1,flag2,etc" (as bit flags)
PROPERTY_HINT_ALL_FLAGS,
PROPERTY_HINT_FILE, ///< a file path must be passed, hint_text (optionally) is a filter "*.png,*.wav,*.doc,"
PROPERTY_HINT_DIR, ///< a directort path must be passed
PROPERTY_HINT_GLOBAL_FILE, ///< a file path must be passed, hint_text (optionally) is a filter "*.png,*.wav,*.doc,"
PROPERTY_HINT_GLOBAL_DIR, ///< a directort path must be passed
PROPERTY_HINT_RESOURCE_TYPE, ///< a resource object type
PROPERTY_HINT_MULTILINE_TEXT, ///< used for string properties that can contain multiple lines
PROPERTY_HINT_COLOR_NO_ALPHA, ///< used for ignoring alpha component when editing a color
PROPERTY_HINT_IMAGE_COMPRESS_LOSSY,
PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS,

My opinions

I don't think there's any difference implemented between PROPERTY_HINT_RANGE and PROPERTY_HINT_EXP_RANGE.
PROPERTY_HINT_SPRITE_FRAME is kinda specific (used for frame selection in Sprite type nodes), but it's basically a _RANGE that automatically increments the value when inserting it as a key in animation player. Might be useful...?
No idea about PROPERTY_HINT_LENGTH & PROPERTY_HINT_KEY_ACCEL.
Adding PROPERTY_HINT_FLAGS makes sense, although I'm kinda worried about people getting confused about bitwise operations. But we already added _ALL_FLAGS anyway.
Don't think PROPERTY_HINT_GLOBAL_FILE/_DIR is a good idea. Beginners will see these and miss the fact that the files won't be available on other machines.
Instead of PROPERTY_HINT_IMAGE_COMPRESS_LOSSY & PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS, users can just use PROPERTY_HINT_FILE. I don't think these are suited for anything other than Texture objects.

Well, most of it does not makes sense as property hints for GDScript.

None of these seems to be implemented in the property editor: PROPERTY_HINT_LENGTH, PROPERTY_HINT_KEY_ACCEL, PROPERTY_HINT_IMAGE_COMPRESS_LOSSY, PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS. Also remember that you can use a resource type as hint (such as Texture).
I can't find anything special about PROPERTY_HINT_EXP_RANGE.

Some of those might work:

PROPERTY_HINT_SPRITE_FRAME may be useful in some cases (assuming it's possible to animate exported properties), but I'm not sure how this would work from GDScript. Maybe can be a special case for the RANGE hint.
I also agree that PROPERTY_HINT_GLOBAL_FILE/_DIR may not be a good idea. It might be misleading and one should not blindly get a path that might not exist in the player's system. This could be useful in some cases (specially for plugins), but it must be treated very carefully, so I'm not really sure.

About PROPERTY_HINT_FLAGS, that's what my initial issue was about, so I think this is useful. It must be properly documented, so people can use it properly, but this should no be an issue.
Want to see input from other collaborators about this.

Second thoughts on this:

Looked into PROPERTY_HINT_EXP_RANGE, it sets the range's exp_unit_value to true, which changes functionality in Range::set_unit_value and Range::get_unit_value. So I think it's rational to expose it as well.
PROPERTY_HINT_SPRITE_FRAME sets the range to min=0 max=99999 step=1. Setting a different range configuration might require a little hack.
For PROPERTY_HINT_GLOBAL_FILE/_DIR, maybe we can come up with some dangerous sounding export hint like (DIR, UNSAFE). I guess unsafe is a bad pick though, makes it seem related to threading.

Adding discussed export hints, some insights:

PROPERTY_HINT_EXP_RANGE does actually have an effect: To see it, click the Particles2D property config/amount, then press enter twice. A slider will popup, using an exponential scale.
However, trying to move it using the mouse will show an issue: There is an offset between slider and cursor. I'm fixing this as well.
I'm implementing PROPERTY_HINT_GLOBAL_FILE/_DIR while restricting them to tool scripts. I don't think there's any use for these in any other situation (but feel free to suggest otherwise), so this seems like the cleanest solution to me.
Will implement PROPERTY_HINT_FLAGS as suggested.
For PROPERTY_HINT_SPRITE_FRAME, I don't think such a tiny difference is worth the effort. Maybe if someone specifically requests it...

@eska014 :+1: Thanks a lot!

yes, it makes sense to expose

awaiting a pr then?

Yes, already on my fork, will PR soon


.NET Core 3.1 Preview2 IntelliSense (English)

@ahsonkhan @safern please review.
Explanation:

Here is the actual PR  that bumps the IntelliSense in corefx 3.1 using the nupkg file uploaded to the blob (the PR that matters).
This PR's purpose is to simply keep a change history for our IntelliSense files, so people can know what is included in the nupkg from the other PR.
Eventually this branch will go away and we will automate the process. There won't be a need to do this.

CC @mairaw

@ahson should I have named this nupkg "Preview1", since we are already one version behind?

@ahson should I have named this nupkg "Preview1", since we are already one version behind?

Yes please. Also, you tagged the wrong person :p


Export client lib's init symbol

cc https://github.com/canselcik/libremarkable/issues/65

I think I understand the idea here, but I’m not sure using librm2fb_client symbols explicitly in clients is the best way forward. This lib is actually a bit of a misnomer, since it’s not only a client lib but first and foremost an rM1-compatibility shim meant for existing clients that do not know about rm2fb. It would be cleaner in my opinion to move the client API into a separate lib.

Yes I was half expecting this reply. The best way forward to me would be to produce a Rust version of said separate client lib so it can be easily depended upon by libremarkable.
Which parts of https://github.com/ddvk/remarkable2-framebuffer/blob/ae0da99d0f6d8e6d77c0dffcbab503dd50d985e4/src/client/main.cpp are actually needed to drive a rM2 (provided the server part is already in place)?
Thanks

Yes I was half expecting this reply. The best way forward to me would be to produce a Rust version of said separate client lib so it can be easily depended upon by libremarkable.

i'm a bit confused here - this is a shim, if you want libremarkable to directly work with rm2fb, you will probably only have to implement two pieces: opening /dev/shm/swtfb.01 and forwarding relevant ioctls on that FD to the rm2fb server using IPC. all that logic is contained in the init, open, open64, close and ioctl overrides in the file you linked

see https://github.com/ddvk/remarkable2-framebuffer/issues/11 for description of how the IPC works ("how to write an IPC client for rm2fb")

@fenollp @LinusCDE Can we close this PR now that you are working on canselcik/libremarkable#78?

I think so.
This was meant for binding directly to it, and we have abandoned this since the dependencies seemed way to complex to easily and portably integrate (integrating libstd++ and wt which seems to require libc would be very hard for musl builds).


Add optional sortBy function

Why
Currently the sorting of elements returned from the Store is done adhoc. The Demo code does this inside the view layer.
For the use case I have in mind, the sorting logic is a bit more complex and the same store is used in several places throughout the app. Duplicating the sorting logic in several places like this doesn't seem like a good idea.
How
The PR adds an optional sortBy: (Item, Item) -> Bool function to the Store.

Hey @JanGorman! Really appreciate not only the idea, but the initiative to put up a pull request. I'll have to take a closer look at this over the next few days, I'm currently pretty heads down on some work. Hope that's ok, I want to make sure I give this the same thought and consideration that you gave the patch!

Thanks @mergesort. I totally understand, take your time!

Sorry this took me a bit @JanGorman, between releasing the first public beta of my app and taking the time to think through this change it took me longer to get around to this than I'd hoped. That did give me some time to figure out what I wasn't sure about the approach posted here, and how I'd consider correcting it.
The reason I've considered adding a sortBy parameter before and ended up deciding not to is because this is code that isn't inherently meaningful to put in the Store. I would be more inclined to add it if there was some way that it tapped into the underlying StorageEngine, for example if it made the underlying SQLiteStorageEngine's SQL query more efficient.
The purpose of sorting is almost always for display purposes, and a Store can be accessed in multiple places, both of those interactions happen the app level rather than at the library layer. I understand that's why you made the parameter optional, so users can opt out, but I feel a little hesitant about moving that logic down into the Store rather than something like an extension on Array at the app level. An example of where this is a concern is that if we decide we no longer want to sort but instead want to filter, we would have to add a filterBy parameter to the initializer as well.
For the use case you describe I would likely express it as such, centralizing the logic in one place without having to repeat your sorting code.
public extension Array where Element == Tag {

    mutating func sort(by: (Item, Item) -> Bool) {
        ...
    }

    mutating func filter(where: (Item, Item) -> Bool) {
        ...
    }

    mutating func someComplexLogicYouCanCentralizeAndCallOnTheStoresItems(…) {
        ...
    }

}

I'd like to know what you think of that, and I always aim to be constructive so I'd also be happy to think through another potential option I've considered before. It may be worth exposing a function that lets you do arbitrary but centralized changes to the underlying array, whether that's filtering, sorting, or any other modification. I'm not 100% sure how it should look but I've considered something with the shape of (name tbd) process(_ items: inout [ Item ]). I still think that should likely live at the app-layer, but I'd be happy to have a very open-minded discussion.
How does all of that sound Jan?

Thanks for taking the time and the very thorough answer 🙏
And you mention exactly the two points that crossed my mind as well:

that once you start adding the option to sort, where do you draw the line or do you end up adding parameters for all methods that exist on Array…
how could this be made more efficient by leveraging SQL

I think the alternative that you propose to wrap access to the Store in a centralised place in the app is a valid approach that I'll explore further.
Again thanks for the answer and for putting out the library. Appreciated!

Thanks a lot for the effort and understanding @JanGorman, both are genuinely appreciated! 🙇🏻♂


[FEATURE] Allow request-level customization of system and user prompts used in RAG

Is your feature request related to a problem?
Today, prompts to LLMs are fixed at the (search) pipeline level.  Sometimes, especially during active development, we would like to be able to try a number of different prompts both as system prompts and user prompts.
What solution would you like?
Allow search requests to take system and user prompts.
What alternatives have you considered?
None.
Do you have any additional context?
Add any other context or screenshots about the feature request here.

I will create a new PR from https://github.com/austintlee/ml-commons/pull/1 once https://github.com/opensearch-project/ml-commons/pull/2213 is pushed.

Merged in 2.13.


Add GitHub links to Qiskit v0.43 API docs

Part of https://github.com/Qiskit/documentation/issues/454. Note that Qiskit 0.43 refers to Qiskit Terra 0.24.

The CI failure is a flake. Merging.


Any attempt to support Web USB?

Is there any attempt to support Web USB so we can flash devices from Chrome?

Thank you for your information, we are looking for it


Eliminate linear factor in Engine's consume method

Rough measurements. Note that my machine had slightly different amounts of load running, so this is mainly to see improves along the lines of several X vs %:
- ReluctantQuant 197ms
- ReluctantQuantWithTerminal 248ms
- EagarQuantWithTerminal 76.1ms
- BasicBacktrack 456ms
- BasicBacktrackFirstMatch 459ms
- cssRegex 298ms
- FirstMatch 147ms
- AllMatches 953ms

After

- ReluctantQuant 212ms
- ReluctantQuantWithTerminal 267ms
- EagarQuantWithTerminal 79.6ms
- BasicBacktrack 22.4ms
- BasicBacktrackFirstMatch 22.4ms
- cssRegex 102ms
- FirstMatch 151ms
- AllMatches 40.3ms

@swift-ci please test

Merging to unblock some other improvements and cherry-picking


No way to map between USB device and storage/network resource

Required information

Distribution: Ubuntu
Distribution version: 20.10
The output of "lxc info" or if that fails:

Kernel version: 5.8.0-29-generic
LXC version: 4.0.5
LXD version: 4.8
Storage backend in use: LVM

Issue description
MAAS 2.10 will model all PCIE and USB devices using LXD output. MAAS will also create associations between existing storage and network models with PCIE and USB models. MAAS can use the device_path of network and storage devices to map them to the pci_address of network and storage devices. For USB devices LXD does not give MAAS enough information to determine which network/storage device maps to which USB device.
Below is the storage and USB output for a USB disk. The only way I can determine the association is by name which won't work when the system has more than one of the same device.
{
          "id": "sda",
          "device": "8:0",
          "model": "U3 Cruzer Micro",
          "type": "usb",
          "read_only": false,
          "size":<PHONE_NUMBER>,
          "removable": true,
          "numa_node": 0,
          "device_path": "pci-0000:00:14.0-usb-0:2:1.0-scsi-0:0:0:0",
          "block_size": 512,
          "firmware_version": "4.05",
          "rpm": 0,
          "serial": "000018626575A3E7",
          "device_id": "usb-SanDisk_U3_Cruzer_Micro_000018626575A3E7-0:0",
          "partitions": [
            {
              "id": "sda1",
              "device": "8:1",
              "read_only": false,
              "size":<PHONE_NUMBER>,
              "partition": 1
            },
            {
              "id": "sda2",
              "device": "8:2",
              "read_only": false,
              "size": 4063232,
              "partition": 2
            },
            {
              "id": "sda3",
              "device": "8:3",
              "read_only": false,
              "size":<PHONE_NUMBER>,
              "partition": 3
            }
          ]
        }

{
          "bus_address": 1,
          "device_address": 30,
          "interfaces": [
            {
              "class": "Mass Storage",
              "class_id": 8,
              "driver": "usb-storage",
              "driver_version": "5.8.0-29-generic",
              "number": 0,
              "subclass": "SCSI",
              "subclass_id": 6
            }
          ],
          "product": "U3 Cruzer Micro",
          "product_id": "5406",
          "speed": 480,
          "vendor": "SanDisk Corp.",
          "vendor_id": "0781"
        },

Hmm and you had that information before through some other tool?
Because looking around at sysfs and the udev database, neither seem to record a link from a particular instance of a usb-storage or usb-net stack and its underlying port...

I think I found a way to get the information we need, no idea if it's reliable though.

Thanks for the fix! Verified I can now map USB storage and network devices to their USB entry. I think this should be good enough for now, I'm just starting to model all hardware for 2.10, we'll be doing more advanced config in the future :)


Miscellaneous v1 API updates

Ensure tests fail if more events than expected are sent to TestReporter
Ensure no periodic runtime metrics messages sent to TestReporter while tests are running

Coverage remained the same at 100.0% when pulling 7fa04d4cf82b529af1af0c5be4f011cdfca2db0d on v1updates into c7b13aa157277e5682165fcf888cf28992a407a0 on master.

[Current coverage][cc-pull] is 100%

Merging [#23][cc-pull] into [master][cc-base-branch] will not change coverage

@@           master   #23   diff @@
===================================
  Files          13    13
  Lines         893   894     +1
  Methods         0     0
  Messages        0     0
  Branches        0     0
===================================
+ Hits          893   894     +1
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last updated by [c7b13aa...7fa04d4][cc-compare]
[cc-base-branch]: https://codecov.io/gh/appneta/go-appneta/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/appneta/go-appneta/compare/c7b13aa157277e5682165fcf888cf28992a407a0...7fa04d4cf82b529af1af0c5be4f011cdfca2db0d
[cc-pull]: https://codecov.io/gh/appneta/go-appneta/pull/23?src=pr

Coverage remained the same at 100.0% when pulling e44c7bc1501a3f266216c4f8e4124ef80e48459a on v1updates into c7b13aa157277e5682165fcf888cf28992a407a0 on master.

Coverage remained the same at 100.0% when pulling a320dce0fee142c7158cfddf0a685c7ef818809f on v1updates into c7b13aa157277e5682165fcf888cf28992a407a0 on master.


More type safety

This builds upon #370 and replaces more occurrences of the untyped Value with the more structured CommandValue, improving type safety in the code base.

This PR is now already based on: https://github.com/kadena-io/pact/pull/383 so remote verification does work on this branch.

As far as I can tell, the test suite failure is the same as for @emilypi 's PR, which is being worked on according to @slpopejoy .

Happy to see this change -- nice work!

An update from @eskimor here: https://github.com/kadena-io/pact/issues/386
If it starts acting up deterministically again, I'll have @vaibhavsagar take a look at it for us, but if the reordering is a stable fix, we should be good to go.

Closing as discussed with @mightybyte .


e2e:serial: unschedulable numa level test

This test creates a deployment with multiple replicas with a pod that is not fit into a node at the numa-level, meanning that there are enough resources in all numa nodes together, but not enough in each one of them, so all pods` replica scheduling must be failed.
In the next step we're reducing the amount of resources requests by the pod and expect at least some of the replicas to be running.
Signed-off-by: Talor Itzhak<EMAIL_ADDRESS>

Had a pass, looks good! let's make sure this works as intended on a multi-numa multi-worker cluster, address the inline comments and we should be able to merge

/hold
Need to verify locally

/hold cancel
Verified locally

/lgtm

needs rebase :\

/lgtm
thanks for the very quick rebase


Configs update

Added Dockerfile
Other configs updated
.eslintrc config rules changed

.eslintrc updated for React >=17 (react-in-jsx-scope)

Updated and added more comments to .env.example


How to publish traccar on WEB

Gentlemen, I managed to run the web traccar on my server but would like to use the web client at: teste.autointacto.com.br. I have found no documentation about it. can you help me ?

Do you mean you want to install it on hosting? You need a VPS to host Traccar server.

Thanks, Tananaev !

Is there a step by step guide on how to install to a VPS?
After downloading and extracting the linux zip, when running the ./traccar.run file, I'm getting a permission denied error. Despite running it as sudo.

@younus93, are you using CentOS on your VPS? I have heard about this issue a few times (e.g. #101). I will try to fix it for next release, but for now you have to extract files manually and run setup shell script.

I'm using Ubuntu 12.02 LTS on VPS. Could you please tell me where to find the files to extract and run shell script?

Traccar installer is made using makeself (http://stephanepeter.com/makeself/). You can use command line arguments to extract files and then run setup.sh manually.

You can buy a good VPS server ( 1 x 2.4 Ghz CPU, 1GB Ram, 40 GB Storage, 1 Terabyte monthly Transfer) starting at EUR 0.99 by month at http://www.time4vps.eu/aff.php?aff=181 . If you buy this VPS server I can give you the Traccar server already installed on it using Ubuntu 14.04. IF you are interested please send me an e-mail.

@superservidor, please stop spamming with your links in all threads.

OK, sorry, I only wanted to help. !!!

It makes sense if your message is relevant to the topic and the topic is recent. This one is 3 months old, so it just spam.

OK, Understood. In this case the published info is relevant for the user, but it was posted out-of-date. I will take care of if. Tks.


Issue with OCR

Hi, I've installed all the required packages with pip3, I don't have any error message, but the answers proposed by CashShow are not "read" by the OCR. I precise that Vysor windows is at the left of the screen.

It's because of the "Prize for this question is 150" , It works best for HQ. I'm gonna have to change the code to take two separate screenshots for question and options. The code doesnt expect the Prize for this question , sorry about that

no problem :)
do you think it's complicated to modify ?

I still have the issue with your new version :(

It's not i haven't gotten around to it.

Hello Sushant10, Any news for this issue ? thanks


feature request: disable post-deploy hook

There's an incompatibility with plugins that auto-generates some handler files, like the serverless-lumigo plugin, which creates wrapper modules during deployment and then deletes them.
So when the manifest plugin runs after that, it errors, e.g.
  Error --------------------------------------------------

  Error: File "_lumigo/createProfile.js" not found. /Users/yancui/SourceCode/FattalSPRL/nova-sports-app/NovaSportsBackend/graphql-api/_lumigo/createProfile.js missing

But I only really need to generate the manifest before I run my tests, which works just fine.
It would be great to have an option to disableAutoGeneration or something like that which turns off the post-deployment hook.

Interesting...
So you have a plugin that is generating temporary functions that are deployed but then the code is deleted locally?
What’s the reason they are deleted?
One thing the manifest plugin does is scans all your deployed dependancies & lists them, this would include lumingo sdk etc.
I see the limingo folder there as well. Does that entire folder get deleted after deploys?

They're deleted after the deployment because they don't belong to the repo per se.
Say, a customer tries out lumigo, deploys their project, and if we don't delete those generated modules, what do they do with them? Do they delete them manually? Do they leave them there, would someone else look at them later and think, mm.. weird, what are those things, we don't reference them from our serverless.yml anywhere. And if the client decides not to continue with Lumigo after the free trial, then there's even less context as to what those files are for. So, there's really no up-side for keeping them around, at least none that I could think of.
Even the Lumigo tracer SDK is install on pre-package, and then uninstall on post-deployment, and the only place the SDK is referenced is in the temporary, generated files. So from a user's perspective, there's no change to your project besides installing the plugin and configuring your lumigo_token in the serverless.yml.
The entire folder gets deleted, and the lumigo_tracer is also uninstalled as well.

Makes sense. What about jamming the functions into the .serverless hidden folder?
The .serverless folder gets blown away every time there is a new deployment.
Alternatively, there is a utility I created that automagically adds folders to user's gitignore files too if that helps here. https://github.com/DavidWells/serverless-manifest-plugin/blob/master/src/utils/gitignore.js#L86 you could add lumigo folder to gitignore
Presenting these alternatives b/c I was to keep the options here to a minimum 😅

The wrapped functions needs to be bundled, is the content of .serverless folder bundled into the s3 artefact?

Nope. Anything extra placed in the .serverless folder gets blown away every deployment.
Then the folder .serverless gets recreated and only the function contents are deployed from what I can see. (No manifest.json in the function s3 buckets)
You could write to .serverless/lumigo/createProfile.js if you want these to be automatically deleted/regenerated by the framework.
I will add the disableAutoGeneration for ya though. I might not document it tho. 😃

Just released a new version with disablePostDeployGeneration option in<EMAIL_ADDRESS>custom:
  manifest:
    disablePostDeployGeneration: true

This will disable the manifest creation after sls deploy is ran. To generate the manifest with this option on, you will need to run sls manifest command

I think I might have misrepresented the purpose of those temporary files. So those temporary flies the lumigo plugin spits out ARE the function handler modules that will be shipped:

So they need to be included in the zip.
If I understand you correctly, they can't live in the .serverless in that case.
And, thanks for adding the option!


ARI Security Checks Report Incorrect Recommendation for the Guest Agent

While reviewing the ARI XLSX output, we observed that it recommends that the "guest configuration extension should be installed on machines" for VMs that currently have the guest agent installed.
When I go to the identified VM and select Overview -> Virtual Machine I see the following:

Am I misunderstanding the recommendation? If so, links to Microsoft Support articles might be helpful.

Hi @wingcomm
What do you mean by "Guest Configuration Extension should be installed on machines"?
The Excel file has 3 columns that might be related to extensions:

At the top of all those columns you can click the column name and it will open the official Microsoft documentation regarding that extension.

Hi @Claudio-Merola This is on the "Advisory" sheet of the ARI XLSX output. On the problem column, we are seeing "guest configuration extension should be installed on machines" on VMs that have the guest agent installed.

bump to avoid “no issue activity.”

Hello there @wingcomm,
The Advisory sheet gets information directly from Azure Advisor. It has no relation with the information present in the other sheets


How to apply the Joy UI style to components from different libraries ?

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
I developed a web app using JOY UI as the primary UI library. However, I needed some complex components such as Kanban board and text editor which were not available in JOY UI. So, I had to use another library called Syncfusion. But the problem is that this library's components have a different style than JOY UI. Furthermore, if I change the mode to dark or light or change the variant, these components don't change accordingly.
I want to make these components use the same style (theme) as JOY UI. What is the easiest way to achieve this?
import { ColumnDirective, ColumnsDirective, KanbanComponent } from "@syncfusion/ej2-react-kanban";
import Box from "@mui/joy/Box";
import { kanbanData, kanbanGrid } from "../data/dummy";
// import { Header } from '../components';

const Kanban = () => (
	<Box variant="plain" color="primary">
		{/* <Header category="App" title="Kanban" /> */}
		<KanbanComponent id="kanban" keyField="Status" dataSource={kanbanData} cardSettings={{ contentField: "Summary", headerField: "Id" }}>
			<ColumnsDirective>
				{/* eslint-disable-next-line react/jsx-props-no-spreading */}
				{kanbanGrid.map((item, index) => (
					<ColumnDirective key={index} {...item} />
				))}
			</ColumnsDirective>
		</KanbanComponent>
	</Box>
);

export default Kanban;

Current behavior 😯
No response
Expected behavior 🤔
No response
Context 🔦
No response
Your environment 🌎

npx @mui/envinfo
System:
    OS: Windows 10 10.0.19045
  Binaries:
    Node: 18.17.1 - E:\Apps\scoop\persist\nvm\nodejs\nodejs\node.EXE
    Yarn: 1.22.19 - E:\Apps\scoop\persist\nvm\nodejs\nodejs\yarn.CMD
    npm: 10.1.0 - E:\Apps\scoop\persist\nvm\nodejs\nodejs\npm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Spartan (18.2.0), Chromium (18.2.0), ChromiumDev (18.2.0)
  npmPackages:
    @emotion/react: ^11.11.1 => 11.11.1
    @emotion/styled: ^11.11.0 => 11.11.0
    @mui/base:  5.0.0-beta.22
    @mui/core-downloads-tracker:  5.14.16
    @mui/icons-material: ^5.14.16 => 5.14.16
    @mui/joy: ^5.0.0-beta.13 => 5.0.0-beta.13
    @mui/material:  5.14.16
    @mui/private-theming:  5.14.16
    @mui/styled-engine:  5.14.16
    @mui/system:  5.14.16
    @mui/types:  7.2.8
    @mui/utils:  5.14.16
    @types/react: ^18.2.15 => 18.2.35
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    typescript:  3.9.10

@issam-seghir According to the @syncfusion/ej2-react-kanban documentation, you can only customize their styles using CSS classes: https://ej2.syncfusion.com/react/documentation/kanban/style
So if you want to make it look like Joy UI, you'll have to refer to the Joy UI source code and recreate it from scratch 😅


Read helix handedness in PDB format

I'm looking for a way to read helix handedness in PDB format.
I see left and right are merged into secondary_structure property, what to you think about splitting into "left alpha helix" and "right alpha helix"? Not sure if this is the best solution, maybe passing the helix type number into a new property could be more flexible for the user.

I don't see any issue with making more data accessible to the user. @frodofine, does this seems sensible to you?

Sounds good to me, it's a string property so this should be easy.

@sguionni do you have an example of a file containing left-handed helix? I can not find any on the PDB archive

@Luthaf yes: 1ptm, chain A, residus 211-216.
You can find more in this paper: https://www.sciencedirect.com/science/article/abs/pii/S0022283605000707?via%3Dihub (table 1)

The helix do not seems to be saved as left-handed in the PDB file: https://files.rcsb.org/view/1PTM.pdb. If I'm not mistaken, the corresponding line is
HELIX    9   9 ASN A  209  HIS A  217  5                                   9

with an helix code of 5 meaning Right-handed 3 - 10
In the paper, it looks like they re-did the helix assignment manually, and did not use the HELIX records from the files. I'll look at the other files to double check.

1NPC seems to have a left handed helix record in the PDB file, so I'll use it as a test case!

Ok cool! I gave you infos from my colleagues, i'm personnally not an expert of files.


[FEATURE REQUEST] Add support for the native macOS platform

I like your service and am creating a native macOS SwiftUI app with RevenueCat. However, when I checked the Superwall documentation for information on native macOS support, I could not find any.
Subsequently, I reached out to your support team and received the following response:

Unfortunately, I cannot use Superwall for my purpose. However, I believe that adding native macOS support to the Superwall service could greatly enhance its usability and attract more users.

Hey, thanks for the suggestion. You can use Superwall with Mac Catalyst or MacOS (Built for iPad) but yes currently we don't support native SwiftUI mac apps. Definitely something we want to support in the future!

It's quite far down in our backlog unfortunately. Tentatively looking at Q1 next year


update tools.js

Team mode compatibility.

This needs to be included in https://github.com/sirDonovan/Cassius/pull/3 for the test to pass.


Permission Interamerican University

@gummigiovannie Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


lib: parse encode config params from variants dict

Encode test params should be wrapped inside their
own dict to prevent accidental class variable
conflicts as found in #323.

pre-check will fail because it requires smoke config updates.


Script to run all benchmarks

This PR adds a script to run all benchmark (ci/benchmark.sh). It takes following options:

FEATURES=: is a comma-separated list of featues (e.g. FEATURES=ispc,coresimd,sleef-sys)
NORUN=1: only builds benchmarks, does not run them

This script identifies examples in the example/ that contain a benchmark.sh script in them, and executes that. These scripts have been added for aobench, mandelbrot, and stencil, and take the same options as the parent script (FEATURES and NORUN), and these examples have been slightly adapted so that these scripts can work.
They all use hyperfine to execute the binary multiple times, so these benchmarks measure whole binary execution time which includes output, printing to the screen, etc. instead of just how long does it take for the kernel to run.
The PR also adds two build-bots that build all benchmarks on x86-64-unknown-linux-gnu and x86-64-apple-darwin.

So this is not extremely great, since it times the binaries, such that I/O time, etc. pollute the benchmarks results, but it does so for both the packed_simd and the ispc benchmarks equivalently so at least the comparisons should be apples to apples.
For debugging performance issues one will have to dig deeper anyways, I just wanted to have a relatively easy way to run all benchmarks in some platforms.


Compiler issue

Just got the following error:
Launching lib/main.dart on iPhone XR in debug mode...
Compiler message:
Warning: Tried to initialize from a previous compilation (build/app.dill), but the file was not self-contained. This might be a bug. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new.
I'm not sure what the actual problem was, however: it went on to compile perfectly.
Doctor:
[✓] Flutter (Channel dev, v0.11.0, on Mac OS X 10.13.6 17G65, locale en-GB)
• Flutter version 0.11.0 at /Users/nicford/development/flutter
• Framework revision c319b890b3 (11 days ago), 2018-10-29 19:44:36 -0700
• Engine revision 162b2e98c0
• Dart version 2.1.0 (build 2.1.0-dev.8.0 bf26f760b1)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.0)
• Android SDK at /Users/nicford/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.0
• ANDROID_HOME = /Users/nicford/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 26.0.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] VS Code (version 1.25.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.20.0
[✓] Connected device (1 available)
• iPhone XR • 3BD28F85-9698-4D2E-B7EE-D9F60127725C • ios • iOS 12.1 (simulator)
• No issues found!

This appears to be another instance of #36032

Closing as duplicate.


Bundle icu4c

The extra setup steps are getting to me now. Really, really don't want to have to remember to brew install icu4c again. Its also breaking my travis builds. :(
Another approach would be to spin off a libicu gem for just the source. We could also attempt binary builds that way as well.
/cc @brianmario @tmm1 @rtomayko @tanoku

fwiw you can add this to your .travis.yml too:
before_script:
  - "apt-get install libicu-dev"

But, I'd still like to get around having to install it :)

I'm really interested in this topic. I'm trying to install the Gem on Heroku, where unfortunately the libicu-dev library is not available.
Just to let you know, I tried with this branch but it's still raising an error.
Using charlock_holmes (0.6.8) from https://github.com/brianmario/charlock_holmes.git (at bundle-icu) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
/usr/local/lib/ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/usr/local/bin/ruby extconf.rb
-- tar zxvf icu4c-4_8_1-src.tgz
-- ./configure --prefix=/tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/bundler/gems/charlock_holmes-0fa4d3ff22e3/ext/charlock_holmes/dst/ --disable-tests --disable-samples --disable-icuio --disable-extras --disable-layout --enable-static
-- make install
checking for main() in -licui18n... no
***************************************************************************************
********* error compiling and linking icu4c. please report issue on github *********
***************************************************************************************
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby
--with-icu-dir
--without-icu-dir
--with-icu-include
--without-icu-include=${icu-dir}/include
--with-icu-lib
--without-icu-lib=${icu-dir}/lib
--with-icui18nlib
--without-icui18nlib
Gem files will remain installed in /tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/bundler/gems/charlock_holmes-0fa4d3ff22e3 for inspection.
Results logged to /tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/bundler/gems/charlock_holmes-0fa4d3ff22e3/ext/charlock_holmes/gem_make.out
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:486:in `block in build_extensions'
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:446:in `each'
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:446:in `build_extensions'
from /tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/source.rb:443:in `generate_bin'
from /tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/source.rb:564:in `install'
from /tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/installer.rb:73:in `block in install_gem_from_spec'
from /tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/rubygems_integration.rb:93:in `with_build_args'
from /tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/installer.rb:72:in `install_gem_from_spec'
from /tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/installer.rb:56:in `block in run'
from /tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/installer.rb:55:in `run'
from /tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/installer.rb:12:in `install'
from /tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/cli.rb:219:in `install'
from /tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/vendor/thor/task.rb:22:in `run'
from /tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/vendor/thor.rb:263:in `dispatch'
from /tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/vendor/thor/base.rb:386:in `start'
from /tmp/build_22v1vaioxw0z6/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/bin/bundle:13:in `<top (required)>'
from vendor/bundle/ruby/1.9.1/bin/bundle:19:in `load'
from vendor/bundle/ruby/1.9.1/bin/bundle:19:in `<main>'

Good point. We really want this to help support heroku.

I can't seem to get to work anymore.
$ bundle exec rake
/Users/josh/.rbenv/versions/1.9.3-p0/bin/ruby -I. ../../../../ext/charlock_holmes/extconf.rb
  -- tar zxvf icu4c-4_8_1-src.tgz
  -- ./configure --prefix=/Volumes/Scratch/charlock_holmes/ext/charlock_holmes/dst/ --disable-tests --disable-samples --disable-icuio --disable-extras --disable-layout --enable-static
  -- make install
checking for main() in -licui18n... yes
checking for unicode/ucnv.h... yes
  -- tar zxvf file-5.08.tar.gz
  -- ./configure --prefix=/Volumes/Scratch/charlock_holmes/ext/charlock_holmes/dst/ --disable-shared --enable-static --with-pic
  -- make -C src install
  -- make -C magic install
checking for main() in -lmagic_ext... yes
checking for magic.h... yes
creating Makefile
make
compiling ../../../../ext/charlock_holmes/converter.c
../../../../ext/charlock_holmes/converter.c: In function ‘rb_converter_convert’:
../../../../ext/charlock_holmes/converter.c:19: warning: implicit conversion shortens 64-bit value into a 32-bit value
../../../../ext/charlock_holmes/converter.c:7: warning: unused parameter ‘self’
../../../../ext/charlock_holmes/converter.c: At top level:
../../../../ext/charlock_holmes/common.h:24: warning: ‘charlock_new_str’ defined but not used
../../../../ext/charlock_holmes/common.h:33: warning: ‘charlock_new_str2’ defined but not used
compiling ../../../../ext/charlock_holmes/encoding_detector.c
../../../../ext/charlock_holmes/encoding_detector.c: In function ‘rb_encdec_detect’:
../../../../ext/charlock_holmes/encoding_detector.c:100: warning: implicit conversion shortens 64-bit value into a 32-bit value
../../../../ext/charlock_holmes/encoding_detector.c: In function ‘rb_encdec_detect_all’:
../../../../ext/charlock_holmes/encoding_detector.c:149: warning: implicit conversion shortens 64-bit value into a 32-bit value
../../../../ext/charlock_holmes/encoding_detector.c: At top level:
../../../../ext/charlock_holmes/common.h:15: warning: ‘charlock_new_enc_str’ defined but not used
compiling ../../../../ext/charlock_holmes/ext.c
../../../../ext/charlock_holmes/common.h:15: warning: ‘charlock_new_enc_str’ defined but not used
../../../../ext/charlock_holmes/common.h:24: warning: ‘charlock_new_str’ defined but not used
../../../../ext/charlock_holmes/common.h:33: warning: ‘charlock_new_str2’ defined but not used
linking shared-object charlock_holmes/charlock_holmes.bundle
/Users/josh/.rbenv/versions/1.9.3-p0/bin/ruby -S bundle exec rspec ./spec/converter_spec.rb ./spec/encoding_detector_spec.rb ./spec/string_method_spec.rb
/Volumes/Scratch/charlock_holmes/lib/charlock_holmes.rb:1:in `require': dlopen(/Volumes/Scratch/charlock_holmes/lib/charlock_holmes/charlock_holmes.bundle, 9): Library not loaded: libicui18n.48.dylib (LoadError)
  Referenced from: /Volumes/Scratch/charlock_holmes/lib/charlock_holmes/charlock_holmes.bundle
  Reason: image not found - /Volumes/Scratch/charlock_holmes/lib/charlock_holmes/charlock_holmes.bundle
	from /Volumes/Scratch/charlock_holmes/lib/charlock_holmes.rb:1:in `<top (required)>'
	from /Volumes/Scratch/charlock_holmes/spec/spec_helper.rb:3:in `require'
	from /Volumes/Scratch/charlock_holmes/spec/spec_helper.rb:3:in `<top (required)>'
	from /Volumes/Scratch/charlock_holmes/spec/converter_spec.rb:3:in `require'
	from /Volumes/Scratch/charlock_holmes/spec/converter_spec.rb:3:in `<top (required)>'
	from /Users/josh/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in `load'
	from /Users/josh/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in `block in load_spec_files'
	from /Users/josh/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in `map'
	from /Users/josh/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in `load_spec_files'
	from /Users/josh/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:18:in `run'
	from /Users/josh/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in `run_in_process'
	from /Users/josh/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:69:in `run'
	from /Users/josh/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:11:in `block in autorun'
rake aborted!
ruby -S bundle exec rspec ./spec/converter_spec.rb ./spec/encoding_detector_spec.rb ./spec/string_method_spec.rb failed

Tasks: TOP => default => spec
(See full trace by running task with --trace)


Prefer is_file()

Description
file_exists() will confirm hit on any system object (e.g. directory) as well as being less efficient. This switches to is_file() wherever relevant.
Checklist:

[X] Securely signed commits
[X] Component(s) with PHPDoc blocks, only if necessary or adds value
[X] Unit testing, with >80% coverage
[ ] User guide updated
[X] Conforms to style guide

@MGatner  I know not related to these PR.
But I can ask you to check filesystem as well.
I believe the return of the folder name does not make sense.
output :
Array
(
    [0] =><PHONE_NUMBER>2815_backup_files.zip
    [1] => folderName
    [2] => folderName\20220524212814_backup_files.zip
)

Output what I expect:
Array
(
    [0] =><PHONE_NUMBER>2815_backup_files.zip
    [1] => folderName\20220524212814_backup_files.zip
)


Feature request: add IOSQE flag which indicates specified sqe won't wake up io_uring_enter

For IOSQE_IO_LINK link chain, people usually don't care operations before the whole link chain is completed.
Currently io_uring_wait_cqe is awaked for every operation's completion. We have io_uring_wait_cqes can partially resolve this issue, but io_uring_wait_cqes has its own limitations:

For program that uses event loops, it's not easy to pass the arguments in.
There are common situations that the number of operations to wait cannot be determined. For example echo server: we have an IORING_OP_ACCEPT operation pending for new connection ( which needs io_uring_wait_cqes(1) ), and multiple RECV-SEND chains solving existing connections ( which needs io_uring_wait_cqes(2) ). As a result we have to use io_uring_wait_cqe.

Suggestion: add a new flag named IOSQE_IO_NO_AWAKE which indicates an operation should not awake io_uring_enter. It can resolve those 2 problems.

IOSQE_IO_NO_AWAKE is set when preparing operations, we don't need to touch the global event loop
IOSQE_IO_NO_AWAKE can be set for sqes separately. For example we set RECV(IOSQE_IO_NO_AWAKE)-SEND, then io_uring_wait_cqe should work fine.

Sorry for my bad English if I can't explain myself clearly.

Seems this will be handled by @isilence
See<EMAIL_ADDRESS>


feat(tracing): Add meter-insecure, meter-urlpath, tracer-url-path configuration option

Allow to configure insecure for meters and tracing
Allow to define URL path for OTLP tracing
https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp#WithURLPath

Hello @filipenko-sennder, can you kindly update all your commit titles according to the standard at https://www.conventionalcommits.org/en/v1.0.0/ ?

@tolgaOzen do you think it makes sense to squash it and provide some summary?

Everything seems fine @filipenko-sennder. Thanks for your contribution.


Polish validation warnings

Change remaining deprecation warnings to target Gradle 8 for removal
Code cleanup
A bit of polish

@bot-gradle test QFL

OK, I've already triggered QuickFeedbackLinux build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.


Alternative env access

It looks like this app checks for process.env, but in some other environments, it could use another way. The two things that come to mind:

in vite they have import.meta.env prefix https://vitejs.dev/guide/env-and-mode.html
in Deno it's Deno.env.get("PORT") https://examples.deno.land/environment-variables

I'm just now running into this, so I should probably make it work soon.


DBZ-6720: handle unchanged toasted uuid array

Addresses https://issues.redhat.com/browse/DBZ-6720
The designated format for an unchanged toasted UUID array is a singleton array containing a UUID element that represents the encoded UUID of the placeholder string.
The uuid encoding of the default placeholder value __debezium_unavailable_value is b68a35a7-17ad-35b3-af2a-ae46edb4545a.

@rajdangwal Applied, thanks!


[fix|sde- v2.0.10] Docs, fixes updated

Description

Documentation updated.
Change log , missing license header added, readme, install-guide updated.

Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

According to @adityagajbhiye9 it fixes the following issues:

[ ] #53
[ ] #51
[ ] #50
[ ] #48
[ ] #46
[ ] #45
[ ] #43

@almadigabor Yes, we have made changes.  Please review it.


Download only posts from e.g. 200 to 300

For accounts with a large number of posts, it's almost certain to run into an Instagram block after a couple of 100 downloaded items.
I would like to split the download of all postings over e.g. 10 days and always only download a chunk of 100 on each day, but it would require that instaloader has a parameter for

starting at post
count of posts to download

Would this be possible?

You can use the resumable iterations feature to interrupt the download after 100 items and resume later.


Getting net6.0 error after net9.0 update in local live

Expected Behavior

I am running CLI lean live my_project locally and expect it to launch live session with Binance brokerage for me.
Actual Behavior

Getting the following error:

Error: Invalid option(s):
-f net6.0
'net6.0' is not a valid value for -f. The possible values are:
net9.0           - Target net9.0
netstandard2.0   - Target netstandard2.0
netstandard2.1   - Target netstandard2.1

Potential Solution

I guess with the update to net9.0 we didn't install dot net 6.0 sdk, but it is still required by the 3rd party dependencies.
Reproducing the Problem

Create a simple (blank) strategy
Install lean locally as suggested in the guidance pages. This will download the latest lean image, latest lean brokerages, etc
run lean live my_project
specify all the brokerage parameters to be stored.

The error appears.
I confirm that the issue exists if I run it with different brokerages as well. Tested with Kraken. so I guess it is not brokerage specific, but related to the update.
To test the issue I updated the latest lean again:
pip install --upgrade lean
lean version: 1.0155
System Information

Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal
Checklist

[x] I have completely filled out this template
[] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

lean version: 1.0155

Hey @qt1729! Sorry for the inconvenience, we released net9 support. The version your using of the lean CLI is very old, please update to the latest version 1.0.211 which has multiple improvements.


how can i handle every asyncData?

hi, guys!
I want to get res.headers['Set-Cookie'] in all of the asyncData methods. How do I write a middleware that can be executed after all the asyncData methods resolved?
The global middleware can not get to the header['Set-Cookie'], how can I do?

I fixed it at backend.


Improved go to top button position in all views

🛠 Fixes Issue
Fixes #269
👨💻 Changes proposed
Aligned the position of go to top button with same as chat button and also removed all the difficulties in mobile view of go to top button as the chat button and top button were overlapping in mobile view.
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
GSSoC contributor
📷 Screenshots

@SauravMukherjee44 Please review


Improve local-repo docs

From my initial reading of the docs (as a relative straight.el newbie) I didn't realize that local-repo was meant for working with files on the local file system, I assumed that it was something that you would use with your own git repository server.
I hope that by being more specific about what a "local repository" is that it will be easier for others to understand how to use the option.
I hope my understanding of what local-repo does is good, if not then hopefully we can still improve the wording while remaining accurate.

Apologies for the confusion. The documentation could use an overhaul in general (see #671).
While the current README is thorough, I feel it misses what many users are actually looking for: "How do I do X with straight?"
Ideally, what you're referring to here would fall under "How do I manage locally hosted elisp with straight.el?"
You have the right idea. You'll want to point the :local-repo at the directory containing the elisp.
If that directory is not under version control, you would want to add :type nil to prevent straight from attempting to manage it as if it were under version control. To add to your example:
(straight-use-package '(my-local-package :local-repo "/elisp/my-local-package/" :type nil) ;;directory non under version control

Until the new documentation is written, we would probably be better to adding this use-case to the FAQ.
Does that work for you?

I think that a workflow-based section of the README would be helpful, although I don't think it would supplant the reference portion (although perhaps the reference portion could shrink a bit).
I don't think I would have noticed this if it was in the FAQ unless it showed up when I did ctrl-f but I'm not entirely sure what the best keywords for that would be. I think I missed the FAQ completely when I was initially looking, including the FAQ link at the very top of the README. One issue with the FAQ as it stands is that in order to see the index of questions in the FAQ you need to scroll down 3 full pages. One way to help that would be to insert a table of contents at the beginning of the FAQ section although that might be a maintenance burden to keep up to date.
Another idea could be to tidy up the Getting Started section and link a few workflows (in the FAQ) from there.


Documentation for tests

Things like what kind of tests, how to run them, how to run individual tests

Also linting, running individual lint tests to save time.

On it


Example error?

https://github.com/raywenderlich/da-materials/blob/361d87b1e433f63172174347d25a80434e4f9ddc/03-types-and-operations/projects/mini_exercise/bin/mini_exercise.dart#L52
I think the correct answer here is:
const myDetails = 'Hello, my name is $fullName';

Good catch! Thank you! This is fixed in the editions/1.1 branch now.


Fix #729: Open external domain links in a new tab

Added custom renderer for links that will add target="_blank" to external links and show icon after them

Looks great!
A few comments:

can we make it slightly smaller and closer to the text? similar to Wikipedia's one:

Otherwise this is perfect 👌

p.s. Here's Wikipedia's link: https://en.wikipedia.org/w/skins/Vector/images/external-link-ltr-icon.svg

Updated icon to the wikipedia's one and placed in closer to text.

@jorgeorpinel is it good to merge?


Rounded rectangle mask

Would love to see an additional mask option for "rounded rectangle", perhaps with a radius option.

This needs some code, and a lot of edge-case testing. If someone is able to work this into a pull-request, let me know!


Could not load file or assembly 'Serilog.FullNetFx, Version=<IP_ADDRESS>'

I have .Net 4.5.2 application and I have installed Serilog 2.1.0 and Serilog.Sinks.MongoDB 2.0.19
I have configured sink as
var log = new Seri.LoggerConfiguration()
.WriteTo.MongoDBCapped("mongodb://localhost:27017/test", collectionName: "logs")
.CreateLogger();
However I am getting error
Could not load file or assembly 'Serilog.FullNetFx, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=24c2f752a8e58a10' or one of its dependencies. The system cannot find the file specified.":"Serilog.FullNetFx, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=24c2f752a8e58a10

Hi @laksh-parab
The Mongo DB sink is not yet compatible with Serilog 2.1.0.  The Serilog.FullNetFx is has been removed in this version.
Can you try explicitly targeting Serilog 1.5.14 in your app?

I'll have a shot at sorting this out today :+1:

Version 3.0 of the sink, targeting Serilog 2, is now published. Thanks all!


Updated import-a-pallet.md

Corrected the spelling errors in line 58 and 59 for dependencies and dependency.

[ ] Are the audience and objective of the document clear? E.g. a document for developers that should teach them about transaction fees.
[ ] Is the writing:

[ ] Clear: No jargon.
[ ] Precise: No ambiguous meanings.
[ ] Concise: Free of superfluous detail.

[ ] Does it follow our style guide?
[ ] If this is a new page, does the PR include the appropriate infrastructure, e.g. adding the page to a sidebar?
[ ] Build the page ($ cd website && yarn start). Does it render properly? E.g. no funny lists or formatting.
[ ] Do links go to rustdocs or devhub articles rather than code?
[ ] If this PR addresses an issue in the queue, have you referenced it in the description?

Thanks for your contribution @YceeTheTECHie ! I've made sure this got merged into our new documentation website which we're launching next week. Going forward we will only be accepting PRs in the new docs repository. Cheers!


Add Kamereon client

@Quentame it was planned for future use (when the ResponseData shemas are expanded)
I think it's ok to remove for now, and add again later.

Or then 👌


Add Ability to Draw and Add images

I have some notes that need additional context, and sometimes context cannot be transferred through text only, and that's where images come in useful. Would be much appreciated if images can be imported in a note or maybe even on a folder to make a folder more easily recognizable. Drawing on a note would also be useful to add emphasis on some words, or just for aesthetics. The drawing feature could be like how people could draw on a notes in the Samsung Notes app.

Adding images to notes is planned. Please check #41 & #117 for any further updates.


Feat:Expert Guidance

Describe the feature
farmers with access to expert guidance and advice from agricultural specialists and experienced farmers. This guidance covers a wide range of topics, including crop selection, soil health, pest management, irrigation techniques, and livestock care.
Add ScreenShots
n/a
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

i want to work on this issue please assign me this issue @Suchitra-Sahoo #GSSOC'24
this is my first time participant in gssoc..


Attribute reading and more slots

Adds the ability to read some more attributes, which is obviously what I need for Burger. A latter pass can add to_binary for writing.

Great work! You can totally ignore the write side of these, as I'm still flip-flopping on different approaches to writing, and need to add some support infrastructure to handle round-tripping without modification.


Validation Array of File Inputs

Laravel Version: 5.6 but also can reproduced it on 5.5
PHP Version: 7.1
Database Driver & Version: Not revelant.

Description:
I'm trying to validate if file of images was provide, but is an array. It can't validate and pass along without assert if is filled.
Steps To Reproduce:
I have prepared an repository to test, you can see this in action here:
https://github.com/gravataLonga/laravel-issue-validation/blob/master/tests/Feature/MultipleImageUploadTest.php
The validation rules is set properly, i think.
https://github.com/gravataLonga/laravel-issue-validation/blob/master/app/Http/Controllers/HomeController.php
If can confirm is a bug, i can fixed if you like.

I could try to resolve if i know where to start with this "workflow of PR". 😄 I will do my best 💪wish me luck. 🍀

@sdalmeida Hi, nop i'm not currently working to fix. Sorry, but i came with no time left to work on. But let me know if you need some help fixing, may be i could help you with "Pair-programming" mentality.

Hi, I have an application runig on Laravel 5.6 and one of the form elements is a multiple file input , currently I'm not using Laravel Collective for it, instead I'm using the old way: , <input type="file" name="f1[ ]" ...> and for the validator in server side I found that when you refer the name of the request element itself like 'f1' it will not make sure you are uploading each element of the array but if you put in the validator 'f1.*' then it would, so you need to add both like this:
$validator = Validator::make($request->all(), [
"f1"    => "required|array|min:3",
"f1.*"  => "required|string|distinct|min:3",
]);

Yeah, later on i realize that. Seem to me like duplicate code, it would be nice rather than make two itens on array, put only one?
Best Regards,

Closing this issue because it's inactive, already solved, old or not relevant anymore. Feel free to reply if you're still experiencing this issue and we'll re-open this issue.


Display Bounding Boxes when I reopen the App

How do I display the bounding boxes when I reopen the app? Currently I'm saving the files as YOLO files. I only did a small batch initially but I wanted to look at previously labeled images. How do I do that?

you can open all folder with images and annotations  or open only annotation, file> open annotation


docs: 4.1前言.md

本次更新的内容主要为在致谢中添加社团介绍章节的跳转链接
欢迎前来学习

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Make validation synchronous again?

For discussion.
The issue is that writing integration tests becomes often painful as in https://github.com/enketo/enketo-core/commit/4ae10cbf9560bfee756522ef88a57334fa6da4e2#diff-7eca48b256287fbb430b640d5b08a91d with a double timeout.
Asynchronous validation was introduced for Medic Mobile (phone number validation via HTTP request, I believe). No other request for such kind of validation have been received. Is this still necessary? Can it not be replaced by synchronous validation?

@garethbowen Just checking, is asynchronous form field validation still used by Medic Mobile?

Yes we still use it for validating that the given phone number exists in the database.

Ok, thx