user12986714: Watch muhammadhamaeel.com

user12986714 requests the watch of the watch_keyword muhammadhamaeel\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

muhammadhamaeel\.com has been seen in 1 true positive, 0 false positives, and 1 NAA.


Rebinding or toggle shortcut for find mouse in powertools

Description of the new feature / enhancement
would be nice for the find mouse feature to have an option to bind to right control or have a toggle shortcut
Scenario when this would be used?
i play games and left control is on of the buttons i mainly use and dont use game mode so it triggers when i use that key
Supporting information
No response

Hello and thanks for your message.

Have you checked "Don't activate when Game Mode is on"?
You can exclude specific apps in the Settings

Let me know if that solves your issue

Otherwise: referring to #14651

seems like #14651 had a solution for me, Thanks for the quick response

/dup #14651


add tray icon cli option to support overriding the tray icon #668

This should allow for a resolution to #668 so the user can add a specific tray-icon to replace the default getAppIcon as outlined in the conversation from @dvbii and @kikobeats:
Kikobeats (Kiko Beats) on Sep 7
@dvbii feeling you're right, but I put an image there and doesn't work.

Maybe the image needs to have a specific dimension?

On the other hand, why not make this file configurable as flag?

nativefier -n Twitter --fast-quit --single-instance --tray twitter.png "https://m.twitter.com"
 @dvbii

dvbii (David vanBlaricom II) on Sep 7
Yes, I had to make the image 90pixels x 90 pixels. Then had to name it icon.png. Definitely agree it should either be a flag or at least add to the function that makes the icons to auto create this icon.png and put it where it needs to go. Or change the reference to where it is looking for it.

@ronjouch can you suggest at least what flag should it be used?


fix cudnn selection

There is macro bug which travis didn't catch in https://github.com/dmlc/mxnet/pull/974 .
@yajiedesign @piiswrong Let's use CUDNN_MAJOR only for now.


Y24-132 - Security related RT 798566 edit title here Part 2

Describe the Housekeeping

[ ] Retire old passwords for the 2 user accounts on SequenceScape database mentioned in the ticket.
[ ] Notify Matt F in case any Tableau reports need updating
[ ] Check deployment project has been update with new secure credentials

Once retired ensure both sets of credentials in the RT no longer authenticate on the retired passwords.
Blocking issues
Describe any other issues or tickets that may be blocking this change.
Additional context
Details of what to do are here #4043

Hi @TWJW-SANGER, adding a small note here.
In https://github.com/sanger/sequencescape/issues/4043, I have updated the primary password, retaining the current password for psdp user as mentioned in https://github.com/sanger/sequencescape/issues/4043#issuecomment-2061159182. We just need to discard the secondary password using the SQL command:
ALTER USER 'psdp'@'%' DISCARD OLD PASSWORD;

We did not update passwords for the gapi user when doing #4043, primarily because we could not identify who that particular user was, and to whom does that user belong.

The old passwords for both users have been discarded.


app: No diorama for avatars at "Medium" details

No diorama view appears when we switch the settings to " Medium" in Character details settings.
https://user-images.githubusercontent.com/35926530/157252968-c9327b5d-0511-4991-a345-fd5f863fc81f.mp4

The medium avatar should be used for depth passes
The full avatar avatar app, regardless of fidelity subapps, should be rendered in the diorama

PR's https://github.com/webaverse/totum/pull/76 & https://github.com/webaverse/totum/pull/78 are dependencies for addressing this


Bug: Adding file triggers LLM response

Issue
When using /add-clipboard-image, the LLM is immediately invoked rather than this being a local operation and it then waiting for the next user prompt.  See highlighted rectangle.

Version and model info
No response

Just to note the second point above is now resolved by Paul's recent changes to /clipboard commands.
Very important still that this just add it locally though, without asking the LLM to guess what the addition of the image is asking it to do.

Doing /add or /clipboard no longer triggers an LLM response.
The change is available in the main branch. You can get it by installing the latest version from github:
python -m pip install --upgrade git+https://github.com/paul-gauthier/aider.git

If you have a chance to try it, let me know if it works better for you.

Tested and works nicely!  Thanks so much paul.


pipewire: 0.3.27 -> 0.3.28

Motivation for this change
https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.28
All sorts of exciting stuff there, including:

Freewheeling support in the JACK emulation so exporting projects from Ardour works
Network sinks and sources (pulseaudio-compatible) including discovery via avahi
filter-chain module for a convenient way to drop in LADSPA plugins (and some others) to your audio graph

Sadly this isn't usable yet: pipewire now installs the default config in /usr/share/pipewire now, and adjusting for that seems to have introduced some circular dependencies between $out and $lib that I haven't been able to pinpoint nor figure out how to avoid.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[ ] Fits CONTRIBUTING.md.

Do you have a config patch that applies?

The cycle is as follows:

$lib/lib/libpipewire-0.3.so.0.328.0 → $out/etc/pipewire
$out/bin/pw-jack → LD_LIBRARY_PATH=$jack/lib
$jack → $lib – this one is reasonable

-Dsysconfdir=/etc in mesonFlags in lieu of -Dpipewire_config_dir=/etc/pipewire does seem to help but there is a new out lib cycle.
I would suggest moving the config to lib:
--- a/meson.build
+++ b/meson.build
@@ -37,7 +37,7 @@ pipewire_localedir = prefix / get_option('localedir')
 pipewire_sysconfdir = prefix / get_option('sysconfdir')

 pipewire_configdir = pipewire_sysconfdir / 'pipewire'
-pipewire_confdatadir = pipewire_datadir / 'pipewire'
+pipewire_confdatadir = prefix / get_option('libdir') / 'share' / 'pipewire'
 modules_install_dir = pipewire_libdir / pipewire_name

 if host_machine.system() == 'linux'

That introduces a new lib ↔ jack cycle (through out) but that is just in a comment so we can probably expunge that:
$ rg -a /nix/store/b91fjjl21sga7myhia0y8kv1lxh513v5-pipewire-0.3.28 /nix/store/g6pciprhl061a1cwj2xr84ig1f55wb5c-pipewire-0.3.28-lib
/nix/store/g6pciprhl061a1cwj2xr84ig1f55wb5c-pipewire-0.3.28-lib/lib/share/pipewire/pipewire.conf
119:            #    /nix/store/b91fjjl21sga7myhia0y8kv1lxh513v5-pipewire-0.3.28/bin/pipewire-media-session
223:    #{ path = "/nix/store/b91fjjl21sga7myhia0y8kv1lxh513v5-pipewire-0.3.28/bin/pipewire-media-session"  args = "" }
230:    #{ path = "/nix/store/b91fjjl21sga7myhia0y8kv1lxh513v5-pipewire-0.3.28/bin/pipewire" args = "-c pipewire-pulse.conf" }

This is great by the way: RFE: Ability to operate with empty /etc, at least as a client.  I wish more projects adopted this approach.

Thanks for pointing those out, I ended up just adding another custom option for the config data directory since we are patching that part of the build files already.

Pulled in a regression fix that landed on master shortly after the 0.3.29 release.

Backported another patch to fix notification sounds

0.3.30 is out.

@jansol is this ready?

@domenkozar Been using it for the past few days so I'd say yes.


Disabling sudo with audit may cause trouble for Travis users

