Repeat action in normal mode chomps lines above

Terminal program: st
Operating system: arch
ZSH framework: no
ZSH version: 5.9
ZVM version: commit 9e909d0bdd
tmux version: tmux-git 9694_3.2a.r405.g88d9a8fc-1

Basic examination

[despite its length, yes] I have read through the README page
[tested against a clean HEAD] I have the latest version of zsh-vi-mode
[yes] I have tested with another terminal program

Problem description
using . (period) to repeat a command causes the lines above to disappear
Reproduction steps

put in a wordy line
enter normal mode, 0, dw
hit .
lines above get deleted

Expected behavior
Previous command repeats, lines above don't get chomped.

This isn't exactly related to the other line-chomping bug that exists. I've already corrected that in my repo at https://github.com/scresante/zsh-vi-mode/commit/1fd923de0aa6f9e4442d7c60b85c0e62589c5fb4 which has PR #180 .
Testing against that yields the same results as described above.

Testing in native bindkey -v, and . (period) works as expected there.
Also, softmoth's plugin doesn't screw it up.

I see this problem also.

Same here, super super super annoying. I often df<space> to delete one command line argument, then . to repeat it 4-5 times. Any time I hit ., 3 lines above the current line is deleted, which quickly completely clears the screen. Instead I have to hit df<space>df<space>df<space>df<space>df<space>, which works, but is a lot more work.

ZSH version 5.9
Starship version 1.12.0
zsh-vi-mode master branch (0e666689)
https://user-images.githubusercontent.com/597206/213866606-8feb6238-2496-40bf-9407-003672caabb3.mp4

Hi @scresante
I think the latest commit #219 has settled your issue down, could you please have a try with the latest version?
Thanks & Regards

Hi @Hubro
Firstly, thanks for your long time support, and I've tried my best to fix this kind of issue. I hope my latest commit def0f842b27c0b51f2f059d976fa24f4856839f2 helpful to you. : )
Thanks & Regards

@jeffreytse Of course, I still use this plugin every day :slightly_smiling_face:
The fix didn't work though, unfortunately. If I repeat a df<Space> command, above lines are still chomped. Also, if I spam <Esc>i<Esc>i it still sometimes eats above lines as well.
See recording:
https://github.com/jeffreytse/zsh-vi-mode/assets/597206/d3253b49-cc0d-4ffb-a7f3-2269f364e177

Hi Hubro,
To solve this, as I can't reproduce it, I'd love to have a digging with you.
Thanks & Regards

@jeffreytse Are you using Starship? My first guess is that the extra line breaks in every prompt is causing the issue.
Aside from that, my relevant zsh config is:
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
KEYTIMEOUT=1
WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'

setopt SHARE_HISTORY nomatch notify

autoload -Uz compinit
compinit

autoload -U +X bashcompinit
bashcompinit

# Possible init script locations
ANTIGEN_INIT_SCRIPT=(
    "/usr/share/zsh/share/antigen.zsh"
    "/usr/share/zsh-antigen/antigen.zsh"
    "/usr/local/share/antigen/antigen.zsh"
)

for ANTIGEN_INIT_SCRIPT_PATH in "${ANTIGEN_INIT_SCRIPT[@]}"; do
    if [[ -f "$ANTIGEN_INIT_SCRIPT_PATH" ]]; then
        source "$ANTIGEN_INIT_SCRIPT_PATH"

        antigen bundle jeffreytse/zsh-vi-mode
        antigen bundle rupa/z
        antigen apply

        # Configure zsh-vi-mode
        zvm_after_init_commands+=('__apply_keybindings')
        ZVM_INSERT_MODE_CURSOR=$ZVM_CURSOR_BLINKING_BEAM
        ZVM_NORMAL_MODE_CURSOR=$ZVM_CURSOR_BLOCK
        ZVM_LINE_INIT_MODE=$ZVM_MODE_INSERT
        ZVM_CURSOR_STYLE_ENABLED=true
        #ZVM_INSERT_MODE_CURSOR=$ZVM_CURSOR_BLINKING_BLOCK
        #ZVM_NORMAL_MODE_CURSOR=$ZVM_CURSOR_BLOCK

        break
    fi
done

unset ANTIGEN_INIT_SCRIPT
unset ANTIGEN_INIT_SCRIPT_PATH

function __apply_keybindings() {
    # Re-applies FZF keybindings
    if [[ -f "/usr/share/fzf/key-bindings.zsh" ]]; then
        source "/usr/share/fzf/key-bindings.zsh"
    elif [[ -f "/usr/local/Cellar/fzf/0.39.0/shell/key-bindings.zsh" ]]; then
        source "/usr/local/Cellar/fzf/0.39.0/shell/key-bindings.zsh"
    fi

    zvm_define_widget __up_one_dir
    zvm_bindkey viins '^U' __up_one_dir
}

# ZVM widget to go up one directory (cd ..)
function __up_one_dir() {
    BUFFER="cd .."
    zle accept-line
}

# Executed automatically by zsh-vi-mode for setting up keybindings
function zvm_after_lazy_keybindings() {

}

My Starship config is:
command_timeout = 2000

format = """\
    $username\
    $hostname\
    $kubernetes\
    $directory\
    $git_branch\
    $git_state\
    $git_status\
    $package\
    $dotnet\
    $golang\
    $java\
    $nodejs\
    $python\
    $ruby\
    $rust\
    $custom\
    $nix_shell\
    $conda\
    $memory_usage\
    $aws\
    $env_var\
    $cmd_duration\
    $line_break\
    $jobs\
    $battery\
    $time\
    $character\
"""

[character]
#success_symbol = "[➜](bold green)"
success_symbol = "[󰁔](bold green)"
vicmd_symbol = ""
#vicmd_symbol = " ∷"
error_symbol = "[󰁔](bold red)"

[cmd_duration]
#disabled = true
#show_notifications = true
#min_time_to_notify = 30

[python]
pyenv_version_name = true

[nix_shell]
format = "[\\[$name\\]]($style) "

[custom.direnv]
format = "[\\[direnv\\]]($style) "
style = "fg:yellow dimmed"
when = "env | grep -E '^DIRENV_FILE='"

If you're unable to reproduce the issue with this config, I'll contact you by email and we can troubleshoot further if you want.

After further digging, the minimal reproduced steps as below:

Open a new interactive ZSH without configuration zsh -d -f -i.
Sourcing zsh-vi-mode.zsh and eval "$(starship init zsh)".
Type echo foo bar zoo and switch to normal mode by hit <ESC>.
Type 0 going to the head and then type df<space>.
Hit . to repeat the last command.

The above line will be eaten as we expect.

This issue is related to #124 as well.


internal: Move rust.ungram into rust-analyzer/crates/syntax

This makes updating the grammar a lot simpler for us. Though removing it from ungrammar can't be done without bumping it to 2.0 so I'll leave it in there for the time being.
cc https://github.com/rust-analyzer/ungrammar/pull/47

bors r+


Google module not found

MMM-GoogleAssistant/pi$ python3 assistant.py
Traceback (most recent call last):
File "assistant.py", line 25, in
import google.oauth2.credentials
ImportError: No module named 'google'

please check all closed issue.  Its most likely you are not running the script in the correct environment.


Paradox Documentation for Event Sourcing

will we add the documentation to the Cloudstate repository or do we do it here in this repository and then add the links there? I think @pvlugter  had this open discussion

I expect it to be on the repo as suggested by Peter. I don't know yet how it will work to be separated from the main repository and how/if it gets integrated into the main documentation.

Yes, would be good to have the docs in each repo. There are some things to set up for this. I expect that we'll start with something simple, where each language support can publish docs into the main site as needed (it won't be one navigation tree for the docs though, separate doc sites, like for akka modules). I'll try to make some progress this week. For now, feel free to just add into the main documentation, and then we move later.

PR #35 adds a starting point to have user documentation within the user language support.

@marcellanz should I pick this to complete the documentation? Or are you working on it?

@chomnoue please pick it and use it. I do not work on it right  now and I hve no progress othr than I merged Peters PR. Thanks for picking it up :)

@chomnoue, how's it going with the documentation? Would be great to have the docs up so we can include Python support as available.

Hello @chomnoue @marcellanz  if you are very busy and are having trouble including the documentation I would be happy to help you with that. If you want I can start a draft of the documentation and formatting. What do you think?

I let it @chomnoue to decide, the Go docs can be used to start and get structure/configs/refs.

@sleipnir I've asked Alain-Michel on chat. Let's see what he is on and then decide what to do.

Thanks @marcellanz

I think we might go ahead if with the issue if it's preferred to have documentation to get started with event sourcing. There is a branch which @chomnoue has started. I was not able to reach @chomnoue through chat (Gitter). I also did not see other progress on a branch on Alain-Michels account other than the branch mentioned above.
@sleipnir if you like to help I'd propose to go on with the documentation branch that exists. We could review the documentation together also if Alain-Michel likes to join we'd have even more eyes on documentation properly written for Python.
Regarding documentation review and experience with the API, I've seen that @sean-walsh mentioned on a Lightbend podcast his work with the Python Cloudstate support for a talk at EuroPython he gave. It would be nice to get some feedback from his side about his experience with the Python API too. We pushed v0.1.1 especially because of the nice Introduction Adriano did for the projects front page on PyPi.

Hello, the talk went well, I'm still trying to get some statistics on it. I've gone over the Python example code again since. I had some personal confusion that turned out to be about Python conventions, once I got my head around it, the code seems more straight forward. One minor question, is it convention not to indent the members of a class? That and the multiple whitespace lines in this file confused this java developer at first.
https://github.com/cloudstateio/python-support/blob/master/shoppingcart/shopping_cart_entity.py

Thank you for your feedback and insights. I'm looking forward to catching up with the talk once online.
While using that many blank lines between definitions seem to be normal by the "PEP 8 -- Style Guide for Python Code":

Surround top-level function and class definitions with two blank lines.

and even more blank lines can be used sometimes, the non-intended members are no members at all, and I have to ask @sleipnir or @chomnoue why the shopping cart is implemented that way.

Hi! @marcellanz @sean-walsh As the extra lines can be used sparingly to separate logical associations, I think that was an intention. But we can remove and work with just a blank line to return functions.
Marcel, I'm going to take a look at the documentation branch and try to continue from there. Obviously we will review together, the more reviewers the better

If the blank lines represent the normal convention it's fine.

I vote to remove them

I'd vote to retain them.
Linters (pycodestyle, pep8) and as an example PyCharm by default use 2 blanklines between top-level functions. Why would we remove them when it's recommended by the python style guide?
If we mandate any formatting and style by th eproject, I'd propose to add a formatter/linter that formats the code, same as we use scalafmt or go fmt. We'd have to argue a good case for deviating from PEP8 or anything settled as a standard I think.
(this is one thing I really like with Go, there is no discussion when it comes to formatting Go code :), not that I dislike any discussions about style)

> pycodestyle shopping_cart_entity.py
...
shopping_cart_entity.py:81:1: E302 expected 2 blank lines, found 1
...
>

I think each example should be idiomatic for its language. Formatting
included.
Cheers,
√

I'd vote to retain them.
Linters (pycodestyle, pep8) and as an example PyCharm by default use 2 blanklines between top-level functions. Why would we remove them when it's recommended by the python style guide?
If we mandate any formatting and style by th eproject, I'd propose to add a formatter/linter that formats the code, same as we use scalafmt or go fmt. We'd have to argue a good case for deviating from PEP8 or anything settled as a standard I think.
(this is one thing I really like with Go, there is no discussion when it comes to formatting Go code :), not that I dislike any discussions about style)
> pycodestyle shopping_cart_entity.py
...
shopping_cart_entity.py:81:1: E302 expected 2 blank lines, found 1
...
>

I thought you were referring to the spaces at the end of the functions

We might have misunderstood each other :)
We speak about the "two blank lines" surrounding top-level function and class definitions IMO. shopping_cart_entity.py has no other blank/whitespace lines I think?
Lines 73 and 74, and 80 and 81 here:

Okay. If we use an appropriate formatting tool this will not be a problem anymore.

@sean-walsh @sleipnir @chomnoue the video of Seans' EuroPython 2020 talk dropped today: https://youtu.be/Swl9tUnGGGE?t=6695 Cool stuff :)

@sleipnir can you remember why handlers were implemented as non-member functions. see also https://github.com/cloudstateio/python-support/issues/14#issuecomment-665714059 above.


Group TSNE

Hello thank you for PyRat I have it working.  I am trying to understand the behavioral classification aspect of PyRat. I can run an individual video/file and get the classification and t-sne output. However what I want to be able to do is input all my videos and get behavior clusters represented across all of them and then break these down by animal. In addition, is there a way to get the output of the frames as a csv? And see how long the behavioral clip is? Thank you!

Hi ! Thanks for using PyRAT. You have a very interesting question. First, could you explain better the conditions of your videos? How many videos, durantion, how many animals. In this sense, we can think of the best way to approach it. I believe that saving this information in a csv is possible.

Awesome thank you for your response. They are Force Swim videos I have 40 videos recorded at 30fps. 1 animal / video. I want to be able to get output 1 set of clustered behaviors and then analyze them individually--similar to BSOID or VAME. Let me know if that makes sense or if you need any more info.

OK. We are going to do some tests and update the library to analyze the videos this way.
One more thing, if you are using colab it may not be able to process all the videos at once. But we'll discuss it later, okay?

I was just trying it out in Collab. But I can run it in Spyder and we have
a gpu available if necessary. Thank you!
On Thu, Jun 9, 2022, 10:07 AM Tulio De Almeida @.***>
wrote:

OK. We are going to do some tests and update the library to analyze the
videos this way.
One more thing, if you are using colab it may not be able to process all
the videos at once. But we'll discuss it later, okay?
—
Reply to this email directly, view it on GitHub
https://github.com/pyratlib/pyrat/issues/2#issuecomment-1151166637, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANJMFFYJPTV2JEHPY4VXWRTVOH3BHANCNFSM5XWGLCRQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hey! We made changes to the code for you to test the classification of multiple videos. I made a colab with an example using any data. I hope it works, if it doesn't work or you have some other problem please post here.
https://github.com/pyratlib/pyrat/blob/main/Classify_Multiple_Videos.ipynb

Hi @kcrisco22, I don't know if you had time to test the functions, but I will close the topic for a while. If you have any problems, just reopen it. Thanks.


[gitlab] Add 15.8

https://about.gitlab.com/releases/2023/01/22/gitlab-15-8-released/
https://gitlab.com/gitlab-org/gitlab/-/releases/v15.8.0-ee

For the record the release date will be updated to 2023-01-20 by latest.py, because this is the tag date on https://gitlab.com/gitlab-org/gitlab/-/tags/v15.8.0-ee.


[Prefix] Add Reserved namespace service and tests

This is the first part for the Admin page changes.
This PR adds the service to interface with the database and related tests. The admin page and controller changes will be part of subsequent PRs.
Please note I have not added auditing as part of this PR since it would involve modifying shims, it will be a separate PR as well.

@xavierdecoster, @loic-sharma, @scottbommarito - addressed feedback, please review.


Removed redundant code

The code is not being used in the respective codeblock. I checked both with, and without that "extra" code, and the result seems to be the same, but since I'm not very familiar with ipywidgets, please make sure i didn't remove something needed.

Looks good to me. Thanks!


Chatbot to learn GenAI

Related Issues or bug

Created a chatbot using streamlit to learn GenAI.

Fixes: #311
Proposed Changes

Created a chatbot using streamlit to learn GenAI. Used "text-generation" based model: "microsoft/DialoGPT-medium" for the chatbot.

Additional Info

Can increase the knowledge base.

Screenshots

@spandana2004 add readme file with relevant description with attachment of results


Add KLayout DRC report description

This is a follow-up fix on https://github.com/RTimothyEdwards/open_pdks/commit/dfe9eb56289ec08f7eb889c9f76d85ae6ef1d065.

Pulled and merged.

Pulled and merged.


Update manage-versions-instances-concept.adoc

Hi @SainiNav01,
Thanks so much for opening this PR.
I just merged another PR that includes your change and addresses other typos in the document.
Kind regards,
Chris Campbell


Neutron to BIG-IP config mapping and docs revamp

@swormke @richbrowne
What issues does this address?
Fixes #170 (@swormke: to you for review)
WIP #171 (@richbrowne: to you for content review)
...
What's this change do?
-Simplifies the presentation of the docs and adds a new quick start guide.
-Adds the Neutron to BIG-IP command mapping information requested by a customer.
Where should the reviewer start?
docs revamp: http://lbaasv2-test.readthedocs.io/en/feature.bigipconfigs/index.html
mapping: http://lbaasv2-test.readthedocs.io/en/feature.bigipconfigs/includes/topic_neutron-bigip-command-mapping.html
Any background context?

Looks great!
In this page: http://lbaasv2-test.readthedocs.io/en/feature.bigipconfigs/includes/topic_neutron-bigip-command-mapping.html

In the OpenStack to BIG-IP docs it would be good to link that reference of the f5-sdk.
I know what this is trying to say, but I think you may have a few extra words there from a previous version: "Far fewer configurations are made for an overcloud, standalone BIG-IP deployment than by F5 LBaaSv2 than for an undercloud active-standby pair or device service cluster."
If the actions are an ordered list I suggest we use numbers to show that.
I really like the use of the footnotes, maybe we can list what the corresponding agent.ini settings are that go with it (like Project_)?
Does this mean we will configure more than what is in the config file? (not limited to the advertised tunnel type setting in the config file)

Hey one more thing is that I do not see SSL included in the listener or where ever it goes.  That is a pretty important one for a few of our customers.

@swormke -- good catch. The trouble is that I'm not really sure how to work that in, since we're not documenting the arguments here. Should I include it as a separate example? I also would need someone (@jlongstaf?) to tell/show me what is happening there.

@jputrino -- some details on the additional work that's done by the agent for TERMINATED_HTTPS listeners:

Get the certificate/key container from Barbican using the URI defined by default_tls_container_ref option.
Read key and certificate from container and upload to BIG-IP file system.
Import key/certificate into BIG-IP.
Create a client SSL profile on BIG-IP referencing imported key/certificate.
Add SSL profile to the virtual server created for the listener.

@swormke - this should be good to go, now. Merge responsibility is with you.


Move GPG codesigning workflow to a Python script

Following up on the success in #84, extract complicated GPG codesigning steps to a Python script.
This will make it easier to reuse this workflow when we start GPG signing the Apple DMGs.
The structure and CLI argument format of the script is borrowed from macos_sign_and_notarize.py. Unlike macos_sign_and_notarize.py, gpg_sign.py operates on one artifact.

collapsable log groups work now with e27a448c3a4ce37322e0353ab3ec16f9f564a272.

Tested a few GPG signatures in the published release: https://github.com/artichoke/nightly/releases/tag/nightly-2022-09-04-gpg-signing-script-v3. Things look good!
$ gpg --batch --verify artichoke-nightly-x86_64-apple-darwin.tar.gz.asc artichoke-nightly-x86_64-apple-darwin.tar.gz
gpg: Signature made Sun Sep  4 08:21:15 2022 PDT
gpg:                using EDDSA key 1C4A856ACF86EC1EE841180FAF57A37CAC061452
gpg: Good signature from "Code signing for Artichoke Ruby<EMAIL_ADDRESS>[ultimate]
$ gpg --batch --verify artichoke-nightly-aarch64-apple-darwin.tar.gz.asc artichoke-nightly-aarch64-apple-darwin.tar.gz
gpg: Signature made Sun Sep  4 07:57:57 2022 PDT
gpg:                using EDDSA key 1C4A856ACF86EC1EE841180FAF57A37CAC061452
gpg: Good signature from "Code signing for Artichoke Ruby<EMAIL_ADDRESS>[ultimate]


PeakAnnotationsLoader 7 - The actual class and its derived classes

Summary Change Description
The PeakAnnotationsLoader class defines the actual target format.  Its derived classes define the input formats (that are converted by the ConvertedTableLoader methods based on their class attributes.
This could be slightly changed, if preferred to actually output the converted format, but the way it's written right now, it's only converted as a dataframe.  Making a separate step to do and output the universal converted format should be a really small change, if we desire to do that (and frankly, it would be easier than trying to reverse the cell coordinates to decorate the original input excel with error comments).
Affected Issues/Pull Requests

Partially addresses #825
Merges into #997
Next PR: #999

Review Notes

See comments in-line.
Checklist

This pull request will be merged once the following requirements are met.  The
author and/or reviewers should uncheck any unmet requirements:

Review requirements

Minimum approvals: 1
No changes requested
All blocking issues resolved by reviewers
Specific reviewers: @add_username_here

Review period: 2 days

Associated issue/pull request requirements:

[x] All requirements in affected issues marked "resolved" are satisfied
[x] All required pull requests are merged (or none)

Basic requirements

[x] All linters pass
[x] All tests pass
[x] All conflicts resolved

Overhead requirements

[x] New/changed method tests implemented/updated (or no change)
[ ] Updated Unreleased section of changelog.md (or no change)
[x] Migrations created & committed (or no change)

Merged via #1076


Look into beakerx npm package

https://www.npmjs.com/package/beakerx-jupyterlab

https://github.com/timkpaine/beakerx


Use ace in the GitBook.com book editor

Is it possible to use ace plugin in the online book editor at GitBook.com?
Acer appear at GitBook plugin store, but the ace's code example do not work in the on-line editor.
Thank you.

Never mind. It works great. I miss understood how the ace works.

Actually, the preview on gitbook.com doesn't seem to support live preview of plugins and there is no way for me to add support since gitbook itself doesn't provide a way for me to add it. So you will only be able to see the plugin working in the generated page.


Failed to extract bootstrap

Describe the bug

Gets stuckhere everytimr
To Reproduce
Steps to reproduce the behavior:
Get ipad mini 2
Use b40
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):

iOS Version: 12.1
iOS Device: Ipad mini 2
unc0ver Version: b40

Place an "x" between the brackets if true:

[x ] this is a bug others will be able to reproduce
[x ] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[x ] this issue is present after a rootfs restore
[x] this issue is present on the latest version of unc0ver

Logs
If applicable, add logs or error messages here.

This Worked for me, try and confirm please.
1    Open unc0ver and go to the settings page
2    Turn «Load Tweaks» off and then jailbreak as you usually would
3    Once Jail Broke and respring, go to Settings in Uncover turn on tweaks
rejailbreak and cydia is loaded

This Worked for me, try and confirm please.
Airplane Mode "ON"
1 Open unc0ver and go to the settings page
2 Turn «Load Tweaks» off and then jailbreak as you usually would
3 Once Jail Broke and respring, go to Settings in Uncover turn on tweaks
rejailbreak and cydia is loaded

Same error as above, IPhone 6 12.1.1 b3
Unfortunately fix didn't work.