When you run brew audit --strict <formula> on Travis CI with macOS, you get a crash. For example here as seen by the Neomutt project and here by the Neovim project. (Related issues I've found are neomutt/homebrew-neomutt#17, neovim/homebrew-neovim#185, and supermarin/xcpretty#243.)
The problem doesn't happen when you run sudo brew audit --strict <formula>. I think this is because Homebrew always uses the system Ruby, but on Travis you need superuser privileges to install gems on the system Ruby.
However, when you run sudo brew <whatever>, you get a warning:

Error: Running Homebrew as root is extremely dangerous. As Homebrew does not
drop privileges on installation you are giving all build scripts full access
to your system. As a result of the macOS sandbox not handling the root user
correctly HOMEBREW_NO_SANDBOX has been set so the sandbox will not be used. If
we have not merged a pull request to add privilege dropping by November 1st
2016 running Homebrew as root will be disabled. No Homebrew maintainers plan
to work on this functionality.

If this does come to pass, and sudo brew is completely disabled, then as far as I can tell using brew audit --strict won't work on macOS instances on Travis. If this is true, then there are two possible solutions I can think of (there might be more):

Allow sudo brew only for the audit subcommand;
Allow the rubocop gem to be installed using whatever Ruby is current in the user's shell.

I don't know the viability of either of these, as I'm not very familiar with the internals of brew, so I'd appreciated the advice of the maintainers.

You need to set rvm: system in your .travis.yml.

Mind-blowing stuff. That's done it. Thanks!

this is the recommended
Travis configuration: https://github.com/Homebrew/brew/blob/ce2b11fd656e85a2cd73f45b4ac25fd34b1599cf/Library/Homebrew/dev-cmd/tap-new.rb#L47-L76


Map-icons Support

Hey there,
would it be possible to use the map-icons (http://map-icons.com/) in conjunction with awesome-markers?
In case not, what would need to be done?
Cheers,
Daniel

@gerbsen we just published a version that suportts this: https://github.com/apphillipe/Leaflet.awesome-markers


Update render-props.md

It is edited and reducted from 1st to 213th line

Thanks for the fixes. Merging it...


Problem with retry api calling.

Hello guys,
When I open the application and have no connection , the window " Retry " appears, if i  press the button, the application blocked and I don't get any response from the server.
I have been researching and I think that when you make the call (this.loadUsers()), if you have no connection, RxJava send you  an onError() message, and you get the window "Retry". Then if you try to make the call again, RxJava don't create any new  thread and it blocks you on "loop" method.
Maybe we should use Retrofit here?
I wonder if it happened to someone else , thank you.
Pd: Sorry for my bad english.

Because the presenters are extending DefaultSubscriber. When they are either error or complete they can not be reused.

Thx, I solved it some days ago.


Fix a globalvariable initializer bug in LLVMSwiftARC

@swift-ci Please smoke test

@rudkx can you please take a look ?

@trentxintong I'm really not the best choice to review this.

@eeckstein can you take a look ?

LGTM


Positional Argument error

Getting a positional argument error with v4.9.5 when trying to create an engine.
Dockerfile:
from nvidia/cuda:11.3.0-devel-ubuntu20.04 AS modernmt-base

ARG MMT_VERSION
RUN : "${MMT_VERSION:?Build argument needs to be set and non-empty.}"

RUN apt-get update && ln -fs /usr/share/zoneinfo/UTC /etc/localtime && DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata && dpkg-reconfigure --frontend noninteractive tzdata && apt-get install -y --no-install-recommends locales gcc g++ python3 python3-dev python3-setuptools python3-wheel python3-pip openjdk-8-jdk curl && \
    curl https://raw.githubusercontent.com/modernmt/modernmt/$MMT_VERSION/requirements_cuda-11.txt |sed '/torch==.*/d' > /tmp/requirements.txt && pip3 install -r /tmp/requirements.txt && pip3 install torch==1.7.1+cu110 torchvision==0.8.2+cu110 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html && \
    locale-gen --purge en_US.UTF-8 && update-locale LANG=en_US.UTF-8 && echo "LANG=en_US.UTF-8" >> /etc/environment && \
    apt-get clean && rm -rf /root/.cache/pip/ /tmp/* /var/lib/apt/lists/* /var/tmp/*

ENV LD_LIBRARY_PATH /usr/local/cuda/lib64
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV LC_ALL en_US.UTF-8

# ===================================================================================================
# STAGE: Release builder
# ===================================================================================================
FROM modernmt-base AS release-builder

ARG MMT_VERSION

# Git clone repository
RUN apt-get update && apt-get install -y --no-install-recommends git libboost-all-dev cmake maven && \
    git clone https://github.com/modernmt/modernmt.git /tmp/mmt && cd /tmp/mmt && git checkout $MMT_VERSION

WORKDIR /tmp/mmt

# Compile ModernMT
RUN sed -i 's/^CASSANDRA_VERSION = .*/CASSANDRA_VERSION = "3.11.14"/g' setup.py && python3 setup.py --skip-pip && cd /tmp/mmt/src && mvn clean install && \
    cd /tmp/mmt && git log -1 --pretty=oneline > build/modernmt-commit.log

# Cleanup and pack
RUN find . -name ".?*" | xargs rm -rf &> /dev/null && rm -rf src test build/include && \
    mkdir vendor2 && mv vendor/kafka-* vendor/cassandra-* vendor2/ && rm -rf vendor && mv vendor2 vendor && \
    ldd build/bin/* build/lib/* | grep libboost_ | awk '{print $3}' | sort -u | xargs cp -t build/lib/

# ===================================================================================================
# Main image
# ===================================================================================================
FROM modernmt-base
MAINTAINER Davide Caroselli<EMAIL_ADDRESS># numpy 1.24 creates issues with flot module 'numpy' has no attribute 'float'. hence using 1.23
# protobuf creates issue TypeError: Descriptors cannot not be created directly. hence 3.20. https://stackoverflow.com/a/73947066/6663095
RUN pip install numpy==1.23.* protobuf==3.20.*
COPY --from=release-builder /tmp/mmt /opt/mmt

ENV LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/opt/mmt/build/lib
ENV MMT_HOME /opt/mmt

# Running configuration
WORKDIR /opt/mmt
EXPOSE 8045

logs:
root@d659f6ec3bd3:/opt/mmt# ./mmt create en it examples/data/train/ --train-steps 10000
2023-01-17 11:57:51 | INFO | CreateActivity | Training started: engine=default, lang_pair=en__it

=========== TRAINING STARTED ===========

ENGINE:   default
LANGUAGE: en > it

(1/4) Cleaning corpora
2023-01-17 11:57:51 | INFO | CreateActivity | Training step "clean" started
    (1/6) Cleaning corpora...                                    2023-01-17 11:57:51 | INFO | CleaningActivity | Training step "clean" started
2023-01-17 11:57:52 | INFO | CleaningActivity | Training step "clean" completed in 1s
DONE in 1s
    (2/6) De-duplicate corpora...                                2023-01-17 11:57:52 | INFO | CleaningActivity | Training step "dedup" started
2023-01-17 11:57:53 | INFO | CleaningActivity | Training step "dedup" completed in 0s
DONE in 0s
    (3/6) Preprocess corpora...                                  2023-01-17 11:57:53 | INFO | CleaningActivity | Training step "preprocess" started
2023-01-17 11:57:55 | INFO | CleaningActivity | Training step "preprocess" completed in 1s
DONE in 1s
    (4/6) Creating aligner filter...                             2023-01-17 11:57:55 | INFO | CleaningActivity | Training step "make_filter" started
2023-01-17 11:57:57 | INFO | CleaningActivity | Training step "make_filter" completed in 2s
DONE in 2s
    (5/6) Scoring corpora...                                     2023-01-17 11:57:57 | INFO | CleaningActivity | Training step "score" started
2023-01-17 11:57:58 | INFO | CleaningActivity | Training step "score" completed in 0s
DONE in 0s
    (6/6) Apply aligner-based filter...                          2023-01-17 11:57:58 | INFO | CleaningActivity | Training step "apply_filter" started
2023-01-17 11:57:58 | INFO | CleaningActivity | Applying aligner filter with: good_avg = -5.090020, good_std_dev = 1.840280, bad_avg = -11.372900, bad_std_dev = 3.509210
2023-01-17 11:57:58 | INFO | CleaningActivity | Training step "apply_filter" completed in 0s
DONE in 0s
2023-01-17 11:57:58 | INFO | CreateActivity | Training step "clean" completed in 6s
(1/4) Cleaning corpora DONE in 6s
(2/4) Creating engine
2023-01-17 11:57:58 | INFO | CreateActivity | Training step "mkengine" started
2023-01-17 11:57:58 | INFO | CreateActivity | Training step "mkengine" completed in 0s
(2/4) Creating engine DONE in 0s
(3/4) Generating binary archives
2023-01-17 11:57:58 | INFO | CreateActivity | Training step "datagen" started
    (1/4) Tokenize corpora...                                    2023-01-17 11:57:58 | INFO | DatagenActivity | Training step "tokenize" started
2023-01-17 11:58:00 | INFO | DatagenActivity | Training step "tokenize" completed in 2s
DONE in 2s
    (2/4) Training BPE model...                                  2023-01-17 11:58:00 | INFO | DatagenActivity | Training step "bpe_create" started
2023-01-17 11:58:00 | INFO | SubwordDictionary::Factory | Collecting counts BEGIN
2023-01-17 11:58:00 | INFO | SubwordDictionary::Factory | Collecting counts END
2023-01-17 11:58:00 | INFO | SubwordDictionary::Factory | Vocabulary max_size attempt with candidates = [16000, 32000]
2023-01-17 11:58:00 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 BEGIN
2023-01-17 11:58:00 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 BEGIN
2023-01-17 11:58:01 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 END, vocab_size = 122
2023-01-17 11:58:01 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 BEGIN
2023-01-17 11:58:01 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 END, vocab_size = 119
2023-01-17 11:58:01 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 BEGIN
2023-01-17 11:58:01 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 END, vocab_size = 122
2023-01-17 11:58:01 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 END, vocab_size = 119
2023-01-17 11:58:01 | INFO | SubwordDictionary::Factory | Generating vocab file: min = 1, max = 16000
2023-01-17 11:58:01 | INFO | SubwordDictionary::Factory | Trying min_count 8000
2023-01-17 11:58:01 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 BEGIN
2023-01-17 11:58:01 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 END, vocab_size = 156
2023-01-17 11:58:01 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 BEGIN
2023-01-17 11:58:01 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 END, vocab_size = 144
2023-01-17 11:58:01 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 BEGIN
2023-01-17 11:58:02 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 END, vocab_size = 150
2023-01-17 11:58:02 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 BEGIN
2023-01-17 11:58:02 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 END, vocab_size = 147
2023-01-17 11:58:02 | INFO | SubwordDictionary::Factory | Trying min_count 4000
2023-01-17 11:58:02 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 BEGIN
2023-01-17 11:58:02 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 END, vocab_size = 198
2023-01-17 11:58:02 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 BEGIN
2023-01-17 11:58:02 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 END, vocab_size = 176
2023-01-17 11:58:02 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 BEGIN
2023-01-17 11:58:02 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 END, vocab_size = 181
2023-01-17 11:58:02 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 BEGIN
2023-01-17 11:58:03 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 END, vocab_size = 180
2023-01-17 11:58:03 | INFO | SubwordDictionary::Factory | Trying min_count 2000
2023-01-17 11:58:03 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 BEGIN
2023-01-17 11:58:03 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 END, vocab_size = 287
2023-01-17 11:58:03 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 BEGIN
2023-01-17 11:58:03 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 END, vocab_size = 215
2023-01-17 11:58:03 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 BEGIN
2023-01-17 11:58:03 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 END, vocab_size = 229
2023-01-17 11:58:03 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 BEGIN
2023-01-17 11:58:03 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 END, vocab_size = 226
2023-01-17 11:58:03 | INFO | SubwordDictionary::Factory | Trying min_count 1000
2023-01-17 11:58:03 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 BEGIN
2023-01-17 11:58:04 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 END, vocab_size = 465
2023-01-17 11:58:04 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 BEGIN
2023-01-17 11:58:04 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 END, vocab_size = 308
2023-01-17 11:58:04 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 BEGIN
2023-01-17 11:58:04 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 END, vocab_size = 327
2023-01-17 11:58:04 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 BEGIN
2023-01-17 11:58:04 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 END, vocab_size = 318
2023-01-17 11:58:04 | INFO | SubwordDictionary::Factory | Trying min_count 500
2023-01-17 11:58:04 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 BEGIN
2023-01-17 11:58:04 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 END, vocab_size = 807
2023-01-17 11:58:04 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 BEGIN
2023-01-17 11:58:04 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 END, vocab_size = 442
2023-01-17 11:58:04 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 BEGIN
2023-01-17 11:58:05 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 END, vocab_size = 465
2023-01-17 11:58:05 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 BEGIN
2023-01-17 11:58:05 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 END, vocab_size = 461
2023-01-17 11:58:05 | INFO | SubwordDictionary::Factory | Trying min_count 250
2023-01-17 11:58:05 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 BEGIN
2023-01-17 11:58:05 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 END, vocab_size = 1377
2023-01-17 11:58:05 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 BEGIN
2023-01-17 11:58:05 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 END, vocab_size = 679
2023-01-17 11:58:05 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 BEGIN
2023-01-17 11:58:05 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 END, vocab_size = 726
2023-01-17 11:58:05 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 BEGIN
2023-01-17 11:58:05 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 END, vocab_size = 727
2023-01-17 11:58:05 | INFO | SubwordDictionary::Factory | Trying min_count 125
2023-01-17 11:58:05 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 BEGIN
2023-01-17 11:58:05 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 END, vocab_size = 2437
2023-01-17 11:58:05 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 BEGIN
2023-01-17 11:58:06 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 END, vocab_size = 1074
2023-01-17 11:58:06 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 BEGIN
2023-01-17 11:58:06 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 END, vocab_size = 1136
2023-01-17 11:58:06 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 BEGIN
2023-01-17 11:58:06 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 END, vocab_size = 1123
2023-01-17 11:58:06 | INFO | SubwordDictionary::Factory | Trying min_count 62
2023-01-17 11:58:06 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 BEGIN
2023-01-17 11:58:06 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 END, vocab_size = 4187
2023-01-17 11:58:06 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 BEGIN
2023-01-17 11:58:06 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 END, vocab_size = 1664
2023-01-17 11:58:06 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 BEGIN
2023-01-17 11:58:06 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 END, vocab_size = 1783
2023-01-17 11:58:06 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 BEGIN
2023-01-17 11:58:06 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 END, vocab_size = 1763
2023-01-17 11:58:06 | INFO | SubwordDictionary::Factory | Trying min_count 31
2023-01-17 11:58:06 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 BEGIN
2023-01-17 11:58:07 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 END, vocab_size = 6887
2023-01-17 11:58:07 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 BEGIN
2023-01-17 11:58:07 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 END, vocab_size = 2642
2023-01-17 11:58:07 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 BEGIN
2023-01-17 11:58:07 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 END, vocab_size = 2767
2023-01-17 11:58:07 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 BEGIN
2023-01-17 11:58:07 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 END, vocab_size = 2742
2023-01-17 11:58:07 | INFO | SubwordDictionary::Factory | Trying min_count 15
2023-01-17 11:58:07 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 BEGIN
2023-01-17 11:58:07 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 END, vocab_size = 11235
2023-01-17 11:58:07 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 BEGIN
2023-01-17 11:58:07 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 END, vocab_size = 4078
2023-01-17 11:58:07 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 BEGIN
2023-01-17 11:58:07 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 END, vocab_size = 4247
2023-01-17 11:58:07 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 BEGIN
2023-01-17 11:58:07 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 END, vocab_size = 4203
2023-01-17 11:58:07 | INFO | SubwordDictionary::Factory | Trying min_count 7
2023-01-17 11:58:07 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 BEGIN
2023-01-17 11:58:08 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 END, vocab_size = 17999
2023-01-17 11:58:08 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 BEGIN
2023-01-17 11:58:08 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 END, vocab_size = 6232
2023-01-17 11:58:08 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 BEGIN
2023-01-17 11:58:08 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 END, vocab_size = 6464
2023-01-17 11:58:08 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 BEGIN
2023-01-17 11:58:08 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 END, vocab_size = 6405
2023-01-17 11:58:08 | INFO | SubwordDictionary::Factory | Trying min_count 3
2023-01-17 11:58:08 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 BEGIN
2023-01-17 11:58:08 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 END, vocab_size = 28450
2023-01-17 11:58:08 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 BEGIN
2023-01-17 11:58:08 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 END, vocab_size = 9578
2023-01-17 11:58:08 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 BEGIN
2023-01-17 11:58:09 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 END, vocab_size = 9844
2023-01-17 11:58:09 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 BEGIN
2023-01-17 11:58:09 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 END, vocab_size = 9791
2023-01-17 11:58:09 | INFO | SubwordDictionary::Factory | Trying min_count 1
2023-01-17 11:58:09 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 BEGIN
2023-01-17 11:58:09 | INFO | SubwordDictionary::build_from_token_counts | iteration 1 END, vocab_size = 44841
2023-01-17 11:58:09 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 BEGIN
2023-01-17 11:58:09 | INFO | SubwordDictionary::build_from_token_counts | iteration 2 END, vocab_size = 13349
2023-01-17 11:58:09 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 BEGIN
2023-01-17 11:58:09 | INFO | SubwordDictionary::build_from_token_counts | iteration 3 END, vocab_size = 13349
2023-01-17 11:58:09 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 BEGIN
2023-01-17 11:58:09 | INFO | SubwordDictionary::build_from_token_counts | iteration 4 END, vocab_size = 13349
2023-01-17 11:58:09 | INFO | DatagenActivity | Training step "bpe_create" completed in 8s
DONE in 8s
    (3/4) Encoding training corpora...                           2023-01-17 11:58:09 | INFO | DatagenActivity | Training step "bpe_encode" started

ERROR Unexpected exception: <lambda>() takes 1 positional argument but 2 were given

not sure of what is wrong here.

Having the same error. Did you manage to resolve this one @Maannniii ?


Gender, DoB, and email values are empty

Describe the bug
Gender, DoB and email values are not displayed on generated or received VC
To Reproduce
Steps to reproduce the behavior:

Generate VC using<PHONE_NUMBER>
Note that gender, DoB and email is not displayed
Share VC from step 1
Note that gender, DoB and email is not displayed

Expected behavior
Gender, DoB, and email should display on VC, both generated and received. Fields should be displayed even if there are no values.

Tested on 0.2.1-beta2-newlogic_20220303_1026.apk. Working as expected.

Cannot be verified on RC since we do not have access to any VC that is missing these fields.


feat(QAB-164): Update s3 step to use aws golang sdk v2

Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.
Please provide enough information so that others can review your pull request:

Explain the details for making this change. What existing problem does the pull request solve?

Documentation
Update Readme docs if needed.

Test plan (required)
Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.

Code formatting

Closing issues
Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).

Codecov Report

Merging #104 (9204ee8) into master (c23b831) will decrease coverage by 0.32%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #104      +/-   ##
==========================================
- Coverage   62.35%   62.03%   -0.33%
==========================================
  Files          47       47
  Lines        2925     2924       -1
==========================================
- Hits         1824     1814      -10
- Misses       1039     1046       +7
- Partials       62       64       +2

Impacted Files
Coverage Δ

steps/aws/s3/client.go
0.00% <0.00%> (ø)

steps/aws/s3/context.go
0.00% <ø> (ø)

steps/aws/s3/logger.go
100.00% <ø> (ø)

steps/aws/s3/steps.go
0.00% <ø> (ø)

steps/aws/s3/session.go
94.08% <74.19%> (ø)

steps/aws/s3/client_mock.go
100.00% <100.00%> (ø)

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 c23b831...9204ee8. Read the comment docs.


Add an updated flag to backup details

Description
Adds a flag in backup details that indicates whether the item in that backup is new/updated.
Currently always set to true but once we implement #1800 - we will set this to false for existing items from
base snapshots.
Does this PR need a docs update or release note?

[ ] :white_check_mark: Yes, it's included
[ ] :clock1: Yes, but in a later PR
[x] :no_entry: No

Type of change

[x] :sunflower: Feature
[ ] :bug: Bugfix
[ ] :world_map: Documentation
[ ] :robot: Test
[ ] :computer: CI/Deployment
[ ] :hamster: Trivial/Minor

Issue(s)

#1812

Test Plan

[ ] :muscle: Manual
[x] :zap: Unit test
[ ] :green_heart: E2E

Introducing this as a placeholder so we can build tooling around the schema change.
Follow ups - we need to set this correctly when #1800 is implemented. Also need to look into what we do for kopia-assisted incrementals.


Prevent 100k+ repos to be added

Since we aim for this GitHub issue search to be a demo project, there may be issues with big repositories due to indexing that takes a long time and consumes a lot of memory.
To be fair and make it best suited as a demo project, we should set limits and allow only repositories with up to 100K issues and comments to be added.

Due to technical limitations, implemented a 50K limit for issues. Closing as deployed.


Add tracing to Map endpoints

I'd like to add some Datadog tracing to the map endpoints so we can understand if Andrew's theory of very heavy Python objects is correct. This will give us better viz in APM.
I will probably also enable profiling: https://docs.datadoghq.com/profiler/enabling/python/

https://docs.datadoghq.com/getting_started/tracing/


Update R.gitignore

Reasons for making this change:
Ignore knitr and R markdown default cache directories in subdirectories as well

@zy26 thanks!


Fixed #86. Carry parameters set in scope checking further along

Fix https://github.com/jaredhanson/oauth2orize/issues/86 by allowing results of scope checking to pass all the way through to the grant code callback by default.
Also, the callback may inspect the decision request body if needed.

@coolaj86 I merged this (along with some modifications) - the diff can be seen in #110.
The only breaking thing I did (relative to your patch) was remove the req.oauth2.info assumption in the decision middleware.  If your app expects that, you'll have to pass it from the parse callback:
server.decision(function(req, done) {
    return done(null, req.oauth2.info)
});

I also added support for passing data to the next callback that is not serialized into the transaction.  Comments in the diff should explain the intent clearly.  Take a look at this and let me know what you think.  If all looks good to you, I'll get this up on npm shortly.


Hello everyone, I have set up a QQ Group(758790869), welcome to join in for discussion!

Is it possible to change the backbone network from VGG16 to MobileNet with this repo?

@ViswanathaReddyGajjala absolutely yes, i have done this


Feature Request: Allow for insertion of templates

I'm looking for a quick way to add templates in line.  Currently I copy the template into the Typing Transformer config, but it would be cool if I could just have it just insert from template so each could be edited atomically.

Could you give me some specific examples? I'm unclear about what 'templates' means; is it the core plugin Templates?

I think it's prudent to store the templates in the default configured template directory but basically I could add some lines of text to a file saved in the template dir then in the Typing Transformer config, specify as string which would then be replaced with the text from that file
So for example, instead of:
'tgg..|' -> '---\n### ⭐: `INPUT[toggle:starred]`\n#### Open `INPUT[toggle:closed]` Closed\n#### Currently Working `INPUT[toggle:tabled]` Tabled: `INPUT[inlineSelect(option(Engineering), option(Customer), option( Me ), option(Closed), option(Someone Elses)):status]` \n#### Summary: `INPUT[textArea:summary]`\n---|'

I could instead have a file toggles in the default templates dir which contains the following:
---
### ⭐: `INPUT[toggle:starred]`
#### Open `INPUT[toggle:closed]` Closed
#### Currently Working `INPUT[toggle:tabled]` Tabled: `INPUT[inlineSelect(option(Engineering), option(Customer), option( Me ), option(Closed), option(Someone Elses)):status]`
#### Summary: `INPUT[textArea:summary]`
---

Then in the TT config, just the following line:
'tgg..|' -> toggles'|'

@Tejeev 0.4.2 has been released; you might want to give it a try

Hi @zanodor,  thank you, but I do not use VSCode.  I don't think I've edited anything plain text outside of vim except for in Obsidian for like 5 years, lol!  It makes Go marginally easier, but I've got most of the functionality in vim+plugins and a compiler.
Anyway, the benefit to templates is that it makes it easier to follow the philosophy of each object doing one thing and doing it well (like the Zettelkasten and the Unix Philosophies (and just general object oriented thinking).
I'm happier to have the different .md files for different applications as it makes it easier to write and debug, thus this RFE and my appreciation for @aptend's work (which I'll test tomorrow as I only just updated my plugins as I've been traveling.  Thanks so much!  Looked over the Release notes and this is going to be a game changer :) ).

@zanodor Thank you, but again, this is not a helpful recommendation for me.  I've mentioned most of this in my previous post so I'll bullet point the reasons for ease of reading at-a-glance

I am not at all concerned with the new line character.  I don't need to replace them to paste them in because I just paste as plane text with chars visible.
Having all the templates in one file generally bad practice. Please refer to the standard practices I linked in my previous message which are basically as old as computing is and still considered best practices.  They're even the core of Object Oriented Programming (Unix Philosophies) and Obsidian (Zettelkasten).  Following these philosophies make things easier to troubleshoot and work on.
You're suggesting I add another plugin which I just don't need.  Each dependency you add to a system is another point of failure and if it's not needed or used only for one or two things, it's better to find another way.  Especially if the dependency is in support of bad practices.  Just use emacs or vim or some other CLI tool to edit the configs if you need to manage hidden chars.  That's not what Obsidian is for and it's easier via CLI once you are in the
It's way more work to do it the way you're proposing in that it requires more keystrokes, mouse interaction, and thought than creating a new template and adding a line to the typing transformer config to call it (all of which can be done by keyboard with minimal work and no need of other files or copying and pasting).

I prefer the RFE filed here which was helpfully addressed by aptend.
To put it simply, putting all your templates in one file is just bad practice, no matter how or where you configure them and this RFE (Request For Enhancement)/FR addresses that need.  Not anything to do with /n.   I do not want to add superfluous (to my uses) plugins and I want to follow standard best practices.  aptend has made that possible so I do not require additional gui complications (they may not seem like complications to you, but I assure you they are relative to my existing workflows).
Again, thank you for your consideration, but it is unrelated to the reasons for this request.

@aptend this works perfectly :)  I've not yet tested to see if it will implement Templater code (so like tp commands per https://silentvoid13.github.io/Templater/) but if not, that may be an RFE/FR I file down the line.  For now I'm a happy camper, so thank you!


[T4A3][T11-B2]Shailesh Nahata

Ready for review

@nahata-shailesh Some comments added. Please close the PR after reading comments.


zoom-us: add missing runtime dependencies

Description of changes
Since the latest update, Zoom has been dumping core due to missing libraries.
I also took the opportunity to depend on libkrb5 instead of krb5, since we don't need to pull in all of Kerberos.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Thanks!

Thank you! Is it possible to backport the update to unstable?

@ttuegel, thanks. Were these the symptoms you observed: https://github.com/NixOS/nixpkgs/pull/211775#issuecomment-1413731320 ?

Yes, that sounds exactly like what I was seeing.

Zoom now indeed now working for me. Thank you for fixing! :+1:


Babel 'decorators-legacy' syntax isn't currently enabled

Hello. I am currently migrating my old workspace setup to match the one from example. There seems to be an issue with TypeScript decorators when imported TS file is inside a monorepo, but outside the Next.JS app location.

I am using tsconfig path method, same issue is present with next-transpile-modules.
I have added the webpack config for Next.JS app.

This is the error:

My project structure is:
| packages
| -- components
| -- utils
| websites
| -- ts4u-client
next dev is being launched from 'websites/ts4u-client'.
Same decorators were working with my previous setup, where I had to precompile all 'packages' content before launching the next dev command.
Any ideas what could cause the problem?

Hey @Maczuga , I've never dared to play with decorators and babel compiler :)
My intuitions:

Prefer babel.config.js rather than .babelrc (must have in a monorepo structure)... You can convert it from the  nextjs .babelrc example and add the plugins you need.

You might have to use babelRoots at the top (https://github.com/facebook/jest/issues/7359). I'm nt sure if it's fixed...

Let me know if t helps or send me your babel config...
Happy new year !
PS:
Examples taken from older projects:
// file: <monorepoRoot>/babel.config/js
module.exports = {
  // jest: https://github.com/facebook/jest/issues/7359
  babelrcRoots: [ './apps/my-app/*' ],
  presets: [ '@babel/preset-typescript' ],
};

// file <apps/my-app>/babel.config.js
module.exports = {
  env: {
    development: {
      presets: [
        [
          'next/babel',
          {
            'preset-env': {},
            'transform-runtime': {},
            'styled-jsx': {},
            'class-properties': {},
          },
        ],
        ['@emotion/babel-preset-css-prop'],
      ],
      //plugins: [],
    },
    production: {
      presets: [
        [
          'next/babel',
          {
            'preset-env': {},
            'transform-runtime': {},
            'styled-jsx': {},
            'class-properties': {},
          },
        ],
        ['@emotion/babel-preset-css-prop'],
      ],
      //plugins: [],
    },
    test: {
      presets: [
        [
          'next/babel',
          {
            'preset-env': {},
            'transform-runtime': {},
            'styled-jsx': {},
            'class-properties': {},
          },
        ],
        ['@emotion/babel-preset-css-prop'],
      ],
      //plugins: [],
    },
  },
};

At least your babel config must have ["@babel/plugin-proposal-decorators", { "legacy": true }]. See also https://stackoverflow.com/questions/54332378/now-sh-build-breaking-due-to-support-for-the-experimental-syntax-decorators-le/65502903#65502903

@Maczuga nice !
Out of curiosity,  is the class properties plugin required ?
And by the way the bundle problem is totally fixable in my experience.  Be sure to never import backend classes into client side ones. I generally work with two containers (+/- di-backend, di-frontend).

@Maczuga nice !
Out of curiosity,  is the class properties plugin required ?
And by the way the bundle problem is totally fixable in my experience.  Be sure to never import backend classes into client side ones. I generally work with two containers (+/- di-backend, di-frontend).

@belgattitude The class properties was not needed in fact. Kinda copied those 2 lines from other issue on Next.JS.
And the bundle problem was in fact my own issue with barreling both client and server functions into single index file. I have split that dir separate client/server includes. The mono-repo with prop. decorators is now working better than ever before!

@belgattitude The class properties was not needed in fact. Kinda copied those 2 lines from other issue on Next.JS.
And the bundle problem was in fact my own issue with barreling both client and server functions into single index file. I have split that dir separate client/server includes. The mono-repo with prop. decorators is now working better than ever before!


MishaShevchenko: workflows: student-bio

[x] I wrote my markdown locally on a new branch
[x] My bio file is named exactly the same as my GitHub username
[x] My bio link in the class README opens to my student bio file
[x] I pulled and merged main into my branch before pushing
[x] I pushed my branch to the class repository and opened a PR
[x] I went through the PR checklist
[x] All the CI check pass
[x] I assigned a coach to review my PR
[x] I
linked my PR to this issue

This part should be one line only.
I
https://github.com/HYF-Class22/home/pull/36


Container size changes after textures are loaded

This is easily reproducible from the container-pivot.js example:
var app = new PIXI.Application(800, 600, {backgroundColor : 0x1099bb});
document.body.appendChild(app.view);

var container = new PIXI.Container();

app.stage.addChild(container);

// Create a new texture
var texture = PIXI.Texture.fromImage('required/assets/basics/bunny.png');

// Create a 5x5 grid of bunnies
for (var i = 0; i < 25; i++) {
    var bunny = new PIXI.Sprite(texture);
    bunny.anchor.set(0.5);
    bunny.x = (i % 5) * 40;
    bunny.y = Math.floor(i / 5) * 40;
    container.addChild(bunny);
}

// Move container to the center
container.x = app.screen.width / 2;
container.y = app.screen.height / 2;

// Center bunny sprite in local container coordinates
container.pivot.x = container.width / 2;
container.pivot.y = container.height / 2;

// Listen for animate update
app.ticker.add(function(delta) {
    // rotate the container!
    // use delta to create frame-independent transform
    container.rotation -= 0.01 * delta;
});

Where the container pivot is set to the center of the container's width and height... guess what? it only works because the textures have not been loaded yet at this point.  Once the textures are loaded, container.width and container.height will be different.
Try this for example:
var app = new PIXI.Application(800, 600, {backgroundColor : 0x1099bb});
document.body.appendChild(app.view);

var container = new PIXI.Container();

app.stage.addChild(container);

// Create a new texture
var texture = PIXI.Texture.fromImage('required/assets/basics/bunny.png');

// Create a 5x5 grid of bunnies
for (var i = 0; i < 25; i++) {
    var bunny = new PIXI.Sprite(texture);
    bunny.anchor.set(0.5);
    bunny.x = (i % 5) * 40;
    bunny.y = Math.floor(i / 5) * 40;
    container.addChild(bunny);
}

// Move container to the center
container.x = app.screen.width / 2;
container.y = app.screen.height / 2;

// Center bunny sprite in local container coordinates
container.pivot.x = container.width / 2;
container.pivot.y = container.height / 2;

// Listen for animate update
app.ticker.add(function(delta) {
    // rotate the container!
    // use delta to create frame-independent transform
    container.rotation -= 0.01 * delta;

    container.pivot.x = container.width / 2;   // <------- ADD THIS LINE
    container.pivot.y = container.height / 2; // <------- ADD THIS LINE
});

and then you'll see that you're now rotating off center.
This behaviour made everything very confusing, and wasted a lot of time wondering why it was working fine for this sample, while my stuff wasn't centred correctly, which turned out that it was because I was using the loader to wait until all the assets were downloaded in my little project.

Ah, I've missed this problem in example.
To be fair, width/height and getLocalBounds() are second-class citizens in pixi, scale is first. People have many problems with it and suggest their implementations, and so far no one made plugins with better containers. Week ago someone published dock plugin http://www.html5gamedevs.com/topic/34913-virtual-container/?tab=comments#comment-204181
I agree that we need more comments in that demo. Can you write exact words to add there?

@mchiasson is this something you would be willing to submit a PR for please? The changes you describe would definitely be helpful for others :)


Email Signatures/Stickers

Email Signature
Create email signatures for the list provided:
Canva Link

Failing to access it.

https://www.canva.com/design/DAFE-HHRkGo/QtUFIXkWzmF-TOOBx0Pokw/edit?utm_content=DAFE-HHRkGo&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton

Done, inserted the image signatures for all Avanti employees. Kindly check and approve


Swoval cleanup

These changes were motivated by, and should fix, https://github.com/sbt/sbt/issues/4841.

To validate this pull request against other sbt modules, please visit this link.


Fix request context not initialized

This fix is backported to apply on v0.21 branch.
refs #284

Merge via c33d896


Select Dates in Interval

I certainly have a query, whether we can select the dates that forms an interval
Eg: Select dates between October 7- October 12

Hello @sivakumarswaminthan
It is not possible at the moment to select intervals with Horizontal Calendar, I will be exploring the possibility to implement it if it could be done.
Thanks.


Ground truth label of EAPD

Hi, was wondering where could I find ground truth label of EAPD images. Thank you

Thank you for your attention in AesBench :smile:
At present, the labels of EAPD dataset will NOT be made public.
We have made this decision to ensure that these data are not used for model training.
Thanks for your understanding~


Gems that compliment Flynn.

Good morning, I recently finished up the first prototype for flynn_auto_scale based on the ideas from the Auto Scaling issue (https://github.com/flynn/flynn/issues/2209#issuecomment-301605083).
Could we get a small section on the wiki for libraries / gems and plugins that interface with Flynn?
I'm not asking for a prime front page location in the README but I've had great luck with "if you build it, they will come" in the past and I'd like to see how many people are willing to sink the time to support the great Flynn ecosystem.

@WriteCodeEveryday feel free to open a pull request adding to either the README or the documentation.

Actually, since we don't have a wiki, I think the best way to handle this would be for a community member to maintain a separate awesome-flynn style repo so that we don't have to keep our docs up to date with external projects.

Nice idea, I'll start one. :)

Thanks @philiplb!


UCI "go movetime" does not work

i think the UCI command "go movetime [x]" is not implemented .. could you fix this ?

I must have forgotten this. It is easy and will be done with the next release.

nice !  I'm working on a python script that can run EPD testsuites on engines .. it uses "go movetime x" .. most engines use 100% of that given time for one position but some engines finish their evaluation when a next depth will probably not be done within the remaining time .. you should consider this -- just saying :-)


Add support for debian stretch

Add support for Debian Stretch,
Fix issue with wrong variable:

in example you show to use database_type_long by playbook use zabbix_server_database_long so we get problem with generating configuration different than pgsql (defined in defaults)

Thanks! (sorry for late merge)


Add private key Ingress annotations to set private key properties for Certificate

Pull Request Motivation
Closes #4997
Kind
feature
Release Note
Adds private key Ingress annotations to set private key properties for Certificate

/kind feature

/asign
/ok-to-test

/retest pull-cert-manager-e2e-v1-24

/test pull-cert-manager-e2e-v1-24

This is a flake
/test pull-cert-manager-e2e-v1-24

Thank you very much for working on this @oGi4i !
I've added a couple nits.
Also, something I forgot to check for the previous PR- we should also update certNeedsUpdate to ensure that the Certificate gets updated if the annotation values have changed for private key block of the revision history.

Thanks for pointing this out. Added new checks to certNeedsUpdate

/retest

/retest

It would be good to understand the underlying issue why sometimes a restart is needed.

/test pull-cert-manager-e2e-v1-24


Detect when key held with input manager

Example: getInputManager().isKeyHeld(KeyCode.SHIFT);
public boolean isKeyHeld(KeyCode kc){}
This is so one can apply different actions if a key is held. i.e. "1" = Spawn Enemy A, "Shift" + "1" = Spawn Enemy B.

Done in 0.1.8 via InputModifier


Unknown error

Hi
When running: https://colab.research.google.com/github/camenduru/MiniGPT-4-colab/blob/main/minigpt4_7b_colab.ipynb
I get:
===================================BUG REPORT===================================
Welcome to bitsandbytes. For bug reports, please run
python -m bitsandbytes
and submit this information together with your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
bin /usr/local/lib/python3.9/dist-packages/bitsandbytes/libbitsandbytes_cuda118.so
/usr/local/lib/python3.9/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/usr/local/lib/python3.9/dist-packages/cv2/../../lib64')}
warn(msg)
/usr/local/lib/python3.9/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: /usr/local/lib/python3.9/dist-packages/cv2/../../lib64:/usr/lib64-nvidia did not contain ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] as expected! Searching further paths...
warn(msg)
/usr/local/lib/python3.9/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/sys/fs/cgroup/memory.events /var/colab/cgroup/jupyter-children/memory.events')}
warn(msg)
/usr/local/lib/python3.9/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('http'), PosixPath('//<IP_ADDRESS>'), PosixPath('8013')}
warn(msg)
/usr/local/lib/python3.9/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('--listen_host=<IP_ADDRESS> --target_host=<IP_ADDRESS> --tunnel_background_save_url=https'), PosixPath('//colab.research.google.com/tun/m/cc48301118ce562b961b3c22d803539adc1e0c19/gpu-t4-s-3mlprh3go6oow --tunnel_background_save_delay=10s --tunnel_periodic_background_save_frequency=30m0s --enable_output_coalescing=true --output_coalescing_required=true')}
warn(msg)
/usr/local/lib/python3.9/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/env/python')}
warn(msg)
/usr/local/lib/python3.9/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('module'), PosixPath('//ipykernel.pylab.backend_inline')}
warn(msg)
CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching in backup paths...
/usr/local/lib/python3.9/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: Found duplicate ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] files: {PosixPath('/usr/local/cuda/lib64/libcudart.so'), PosixPath('/usr/local/cuda/lib64/libcudart.so.11.0')}.. We'll flip a coin and try one of these, in order to fail forward.
Either way, this might cause trouble in the future:
If you get CUDA error: invalid device function errors, the above might be the cause and the solution is to make sure only one ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] in the paths that we search based on your env.
warn(msg)
CUDA SETUP: CUDA runtime path found: /usr/local/cuda/lib64/libcudart.so
CUDA SETUP: Highest compute capability among GPUs detected: 7.5
CUDA SETUP: Detected CUDA version 118
CUDA SETUP: Loading binary /usr/local/lib/python3.9/dist-packages/bitsandbytes/libbitsandbytes_cuda118.so...
Loading checkpoint shards:   0% 0/2 [00:00<?, ?it/s]^C

Hi @tralala87 👋 it is not working with free colab we need High-RAM 😐


UX Ideation Meeting

I'd like to organize an ideation meeting to bring DCAF CMs and Developers together sometime in mid or late March

What are we trying to do?
--give CMs and coders a chance to meet and chat about DARIA
--allow CMs and coders to express issues and do some creative problem solving
--take a high level look at DARIA and figure out a way to
--EAT

What feature or behavior is this required for?

How could we solve this issue? (Not knowing is okay!)

Anything else?
I'm going to be building this up for the next few weeks so I'll add more content here.

wontfix for the time being. (remember when we were still planning mass in person events? yikes)


[Event Request] Add Contacts/Reduce Contacts/Refine Contacts in Segments

Hello,
In the segments, currently the job "Add contacts" is already developed so that you can customize it. However not the two functionalities

Reduce contacts
Refine contacts.

The two reports do not yet have events, nor are elementary global variables usable.
Minimum requirement:
the reports must be able to be extended by dataitems and the extension must be integrable into the other business logic in these objects.

Translated with www.DeepL.com/Translator (free version)

Excuse me, we cannot process this request. We can implement needed events or make global variables protected, if you create requests with event specifications and placement in the code. Or with definition which variables in which report should become protected. Please create new requests if you still need something in this area.


[BUG] Description written in Community Events

Description

Inside Event section, the description written for specific event is override by profile pic of that user.

Screenshots

Additional information
No response

I cannot replicate this so I will close this Issue for now


Add GraphQL certification resources

This PR adds resource for certification of GraphQL
Related Issue number #726
Closes: #726
Description

This PR adds resources and links to certification of graphQL

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

@avinash201199  , Please review the pr and let me know if any change is expected.
This contribution is under hacktoberfest.

@avinash201199 , Please review the pr and let me know if any change is expected.
This contribution is under hacktoberfest.


Issue with /tmp creation

http://take.ms/lz3MHM
/tmp creation has been stuck for 10-15 minutes. Not sure what the issue is. This has been happening consistently now.

@RahulMahale did you have this problem any time recently? I don't remember this happening when I used boxy last time.

No I too didn't came across such error recently, we can close this for now


Name of CSR jvt is not capitalized

The ISA documents are showing the name of CSR jvt, added by extension Zcmt, as capitalized (JVT).  No standard CSR names are capitalized.
This appears not only in the Zc* extensions chapter of the Unprivileged ISA Spec, but also in the Smstateen/Ssstateen extensions chapter of the Priv spec.

Closing as this appears fixed.


docs(readme): update documention

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/themartiangeeks/nest-hasher/blob/main/CONTRIBUTING.md
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[X] Update documentation

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[X] No

Other information

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


Sort files into alphabetical order before loading them

First off, thanks a bunch for this plugin - much more convenient than writing a full plugin of my own for making small improvements or extensions to Obsidian!
Currently, the two devices which I use Obsidian on load my JS files in a different order. Some of my scripts depend on others being loaded first, so this caused some problems.
As an example, I created three new JS files, a.js, b.js and c.js:

Linux laptop: c, b, a
Android phone: c, a, b

This PR sorts the list of loaded files alphabetically by their full paths, so they load in a consistent order across all platforms. I've tested this on my laptop and phone and this change seems to work OK on both :)

Hey! Thanks for contributing!
I added a commit to mention this in the docs and then realized that I'm a bit confused why the order would matter. I see your mention of dependencies loading in different orders, but the way CustomJS works is it builds an object with all of your classes and then assigns the object to the global window. So all of your classes effectively become available at the same time. Could you expand a bit on how your scripts depend on each other? I just want to fully understand the use case. Thanks!

Sure! The setup I have follows roughly this structure:
sidebar_extensions.js:
function create_sidebar_extensions() {
  class SidebarExtensions {
    register(id) {
      // ...
    }
  }

  window.sidebar_extensions = new SidebarExtensions();
}

tasks_extension.js:
function register_task_extension() {
  const ext = window.sidebar_extensions.register("task");
  // ...
}

This worked fine on desktop, but on my phone the sidebar extension was never registered. To try to solve this, I added a busy-wait for window.sidebar_extensions to exist, hoping that the scripts would run in parallel:
function register_task_extension() {
  while (!window.sidebar_extensions);
  const ext = window.sidebar_extensions.register("task");
  // ...
}

The desktop app still worked but the mobile app locked up completely, so I could deduce from this that tasks_extension.js was running after sidebar_extensions.js on desktop, but before on mobile. After that I tried the a, b, c experiment which I described in the initial comment, verifying that they run in a different order, and I can only assume that was what was causing this issue.
With this patch, I renamed sidebar_extensions.js to aaaa_sidebar_extensions.js and it now works on both platforms, without the busy-wait.
I hope that helps :)

As this solution looks very unusual to me, I wonder if your problem @AaronC81 can be solved by deferring access to extensions to the moment after all scripts are loaded 🤔
I have too few info about your setup and needs to give a specific example, so let's have this abstract one:
Let's imagine two scripts, script_a.js and script_b.js, each requiring the other one to work. Maybe you can use it like this:
// in script_a.js
function do_something_in_script_A() {
    return {
        initA: function () {
           const somethingFromB = window.script_b.doSomething();
           // …
        },
        doStuff: function () {
            // …
        }
    };
}

and
// in script_b.js
function do_something_in_script_B() {
    return {
        initB: function () {
           const somethingFromA = window.script_a. doStuff();
           // …
        },
        doSomething: function () {
            // …
        }
    };
}

and then in every dataviewjs code blck for example:
// …
scriptA.initA();
scriptB.initB();
// …

I am aware my example is not the best, written by hand without any code to check it out. My point is that maybe you can not perform any actions when script is evaluated/loaded, but instead expose a function which will allow you to perform those actions e.g. in dataviewjs block where you know all dependencies are loaded already 🤔

@nkoder Thanks for your reply, that would be a great solution for my use-case in a dataview. However, I am not using CustomJS for extending dataviews; instead, I'm using it to create my own mini plugins which actually extend Obsidian's UI.
The aaaa_sidebar_extensions.js script creates window.sidebar to provide the framework for doing this, and then my other scripts can register their sidebar extensions using that framework by calling methods on window.sidebar:

The "initialize when everything is done" approach which you've suggested may be a good plan, if I can find some event which fires when Obsidian has completely finished loading and other scripts have run. Thank you :)
If it helps, here is the entire set of scripts I am using to achieve this: https://gist.github.com/AaronC81/7cac786aa9a263e6d1bebe75494456c1
(N.B. If what I'm doing here is too far from what CustomJS supports, then I entirely understand not merging this!)

Thanks for explaining! So the sticking point is that you're adding to window and then referencing that global in the other script. It's a bit hacky but so is CustomJS itself 😁 and loading scripts alphabetically doesn't hurt anything so I don't mind merging it.
However, I think I'd like to make a change, which is to gather all scripts from both settings options and then sort them by filename. Rather than sorting individual scripts by filename and the scripts directory by path. That would make the behavior more consistent. I'm gonna add that in real quick

Okay just pushed up that change. I'm a bit skeptical where the .last() is coming from since that's not standard js, Obisidian must have extended the prototype Array object to add that. Will you test the latest version for me to double check everything works?
Here's an example of the sorting before and after:

Yep, turns out they did add the Array.last() method
https://github.com/obsidianmd/obsidian-api/blob/5af3ef982328a2dd0a2f5242f3c74e2f45e07896/obsidian.d.ts#L17

Super, thanks - still works on my laptop and phone!

Merged. I'll get a release out later today. Thanks again for contributing!


elm make --warn --yes flags absent in 0.19

For elm 0.18, emacs was running elm-make --yes --warn --output=temp-file-output --report=json temp-file-source to read & fill out type annotations.
When I try to adapt these commands to elm 0.19, I notice flags --yes --warn are no longer accepted.
$ elm make --yes --warn --output=/dev/null --report=json $file
I do not recognize this flag:

    --yes

$ elm make --warn --output=/dev/null --report=json $file
I do not recognize this flag:

    --warn

Is there a replacement for this functionality or a better way to get type annotations?

Those flags did not get into 0.19. We will bring warnings back at some point in some form, but with the compiler rewrites, it was quite difficult and I did not want to block the release any longer.
For editor plugins that relied on flags for unintended uses, I do not have good recommendations. We would like to support things explicitly with actual APIs at some point, but we have not had support for that so far.

What about the --yes flag , it missing just broke our CI

@bruchmann we're using vsts as our CI and putting yes |  in front seems to cause that task to run indefinitely.


Remove preview flag from execution plan

This PR fixes #20973

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 7 (0.0%)  changed or added relevant lines in 5 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.002%) to 41.939%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/workbench/contrib/executionPlan/browser/executionPlanTab.ts
0
1
0.0%

src/sql/workbench/contrib/executionPlan/browser/executionPlanTreeTab.ts
0
1
0.0%

src/sql/workbench/contrib/executionPlan/browser/topOperationsTab.ts
0
1
0.0%

src/sql/workbench/services/query/common/queryManagement.ts
0
1
0.0%

src/sql/workbench/contrib/query/browser/queryEditor.ts
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

extensions/sql-bindings/src/common/azureFunctionsUtils.ts
1
80.65%

Totals

Change from base Build<PHONE_NUMBER>:
-0.002%

Covered Lines:
28868

Relevant Lines:
63936

💛  - Coveralls


tag not working inside select

I have a custom tag and put this inside <option> of a <select> but it's not showing content
http://plnkr.co/edit/yA7g4X?p=info

No tags are allowed inside option tags, it's not a Riot limitation.

do you have a workaround?

The main thing here is the attribute riot-tag="ri-select"
<select riot-tag="ri-select" class="form-control input-lg" selections="{[[1,'1 c'], ['2', '2 b'], [3, '3 d']]}" select="2" >
 </select>

<ri-select>
    <option each="{selection in opts.selections}" value="{selection[0]}" selected="{parent.opts.select == selection[0]}">{selection[1]}</option>
</ri-select>

thanks, solved this with riot-tag


pull-request breaks with multiple labels

hub pull-request -l foo, bar
Error updating issue: Unprocessable Entity (HTTP 422)
Missing field: "name"

hub pull-request -l foo
https://github.com/aesnyder/dotfiles/pull/6

Any suggestions?

Make sure there aren't spaces between the labels:
hub pull-request -l foo, bar


Incorporate TLS changes from upstream branch

Review the TLS changes to the Stratum service to enable TLS PFX certificate support.

Rejecting, re-issuing pull for smaller set of commits.


Financials information and more attributes are empty

Today, when requesting the stock financials from Apple 'APPL', I got an empty dataframe :-/

The ticker of Apple is 'AAPL', that should work.

Hey @pieterjandotpy,
thanks for your reply - i made a typo in my post above, sorry :) My code is:
>> import yfinance as yf
>> AAPL = yf.Ticker("AAPL")
>> print(AAPL.financials)

and I get an empty dataframe:
None
Empty DataFrame
Columns: [Open, High, Low, Close, Adj Close, Volume]
Index: []

Same output - btw - when trying to get the balance sheet:
>> print(AAPL.balance_sheet)
Empty DataFrame
Columns: [Open, High, Low, Close, Adj Close, Volume]
Index: []

The Issue also occurs with other Ticker symbols.

Apparently this issue was encountered before but doesn't not seemed to be solved :( See issue #386

How is the progress of this issue? I met this issue these days as well:-(
I tried other tickers, same result, empty data frame returned, with wrong field names.
Does any of previous versions work without this issue?

Actually, parameters like Open, High, Low, Close and Volume can all be retrieved by using .info with the correct key:
import yfinance as yf
AAPL = yf.Ticker("AAPL")

open = AAPL.info['open']
close = AAPL.info['previousClose']
volume = AAPL.info['volume']

Actually, parameters like Open, High, Low, Close and Volume can all be retrieved by using .info with the correct key:
import yfinance as yf
AAPL = yf.Ticker("AAPL")

open = AAPL.info['open']
close = AAPL.info['previousClose']
volume = AAPL.info['volume']

That's not at all what the OP is looking for.  None of the financial data methods work... earnings, financials...

That's not at all what the OP is looking for. None of the financial data methods work... earnings, financials...

It's exactly the data the OP is asking for. If you want a table with those values for more points in time, just use:
import yfinance as yf
AAPL = yf.Ticker("AAPL")
data = AAPL.history('1y', '1d')

@silver8ack This is a free API, you can't expect everything to work 100%. If you have any constructive, useful feedback, let us know.

Hi people,
i actually was hoping to get the hole balancesheet, cashflow and income statement information with this API. However, it doesn't seem to work, so I wrote some functions to get that infos. Plz feel free to use them. PS: some of the variable names are still in german, so don't wonder ;-)
import pandas as pd
import requests
from bs4 import BeautifulSoup

    def get_financials(url):
        page_source = requests.get(url)

        soup_html = BeautifulSoup(page_source.text, 'html.parser')
        tabelle_soup = soup_html.find('div', class_="M(0) Whs(n) BdEnd Bdc($seperatorColor) D(itb)")

        # Get Title Row
        überschriften = tabelle_soup.find('div', class_="D(tbr) C($primaryColor)")
        überschriften = überschriften.findAll('span')
        title_row = list()
        for ü in überschriften:
            title_row.append(ü.text)

        tabelle = pd.DataFrame(None, columns = title_row)
        restliche_zeilen = tabelle_soup.findAll('div', class_="D(tbr) fi-row Bgc($hoverBgColor):h")
        for zeile in restliche_zeilen:
            spalten = zeile.findChildren('div',recursive=False)
            zeilenwerte = list()
            for spalte in spalten:
                zeilenwerte.append(spalte.text)
            tabelle.loc[len(tabelle)] = zeilenwerte
        tabelle = tabelle.set_index(title_row[0])
        return tabelle.T

    def get_income_statement(symbol):
        url = 'https://finance.yahoo.com/quote/' + symbol + '/financials'
        return get_financials(url)

    def get_balance_sheet(symbol):
        url = 'https://finance.yahoo.com/quote/' + symbol + '/balance-sheet'
        return get_financials(url)

    def get_cashflow(symbol):
        url = 'https://finance.yahoo.com/quote/' + symbol + '/cash-flow'
        return get_financials(url)

    symbol  = 'MSFT'
    #Functions return dataframe
    income_statement = get_income_statement(symbol)
    balance_sheet = get_balance_sheet(symbol)
    cash_flow = get_cashflow(symbol)

Check out issue 191, there is a fix in base.py line 283
https://github.com/ranaroussi/yfinance/issues/191
:)

#191 Fixed my issue. thanks!

Hi people,
i actually was hoping to get the whole balancesheet, cashflow and income statement information with this API. However, it doesn't seem to work, so I wrote some functions to get that infos. Plz feel free to use them. PS: some of the variable names are still in german, so don't wonder ;-)
import pandas as pd
import requests
from bs4 import BeautifulSoup

    def get_financials(url):
        page_source = requests.get(url)

        soup_html = BeautifulSoup(page_source.text, 'html.parser')
        tabelle_soup = soup_html.find('div', class_="M(0) Whs(n) BdEnd Bdc($seperatorColor) D(itb)")

        # Get Title Row
        überschriften = tabelle_soup.find('div', class_="D(tbr) C($primaryColor)")
        überschriften = überschriften.findAll('span')
        title_row = list()
        for ü in überschriften:
            title_row.append(ü.text)

        tabelle = pd.DataFrame(None, columns = title_row)
        restliche_zeilen = tabelle_soup.findAll('div', class_="D(tbr) fi-row Bgc($hoverBgColor):h")
        for zeile in restliche_zeilen:
            spalten = zeile.findChildren('div',recursive=False)
            zeilenwerte = list()
            for spalte in spalten:
                zeilenwerte.append(spalte.text)
            tabelle.loc[len(tabelle)] = zeilenwerte
        tabelle = tabelle.set_index(title_row[0])
        return tabelle.T

    def get_income_statement(symbol):
        url = 'https://finance.yahoo.com/quote/' + symbol + '/financials'
        return get_financials(url)

    def get_balance_sheet(symbol):
        url = 'https://finance.yahoo.com/quote/' + symbol + '/balance-sheet'
        return get_financials(url)

    def get_cashflow(symbol):
        url = 'https://finance.yahoo.com/quote/' + symbol + '/cash-flow'
        return get_financials(url)

    symbol  = 'MSFT'
    #Functions return dataframe
    income_statement = get_income_statement(symbol)
    balance_sheet = get_balance_sheet(symbol)
    cash_flow = get_cashflow(symbol)

This is the best solution I have found for free balance sheet data thank you so much mein guter Freund!


Refactor UseWorldGenerator and Dependencies annotations in Module Land

In the aftermath of https://github.com/MovingBlocks/Terasology/pull/5046 reworking the test annotations for MTE, the UseWorldGenerator and Dependencies annotations need to be replaced all across module land.
Migration Path
The replacement annotation is the class annotation @IntegrationEnvironment which will apply MTEExtension, mark it with an MteTest JUnit tag and includes parameters for world generation and module dependencies.
The worldGenerator parameter is replacing @UseWorldGenerator, the dependencies parameter is replacing @Dependencies.
Contributes to https://github.com/Terasology/ModuleTestingEnvironment/issues/76

Module land usages of @UseWorldGenerator:

[ ] DynamicCities::SettlementEntityManagerTest
[ ] ItemPipes::ItemPipesTest
[ ] SimpleFarming::BushAuthoritySystemTest
[ ] SimpleFarming::PlantAuthoritySystemTest

Module land usages of @Dependencies:

[ ] Behaviors::BehaviorTests
[ ] Behaviors::MovementTests
[ ] DynamicCities::RegionEntitiesTest
[ ] DynamicCities::SettlementEntityManagerTest
[ ] Health::BlockTest
[ ] Health::DamageEventTest
[ ] Health::RestorationTest
[ ] Health::RegenTest
[ ] ItemPipes::ItemPipesTest
[ ] NameGenerator::CreatureNameGeneratorSystemTest
[ ] NameGenerator::CreatureNameProviderTest
[ ] NameGenerator::RegionNameProviderTest
[ ] NameGenerator::TownNameProviderTest
[ ] NameGenerator::WaterNameProviderTest
[ ] Rails:RailsTest
[ ] SimpleFarming::BushAuthoritySystemTest
[ ] SimpleFarming::PlantAuthoritySystemTest
[ ] Tasks::TaskGraphTypeHandlerTest

No additional module land usages of @Tag("MteTest") and @ExtendWith(MTEExtension.class) that were not yet listed above.

I would change the annotations in the Health-module the following way:
Before:
@Dependencies("Health")

After:
@IntegrationEnvironment(dependencies = {"Health"})

Does this look alright? :)

Hi, I am new to the project and I would like to work on a few simple tasks to familiarize myself with the project. I could at least do some of the refactoring of the annotations.
For the file "PlantAuthoritySystemTest.java" of the "SimpleFarming" module, would you have to replace the lines
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.extension.ExtendWith;
import org.terasology.engine.integrationenvironment.jupiter.Dependencies;
import org.terasology.engine.integrationenvironment.jupiter.UseWorldGenerator;

...

@ExtendWith(MTEExtension.class)
@UseWorldGenerator("unittest:empty")
@Dependencies({"SimpleFarming", "CoreAssets"})
@Tag("MteTest")

with these here
import org.terasology.engine.integrationenvironment.jupiter.IntegrationEnvironment;

...

@IntegrationEnvironment(dependencies={"SimpleFarming", "CoreAssets"}, worldGenerator="unittest:empty")

?

@Sabo2k @F14V10 That's exactly what we have pull request reviews for :wink:
Yes, your proposed changes are correct. In the future, please open a PR proposing them and in our review, we'll tell you if there's anything that doesn't look alright :slightly_smiling_face:

I did the same changes last night, right now going through the PR process just to learn it

There's enough modules for which changes are needed, so I'm looking forward to PRs from all of you 😉

Hey! how can I contribute on this one?

Hi @manumafe98,
basically follow the issue description. for an example of expected changes, you can also have a look at F14V10's comment above.
If you're new to Terasology, check out our getting started website page and guide doc

Thanks @jdrueckert I will give it a try!

All sub-items done 💚


diff-hl indicators not shown in fringe

With catppuccin-theme (mocha variant):

WIth modus-vivendi:

I've made #186, would you be able to test that out? On my Emacs I can at least see a thin border around the gutter indicators but that should set a concrete colour for the whole thing.

Yes, that works for me - looks the same as in the images attached to the PR.

Neat, thanks!


Report TableBench output as another performance benchmark to Kusto

Description
7831
WIP

Nit for the description: instead of manually linking ADO items, you can just write "AB#" and a bot will update it to be an actual link, and also link the PR to the ADO item, so we can navigate through them both ways :)


DEPR: raise on >1-dim inputs for optimize.minimize

This comes from #15297, which only landed for 1.9. Currently the message of the deprecation warning is a bit soft:
Use of `minimize` with `x0.ndim != 1` is deprecated. Currently, singleton dimensions
will be removed from `x0`, but an error may be raised in the future.

Can we sharpen this to say that an error will be raised in version X? (1.11? 1.12?)
CC @mdhaber

That is fine with me.


Do not skip tests

I know this does not work. But I want to create the PR so we do not forget it.

@Nyholm You need to rebase / resolve the conflict in addition to rerunning the tests.

Ill rebase now

I guess we have to fix the required version of the tests, otherwise --prefer-lowest will fail.

See https://github.com/php-http/client-integration-tests/pull/33.

Thank you for merging


Added client_settings support for chromadb vecstore

Problem
The ChromaDB vecstore only supported local connection. There was no way to use a chromadb server.
Fix
Added client_settings as Chroma attribute.
Usage
from chromadb.config import Settings
from langchain.vectorstores import Chroma

chroma_settings = Settings(chroma_api_impl="rest",
                            chroma_server_host="localhost",
                            chroma_server_http_port="80")

docsearch = Chroma.from_documents(chunks, embeddings, metadatas=metadatas, client_settings=chroma_settings, collection_name=COLLECTION_NAME)

YASSSSS I've been wanting to try this! Thank you both so much!


option to produce stable load-ids for deferred loading.

Developers using the dartDeferredLibraryLoader hook have found that the load-ids generated by dart2js are not stable enough or private enough to be used in production. For example, they currently use the import prefix as part of the ID, but append a number to distinguish duplicate names.
We added support for --simple-load-ids to hide the names entirely, but the ids are not stable at all.
To make it more stable we could provide a mechanism that lets developers assign names for each load-id.
One option to do so, would be to use pragmas. Developers would annotate deferred imports to bind them with a name:
package:myfeature/main_view.dart:
@pragma('dart2js:load-id:compose')
import 'package:myfeature/support_compose.dart' deferred as composePrefix;

We'd need to emit a compile time error if two pragmas in a program choose the same name.
Alternatively, we could provide dart2js an input text file that binds deferred imports to their name.
# Format: import-prefix in enclosing-library: name
# (since a load-id is identified by the enclosing library import-uri and the import-prefix)
composePrefix in package:myfeature/main_view.dart: compose
...

Thoughts?
Note: this is related to https://github.com/dart-lang/sdk/issues/51723 too - technically it doesn't directly solve the stability/cacheability described in that issue, but it's may play a role in it.

Could you say more about why 'unstable load-ids' is a problem?
I don't like this about the annotations: Library A and Library B, owned by different organizations, both use the feature and happen to conflict. An app owned by a third organization needs to use both libraries. There is no way to proceed.
An alternative to allowing the developer to provide load-ids is to better describe the load-ids.
Could we use minified load-ids but provide an API for converting, e.g. "zQ" to a library uri and import-prefix?
This could be in the deferred-map or source-map or both.
If the data is in the source-map, we could unminify error messages, e.g.
Deferred library loadId:zQ was not loaded.

⟶
Deferred library composePrefix (in package:myfeature/main_view.dart) was not loaded.

(Generally, though, the URI does not add a lot of value as the erroneous use of the prefix is nearby in the stack-trace)

The need for stable load-ids came from an internal customer request - but I'm missing some of the details, I can follow up, but I don't believe it was for deobfuscation.


send() method with options for file generates error

Please describe the problem you are having in as much detail as possible:
Using
User.send(text, {file: 'file/path.jpg'});
// or
User.send(text, {files: ['file/path.jpg']});

generates an error.
TypeError: Cannot assign to read only property 'name' of function 'function (start,end) {
     if(!end){ end=-1;}
    return this.slice(start, this.length+1-(end*-1))
}'
    at User.send (.../node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:100:23)

The rest of the stack is the msg.author.send() calling point.
Yes the bot has rights to manipulate the file (fs can create / move / delete this file)
Include a reproducible code sample here, if possible:
msg.author.send(
    "test",
    {file:`./res/imgs/emb-1.png`}
).catch(throwErr)

msg is a Message, provided by client.on('message', msg => {...})
Further details:

discord.js version: 11.1.0
node.js version: v6.9.5
Operating system: Linux

This is caused by your prototypes and has been fixed in #1461.
You could install the 11.1-dev branch as a solution.
Or maybe you can define your prototypes non enumberable or something.

Alright thanks for the explanations :)


On "auth failed" Mongoose prevents exit of the process

The following script won't exit. It prints
{ [MongoError: auth failed] name: 'MongoError', ok: 0, errmsg: 'auth failed', code: 18 }
and hangs forever.
var mongoose = require('mongoose');
mongoose.connect('mongodb://x:y@localhost', function(err){
  console.log(err);
  mongoose.connection.close();
});

Tested with<EMAIL_ADDRESS>on Linux.

Thanks, I'll investigate.

Thanks :-)


Vueify es2015 Transform issue

Hi everyone,
I am still new in vue, and today i'm trying to work with vueify. But I encounter an issue :
Vueify doesn't transform es2015 javascrit into today browser friendly javascrit.
ex. in my main.js :
const router = new VueRouter();
and after browserify & vueify all scripts, i still have :
const router = new VueRouter(); in my bundle.js file.
There is my package.json file, maybe it could help :
"devDependencies": {
   "babel-core": "^6.7.7",
    "babel-plugin-transform-es2015-classes": "^6.6.5",
    "babel-plugin-transform-runtime": "^6.7.5",
    "babel-preset-es2015": "^6.6.0",
    "babel-runtime": "^5.8.0",
...
 "vue-hot-reload-api": "^1.3.2",
    "vueify": "^8.3.9",
    "vueify-insert-css": "^1.0.0",
    "watchify": "^3.7.0"
  },
"scripts": {
...
    "js": "watchify -t vueify -e ./scripts/main.js  -o ./scripts/bundle.js --verbose",
  }
There is also a vue.config.js :
module.exports = {
  babel: {
    presets: ['es2015'],
    plugins: ['transform-runtime',"transform-es2015-classes"]
  }
}
and a babelrc file (it worked before in gulp with babel)
Thanks a lot !

Sorry, it is a misundertanding of what vueify is suposed to do... Just needed to add babelify transform avec vueify for .js file.


Sync with google account

Hey i would like if possible to add account feature to sync with google so i don't lost my note thanks

Why not use a native Google app like Keep Notes?


Task - HR - Comment Feed hooked into API

Description
Given a Comment Feed component, ensure that submitting a comment actually saves it to the server.

For now, don't worry about the adding the User name. I'm making a separate issue for that.


Cert not renewing

I have three different sites in three different containers.  Two of them auto-renewed properly, the third one has not - 9 days to expiry.

Any way to figure out why this one failed to renew automatically?
Is there a way to force it?  Can I just remove the cert from the certs directory and restart my containers?

try a docker logs on docker-letsencrypt-nginx-proxy-companion and restart your fautly web container and watch if you see something.
yes you can remove the certs and they will be recreate if it's works properly.

Didn't restart yet, but the log shows this:
2016-04-04 14:09:24,519:ERROR:acme.challenges:267: Unable to reach http://www.asmaloney.com/.well-known/acme-challenge/DRNqgLaUJSeHAxTOj-f-u1YprCengpiw9Jyd_-wUhqk: hostname 'www.asmaloney.com' doesn't match either of 'asmaloney.com', 'andymaloney.com'
2016-04-04 14:09:24,520:WARNING:simp_le:1292: www.asmaloney.com was not successfully self-verified. CA is likely to fail as well!
...
2016-04-04 14:09:28,178:ERROR:simp_le:1260: CA marked some of the authorizations as invalid, which likely means it could not access http://example.com/.well-known/acme-challenge/X. Did you set correct path in -d example.com:path or --default_root? Is there a warning log entry about unsuccessful self-verification? Are all your domains accessible from the internet? Failing authorizations: https://acme-v01.api.letsencrypt.org/acme/authz/fS6cBwFyU0tat6HGwqEPWZUZMvmGz4JDJQGO_rEUnCg
I can go to the site when using "www", so it is accessible, and the "www" CNAME is set up properly.  All three sites behind nginx use the same cert directory and are all mounted the same way.

Don't understand what was wrong (which is disconcerting), but I removed the certs & restarted and it generated new ones correctly.


oauth2.InsecureTransportError

When starting the weconnect-mqtt image with version 0.49.2 (ID d5748de3e9df), I'm getting an error:
oauthlib.oauth2.rfc6749.errors.InsecureTransportError: (insecure_transport) OAuth 2 MUST utilize https.
My env configurations are as follows:
      env:
        TZ: Europe/Zurich
        LC_ALL: de_CH
        USER: ...
        PASSWORD: ...
        BROKER_ADDRESS: xxx.xxx.xxx.xxx
        ADDITIONAL_PARAMETERS: --interval 600

As far as I recognize, the error message describes the oAuth call to VW? Is there anything I can do about it myself?

Awesome, thanks a lot for your swift response!


Q-SYS 9.10.1 causing Node-RED to crash

I've been running 1.0.2 with Q-SYS version 9.9 and things were fine, after bringing Q-SYS up to version 9.10.1 I started experiencing Node-RED crashing with the following error in the console:
2 May 01:10:57 - [red] Uncaught Exception:
2 May 01:10:57 - [error] SyntaxError: Unexpected token i in JSON at position 0
    at JSON.parse (<anonymous>)
    at Socket.<anonymous> (/data/node_modules/node-red-contrib-qsys/lib/qsys-core.js:98:36)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

I'm running Node-RED in a container on a Mikrotik router so this could certainly be a niche case.
I upgraded from 1.0.2 to 1.0.3 but still experience the same issue.
I am rolling the Q-SYS back to 9.9 to confirm.

Hi @VALMOR-NZ,
Did the problem persist on 9.9?
I still use 9.4 LTS unless there is a feature required only available on a later version.

Hey @dudest,
Yeah I was onsite for a few hours after rolling back to 9.9 and it remained stable.
In the release notes for 9.10 I believe there's reference to a change to QRC, but does not go into detail.
Yeah that's really a good policy to maintain, I have had to roll another system back from 9.10.1 after TSCs would power cycle after loading the UCI, chased it for a while expecting it to be a network issue since there were also numerous changes there too.

@VALMOR-NZ, Finally merged your pull request. Thanks for your contribution! 👍


Link to project homepage in README.md wrong

The current link under Important Links > Project Homepage points to a "Page not found" page. If I'm not mistaken, the correct link should be https://sites.google.com/site/anhaidgroup/projects/magellan/py_entitymatching

Thanks for the note.
I updated the links. Now you should see the correct links in the main page.


Use local_storage_dir instead of crawlee_local_storage_dir and rm relevant type ignores

Thanks to the Pydantic issue https://github.com/pydantic/pydantic-settings/issues/180 we cannot use the key-word argument local_storage_dir but crawlee_local_storage_dir. We also need to use type ignores there.
Let's rename all the key-word arguments from crawlee_local_storage_dir to local_storage_dir and remove the type ignores once https://github.com/pydantic/pydantic-settings/issues/180 is solved.

Strangely enough, Configuration(persist_metadata=False), for example, works as expected - is there anything special about local_storage_dir?

is there anything special about local_storage_dir?

In the conf test, we set storage dir using env variable:
monkeypatch.setenv('CRAWLEE_STORAGE_DIR', str(tmp_path))

and then override it explicitly via argument:
storage_dir=str(tmp_path)

This setup results in Pydantic's ValidationError, like this:
FAILED tests/unit/_memory_storage_client/test_memory_storage_client.py::test_write_metadata - pydantic_core._pydantic_core.ValidationError: 1 validation error for Configuration
storage_dir
  Extra inputs are not permitted [type=extra_forbidden, input_value='/tmp/pytest-of-vdusek/py...20/test_write_metadata0', input_type=str]
    For further information visit https://errors.pydantic.dev/2.9/v/extra_forbidden

Providing it using the alias:
crawlee_storage_dir=str(tmp_path)

works.
The # type: ignore is there because of mypy pydantic plugin is not perfect.


Update the chaos plugins page with type-1/2 integration mechanisms

This page describes the other opensource chaos tools Litmus can integrate with.
Restructure this doc with information on the types of integrations and examples to support the same.

Ref: https://docs.google.com/presentation/d/1OGuSisuory7jE-LvrDyC6J9x1wdom2Bowc0Fso6F4Ps/edit#slide=id.g836279615b_0_56

can you assign me?
i would like to work on this issue.
thank you

The advocated integration approach has been documented in the dev guide docs.


Adding release note for 1.3.5

Signed-off-by: Ryan Liang<EMAIL_ADDRESS>Description
Adding release note for 1.3.5
Category
[Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation]
Issues Resolved

Resolve https://github.com/opensearch-project/opensearch-build/issues/2348

Check List

[ ] ~New functionality includes testing~
[ ] ~New functionality has been documented~
[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Nevermind, clearer to get a fresh PR


Improve parsing using RE

What version of golang is the CI using?

has no field or method SubexpIndex
This should be in golang 1.14 I believe.