Duplicate issue #530


Added reactive forms solution

Added alternative reactive form of profile form
Removed deprecated rxJS pluck, used map instead

some duplications, such as the pluck and stuff wich are already done.
could you rebase your branch again pls onto solution resp merge solution into yours?


From field with angle bracket

Hi!
I've been struggling with sending emails through vmail. Everything works fine except when I try to send emails. I found out that the reason for that is that I shouldn't have angle brackets in the "from" field, which raises an exception. Here's what I get on my MacBookPro with Snow Leopard
alexandreblondinmasse [~]
$ vmailsend < compose_message.txt
/opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
Using config file .vmailrc
D, [2012-01-01T02:22:34.888057 #68799] DEBUG -- : from:"Alexandre Blondin Massé<EMAIL_ADDRESS>D, [2012-01-01T02:22:34.888216 #68799] DEBUG --<EMAIL_ADDRESS>D, [2012-01-01T02:22:34.888315 #68799] DEBUG -- : subject:Test
D, [2012-01-01T02:22:34.906024 #68799] DEBUG -- : Delivering message with headers: ---
from: ! '"Alexandre Blondin Massé<EMAIL_ADDRESS>to<EMAIL_ADDRESS>subject: Test
/opt/local/lib/ruby1.9/1.9.1/net/smtp.rb:948:in check_response': 555 5.5.2 Syntax error. ev2sm36327570qab.15 (Net::SMTPFatalError) 	from /opt/local/lib/ruby1.9/1.9.1/net/smtp.rb:917:in getok'
from /opt/local/lib/ruby1.9/1.9.1/net/smtp.rb:832:in mailfrom' 	from /opt/local/lib/ruby1.9/1.9.1/net/smtp.rb:659:in send_message'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/mail-2.3.0/lib/mail/network/delivery_methods/smtp.rb:129:in block in deliver!' 	from /opt/local/lib/ruby1.9/1.9.1/net/smtp.rb:520:in start'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/mail-2.3.0/lib/mail/network/delivery_methods/smtp.rb:128:in deliver!' 	from /opt/local/lib/ruby1.9/gems/1.9.1/gems/mail-2.3.0/lib/mail/message.rb:245:in deliver!'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/vmail-2.4.5/lib/vmail/imap_client.rb:347:in deliver' 	from /opt/local/lib/ruby1.9/gems/1.9.1/gems/vmail-2.4.5/lib/vmail/sender.rb:12:in send'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/vmail-2.4.5/bin/vmailsend:10:in <top (required)>' 	from /opt/local/bin/vmailsend:19:in load'
from /opt/local/bin/vmailsend:19:in `'
The issue is already known and has already been discussed here
http://stackoverflow.com/questions/1512004/smtp-error-with-rails-exception-notifier-plugin
Is this issue known from you? What would be the best way to deal with it with vmail ? I guess I could look in the ruby scripts or vim scripts, but I would rather avoid it if possible...
Thank you!
Alexandre Blondin Massé

Try putting your name in the .vmailrc after the name: key, and then put your email after the email: key.

I tried both solutions
name:
email:
and
username:
email:
None works. In the first case, I get the same error, in the second one, I get a VMAIL_ERROR (VMAIL_ERROR: Invalid credentials w7if4900085qcb.59
/o).


NTR: intracellular calcium activated hydrogencarbonate channel activity

Please provide as much information as you can:

Suggested term label:
~intracellular calcium activated hydrogencarbonate channel activity~
calcium-activated bicarbonate channel activity

Definition (free text)
Enables the transmembrane transfer of hydrogencarbonate by a channel that opens in response to stimulus by calcium  ions. Transport by a channel involves catalysis of facilitated diffusion of a solute (by an energy-independent process) involving passage through a transmembrane aqueous pore or channel, without evidence for a carrier-mediated mechanism.

**Reference, in format PMID:18400985
(REQUIRED)

Gene product name and ID to be annotated to this term

Parent term(s)
intracellular hydrogencarbonate channel activity

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)
intracellular calcium activated bicarbonate channel activity

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information

Hi @pgaudet,
bestrophins are activated by a cytoplasmic [Ca2+] increase then they are intracellular gated.
Effectively the Ca2+dependence is not shown, there are no experiment where the HCO3- currents were recorded without Ca2+.
But in Fig. 1. they say that cells were stimulated by ramp voltages, and Cl- currents were recorded with pipette solution containing high Ca2+ (see MATERIALS AND METHODS). For measurement of bestrophin permeabilities to HCO3- relative to Cl-, 140 mM NaCl in bath solution was replaced with 140 mM NaHCO3, I can assum that HCO3- currents were also recorded with pipette solution containing high Ca2+ (see MATERIALS AND METHODS).
In addition, in the discussion, they assume that both Cl- and HCO3- conductances require intracellular Ca2+ in order for the conductance to be turned on.
I hope that help
thanks


[Feature Request] - Do not download dependencies during runtime

My current project is using 1.0.0.RC3, see https://github.com/jaredsburrows/android-gif-example/blob/master/gradle/versions.gradle.kts#L35.
Now I have a build failure because the latest dependencies were download during runtime: https://travis-ci.org/jaredsburrows/android-gif-example/builds/271003620#L2876.

We had a discussion about this behavior somewhere I can't link to now. The main take away was: if you want to stay on the same version specify the version property inside the deteKt extension (it's ok that the maintainer need to do extra work for CI). If you want to stay up to date, do not specify it. The new policy is that no new rules get enabled by default. This case happened because we refactored some old rule...
If there is more demand we still can change the default update behavior.

Alright. I will be forced to use "version = 1.0.0RC3" for now.
For example, here https://github.com/jaredsburrows/android-gif-example/blob/master/gradle/versions.gradle.kts#L35 and https://github.com/jaredsburrows/android-gif-example/blob/master/gradle/quality.gradle#L49.
This is the Kotlin DSL, it might be easier to share external properties in the normal Groovy DSL but either way we have to specify the version twice.

I vote in favour of changing the current behaviour.
The behaviour of this plugin is different to most other Gradle plugins so its behaviour is surprising - the checkstyle, PMD and FindBugs Gradle plugins for example all have a static, default version specified by Gradle. Though new Gradle versions do change these default versions without the user explicitly setting them, it would only change because the user has upgraded Gradle. It doesn't suddenly use a new version just because a new checkstyle version is released.
I expect that if I specify
plugins {
    id("io.gitlab.arturbosch.detekt").version("1.0.0.[version]")
}

then [version] is the version of the plugin that will run. This also makes builds non-deterministic for the same reason that using + for a version in build dependencies is a bad idea.

It also can lead to undesirable behavior if SNAPSHOT type releases because those can be selected with the dynamic versioning. The JUnit 5 project went through this as well (in https://github.com/junit-team/junit5/issues/576) and switched to a default version.

I guess we will change it then.
If I remember correctly my problem was that I had to hard code the detekt version inside the grade plugin.
When forgetting to increment that version the release is kinda broken.
I could write a task which is triggered before publishPlugins which creates a resource with a version property which is used inside the gradle plugin to for version resolving. Any other ideas or comments about this?

You have to manually bump the version in the gradle.properties file now.
Just use the same variable for version.
On Sep 15, 2017 1:27 AM, "Artur Bosch"<EMAIL_ADDRESS>wrote:

I guess we will change it then.
If I remember correctly my problem was that I had to hard code the detekt
version inside the grade plugin.
When forgetting to increment that version the release is kinda broken.
I could write a task which is triggered before publishPlugins which
creates a resource with a version property which is used inside the gradle
plugin to for version resolving. Any other ideas or comments about this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/arturbosch/detekt/issues/363#issuecomment-329716858,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABqMSM1k9G_2kTCGeoBtgXL665PaUm_bks5sijUIgaJpZM4PKr2K
.

Closing this issue as the Gradle Plugin now uses a hardcoded default version of detekt itself.


FileNotFoundError: [WinError 2] The system cannot find the file specified: '"exe_name.exe"'

Hey briH2004, sorry for the inconvenience. I am currently on vacation and just found this. A new version of Malex will be released shortly, with memory checking and maintained versions. Thanks for reaching out to me!


Automated Package Upgrade

:tada: This PR is included in version 7.7.382 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Ensure dataframe groupby-variance is greater than zero

Due to rounding errors and numerical instability of our groupby-variance
algorithm we can get small negative values.
Fixes https://github.com/dask/dask/issues/5725

[ ] Tests added / passed
[ ] Passes black dask / flake8 dask

Thanks @mrocklin .  I restarted the failing test -- failure was unrelated to this PR.  When it passes I think we are good to merge in

Thanks again


Feat 27 feedback section

Description

Displayed and styled the feedback section for the mentorship programme, added a button to see more feedbacks.

This section will show the title, and all the feedback cards.

This fixes the open issue number #27
Type

[ ] Bug Fix
[x] New Feature
[ ] Code Refactor
[ ] Documentation
[ ] Other

Related Issue

This fixes the open issue - Mentorship Programme: Feedback Section #27
Screenshots
Laptop view:

Mobile view:

Testing

Pull request checklist
Please check if your PR fulfills the following requirements:

[x] I checked and followed the contributor guide
[x] I have tested my changes locally.
[x] I have added a screenshot from the website after I tested it locally

Please have a look in the new issues that sonar found.


Updated links to lines of code

Signed-off-by: Devansh<EMAIL_ADDRESS>🦟 Bug fix
Fixes #199
Summary
Fixed links in the documentation.
Checklist

[ ] Signed all commits for DCO
[ ] Updated documentation (as needed)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

@scpeters Can you verify that the updated links are what you expect them to point to?


[💡 FEATURE REQUEST]: temporal workflow max_worker_memory

Plugin
Temporal
I have an idea!
Workflow workers can also have memory leaks, I suggest implementing a similar mechanism as in activities

Memory metrics

Hey @root-aza 👋🏻
WF workers are very sensitive to restart and to allow users to have memory leaks. Restarting WF worker will invalidate sticky cache, lead to restart temporal workers and activity workers. WF worker is the same as Activity and Supervisor is turned off on it on purpose.


Create Dashboard page for v2

Is your feature request related to a problem? Please describe.
v1 of the website has a nice dashboard page that serves as an overview of a user's positions here.
Describe the solution you'd like
Create a dashboard page for Yearn v2 UI. This should show an overview of the user's position up at the top with total holdings and interest earned. This page will also be very useful for users on mobile to check their positions.
Describe alternatives you've considered
N/A, we need this.
Additional context
WrongNebula created a mockup for what this dashboard page could look like below. This dashboard page would also link out to the various stats pages, which are featured in issue #103. Eventually, this dashboard could display a user's CREAM and Cover positions as well.

Moving forward with v3, not one of the major fixes included for v2.


[MINOR] Moving to 0.2.0-SNAPSHOT on main branch.

Important Read

Please ensure the GitHub issue is mentioned at the beginning of the PR

What is the purpose of the pull request
Upgrading to 0.2.0, this PR will be merged after first release is completed.
Brief change log
(for example:)

Fixed JSON parsing error when persisting state
Added unit tests for schema evolution

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

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

Squash into a single commit.


feat: different PLONK circuit verification

Description
Currently we didn't switch on the circuit size and generator when doing multi-proof verification. This PR includes these parts in PLONK verification key in circuit specific VK. Additionally, had to change the exponentiation by the circuit size to use variable instead of a constant.
Related #966
Type of change

[x] New feature (non-breaking change which adds functionality)

How has this been tested?
All current tests work.
How has this been benchmarked?
Previously verifying over 10 proofs cost was 291527, now 313833, so approx 7% increase. BUT, for the example circuits the circuits we were aggregating were small and we did fixed exponetiation, so only essentially a few non-native muls. Now we do variable exponentiation for 30-bit exponents. But circuits in practice are actually closer to 30 bits (25-26 bits imo), so the difference shouldn't be that significant.
Checklist:

[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] I did not modify files generated from templates
[x] golangci-lint does not output errors locally
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

LGTM 👍 Maybe add a comment in plonk/doc.go to say that we assume circuits of maximum size 2**30.

Thanks, added!


Guide Part: 3.4 (Proving reccot) Does Not Prove with Steps Provided

The tutorial guide for proving reccot does not prove following the steps as they are. Here is my attempt in which I followed the guide as closely as I could:
{"srcs":[{"typ":"Web","fileName":"","url":"https://us.metamath.org/metamath/set.mm","readInstr":"StopBefore","label":"reccot","resetNestingLevel":true,"allLabels":[]}],"descr":"","varsText":"","disjText":"","stmts":[{"label":"8","typ":"p","isGoal":false,"cont":"|- ( A e. CC -> ( sin ` A ) e. CC )","jstfText":": sincl"},{"label":"7","typ":"p","isGoal":false,"cont":"|- ( A e. CC -> ( cos ` A ) e. CC )","jstfText":": coscl"},{"label":"3","typ":"p","isGoal":false,"cont":"|- ( ( ( ( cos ` A ) e. CC /\\ ( cos ` A ) =/= 0 ) /\\ ( ( sin ` A ) e. CC /\\ ( sin ` A ) =/= 0 ) ) -> ( 1 / ( ( cos ` A ) / ( sin ` A ) ) ) = ( ( sin ` A ) / ( cos ` A ) ) )","jstfText":": recdiv"},{"label":"9","typ":"p","isGoal":false,"cont":"|- ( ( ( A e. CC /\\ ( cos ` A ) =/= 0 ) /\\ ( ( sin ` A ) e. CC /\\ ( sin ` A ) =/= 0 ) ) -> ( 1 / ( ( cos ` A ) / ( sin ` A ) ) ) = ( ( sin ` A ) / ( cos ` A ) ) )","jstfText":"7 3 : sylanl1"},{"label":"10","typ":"p","isGoal":false,"cont":"|- ( ( ( A e. CC /\\ ( cos ` A ) =/= 0 ) /\\ ( A e. CC /\\ ( sin ` A ) =/= 0 ) ) -> ( 1 / ( ( cos ` A ) / ( sin ` A ) ) ) = ( ( sin ` A ) / ( cos ` A ) ) )","jstfText":"8 9 : sylanr1"},{"label":"11","typ":"p","isGoal":false,"cont":"|- ( ( A e. CC /\\ ( sin ` A ) =/= 0 /\\ ( cos ` A ) =/= 0 ) -> ( 1 / ( ( cos ` A ) / ( sin ` A ) ) ) = ( ( sin ` A ) / ( cos ` A ) ) )","jstfText":""},{"label":"2","typ":"p","isGoal":false,"cont":"|- ( ( A e. CC /\\ ( sin ` A ) =/= 0 ) -> ( cot ` A ) = ( ( cos ` A ) / ( sin ` A ) ) )","jstfText":": cotval"},{"label":"5","typ":"p","isGoal":false,"cont":"|- ( ( A e. CC /\\ ( sin ` A ) =/= 0 /\\ ( cos ` A ) =/= 0 ) -> ( cot ` A ) = ( ( cos ` A ) / ( sin ` A ) ) )","jstfText":"2 : 3adant3"},{"label":"6","typ":"p","isGoal":false,"cont":"|- ( ( A e. CC /\\ ( sin ` A ) =/= 0 /\\ ( cos ` A ) =/= 0 ) -> ( 1 / ( cot ` A ) ) = ( 1 / ( ( cos ` A ) / ( sin ` A ) ) ) )","jstfText":"5 : oveq2d"},{"label":"1","typ":"p","isGoal":false,"cont":"|- ( ( A e. CC /\\ ( cos ` A ) =/= 0 ) -> ( tan ` A ) = ( ( sin ` A ) / ( cos ` A ) ) )","jstfText":": tanval"},{"label":"4","typ":"p","isGoal":false,"cont":"|- ( ( A e. CC /\\ ( sin ` A ) =/= 0 /\\ ( cos ` A ) =/= 0 ) -> ( tan ` A ) = ( ( sin ` A ) / ( cos ` A ) ) )","jstfText":"1 : 3adant2"},{"label":"reccot","typ":"p","isGoal":true,"cont":"|- ( ( A e. CC /\\ ( sin ` A ) =/= 0 /\\ ( cos ` A ) =/= 0 ) -> ( tan ` A ) = ( 1 / ( cot ` A ) ) )","jstfText":""}]}

Here is my attempt to prove the goal of the guide, which was successful with a few more steps:
{"srcs":[{"typ":"Web","fileName":"","url":"https://us.metamath.org/metamath/set.mm","readInstr":"StopBefore","label":"reccot","resetNestingLevel":true,"allLabels":[]}],"descr":"","varsText":"","disjText":"","stmts":[{"label":"8","typ":"p","isGoal":false,"cont":"|- ( A e. CC -> ( sin ` A ) e. CC )","jstfText":": sincl"},{"label":"7","typ":"p","isGoal":false,"cont":"|- ( A e. CC -> ( cos ` A ) e. CC )","jstfText":": coscl"},{"label":"3","typ":"p","isGoal":false,"cont":"|- ( ( ( ( cos ` A ) e. CC /\\ ( cos ` A ) =/= 0 ) /\\ ( ( sin ` A ) e. CC /\\ ( sin ` A ) =/= 0 ) ) -> ( 1 / ( ( cos ` A ) / ( sin ` A ) ) ) = ( ( sin ` A ) / ( cos ` A ) ) )","jstfText":": recdiv"},{"label":"9","typ":"p","isGoal":false,"cont":"|- ( ( ( A e. CC /\\ ( cos ` A ) =/= 0 ) /\\ ( ( sin ` A ) e. CC /\\ ( sin ` A ) =/= 0 ) ) -> ( 1 / ( ( cos ` A ) / ( sin ` A ) ) ) = ( ( sin ` A ) / ( cos ` A ) ) )","jstfText":"7 3 : sylanl1"},{"label":"10","typ":"p","isGoal":false,"cont":"|- ( ( ( A e. CC /\\ ( cos ` A ) =/= 0 ) /\\ ( A e. CC /\\ ( sin ` A ) =/= 0 ) ) -> ( 1 / ( ( cos ` A ) / ( sin ` A ) ) ) = ( ( sin ` A ) / ( cos ` A ) ) )","jstfText":"8 9 : sylanr1"},{"label":"12","typ":"p","isGoal":false,"cont":"|- ( ( A e. CC /\\ ( cos ` A ) =/= 0 /\\ ( sin ` A ) =/= 0 ) -> ( 1 / ( ( cos ` A ) / ( sin ` A ) ) ) = ( ( sin ` A ) / ( cos ` A ) ) )","jstfText":"10 : 3impdi"},{"label":"11","typ":"p","isGoal":false,"cont":"|- ( ( A e. CC /\\ ( sin ` A ) =/= 0 /\\ ( cos ` A ) =/= 0 ) -> ( 1 / ( ( cos ` A ) / ( sin ` A ) ) ) = ( ( sin ` A ) / ( cos ` A ) ) )","jstfText":"12 : 3com23"},{"label":"2","typ":"p","isGoal":false,"cont":"|- ( ( A e. CC /\\ ( sin ` A ) =/= 0 ) -> ( cot ` A ) = ( ( cos ` A ) / ( sin ` A ) ) )","jstfText":": cotval"},{"label":"5","typ":"p","isGoal":false,"cont":"|- ( ( A e. CC /\\ ( sin ` A ) =/= 0 /\\ ( cos ` A ) =/= 0 ) -> ( cot ` A ) = ( ( cos ` A ) / ( sin ` A ) ) )","jstfText":"2 : 3adant3"},{"label":"6","typ":"p","isGoal":false,"cont":"|- ( ( A e. CC /\\ ( sin ` A ) =/= 0 /\\ ( cos ` A ) =/= 0 ) -> ( 1 / ( cot ` A ) ) = ( 1 / ( ( cos ` A ) / ( sin ` A ) ) ) )","jstfText":"5 : oveq2d"},{"label":"1","typ":"p","isGoal":false,"cont":"|- ( ( A e. CC /\\ ( cos ` A ) =/= 0 ) -> ( tan ` A ) = ( ( sin ` A ) / ( cos ` A ) ) )","jstfText":": tanval"},{"label":"4","typ":"p","isGoal":false,"cont":"|- ( ( A e. CC /\\ ( sin ` A ) =/= 0 /\\ ( cos ` A ) =/= 0 ) -> ( tan ` A ) = ( ( sin ` A ) / ( cos ` A ) ) )","jstfText":"1 : 3adant2"},{"label":"reccot","typ":"p","isGoal":true,"cont":"|- ( ( A e. CC /\\ ( sin ` A ) =/= 0 /\\ ( cos ` A ) =/= 0 ) -> ( tan ` A ) = ( 1 / ( cot ` A ) ) )","jstfText":"11 6 4 : 3eqtr4rd"}]}

The issue with statements not proving started at 3.4.12, right at the end, and when it says it should be proved it is not. I believe exactly where things went wrong is at this instruction:
Select the latest new step with this (long) statement:
|- ( ( ( A e. CC /\ ( cos ` A ) =/= 0 ) /\
     ( A e. CC /\ ( sin ` A ) =/= 0 ) ) ->
     ( 1 / ( ( cos ` A ) / ( sin ` A ) ) ) =
       ( ( sin ` A ) / ( cos ` A ) ) )

"Duplicate the step. Click on the second parentheses of the goal statement (so we can duplicate its antecedent) and click on the “copy” icon. Now click on the second parenthesis of our new statement, click on the icon edit (edit) below it, and paste with control-V (or command-V). Enter, then press the icon Unify (unify)."

I have reproduced this exactly as @Gwen-Fraser reported. I noticed that sin and cos appear in incorrect order when following the guide. According to the guide, I get ( A e. CC /\ ( sin ` A ) =/= 0 /\ ( cos ` A ) =/= 0 ) at the end (this is only a fragment from the step in the question). And this does not unify automatically. If I swap sin and cos, i.e. the statement becomes ( A e. CC /\ ( cos ` A ) =/= 0 /\ ( sin ` A ) =/= 0 ), then this step does unify automatically. But the goal step is not proven anyway. At the moment I don't know what happened. I reproduced it on dev. When I have time I will try to reproduce it on older versions to check if the root cause is in mm-lamp changes or not.

Sorry for the problems! I believe PR #149 fixes the problem. I hope @expln will get a chance to review the changes, but if @expln doesn't have time, I'll eventually merge it in regardless, since "instructions don't work" isn't good for anyone :-).

It turns out that instead of a simple unification, you need to apply a bottom-up proof to that step. I suspect I did the bottom-up proof but forgot to write that down, and that ended up being "assume it justifies" (which it does not). Due to other changes, the resulting proof looks a little different too (though of course it's still true :-) ). Thanks for the report!

I believe it is now fixed! Let me know of any problems.

Thanks for the fix!


Manual Test: Instructor should be able to create a team manually

Instructor is able to create a team - but when he creates he become part of the team.

Instructor gets considered as a Student here.


Github action fail

The action log shows that there is something wrong with Korean translation, and the error prevent the auto-publish of casnode-website.

@ErikQQY why?

The configuration is same as the configuration of casdoor-website. And there are no errors with other translations.


fix: issue path in test on windows

Signed-off-by: yxxhero<EMAIL_ADDRESS>fix: issue path in test on windows
this issue will cause a git clone error in the windows platform.

@mumoshu


Merger extension

Please make sure the code is following contribution guidelines in CONTRIBUTING.md

[ ] : This PR has a corresponding issue open in the Repository.
[ ] : Approach is signed off on the issue.

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

Test passed and merger possible

please add more details on why this should be merged?


Errors on arm-linux

Just documenting some errors I encountered on arm-linux. Mostly u32 <-> u64 things.
error[E0308]: mismatched types
    --> /home/runner/work/yrb/yrb/tmp/cargo-vendor/magnus/src/value.rs:2267:64
     |
2267 |             return Some(unsafe { Self::from_rb_value_unchecked(v.rotate_left(3) & !0x01 | 0x02) });
     |                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64`
     |
help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
     |
2267 |             return Some(unsafe { Self::from_rb_value_unchecked((v.rotate_left(3) & !0x01 | 0x02).try_into().unwrap()) });
     |                                                                +                               +++++++++++++++++++++

error[E0308]: mismatched types
    --> /home/runner/work/yrb/yrb/tmp/cargo-vendor/magnus/src/value.rs:2310:41
     |
2310 |             let v = (2_u64.wrapping_sub(b63) | v & !0x03).rotate_right(3);
     |                                         ^^^ expected `u64`, found `u32`
     |
help: you can convert a `u32` to a `u64`
     |
2310 |             let v = (2_u64.wrapping_sub(b63.into()) | v & !0x03).rotate_right(3);
     |                                            +++++++

error[E0308]: mismatched types
    --> /home/runner/work/yrb/yrb/tmp/cargo-vendor/magnus/src/value.rs:2310:48
     |
2310 |             let v = (2_u64.wrapping_sub(b63) | v & !0x03).rotate_right(3);
     |                                                ^^^^^^^^^ expected `u64`, found `u32`

error[E0277]: no implementation for `u64 | u32`
    --> /home/runner/work/yrb/yrb/tmp/cargo-vendor/magnus/src/value.rs:2310:46
     |
2310 |             let v = (2_u64.wrapping_sub(b63) | v & !0x03).rotate_right(3);
     |                                              ^ no implementation for `u64 | u32`
     |
     = help: the trait `BitOr<u32>` is not implemented for `u64`
     = help: the following other types implement trait `BitOr<Rhs>`:
               <&'a i128 as BitOr<i128>>
               <&'a i16 as BitOr<i16>>
               <&'a i32 as BitOr<i32>>
               <&'a i64 as BitOr<i64>>
               <&'a i8 as BitOr<i8>>
               <&'a isize as BitOr<isize>>
               <&'a u128 as BitOr<u128>>
               <&'a u16 as BitOr<u16>>
             and 52 others

Just FYI, I'm seeing these too: https://github.com/gjtorikian/commonmarker/actions/runs/3267161980/jobs/5371966486
Is there a problem with just applying the suggested changes? Happy to make a PR if so.

These errors are from the code supporting ‘flonum’ (encoding lower precision floats into Ruby’s VALUE pointer, so Ruby can avoid allocating an object for a float). This is only possible on 64bit systems, and arm-linux is 32 bit (64 bit arm is aarch64).
All the flonum support should be conditionally compiled only for 64 bit platforms. Ideally we’d be able to pick up the USE_FLONUM value from Ruby’s build config, as that’s what Ruby is using internally.
I’m honestly surprised these are the only compilation errors for 32bit systems, as I’ve not tested 32bit support at all.

These errors are from the code supporting ‘flonum’ (encoding lower precision floats into Ruby’s VALUE pointer, so Ruby can avoid allocating an object for a float). This is only possible on 64bit systems, and arm-linux is 32 bit (64 bit arm is aarch64).
All the flonum support should be conditionally compiled only for 64 bit platforms. Ideally we’d be able to pick up the USE_FLONUM value from Ruby’s build config, as that’s what Ruby is using internally.
I’m honestly surprised these are the only compilation errors for 32bit systems, as I’ve not tested 32bit support at all.

I solved this for rb-sys, and could expose it via cargo config, so DEP_USE_FLONUM is available

I solved this for rb-sys, and could expose it via cargo config, so DEP_USE_FLONUM is available

Yeah, that’d be great


--manifest-path is often silently or partly ignored.

This can be extremely confusing. Specifying --manifest-path <directory> will completely ignore the parameter (without telling you). --manifest-path <directory>/ doesn't do anything either. However,--manifest-path <directory>/<filename> causes cargo to check in the specified directory while silently ignoring the filename.

Hi. I was looking at fixing this.
I was wondering, should the argument to --manifest-path be a filename or a directory (or both)?
Thanks.

I believe the intention was for --manifest-path to always point to a Cargo.toml itself

I believe this was fixed in #1182.


shared_preferences plugin should support value observing

Both Android and iOS support the observer pattern for SharedPreferences/UserDefaults.
Alas, the shared_preferences plugin in Flutter should, in addition to simple writing & reading, provide Stream endpoints to the values as well.
Android:
https://developer.android.com/reference/android/content/SharedPreferences.OnSharedPreferenceChangeListener

This will listen to any change in the preferences, and therefore might have performance implications for preference-heavy apps

iOS:
https://developer.apple.com/documentation/foundation/userdefaults/1408206-didchangenotification

This will also listen to any change, and is therefore not providing the best performance
UserDefaults does support the KVO, which can be used to listen for specific changes

Only your app can write to SharedPreferences, right?
Why would you want notifications for your own app?
If you need this you could just create a simple wrapper that emits events using a stream on write calls.

While the preferences are available only to my app itself, in a complex app they are accessed by multiple components and screens. The component modifying the preferences might be on screen, while the interested components is off screen (or behind). I only need the interested component to know once a preference is updated and then update its own state.
I have created a wrapper as you suggested but dislike this sort of extra-layer because the platform already supports the use case and Flutter could build on top of it.

Some low quality plugins exists which try to imitate this behavior. They add "thin wrapper" on dart side.
But there exists another use case - embedding Flutter into existing apps. Shared preferences can be changed from native code and from Flutter. To keep state in sync and have correct solution it is needed to expose iOS/Android API which lets to add onValueChanged listeners (both iOS and Android have these).
Adding reactive stream API would be a nice bonus.

I want to know about its latest plan for this.I need it.😢

I can't believe this is open since 2018 and no update/progress.

After +4 years not exist a solution, my case use is for communicate date between background tasks and UI, in my first attempt I think to listen a change in shared preferences


DO_NOT_MERGE Predicated prerequisitecapabilityjunction

add predicate fo capabilitycapabilityjunction

add predicatedprerequisitecapabilityjunctiondao that filters the dao by predicate for non-admin users

cache the pcjs map from crunchservice in the session and only use it when context user/realuser matches session user/agent

updates on nanopay side : https://github.com/nanoPayinc/NANOPAY/pull/12122

merge capabilities for signingofficer (US, CA, BR) : https://github.com/nanoPayinc/NANOPAY/pull/12123

Awesome job! Very exciting to use this.


Fix issue where nslookup on busybox:latest (Version :1.29) doesn't work.

I borrowed some fixes from the upstream project to fix #19

Explicitly set resolv.conf for Kubelets on worker nodes
Pin Busybox to 1.28

$ kubectl run busybox --image=busybox:1.28 --command -- sleep 3600
deployment.apps/busybox created
$ POD_NAME=$(kubectl get pods -l run=busybox -o jsonpath="{.items[0].metadata.name}")
$ kubectl exec -ti $POD_NAME -- nslookup kubernetes
Server:    <IP_ADDRESS>
Address 1: <IP_ADDRESS> kube-dns.kube-system.svc.cluster.local

Name:      kubernetes
Address 1: <IP_ADDRESS> kubernetes.default.svc.cluster.local
$

@stefanlasiewski thanks for the PR, this worked for me :-)

@schu PTAL once :-) tried it worked for me.

The bug was fixed upstream, but apparently the fix hasn't made it into the image yet.? Thanks for the pull request!


Provicevko/change image service structure

-> Made images generic service
-> Added deleting images while deleting workshop
--  Please, pay attention to GetFilterForSearchingEntityByIdWithIncludedImages and GetEntityImages that are used to connect particular image services (like workshop) with base abstract classes. If you have some propositions how to do it in another way, I'll be happy to see it :).
--  NOT ADDED distributed transactions

If you have some propositions how to do it in another way, I'll be happy to see it :).

Correct me if I'm wrong you are now using inheritance - to put common code into base class and specialize behavior (mentioned GetFilterForSearchingEntityByIdWithIncludedImages and GetEntityImages methods) in descendants by overriding abstract ones.
This might always be refactored to composition (see Strategy pattern) or even as simple as passing extra parameters (like Action<> or Func<> in a specific methods). While latter seems not feasible for your case, former sounds good for me.
Hope it will help )

Correct me if I'm wrong you are now using inheritance - to put common code into base class and specialize behavior (mentioned GetFilterForSearchingEntityByIdWithIncludedImages and GetEntityImages methods) in descendants by overriding abstract ones.

Yes, you're exactly right that's I try to do it. Could you explain how I can use composition with strategy in my case? These 2 methods depends on generic parameters (TEntity, TKey). For this case I can only create something like ITypeStrategy<TEntity, TKey> with these methods but it doesn't have any sense because each pair of (TEntity, TKey) has to have 1 implementation. As a result I won't see difference between overriding (like template method) or with strategy with this interface. The generic parameters are need because we don't have one base class for entities with images.
Or maybe you can offer something how to change logic of these methods, like GetEntityImages(TEntity entity) => entity.(NameOfEmagesField) in order to remove dependencies of generic parameters.
Thanks a lot :)

...(skipped)... Could you explain how I can use composition with strategy in my case? These 2 methods depends on generic parameters (TEntity, TKey). For this case I can only create something like ITypeStrategy<TEntity, TKey> with these methods but it doesn't have any sense because each pair of (TEntity, TKey) has to have 1 implementation. As a result I won't see difference between overriding (like template method) or with strategy with this interface.

Yes, each pair has to have 1 strategy implementation. Same situation as you have currently with WorkshopImagesInteractionService - specific implementation per specific pair. Yes, strategy pattern will add 1 extra interface and n specific pair interface implementations. In general, rule composition over inheritance proves it's correctness when code has to be tested/changed.
Do you need it? I don't know, until you specify the goal of refactoring or, in other words, what problem are we trying to solve. And I'm afraid, but currently your goals and attacked problems are unclear (at least for me).
Subsequent considerations are not worth of implementing, they are just thoughts I have re your code and examples of things that doesn't let me see the whole picture/problems.
F.i. I don't see the goal of having TRepository as generic type parameter. For me it looks like it could be used
protected IEntityRepositoryBase<TKey, TEntity> Repository { get; }
thus simplifying several generics. Probably I don't see real obstacles (as I didn't checked out your branch in my local VS with all dependencies and compiler support). Probably I don't see the developer's intention.
From other point I don't see the goal to have separate TEntity, TKey generic parameters while they goes in pair everywhere. As I got the domain - the TKey is inner thing of TEntity. I assume it's impossible to have 1 specific TEntity with several TKeys. Thus instead of
SomeGenericClass<TEntity, TKey> where TEntity : class, new()
it might be
SomeGenericClass<TEntity, TKey> where TEntity : TKeyedEntity<TKey>
or even
SomeGenericClass<TEntity> where TEntity : TKeyedEntity
Definitely last variant requires way too big refactoring and probably inevitable due to

forcing specific WorkshopDto / Workshop to implement  : TKeyedEntity<Guid>, TKeyedEntity - first interface to set returning type for GetKey() method / Id property, last interface just marker one to simplify constraints where key is not necessary)
changing lot of places in code where TKey is used (but the same pattern is everywhere - TKey entityId is taken and passed to either GetFilterForSearchingEntityByIdWithIncludedImages or GetEntityWithIncludedImages (that calls the former method under the hood).

So you still know your problem better than me and could try to think outside the box re code and find better solution than I've suggested.


Update README.rst - DS1815+ Works Great

DS1815+ Works Great

Should also mention I needed to do:
chmod 600 /etc/wireguard/wg0.conf


when intra-day support?

wait for this function, thanks a lot.

I have not started on this yet. here is my initial plan on the next few releases.
https://github.com/rrag/react-stockcharts/blob/master/docs/md/COMING-SOON.md
It can still change though.

Really cool!
How about support trade info display on chart?

what is "support trade info"? I am not aware of that. Can you show me what that is? Let us continue on gitter chat, as this seems to be a new feature request. Let us not change topic on this thread

Curious about this one too since I would like to use your library for a live crypto currency trading website. Considering how crypto trading "never sleeps" and doesn't stop for weekends, do you think I'd be better off writing a custom time scale for that?

if you are working with continuous data, don't worry about creating a new scale. just use d3.scale,time()
There should be no big changes, but I would expect problems with chart types like Renko, Kagi, P & F.
In any case I am doing a lot of refactor now part of 0.4 I will try to test this.

OK that's great, I can probably lay off the advanced chart types for now, thanks.

using d3.time.scale() in lieu of financeEODDiscontiniousScale() does not work.

candlesticks render as lines (as if zoomed out far)
zooming does not work properly
mouse cursor x selection does not work properly (sticks to far left/right side of chart)

any way we can help get intraday scales moving along?

I know I have been procrastinating on this.
I assume the changes will be only limited to creating a new scale. I can try something out next week.
If you have access to and can share test intra day data for a security for a few months, at 1 min intervals, that would be very helpful.

similar to @svk31 I am also using cryptocurrency data.  I'll get you some datasets soon for multiple intraday intervals for XBT/USD.

a few notes, some of the changes I'm seeing that need to be done to support intraday scales:

add financeIntradayDiscontinuousScale
add financeIntradayCalculator
add intradayIntervalCalculator
better? way for evaluator to select the appropriate interval calculator (currently need to pass as a prop to ChartCanvas)
calculate intraday boundaries in financeIntradayCalculator
support data splicing for intraday scales in intradayIntervalCalculator
update timeScaleSteps in financeIntradayDiscontinuousScale

I have some of these changes on a fork, I'll post the branch & hopefully an intraday dataset soon.

looks great. Looking forward to this

I have added a bitcoin/USD dataset for Bitfinex 1-minute OHLC bars on my branch, here: https://github.com/brobits/react-stockcharts/blob/intraday_scales/docs/data/bitfinex_xbtusd_1m.csv
disclaimer: the data may have some empty bars when the adapter was off, and may have some gaps.  the dataset is mostly contiguous, but not entirely.
the changes I've pushed to the intraday_scales branch have basic support for resolutions I've tested around 1m thru ~6h bars.  if you'd like 5m, 10m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, or 1d bars I have some additional datasets available.
I'll open a PR for the new branch, although I consider the branch to still be WIP and a working PR.  at a minimum the commits will need to be rebased and collapsed into something prettier.

Hello, guys!
I believe we need to change eodCalculator, scale steps and formatters  for different scales.
So, I suggest to export not financeEODScale but financeEODScaleFactory here:
// before
export default function financeEODScale(indexAccessor = d => d.idx, dateAccessor = d => d.date, data = [0, 1], backingLinearScale = d3.scale.linear()) {

	var timeScaleSteps = [
		{ step: 864e5, f: function(d) { return isDefined(dateAccessor(d)) && true; } },  // 1-day
		{ step: 1728e5, f: function(d, i) { return isDefined(dateAccessor(d)) && (i % 2 === 0); } },
        // ...
	];
	var tickFormat = [
		[d3.time.format("%Y"), function(d) { return d.startOfYear; }],
		[d3.time.format("%b %Y"), function(d) { return d.startOfQuarter; }],
         // ...
	];

// after
export default function financeEODScaleFactory(createTimeScaleSteps = createDefaultTimeScaleSteps, tickFormat = defaultTickFormat) {
  return function financeEODScale(indexAccessor = d => d.idx, dateAccessor = d => d.date, data = [0, 1], backingLinearScale = d3.scale.linear()) {
    var timeScaleSteps = createTimeScaleSteps(dateAccessor, data)

As you can see in this case you can set your own timeScaleSteps and tickFormat without copying and changing any code:
const financeEODScale = financeEODScaleFactory(/* here you can pass your own stuff */)
const xScale = financeEODScale()

Then we can create createDefaultTimeScaleSteps.js with signature below:
const createDefaultTimeScaleSteps = (dateAccessor) => [
  { step: 1e3, f: function(d) { return isDefined(dateAccessor(d)) } },
  { step: 2e3, f: function(d) { return isDefined(dateAccessor(d)) && d.startOfSecond } },
  // ...
]
export default createDefaultTimeScaleSteps

And defaultTickFormat.js:
export default [
  [d3.time.format("%b %Y"), function(d) { return d.startOfYear; }],
  //[d3.time.format("%b %Y"), function(d) { return d.startOfQuarter; }],
  // ..
]

With this stuff i've created my own intraday scale:

@rrag @brobits what do you think about it?

I do like this, a scale factory is cool.
how about the interval calculator? how did you implement the interval jumps, when zoom in/out
@brobits has a PR. I would like your comment there

intraday scales are working on the PR. factories are great! if we decide to move to factory patterns, we should push the concept to all pieces of the chart rather than just the scales.
as a side note, even with this factory pattern you still may run into issues with your interval calculator.  specifically, intraday interval calculators may still need to be customized, such as the difference between getHours() and getUTCHours() for hour-bar boundaries in UTC or local time, depending on the data source and desired tick display to the user.

just curious, why cant we always use getUTCHours?

@rrag

how about the interval calculator? how did you implement the interval jumps, when zoom in/out

I've changed eodCalucator's accumulator
It's still a prototype. I'm using this scale for both realtime(intraday) and historical scales:
.accumulator(([prev, now]) => {
        var prevDate = dateAccessor(prev);
        var nowDate = dateAccessor(now);

        var startOf100MilliSecond = Math.floor(nowDate.getMilliseconds() / 100) != Math.floor(prevDate.getMilliseconds() / 100)
        var startOfSecond = nowDate.getSeconds() !== prevDate.getSeconds()
        var startOf5Second = Math.floor(nowDate.getSeconds() / 5) !== Math.floor(prevDate.getSeconds() / 5)
        var startOfMinute = nowDate.getMinutes() !== prevDate.getMinutes()
        var startOf2Minutes = Math.floor(nowDate.getMinutes() / 2) !== Math.floor(prevDate.getMinutes() / 2)
        var startOf5Minutes = Math.floor(nowDate.getMinutes() / 5) !== Math.floor(prevDate.getMinutes() / 5)
        var startOf10Minutes = Math.floor(nowDate.getMinutes() / 10) !== Math.floor(prevDate.getMinutes() / 10)
        var startOf15Minutes = Math.round(nowDate.getMinutes() / 15) !== Math.round(prevDate.getMinutes() / 15)
        var startOf30Minutes = nowDate.getMinutes() >= 30 && prevDate.getMinutes() < 30
        var startOf2Hours = Math.floor(nowDate.getHours() / 2) !== Math.floor(prevDate.getHours() / 2)
        var startOf6Hours = Math.floor(nowDate.getHours() / 6) !== Math.floor(prevDate.getHours() / 6)
        var startOfHour = nowDate.getHours() !== prevDate.getHours()
        var startOfDay = nowDate.getDay() !== prevDate.getDay()
          //|| (nowDate.getTime() - prevDate.getTime() > 1000 * 60 * 60 * 24)
        var startOfHalfDay = nowDate.getHours() >= 12 && prevDate.getHours() < 12 && !startOfDay
        // According to ISO calendar
        // Sunday = 0, Monday = 1, ... Saturday = 6
        // day of week of today < day of week of yesterday then today is start of week
        var startOfWeek = d3.time.week(nowDate).getTime() !== d3.time.week(prevDate).getTime();
        // month of today != month of yesterday then today is start of month
        var startOfMonth = nowDate.getMonth() !== prevDate.getMonth();
        // if start of month and month % 3 === 0 then it is start of quarter
        var startOfQuarter = startOfMonth && nowDate.getMonth() % 3 === 0;
        // year of today != year of yesterday then today is start of year
        var startOfYear = nowDate.getYear() !== prevDate.getYear();

        var row = {
          ...now,
          startOf100MilliSecond,
          startOfSecond,
          startOf5Second,
          startOfMinute,
          startOf2Minutes,
          startOf5Minutes,
          startOf10Minutes,
          startOf15Minutes,
          startOf30Minutes,
          startOfHour,
          startOf2Hours,
          startOf6Hours,
          startOfHalfDay,
          startOfDay,
          startOfWeek,
          startOfMonth,
          startOfQuarter,
          startOfYear
        };
        return row;
      })

And that's all.
As @brobits said:

if we decide to move to factory patterns, we should push the concept to all pieces of the chart rather than just the scales.

I've created factories for all scale parts (evaluator, interval Calculator ..)

ha ha

startOf100MilliSecond,
startOfSecond,

isnt that a little too much :)
If you dont use getUTCHours getUTCMinutes, getUTCXXX this would not work for day light saving shift right?

@rrag basically i have chart's like this:

So, I need milliseconds for them) But anyway - I'd like to split it because there is too much calculations for each point

@rrag I suggest that we do, but I think there is a use case if you want your ticks to align on boundaries to the user's local time, in which case you'd need a new interval calculator.  I don't think we should include one in source though.

closing in favor of https://github.com/rrag/react-stockcharts/issues/73


Update to Data* suite, FileSystem, Memory, TAXII and Filters

Updated docstrings in Data* suite, CompositeDataSource, FileSystem* suite, Memory* suite, TAXIICollection* suite
Modified the format with which STIX data can be pushed and retrieved from Data* suites.

FileSystemStore/Sink, MemoryStore/Sink, TAXIICollectionStore/Sink can now be supplied with STIX data in any of the following forms: python STIX objects, dicts,  json-encoded strings, or a list of any of the previous forms
FileSystemStore/Source will default to returning python STIX objects (i.e. it will json load STIX object files, and then use parse() to get a python STIX object from that)
MemoryStore/Source will return STIX objects in the manner they were added to Memory - but MemoryStore/Sink restricts forms to either python STIX objects or dicts (converting other forms to one of those before adding)
TAXIICollectionStore/Source will return python STIX objects, converting TAXII returned dicts to python STIX objects (I know this was still being debated, and be changed, just did this way for now)

Tightened the way filters are passed around throughout the API layers. Essentially any filters attached to a DataSource are added to a set and maintained in a set throughout operation. While run time queries (which are also groups of filters) are provided as lists and passed as lists until they reach DataSource.query() where the query list will be converted to a set and then combined with the filter sets of that DataSource and any possible parent CompositeDataSource(s).
Updated test_data_sources so would not break. However, need to add tests for 2.

Overall, I really like the direction this is going. There are a few suggestions I have above. I'm also interested in getting @clenk's feedback. (The tests need to pass, too 😀 )

Chris, feel free to enlighten me on how I can check what tests it is breaking. I only checked it against (and modified) test_data_sources.py

If you look on Travis, there's 2 environment tests that are failing because there is now no add_filter(). So they would pass if you switched them to add_filters().

From Travis, I think test_data_sources.test_add_get_remove_filter() is failing because of python 2 vs 3 differences. Maybe if we change the test to something like:
assert "Filter value type" in str(excinfo.value)
assert "not supported. The type must be a python immutable type or dictionary" in str(excinfo.value)

The only other thing is I think
[stix_obj for stix_obj in apply_common_filters( ... )]
can be simplified as
list(apply_common_filters( ... ))
But that's minor; I think it's good to go.

I fixed the build failure and opened #59 to deal with the listcomps. One the builds pass, I'm going to merge this.

Codecov Report

Merging #57 into master will decrease coverage by 1.2%.
The diff coverage is 59.42%.

@@            Coverage Diff             @@
##           master      #57      +/-   ##
==========================================
- Coverage   95.96%   94.75%   -1.21%
==========================================
  Files          53       53
  Lines        4631     4675      +44
==========================================
- Hits         4444     4430      -14
- Misses        187      245      +58

Impacted Files
Coverage Δ

stix2/test/test_data_sources.py
100% <100%> (ø)
:arrow_up:

stix2/test/test_environment.py
100% <100%> (ø)
:arrow_up:

stix2/environment.py
95.34% <100%> (-4.66%)
:arrow_down:

stix2/utils.py
100% <100%> (ø)
:arrow_up:

stix2/sources/filesystem.py
17.85% <11.76%> (-4.37%)
:arrow_down:

stix2/sources/taxii.py
34.61% <15.78%> (-9.46%)
:arrow_down:

stix2/sources/memory.py
76.4% <65.11%> (-7.16%)
:arrow_down:

stix2/sources/filters.py
95.83% <93.1%> (-4.17%)
:arrow_down:

stix2/sources/__init__.py
96.15% <93.33%> (-0.82%)
:arrow_down:

Continue to review full report at Codecov.

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

Despite the coverage decreasing, I'm going to merge this. We have too many other things depending on a new release of python-stix2 to worry about the slight reduction (for now).


Allow user to disable unnecessary model evaluations after #2202

After #2202 we will perform one additional evaluation per MCMC iteration than before.
In most use-cases we and users encounter in practice, this is negligible compared to the inference itself, e.g. when using NUTS, but in some cases it can be a significant increase in computational cost.
Unfortunately this is necessary to support "all" possible models and stealthy bugs causing incorrect results in some cases, e.g. see referenced issues in #2202. But IMO we should also provide the user a way to turn this off, as it is not required for most models encountered in practice.
One simple way of doing this is to let the user tell Turing.jl that "hey, this model is 'static' (in some sense), so perform optimizations where you can". At the moment, this would have to be done by the user manually, e.g. by setting a variable attached to the Model itself telling us that it has static support, etc., which is not ideal, but I don't really see a way around it in the near future (long-term we can definitely do better, e.g. analyze the IR in the model).
I'm of the opinion that adding something like this now is worth it, because I know I would personally be annoyed if I'm forced to perform redundant operations when my model does not require it, without an easy way to turn it off. But I know there are other opinions floating around regarding this.
Thoughts? @devmotion @yebai @sunxd3

Can we simply pass an additional argument to the sample function, e.g. sample(;is_static=true)?

Technically possible, but this will be very invasive as it requires propagating kwargs through sooo much of the Turing.jl code base. I started out doing this in an attempt to add this and then just gave up because it got so unwieldy.

Exactly:)


Rule: always-export-as-type

Implement a rule that will always export an interface or type with export type syntax, i.e.
interface UseInputOptions {
    onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
    value?: string;
}

export { UseInputOptions };

will be transformed to:
interface UseInputOptions {
    onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
    value?: string;
}

export type { UseInputOptions };

This can be replaced by @typescript-eslint/consistent-type-exports, which also has auto-fix available


Sample overview - heatmap

The task is to provide a possibility to view a heatmap of peptide intensity across preparation for selected m/z value.

 Sample heatmap panel


Update -AutoUpdateEnabled value in example 1

In Example 1: Enable auto-update for a claims provider trust, -AutoUpdateEnabled should be $true

Docs Build status updates of commit 24a1393:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/adfs/Set-AdfsClaimsProviderTrust.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@DanManson Please change the target branch of the PR from live to master to continue with the review. Thank you for the feedback

Please feel free to re-open the PR to change the branch to master. Thank you.


how to convert from UDP to HLS(m3u8)

I have searched and been unable to correctly configure my mistserver to convert from a UDP input to an HLS(m3u8) output.
I have gotten confused with the PULL and PUSH to the mistserver.
Can someone help me configure it?
I am willing to pay for advice

Hey Erik,
We'd be happy to help, If it's a standard UDP input you're probably done
once you got the right setup going. Could you share what kind of input
you're trying to put into MistServer? Is the UDP a TS stream, a SRT stream,
a RIST stream, a WebRTC stream? There's quite some possibilities after all!
For HLS (m3u8) output, you can instantly access HLS output once the stream
is received, if you also wish to record it you'll need to start a PUSH.
If all you need is a simple source configuration I doubt we'll need to ask
for a payment for that.
With kind regards,
Balder Viëtor
Head of Testing
MistServer
On Thu, Nov 30, 2023 at 12:49 AM Erik Tovar @.***>
wrote:

I have searched and been unable to correctly configure my mistserver to
convert from a UDP input to an HLS(m3u8) output.
I have gotten confused with the PULL and PUSH to the mistserver.
Can someone help me configure it?
I am willing to pay for advice
—
Reply to this email directly, view it on GitHub
https://github.com/DDVTECH/mistserver/issues/183, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN2RJEN7CTPYCQGC4366YTYG7CYBAVCNFSM6AAAAABAAJQWZ6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTONRSGM2DGMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


No "azure-create-sql-db.sh"

In the readme there is a reference to the script azure-create-sql-db.sh but there is no such script in the repo

Good catch...that was copy/paste issue. Removed that part and updated the docs to read as below...
.....
Create the Azure SQL Database
If you don't have an Azure SQL server already, you can create one (no additional costs for a server) running the following AZ CLI command (via WSL, or Linux or Azure Cloud Shell):
Create a resource group if you don't have one already created:
az group create -l <location> -n <MyResourceGroup>

Create the Database Server:
az sql server create -n <server-name> -l <location> --admin-user <admin-user> --admin-password <admin-password> -g <resource-group>

Make sure to note the database name, username and password somewhere safe.

Create a new Azure SQL database:
az sql db create -g <resource-group> -s <server-name> -n my-db --service-objective GP_Gen5_2

Make sure you have the firewall configured to allow your machine to access Azure SQL:
az sql server firewall-rule create --resource-group <resource-group> --server <server-name> --name AllowMyClientIP_1 --start-ip-address <your_public_ip> --end-ip-address <your_public_ip>

You can get your public IP here or through other ways, for example: https://ifconfig.me/


First Epic

do-not-edit-start-codetree-epic-issues
Issues in this epic:

Title
Milestone
Assignees
Stage
State

 First Issue #2
N/A
N/A
Untriaged
Open

do-not-edit-end-codetree-epic-issues

Issue moved to USER.


[Bug] the result of the kpm.KclPackage.GetAllSchemaTypeMapping API returns empty filename and pkgpath in the KclType

Bug Report
Please answer these questions before submitting your issue. Thanks!
1.  What did you expect to see? (Required)
valid filename and pkgpath
3. What did you see instead (Required)
empty filename and pkgpath
4. What is your KCL components version? (Required)
<EMAIL_ADDRESS>

This issue could not be reproduced in kcl-go CI pipeline, so it's an environment-related problem. I'll just close the issue


Stuck on Preloading Models step

The installation gets stuck on Preloading Models step.

Seems like a internet connection issue see #317 or #197
TLDR:
You can try to download the .pt files from huggingface directly:
https://huggingface.co/suno/bark/tree/main
and put them into the models folder.


chore: main to alpha

:tada: This PR is included in version 1.0.5-alpha.2 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Kr feature gurobi 1002 support

Tested support for new Gurobi version on local Mac machine. Seems to work!

This should solve  #1 !


Support GPU Selection

Allow the user to select a GPU (e.g., a server may have more than one NV GPU).

ae8978bd7df739779c8d5c4e6b0421ee78a1d1bd
Try to read a JSON file in the env variable UIPC_ENGINE_DEFAULT_CONFIG. If successful, use it to override the Engine::default_config().
In the UIPC_ENGINE_DEFAULT_CONFIG:
{
    "gpu": {
        "device": 0 // set by user
    }
}


Prepare for DMC dark launch

Value Statement
As DMC Business Line
I want to have a test API key
So that I can try out VA Notify in research mode
Acceptance Criteria
GIVEN
WHEN
THEN
Checklist

[ ] Create a service in production
[ ] Create template in production
[ ] Create test API key i.e. needs to be in research mode

Assumptions
-Service should be modeled after the one in staging - daily message limit set to 25,000 with permissions only to send emails
Additional Info/Resources

Out of Scope

Open Questions

Confirm content one last time with Todd

Approved content from DMC team
Subject: Important information from the Debt Management Center
Email Content:
Dear Veteran,
You have new information from the Debt Management Center. Please sign in to https:/va.gov/manage-va-debt/ to view details.
You will also receive a letter from the Debt Management Center with the details of this information.
Thank you,

VA.gov
Please do not reply to this email. If you need to contact us please visit https://va.gov.

Approved content from DMC team
Subject: Important information from the Debt Management Center
Email Content:
Dear Veteran,
You have new information from the Debt Management Center. Please sign in to https:/va.gov/manage-va-debt/ to view details.
You will also receive a letter from the Debt Management Center with the details of this information.
Thank you,

VA.gov
Please do not reply to this email. If you need to contact us please visit https://va.gov.

Testing in staging before creating the entities in prod

Testing in staging before creating the entities in prod

Created service with research mode on. Created service api key with type as test. Also observed the message limit and finalized content.

Created service with research mode on. Created service api key with type as test. Also observed the message limit and finalized content.


Specifying only embedded password in the uri results in Index Out of Bounds Exception

So I have been reading  the spring cloud config client code recently and I think i might have stumbled upon a small bug in the code. If I specify only one embedded credential in the uri, this results in Index Out of Bounds Exception which is obvious after taking a look at extractCredentials() method inside the Class ConfigClientProperties. So something like this
spring.cloud.config.uri=http://abcd@localhost:8888

It also seems like the code seeks to support  if only password is mentioned in the uri(only one embedded credential) after looking at this small snippet.

// handle the password only case
if (!userInfo.contains(":")) {

userInfo = userInfo + ":";

}

If my understanding is correct, I am not sure it does, as it would throw the above exception. Feel free to Correct me If i am wrong.

So in your example is abcd the password?

Yes, it can be considered to be. What my point was if you mention two words separated by : , then it is fine. But if you only mention one, and at least from the code it seems like we want to support only presence of one credential(as default for username is user), it is going to obviously fail.

Hmm, either way, the code needs some refactoring, so we don’t get that exception.

Would love to refactor, once we reach a consensus.

adding a colon to the url after the username will work around the problem

PRs welcome

Closing, as this has been rectified.


Matomo isn't tracking calls

Expected behavior
Send a request to matomo, and process the request
Actual behavior
request is sent but no tracking is recognized on Matomo
Steps to reproduce the behavior

Call any Nextcloud page
Called URL: https://analyse.steuerberater-bayreuth.com/piwik.php?action_name=Dateien - Dateiupload STBK&idsite=2&rec=1&r=578658&h=8&m=38&s=6&url=https%3A%2F%2Fdateien.steuerberater-bayreuth.com%2Findex.php%2Fapps%2Ffiles%2F%3Fdir%3D%2F&uid=LarsKusch&_id=5c3ffcdfa691ced9&_idts=1599902015&_idvc=3&_idn=0&_refts=0&_viewts=1600012615&send_image=1&pdf=1&qt=0&realp=0&wma=0&dir=0&fla=0&java=0&gears=0&ag=0&cookie=1&res=1920x1080&cvar={"1"%3A["App"%2C"files"]}&gt_ms=185&pv_id=8lomi4

Environment

App version: 0.6.0
Nextcloud version:  19.0.3
Browser vendor and version: Edge Chromium
Any browser plugins enabled? No
Is your Matomo installation working as expected? Yes

Logs
Javascript

No

Sorry, but this is likely an issue with your Matomo installation, because if the request is out, it seams everything is working fine from our side.


[TERRA-564] Add subcommand to get Notebook proxyUrl

New  subcommand to get Notebook proxyUrl
connected test

Manual test -
terra-cli (dexamundsen/terra-564) >> terra notebook launch --name=dex-notebook-516-1
<verified classic view url>

terra-cli (dexamundsen/terra-564) >> terra notebook launch --name=dex-notebook-516-1 --proxy-view=JUPYTERLAB
<verified lab view url>

terra-cli (dexamundsen/terra-564) >> terra notebook stop --name=dex-notebook-516-1
Notebook instance stopped

terra-cli (dexamundsen/terra-564) >> terra notebook launch --name=dex-notebook-516-1
Cannot launch notebook instance: Expected notebook instance status is [InService] but current status is Stopped

John C is working on an axonserver endpoint to get the proxy url right?

John C is working on an axonserver endpoint to get the proxy url right?

Yes, we discussed using axon and decided to go ahead with implementing it in CLI for 2 reasons

Axon isnt hooked up in CLI yet - this is a straightforward call to get the proxyUrl, and adding it here will unblock meaningful use of the CLI for AWS notebooks
final location for all cloud interactions will be CRL, Axon will also use crl functions. This internal refactoring can be taken as tech debt while currently focusing on user capabilities


Domains are down in DNS

the subdomains repo.treescale.com and dash.treescale.com have no records, so it's unreachable.

Thanks for reporting! We are planning large updates and moving DNS provider, somehow not all DNS settings replicated


Simplify/bring consistency to Broadcaster regexes

Pull request
Purpose
Broadcaster regexes have slightly different formats.
Detailed description why you created this Pull Request.
Approach
This PR is bringing consistency the following rules:

All broadcaster regexes must start/finish with word boundaries (\b)
Only one capturing group must be present, it should capture the full name of the broadcaster, nothing else
If webrip/webdl is expected, it will follow the format [ ._-]web(?:dl|rip)? (separator followed either web, webrip or webdl). Note, if the content is web-rip it will be seen as web followed by a word boundary
Avoid lookaround when not necessary

Open Questions and Pre-Merge TODOs
Check all boxes as they are completed

[x] Use github checklists. When solved, check the box and explain the answer.

Learning
If you're adding a new Custom Format make sure you follow the Radarr/Sonarr Custom Format (JSON) Guidelines.
Requirements
Check all boxes as they are completed

[x] These changes meet the standards for contributing.
[x] I have read the code of conduct.

Something that isn't accounted for here (and actually isn't accounted for in the current set either) are hybrid releases. You'd want something like \b(hmax|hbom|hbo[ ._-]max)([ ._-]hybrid)?[ ._-]web(?:dl|rip)?\b to account for these.

Something that isn't accounted for here (and actually isn't accounted for in the current set either) are hybrid releases. You'd want something like \b(hmax|hbom|hbo[ ._-]max)([ ._-]hybrid)?[ ._-]web(?:dl|rip)?\b to account for these.

Would it be a case of using \b(hmax|hbom|hbo[ ._-]max)[ ._-](?:hybrid|web(?:dl|rip)?)\b
I haven't seen any hybrid release names as of yet

What I'd forgotten was that it's actually one of the guide CFs adding Hybrid into the name in this scenario, which would explain why you'd not seen one like this 'in the wild'. I think the suggested changes look ok to me, but I'm not a regex expert so I'll let the gurus look it over 😄

After some research and testing the Simplify, isn't simpler when we need to cover stuff like hybrid etc, and adding all the possible variables in to it is just more complicated then we have it now.
We still can review other settings, but as mentioned before, if you want to help out join our discord and we can work together on it.
So for now this will be on hold/closed


PRs from forked branches aren't triggering CF builds

There might be an answer in their discord according to this https://community.cloudflare.com/t/pages-preview-deployments-not-triggered-by-prs-from-forks/251385
Example - https://github.com/PCSX2/pcsx2-net-www/pull/102

I believe this is expected behavior as the Deploy Hook only has access to the ' PCSX2/pcsx2-net-www' repo. Can we have developers fork from PCSX2 instead? I understand some people might have their own preference however I'd rather not add peoples personal repos to the deploy hook just from an administration point of view.

Could be related to https://developers.cloudflare.com/pages/platform/known-issues/ in the sense that we are only triggering builds from the pcsx2-net-www repo. I'm not familiar enough with Git to really know.

Pages currently only supports a single project per repository. Monorepos or repositories with multiple codebases/applications currently cannot deploy more than one project to Pages at a time.

Cloudflare have confirmed they don't deploy from forks to prevent abuse such as a random person deploying a crypto miner, etc.
They're working on a better solution to address this in future.

Ah ok, yeah a nice solution is if we could opt-in to do so per PR.  Until then we will just make sure to make big changes with branches on the upstream repo instead of forks -- like progress reports, etc.
And it's not like we would have had any of this functionality with github pages either.
Closing for now, hopefully things improve.


Lambda search endpoints using a warp adapter

Description
Closes https://github.com/quickwit-oss/quickwit/issues/4614
How was this PR tested?
Endpoint integration tests can be performed with:
# deploy the stack
export CDK_ACCOUNT=123456789
export CDK_REGION=us-east-1
export SEARCHER_API_KEY=my-at-least-20-char-long-key
export QW_LAMBDA_BUILD=1
make bootstrap
make deploy-mock-data
# ...wait a few minutes...
make test-mock-data-endpoints

started addressing https://github.com/quickwit-oss/quickwit/issues/4734 by making default fmt logging more compact


Not working with script setup

Hello @loonpwn , I use  vue-cli-plugin-import-components on Vue.js 3, It works nice.
I try to use script setup, but It is not working.
my script setup code here.
<script setup>
import { ref } from "vue"
export const text = ref('')
</script>

Can you test this with your plugin?

Hi @ChangJoo-Park
I had a play with the setup api at example/vue3 project (see https://github.com/loonpwn/vue-cli-plugin-import-components/pull/6/files) and wasn't able to replicate your issue, the component imports seem to be working correctly.
I think your problem be related to the code you have pasted, the latest setup syntax is that you shouldn't be exporting any values. So your code should look like this:
<script setup>
import { ref } from "vue"
const text = ref('')
</script>

Hi @ChangJoo-Park
I had a play with the setup api at example/vue3 project (see https://github.com/loonpwn/vue-cli-plugin-import-components/pull/6/files) and wasn't able to replicate your issue, the component imports seem to be working correctly.
I think your problem be related to the code you have pasted, the latest setup syntax is that you shouldn't be exporting any values. So your code should look like this:
<script setup>
import { ref } from "vue"
const text = ref('')
</script>


GH-39292 [C++][FS]: Remove the AzureBackend enum and add more flexible connection options

Rationale for this change
It's good to avoid mentioning the specific test environment in the implementation code.
What changes are included in this PR?

Removal of the enum
Removal of the AzureOptions::backend class member
Addition of more options to AzureOptions
Removal of some private string members of AzureOptions -- the URLs are built on-the-fly when the clients are instantiated now

Are these changes tested?
Yes.
Are there any user-facing changes?
Changes to the public interface (azurefs.h) that won't affect users because the AzureFS implementation is not used yet.

Closes: #39292

@Tom-Newton @kou

Unrelated failures on macOS and appveyor builds.


[Feature Request] Synced Blocks (Page Transclusions)

Feature Request: Synced Blocks (Page Transclusions)
Is your feature request related to a problem? Please describe.
This feature request aims to meet the following objectives:

Expand the market share of ownCloud Infinite Scale (oCIS) among end users.
Increase the product value of a single oCIS instance.

The use case for this feature request is present in popular software such as Notion.
Describe the solution you'd like
Develop an extension that let's users create synced blocks (page transclusions) within a document.
Example: Notion
https://www.notion.so/help/synced-blocks
Example: Obsidian
https://forum.obsidian.md/t/edit-transcluded-embedded-notes-blocks-in-place-likely-requires-wyswyg-first/15339 (+180)
Definition: Transclusion
https://en.m.wikipedia.org/wiki/Transclusion
Implementation
This section provides an example of synced block behavior, but the implementation may not be optimal.
An extension defines a delineator and identifier used at the start and end of a synced block for a given file: This creates a synced block file that contains the content (that the given file references).
# Title
# # Subtitle

This file contains an example of an synced block with the delineator "~~~".

~~~ ID
"This is content within the synced block.",
~~~ ID

The synced block file is created.
~~~ ID
"This is content within the synced block.",
~~~ ID

When the synced block's delineator and identifier (~~~ ID) is added to another file, this Synced Block extension will autofill the synced block's content using the synced block file content reference. So updating a synced block on one file also updates every other file that references the synced block.
"This is a csv file used to clarify the example",
~~~ ID
"This is content within the synced block.",
~~~ ID

An export of the csv file contains the synced block content, but not it's delineator or identifier.
"This is a csv file used to clarify the example",
"This is content within the synced block.",

Describe alternatives you've considered

No Synced Block Feature: Copy and paste the synced content of every file every time synced content is updated.

Resources
I am willing to develop the Synced Block extension on the following conditions:

An optimal oCIS extension implementation is determined (preferably by owncloud developers).
An oCIS extension marketplace is released and stable.
For sponsorship or salary.

Otherwise, this feature request is published in an Open Source Software environment, available to all for implementation.

There is no involvement of owncloud planned in that topic.


Query Param(s) attached in URL should populate key-value(s) and vice versa

Adding params either in URL or as key-value pairs should reflect the other.
Anything after '?'(for first param) or '&'  to be added as key, after '=' as value.

Issue is partially fixed.
Bug:
If I enter request url as http://localhost:8080/api/workspaces?page=1
Now I add query param : key as limit  , value as 2
The request url gets converted into: http://localhost:8080/api/workspaces?limit=2
instead of http://localhost:8080/api/workspaces?page=1&limit=2

Assigned to @rka12

Working fine after pull request #278.